-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Numerical (round-off) errors/accuracy for a SegmentedWaveguide with identical neighboring Homogeneous segments #21
Comments
I haven't been able to replicate this using sequential identical segments, but I have observed similar "bumps" in amplitude for some changing Work needed:
|
This may be a modelism that is a byproduct of the sharp boundaries between waveguide segments. I compared the electric field components (ignore the likely magnitude error) between FDTD and LongwaveModePropagator using the code below. There are 4 waveguide segments where the ionosphere and ground conductivity changes in each. There are small steps in the amplitude profile of Ex at the boundaries at 1000km and 1500km in both LMP and FDTD, and a step in Ey for LMP only.
Then I ran LMP again but set the third waveguide segment (beginning at 1000km) with a ground identical to the ground in the second component.
The amplitude jumps at 1000km are no longer present. |
There sometimes appear to be errors in the amplitude and phase that begin at the boundary of segments in a
SegmentedWaveguide
when both sides of the transition are identicalHomogeneousWaveguide
s. I suspect this is due to numerical errors produced by the mode conversion process when the eigenangles are approximately identical on both sides.We could precheck for identical segments and merge them into a single longer
HomogeneousWaveguide
(or simply treat them this way in the mode sum), but this may not be possible in general. In the meantime, users should avoid using neighboring identical segments inSegmentedWaveguide
s.The text was updated successfully, but these errors were encountered: