Ansys Learning Forum › Forums › Discuss Simulation › Photonics › Stokes › Reply To: Stokes
October 7, 2024 at 4:26 pm
Ansys Employee
Your first script gave you correct numerical result.
The area is calculated by Yee cell. It may differ from theory because of discretization:
In discrete world, the area may not be decribed as in continuous world. If you want to get accurate area, you can use x_span*y_span where
x_span=getdata("monitor","x span")
y_span=getdata("monitor","y span")