Ansys Learning Forum › Forums › Discuss Simulation › Photonics › Stokes › Reply To: Stokes
October 4, 2024 at 4:48 pm
Guilin Sun
Ansys Employee
You can use script like this:
for only Ex, Ex=pinch(getdata("monitor","Ex"));
"pinch" is to remove singletons.
You can also use
E=getresult("monitor","E");
Ex=pinch(E.Ex)
then use abs(Ex)^2 to get the intensity of Ex.
But usually we need total intensity.Â