Replies: 2 comments
-
|
The simulation was performed with a smoothed grid near the waveguide (figures 7, 9) boundary. The result (figure 10) of modeling a rectangular waveguide demonstrates a decrease in reflection and a more similar appearance, as in the case when the walls of the waveguide are described by boundary conditions. Figure 9. Smoothed meshFigure 10. Simulation waveguide with smoothed mesh (s-parameters)The result of the magic tee simulation is still significantly different from the analytical one (figures 11, 12). Figure 11. Magic tee with smoothed meshFigure 12. Magic tee with smoothed mesh (s-parameters)CodeAlgorithms with a smoothed mesh: |
Beta Was this translation helpful? Give feedback.
-
|
The problem was changing the arguments in the AddRectWaveGuidePort function for E-arm and H-arm (ports 3 and 4 according to Figure 11). It was necessary to swap arguments Python interface:# from
ports.append(FDTD.AddRectWaveGuidePort(2, start, stop, 'y', a*unit, b*unit, "TE10"))
...
ports.append(FDTD.AddRectWaveGuidePort(3, start, stop, 'x', a*unit, b*unit, "TE10"))
# to
ports.append(FDTD.AddRectWaveGuidePort(2, start, stop, 'y', b*unit, a*unit, "TE01"))
...
ports.append(FDTD.AddRectWaveGuidePort(3, start, stop, 'x', b*unit, a*unit, "TE01"))Octave interface:% from
[CSX, port{3}] = AddRectWaveGuidePort( CSX, 0, 3, start, stop, 'y', a*unit, b*unit, 'TE10', ext_port(3));
...
[CSX, port{4}] = AddRectWaveGuidePort( CSX, 0, 4, start, stop, 'x', a*unit, b*unit, 'TE10', ext_port(4));
% to
[CSX, port{3}] = AddRectWaveGuidePort( CSX, 0, 3, start, stop, 'y', b*unit, a*unit, 'TE01', ext_port(3));
...
[CSX, port{4}] = AddRectWaveGuidePort( CSX, 0, 4, start, stop, 'x', b*unit, a*unit, 'TE01', ext_port(4));Figures 13 and 14 show the results of simulations using python and octave interfaces. Figure 13. The result of simulation using the
|
Beta Was this translation helpful? Give feedback.

Uh oh!
There was an error while loading. Please reload this page.
-
The problem of calculating the S-parameters of Magic tee and a rectangular waveguide
Introduction
Hello! I am engaged in research on the propagation of an electromagnetic wave in a segment of the magic tee waveguide with cross section 23x10mm^2. But in the simulation results, the sum of the squares of the s-parameters is not equal to 1 (figure 2). I tried to create a waveguide in different ways:
stlfile;Figure 1. Magic tee (metall hidden)
Figure 2. Magic tee (s-parameters)
Problem
To verify the results, a rectangular waveguide with a size of 23x10mm^2 was modeled. In the first case: the boundaries of the grid coincide with the section of the waveguide. in the second case, the border is shifted and metal is added to the place of free space (figures 5 - 8).
Question:
How does adding metal walls differ from setting boundary conditions ["PEC", "PEC", "PEC", "PEC", "PML_8", "PML_8"]?
Figгre 3. Empty waveguide
Figure 4. Empty waveguide (s-parameters)
Figure 5. Waveguide with thin metal walls (metal walls hidden)
Figure 6. Waveguide with thin metal walls (metal walls hidden) (s-parameters)
Figure 7. The walls of the waveguide are larger than the cavity of the waveguide
Figure 8. The walls of the waveguide are larger than the cavity of the waveguide (s-parameters)
Code
The simulation was carried out using both the python interface and the octave interface:
https://github.com/Sheptor/test-issue
Beta Was this translation helpful? Give feedback.
All reactions