Ansys Learning Forum Forums Discuss Simulation Photonics Assistance Needed for Simulating and Plotting Phase as a Function of Frequency Reply To: Assistance Needed for Simulating and Plotting Phase as a Function of Frequency

Greg Baethge
Ansys Employee

Hi Alireza, thank you for posting your question. The main issue here is, I think, the phase cannot be directly extracted from the electric field stored by a monitor, as this phase will depend on the position. To avoid this, the typical approach is to use the S parameters, complex transmission and reflection coefficients, of the nano-structure. This is the approach we use for our metalens example. This calculation can be done in FDTD using the S parameter analysis group from the object library, or it can be obtained from the RCWA solver directly (this is our current approach). Also, note that, you don't necessarily have to sweep over the wavelength as you can run a broadband simulation (although this can get tricky with FDTD at non normal incidence).