We’re putting the final touches on our new badges platform. Badge issuance remains temporarily paused, but all completions are being recorded and will be fulfilled once the platform is live. Thank you for your patience.

Ansys Learning Forum Forums Discuss Simulation Photonics Waveguide simulation in fdtd solution Reply To: Waveguide simulation in fdtd solution

Guilin Sun
Ansys Employee

"You should use larger incerement, at the integer number of mesh size." this is my suggestion. Please get the mesh size. for example, you can use specified override mesh, which you know the mesh size since you set it. or you can use the scrript below:

e1=getresult("mode1","E");

x=e1.x;

nx=length(x);

delta_x=x(1:nx-1)-x(2:nx);

 

e1 is dataset: Introduction to Lumerical datasets 

similarly for y and z if the FDE is in the other cross section. The sweep should use n*delta_x where "n" is an integer number.

 

Please try.

Â