Ansys Learning Forum Forums Discuss Simulation Photonics E field- Ex and Ey Reply To: E field- Ex and Ey

minusunny
Subscriber

I am doing a phase shifter based on the grating. I should get phase shift at the output.  It is a passive component.I used frequency and power monitor , linear Y for the data extraction. The screenshot of my simulation arrangement and the code i used to extract data is given below. I am getting 90 degree phase shift on Ex, but the phase of Ey is varying verymuch with respect to simulation window and the phase is way off. Ey phase is very sensitive to simulation window, i tried a sweep and was not able to figure out a stable value for simulation window as it is varying so much.