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 2D grating phase calculation Lumerical RCWA 2023 R1 Reply To: 2D grating phase calculation Lumerical RCWA 2023 R1

giovanni.piscopo
Subscriber

 

Dear Amrita,

thank you very much for your answer! I will definitely read the article you sent me and implement the example that you linked!

Just as a additional info, I set the interfaces with this command: 

 

“set(“interface absolute positions”, [0, h_wg, h_wg+t]);”

 

where h_wh = 1.3613 um and t = 0.1 um and automatically I got the interfaces set as in the picture I attached.

To confirm also the result, I calculated the refractive index distribution and I was able to see all the three indices of the three layers (actually about that I’ve seen that there is a bug in the visualization of the cross section because the thicknesses of the layers do not match the actual values but in FDTD there is no such a problem. However I’ve seen on another post on the forum that this is actually a visual bug that does not interfere with the simulation results).

Also, is there a difference in results between defining the interfaces between "reference positions" and absolute positions"? Because I find more intuitive defining them in terms of "absolute positions".

Thank you in advance

Regards

 

Giovanni