-
-
November 5, 2023 at 7:30 pm
scorsett
SubscriberHello! This seems like a silly problem to be having, but I've been trying numerous methods to solve it, to no avail.
The trouble is, I have an FDTD simulation of a grating. The grating creates scattering in all dimensions - up, down, left, and right, with some transmission and reflection.
To measure the power scattered in each direction, I have 6 monitors (top, bottom, left, right, etc.) enclosing the entire simulation region. So, in theory, the sum of the power through the 6 monitors should be 100% of the source power.Â
The trouble is that, depending on the method I use to calculate the power through each of the monitors, this sum comes out to well over 100%.Â
For example, suppose I find the power in the "upwards" monitor using the integral of the electric field intensity, e.g.:
- E2_UP = getelectric("UP",2);
- E2_UP_int = integrate(E2_UP,[1,3],x_UP,z_UP);
Power_UP = c*n*eps0/2*E2_UP_int;
- P_Source = sourcepower(getdata('source_WGmode','f'),2);
If I then take Power_UP/P_Source, that quotient alone turns out to be about 1.56. So just one monitor seems to be recording more than 100% of the source power.Â
The total power does come out to 100% when I take "transmission" through each of the monitors, from getresult. However, since "transmission" integrates only normal to the surface, it seems like power is lost in the calculation, due to the grating emission propagating at 45 degrees. This is confirmed by integrating power in a spot in the far-field over the grating, using the electric field amplitude method above. The fractional power in that spot comes out to be larger than the "transmission" value for the entire upwards monitor.
In short - is there something conceptual I'm missing here, regarding how to integrate power? Essentially, I don't see how taking c*n*eps0/2*E2_UP_int could ever give a value larger than the source power, unless I'm misunderstanding how the source power is normalized?
Any feedback on this issue would be appreciated. Thank you!
-
February 8, 2024 at 7:13 pm
Guilin Sun
Ansys EmployeeSorry to reply you late as this was missed to reply.
For grating-like devices, the correct way to calculate the power is to get the transmission for each order, by use of grating analysis: https://optics.ansys.com/hc/en-us/articles/360042088813-Diffraction-grating
Please note that the grating order decomposition does not normalize the result. Please refer to the example file (script in analysis group).
The regular farfield projection should not be used for such devices, as it is used for isolated device, with PML BCs.
Â
-
- The topic ‘Power Passing through a Monitor at an Angle’ is closed to new replies.
-
6660
-
1906
-
1469
-
1313
-
1022
© 2026 Copyright ANSYS, Inc. All rights reserved.