We have an exciting announcement about badges coming in May 2025. Until then, we will temporarily stop issuing new badges for course completions and certifications. However, all completions will be recorded and fulfilled after May 2025.

Ansys Learning Forum Forums Discuss Simulation Photonics Exporting a large number of data sets into TXT from varFDTD Reply To: Exporting a large number of data sets into TXT from varFDTD

Guilin Sun
Ansys Employee

You know how to use "write" to save data. Next, you will choose what data and style you want to save. For example, the txt file from the output in Visualizer contains

x;

y;

z;

f;

E field data. It can be point by point, or more than one points. What ever you save, you will know it when you import it to Python.

note that E is a 4D matrix from the monitor: x,y,z,f.

once you know this, please refer to my first reply for the script.

 

Â