1. Waveguide with wave ports
Goal: S11 and S21 of a WR-90 rectangular waveguide (22.86 × 10.16 mm) with a metal post in the
middle, from 8 to 12 GHz. The finished project is examples/WaveguidePost.hzn.
1.1 New design and variables
- File > New. The start page asks what to simulate: choose 3D FEM, solution type Modal, units mm, and click Create. The project starts with one empty design.
- Simulation > Solution Type...: check Modal and leave Auto open region at Off. A waveguide is a closed problem: every outer face that is not a port is a perfect conductor.
- Project > Design Properties...: add the variables
| Name | Value |
|---|---|
a |
22.86mm |
b |
10.16mm |
L |
50mm |
r_post |
1.5mm |
1.2 Geometry
- Draw > Box, then set in Properties: Position
0,0,0, XSizea, YSizeL, ZSizeb. Rename the object toWaveguide(Name field). Material stays vacuum: the box is the air inside the guide. - Draw > Cylinder: CenterPosition
a/2,L/2,0, Radiusr_post, Heightb, AxisZ. Name itPostand set Material to pec. - Select
Waveguidefirst, then Ctrl+clickPost, and choose Modeler > Boolean > Subtract. The post is cut out of the air box. Its surface becomes a perfect conductor automatically, like the outer walls.
The air box of the waveguide with the post cut out of it. The two end faces (blue) carry the wave ports.
1.3 Wave ports
A wave port sits on an outer face of the model. Hertzon computes its modes (here the TE10 mode of the guide) with a 2D eigenmode solve and feeds the 3D problem with it.
- Press F (face selection) and click the end face of the box at y = 0.
- Simulation > Excitations > Assign > Wave Port (or the large Wave Port button on the Simulation tab). Keep Number of modes 1 and Mode type Auto, then press OK. It becomes port 1.
- Select the face at y = L and assign a second Wave Port. It becomes port 2.
Instead of a face of the box you can also draw a rectangle exactly on the end face (Draw > Rectangle, Axis
Y) and assign the port to that sheet. The example file does this.
1.4 Solution setup and sweep
- Simulation > Analysis Setup > Add Solution Setup...:
* Solution frequency Single, Frequency
10GHz, a frequency in the upper part of the band, where the mesh needs to be finest. * Maximum number of passes6, Maximum Delta S0.02. * Leave the Advanced tab at Mesh refinement: hzAURA (EMerge) and the Options tab at Curved elements on: the round post is then meshed with curved elements on its true surface. - Select
Setup1in the tree, then Simulation > Analysis Setup > Add Frequency Sweep...: Sweep type Interpolating, Distribution Linear Count, Start8GHz, Stop12GHz, Count201. An interpolating sweep solves only as many frequencies as it needs and fits the rest.
1.5 Solve and look at the results
- Simulation > Validation Check, then Simulation > Analyze All (F5).
- Watch the passes in the Progress window. The analysis stops as soon as S changes by less than 0.02 between two passes.
- Results > Create Report > Create Modal Solution Data Report > Rectangular Plot: choose
dB(S(1,1))anddB(S(2,1))over frequency. Smith Chart shows S11 on the Smith chart. - Results > Mag E with nothing selected: set Plot on to
XYand Cut position tob/2. The field appears on the plane halfway up the guide. View > Orientation > Top looks onto it. - Right-click the plot (
Mag_E_Cutin the example) under Field Overlays > Animate. The wave runs from port 1 to the post and is partly reflected. Export GIF... in the bar under the view saves it. - File > Export Touchstone... writes
WR90_Post.s2pfor other tools.
S11 and S21 from 8 to 12 GHz. The thin post acts as a shunt inductance and reflects most of the power, less at higher frequencies (S21 from −15.4 dB at 8 GHz to −7.2 dB at 12 GHz).
Mag_E_Cut: Mag E on the cut plane halfway up the guide (z = b/2) at 10 GHz, seen from the top. The wave comes from port 1 at the bottom, forms a standing wave in front of the post and leaks past it.
The same plot animated over the phase (Animate) and saved with Export GIF...: the GIF has the size, colours, scale and speed of the view.
What you should get (this model solved with Hertzon 0.2.2 and hzAURA: 2 adaptive passes, 1 376 tetrahedra, a few seconds): at 10 GHz S11 = −0.41 dB and S21 = −10.5 dB.