Hfss-An Antenna Problem (Getting Started)
Hfss-An Antenna Problem (Getting Started)
Simulator
NSOFT
Getting Started: An Antenna
Problem
January 2001
Notice
The information contained in this document is subject to change without
notice.
Ansoft makes no warranty of any kind with regard to this material, including,
but not limited to, the implied warranties of merchantability and fitness for a
particular purpose. Ansoft shall not be liable for errors contained herein or for
incidental or consequential damages in connection with the furnishing,
performance, or use of this material.
This document contains proprietary information which is protected by
copyright. All rights are reserved.
Ansoft Corporation
Four Station Square
Suite 200
Pittsburgh, PA 15219
(412) 261 - 3200
Motif is a trademark of the Open Software Foundation, Inc.
UNIX is a registered trademark of UNIX Systems Laboratories, Inc.
Windows is a trademark of Microsoft® Corporation
OpenWindows is a trademark of Sun Microsystems, Inc.
ii
Printing History
New editions of this manual will incorporate all material updated since the
previous edition. The manual printing date, which indicates the manual’s
current edition, changes when a new edition is printed. Minor corrections and
updates which are incorporated at reprint do not cause the date to change.
Update packages may be issued between editions and contain additional
and/or replacement pages to be merged into the manual by the user. Note
that pages which are rearranged due to changes on a previous page are not
considered to be revised.
iii
Welcome!
This manual is a tutorial guide for setting up a simulation problem using
version 8.0 of Ansoft HFSS, a software package for calculating the high-
frequency electromagnetic behavior of a structure.
Installation Guide
Before you use Ansoft HFSS, you must:
1. Set up your system’s graphical windowing system.
2. Install the Maxwell software, using the directions in the installation
guide.
If you have not yet done these steps, refer to the installation guides and the
documentation that came with your computer system, or ask your system
administrator for help.
Other References
For detailed information on the Ansoft HFSS commands, refer to the online
help provided with Ansoft HFSS.
For detailed information on the Control Panel commands, refer to the online
help for the Maxwell Control Panel.
iv
Typeface Conventions
Computer Computer type is used for on-screen prompts and
messages, for field names, and for keyboard entries
that must be typed in their entirety exactly as shown.
For example, the instruction “copy file1” means to type
the word copy, to type a space, and then to type file1.
Menu/Command Computer type is also used to display the commands
that are needed to perform a specific task. Menu levels
are separated by forward slashes (/). For example, the
instruction “Choose File/Open” means to choose the
Open command under the File menu.
Italics Italic type is used for emphasis and for the titles of
manuals and other publications. Italic type is also used
for keyboard entries when a name or a variable must
be typed in place of the words in italics. For example,
the instruction “copy filename” means to type the word
copy, to type a space, and then to type the name of a
file, such as file1.
Keys Helvetica type is used for labeled keys on the com-
puter keyboard. For example, the instruction “Press
Return” means to press the key on the keyboard that
is labeled Return.
v
Using a Graphical User Interface
If you are familiar with the concepts of using a hand-held mouse, menus, and
other graphical user interface (GUI) tools, skip to Chapter 1, “Introduction.”
If you have not used a GUI before, this section will help you understand some
of the terminology used in this guide. Since GUIs are basically visual, the best
way to learn to use them is by practicing on your system.
Most GUI systems use a “mouse” as a
pointing device, with which you can
select areas on the screen for command
execution and moving from one program
to another. Your mouse may have 2 or 3
buttons; Ansoft HFSS ignores the middle
button on 3-button models, since Ansoft
products do not use this button. You can
program mouse buttons to work in non-standard ways, as you might want to
if you are left-handed. For simplicity, the left-hand button (under your
forefinger if you are right-handed) is referred to as the left mouse button, and
the one on far right as the right mouse button. You will probably find the
terms intuitive once you use these buttons a few times.
Point and Click; Right Click
To choose an item with the mouse, first move it on your desk until the arrow
cursor is on that item; you are now “pointing” at the item. Next, press and
release the left mouse button; this is called “clicking.” Point-and-click is the
most common action you will make with your mouse. Generally, “click”
refers to a left mouse button click.
Sometimes, you can use your right mouse button to access commands. In the
3D Modeler, a right mouse button click causes a menu of commands to
appear. Generally, “right click” refers to a right mouse button click.
Double-Click
Occasionally you may want to select all of the text in a box, or perform a
special task (say, indicating the end of drawing a line). You can do this by
quickly clicking twice with your left mouse button — a “double-click.”
Dragging Objects; Click and Hold
When you are drawing in the 3D Modeler, you can often use your mouse to
enter objects and move around the screen. Frequently, you will click the
mouse button and hold it down until the next part of the command is reached
(the object is moved, the next point is entered, and so forth). If you click and
hold on the edge of a window, you can position, or drag, the window on your
screen. You can often drag objects in the 3D Modeler; experiment to see what
will move.
vi
Menus
Within some screens of Ansoft HFSS are areas which list subsets, or “menus,”
of commands. You can access a menu by clicking your mouse on the word or
button that indicates the menu. The menu is “pulled down”, and lists the
commands available on that menu. Usually, the menu will remain displayed
until you choose a command, or click on the desktop to exit. If the menu does
not remain displayed, click and hold the mouse button, then release the button
to make your choice.
vii
Tool Bars
Tool bars are shortcut methods for entering commands. There are tool bars in
many of the Ansoft HFSS modules for several commands. To use a tool bar,
click the mouse cursor on the button you want to use. Here is an example of a
tool bar:
Note: If a tool bar icon appears to do nothing when you click on it, the command
viii
Table of Contents
1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-1
Finite Element Method . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-2
The Sample Problem . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-3
Results to be Examined . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-3
2. Creating the Antenna Project . . . . . . . . . . . . . . . . . . . . 2-1
Access the Project Manager . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-2
Create a Project Directory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-4
Create a Project . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-6
Access the Project Directory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-6
Add the New Project . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-6
Save Project Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-7
3. Run Ansoft HFSS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-1
Open the New Project and Run the Simulator . . . . . . . . . . . . . . . . . . . . . . 3-2
Overview of the Executive Commands Window . . . . . . . . . . . . . . . . . . . 3-3
Commands Area . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-3
Display Area . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-3
General Procedure for Drawing and Solving . . . . . . . . . . . . . . . . . . . . . . . 3-4
Contents-1
4. Drawing the Geometric Model . . . . . . . . . . . . . . . . . . . 4-1
Select the Solver . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-2
Driven Solution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-2
Eigenmode Solution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-2
Start the 3D Modeler . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-3
Side Window . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-5
Snaps . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-6
Define the Drawing Region . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-7
Absolute and Relative Coordinates . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-7
Grids . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-7
Create the Geometry . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-8
Draw the Horn . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-9
Draw the 2D Cross-Section . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-9
Sweep the 2D Cross-Section . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-11
Save the Geometry . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-12
Draw the Radiation Boundary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-13
Subtract horn from abc . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-14
Copy the Horn . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-14
Subtract the Objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-14
Exit the 3D Modeler . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-16
5. Setting Up the Problem . . . . . . . . . . . . . . . . . . . . . . . . . 5-1
Assign Materials . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-2
Start the Material Manager . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-2
Assign vacuum to horn and abc . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-3
Exit Setup Materials . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-3
Set Up Ports and Boundaries . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-4
Ports . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-4
Boundary Conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-4
Start the 3D Boundary Manager . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-6
Define the Port . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-7
Select the Surface for the Port . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-7
Define Parameters for the Port . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-8
Define the Perfect E Boundary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-9
Define the Perfect H Boundary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-11
Define the Symmetry Plane . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-13
Define the Radiation Boundary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-14
Display the Boundaries . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-15
Exit the Boundary Manager . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-16
Contents-2
6. Generating a Solution . . . . . . . . . . . . . . . . . . . . . . . . . . 6-1
Specify Solution Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-2
Generate the Solution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-4
View Convergence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-5
View the S-matrix . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-6
7. Analyzing the Solution . . . . . . . . . . . . . . . . . . . . . . . . . 7-1
The Post Processors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-2
Access the 3D Post Processor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-2
Create the Far-Field Plot . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-3
Compute the Far Field . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-4
Plot the Far Fields . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-5
Create an Animated Cloud Plot . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-7
Exit the Field Simulator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-10
Contents-3
Contents-4
1
Introduction
Introduction 1-1
Finite Element Method
1-2 Introduction
The Sample Problem
Results to be Examined
After setting up the antenna problem and generating a solution, you will:
● Calculate the VSWR (voltage standing wave ratio) for the horn.
● Plot the far-field antenna pattern.
● Create an animated cloud plot of the magnitude of the electric field.
Introduction 1-3
Results to be Examined
1-4 Introduction
2
Creating the Antenna Project
This guide assumes that Ansoft HFSS has already been installed as described
in the Installation Guide.
Note: If you have not installed the software or you are not yet set up to run the
Time: The total time needed to complete this chapter is approximately 10 min-
utes.
Note: From now on, when you are asked to “choose” a button or a command,
The directory getstart is created under the current default project directory,
and getstart now appears in the Projects box. You return to the Project Man-
ager window.
Note: Ansoft HFSS projects are generally created in directories which have aliases
☞ — that is, directories that have been identified as project directories using
the Add command.
➤ To change directories to look at another’s contents:
1. Choose Change Dir from the Project Directories box.
2. Double-click the left mouse button on the desired directory.
(Choose ../ to move up a level in the directory structure.)
3. After you are done, choose OK.
See the online help for the Maxwell Control Panel for more information on
changing directories and other Project Manager functions.
Create a Project
Now you are ready to create a new project named horn in the project direc-
tory getstart.
Access the Project Directory
Before you create the new project, access the project directory getstart.
➤ Access the project directory:
● Choose getstart in the Project Directories box at the bottom left.
The current directory displayed at the top of the Project Manager menu
changes to show the pathname of the directory associated with the alias get-
start. If you have previously created a model, it will be listed in the Projects
box. Otherwise, the Projects box is empty — no projects have been created yet
in this project directory.
Add the New Project
➤ Add a new project:
1. Choose New in the Projects box at the top left of the menu. A window like
the one shown below appears:
2. Type horn in the Name field. Use the Back Space and Delete keys to cor-
rect typos.
3. To select the type of project to be created, click the left mouse button on
the button next to the software package listed in the Type field. A menu
appears, listing all of the Ansoft software packages you purchased. Click
on Ansoft High Frequency Structure Simulator 8 to select it as the project
type.
4. Optionally, enter your name in the Created By field.
☞ Microsoft Windows NT, the name of the person who logged onto the sys-
tem appears.
5. Deselect Open project upon creation. When selected, this option opens the
project after you choose OK. However, don’t open the project quite yet.
6. Choose OK to create the project.
The information that you just entered is now displayed in the corresponding
fields in the Selected Project box. Writable is selected, showing that you have
access to the project.
Save Project Notes
It is a good idea to save the notes about your new project so that the next time
you use Ansoft HFSS, you can view information about a project without
opening it.
➤ Enter notes for the horn problem:
1. Leave Notes selected by default.
2. Click the left mouse button in the area under the Notes option. A cursor
appears, indicating that you can now enter text.
Note: The Model option displays a picture of the selected model in the Notes area.
☞ It is disabled now because you are creating a new project. After you create
the horn problem, its geometry will appear in this area by default when the
horn project is selected.
Note: Grayed out text on commands or buttons means that the command or but-
Now, you are ready to open the new project and run Ansoft HFSS.
In the last chapter, you created the directory getstart, and created the project
horn within that directory.
This chapter describes:
● How to open the project you just created and run Ansoft HFSS.
● The Ansoft HFSS Executive Commands window.
● The general procedure for creating an antenna problem in Ansoft HFSS.
● The sample problem and the procedures you will use to calculate the field
solution.
Time: The total time needed to complete this chapter is approximately 10 min-
utes.
The buttons along the bottom of the window allow you to change your view
of the model as follows:
Zoom In Zooms in toward the object, expanding the view of the
model.
Zoom Out Zooms away from the object, shrinking the view of the
model.
Fit All Fits the entire model in the view window.
Visibility Displays parts of the model in the view window.
Render Shows the model as wireframe, flat shaded, or smooth
shaded.
This area also displays solution profile and convergence information while
the problem is solving, as described in Chapter 6, “Generating a Solution.”
Run Ansoft HFSS 3-3
General Procedure for Drawing and Solving
These commands must be chosen in the sequence in which they appear. For
example, you must first create a geometric model with Draw before you spec-
ify material characteristics for objects with Setup Materials. A checkmark
appears on the menu next to each step as it is completed.
This chapter shows you how to create the geometry for the antenna problem
described earlier. Your goals are as follows:
● Set up the problem region.
● Create the objects that make up the antenna model.
● Save the model to a set of disk files.
You are now ready to start using the simulator. The Executive Commands
window should still be on the screen.
Time: The total time needed to complete this chapter is approximately 10 min-
utes.
Menu
Absolute/Relative
coordinates xy xyz
Side window
yz xz
yz xz
Status bar
Note: If you require further information on any topic in Ansoft HFSS, such as
☞ the 3D Modeler commands or windows, there are several options for dis-
playing context-sensitive help:
● Choose Help in a pop-up window.
● Press F1, see the cursor change to ?, then click on the item on which
you need help.
● Use the commands from the Help menu.
Side Window
The area on the left of the 3D Modeler (or on the right, depending on your
preference settings) is referred to as the side window. The side window is
where you can change the coordinates or set the snaps of the model to some-
thing other than the default. This window is also where many command-spe-
cific fields appear.
Use this menu to select the type of coordinate system
to use. You may select from an absolute coordinate
system or a relative coordinate system. The selected
coordinate system appears as the name of the menu.
Use these fields to enter the x-, y-, or z-coordinates
and the radius, distance, or angle. Notice the check-
box next to the coordinate fields. The checkbox
must be selected to enable the coordinate field.
These coordinate fields are used to enter the coor-
dinates for a variety of commands.
Use these checkboxes to select the type of “snap-to”
you wish to employ when selecting objects or object
artifacts (vertices, lines, faces, and so forth). When
you select the Other checkbox, a window appears
allowing you to select from a variety of “snap-to”
options.
Use the blank area under the coordinate section for entering information
for many commands. Fields that appear in this area allow you to enter
information specific to the command you just selected.
Snaps
The Grid and Vertex snaps are set by default and already active.
➤ To select the snap-to behavior:
1. Choose Other from the Snap to buttons. A window appears below the
coordinates fields.
2. Select the type of Edge Snap you prefer. You may select from the follow-
ing:
Grid inters. Allows you to set the snap at the point where the grid
intersects an axis.
Edge center Allows you to set the snaps at the central points of the
edges.
Arc center Allows you to set the snap at the center of an arc.
3. Select the type of Face Snap that you prefer. You may select from the fol-
lowing:
Axis inters. Allows you to set the face snap at the point where an
axis crosses the face of an object.
Face center Allows you to set the snap at the center of the face of an
object.
Note: Because the window can be customized, it may differ slightly from those
☞ shown in this guide. For instance, if someone has used the 3D Modeler
before you, they may have changed the default position of the tool bar.
Don’t worry if this happens; simply use the windows as they appear in
the program. This guide reminds you to check when default settings are
needed for your project.
In order to draw the model, you must activate a window in which to create it.
➤ Activate the window in which you will draw the model:
● Click in the bottom left (yz) window. The cursor is tagged with the
current window’s coordinate system. This window is where you will
begin to draw your model.
Absolute and Relative Coordinates
In this guide, you will be working in absolute coordinates. If relative coordi-
nates are set, the coordinate system measures from an origin defined by you,
which you can change. If absolute coordinates are set, the coordinate system
measures from a system-defined origin.
➤ Look at the Absolute/Relative coordinates menu in the upper left part of
the 3D Modeler window. Make sure absolute coordinates are chosen,
immediately under the left-hand end of the tool bar. If absolute
coordinates are not selected, do the following:
● Select Absolute from the Rel. [cm] pull-down menu in the side window.
Grids
The 3D Modeler uses grid settings to provide a visual guide as you draw
objects. There are no particular unit types associated with the grid points.
However, you can set up the grid so that each grid point is displayed at a
given number of units. The default settings keep the grid points at about 30
pixels apart, even if you zoom in and out, and start with each grid point dis-
played at 20 cm.
Now you are ready to begin drawing the objects that make up the geometry.
Virtual object
representing the
radiation boundary.
Horn antenna.
Notice that only
half is modeled. A
symmetry plane is
used to model the
missing half.
λ = 3.0 cm @ 10 GHz
β
d1 = 0.71λ = 2.13 cm
d2 = 1.31λ = 3.93 cm
l1 = 1.0λ = 3.0 cm
l2 = 1.37λ = 4.11 cm
o
β = 30
l1
y d1
The length of the straight, upper section of the horn is set to 1.37 wavelengths.
This length was chosen because it is the minimum length that adjusts the rela-
tive phases and amplitudes of the TE11 mode and the TM11 mode such that
the electric field is cancelled at the aperture.
Note: By default, the two modes for adding elements of a polyline are set to
☞ Add Vert, which adds individual vertices, and Straight, which creates
straight line segments between points.
1.065 3
1.965 4.56
1.965 8.67
0 8.67
7. After entering the last point, choose Close. This closes the polyline by
drawing a line between the last point and the first point entered.
8. Click on the colored box next to Color and select blue.
9. Leave the Covered checkbox selected. This makes the cross-section a 2D
sheet object. You can also make polylines sheet objects using the Sur-
faces/Cover Lines command.
10. Choose Done. You have finished drawing the 2D cross-section. Notice
that the object is too small to see.
11. Choose View/Fit All/All Views (hotkey f) to expand the object until it
fills all the view windows.
You are now ready to sweep the 2D object you just created to form the horn.
Note: To create a true surface, one that isn’t approximated by line segments or
☞ facets, enter 0 in the Number of steps field.
8. Leave the Draft Angle set to 0, the default. The draft angle indicates the
angle at which the profile expands or contracts as it is swept.
9. Choose Enter. The cross-section is swept around the z-axis and forms the
horn. The 3D object has the name and color of the 2D object it was created
from.
The horn appears as shown below. Notice that the horn has 12 facets, corre-
sponding to the number of steps you specified.
Note: If you do not save your geometry at this point, the numbering of the faces
☞ will be slightly different in Chapter 5.
2. Choose Yes. A progress bar appears displaying the progress of the system
as it verifies that there are no overlapping objects present in the model.
You return to the Executive Commands window and are now ready to assign
materials and define boundaries.
Now that you have created the geometry for the antenna problem you are
ready to define material properties, ports, and boundary conditions.
Your goals for this chapter are as follows:
● Assign material properties to all model objects — actual and virtual — in
the geometric model.
● Identify the port through which the wave enters the horn.
● Define boundary conditions, such as the locations of radiation
boundaries and the symmetry plane.
Now you are ready to set up the problem.
Time: The total time needed to complete this chapter is approximately 15 min-
utes.
Assign Materials
To completely set up this antenna problem, you must assign material charac-
teristics to each 3D object in the geometric model. To set material properties
for the objects in this problem, you will assign vacuum to the horn and box.
Start the Material Manager
➤ Start the Material Manager:
● Choose Setup Materials. The Material Setup window appears as shown
below:
All objects — in this case horn and abc — are listed in the Object box, and
the materials in the material database provided with the software are
listed in the Material box. The characteristics of the materials are listed
under Material Attributes.
Note: Multi. Select should be selected by default. This allows you to select multi-
Note: The portion of the horn exposed to the background object does not need to
The radiation
A perfect H boundary on the boundary simu-
aperture of the horn allows lates an absorb-
the E-field to radiate into
space.
Notice that the surface representing the 2D cross-section (this may be dif-
ferent depending on where you clicked) may be highlighted. Since this
isn’t the correct surface, you need to select the face behind this surface.
2. Click the right mouse button. A menu appears.
3. Choose Next Behind (hotkey N) from the menu. The end face of the horn
is now selected. The Next Behind command is very useful when defining
boundaries. It can be difficult selecting interior faces in a model without
using such a command.
Note: There are a variety of ways you could have selected the correct face in a sin-
☞ gle step. For example you could have rotated the model until the surface
you wanted to select was visible, or you could have used the Edit/Select/By
Name command and selected the face.
2. Select horn and abc as the objects whose intersection you want to select.
Note: You cannot select the intersection between the background object and a
☞ model object. There are no internal faces on the background object to select
in an intersection.
This restriction also includes any object entirely contained in a second
object. Selecting the intersection between two objects is allowed only when
one object is partially overlapped by a second object. In that case, when you
subtracted the first object, you created internal faces on the second object.
3. Choose Pick Intersection. You are warned that this operation may take
some time.
4. Choose Yes to proceed with the intersection. The area that intersects
between the horn and the box is then selected.
5. Choose Done.
6. Select Boundary as the type of condition to apply to the objects. Perfect E
should be selected as the boundary type by default. If it is not, click and
hold on the boundary type menu. A list of boundaries appears. Select
Perfect E from the list.
7. Enter intersection as the name of the boundary.
8. Choose Assign. The new boundary appears in the list as intersection.
Now you are ready to define the boundary on the aperture of the horn.
Warning: The order in which boundaries are defined is important. Each boundary
Since the antenna used in this guide has a vertical plane of symmetry and the
E-field is tangential to the surface, use a perfect H boundary for the symmetry
plane.
Note: To check whether or not the correct faces are selected, use the Edit/Select/By
☞ Name command. When you select the object, the name of the face that is
currently selected in the model is highlighted.
Note that the names of the system-defined boundaries and the user-
defined boundaries appear in the Boundary list. The only system-defined
boundary for this problem is outer, which is the boundary defining the
interface between the model objects and the background object.
2. Choose port1 from the Boundary list. Its visibility status is listed under
Visible and the type of boundary selected is listed next to Type.
3. Leave the color set to the default.
3. Since you set the impedance multiplier to 0.5 when you defined the first
port, choose OK.
4. The message warning you there are overlapping boundaries appears.
Choose OK to acknowledge the message.
You return to the Executive Commands window.
Now that you have created the geometry and set up the model, you are ready
to generate a solution.
Your goals for this chapter are as follows:
● Set up the solution parameters that will be used in calculating the
solution.
● Generate a solution. The system computes the 3D field solution inside the
structure that results from excitation signals at each port. Once the field
solution is obtained, the simulator computes the generalized S-matrix
associated with the structure.
Note: The solution process stops if either the Requested Passes or Max Delta S is
☞ reached.
Note: While this problem does not require a seeded mesh on the radiation bound-
☞ ary, an example of how to seed the boundary is presented here. In this case,
seeding the boundary would cause the system requirements for this prob-
lem to increase dramatically. Also, the time needed to generate a solution
with a seeded mesh increases by several hours.
➤ To seed the radiation boundary for this problem:
1. Choose Mesh Option/Initial Mesh from the Mesh Options menu
on the Solution Setup window.
2. Choose Define Seed Operations from the window that appears.
The Meshmaker appears.
3. Select the faces on the radiation boundary using the Edit/Select
Faces command.
4. Choose OK.
5. Choose Seed/Object Face/By Length. This refines the length of
all the tetrahedra’s edges until their length is below the
specified value. The Seed/Refine controls window appears.
6. Select Number of elements to be added to specify the
maximum number of elements added. The software will not
exceed this value. If you select this, enter the maximum
number of elements you want to have in the edit field on the
right.
7. Enter a value, in centimeters, in the Maximum element length
field. Because you selected Seed/Object Face/By Length, this
value represents the maximum length that any edge of a
tetrahedron may have during the refinement process. A
recommended starting value for this quantity is λ/6.
8. Choose OK to accept your values.
9. Choose Seed/Save to save the seed refinement settings. If you
do not save these settings, you will not be able to select Seed
Based Refinement in the Setup Solution window.
10. Choose File/Exit to exit the Meshmaker and return to the
solution setup.
11. Select Seed Based Refinement.
Keep in mind that the system refines each tetrahedron that intersects the
radiation boundary, and does not refine a surface mesh. This requires
much more system resources and time than earlier versions of Ansoft HFSS
used. Because of this, it is recommended that you first solve the problem
without seeding the radiation boundary. If the results are unsatisfactory,
seed the mesh and re-solve.
Note: Depending on how closely you followed the guide, the results that you
☞ obtain should be approximately the same as the ones given in this section.
However, there may be a slight variation between platforms.
➤ Generate a solution:
● Choose Solve from the Executive Commands window. A sequence of
progress bars appear in the Solution Monitoring area as the solution is
being generated. These allow you to monitor the progress of the solution
process. Note the descriptive messages that accompany the progress bars.
These describe the various stages of the solution process as well as
providing an estimate of the memory and disk usage.
Note: After a solution is generated, the system does not allow you to change the
View Convergence
While the solution is generating, you can view convergence information such
as:
● Number of passes completed and remaining.
● The number of tetrahedra per pass.
● The maximum change in the magnitude of the S-parameters (Max
Delta S) per pass.
● The frequency at which the adaptive solution was generated.
➤ View the convergence:
● Choose the Convergence button from the row of buttons across the top of
the Executive Commands window. The view of the model disappears
and is replaced by the following window:
Note: Your results will vary somewhat from these, but will be relatively close.
1 + S 11
--------------------
1 – S 11
By default, the S-matrix for the last adaptive pass is displayed when the
screen appears.
The magnitude of the S11 value displayed is 0.0645, with a phase of 67.280
degrees. Using the equation displayed above, the VSWR value is 1.138,
which is what you would expect for a dual-mode antenna with the aper-
ture sizes defined for this problem.
Now that you have generated a solution for the antenna problem, you can
analyze it using Ansoft HFSS’s post-processing features, accessed with the
Post Process menu.
You will:
● Plot the far field.
● Create an animated cloud plot of the magnitude of E.
Time: The total time needed to complete this chapter is approximately 15 min-
utes.
2. Leave Sphere selected. Since far fields are only plotted on a spherical
grid, this is the only option available.
3. Under Phi from x-axis, do the following:
a. Leave the Start field set to 0. This is the point, in degrees, where the
rotation of phi begins.
b. Enter 90 in the Stop field. This is the point, in degrees, where the rota-
tion of phi ends.
c. Enter 1 in the Steps field. This is the number of steps on the sweep of
phi. For example, entering 1 for the steps causes the sweep of phi to
consist of two points, the Start and Stop point.
4. Under Theta from z-axis, do the following:
a. Enter 0 in the Start field.
b. Enter 360 in the Stop field.
c. Enter 90 in the Steps field.
5. Choose View Points. A window appears displaying the two phi points
and their corresponding theta points that will be plotted.
6. Choose OK to dismiss the View Points window.
7. Choose OK to compute the radiated fields in the far-field region. A
progress bar appears indicating the system’s progress in computing the
far fields.
After the far fields are computed, the Plot Far Field window appears. This
window allows you to specify the plotting parameters of the far field. It is the
same window that appears when you choose Plot/Far Field.
Plot the Far Fields
With the Plot Far Field window on screen, specify the plotting parameters of
the far field and display the plot. The Plot Far Field window appears as
shown below:
2. Select Mag E from the Plot Quantity list. This selects the magnitude of the
electric field |E|(x,y,z,t) as the quantity to plot.
3. Select Volume -all- mid-way down the On Geometry list. This selects the
geometry on which to plot. For this example, you will be plotting over the
entire volume of the geometry.
Since you have selected to plot over the entire volume, you do not need to
select a specific volume from the In Volume list.
4. Select Phase animation to make an animated plot by varying the phase of
the electric field.
■ Leave Variable set to PHASE. When you choose Phase animation, the
variable is limited to the phase. If you had chosen an animated geom-
etry, such as AnimSurf xy, from the On Geometry list, other variables
would be present.
■ Leave Start set to 0 degrees. This is the starting value for the phase.
■ Leave Stop set to 180 degrees. This is the stopping value for the
phase.
■ Leave Delta set to 18. This is the amount by which the phase changes
between one plot and the next.
■ Select Store Frames to save the each frame of the animation. From
these saved frames you can create an animated movie.
■ Choose OK. The following window appears, allowing you to specify
the attributes of the plot:
■ Select Use Limits under Plot Scale. This allows you to specify the
upper and lower limits of the E-field strength display. The units for
all field quantities are given in MKS.
■ Enter 1500 in the Maximum field. This sets the upper limit of the E-
field strength display to 1500 V/m.
This window appears because you selected Store Frames; otherwise, the
controls for the animation would appear in the side window. Each frame
in the Frame List is a plot computed at a different phase. The phase of
each plot is listed next to each frame. The controls at the bottom of the
window allow you to play the animation sequence forward or backward,
or step through it one frame at a time.
6. Choose Make Movie. This creates a replaying movie from the series of
animated plots. Ansoft HFSS generates a series of pixmaps from the
frames in the Frame List, then it animates these into a movie. This will
take some time.
Once the series of pixmaps has been created, a window appears allowing
you to control the movie. You can change the speed, stop the movie, or
access the Animation Plots window again to manipulate the frames.
7. Choose Done when you wish to end the movie.
Index-2
I O
impedance multiplier 5-8 objects
installing Maxwell software iv copying 4-14
dragging vi
in the sample problem 4-8
L overlapping 4-14
lines, drawing 4-9 saving 4-12
subtracting 4-14
sweeping 4-11
M opening
Project Manager 2-2
making movies 7-7
projects 3-2
Material Manager, starting 5-2
materials
assigning 5-3 P
material database 5-2
Maxwell Control Panel Perfect E boundary
accessing from a PC 2-2 behavior of E-field on 5-4
accessing from a workstation 2-2 defining 5-9
opening projects from 2-2 Perfect H boundary
menus behavior of E-field on 5-5
about vii defining 5-11
pop-up vii phase animation 7-7
pull-down vii plotting
mesh animated cloud plot 7-7
elements 1-2 far fields 7-5
example of 1-2 ports
refining adaptively 6-2 about 5-4
seeding 6-3 defining 5-7
modeler, see 3D Modeler impedance multiplier 5-8
modes selecting faces 5-7
conversion 1-3 post processors
TE11 1-3, 4-9 3D 7-2
TM11 1-3, 4-9 Fields 7-2
mouse vi Matrix Data 7-2
movies, making 7-7 Matrix Plot 7-2
selecting 7-1
project directory
N creating 2-4
definition of 2-4
near-field region 7-3
Project Manager commands
notes describing project 2-7
Add 2-4
Change Dir 2-5
Index-3
New 2-6 face snap 4-6
Open 3-2 specifying 4-6
Save Notes 2-7 solution
Project Manager, opening 2-2 frequency 6-2
projects general procedure 3-4
Ansoft HFSS 2-6 viewing convergence data 6-5
changing directories 2-5 Solution Monitoring area 6-4
creating 2-6 solutions
describing (notes) 2-7 adaptive 6-2
displaying geometric model 2-7 changing problem after 6-4
names 2-6 driven 4-2
opening 3-2 eigenmode 4-2
general procedure 6-4
setting solution parameters 6-2
R viewing convergence data 6-5
radiation boundary 5-4, 5-14 solver types
and virtual objects 4-13 Driven 4-2
distance from source 4-13 Eigenmode 4-2
drawing 4-13 selecting 4-2
seeding 6-3 starting Ansoft HFSS 3-2
rE-field 7-5 status bar 4-4
regions, near-field and far-field 7-3 subtracting objects 4-14
relative coordinates 4-7 sweeping objects 4-11
rendering 3-3 symmetry boundaries 5-5
defining 5-13
impedance multiplier 5-8
S perfect E versus perfect H 5-13
restrictions 5-13
sample problem 1-3
saving
geometric model 4-12 T
notes 2-7
seeding the mesh 6-3 TE11 mode 1-3, 4-9
selecting TM11 mode 1-3, 4-9
by name 5-7 tool bar, about viii
drawing units 4-3
faces (for ports) 5-7
post processor 7-1
U
solver type 4-2 units, selecting 4-3
surfaces (for boundaries) 5-7
sheets, drawing 4-9
side window, about 4-5 V
snap-to settings view windows 4-3
edge snap 4-6 viewing
Index-4
boundaries 5-15
convergence 6-5
views
filled 3-3
wireframe 3-3
virtual objects and radiation boundaries 4-13
W
windows
3D Modeler 4-4
side window 4-5
view windows 4-3
wireframe view 3-3
Z
zooming in and out 3-3
Index-5
Index-6