Ansys Learning Forum Forums Discuss Simulation Photonics metalens data h5 file using self-generated phase Reply To: metalens data h5 file using self-generated phase

Guilin Sun
Ansys Employee

You can generate your own phase with 3rd party tool. But it is strongly recommended that you import your data into Lumerical and save it.

h5 data has library and data format requirements

https://optics.ansys.com/hc/en-us/articles/360034927413-h5info-Script-command

Please use Lumerical script to write it:

h5write – Script command

Please follow the metalens examples. 

Of cource you may develop your own way to drive the data from Lumerical to OPticsStudio. Then you will need time and efforts to do it if it is different from what the examples provide.

 

Â