Horn Antenna (hornAntenna.sdf)

Keywords:

sectoral, horn antenna, far field, radiation

Problem description

This example illustrates how to obtain the far field radiation pattern of a sectoral horn antenna. A horn antenna consists of a flaring metal waveguide shaped like a horn that directs radio waves into a beam. Horns are widely used as antennas at UHF and microwave frequencies. A sectoral horn is only flared along one axis, the other horn axis has constant width and is equivalent to the width of the waveguide. Sectoral horns produce a fan shaped beam, wider in the plane of the narrow sides.

This simulation can be run with a VSimEM license.

Opening the Simulation

The Horn Antenna example is accessed from within VSimComposer by the following actions:

  • Select the NewFrom Example… menu item in the File menu.
  • In the resulting Examples window expand the VSim for Electromagnetics option.
  • Expand the Antennas option.
  • Select “Horn Antenna” and press the Choose button.
  • In the resulting dialog, create a New Folder if desired, and press the Save button to create a copy of this example.

The Setup Window is shown Fig. 189. To obtain the same view as in the figure, in the tree click on Histories to open that part of the tree. then click on the box next to farFieldBox0 to make the far field box invisible. Right-clicking and dragging rotates the view.

image 1

Fig. 189 Setup Window for the Horn Antenna example.

Simulation Properties

The antenna geometry in this example has been setup using CSG in the graphical setup interface. The dimensions of the antenna can be adjusted by tuning the sizes of the various wedges and cubes used in the antenna’s construction. Under Constants, the wavelength may be modified, as well as the grid size and resolution. The polarization of the antenna may be altered by going into CurrentDistributions and changing the components of the driving current source.

Running the Simulation

Once finished with the problem setup, continue as follows:

  • Proceed to the Run Window by pressing the Run button in the left column of buttons.
  • Choose parallel computing options on the MPI tab.
  • To run the file, click on the Run button in the upper left corner of the Logs and Output Files pane. You will see the output of the run in that pane. The run has completed when you see the output, “Engine completed successfully.” This is shown in the window below.
image 1

Fig. 190 The Run Window at the end of execution.

Analyzing the Results

After performing the above actions, continue as follows:

  • Proceed to the Analysis window by pressing the Analyze button in the left column of buttons.

  • Click ‘Show All Analyzers’

  • In the resulting dialog, select computeFarFieldFromKirhhoffBox.py (Fig. 191) and press Open.

  • Input values for the analyzer parameters. The analyzer may be run multiple times, allowing the user to experiment with different values.

    • simulationName - hornAntenna (name of the input file)
    • fieldLabel - E (name of the electric field)
    • farFieldRadius - 10.0 (distance to far field in m, 10.0 is a good value)
    • timeStepStride - 20 (number of timesteps between far field calculations; determines how many far fields are output; 20 steps should yield 4 far fields in this case)
    • getFourierComponent - 0 (whether to fourier analyze for a particular frequency)
    • frequency - the frequency to use in the fourier analysis.
    • numTheta - 18 (number of theta points in the far field, 18 for a quick calculation, 45 for finer resolution)
    • numPhi - 36 (number of phi points in the far field, 36 for a quick calculation, 90 for finer resolution)
    • zeroThetaDirection - (0,0,1) (determines orientation of far field coordinate system)
    • zeroPhiDirection - (1,0,0) (determines orientation of far field coordinate system
    • varyingRadiusMesh - 1 (Set to 1 in order to make far field mesh adapt to magnitude of far field solution: the classic lobe view)
    • simpsonIntegration - 0 (Set to 1 for more accurate integration)
image 1

Fig. 191 Add the computeFarFieldFromKirhhoffBox.py script to your simulation.

  • Click Analyze
  • The analysis is completed when you see “Analysis completed successfully” in the Outputs. Depending on the values of numTheta, numPhi, and timeStepStride, the script may need to run for several minutes or longer.
image 1

Fig. 192 The Analyze panel after running computeFarFieldFromKirhhoffBox.py.

Visualizing the Results

Under Scalar Data plot \(E_{z}\). To slice inside the field, select Clip All Plots in the lower left hand corner. Click on Plane Controls and change the cut-plane normal to lie along Y instead of Z. You can plot the horn antenna geometry by selecting poly (hornAntenna) under Geometries. Move the dump slider to view the electric field emanating from the horn. You can get a better look by adjusting the color scale. Select Log Scale Color in the lower left hand corner and then click the Colors button above the 3D view. Try adjusting the min and max until the signal is well resolved.

image 1

Fig. 193 The \(E_{z}\) field propagating out of the horn. The color scale has been log scaled and the min and max have been fixed to 10.0 and 500.0, respectively. The geometry’s wireframe has been plotted and the opacity of the mesh reduced, making it slightly transparent. For convenience, a three-slice operator has been added through the VisIt GUI (hidden by default) in order to show as much information through one plot as possible. Various clips can be performed to show the fields on different coordinate planes, one at a time.

The far field radiation pattern can be found in the Scalar Data variables of the Data Overview tab. Open the farE tree element and check the farE_magnitude box. The far field mesh can also be plotted; it can be found under Geometries.

image 1

Fig. 194 The far field radiation pattern.

Further Experiments

The physical dimensions of the pyramidal horn can be modified in the GUI.

To turn the antenna into an E-plane sectoral horn, try changing the polarization to lie along the flared direction (z).

Try experimenting with different far field reolutions by changing the values of numTheta and numPhi during the Analyze step. You can also experiment with different far field distances by changing the value of farFieldRadius.

Try making the domain and the size of the Kirchhoff box larger or smaller (size of the Kirchhoff box is tied to the domain size by default). If the simulation domain is made too small, the results may appear distorted because the entire near field must be resolved within the simulation domain in order to achieve a proper transformation to the far field.