Ansys Learning Forum › Forums › Discuss Simulation › Photonics › Stokes › Reply To: Stokes
October 7, 2024 at 6:09 pm
Guilin Sun
Ansys Employee
E2=getelectric("monitor");
or
E2=E.E2;
OrÂ
E2=abs(Ex)^2+abs(Ey)^2+abs(Ez)^2;
as long as you get E dataset using getresult("monitor","E");
Please note that, your monitor is a 2D monitor, so its data is spaially distributed. If you are sure it is a plane wave, you can use any point 's E to reprent the plane wave. Otherwise you will need 2D data in physics.
Â