Photonics

Photonics

Topics related to Lumerical and more.

HEAT: Temperature monitor data export

    • Raonaqul Islam
      Subscriber

      I was using Lumerical HEAT module with a 2D XZ temperature monitor. Output of the monitor is ok, and can be easily exported to image files. But when I export it to .mat or .txt files, I only get one column of temperature data, from which, it is impossible to regenerate the results. What am I missing here?

    • kghaffari
      Ansys Employee

      Hi,

      The temperature profile reported by HEAT, includes x, y, and z matrices (the coordinates), the elements matrix (to relate the coordinates for our finitie element mesh), and the T matrix (the temperature values). There are a few ways to export these results from a HEAT monitor:

      A) Having the "save data" option enabled in the settings, before the simulation is run:

      A .mat file of the temperature map will be automatically generated which will include all the mentioned information. This can be used as is in Lumerical optical solvers like FDTD.

      B) Using the script environemnt. You can send the results you have to the Script Workspace:

      This allows you to work with the temperature dataset and make any edits before you export with a command like matlabsave.

      C) You can use the export option in the visualizer. You need to highlight the dataset of interest (e.g. "T") and then use the export option:

      I suspect this is the option you have tried here. The results will be generated in a single column. However, it will still include all the different matrices mentioned above; they are included in the file, in the same column and one after another. You can edit or read the file accordingly to separate these matrices in the text file.

      Best regards

Viewing 1 reply thread
  • The topic ‘HEAT: Temperature monitor data export’ is closed to new replies.