HFSS Help PDF
HFSS Help PDF
Release 19.0
ANSYS, Inc.
December 2017
Southpointe
2600 ANSYS Drive ANSYS, Inc. and
Canonsburg, PA 15317 ANSYS Europe,
[email protected] Ltd. are UL
registered ISO
http://www.ansys.com
9001:2008
(T) 724-746-3304 companies.
(F) 724-514-9494
HFSS Online Help
ANSYS, ANSYS Workbench, AUTODYN, CFX, FLUENT and any and all ANSYS, Inc. brand,
product, service and feature names, logos and slogans are registered trademarks or trademarks of
ANSYS, Inc. or its subsidiaries located in the United States or other countries. ICEM CFD is a
trademark used by ANSYS, Inc. under license. All other brand, product, service and feature names
or trademarks are the property of their respective owners. FLEXlm and FLEXnet are trademarks of
Flexera Software LLC.
Disclaimer Notice
ANSYS, Inc. and ANSYS Europe, Ltd. are UL registered ISO 9001: 2008 companies.
For U.S. Government users, except as specifically granted by the ANSYS, Inc. software license
agreement, the use, duplication, or disclosure by the United States Government is subject to
restrictions stated in the ANSYS, Inc. software license agreement and FAR 12.212 (for non-DOD
licenses).
Third-Party Software
See the legal information in the product help files for the complete Legal Notice for ANSYS
proprietary software and third-party software. If you are unable to access the Legal Notice, please
contact ANSYS, Inc.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Table of Contents
Table of Contents Contents-1
Contents-1
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Contents-2
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Contents-3
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Contents-4
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
For -batchoptions Use: HFSS and HFSS-IE Options with Paths 1-137
Contents-5
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Contents-6
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Define the Relative Coordinate System using a Post Processing Variable 1-182
Use the Relative Coordinate System in a Far Field Setup Calculation 1-183
Contents-7
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Using Auto-Open Region for the Solution Type for Antenna Designs 2-12
Contents-8
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Printing 2-88
Contents-9
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Contents-10
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Example for Reverting from a User Defined Option Value to the Administrator 2-145
Contents-11
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Default
Contents-12
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Contents-13
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Contents-14
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
References 3-54
Contents-15
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Functions, Operators and Quantities for the Edit Equation dialog 4-18
Contents-16
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Contents-17
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Heal 4-79
Contents-18
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Contents-19
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Contents-20
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Contents-21
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Contents-22
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Selecting Multi (a Mode for Selecting Objects, Faces, Vertices or Edges) 4-250
Selecting Objects and Surfaces That Lie Inside Other Objects 4-253
Contents-23
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
5 - Optimetrics 5-1
Contents-24
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Optimization Setup for the Sequential Nonlinear Programming (Gradient) Optimizer 5-36
Optimization Setup for the Genetic Algorithm (Random search) Optimizer 5-39
Contents-25
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Setting the Min. and Max. Variable Values for Optimization 5-53
Text Entry for Calc. Range or Edit Calculation Range Dialog 5-53
Overriding the Min. and Max. Variable Values for a Single Optimization Setup 5-55
Changing the Min. and Max. Variable Values for Every Optimization Setup 5-55
Contents-26
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Overriding the Min. and Max. Variable Values for a Single Sensitivity Setup 5-73
Changing the Min. and Max. Variable Values for Every Sensitivity Setup 5-74
Contents-27
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Contents-28
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Contents-29
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Troubleshooting 6-4
Contents-30
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Examples with "Submissions with Nodes are for exclusive usage by this job"
Unchecked and Checked 6-114
Contents-31
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Integrated Job Monitoring for Job Management Interface for LSF 6-146
Contents-32
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
SGE Commands for Information About Jobs and Cluster Configuration 6-203
IsProductLaunchedInYourEnvironment 6-230
GetTempDirectory 6-231
GetMachineListAvailableForDistribution 6-231
GetMessageStringToRegisterForSigTerm 6-232
LaunchProcess 6-233
GetUseRsmForEngineLaunch 6-234
GetThisJobID 6-235
GetSchedulerDisplayName 6-236
Contents-33
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Limitations 6-267
Contents-34
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Network Access from Windows Host to Linux Job Management Host 6-269
Contents-35
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Contents-36
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
UsingClipPlanes 8-29
Contents-37
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Setting Magnitude and Delay for Transient Composite Solution Excitations 10-12
11 - HFSS-IE 11-1
Contents-38
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Running Distributed Memory Solutions from the Command line for HFSS-IE 11-13
List 12-13
Nets 12-14
List 12-14
Contents-39
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Component 12-24
Contents-40
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Contents-41
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Contents-42
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Contents-43
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
3D Structures 12-126
3D Ungroup 12-127
Contents-44
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Or Command 12-147
FindNotOwnedByNet 12-153
FindNotOwnedByNet 12-153
Contents-45
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Importing DXF and DWG Format Files into the Layout Editor 13-16
Importing IPC2581 rev.a and IPC2581 rev.b into the Layout Editor 13-24
Contents-46
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Contents-47
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Contents-48
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Contents-49
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Contents-50
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Contents-51
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Contents-52
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Contents-53
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Contents-54
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Multi-Frequencies 16-15
Guidelines for Choosing Between ACA and MLFMM IE Solver Options 16-25
Contents-55
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Contents-56
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Running Distributed Memory Solutions from the Command line for HFSS 16-79
Contents-57
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Contents-58
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
ReassigningBoundaries 17-57
Showing and Hiding Boundaries and Excitations in the Active View Window 17-60
Showing and Hiding Boundaries and Excitations in Every View Window 17-61
Contents-59
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Contents-60
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Contents-61
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Contents-62
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Contents-63
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Contents-64
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Scaling Sources and Setting Delays for HFSS Transient Network 22-28
Contents-65
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Contents-66
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Y Markers 22-106
Contents-67
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Contents-68
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Contents-69
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Registers 22-294
Contents-70
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Trig 22-311
Ln Command 22-314
Mag Command 22-318
Contents-71
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
X Form 22-322
Using Visual Ray Trace (VRT) Minimal Physics in ANSYS Electronics Desktop 22-358
22-362
Contents-72
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
GetUDSName() 22-377
GetUDSDescription() 22-378
GetUDSSweepNames() 22-378
GetCategoryNames() 22-379
Contents-73
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
IUDSInputData 22-390
GetDoubleProbeData(probeName) 22-391
GetComplexProbeData(probeName) 22-392
GetSweepNamesForProbe(probeName) 22-392
GetRequiredQuantities() 22-393
GetVariableValues() 22-393
GetInterpolationOrdersData(probeName); 22-394
IUDSOutputData 22-394
SetDoubleQuantityData(qtyName,qtyData) 22-395
Contents-74
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Toolkit 22-413
Contents-75
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Sample Script:- This one adds, edits, renames and deletes a document 22-456
Contents-76
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Smoothing 23-25
Contents-77
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
24 - Scripting 24-1
Contents-78
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Contents-79
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Name 26-21
Surface Representation Priority for Tau Mesh (effective only for Tau Tolerant Mesh) 26-25
Contents-80
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Contents-81
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Modes 27-15
Contents-82
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Contents-83
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Contents-84
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
S-Parameters 27-75
Passivity 27-80
Max U 27-96
Contents-85
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Best Practices for Accurate and Causal Broad Band Frequency Sweeps 27-154
References for Accurate and Causal Broad Band Frequency Sweeps 27-163
Contents-86
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Bondwires 27-174
Contents-87
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Excitations 27-221
Contents-88
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Simulating Circuits Containing N-Port Models from a Full-Wave Field Solver 27-241
Introduction 27-241
Deembedding 27-254
Contents-89
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Delta H 27-266
Contents-90
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
28 - Glossary 28-1
Glossary: A 28-1
Glossary: B 28-3
Contents-91
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Glossary: C 28-6
Glossary: D 28-10
Glossary: E 28-14
Glossary: F 28-17
Glossary: G 28-21
Glossary: H 28-22
Glossary: I 28-24
Glossary: J 28-26
Glossary: K 28-27
Glossary: L 28-28
Glossary: M 28-30
Glossary: N 28-33
Glossary: O 28-36
Glossary: P 28-37
Glossary: Q 28-42
Glossary: R 28-42
Glossary: S 28-44
Glossary: T 28-50
Glossary: U 28-53
Glossary: V 28-54
Glossary: W 28-55
Glossary: X 28-56
Glossary: Y 28-57
Glossary: Z 28-57
Index Index-1
Contents-92
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l HFSS - a general purpose 3D interface for the design, analysis, and simulation of
electromagnetic components
l HFSS 3D Layout - a full-wave layout-based electromagnetic simulator with a specialized
interface for geometries created in layout.
l HFSS-IE - a full-wave Integral Equation solver for large open problems
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Q3D Extractor - a quasi-static 3D solver for extracting lumped RLGC parameters and Spice
models
l 2D Extractor - a 2D solver for extracting per-unit-length RLGC parameters of transmission
lines
l Circuit - a schematic-based interface to the Nexxim circuit simulator
l Circuit Netlist - a netlist (text-based) interface to the Nexxim circuit simulator
l Maxwell 3D - uses finite element analysis (FEA) to solve three-dimensional (3D)
electrostatic, magnetostatic, eddy current, and transient problems.
l Maxwell 2D - uses finite element analysis (FEA) to solve two-dimensional (2D) electrostatic,
magnetostatic, eddy current, and transient problems.
l RMxprt - a template-based electrical machine design tool that provides fast, analytical
calculations of machine performance and 2-D and 3-D geometry creation for detailed finite
element calculations in ANSYS® Maxwell®.
l Maxwell Circuit - sets up external circuit designs to supply excitations to coil terminals for
Maxwell 2D and 3D Eddy Current and Transient designs.
l Simplorer - an integrated, multi-domain, mixed-signal simulator for complex technical
systems.
l Filter - a schematic-based design for creating filters for high frequency RF and microwave
applications.
l Savant - a tool for simulating near-field, far-field, and coupling performance of antennas
installed on platforms and within other complex and electrically large environments.
l EMIT - a simulation tool for the prediction of radio frequency interference (RFI) in complex
environments.
If you go to the Project menu, you can access all of the design types. Any combination of these
design types can be inserted into a single project file. The schematics can be used to wire up the
different field solver models and create a model of a high level system. The ANSYS Electronics
Desktop provides an efficient way to manage complicated projects that require several different
analysis tools to model all of its pieces. Designs can also be parameterized. With the help of the
Optimetrics feature the best design variations can be made available to other modules when the
designs are linked into a higher-level simulation. This lets you study the effect of varying a design
parameter on the behavior of the entire system.
The following illustration shows how the ANSYS Electronics Desktop may be used to model
different components for radar system analysis. An antenna array is created in HFSS and linked to
an IE design of an F16 aircraft. The low noise amplifier and bandpass filter are two important
components in the receiver part of the radar module circuit design. The low noise amplifier and the
filter can be modeled in HFSS 3D Layout and linked together in a circuit simulation along with other
components of the radar module connected to the antenna array. The outputs of the radar module
can be used to drive the antennas using the push excitation feature where the voltages on the ports
of the antenna array can be automatically set to correspond to those of the driving circuit. The push
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
excitation feature enables the user to view the electromagnetic fields when the array is driven by
the radar module circuit.
l Click the ANSYS Electronics Desktop icon from the Windows desktop as shown below.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
If the program fails to start, make sure you have installed the licensing option provided to you. For
detailed information on installing the software and licenses, see the ANSYS Electronics Installation
Guide. If you installed ANSYS Electronics Desktop in the C:\ of a Windows machine, the
installation guide is available at C:\AnsysEM\AnsysEM19.0\Win64\Help\.
System Requirements
ANSYS Electronics Desktop supports certain versions of Windows and Linux. For supported
platforms and system requirements, go to:
http://www.ansys.com/Solutions/Solutions-by-Role/IT-Professionals/Platform-Support.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note On Solaris you setup a new print queue by running "lpadmin" (as root). On Red
Hat Linux, you can run 'System Settings/Printing' to launch printconf-gui (as root).
6. Click Next.
The Print Command dialog appears.
7. Change the Print Command only if instructed to do so by your user administrator.
8. Click Next.
The Choose PPD File dialog appears.
9. Select your printer manufacturer and model from the list or use the Choose File button to
browse to a PPD file provided by your printer manufacturer. Click Next.
With a print queue setup, and the printer added, you should then see the printer when running the
software.
PC Memory Considerations
64-Bit PC Support
When running on a 64-bit PC, the ANSYS Electronics Desktop is able to access more memory to
generate faster solutions. ANSYS Electronics Desktop automatically detects if it is resident on an
enhanced PC with 64-bit capacity, and will configure the solver engines to access the extra
memory that is available, thereby resulting in faster solutions.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Getting Help
ANSYS Technical Support
To contact ANSYS technical support staff in your geographical area, please log on to the ANSYS
corporate website, http://www.ansys.com/Support. You can also contact your ANSYS EM
account manager in order to obtain this information.
E-mail can work well for technical support. All ANSYS EM software files are ASCII text and can be
sent conveniently by email. When reporting difficulties, it is extremely helpful to include very specific
information about what steps were taken or what stages the simulation reached. This allows more
rapid and effective debugging.
For information about the Help Menu options, see Help Menu.
F1 Context-Sensitive Help
To access F1 help from the ANSYS Electronics Desktop user interface, press F1 while your cursor
is on an item. The help system specific to the product opens.
Related Topics
l Procedures are presented as numbered lists. A single bullet indicates that the procedure
has only one step.
l Bold type is used for the following:
o Keyboard entries that should be typed in their entirety exactly as shown. For example,
"copy file1" means to type the word copy, to type a space, and then to type file1.
o On-screen prompts and messages, names of options and text boxes, and menu
commands. Menu commands are often separated by carats. For example, click
File>Open.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
o Labeled keys on the computer keyboard. For example, "Press Return" means to press
the key labeled Return.
l Italic type is used for the following:
o Emphasis.
o The titles of publications.
o Keyboard entries when a name or a variable must be typed in place of the words in italics.
For example, "copy file name" means to type the word copy, to type a space, and then to
type a file name.
l The plus sign (+) is used between keyboard keys to indicate that you should press the keys
at the same time. For example, "Press Shift+F1" means to press the Shift key and the F1
key at the same time.
l Toolbar buttons serve as shortcuts for executing commands. Toolbar buttons are displayed
after the command they execute. For example,
"Click Draw> Line " means that you can click the Draw Line toolbar button to execute the
Line command.
l Press F1 on any open dialog to open the online help for that dialog.
l A hierarchical table of contents - You can browse through the table of
contents, expand entries, and close entries. Click on an entry to see it in the content area.
l A searchable index - Click the Index tab, and then type a word or scroll through
the list. Topics are often indexed under more than one entry. You can jump to topic locations
by clicking the entries.
l A full text search - To locate every occurrence of a word or phrase that may be contained in
the help, use the Search Function.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
specifying a product's scripting guide, or searching across all products. When you change
the filter, the results dynamically reflect the selected filter.
l If you used F1 to access the help for a specific product, you see a search box that permits
searches for all files in that product (for example, All Files), all files except the product's
scripting guide (for example, HFSS), or just files in the product's scripting guide (for
example, HFSS Scripting).
l To turn off highlighting on the page you are viewing, click the Remove Highlights icon
.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
If you enter “voltage source” with the quotation marks, the results show all topics that include the
phrase.
If you want to limit the results more, you can enter additional words, such as:
Notes
l Searches are not case sensitive, so you can type your search in uppercase or lowercase
characters.
l You may search for any combination of letters (a-z) and numbers (0-9).
l Punctuation marks such as the period, colon, semicolon, comma, and hyphen are ignored
during a search.
l If you are searching for a file name with an extension, you should group the entire string in
quotation marks, such as "filename.ext."
This allows you to set the interval at which to Automatically check for updates and displays
the Last update date and the Last update attempt date.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
After you insert an HFSS design, you can access An Introduction to HFSS from Help>Getting
Started Guides.
Click for HFSS General Quick Links including HFSS Desktop and Working with Projects.
The online help system provides different ways to find information and navigate quickly:
l Press F1 on any open dialog to open the online help for that dialog.
l A hierarchical table of contents - You can browse through the table of
contents, expand entries, and close entries. Click on an entry to see it in the content area.
l A searchable index - Click the Index tab, and then type a word or scroll through
the list. Topics are often indexed under more than one entry. You can jump to topic locations
by clicking the entries.
l A full text search - To locate every occurrence of a word or phrase that may be contained in
the help, use the Search Function.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The online help system provides different ways to find information and navigate quickly:
l Press F1 on any open dialog to open the online help for that dialog.
l A hierarchical table of contents - You can browse through the table of
contents, expand entries, and close entries. Click on an entry to see it in the content area.
l A searchable index - Click the Index tab, and then type a word or scroll through
the list. Topics are often indexed under more than one entry. You can jump to topic locations
by clicking the entries.
l A full text search - To locate every occurrence of a word or phrase that may be contained in
the help, use the Search Function.
The online help system provides different ways to find information and navigate quickly:
l Press F1 on any open dialog to open the online help for that dialog.
l A hierarchical table of contents - You can browse through the table of
contents, expand entries, and close entries. Click on an entry to see it in the content area.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l A searchable index - Click the Index tab, and then type a word or scroll through
the list. Topics are often indexed under more than one entry. You can jump to topic locations
by clicking the entries.
l A full text search - To locate every occurrence of a word or phrase that may be contained in
the help, use the Search Function.
The online help system provides different ways to find information and navigate quickly:
l Press F1 on any open dialog to open the online help for that dialog.
l A hierarchical table of contents - You can browse through the table of
contents, expand entries, and close entries. Click on an entry to see it in the content area.
l A searchable index - Click the Index tab, and then type a word or scroll through
the list. Topics are often indexed under more than one entry. You can jump to topic locations
by clicking the entries.
l A full text search - To locate every occurrence of a word or phrase that may be contained in
the help, use the Search Function.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Use F1 on any open dialog to open the Online Help for that dialog.
l Click the "?" icon on the toolbar, and then click on any menu command, icon, or window for
help on that selection.
l With the Online Help Contents tab selected, navigate the help topic hierarchy.
l With the Online Help Index tab selected, search the help index.
l With the Online Help Search tab selected, search the full help text.
l With Online Help Favorites tab selected, create a custom list of favorite topics.
The online help system provides different ways to find information and navigate quickly:
l Press F1 on any open dialog to open the online help for that dialog.
l A hierarchical table of contents - You can browse through the table of
contents, expand entries, and close entries. Click on an entry to see it in the content area.
l A searchable index - Click the Index tab, and then type a word or scroll through
the list. Topics are often indexed under more than one entry. You can jump to topic locations
by clicking the entries.
l A full text search - To locate every occurrence of a word or phrase that may be contained in
the help, use the Search Function.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The online help system provides different ways to find information and navigate quickly:
l Press F1 on any open dialog to open the online help for that dialog.
l A hierarchical table of contents - You can browse through the table of
contents, expand entries, and close entries. Click on an entry to see it in the content area.
l A searchable index - Click the Index tab, and then type a word or scroll through
the list. Topics are often indexed under more than one entry. You can jump to topic locations
by clicking the entries.
l A full text search - To locate every occurrence of a word or phrase that may be contained in
the help, use the Search Function.
The online help system provides different ways to find information and navigate quickly:
l Press F1 on any open dialog to open the online help for that dialog.
l A hierarchical table of contents - You can browse through the table of
contents, expand entries, and close entries. Click on an entry to see it in the content area.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l A searchable index - Click the Index tab, and then type a word or scroll through
the list. Topics are often indexed under more than one entry. You can jump to topic locations
by clicking the entries.
l A full text search - To locate every occurrence of a word or phrase that may be contained in
the help, use the Search Function.
The online help system provides different ways to find information and navigate quickly:
l Press F1 on any open dialog to open the online help for that dialog.
l A hierarchical table of contents - You can browse through the table of
contents, expand entries, and close entries. Click on an entry to see it in the content area.
l A searchable index - Click the Index tab, and then type a word or scroll through
the list. Topics are often indexed under more than one entry. You can jump to topic locations
by clicking the entries.
l A full text search - To locate every occurrence of a word or phrase that may be contained in
the help, use the Search Function.
Antennas in HFSS
Click graphics for descriptions of the following HFSS and HFSS-IE antenna examples:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Click for the download site for the HFSS Antenna Design kit.
The HFSS Antenna Design Kit is a stand-alone GUI-based utility which automates the geometry
creation, solution setup, and post-processing reports for over 25 antenna elements. This tool
allows antenna designers to efficiently analyze common antenna types using HFSS and also
assists new users in learning to use HFSS for antenna design. The design kit can be integrated into
the HFSS user interface or launched from the standard Windows menu. All antenna models
created by the design kit are ready to simulate in HFSS.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
RF/Microwave in HFSS
Click graphics for descriptions of the following HFSS RF/Microwave examples:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Also see: Application Specific Modeling Guide: Spiral Inductors on Silicon Substrate
Click a link below to view more information about that desktop component.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Related Topics
Getting Help
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The Docking Windows and Layouts areas contain drop-down menus with additional selections.
If you have inserted a Project, for example, an HFSS project, the View ribbon displays commands
appropriate for the active editor. For instance, the View tab will show different commands for the
modeler (shown below) and the report viewer.
If you compress the Desktop window, each tab display shows the fewer available features more
directly than an expanded display.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
In this example, the Simulation tab contains commands appropriate for the currently active
design.
In this example, the Results tab contains commands appropriate for the currently active design.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The drop-down menus under the Report icons let you select from available report types:
This tab includes controls for recording and running scripts, as well as access to the Command
window, and display of ACT Extensions.
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The shortcut menu in the toolbar area also lets you show and hide each desktop window. The
visibility setting of a window is retained from one desktop session to the next. When the Progress
and Message Manager windows are hidden, they will automatically appear and slide into view
when necessary and then be automatically hidden again.
You can also close the windows by clicking the "x" in the window title bar.
Related Topics
A rectangle shape follows the cursor. As you drag the rectangle to different parts of the desktop,
the changes in dimension show when you have reached a location where you can place the
window. This can be at the top, left, bottom, and side of the modeler window. You can place a
window next to another, as well as above or below another.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
If you drag the window to the center of the 3D Modeler window, you can place it there as a
floating window.
l To size a desktop window, place the cursor over an edge of the window. Over the inner-
edges, for sizing a window within the desktop, the cursor changes to a double bar with
arrows pointing each direction. Over the outer-edges, for sizing the desktop, the cursor
changes to a line with arrows pointing each direction. Press and drag to size the window.
l To expand a window to fill the horizontal or vertical space it shares with another window,
click the triangle in the window title bar. When you expand a window, the triangle appears as
inverted and any other windows in the same horizontal or vertical space are compressed to
only the title bar. If a window does not share a horizontal or vertical space with another, the
triangle does not appear.
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
To open a help topic about an ANSYS Electronics Desktop menu command, press Shift+F1, and
then click the command or toolbar icon.
ANSYS Electronics Desktop contains the following menus, which appear at the top of the desktop:
File Use the File menu commands to manage ANSYS Electronics Desktop project files
menu and printing options.
Edit Use the Edit menu commands to modify the objects in the active model and undo and
menu redo actions.
View Use the View menu commands to display or hide desktop components and model
menu objects, modify 3D Modeler window visual settings, and modify the model view.
Project Use the Project menu commands to add specific design-type to the active project,
menu view, define datasets, project variables, and event callbacks. You can also Launch
Savant and Launch Emit. You can also Analyze All and Submit Job from the Project
menu.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Tools Use the Tools menu to modify the active project's material library, arrange the material
menu libraries, run and record scripts, update project definitions from libraries, customize the
desktop's toolbars, and modify many of the software's default settings.
Window Use the Window menu commands to rearrange the 3D Modeler windows and toolbar
menu icons.
Help Use the Help menu commands to access the online help system and view the current
menu ANSYS Electronics Desktop version information.
Once you have inserted a design-type, the Menu bar also includes menus specific to that type.
Draw menu Use the Draw menu commands to draw one-, two-, or three-dimensional objects,
and sweep one- and two-dimensional objects.
Modeler Use the Modeler menu commands to import, export, and copy 2D Modeler files
menu and 3D Modeler files; assign materials to objects; manage the 3D Modeler
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
window's grid settings; define a list of objects or faces of objects; control surface
settings; perform boolean operations on objects; and set the units for the active
design.
ANSYS Use the ANSYS Electronics Desktop menu to setup and manage all the
Electronics parameters for the active project. Most of these project properties also appear in
Desktop the project tree.
menu
Draw menu Use the Draw menu commands to draw one-, two-, or three-dimensional objects,
and sweep one- and two-dimensional objects.
Related Topics
Getting Help
If a User Tools menu item has been defined, its contents are displayed. Command buttons let
you Add new commands and Delete selected commands, and Move Up and Move Down
commands. This example shows the Reflective.exe program added to the tools menu, and
called Reflective on the Tools menu. You can specify the command line arguments to the
program and the directory in which it will be run.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
3. To add a custom Tools menu entry, click the Add button in the Customize User Tools
Menu dialog.
Menu Text field -- this displays [new tool] as text you will replace with the text you want to
appear in the User Tools menu.
Command field -- this will display the external executable. An ellipsis button [...] lets you
navigate to the file location.
Arguments field -- this field accepts command arguments from the > button menu
selections for File Path, File Directory, File Name, File Extension, Project Directory, or Temp
Directory.
Initial Directory -- this field specifies the initial directory for the command to operate. The
ellipsis button {...] displays a dialog that lets you navigate folders in your desktop, or across
the network.
4. Click OK to add the External Tools menu to HFSS or Cancel to close the dialog without
changes.
You can also add scripts to the Tools menu. Assuming you have a script to generate custom
reports called report.vbs, use the cscript.exe program to execute your script.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
This example shows the cscript.exe program added to the Tools menu as Run My Script.
The command line argument to the csscript.exe program is report.vbs. You can also name
the directory in which it will be run.
Related Topics
Scripting
Shortcut Use the shortcut menu in the toolbars area of the desktop to show or hide windows or
menu in toolbars, and customize the toolbars.
the
toolbars
area
Shortcut Use the shortcut menu in the 3D Modeler window to select, magnify, and move
menu in options (zoom, rotate, etc.), change the view, perform boolean operations, assign
the 3D materials, boundaries, excitations, or mesh operations to objects, and work with field
Modeler overlays.
window
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Shortcut Use the shortcut menus in the Project Manager window to manage ANSYS
menus in Electronics Desktop project and design files and design properties; assign and edit
the boundaries, excitations, and mesh operations; add, analyze, and manage solution
Project setups; add Optimetrics analyses; create post-processing reports; insert far- and
Manager near-field radiation setups; edit project definitions; and, run Maxwell SPICE.
window
Shortcut Use the shortcut menus in the History tree to expand or collapse groupings. If you
menus in select particular objects in the history tree, the shortcut menu lists the commands that
the you can apply to the selected object or objects.
History
Tree
Note All of the commands on the shortcut menus are also available on the menu bar.
Use the shortcut menu in the 3D Modeler window to select, magnify, and move options (zoom,
rotate, etc.), change the view, perform boolean operations, assign materials, boundaries,
excitations, or mesh operations to objects, and work with field overlays.
Each node, or item, in the project tree has a shortcut menu. For example, from the shortcut menu
for the Boundaries icon, you can assign boundaries to selected objects; review information for all
the boundary assignments for the active design; remove all boundary assignments; show or hide a
boundary's geometry, name, or vectors; change the priority of a previously assigned boundary; and
use the PML Setup wizard to create a perfectly matched layer (PML) boundary.
l F1: Help
l F4 + CTRL: Close program
l CTRL + C: Copy
l CTRL + N: New project
l CTRL + O: Open...
l CTRL + P: Print...
l CTRL + V: Paste
l CTRL + X: Cut
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l CTRL + Y: Redo
l CTRL + Z: Undo
l CTRL + 0: Cascade windows
l CTRL + 1: Tile windows horizontally
l CTRL + 2: Tile windows vertically
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Selecting a Command category lists the available commands for that category. If the command has
an assigned shortcut, it is displayed on the Shortcuts for the selected command field. You can
use the Remove button to disable the shortcut for the selected command. If the selected command
does not have an assigned shortcut, the Shortcuts for selected command field and the Remove
button are grayed out.
The field displays the keystrokes you make. When you have made keystrokes, the dialog
enables the Assign button. If you combine keystrokes these are displayed with a "+" between
them. For example, Ctrl + p or Alt +o.
4. The Use new shortcut in field displays Global by default, which means that the shortcut
will apply to all applicable contexts, including HFSS and HFSS-IE. If a limited context exists,
the menu will offer a selection.
5. When you have made the assignments you want to make, You can save the assignments to
a named file.
Clicking the Save... button displays a browser window that lets you navigate the file structure
and assign a name, using an aks suffix for ANSYS Keyboard Shortcut file.
Buttons on the browser window let you designate the file location as Use Path, Personallib,
Syslib, UserLib, or Project folder.
If you have an existing aks file, you can use the Load... button to display a browser window to
locate the desired file.
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
When more than one progress bar is active, the top progress bar is represented on the status bar
with a progress indicator.
It also displays information about the command currently being performed. Directions for inputs
appear on the left:
Fields for entering coordinates and menus for specifying the kinds of coordinates appear on the
right.
Depending on the command being performed, the status bar can display the following:
A check box appears next to this command if the status bar is visible.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
If simulations are running, a message informs you that if you continue, the simulations will be
aborted. If you respond OK to the message, ANSYS Electronics Desktop does a clean abort
before exiting.
The Project Manager window displays details about all open ANSYS Electronics Desktop
projects. The tree display is specific to the design type. For example:
l For any HFSS or Q3D design, each project ultimately includes a geometric model, its
boundary conditions and material assignments, and field solution and post-processing
information. Any 3D Components appear under the 3D Components icon.
l For a Circuit design, the project includes data, excitations, ports, analysis setup, design
verification, SoD configuration, Optimetrics, results, and relevant definitions.
A check box appears next to this command if the Project Manager window is visible.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Right-click in the toolbars area on the desktop, and then click Project Manager on the
shortcut menu.
A check box appears next to this command if the Project Manager window is visible.
Related Topics
The project tree is located in the Project Manager window and contains details about all open
ANSYS Electronics Desktop projects, as shown below:
The top node listed in the project tree is the project name. It is named Projectn by default, where n
is the order in which the project was added to the current session of ANSYS Electronics Desktop.
Expand the project icon to view all the project's design information, material definitions, and 3D
Components (if any).
By default, the Project tree icon for the active window is highlighted, as shown in the figure below.
(See General Options: Miscellaneous for the options.) With the option disabled, XY Plot 1 in the
Project tree would not be highlighted.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Related Topics
You can set the project tree to automatically expand when an item is added to a project.
2. Under the Project Options tab, select Expand Project Tree on Insert.
The definitions node is listed at the bottom of the project tree and displays all of the material
definitions that are assigned to the objects in the active model.
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The ANSYS Electronics DesktopModeln node contains the following project details:
Plot folders are listed under Field Overlays. These folders store the project's
plots and can be customized. See Setting Field Plot Defaults for information on
how to customize the plot folders.
Radiation Displays far- and near-field setups added to an ANSYS Electronics Desktop
design.
Documentation Displays files you have added as documentation.
Definitions Displays definitions for HFSS, including Materials.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l In the project tree, double-click the design setup icon that you want to
edit.
A dialog box appears with that setup's parameters, which you can then edit.
You can turn off the Project Manager window display by deselecting the Project Manager
check box on the View menu in the Top Menu Bar. For more information, see the View Pulldown
Menu.
The Project Manager window is a dockable, resizable window and can be positioned elsewhere
on the desktop, as you may find convenient.
Model Displays the objects that comprise the model and their
properties.
Boundaries Displays the boundary conditions assigned to an ANSYS
Electronics Desktop design, which specify the field behavior at
the edges of the problem region and object interfaces.
Excitations Displays the excitations assigned to an ANSYS Electronics
Desktop design, which are used to specify the sources of
electromagnetic fields and charges, currents, or voltages on
objects or surfaces in the design.
Hybrid Displays the hybrid regions assigned to an
Regions ANSYS Electronics Desktop design, which are used to
specify FE_BI, PO, IE, SBR regions, dielectric cavities, and
linked regions for near and far field sources.
Mesh Displays the mesh operations specified for objects or object
Operations faces. Mesh operations are optional mesh refinement settings
that are specified before a mesh is generated.
Analysis Setup Displays the solution setups for an ANSYS Electronics
Desktop design. A solution setup specifies how ANSYS
Electronics Desktop will compute the solution.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
You can choose to show or hide a docked Properties window as part of the desktop. You can
move and resize the docked Properties window within the desktop to suit your work style. When
you have a docked Properties window, it displays the properties of any item you select in the
Project tree, the History Tree, or the 3D Modeler window. You select View>Properties to remove
the docked properties window.
Regardless of whether or not you display a docked Properties window on the desktop, you can
still open an undocked Properties window for any item in the project tree, the history Tree, or the
3D Modeler window by double-clicking on the item.
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Rather than opening a separate window, you can also view an object's properties if you have the
Properties window displayed within the desktop.
Related Topics
To show or hide the Properties window on the desktop, do one of the following:
A check box appears next to this command if the Properties window is visible.
l Right-click in the toolbars area at the top of the desktop, and then click Properties on the
shortcut menu.
A check box appears next to this command if the Properties window is visible.
Related Topics
To set the Properties window to open after an object is drawn, enabling you to modify the object's
properties, do the following:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Hereafter, after you draw an object in point mode, the Properties window will open. However,
if you draw an object in Dialog mode, this setting is ignored.
Related Topics
1. Select the object for which you want to edit its attributes by clicking it in the view window or
clicking its name in the history tree.
2. Under the Attribute tab in the Properties window, edit the object attribute.
Depending on the attribute type, you can edit it by doing one of the following:
l Select the check box to apply the attribute; clear the check box to disable the attribute.
l Click in the field and edit the numeric values or text, and then press ENTER. You can
modify names, but names must include only letters, numbers and underscores. Illegal
names are not accepted and generate a message in the Message window.
l Click the button and then edit the current settings in the window or dialog box that
appears.
l Click the attribute, and then select a new setting from the menu that appears.
Related Topics
When you edit a properties or variable text field the ANSYS Electronics Desktop (AEDT) can
display possible matches for what you type. This can help if, for example, a variable or material
name is long. You can save time by selecting a pre-determined match rather than typing out the
entire name. The figure below shows an example of auto-complete for material names:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Using Auto-Complete
Certain commonly-used text fields have auto-complete configured. (Not all edit fields are
configured to work with auto-complete.) When you start typing in these cases, matches display in a
list window below the text field. If there is no matching text, then no list window displays. With 10
matches or fewer, the list window is vertically sized according to the number of matches. The width
of the window is based on the width of the text field. You can resize the list window and it
remembers the new size when doing further auto-complete matching in the same text field.
Switching to a different text field resets the sizing.
Hitting [Tab] or [Enter] accepts the current selection for auto-complete, which replaces the text
typed so far with the full auto-complete match and hides the list window. Otherwise, hitting the
escape key [Esc] hides the auto-complete list window. Typing more letters causes auto-complete
matching to resume.
For example, the properties window (shown in the picture above for the summary) has auto-
complete configured where there are choices available. In this picture, which is for a box drawn in
HFSS, both the Material property choices and the Group property choices work with auto-
complete. Note that the “Edit…” text in the drop-down list is not considered a choice for auto-
complete. When you click in the Material value cell, the drop-down list is displayed, but once you
type text, this list is hidden and replaced by the auto-complete list window if there are matches. For
materials, not only are the choices from the drop-down list available for matching, but the full set of
material definitions in all loaded libraries is searched for possible matches.
Where you select design properties, auto-complete works with expressions for the values,
providing matches for the names of constants, intrinsic variables, functions, project variables
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
(prefixed with “$”), and design properties. When project variables are displayed (that is, you select
the project in the Project tree), auto-complete for value expressions also works, except without
matching design properties. Properties of other items may also have auto-complete configured to
work with value expressions, for example. properties of a CreateBox command or of a circuit
component. Example of design property with auto-complete matching:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note the scroll bar, indicating that there are more matches than those currently displayed.
Auto complete also works with thermal modifier expressions for Materials.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Related Topics
The Command tab in the Properties window displays information about an action selected in the
history tree that was performed either to create an object, such as the Draw>Box) command, or to
modify an object, such as the Edit>Duplicate>Mirror command.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Not all command properties can be modified. In general, the command properties that you can
typically modify are the numeric values, such as position values (base position, normal position,
start position, etc.), size values (height, radius, etc.), and various other coordinate values. You can
also modify many of the unit settings for a command property. You can modify names, but names
must include only letters, numbers and underscores. Illegal names are not accepted and generate
a message in the Message window.
1. In the history tree, select the command for which you want to edit its properties.
Hint Press and hold CTRL to select multiple commands. If you select multiple commands,
only the common, or shared, properties will be displayed under the Command tab.
2. Under the Command tab in the Properties window, edit the command's properties.
Depending on the property type, you can edit it by doing one of the following:
l Select the check box to apply the property; clear the check box to disable the property.
l Click in the field and edit the numeric values or text, and then press ENTER.
l Click the button and then edit the current settings in the window or dialog box that
appears.
l Click the attribute, and then select a new setting from the menu that appears.
Related Topics
The Param Values tab in the Property window of the ANSYS Electronics Desktop lists the
simulation parameters of the component or components selected.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
To set or change the value of a component parameter, click on the Value field and enter the new
value. If the value requires a multiplier unit (such as K for 1000) click on the Unit field to select the
multiplier unit. The Evaluated value shows the resulting number.
You can specify a parameter value using an expression that evaluates to a constant. The
expression is retained in the Value field, while the Evaluated Value field shows the constant
resulting from evaluation the expression. This allows you to identify and modify the expression in
the future.
The General tab in the Property window of the ANSYS Electronics Desktop lists the selection’s
name, symbol name, reference designator, and other data. These are generally not editable.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The Symbol tab in the Property window of the ANSYS Electronics Desktop provides information
on a number of modifiable attributes of components and symbols displayed in the schematic.
The contents of the Symbol tab varies depending upon the number and type of components or
symbols selected in the schematic.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
But whatever components or symbols are selected, each field displayed in the Symbol tab is
modifiable.
Symbol tab Value fields can be modified using the following guidelines:
l Click in the Value field for Component Location to enter a new set of X,Y coordinates for
the symbol. Press Return to move the symbol to the new location.
l Click in the Value field for Component Angle, and select an angle from the pulldown
(choices are 0, 90, 180, and 270 degrees). The symbol rotates as you select an angle.
l Click in the check box in the Value field for Component Mirror to flip the component left-to-
right. The mirror operation is performed as soon as you check the box. Uncheck the box to
return the symbol to its original orientation.
l Click in the Value field to enter a new value for whatever symbol attribute you wish to
change. Press Return to move the symbol to the new location.
l Click the colored bar displayed in the Value field to open a palette from which to select a new
color for the symbol. The new color is applied when the symbol is unselected.
To close the Property window, open the View pulldown menu on the Top Menu Bar and deselect
(uncheck) the Properties. To redisplay the Property Window, select it again on the View menu.
For more information, see the View Pulldown Menu.
The Property window is a dockable, resizable window and can be positioned elsewhere on the
desktop, as you may find convenient. You can change the relative widths of any two adjacent
columns in the Property window by dragging the header separator between them:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
You can launch the online help for a component from the Property window. To do this:
You can open the Properties dialog by doing one of the following:
l You can close the Properties dialog box by clicking the Esc key.
l You can resize the Properties dialog box by dragging its edges.
l You can change the relative widths of adjacent columns in the Properties dialog box by
dragging the header separators between them:
The General tab in the Properties Dialog Box lists the selection’s name, symbol name, reference
designator, and so on. These are generally not editable. The information is identical to that on the
General tab of the Property Window.
The Symbol tab provides information on the location of the component symbol in the schematic.
The information is identical to that on the Symbol tab of the Property Window.
When the Properties dialog is opened for a design (Design Properties), both the General and
Symbol tabs are initially empty.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
To show or hide the Nets window on the desktop, do one of the following:
A check box appears next to this command if the Nets window is visible.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Right-click in the toolbars area at the top of the desktop, then click Nets on the shortcut
menu.
A check box appears next to this command if the Nets window is visible.
The Nets Window is divided into two panes: an upper Classification pane, and a lower Nets
pane.
Classification Pane
The Classification pane is used to manage net class operations. A net class is an organizational
grouping of a set of nets. The right-mouse click menu of the Classification pane shows the following
operations for net classes.
l New: Opens the Add Net Class dialog for net class creation (see below).
l Edit: Opens the Net Class Properties dialog for net class modification (see below).
l Delete: Delete the selected net classes.
l Select: Select in the layout editor the net classes selected in the classification pane.
l Show: Show in the layout editor the net classes selected in the classification pane.
l Show(Hide All Other): Show in the layout editor the net classes selected in the
classification pane and hide all others net classes.
l Add to Power/Ground: Adds one or more selected Nets to the Power/Ground.
l Remove from Power/Ground: Removes one or more selected Nets to the
Power/Ground.
l Create Ports: Create ports on all the nets in the selected net classes.
l Remove Ports: Remove ports on all the nets in the selected net classes.
Selecting New from the right-click menu of the Classification pane opens the Add Net Class
dialog.
Use the Add Net Class dialog for net class creation.
Selecting Edit from the right-click menu of the Net Window Classification pane opens the Net
Class Properties dialog.
Use the Net Class Properties dialog for net class modification.
For more information see the Nets Tab description of the Design List dialog.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Differential Pairs
You can select two nets in the Nets list, and create a new Differential Pair with them:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Each Differential Pair is composed of a positive net and a negative net. On the Different Pair list,
you can select a pair, open the right-click menu and select:
In the Edit Differential Pairs dialog, you can delete pairs or auto detect Differential Pair with
postfixes of the positive and negative nets that are provided.
To show or hide the Components Window on the desktop, do one of the following:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
A check box appears next to the command if the Components Window is visible.
The Components Window is used to configure various settings for components and entire classes
of components. With a component or component class selected, the following configuration
controls are available from the right-click menu. Note that with a component classification selected,
changed made will be applied to all components within the class.
In the image below, the Progress window is displaying the progress of a discrete frequency
sweep, which is nearing completion:
l Click the Show Progress or Hide Progress buttons on the status bar:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
A check box appears next to this command if the Progress window is visible.
l Right-click the history tree, and then click Progress on the shortcut menu.
A check box appears next to this command if the Progress window is visible.
When more than one progress bar is active, the top progress bar is represented on the status bar
with a progress indicator.
The progress window is also a dockable window, so you can position it where you like.
Related Topics
Related Topics
Aborting an Analysis
While a distributed analysis is running, you can access parent and child progress bars. By default,
only the main progress bar is displayed, while the child progress bars (or subtasks) remain hidden.
You can toggle between showing and hiding the child progress bars.
l Right-click the progress window, and select Show Subtask Progress Bars.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Right-click the progress window, and select Hide Subtask Progress Bars.
The 3D Modeler window consists of the model view area, or grid, and the history tree, as shown
below:
l Insert a new ANSYS Electronics Desktop design into the current project.
l Double-click an ANSYS Electronics Desktop design in the project tree.
The model you draw is saved with the current project when you click File>Save.
Objects are drawn in the 3D Modeler window. You can create 3D objects by using ANSYS
Electronics Desktop's Draw menu commands or you can draw 1D and 2D objects, and then
manipulate them to create 3D objects. For more information, see Drawing a Model.
You can modify the view of objects in the 3D Modeler window without changing their actual
dimensions or positions. Besides menu and icon commands, you can also use Alt-Click, mouse
buttons, and keyboard shortcuts.
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
You can perform the following tasks with the History Tree.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
See Drawing a Straight Line for information on how to draw a line object.
Points Displays all point objects included in the active model.
Creating an object list is a convenient way to identify a group of objects for a field
plot or calculation.
Creating a face list is a convenient way to identify a specific set of surfaces for a
field plot or calculation.
Note While objects created in HFSS can always be classed in the history tree as either a solid,
sheet, or wire some imported objects may have mixture of these. HFSS places such
objects in an Unclassified folder in the history tree.
Related Topics
Purge History
Generate History
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
You can expand or collapse folders in the history tree by left clicking the + or - respectively. In
addition, right-clicking on any folder opens a pull-down to expand all folder or collapse all folders.
Related Topics
A set of History Tree Layout commands lets you organize objects by material, assignment, by
component definition. By default there is no further organization within groups. Check “Also
Organize Within Groups” to extend organize settings within groups.
If the design does not contain material assignments, sheets, components, or groups, the menu
items are disabled. You can access the History Tree Layout commands by clicking
Modeler>History Tree Layout or by right-clicking on the Model icon in the history tree (as shown
above). You click on [-] to close a hierarchy and [+] to open one.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Related Topics
Selecting objects in the History tree also selects them in the View window. This can be useful for
complex objects, when it may be easier to find the objects of interest by name or material, if the
object of interest is inside or behind others.
You can use CTLR-click to make multiple selections in the History tree. You can select a range of
objects by a click on the first, and then SHIFT-Click to select all in the range. You can also use click
and drag the mouse to make rubber band selections. Only visible objects are selected. That is, if
the hierarchy is closed under the selection, any operand parts are ignored and do not interfere with
cut and paste operations.
If you select Model in the History tree and right-click the shortcut menu offers these choices:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
You can also right click on any History tree object or grouping and right click to display a shortcut
menu with a Select All option. This lets you select at one time all non-grouped solids, sheets, lines,
non-model objects, or all unclassified objects, as well as all non-grouped objects assigned to
specific materials.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
After clicking Select All, the History tree and the Model window highlight the selected Solid
Objects. Notice that Box1 and Cylinder1 are not selected because they are in Group1.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The right-click for Model and Select All does select the members of Group1 because they are part
of the model.
If you select a geometric object, such as a Box or Cylinder, the shortcut menu Select command
offers choices to select All Faces, All Edges, or Sheet Edges for that object.
Related Topics
If you select particular objects in the history tree, right-click displays a shortcut menu lists the
commands that you can apply to the selected command, object, or objects. The shortcut menus for
model objects are most extensive.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
If you right click on a model or category such as Solids, Sheets, Lines, or a material in the History
tree, the short cut menu includes a Select All command.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The behavior of the shortcut Select All command depends on the History tree model, object or
property icon from which you invoke the shortcut menu. For explanation and examples, see Select
Objects in the History tree.
If you select an object in the History tree, the menu offers selections for that object.
In other cases, you can only view properties, or expand or collapse hierarchy.
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Related Topics
Purge History
Generate History
The history tree also lists the history of all commands carried out a model's objects, for example,
“CreateBox” or “Subtract.” This history is displayed in the order in which it occurred. Here is a
history tree from the waveguide combiner example.
Selecting a command in the history highlights the object in the Modeler window and shows that
object's properties (if available) in the docked Properties dialog. You can look at the fields in the
Properties dialog to see any editable fields for that command, such as coordinate system, line type,
coordinates, or units.
For some commands, such as Edit>Arrange>Move, or boolean operations, selecting them in the
history tree enables the X (delete) icon on the toolbar and the Edit>Delete menu. In these cases,
you can delete those commands from the history tree as a way of undoing those operations. As an
alternative to deletion, you can check Suppress command in the Properties window for that
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
command. This undoes the effect of a command on an object without removing it from the History
tree.
Related Topics
To control the view and visibility of an object such as a box or PML, right click on an object in the
history tree display the short-cut menu and select View. The short cut menu contains the following
commands:
Related Topics
Purge History
Generate History
By right-clicking on an operation icon in the history tree in the Modeler window, you can see the
Upgrade Version command.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The Modeler by default opens the legacy project in previous (what ever that the project was saved
with) ACIS version so that you don't see side effects of slight topology changes between ACIS
versions. If you want you can use Upgrade Version to move the operation to use latest ACIS code.
Typically this applies when a needed fix is available with new ACIS version.
Related Topics
l F4: Switch to dialog entry mode (draw objects by entry in the command and attribute box).
This switch takes effect only after the drawing of an object has started.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Related Topics
Property Window
Message Manager
Design Area
Progress Window
Layout Window
Nets Window
External Tools
Shortcut Menus
Shortcut Keys
Undoing Commands
Online Help
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Messages in the Message Manager window are organized first by project, then by circuit.
Because a design can contain multiple circuits and subcircuits, sometimes with multiple analyses
for each, this organization helps you to quickly determine where errors have occurred. The
following icons appear next to a message to indicate information, warnings, errors, or actions:
Indicates the existence of an action that is associated with the message. Click on the
message to invoke the action (the cursor will change to a hand icon when it is placed over
the action message).
If you right click in the Message Manager window, you see a popup menu that lets you:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Details opens an information dialog that contains the project and design data for the
specified message.
l Go to Reference allows you to right-click on an intersection error message after running a
validation check. This selects intersecting objects in the current design being validated.
Related Topics
Action Messages
Clearing Messages
You can set the Message Manager to open automatically to show new messages and errors and
warnings.
Related Topics
You can set the Message Manager to automatically be brought up when a new message appears.
You can set the Message Manager Tree to automatically expand when a new message is added.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Action Messages
Messages displayed in the Message Manager can be associated with actions that can be invoked
in order to address a condition you are alerted to by the message. If a message has an associated
action, a magnifying-glass icon will be present to the left of the message icon. When the cursor
moves over a message with an action, the cursor changes to a hand.
You can invoke a message action by single-clicking on the magnifying-glass icon, double-clicking
the message, or by right-clicking on the message and choosing Go To Reference from the popup
menu that appears.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Clearing Messages
The Message Manager clears at the start of each analysis. To manually clear messages, right-
click the message tree and select Clear Messages for <ProjectName>, where <ProjectName> is
the name of the project for which you want to clear messages.
1. Turn off the Progress window display by deselecting the Progress Window check box on
the View menu in the Top Menu Bar. For more information see the View Pulldown Menu.
2. Click Tools > Options > General Options.
3. Select Show message window on new messages.
The Message window will re-open when ANSYS Electronics Desktop reports any errors,
warnings, or successful completion of any simulations.
The Message Manager window is a dockable window. It can be moved and sized any way you
want it and it can attach itself to any edge of the ANSYS Electronics Desktop. There are controls
on the window when it is docked.
Design Area
The Design Area of the desktop can display one or more editor windows and report windows,
depending on the type of designs you create or load. See the Window Pulldown Menu topic for
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Related Topics
3D Modeler Window
Layout Window
Report Window
Report Window
When a design has been successfully simulated, you can generate a report of results in a wide
variety of forms, including XY graphs, polar graphs, 3D graphs, Smith charts, and data tables.
Various attributes of each can be customized to your liking. Here is an example of a 2D Report:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Layout Window
The Layout Window is a dockable ANSYS Electronics Desktop window that can be resized and
relocated, and can be used to view and configure various layout settings. Use the right-click menu
of the Layout Window to configure the following:
Use the Layout Window to alter the following controls for setting visibility by layout-object type.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
You can also turn visibility off for all nets but the selected net by clicking Show This Net Only from
the right-click menu on the Layout Window.
Nets Window
The Nets Window is used to view and configure various net settings. It is a dockable ANSYS
Electronics Desktop window that can be resized and relocated.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l A pulldown menu in the TopMenu bar can be opened by clicking the Alt key and then
pressing the underlined letter of the menu you wish to activate (the underlines appear when
the Alt key is pressed). Use lower case for the underlined letters.
l Clicking the Alt key enables you to scroll across the TopMenu bar, opening the pulldown
menus, by pressing the left (Ü) and right (Þ) arrow keys.
Once a pulldown is open, you can use the down (ß) and up (Ý) arrows to change the selection. You
can use the right (Þ) arrow key to open a subordinate menu for the selected command. Operations
on the pulldown menus can be executed in three ways:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Use the shortcut menu in the toolbars area of the desktop to toggle the show/hide settings for
various desktop windows and toolbars. To access the shortcut menu, right-click in the toolbars
area at the top of the desktop.
When a project is loaded, from left to right, the ANSYS Electronics Desktop pulldown
menus are:
Related Topics
File
Edit
View
Project
Draw
Design Editor
Tools
Window
Help
The File pulldown menu items are common operations on files and projects. You can search the
Online Help or use the Online Help Index to find information on any of the commands that appear
on ANSYS Electronics Desktop menus.
l Click New (or type n) to set up a new project. When the project icon appears in the Project
Manager window, use the Project pulldown menu to open a new design.
l Click Open (or type o) to open an existing project. The File Open window appears.
Browse to the directory containing the project file, select the file, and then click OK.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Click Open Examples to open an example project. The File Open window appears with
the Examples directory displayed. Browse to the directory containing the example project
file, select the file, and then click OK.
l Click Close (or type c) to close the selected project. If the project has changed since the
last save, you will be prompted to save the project before closing.
l Click Save (or type s) to save the selected project.
l Click Save As (or type a) to save the selected project under a different name or in a
different directory.
l Click Save As Technology File (or type t) to save the selected top-level design as a
technology file (*.asty). A dialog box opens, allowing you to specify a directory and file
name in which to save the design. You must have a design selected to activate this menu
item. You cannot export a technology file from a project or from a subcircuit.
l Click Archive to archive the selected project and any selected additional files. If the
project has changed since the last save, you will be prompted to save the project before
closing. The Archive Options window appears with a field to enter notes, options for
external files, results/solution files, and additional files. You can also preview the archive.
l Click Restore Archive (or type r) to restore a previously archived project. The Archive to
Restore window appears. Browse to the directory containing the archived project, select
the file, and then click Open.
l Click Page Setup (or type u) to set up formatting to print the active window in the Design
Area. The setup includes formatting such as borders and labels that is specific to the
editor (Schematic, Layout, etc.) in the active window.
l Click Print Preview (or type v) to display a preview of the print job.
l Click Print (or type p) to print the active window.
l Click Import to open a submenu that allows you to choose what type of file to import. For
more information see Importing and Exporting Data.
l Click Export to open a submenu that allows you to choose what type of file to export. For
more information see Importing and Exporting Data.
l Click on the name of a project (or type its number) to open a project from the listing of
recently-opened projects.
l Click Exit (or type x) to exit ANSYS Electronics Desktop. If any project has unsaved
changes, you will be prompted to save the project before closing.
There are five different Edit pulldown menus, depending on the active window in the Design Area.
These pulldown menus are described in the following sections.
Related Topics
Schematic Editor
Layout Editor
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
3D Layout Viewer
Netlist Editor
Report Window
When the Schematic Editor is the active window in the Design Area, the Edit pulldown menu
appears similar to the following:
You can search the Online Help or use the Online Help Index to find information on any of the
commands that appear on ANSYS Electronics Desktop menus.
When the Layout Editor is the active window in the Design Area, the Edit pulldown menu appears
similar to the following:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
You can search the Online Help or use the Online Help Index to find information on any of the
commands that appear on ANSYS Electronics Desktop menus.
When the 3D Layout Viewer is the active window, the Edit pulldown menu appears similar to the
following:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
You can search the Online Help or use the Online Help Index to find information on any of the
commands that appear on ANSYS Electronics Desktop menus.
When the Netlist Editor is the active window, the Edit pulldown menu appears similar to the
following:
You can search the Online Help or use the Online Help Index to find information on any of the
commands that appear on ANSYS Electronics Desktop menus.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
When the Report Window is the active window, the Edit pulldown menu appears similar to the
following:
You can search the Online Help or use the Online Help Index to find information on any of the
commands that appear on ANSYS Electronics Desktop menus.
To control the display of the ANSYS Electronics Desktop and the active editor or report window,
open the View pull-down menu. There are four different View pulldown menus, depending on the
active window in the Design Area. These pulldown menus are described in the following sections.
Related Topics
The basic View pulldown menu appears similar to the following and is displayed when no editor is
open in the Design area, and when the Netlist Editor or Report Window is active.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l The check boxes select/deselect the display of the Status Bar, Message Manager
Window, Project Manager, Property Window, and Progress Window. You can enable
the display of Component Libriaries, Layers, Nets, Components and Variables
windows.
l The View>Wizards command opens the Wizards window which lets you work with ACT
integration tools. For more information, see the Wizards Window section.
l The Windows Layouts submenu lets you restore the Default Layout, Save Current
Layout by specifying a name in a dialog, or Remove Saved Layouts by selecting from a
dialog list.
You can search the Online Help or use the Online Help Index to find information on any of the
commands that appear on ANSYS Electronics Desktop menus.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The following View pulldown menu appears similar to the following and is available when the
Schematic Editor is the active window:
l The check boxes select/deselect the display of the Status Bar, Message Manager
Window, Project Manager, Property Window, and Progress Window. When a box is
checked, the corresponding window is displayed. Click on a checkmark to deselect the
display of that ANSYS Electronics Desktop window. Click again to toggle the display on.
Refer to the Schematic Editor topic for details on the Zoom, Redraw, and Pan operations.
You can search the Online Help or use the Online Help Index to find information on any of the
commands that appear on ANSYS Electronics Desktop menus.
The View pulldown menu appears similar to the following and is available when the Layout Editor
is the active window:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l The check boxes select/deselect the display of the Status Bar, Message Manager
Window, Project Manager, Property Window, and Progress Window. When a box is
checked, the corresponding window is displayed. Click on a checkmark to deselect the
display of that ANSYS Electronics Desktop window. Click again to toggle the display on.
Refer to the Layout Editor topic for details regarding the various View menu operations.
You can search the Online Help or use the Online Help Index to find information on any of the
commands that appear on ANSYS Electronics Desktop menus.
The following View pulldown menu appears similar to the following and is available when the 3D
Layout Viewer is the active window:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l The check boxes select/deselect the display of the Status Bar, Message Manager
Window, Project Manager, Property Window, and Progress Window. When a box is
checked, the corresponding window is displayed. Click on a checkmark to deselect the
display of that ANSYS Electronics Desktop window. Click again to toggle the display on.
You can search the Online Help or use the Online Help Index to find information on any of the
commands that appear on ANSYS Electronics Desktop menus.
The View>ACT Extensions command opens the ACT Extensions window for toolkit extensions
implemented via ANSYS ACT. Depending on how you size and arrange the desktop, the
appearance may vary. You may choose to detach and size the window to suit your needs.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Double-click on the Wizards icon to load existing toolkits. To use an existing Wizard, you must
activate it by clicking on the Extensions Manager area. This changes the view to show any existing
Extensions that you could activate. If there are many available extensions, you can use the Search
field to find the ones you want. Search is not case sensitive.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Click to load the desired extension. After a few moments, the extension is loaded and highlighted to
show the change in status. A second click at this point would unload the extension..
You then click the Wizards icon to execute the loaded extensions.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Related Topics
To create (insert) a new design, you must first open a new project folder by selecting New from the
File pulldown. Then select a project to insert from the Project pulldown menu. Or you can click the
icon corresponding to the type of design you wish to create.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
You can search the Online Help or use the Online Help Index to find information on any of the
commands that appear on any ANSYS Electronics Desktop menus.
The Draw menu for the Layout Editor is context sensitive and appears slightly different
depending on the type of design that is loaded.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
You can search the Online Help or use the Online Help Index to find information on any of the
commands that appear on ANSYS Electronics Desktop menus.
The Top Menu bar contains editor and design pulldown menus that are specific to the editor or
viewer that is active in the Design area. The specific pulldown menus will correspond to the type of
design that is inserted using the Project menu.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
You can search the Online Help or use the Online Help Index to find information on any of the
editor-specific pulldowns that appear on ANSYS Electronics Desktop Top Menu bar.
The Tools pulldown contains operations that are common to the analysis tools.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
You can search the Online Help or use the Online Help Index to find information on any of the
commands that appear on ANSYS Electronics Desktop menus.
The Window pulldown contains common window control operations. This section describes these
operations and other ways to manipulate the editor windows in the Design Area.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Click New Window (or type n) to open a new window in the Design Area. The new window
will show the active design.
l Click Cascade (or type c) to arrange the open design windows in overlapping sequence:
You can use the Cascade operation to restore all windows to their default sizes after one or more
of them have been maximized (enlarged to fill the entire Design Area).
l Click Tile Horizontally (or type h) to arrange the open design windows in a top-to-bottom
sequence:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Click Tile Vertically (or type v) to arrange the open design windows in a side-to-side
sequence:
Hint You can use the shortcut key sequences CTRL-0, CTRL-1, and CTRL-2 to execute the
Cascade, Tile Horizontal, and Tile Vertical operations, respectively. The shortcuts can be
used at any time, bypassing the Window pulldown.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Click Arrange Icons (or type a) to restore iconized windows to a neat row at the bottom of
the Design Area, after the icons have been repositioned manually. See Working with Editor
Windows for details on iconizing editor windows and on repositioning the iconized windows.
l Click Close All (or type l) to close all the editor windows in the Design Area.
Related Topics
Each editor window in the Design Area has size controls in its top bar:
The Move and Size operations are not needed. To move an editor window, drag it by the top bar
into the desired location. To resize an editor window, position the cursor at an edge or corner, and
drag the border in or out.
l Click Minimize (or use the Minimize icon) to collapse the design window into an icon:
l Clicking the white rectangle on an iconized window opens the same popup as the one
shown above. To restore an iconized window to its previous size (cascaded or maximized),
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
click the white rectangle, then select Restore on the popup. Alternatively, use the Cascade
or Maximize buttons on the icon to restore the window to the desired configuration. Use the
Close button to close the iconized editor window. Reposition the icons anywhere in the
Design area by dragging them with the left mouse button. To restore the icons to a neat row
at the bottom of the Design Area, use the Arrange Icons command on the Window
pulldown.
l To relocate an iconized window in the Design Area, drag it with the left mouse button.
l Click Maximize (or use the Maximize icon) to enlarge the editor window to fill the entire
Design Area. In this configuration, Minimize, Cascade, and Close icons appear at the upper
right of the ANSYS Electronics Desktop, on the same level as the Top Menu bar:
l To restore a maximized window to its initial size and top bar, use the Cascade operation.
l Click Close (or use the Close icon) to close an editor window.
l Click Next to move the active focus to another editor window.
l See Design Area for a summary of the available editor windows.
Help Menu
The Help Menu displays different selections depending upon the type of design inserted to the
active project (Circuit, HFSS, and so on). The following describes the basic selections displayed on
the Help Menu.
l HFSS Help opens to the product help within the Electronics help system.
l HFSS Scripting Help opens to the product's scripting help.
l HFSSGetting Started Guides opens to a list of links to the product's Getting Started
Guides. These Getting Started Guides walk you through projects that demonstrate features
of the product solvers.
l HFSS PDFs opens a menu that links to PDFs for HFSS Help, HFSSScripting, and
HFSSGetting Started Guides. These PDFs provide a format and function that is better
suited for printing. For example, you can print ranges of pages encompassing topics and
subtopics as needed.
l ANSYS Customer Support opens a browser page to the ANSYS Customer Portal. At the
website you can learn more about ANSYS products and services and log on to contact
ANSYS technical support staff.
l What’s New in this Release opens a PDF that describes What’s New in ANSYS
Electronics Desktop for the release.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l ANSYS Product Improvement Program opens a dialog that describes the Product
Improvement Program option.
Note You can disable the ANSYS Product Improvement Program for all users so that
each user is not prompted to enable the Program when they first start Electronics
Desktop. To do this, after installing the software, run the following command as a
user with permissions to modify the installed fileset::
UpdateRegistry.exe -set -ProductName ElectronicsDesktop2018.0 -
RegistryKey
Desktop/Settings/ProjectOptions/ProductImprovementOptStatus -
RegistryLevel install -RegistryValue 1
l About ANSYS Electronics Desktop opens a dialog that displays the ANSYS®
Electromagnetics Suite release number and contains tabs that show information about the
Installed Components and Client License Settings.
This product is covered by the ANSYS Product Improvement Program, which enables ANSYS,
Inc., to collect and analyze anonymous usage data reported by our software without affecting your
work or product performance. Analyzing product usage data helps us to understand customer
usage trends and patterns, interests, and quality or performance issues. The data enable us to
develop or enhance product features that better address your needs.
How to Participate
The program is voluntary. To participate, select Yes when the Product Improvement Program
dialog appears. Only then will collection of data for this product begin.
How the Program Works
After you agree to participate, the product collects anonymous usage data during each session.
When you end the session, the collected data is sent to a secure server accessible only to
authorized ANSYS employees. After ANSYS receives the data, various statistical measures such
as distributions, counts, means, medians, modes, etc., are used to understand and analyze the
data.
Data We Collect
For all products that offer the ANSYS Product Improvement Program, we only collect anonymous
data such as session statistics, hardware information, types of loading, solution types, solution
statistics, and similar data. The specific data collected varies from product to product.
l Application
o Build information
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
o System information
n Country
n Country code
n CPU architecture
n CPU brand
n CPU identifier
n Graphics card
n Operating system
n Operating system version
n Processor count
n Time zone
n Total RAM value
l Session
o Workbench session
o Total CPU time
o Execution mode
o Start method
o Number of processes
o Number of compute nodes (HPC)
o Session begin
o Session end
l Mesh
o Number of nodes
o Number of elements
o Number of zones
o Number of faces
Data We Do Not Collect
The Product Improvement Program does not collect any information that can identify you
personally, your company, or your intellectual property. This includes but is not limited to names,
addresses, file names, part names, geometry- or design-specific inputs, material property values,
etc. We make no record of where we collect data from.
Opting Out of the Program
You may stop your participation in the program any time you wish. To do so, select ANSYS
Product Improvement Program from the Help menu. A dialog appears and asks if you want to
continue participating in the program. Select No and then click OK. Data will no longer be collected
or sent.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
All ANSYS products are covered by the ANSYS, Inc., Privacy Policy, which you can read here.
Frequently Asked Questions
No. You are not enrolled unless you explicitly agree to participate.
3. Does participating in this program put my intellectual property at risk of being collected or
discovered by ANSYS?
Yes, you can stop participating at any time. To do so, select ANSYS Product Improvement
Program from the Help menu. A dialog appears and asks if you want to continue participating
in the program. Select No and then click OK. Data will no longer be collected or sent.
No, the data collection does not affect the product performance in any significant way. The
amount of data collected is very small.
The data is collected during each use session of the product. The collected data is sent to a
secure server once per session, when you exit the product.
Not at this time, although we are adding it to more of our products at each release. The program
is available in a product only if this ANSYS Product Improvement Program description appears
in the product documentation, as it does here for this product.
8. If I enroll in the program for this product, am I automatically enrolled in the program for the
other ANSYS products I use on the same machine?
Yes. Your enrollment choice applies to all ANSYS products you use on the same machine.
Similarly, if you end your enrollment in the program for one product, you end your enrollment for
all ANSYS products on that machine.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Customized setups are implemented using three named subfolders — RF, SI1, and SI2 — that
contain the xml files which configure the customized menu settings for the three UI types. The three
subfolders are stored in the following location:
l config/UI/ElectronicsDesktop/RF
l config/UI/ElectronicsDesktop/SI1
l config/UI/ElectronicsDesktop/SI2
Each customized UI type has its own subfolder under config/UI/ElectronicsDesktop. Within these
three subfolders, xml files hold the menu configurations for different products as well as the right-
click menus for that UI type.
l To change the menu display from the default UI to any UI type, click Tools > Options >
General Options > General > Desktop Configuration. Then under the “Custom
Menu Set” dropdown list, choose the UI type that you wish to use, then click OK.
l To switch from a customized UI type back to the default UI, click Tools > Revert To
Default UI.
A new folder needs to be added to the config/UI/ElectronicsDesktop folder for any new customized
UI type that you want to build. You will put all the xml files for this UI type under this folder. This UI
type will appear in the dropdown list of the “UI Type” mentioned above for you to use.
For any UI type, Ansys ElectronicsDesktop will display default UI menus for the products/contexts
that are not in the xml files. If there is error processing any xml file, then default UI menu will be
displayed for that product. Please pay attention to the message window for the name of the
problematic xml file and suggestions on what to fix.
For any UI type, the xml files are only processed once when you first switched to that UI type. So
after you make any changes to any xml file, in order for it to be reprocessed, you need to go to “UI
Type” dropdown list, make sure that the correct UI type is selected, then click “OK”.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Below is the list of the xml files that can be put under the new folder that you created for the new UI
Type. If any of these xml files does not exist in this folder, then default menu setting will be
displayed for that product.
Note: This is only meaningful if it is used in NoDesignUI.xml. If this is set to true, then
clicking in the Project Window on the Project icon or the Definitions icon (or a subitem) will
show “Project” context in NoDesignUI.xml instead of active design context. No setting or
setting this to false makes this UI type behaves the same as the default behavior of Ansys
Electronics Desktop. The menus and toolbars are always shown for the active design
unless there’s no design at all.
l Context — Child of DesignerMenu. It appears at least one time. It has a required “name”
attribute. Detail about how to set the name of the context, please see “Context Name”
section below.
2. Child elements of Context:
l TopMenu — For RightClickMenu.xml, please do not use this element. You can specify
child elements of TopMenu listed below under Context. For any other xml files, you need
at least one TopMenu child element for any Context.
3. Child elements of TopMenu:
l MenuName — Required. It appears one and only one time.
l PopupMenu — It may appear one or multiple times.
l LeafMenu — It may appear one or multiple times.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note:To add a new LeafMenu, both “MenuName” and “MenuID” are required.
6. CustomMenu: This is the menu to use when you want to add a customized menu to run
external script (vbs or python). Here’s the list of its child elements:
l MenuName: see LeafMenu for Usage
l ShowBitmap: see LeafMenu for Usage
l Accelerator: see LeafMenu for Usage
l ScriptPath: Required, string. This is used to supply path to the script
(use of $PROJECTDIR, $PERSONALLIB, $USERLIB, $SYSLIB variables is also
allowed).
Example:
<ScriptPath>C:/Users/jwei/Python/HelloWorld.vbs</ScriptPath>
or
<ScriptPath>$PERSONALLIB/HelloWorld.py</ScriptPath>
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l delete — Can be applied to all elements other than “DesignerMenu” or “Context” . This
menu (matched by MenuName or MenuID) will be deleted from its parent.
Note:
l For “DesignerMenu” and “Context”, only no action setting or “useDefault” setting is valid.
l The action setting of “DesignerMenu” element has significant meaning since this is how
you specify if you want to construct your own menus or modify existing default menus. If
action is set to “useDefault” here, then default menu settings will be used except for the
menus you listed in your xml files will be processed according to their action settings. If no
action is set, then only the “File”, “Window” and “Help” menus will be displayed the same
as the default setting, no other menus from the default menus will be displayed. The
menus listed in the xml file will be displayed after the “File” menu, but before the “Window”
menu. No action is needed for any other elements in the xml file in this case. If any action
is specified for any element, you will receive an error message and a default menu will be
displayed for that context. A “Revert To Default” menu will be appended to the “Tools”
menu. If no “Tools” Menu is specified as a TopMenu, then a “Tools” menu will be created
before the “Window” menu with one “Revert To Default” menu item.
l For any other elements, missing action setting means that the parent action will be used.
l If any element’s action is set to “add”, then no action is needed for any of its child element.
If any action is specifieyped, it’ll be ignored. This menu and all of its child menus will be
added to the default menu.
l If any TopMenu or PopupMenu’s action is set to “delete”, then you don’t need to list any of
its child menu. This menu will be deleted with all of its child menus.
Context Name
1. The “name” attribute specifies the name of the context for this product. You can have an "All"
context if you set the action of DesignerMenu to UseDefault to specify a menu setting that
you want to apply to all contexts for that product.
2. Valid context name for different xml files:
l NoDesignUI.xml — “All”, “No Context”, “project”, “FilterDesign”
l CircuitDesign.xml — “All”, "SchematicEditor", “Layout”, “Netlist”, “report2d”
l HFSS 3D Layout Design.xml — “All”, “Design”, “Layout”, “Layout3D Editor”, “report2d”
l 2D Extractor.xml — “All”, “3d modeler”, “report2d”
l Circuit Netllist.xml —“All”, “Design”, “Netlist”
l HFSS.xml — “All”, “3d modeler”, “report2d”
l HFSS-IE.xml — “All”, “3d modeler”, “report2d”
l Q3D Extractor.xml — “All”, “3d modeler”, “report2d”
l RightClickMenu.xml
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note l For the Report folder under Results, please use the context name for the
Results folder appended with "Result"; for example: "Circuit
Design/Results/Report".
l For the Trace folder under Report, please use the context name for the
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
<DesignerMenu xmlns="http://www.ansys.com/uiConfigMenu">
<Context name="Design">
<TopMenu>
<MenuName>Insert</MenuName>
<PopupMenu>
<MenuName>S&ubCircuit</MenuName>
<LeafMenu>
<MenuName>&SubCircuit</MenuName>
<MenuID>55500</MenuID>
<ShowBitMap>No</ShowBitMap>
<Accelerator></Accelerator>
</LeafMenu>
<LeafMenu>
<MenuName>&EM Design</MenuName>
<MenuID>55502</MenuID>
<ShowBitMap>No</ShowBitMap>
<Accelerator></Accelerator>
</LeafMenu>
</PopupMenu>
<Separator></Separator>
<LeafMenu>
<MenuName>Nexxim Solution &Options ...</MenuName>
<MenuID>38460</MenuID>
<ShowBitMap>No</ShowBitMap>
<Accelerator></Accelerator>
</LeafMenu>
<CustomMenu>
<MenuName>CircuitHelloWorld</MenuName>
<ScriptPath>$USERLIB/HelloWorld.vbs</ScriptPath>
<ShowBitMap>No</ShowBitMap>
</CustomMenu>
</TopMenu>
</Context>
</DesignerMenu>
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
<DesignerMenu xmlns="http://www.ansys.com/uiConfigMenu"
action="useDefault">
<UseProjectWindowSelectionContext>false</UseProjectWindowSelectionCo
ntext>
<Context name="All">
<TopMenu>
<MenuName>&Project</MenuName>
<LeafMenu action="delete">
</LeafMenu>
<LeafMenu action="delete">
</LeafMenu>
<LeafMenu action="delete">
</LeafMenu>
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
<LeafMenu action="delete">
</LeafMenu>
<LeafMenu action="delete">
</LeafMenu>
<LeafMenu action="delete">
</LeafMenu>
<LeafMenu action="delete">
</LeafMenu>
<LeafMenu action="add">
<MenuName>Test</MenuName>
<MenuID>3333</MenuID>
</LeafMenu>
</TopMenu>
</Context>
</DesignerMenu>
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
External Tools
To add an ExternalTools menu to ANSYS Electronics Desktop:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
1. Click Tools>External Tools. This displays the Customize User Tools Menudialog box.
If a User Tools menu has been previously defined, its contents are displayed in the Menu
Contents window. Navigation buttons allow you to Add, Remove, MoveUp and MoveDown
items which are displayed in the Menu Contents window.
Menu Text — Displays the text you want to appear in the UserTools menu.
Command — Displays the external executable. Click the browse button to navigate to the file
location.
Arguments — Specifies the argument to be associated with the command. Click the right-
arrow button to choose from the following: File Path, File Directory, File Name, File Extension,
Project Directory, or Temp Directory.
Initial Directory — Specifies an initial directory for the command to operate in. Click the
browse button to navigate to the file location. Click the right-arrow button to navigate through
your desktop or across the network.
3. Click OK to add the ExternalTools menu to ANSYS Electronics Desktop, or click Cancel to
close the dialog box without changes.
NOTES:
1. To execute a custom script using the ExternalTools customization, enter the name of the
program that will execute the script in the Command field and enter the location of the script
in the Arguments field. For example:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
For Windows, enter the name of the non-graphical Windows Script Host — ‘cscript’ — in the
Command field and enter the location of the script in the Arguments field:
VBScript
Command: cscript
Arguments: C:\scripts\myvbscript.vbs
JavaScript
Command: cscript
Arguments: C:\scripts\myjavascript.js
Shortcut Menus
Shortcut menus are available for many objects and windows in ANSYS Electronics Desktop,
including components in schematics, primitives in layouts, graph traces and grids, and icons in the
Desktop's Project Manager window. To open the shortcut menu for an object, right-click the
object.
Shortcut Keys
Various commands in the ANSYS Electronics Desktop software may be accessed through
keyboard shortcuts or “hot keys”. These keystroke combinations allow you to bypass the menu
system and directly execute commands. In addition, you may use the Keyboard Shortcuts dialog
box to customize the hotkeys associated with various ANSYS Electronics Desktop menu
commands.
Related Topics
Desktop Shortcuts
Schematic Shortcuts
Layout Shortcuts
3D Viewer Shortcuts
Report Shortcuts
Desktop Shortcuts
Modifier + Hold down the modifier—such as SHIFT or CTRL—and press the key. Type all
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The following ANSYS Electronics Desktop shortcut key combinations are available at any time:
Control-n New
Control-o Open
Control-p Print
Control-s Save
Control-0 Cascade windows
Control-1 Tile windows horizontally
Control-2 Tile windows vertically
Del Delete
F1 Open help
Layout Shortcuts
Modifier + Hold down the modifier—such as SHIFT or CTRL—and press the key. Type all
key shortcut keys in lower case.
The following Layout editor shortcut key combinations are available when the editor is open:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Control-v Paste
Control-w Add connection
Control-x Cut
Control-y Redo
Control-z Undo
Del Delete
Shift-drag Pan
Shift-alt-drag Zoom
3D Viewer Shortcuts
Modifier + Hold down the modifier—such as SHIFT or CTRL—and press the key. Type all
key shortcut keys in lower case.
The following 3-D Viewer shortcut key combinations are available when the 3D Viewer is open:
Report Shortcuts
Modifier + Hold down the modifier—such as SHIFT or CTRL—and press the key. Type all
key shortcut keys in lower case.
The following Report shortcut key combinations are available when a Report window is open:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Undoing Commands
The Undo command on the Edit menu for all editors and reports allows you to undo the last
command or operation you performed. Redo re-executes the last operation that was undone.
Online Help
ANSYS Electronics Desktop features extensive online help documentation, including indexed
entries, text search, and context-sensitive help items. To access the main online help system, click
the Help entry on the ANSYS Electronics Desktop top menu bar.
For more information about the ANSYS Electronics Desktop online help system, see Getting Help.
3. Specify the name of the resource that you want to protect and click OK.
This displays the Enter Passwords dialog. This dialog has radio buttons to let you:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Enter Password and confirm for Full Access or for Execute Only Access.
l Use ANSYS Password (for execute only). This does not require you to enter a
password, but it is still encrypts the library.
4. Once you have selected a radio button, and, if necessary, specified passwords correctly,
click OK.
To Encrypt a Resource
The choices are Circuit files (*.lib) and Ansoft Library files. For HFSS, chose Ansoft Library files.
Any existing resources in the selected directory will appear.
Note: The Expire resource on option lets you select the date when the password expires for the
relevant resource.
Command-line syntax
Run Commands
The following command line run commands are available in ANSYS Electronics Desktop. Of
the commands (BatchSave, BatchSolve, BatchExtract, RunScript, RunScriptandExit), one or
none must be used as arguments after the solver executable. Links to the valid options for each
run command are listed and/or linked to descriptions.
Saves a named project to the current version. This is primarily intended for converting
version 9 projects to version 10 when you intend to subsequently run them on a Linux
platform. The conversion from version 9 to version 10 must be done under Windows, HP, or
Solaris before those projects can run on a Linux system. You can run this command with the
-Iconic option, the -Logfile option, and the -ng option (no graphics).
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
-BatchSolve
By default, solve all adaptive setups, sweeps, as well as Optimetrics setups found in the
project file. If parallel solve is possible, you can use the -Distribute option in conjunction with
-BatchSolve. You can run this command with the -Iconic option, the -Logfile option, the -
ng option (no graphics), and the -WaitForLicense option.
Additional parameters for batch solves include the following. It is good practice to put quotes
around the path to the solver executable, and the full path to the project. This ensures that
spaces in the path or project will not be an issue. The same is true of the design name, if
there are indeed spaces. The quotes must enclose the entire argument including the
Nominal or Optimetrics part.
[designName] - batch solve all setups for design with the name given under the project.
[designName]:Nominal - batch solve all nominal setups for design with the name given
under the project.
[designName]:Optimetrics - batch solve all Optimetrics setups for design with the name
given under the project.
For -Remote, you should provide a machine list with a single hostname.
-Distributed takes optional arguments which modify the job distribution parameters. When
the optional parameters are not present, the behavior is single level distributed solves with
no change in order of precedence among possible distribution types.The optional
parameters are:
If the distribution types are specified, only the listed distribution types are enabled. If
default is specified, a default set of enabled distribution types will be used.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
If the distributed types are specified, all distribution types except those listed will be
enabled. If default is specified, a default set of enabled distribution types will be used.
maxlevels= 1 | 2
This is the maximum level of job distribution. Right now, only single and double level
distribution is supported.
When two level distribution is enabled, numlevel1 specifies the number of level 1
tasks.
See the Job Distribution tab in the Analysis Configuration dialog or the -help text for
valid values for job distribution types.
The -Machinelist command line option is used to specify the DSO Machines. This
command line option is only meaningful if -Distributed is specified. There are three different
formats for the -Machinelist command line option. The different formats are described
below.
In this format, the DSO machines machine1,machine2,... are listed explicitly on the
command line. The machine names must be separated by commas. The machines may be
specified by IP address or by hostname, provided that the hostnames are able to be resolved
on the Desktop host. If the list contains any whitespace, it must be enclosed in quotes. The
number of distributed COM engines run on each host is equal to the number of times that the
hostname appears in the list. That is, if host1 appears in the list once, and host2 appears in
the list twice, then one COM engine will run on host1 and two COM engines will run on
host2.
For example:
list="Orion:4:8, Aries:3:12, Pluto:6:12"
With this form, duplicate machine names are not allowed, and the number of cores must be
greater than the number of tasks.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
In this format, the DSO machines are listed in a file. The machine names are listed in the text
file, one hostname per line. The pathname of the file is file_path_name. The machines may
be specified by IP address or by hostname, provided that the hostnames are able to be
resolved on the local host. The number of distributed COM engines run on each host is equal
to the number of times that the hostname appears in the list. That is, if host1 appears in the
list once, and host2 appears in the list twice, then one COM engine will run on host1 and two
COM engines will run on host2.
file=<machine list file path> will also accept machine specifiers in the specified file using the
format.
For example:
"Orion:4:8, Aries:3:12, Pluto:6:12"
With this form, duplicate machine names are not allowed, and the number of cores must be
greater than the number of tasks.
You can use either form of the -MachineList option to indicate the machine(s) on which to
run a distributed batchsolve. The settings persist only for the current session.
Example:
When you use a file to define the machines available for a distributed solve you should list the
machine addresses or names on separate lines:
192.168.1.1
192.168.1.2
(etc)
The "-machinelist num=n" option is now required for batch jobs. This format is used when a
scheduler (such as LSF, PBS, SGE or Windows HPC) is used to manage the jobs sent to a
cluster of hosts. In a scheduler environment, you can specify the number tasks for distributed
processing. In this case, you do not specify the machine names after the flag because the
names are provided by the scheduler. For example, in the Windows HPC environment, you
can write the number of tasks as follows.
-machinelist num=4
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The COM engines will be distributed across the hosts allocated to the job by the scheduler.
-auto
If you specify -auto without parameters the batch log file will specify that Optimetrics variations will
be solved sequentially.
-batchoptions"'<option1>' '<option2>'..."
All options that are specified through Tools>Options dialogs go to the user-level registry.
You can override such registry entries via the -batchoptions command line. These
overrides apply only to the current Desktop session. This feature is available for all desktop
products. The registry setting overrides may be specified on the command line, or may be in
a file with the file pathname specified on the command line. The -batchoptions command
line option is only valid for batch jobs; it is ignored if neither -BatchSolve nor -BatchSave
command line options are specified.
A new batch solve option “CreateStartingMesh” for all 3D products (HFSS, HFSS-3DLayout,
Q3D, Q2D, Maxwell3D and Maxwell2D). When option is set, only the initial mesh and manual
mesh operation making portion of the setup are completed for the batch solve.
This new option is also supported for batch jobs. The batch jobs could be submitted from command
line or through the Submit Job GUI.
This command allows the following commands to be executed non-graphically via script and
without checking out any GUI licenses: ExportProfile, ExportConvergence,
ExportMeshStats, ExportNetworkData, ExportNMFData, ExportEigenmodes,
ExportTransientData, Update Reports, ExportToFile. A project file must be specified when
the command line option BatchExtract is used. This means that commands in the <batch
extract script file> will only be executed in the specified project. The "open/close" project
commands are not supported in BatchExtract mode.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Examples:
oProject = oDesktop.SetActiveProject("OptimTee")
oDesign = oProject.SetActiveDesign("HFSSDesign1")
oModule = oDesign.GetModule("ReportSetup")
-Monitor
You can monitor progress and messages on standard output, during non-graphical analysis.
Progress, warning and info messages are logged to the standard output stream. Error and
fatal messages are logged to the standard error stream. Schedulers intercept these streams
and provide commands for display of this output - see individual scheduler documentation for
specifics.
Examples:
C:\HFSS\ansysedt.exe -distributed
-machinelist list="192.168.1.1,192.168.1.2"
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
"c:/Program Files/AnsysEM/AnsysEM19.0/win64/ansysedt.exe"
-Iconic -Queue
Run the specified script. You can use the -ScriptArgs option to add one or more arguments
to this command and can use the -Iconic option.
Run the specified script and exit. You can use the -ScriptArgs option to add one or more
arguments to this command. You can also use the -Iconic option, the -Logfile option, and
the -WaitForLicense option. The '-BatchSolve <DesignName>' is mutually exclusive with
'-RunScriptAndExit <ScriptName>'.
<none>
If you do not specify a run command with hfss on the command line, you can still specify the -
Help and -Iconic option.
<project file>
Open the specified project on start up. If -BatchSolve is also set, the project will be solved.
Note The <project file> must be the last command line entry.
<archive file>
You can specify an archive file instead of a project file. If -Batchsolve is set, the project will
be automatically restored and solved. Otherwise, you are prompted for a restore location,
and the project will be restored and opened. Also see -archiveoptions below.
-archiveoptions
overwritefiles
path=<projectfilepath>
Extract project file to <projectfilepath> and other files into the same directory. If path is not
specified, the archive will be extracted into the same directory as the archive file.
winpath=<windowsprojectfilepath>
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Specifies the Windows-specific path to the extracted project file. This is used when the batch
job is to be run on a Linux system but monitored on Windows, for example, Windows-to-
Linux job submission of an archive file.
Note Archive options only apply when performing a batchsolve of an archive file.
Options
The following options can be associated with one or more of the run commands.
-batchoptionhelp
The paths shown can be used with batchoptions and the Update Registry Get and Set commands.
See Setting or Removing Option Values in Configuration Files: UpdateRegistry Command.
-Distribute
Distribute a batch solve to multiple machines. This option must be combined with the -
BatchSolve run command and must be specified before it in the command line. See
Distributed Analysis for more information on distributed analysis.
Example:
-Help
Open a window that displays the different command-line options. This is only used when
none of the four run commands are used.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
For example:
-Iconic
Run an ANSYS Electronics Desktop solver with the window iconified (minimized). This can
be used with all or none of the run commands.
-ng
-WaitForLicense
-ScriptArgs <scriptArguments>
ScriptArgs looks at the single argument after it and uses those as script arguments. You
can pass multiple arguments to scriptargs by surrounding the script arguments in double
quotes.
For instance:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Here, HFSSDesign1 is taken into ANSYS Electronics Desktop as the first argument, and
Setup1 is the second argument. Without the quotes, HFSSDesign1 is taken as the first
argument, and Setup1 will not be understood by ANSYS Electronics Desktop.
ansysedt -scriptargs HFSSDesign1 Setup1 -RunScriptAndExit
c:\temp\test.vbs
Example:
-scriptargs "Setup1"
Example:
The Tools>Options>Export Options Files command writes xml files containing the Options settings
at all levels to the specified directory. The Tools>Options>Export Options feature is intended to
make it easier for different users to use ANSYS Electromagnetics Suite 19.0 installed on shared
directories or network drives. The Example Uses for Export Options Features section outlines
some use cases enabled by this feature.
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The following examples use hfss, but this feature is available for all desktop products.
"'Desktop/Settings/ProjectOptions/NumberOfProcessors'=4
'Desktop/ProjectDirectory'='C:\\projects\test'" projectname.aedt
This command line overrides the values of the Project Options and Desktop/ProjectOptions
registry settings.
Notes:
'Desktop/Settings/ProjectOptions/NumberOfProcessors'=4
'HFSS/NumCoresPerDistributedTask'=2
'Desktop/ProjectDirectory'='C:/projects/test'
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
$end 'Config'
Note l The -batchoptions filename value must be enclosed in double quotes if it contains
whitespace
l The $begin 'Config' and $end 'Config' lines are required
When using the -batchoptions command line option, the registry paths specified on the command
line or in the batchoptions file are relative paths. The paths are relative to the current version of the
current product. If the examples above are used with HFSS 2014, then the following table shows
the relative and absolute paths of the registry overrides in the above examples.
For additional options and paths for use with -batchoptions, see
Analysis parameter settings may be done using the GUI. For example, all HFSS options may be
set using the Add Batch Option dialog box which is brought up through the Submit Job To
dialog. These parameter settings include the following solver options (not a complete list):
l tempdirectory
l DesiredRAMLimitInGB
l MaxRAMLimitInGB
l DefaultProcess Priority
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
These values of these parameters are saved in the registry when HFSS is not running.
When running a batch analysis, these parameters will take the values from the registry. The -
batchoptions Desktop command line option allows you to override the parameter values set in the
registry with values specified on the command line or in a file. The values specified using the -
batchoptions command line option only apply to the batch job, and do not affect the parameter
values in the registry. For example, you could specify the following command to ensure that this
analysis uses 2 processors for distributed processing and 2 processors for non-distributed
processing. If the -batchoptions value is not specified, then the number of processors for
distributed processing or for non-distributed processing could be affected by an interactive HFSS
job running on the same host as the same user.
"E:\Program Files\AnsysEM\AnsysEM19.0\Win64\ansysedt.exe"
-distributed includetypes=default maxlevels=1
-machinelist num=4 -monitor -ng
-batchoptions " 'HFSS/DefaultProcessPriority'='Normal'
'HFSS/DesiredRAMLimitInGB'=8
'HFSS/HPCLicenseType'='Pool'
'HFSS/MaxRAMLimitInGB'=16
'HFSS/NumCoresPerDistributedTask'=2
'HFSS-IE/NumCoresPerDistributedTask'=2
-batchsolve E:\Users\kmchrist\Documents\Ansoft\hfss_bpf.aedt
Related Topics
The PersonalLib, syslib and userlib settings are a little different from other settings. If the final
directory name is different from what is expected, then PersonalLib, syslib or userlib is appended
as a final directory. In addition, these settings may come from a different registry value if the registry
values shown above are not set
Units or
Path Name Default Value Description
Values
Desktop/ProjectDirectory subdirectory of user's HOME Directory Directory where new
directory or “My Documents” pathname projects are created
directory
Desktop/PersonalLib PersonalLib subdirectory of Directory Directory PersonalLib is
user's HOME directory or “My pathname appended if final directory
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Units or
Path Name Default Value Description
Values
Documents” directory is not PersonalLib
Desktop/syslib syslib subdirectory of Directory Directory syslib is
installation directory pathname appended if final directory
is not syslib
Desktop/userlib userlib subdirectory of Directory Directory userlib is
installation directory pathname appended if final directory
is not userlib
Related Topics
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Defaul
Units or Descriptio
Path Name t
Values n
Value
Desktop/Settings/ProjectOptions/AnimationMemory 200 Stop
Megabyte animations
s (MB) when
available
memory
falls below
this value
Desktop/Settings/ProjectOptions/AnsoftCOMPreferredIPAddr “” IP IP Address
ess (empty Address used to
string) (as a connect
string) from COM
Engine to
Desktop
Desktop/Settings/ProjectOptions/AutoSaveInterval 10 edits Number of
edits to
allow
between
autosaves
Desktop/Settings/ProjectOptions/AutoShowMessageWindow 1 (true) 0 (false) Show
or 1 (true) message
window on
new
messages
Desktop/Settings/ProjectOptions/AutoShowProgressWindow 0 0 (false) Show
(false) or 1 (true) progress
window
when
starting a
simulation
Desktop/Settings/ProjectOptions/DiskLimitForAbort 0 A warning is
Megabyte issued
s (MB) when
available
disk space
falls below
this value
Desktop/Settings/ProjectOptions/DoAutoSave 1 (true) 0 (false) Enables
or 1 (true) autosaves if
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Defaul
Units or Descriptio
Path Name t
Values n
Value
true
Desktop/Settings/ProjectOptions/DrawStateIconsInProjectTre 1 (true) 0 (false) Change
e3 or 1 (true) icon when
selection
does not
match
active
window
Desktop/Settings/ProjectOptions/ExpandMessageTreeOnIns 1 (true) 0 (false) Ensure that
ert or 1 (true) new
messages
are visible in
the
message
window tree
Desktop/Settings/ProjectOptions/ExpandOnInsert 0 0 (false) Expand
(false) or 1 (true) project tree
on insert
Desktop/Settings/ProjectOptions/HighlightActive 1 (true) 0 (false) Emphasize
ContextInProjectTree2 or 1 (true) active
command
context
(menu and
toolbars)
Desktop/Settings/ProjectOptions/SavePreviewImagesInProje 1 (true) 0 (false) Save
ct or 1 (true) preview
File images in
project file
Desktop/Settings/ProjectOptions/UpdateReportOnFileOpen 0 0 (false) Update
(false) or 1 (true) reports on
file open
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Here are the HFSS Options and HFSS IE Options with the complete path names:
Default Units or
Path Name Description
Value Values
Hfss/AllowOffCore 1 0 (false), 1 Specifies if the
(true solver will be
able to use off
core memory.
Hfss/DefaultProcessPriority Normal "Critical, Specifies the
"Above default priority
Normal", of distributed
"Normal", tasks.
"Below
Normal",
"Idle"
Hfss/HPCLicenseType “pack” “pool” or For HFSS
“pack” or Designs: “pool”
"none" =
multiprocessing
enabled by
HPC licensing;
“pack” =
multiprocessing
enabled by
HPC Pack
licensing
HFSS/MPIVendor “Platform Which MPI
Computing”, libraries to use
“Intel”. for remote
communication.
Type: String,
HFSS/EnableGPU 0 0 (False), 1 Allow GPU to
(True). be used for
HFSS matrix
solves.
HFSS/SolveAdaptiveOnly 0 (False), 1 If true, only the
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Default Units or
Path Name Description
Value Values
(True). adaptive portion
of the setup will
be solved.
Applies only if a
single setup is
selected.
HFSS/CreateStartingMesh 0 (False), 1 If true, the
(True). starting mesh
(with mesh
operations if
applicable) will
be created, but
0
none of the
setup will be
solved. Applies
only if a single
setup is
selected.
HFSS-IE/AllowOffCore 1 0 (false), 1 Specifies if the
(true solver will be
able to use off
core memory.
HFSS-IE/CreateStartingMesh 0 0 (False), 1 If true, the
(True). starting mesh
(with mesh
operations if
applicable) will
be created, but
none of the
setup will be
solved. Applies
only if a single
setup is
selected.
HFSS- Normal "Critical, Specifies the
IE/DefaultProcessPriority "Above default priority
Normal", of distributed
"Normal", tasks.
"Below
Normal",
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Default Units or
Path Name Description
Value Values
"Idle"
HFSS-IE/HPCLicenseType “pack” “pool” or For HFSS-IE
“pack” Designs: “pool”
=
multiprocessing
enabled by
HPC licensing;
“pack” =
multiprocessing
enabled by
HPC Pack
licensing
HFSS-IE/MPIVendor “Platform Which MPI
Computing”, libraries to use
“Intel”. for remote
communication.
Type: String,
HFSS-IE/SolveAdaptiveOnly 0 (False), 1 If true, only the
(True). adaptive portion
of the setup will
be solved.
Applies only if a
single setup is
selected.
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Units
Default
Path Name or Description
Value
Values
HFSS 3D Layout/SolverOptions/HPCLicenseType "pack" "pool" For HFSS 3D Layout:
or "pool" =
"pack" multiprocessing
enabled by HPC
licensing; "pack" =
multiprocessing
enabled by HPC
Pack licensing
HFSS 3D Layout/SolverOptions/NumberOfProcessors 1 - For HFSS 3D Layout
designs: maximum
number of processors
HFSS 3D 1 - For HFSS 3D Layout
Layout/SolverOptions/NumberOfProcessorsDistributed designs: maximum
number of distributed
processors
HFSS 3D Layout/SolverOptions/UseHPCForMP 0 0 For HFSS 3D Layout
(false) (false) designs: if true (1),
or 1 enables
(true) multiprocessing using
HPC licenses
$begin 'Config'
'HFSS 3D Layout/SolverOptions/NumberOfProcessors'=4
'HFSS 3D Layout/SolverOptions/NumberOfProcessorsDistributed'=2
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
$end 'Config'
l Showing axes when interactively drawing objects will slow the performance.
l Remote OpenGL performance will be slower in general. Graphics card and driver quality
helps.
l All 3D windows will be closed when you switch from remote PC to a console or from a
console to remote. This is to avoid display/opengl instability during the switch.
l Grid will not be turned off while viewing a plot from a remote desktop. The mouse over
highlights on 2D plots may appear as not totally overlapping the line color or as thin dotted
lines.
Related Topics
Remote Solve
Before running a job you must you Tools>JobManagement>Select Scheduler and use the
dialog to designate the head node of a cluster. You can then click Tools>Job
Mangement>Submit Job to submit the batch commands for the job.
Related Topics
An ACT “guided process” extension enables you to leverage both the functionality of Electronics
Desktop and the scripting capabilities of the Workbench/AIM framework API; you can manipulate
existing features and simulation components, organizing them as needed to produce a custom
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
To access ACT functionality in Electronics Desktop, open the ACT Start Page by clicking the
View>ACT Extensions menu option.
For more information, see ACT Simulation Wizards and Electronics Desktop Wizard in the ANSYS
ACT Developer's Guide.
After you insert an HFSS design, you can access HFSS Getting Started Guides from
Help>Getting Started Guides.
A list of example projects included with the HFSS installation is located here.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
For an example patch antenna project emphasizing Keyboard Accelerators, open HFSS Keyboard
Accelerators from Help>Getting Started Guides.
After you insert an HFSS design, you can access HFSS 20 GHz Waveguide Combiner from
Help>Getting Started Guides.
This Getting Started guide is written for ANSYS Electronics Desktop beginners as well as
experienced users who are using HFSS for the first time. This manual guides you through the
setup, solution, and analysis of a two-way, low-loss waveguide combiner.
By following the steps in this guide, you will learn how to perform the following tasks in ANSYS
Electronics Desktop:
This Application Specific Modeling Guide is written for ANSYS Electronics Desktop beginners as
well as experienced users who are using HFSS for the first time. This brief manual provides
guidelines for modeling antennas in HFSS.
Related Topics
Antennas in HFSS
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
A Bandpass Filter
After you insert an HFSS design, you can access HFSS Bandpass Filter from Help>Getting
Started Guides.
This Getting Started guide assumes some familiarity with HFSS. It guides you through the process
of creating a bandpass filter. It includes the use of duplicate around axis commands.
This design has a frequency sweep. If you want to distribute the frequencies for efficient simulation
you can use HPC. For more information about how to set up HPC, see the Add HPC Analysis
Setup section in the Getting Started Guide for Bandpass Filter. You can access the design
from the Examples folder which also contains a short description on the HPC setup in the
associated PDF.
A Coax Connector
After you insert an HFSS design, you can access HFSS Coax Connector from Help>Getting
Started Guides.
This Getting Started guide assumes some familiarity with HFSS. It guides you through the process
of creating a coax connector. This includes the use of relative coordinate systems as an aid to
building the model. It also uses boolean and sweep operations.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The Help>Getting Started Guides menu displays a list of getting started pdf files you can open.
After you insert an HFSS design, you can access HFSS Coax Tee from Help>Getting Started
Guides.
This Getting Started guide assumes some familiarity with HFSS. It guides you through the steps of
creating and simulating a coax tee. The simulation solves for the fields in an arbitrary volume.
Coax Dielectric
After you insert an HFSS design, you can access HFSS A Dielectric Resonator Antenna from
Help>Getting Started Guides.
This Getting Started guide is written for ANSYS Electronics Desktop beginners as well as
experienced users who are using HFSS for the first time. This guide leads you step-by-step
through creating, solving, and analyzing the results of a dielectric resonator antenna problem.
By following the steps in this guide, you will learn how to perform the following tasks in ANSYS
Electronics Desktop:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
You can access HFSS Floquet Ports from Help>Getting Started Guides.
This Getting Started guide is written for ANSYS Electronics Desktop beginners as well as
experienced users who are using HFSS for the first time. This manual guides you through the
setup, solution, and analysis of two different models using Floquet ports.
By following the steps in this guide, you will learn how to set up Floquet ports in ANSYS Electronics
Desktop.
The Help>Getting Started Guides menu displays a list of getting started pdf files you can open.
After you insert an HFSS design, you can access HFSS Optim Tee Waveguide from
Help>Getting Started Guides.
This Getting Started guide is written for Optimetrics beginners as well as experienced users who
are using Optimetrics for the first time. You must have completed Getting Started with HFSS: A
Waveguide T-Junction before you begin this guide.
You will use ANSYS Electromagnetics Optimetrics software to find an optimal position for the
septum. Prior to performing the optimization, you will set up and solve a parametric analysis.
By following the steps in this guide, you will learn how to perform the following tasks in ANSYS
Electronics Desktop using Optimetrics:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Create an optimization setup, which includes defining a cost function and setting the range
of variable values for an optimization.
l Solve an optimization analysis.
l During an optimization analysis, view a plot of cost values versus solved iterations.
l Run an ANSYS Electronics Desktop simulation using the optimal variable value.
l Update an existing field overlay plot with new results.
Related Topics
Optimetrics
A Patch Antenna
After you insert an HFSS design, you can access HFSS Probe Feed Patch Antenna from
Help>Getting Started Guides.
This Getting Started guide assumes some familiarity with HFSS. It includes the use of Perfect E
and Radiation boundaries and a Radiation Pattern plot.
Related Topics
Example Projects
Getting Help
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
After you insert an HFSS design, you can access HFSS Radar Cross Section from Help>Getting
Started Guides.
This Getting Started guide is written for ANSYS Electronics Desktop beginners as well as
experienced users who are using HFSS for the first time. This manual guides you through the
setup, solution, and analysis of a simple radar cross section (RCS) problem. By following the steps
in this guide, you will learn how to perform the following tasks in HFSS:
By following the steps in this guide, you will learn how to set up RCS problems.
Related Topics
After you insert an HFSS design, you can access HFSS Spiral Inductor from Help>Getting
Started Guides.
This Getting Started guide assumes some familiarity with HFSS. It includes the use of Perfect E
and Radiation boundaries and Output Variables in generating plots.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Related Topics
Example Projects
The Help>Getting Started Guides menu displays a list of getting started pdf files you can open.
This Application Specific Modeling Guide is written for ANSYS Electronics Desktop beginners as
well as experienced users who are using HFSS for the first time. This brief manual provides
guidelines for modeling spiral inductors in HFSS.
Related Topics
Drawing a Spiral
A UHF Probe
After you insert an HFSS design, you can access HFSS Ultra High Frequency Probe from
Help>Getting Started Guides.
This Getting Started guide assumes some familiarity with HFSS. It includes the use of boolean
operations and the use of a ground plane and radiation boundaries.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The Help>Getting Started Guides menu displays a list of getting started pdf files you can open.
This Getting Started guide is written for ANSYS Electronics Desktop beginners as well as
experienced users who are using ANSYS Electronics Desktop for the first time. This guide will lead
you step-by-step through creating, solving, and analyzing the results of a T-shaped waveguide with
an inductive septum. This type of structure is used to split an incoming microwave signal into two
outgoing signals. The waveguide's transmission and reflection of the signal will depend on the
position of the septum.
By following the steps in this guide, you will learn how to perform the following tasks in ANSYS
Electronics Desktop:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
After you insert an HFSS design, you can access HFSS RCS Test Model Ogive from
Help>Getting Started Guides.
This Getting Started guide is written for HFSS-IE beginners as well as experienced users who are
using HFSS for the first time. This manual guides you through the setup, solution, and analysis of a
simple radar cross section (RCS) problem. By following the steps in this guide, you will learn how
to perform the following tasks in HFSS-IE:
By following the steps in this guide, you will learn how to set up RCS problems.
Monocone Antenna
After you insert an HFSS design, you can access HFSS Monocone Antenna from Help>Getting
Started Guides.
This Getting Started guide is written for HFSS-IE beginners as well as experienced users who are
using HFSS for the first time. This manual guides you through the setup, solution, and analysis of a
simple monocone antenna problem. By following the steps in this guide, you will learn how to
perform the following tasks in HFSS-IE:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
By following the steps in this guide, you will learn how to set up HFSS-IE antenna problems.
After you insert an HFSS design, you can access HFSS A Ridged Horn Antenna from
Help>Getting Started Guides.
This Getting Started guide is written for HFSS Transient beginners as well as experienced users
who are using HFSS for the first time. This manual guides you through the setup, solution, and
analysis of a transient horn antenna problem. By following the steps in this guide, you will learn how
to perform the following tasks in HFSS:
By following the steps in this guide, you will learn how to set up transient antenna problems.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Related Topics
After you insert an HFSS design, you can access HFSS TDR For Coax Bend from Help>Getting
Started Guides.
This Getting Started guide is written for HFSS Transient beginners as well as experienced users
who are using HFSS for the first time. This manual guides you through the setup, solution, and
analysis of a time delayed response problem for a coax bend. By following the steps in this guide,
you will learn how to perform the following tasks in HFSS:
By following the steps in this guide, you will learn how to set up HFSS transient problems.
Related Topics
After you insert an HFSS design, you can access HFSS A Ball Grid Array IC Package from
Help>Getting Started Guides.
This Getting Started guide is written for HFSS Transient beginners as well as experienced users
who are using HFSS for the first time. This manual guides you through the setup, solution, and
analysis of a transient simulation. By following the steps in this guide, you will learn how to perform
the following tasks in HFSS:
By following the steps in this guide, you will learn how to set up HFSS transient problems.
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
After you insert an HFSS or HFSS 3D design, the Help>HFSS PDFs>HFSS Getting Started
Guides menu displays a list of getting started PDF files you can open, including the following for
HFSS 3D Layout:
The ANSYS Electronics Desktop installation includes an HFSS 3D Layout getting started guide
that describes a Low Pass filter model.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
After you insert an HFSS or HFSS 3D design, you can access HFSS 3D Layout Low Pass Filter
from Help>HFSS PDFs>HFSS Getting Started Guides.
It includes instructions to create, solve, and analyze a Low Pass filter using the HFSS 3D Layout
design type in the ANSYS Electronics Desktop.
Microstrip Filter
The ANSYS Electronics Desktop installation includes an HFSS 3D Layout getting started guide
that describes a Microstrip Filter model.
After you insert an HFSS or HFSS 3D design, you can access HFSS 3D Layout Microstrip Filter
from Help>HFSS PDFs>HFSS Getting Started Guides.
It includes instructions to create, solve, and analyze a Microstrip Filter using the HFSS 3D Layout
design type in the ANSYS Electronics Desktop.
The ANSYS Electronics Desktop installation includes an HFSS 3D Layout getting started guide
that describes a Slot Fed Patch Antenna model.
After you insert an HFSS or HFSS 3D design, you can access HFSS 3D Layout Slot Fed Patch
Antenna from Help>HFSS PDFs>HFSS Getting Started Guides.
It includes instructions to create, solve, and analyze an antenna using the HFSS 3D Layout design
type in the ANSYS Electronics Desktop.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The ANSYS Electronics Desktop cable modeling solution is implemented using dynamic/data links
between HFSS, 2D Extractor, and Circuit. A cable harness in HFSS is modeled as a single
external field source based on quasi-static simulation of each cable cross section in 2D Extractor
and an analysis of the cable network in Circuit. The magnitude and distribution of the fields along
each cable section is determined by the voltages and currents at the ends of each section, and then
transmission line model is applied to propagate these fields along the cable length.
l 2D Extractor
l solve the cable cross section
l send a transmission line model for the cable network solution
l send transmission line modes and fields for the 3D cable solution
l Circuit
l define a step voltage on the appropriate ports on the circuit schematic
l solve the cable network
l send v and i at the ends of the cable for the 3D cable solution
l HFSS
l map fields onto the 3D cable, and solve the emissions from the cable assembly
Example Projects
Your ANSYS Electronics Desktop installation includes an example directory containing projects
folders for several kinds of designs.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Example projects are organized by the solver. The examples under Circuit, HFSS, HFSS 3D
Layout include subdirectories, organizing the example projects according to different applications.
l Circuit has subdirectories for Automation, Low Noise Amplifier, RF Microwave and Signal
Integrity examples. The RF Microwave directory has further subdirectories for Amplifiers,
Filters, Misc, Mixers, Oscillators, and System projects.
l HFSS has subdirectories for Antennas, RCS, RF Microwave, Signal Integrity, and
Transmission Lines.
l HFSS 3D Layout has subdirectories for Antennas, Component, Filters, FSS and Signal
Integrity.
Several of these projects are associated with detailed getting started guides.
The Help>Getting Started Guides menu displays a list of getting started pdf files you can open.
Related Topics
The following HFSS example projects are associated with getting started guides.
Also see Other HFSS Examples with Descriptions in the Online Help.
The Help>Getting Started Guides menu displays a list of getting started pdf files you can open.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Started with HFSS: A Waveguide T-Junction, and Getting Started with HFSS: Optimizing a
Waveguide T-Junction Using HFSS with Optimetrics.
After you insert an HFSS design, you can access HFSS Getting Started Guides from
Help>Getting Started Guides.
l the Modeler
l parameterization of a design feature
l setup and analysis
l the use of the Reporter and field animation.
The animated Mag_E1 plot of the E-field when the septum is located 0.2 inches closer to Port 2.
The second version of the wave guide t-junction demonstrates the use of the Optimetrics.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l parametric analysis
l variable for optimization
l an optimization setup
l a cost function
l Optimization analysis.
l plot of cost values versus solved iterations.
l Use of output variables.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l a phase animation.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
For further examples, see Getting Started Guides and look at the ANSYS Website
Related Topics
Example Projects
Antennas on Mast
Description - Three dipole antennas mounted on an aluminum mast, simulated in HFSS-IE. The
mast is mounted on an infinite ground plane.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Model - The mast is 3.1 m high. The dipoles are modeled using 2D objects with a PerfE boundary.
The excitations are lumped ports and the mounting structures are modeled by the polystyrene
rods. Note under Boundaries in the Project tree, InfGndPlane1.
Note To view a port or boundary, select the desired item in the Project Tree. It is then highlighted
in the Model window and the properties will be displayed in the Properties window.
Selecting an object in the History tree will also display its properties.
After solving, you can view solution data by right-clicking on Setup1 and selecting Profile to display
the Solution dialog. You also view the Solution tabs for Convergence, Matrix Data, and Mesh
Statistics.
Before viewing the fields make sure all three antennas are excited. Go to HFSS-IE>Fields>Edit
Sources and uncheck all Terminated options. Set Scaling Factor to 1 for all three ports.
To view the radiation pattern shown, double click on Radiation Pattern 1 under Results in the
Project tree. This is the θ = 90o pattern cut.
To view the induced currents on the mast, double click on Mag_J1 under Field Overlays>J
Fields.
Description - This is a model of an air-filled coax bend. Two teflon supports with inner radius
compensation are included in the model. The variable here is bend_angle and it controls the angle
of the top half of the bend.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Model - The walls of the coax use the default outer PerfE boundary. The inner conductor is
copper. The ports are assigned to the faces of the coax so port2 will automatically move with the
coax body as the angle is changed.
Setup - Adapt at 5 GHz and do an interpolating sweep from 0.1 to 5 GHz. The defined Parametric
sweep in bend angle sweeps from 50 - 90o every 10o.
Note To view a port or boundary, select the desired item in the Project Tree. It is then highlighted
in the Model window and the properties will be displayed in the Properties window.
Selecting an object in the History tree will also display its properties.
After solving, you can view solution data by right-clicking on Setup1 and selecting Profile to display
the Solution dialog. You also view the Solution tabs for Convergence, Matrix Data, and Mesh
Statistics. To view the solution data for different bend angle values, click on the ellipsis [...] net to
the design variation box and select the variation of interest.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
To view the S Parameter frequency plots for all five bend_angle variations, double-click on XY Plot
1 under Results in the Project tree.
To see the shade plots of the electric field, double-click on Mag_E1 under Field Overlays>E
Field. To view all variations right-click on Mag_E1 and select Animate. In the Select Animation
window select New, and then select bend_angle for the swept variable in the setup pane. Then
click OK.
Coaxial Resonator
Description - A coaxial resonator model showing how to use the Eigenmode solver. The eigen
solver computes the resonant frequency and Q of the model. This example was taken from
Microwave Circuit Modeling Using Electromagnetic Field Simulation (D. Swanson Jr., W. Hoefer).
Model - A coaxial cavity. Walls are defined to have σ = 6.17 x 107 mho/m.
Setup - There are no defined sources in an eigen solution so you need only select the number of
modes to compute and the convergence criteria. For this model, only the first mode is computed.
For maximum accuracy, we need to use curvilinear elements. To verify that this has been set for
the model, go to HFSS>Mesh Operations> Initial Mesh Settings, and make sure “Apply
Curvilinear Elements” is checked.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note Selecting an object in the History tree will also display its properties.
After solving, you can view solution data by right-clicking on Setup1 and selecting Eigenmode
Data to display the Solution dialog. You also view the Solution tabs for Profile, Convergence,
and Mesh Statistics.
To view the resonant frequency and Q, select the Eigenmode Data tab on the Solution dialog.*
To view the shade plot, right-click on E Field under Field Overlays in the Project tree, and select
Update Plots.
* Data computed using a mode matching program are given in the reference. The results
presented are f0 = 1.87 GHz and Q = 5592.
Description - a simplified model of a four pin section of a connector. This is a driven terminal
design.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Model - the connector is configured with lumped ports on each end of the two inner pins. The two
outer pins are each grounded at both ends. The boards are FR4 and the connector body is
modified epoxy. A radiation boundary is applied to the surrounding airbox.
Setup - Driven Terminal Solution with adapt at 5 GHz. An interpolating sweep is also included that
has an upper frequency of 5 GHz and uses DC extrapolation at the low end.
Note To view a port or boundary, select the desired item in the Project Tree. It is then highlighted
in the Model window and the properties will be displayed in the Properties window.
Selecting an object in the History tree will also display its properties.
You can set an adapt frequency at 5 GHz with an interpolating frequency sweep from 0 to 5 GHz.
Since several frequencies are being solved in this design, you can set up an HPC Analysis to
distribute the frequencies resulting in efficient simulation.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
During the simulation, adaptive mesh refinement uses the Total Cores that are configured in the
HPC setup, while the number of cores used to solve each frequency point is determined by Total
Cores/Number of Tasks configured in the Analysis Configuration. On the Driven Solution
Setup dialog box, if you click the HPC and Analysis Options button and click Add, you can set
the Number of Tasks and the TotalCores on the Analysis Configuration window.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
After solving, you can view solution data by right-clicking on Setup1 and selecting Profile to display
the Solution dialog. You also view the Solution tabs for Convergence, Matrix Data, and Mesh
Statistics.
To view the S parameter plot show below, double click on XY plot1 in the Project Tree under
Results.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The coplanar waveguide CPW consists of a signal trace sandwiched between two coplanar
ground conductors. The width of the signal trace and the gap between the trace and the ground
conductors affect the characteristic impedance. Model a short length as shown below and to obtain
a longer length of the model you can deembed out of the port.
Define the ports such that only their faces touch the air box. The edges of the ports should not
touch the edges of the air box.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Define the Radiation boundary only along the thickness of the air box. Assigning a radiation
boundary on all surfaces of the air box in this model can make the port boundary to be conducting.
Define a perfect H boundary on the air box. The wave port touches a perfect H boundary and
therefore becomes an open circuit.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
So, the port boundary does not stay as a conductor anymore and almost mimics a “perfect open.”
This is because with the application of the perfect H boundary “behind” the wave port, the port
boundary becomes an open and will no longer be one of the conductors associated with the port.
Now with three conductors namely, the two grounds and the trace, there are two possible modes
that this structure can carry. Obviously, for the CPW structure we are interested in the center
conductor excited at a voltage with reference to the two sides (or what we arbitrarily call “ground”)
conductors at zero potential. Since voltage values can be arbitrary, this same mode could also be
considered as the center conductor at “0” volt with the two side conductors at some equal voltage
offset from the center conductor. In the terminal framework such a mode can be described as the
center conductor labeled “reference” conductor with the two outside conductors considered to be
the “terminals.” Then, by placing those two conductors at equal potential with respect to the center
conductor they can be defined as differential pair whose common mode is the aforementioned
mode of interest.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Notice from the plots below how the field gets trapped in the signal trace and dielectric.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Figure 8 S-Parameter plot for the differential pair (legend shown below)
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Related Topics
When using HFSS to model a transmission line it is not necessary to model the entire length
explicitly. Instead create a short section and to generate the desired length for the model you only
need to de-embed the appropriate distance from the wave port. For this model the explicitly solved
length was chosen as a dimension typical of the cross section such as spacing between conductors
or a conductor thickness. This is done to keep the 3D mesh as close to a high quality as possible.
So for a model of explicit length X and a desired simulation length Y one can de-embed from each
port (Y-X)/2.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Figure 3: Terminals
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Figure 4: E Field
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Corporate Feed
Description - A microstrip 8 way corporate feed. The model was originally created in ANSYS
Electronics Desktop. Export to HFSS was used to create this project. It is a Driven Terminal
design.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Model - The traces are defined as 2D objects with a finite conductivity boundary of copper. The
sources are all lumped ports with a 50 Ohm impedance. There is a surrounding air box with a
radiation boundary on the top and sides.
Setup - Adapt at 7.5 GHz and use Mixed Order for the Order of Basis function.
Note To view a port or boundary, select the desired item in the Project Tree. It is highlighted in
the Model window and the properties will be displayed. Selecting an object in the History
tree will also display its properties.
After solving, you can view solution data by right-clicking on the Setup and selecting Profile to
display the Solution dialog. You also view the Solution tabs for Convergence, Matrix Data, and
Mesh Statistics.
To view the shade plot of the E field, shown below, double click on MagE1 in the Project tree under
Field Overlays>E Field. To see a phase animation of this field plot, right click on MagE1, and
select Animation, Then click OK in the dialog.
The phase center is the point from which the electromagnetic radiation spreads spherically
outward, with the phase of the signal being equal at any point on the sphere. This example
illustrates a technique for using an optimization setup to search for the phase center.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
This allows the variable value to change the definition of the coordinate system and thereby
change a solved solution without invalidating it.
This allows far field quantities to be re-calculated when the relative coordinate system is
repositioned (demonstrated in the example by changing the value of the PhaseCenterZ
variable), without re-simulation.
The far field setup will also limit the angular range of the sweeping intrinsic (phi or theta).
3. Create an optimization setup to search for the phase center. The search will be efficient if
you have a rough idea on the location of the phase center. The expression to be optimized is
the peak to peak continuous angle of the quantity rEPhi. (The electric field of this antenna is
Phi polarized.)
4. Analyze the Optimization setup and view results via the View Analysis Result dialog.
The Z coordinate of the phase center will be the value of the post processing variable when
Cost is at minimum.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The following sections detail these steps for setting up an Optimetrics project to calculate the
Phase Center.
First create a post processing variable that you can use to define a relative coordinate system.
Set the Unit Type as Length, the Units. This example uses “in” for the units and the value as 1.
Click OK.
The PhaseCenterZ variable is listed as a Local variable with the Post Processing Type.
3. You can use the variable to define an offset relative coordinate system.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
In the example, the PhaseCenterZ variable defines the z coordinate of the origin for Phase
Center CS.
This variable allows you to change definition of the coordinate system during the optimization
process without invalidating solved solution.
Next, Use the Relative Coordinate System in a Far Field Setup Calculation.
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
In the example project, the radiation sphere setup is named Infinite Sphere - Phase Center CS.
This allows far field quantities to be re-calculated when the relative coordinate system is
repositioned (by changing the value of the PhaseCenterZ variable), without re-simulation.
The far field setup will also limit the angular range of the sweeping intrinsic (phi or theta). rEPhi and
rETheta are the quantities of interest, depending on the radiation direction of the antenna.
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
2. Click the Setup Calculations button to open the dialog for defining the Calculation
Expression.
You will define Optimization Goals designed to search for the phase center.
The expression to be optimized is the peak to peak continuous angle of the quantity rEPhi.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l The Over sweep field defines the range of the sweeping intrinsic, with Theta from -40 deg to
+40 deg. 0 deg is selected for the value of Phi.
l Return to the Setup Optimization dialog. Here you may need to scroll to the right to see and
set the Goal weight Condition to Minimize.
The “Minimize” goal condition doesn't require user to setup the goal value/weight and can be more
natural for antenna related application. However, users need to be aware of below restrictions.
l “Minimize/Maximize” can only be used when a single calculation quantity is being optimized.
l Optimetrics only supports one dimension of range reduction, that is, no nested range
function
l Only one sweep in the Calculation Range has multiple values, and
l A Range reduction function is used in the Calculation Expression
In the example project, OptimizationSetup2 uses the Minimize selection. For comparison, The
OptimizationSetup1 uses the <= Condition with a Goal of 0 and a weight of 1, subject to the Noise
setting of 0.0001. The final values for PhaseCenterZ in the two setups are very close.
The completed Goals for the Optimization setup2 for the example display as shown:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
For the Variables tab, you should check to include the variable used to define the relative
coordinate system. The search is restricted to a minimum of 5 in and a maximum of 10 in along the
Z coordinates of the relative coordinate system.
For the General tab, uncheck Update design parameters value after optimization. This permits you
to view a plot of the progress of the simulation.
Related Topics
Right-click on the Optimization Setup to view the short-cut menu and click Analyze to start the
simulation. Then right-click again, and select View Analysis Result to view the Post Analysis dialog.
Select the Plot radio button to watch the progress of the simulation.
The plot form of the results shows how the Optimization search progresses towards the lowest
cost.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The table form of the Results shows that the Z coordinate of the phase center is the value of the
post processing variable when Cost is at minimum.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Related Topics
Dish FEBI IE PO
This project shows the same simulation of the dish antenna by using the variations in the HFSS
solver over designs with different levels of approximations in the geometries. First we will describe
the HFSS designs followed by the HFSS-IE designs.
In this set-up a FEBI radiation boundary is applied on the air box that encloses the entire structure.
This radiation boundary uses integral equations in its solution. See the settings in the Radiation
Panel below. The Model exterior option is selected which uses FEBI method in the solution.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The air box is close to the structure; in the initial mesh settings the curve linear elements are turned
off. Typically, this design requires more RAM and CPU for its simulation than the other designs in
this project, and the simulation produces accurate results and takes longer.
In this design there is no feed network and we are using the FEBI boundary on the horn only while
the dish is in the IE region.
In this design instead of making the dish an IE region, a FEBI boundary is assigned on the air boxes
enclosing the dish and the horn.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The last HFSS design is the source project with the horn only. Default radiation boundary is used.
So, HFSS will use scattered field formulation since Radiation Only is selected. A wave port is
assigned on this horn as shown below and then, the design is solved to generate the fields which
are used in the IE designs explained in the next two sections that follow.
Here we increase the level of approximation in comparison with designs (1), (2), and (3) by
excluding even the horn (and the feed network). Using HFSS' Far Field Link as an Excitation
option, we can simply impose the fields from the Horn_Source_Project (i.e. design 4) onto the dish
without the coupling. As shown in the figure below we have retained only the dish in this design.
Although there is no horn, interaction between the horn and the dish is kept intact by way of Far
Field Incident Wave from the Horn_Source_Project. See the Excitation settings and the dish
below.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
See the IE Solution Setup panel for the General and Options tabs shown side by side. Note the
solver options used.
In this design a similar level of approximation as design 5 is used i.e. we retain only the dish and
impose the Far Field Incident Wave from the Horn_Source_Project. The geometry is similar to that
in design 5 except that we use a different solver for the simulation. Notice the settings in the IE
Solution Setup dialog box where we have selected the Use PO Solver radio button. Obviously, we
are using the Physical Optics solver.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Results
The E-field plot for the first project with the horn, dish, and the feed network is shown below.
Figure 9: E-Field Plot on the Feed and the 3D Polar Plot for the First Design
Figure 10: Dish DEBI with Only IE Using Horn and the 3D Polar Plot for the Second Design
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Description
The differential microstrip design comprises two copper traces and an FR4 substrate enclosed in
an air-box. The design in the following figure describes an efficient way to model a long
transmission line without explicitly drawing the desired length of the microstrip model. HFSS offers
a post processing feature called Deembedding that can be used to calculate the transmission line
characteristics by moving the reference plane of the wave port by the specified deembedding
distance.
Differential microstrip
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The dimensions of the copper traces, air-box, and substrate are defined by using variables. If you
click the design name on the Project Manager window, the Properties window displays all the
design variables.
Variable list
Double-click CreateBox under trace1 on the history tree to see the dimensions of the copper
trace.
trace1
In this model, trace2 was created from trace1 by right-clicking trace1 and selecting Edit >
Duplicate > Mirror. In the coordinate text boxes of the status bar, starting co-ordinates for the
base position was set to 0, 0, 0 and the normal position was set to 0,-1,0.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
By parameterizing with common variables and taking advantage of the model tree you can create
efficient designs in HFSS. Changing the value of one or more common variables ensures individual
objects to track with the geometry of the entire model appropriately.
On the Project Manager window, click GND and Rad1 to see the ground assigned on the bottom
face of this design, and the radiation boundary assigned on the top face and along the ZX faces as
shown in the following figure.
Note: You can also select the Boundary Display (Solver View) option from the HFSS menu
item and select the boundaries, ports, and terminals that you want to see in the design. In the
following figure, the ground and the radiation boundary appear highlighted since they are selected
on the Boundary Display (Solver View) dialog box.
Observe how the two ports are assigned in the remaining faces in the following figure.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note For guidelines on defining port size, see the section Assign Wave Ports for Terminal
Solutions in the online help.
The ports are deembedded with a negative distance outwards from the structure. The intent is to
solve the model of this minimal length and then deembed outwards from the ports using a negative
sign for the deembed distance to effectively add the extra length that you want to represent the
actual length of the model.
Note For more information about modeling long transmission lines, see the Applications for
Deembedding section in the Assign Excitation material in the online help.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
terminals
Right-click Excitations and select Differential Pairs to access the Differential Pairs dialog box.
differential pairs
Run this design at an adapt frequency of 20 GHz. Since a parametric sweep (look for
SpacingSweep under Optimetrics on the Project Manager window) is defined, this design is a
good choice for which HPC can be set up. On the Solution Setup dialog box, click the button to
open the HPC and Analysis Options window. Click Add and set the number of tasks and cores.
For example in HPC setup in the following figure, the design was simulated on a machine with 12
cores on it and the Number of Tasks is 3. In such a setup, 3 frequency points are solved in parallel
with 4 cores of matrix multiprocessing per frequency point.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
HPC setup
Note For more information about HPC, see HPC and Analysis Configuration Options
section in the online help.
While deembedding simplifies modeling long differential striplines and makes the solution process
efficient, the HPC setup further accelerates the simulation process.
Results
The results of the S-parameter plots with and without deembedding are shown below. The
deembedding operation adds the effect of phase delay and additional dielectric and conduction
losses to the resulting S-parameter calculated from this model.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
results
The following figure shows a differential pair stripline design, where two copper traces are
embedded in the substrate, which in turn is sandwiched between two ground conductors. Select
GNDs on the project tree of the Project Manager window to highlight the ground planes assigned
on the top and bottom faces of the stripline. These top and bottom ground planes are equipotential
surfaces.
stripline
The intent of this design is to draw only minimal lengths of the differential traces containing the two
conductors adjacent to each other (and the equipotential ground conductors) without explicitly
drawing the actual length throughout the entire trace route. By using a post processing feature of
Deembedding, transmission line characteristics can be calculated by moving the reference plane of
the wave port to desired locations along the trace route, depending upon the specified value of the
deembed distance. Such a design is an effective approach to simulate the actual model length. It
saves simulation time and uses minimal computational resources.
Excitations
To see both excitations at the same time, right-click the Excitations option on the Project
Manager window. Select List from the shortcut menu, and click the two wave ports listed in the
Design List dialog box. The wave ports assigned in the model with the deembedded lengths
appear highlighted in the design as shown in the following figure.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The deembed arrows point outwards from the structure since negative deembedding value of -(1in
- ModelLength)/2 was specified for each wave port. The Deembed Distance value is set on the
Post Processing tab of a wave port dialog box. The main purpose of such a design is to solve the
model of minimal length and then, by deembedding outwards from the ports, to represent the
actual length of the model. The terminals on a trace are shown in the following figure.
terminals on a trace
Run this design at a solution frequency of 20 GHz. Since the design has a parametric sweep (with
the trace edge-to-edge spacing defined by the variable S), it is a good choice for setting up HPC
analysis. From the Solution Setup dialog box, click the button to open the HPC and Analysis
window. Click the Add button to open the Analysis and Configuration window, where you can
set the number of available cores to use for this design.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
For example, in figure above, 16 cores are available on the machine in which the design was
simulated and number of tasks is 8. In such a setup, the sweep is run with 8 frequency points
solved in parallel by using two cores of matrix multiprocessing for each frequency point. When such
an analysis is executed on a single machine, the simulation is very efficient if the machine has
enough shared memory to accommodate 8 simultaneous solves. Otherwise the analysis can be
performed across multiple machines (that have HFSS installed in them) without requiring any
additional HFSS license for each machine
Note For more information about HPC, see HPC and Analysis Configuration Options
section in the online help.
While deembedding simplifies modeling long differential striplines and makes the solution process
efficient, the HPC setup further accelerates the simulation process.
Results
The following figure shows the S-parameter plots for the stripline.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
s-parameter plot
Helical Antenna
Description - a coax fed helical antenna with a dielectric support on a finite ground plane. The
antenna is designed to run at 3.5 GHz. A smaller virtual object is defined as the integration surface
for radiated field calculations. This is surrounded by an air box with a radiation boundary.*
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Model - the support is made of Teflon and the ground has as thickness of 0.5 in. The coax port is
internal and is capped by a conducting object. You can create a helix similar to this by using
Draw>User Defined Primitive>SysLib>Segmented Helix.
Setup - adapt at 3.5 GHz and use mixed order for Order of Basis function. Since this model has
open air regions and the tightly spaced helix it is a good choice for mixed order.
Note To view a port or boundary, select the desired item in the Project Tree. It is then highlighted
in the Model window and the properties will be displayed in the Properties window.
Selecting an object in the History tree will also display its properties.
For a further discussion on using integration surfaces and for more on creating sample
antenna designs, see the antenna design kit at https://support.ansys.com/.
Solve this design at an adapt frequency of 3.5 GHz and use Mixed Order for Order of Basis
Functions. This model has open air regions and the tightly spaced helix, so it is a good choice for
mixed order. Since this is a large problem, you can enable Domain Decomposition so that HFSS
automatically partitions the design into domains and solves them by separate processes. These
processes can be executed on separate networked machines, allowing the problem to be solved
with distributed memory. Before enabling solver domains, set up HPC on the Analysis
Configuration window so that there are at least 3 tasks dedicated for this simulation. You can
access the window from Tools > Options > HPC and Analysis Options and clicking the Add
button.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note For details see the Enable Domain Decomposition and Setting HPC and Analysis Options
sections in the online help.
Post Processing
After solving, you can view solution data by right-clicking on Setup1 and selecting Profile to display
the Solution dialog. You also view the Solution tabs for Convergence, Matrix Data, and Mesh
Statistics.
To view 3D plot of the antenna gain, look in the Project Tree under Results and double click on 3D
Polar Plot 1. To overlay the 3D plot on the model, click HFSS>Fields>Plot Fields>Radiation
Field to display the Overlay radiation field dialog. Check Visible for 3D Polar Plot 1, and set the
transparency and scale as desired.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
To view a 2D plot of the total gain, in the Project tree, double-click on Results - Radiation Pattern 1.
To view a 2D plot of the circular polarization pattern for this antenna in the φ = 0o cut, in the Project
tree, double click Results - Radiation Pattern 2.
You can add markers to the Radiation Pattern plots by right-clicking on the plot window and
choosing Marker>Add Marker.
Package Section
Description - a model of a section of a complex package. The model was created using ALinks
from an ANF file and is a driven terminal design.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Model - the model is two traces of a larger package. At one end are the bond wires that are excited
by lumped ports. The opposite ends terminate in ports at the solder balls. The substrate is FR4 and
a radiation boundary has been applied to the surface of the surrounding airbox.
Setup - driven terminal setup with an adapt frequency of 2.5 GHz. An interpolating sweep is also
included that has an upper frequency of 2.5 GHz and uses DC Extrapolation at the lower end.
Note To view a port or boundary, select the desired item in the Project Tree. It is then highlighted
in the Model window and the properties will be displayed in the Properties window.
Selecting an object in the History tree will also display its properties.
After solving, you can view solution data by right-clicking on Setup1 and selecting Profile to display
the Solution dialog. You also view the Solution tabs for Convergence, Matrix Data, and Mesh
Statistics.
To view the S parameter plot show below, double click on XY plot1 in the Project Tree under
Results.
To view the shade plot of jsurf, the surface current density, on one of the package planes, right click
on Jsurf under Field Overlays in the Project Tree and select update.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Description - A five element array of flared dipole antennas with a trough reflector. A post
processing variable has been defined that controls the element to element source phases, allowing
the resulting beam to be easily steered.
Model - The elements use a teflon substrate with 1.6 mm thickness. The excitations are lumped
ports. A radiation boundary is defined on an air box that is not show here. The post processing
variable is called phase_shift.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note To view a port or boundary, select the desired item in the Project Tree. It is then highlighted
in the Model window and the properties will be displayed in the Properties window.
Selecting an object in the History tree will also display its properties.
After solving, you can view solution data by right-clicking on Setup1 and selecting Profile to display
the Solution dialog. You also view the Solution tabs for Convergence, Matrix Data, and Mesh
Statistics.
To view the φ = 90o radiation pattern double click on Radiation pattern 1 under Results in the
Project tree. As stated the relative element-to-element phase shift in degrees for this array is
controlled by the phase_shift post processing variable. To verify this, go to HFSS>Fields>Edit
Sources where you will see the offset phase, defined as multiples of the variable phase_shift.
The easiest way to adjust the phase_shift variable is to click on the design name, HFSSDesign2, in
the Project tree. You will see the design variable displayed in the Properties window. You can
change the value of phase_shift in this window. The plot shown here is for a setting of 30o.
Pyramidal Horn
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Model - The horn has 0.02" wall thickness and is defined as PEC. The port is internal to the
solution region and is capped by a PEC object (cap). PMLs are included in the model and are
defined on the faces of air_box. Their visibility, by default, has been turned off.
Note To view a port or boundary, select the desired item in the Project Tree. It is then highlighted
in the Model window and the properties will be displayed in the Properties window.
Selecting an object in the History tree will also display its properties.
After solving, you can view solution data by right-clicking on Setup1 and selecting Profile to display
the Solution dialog. You also view the Solution tabs for Convergence, Matrix Data, and Mesh
Statistics.
To view 3D plot of the antenna gain, look in the Project Tree under Results and double click on 3D
Polar Plot 1. To overlay the 3D plot on the model, click HFSS>Fields>Plot Fields>Radiation
Field to display the Overlay radiation field dialog. Check Visible for 3D Polar Plot 1, and set the
transparency and scale as desired.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
To view a 2D plot of the dB gain total, look in the Project Tree under Results, and double click on
Radiation Pattern 1
A shade plot showing the fields on the Y-Z plane has also been created and can be viewed by right-
clicking on E Field under Field Overlays and selecting Update.
Ring Hybrid
Description - a ring hybrid that can be used as a splitter. Power input to the Sum port splits equally
between Ports 2 and 3 in phase while power input to Difference Port splits with 180o phase shift. It
can be used as a power combiner with power input to Ports 2 and 3. In that case, the sum of the
two inputs will be seen at Sum port and the difference at Difference port.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Model - This is a hybrid designed to operate at 10 GHz using stripline transmission lines. The
substrate is 40 mil Duriod 5880. The ports are defined on four of the faces of the substrate. Default
outer boundary (PerfE) is defined on the remaining faces. The trace is a 2D object with a PerfE
boundary.
Setup - Adapt at 10 GHz with interpolating frequency sweep from 8 to 12 GHz. Also, the model
includes an output variable called Diff_port_phase that computes the difference in phase between
ports 2 and 3 when the Difference port is excited.
Note To view a port or boundary, select the desired item in the Project Tree. It is then highlighted
in the Model window and the properties will be displayed. Selecting an object in the History
tree also displays its properties.
After solving, you can view solution data by right-clicking on Setup1 and selecting Profile to display
the Solution dialog. You also view the Solution tabs for Convergence, Matrix Data, and Mesh
Statistics.
To view plots of S parameter data you can open XY Plot 1. For a plot of Diff_port_phase, open XY
Plot 2. To view a shade plot, double click on Mag_E1 under E Field under Field Overlays.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
To view the shade plot as shown, change excitations so that ports 2 and 3 are excited by equal
amplitude and phase, using HFSS>Fields>Edit Sources.
To view a phase animation of the resulting shade plot, right click on MagE1 and choose Animation
from the menu.
The following figure shows the HFSS model of the GSSGSSG Stripline.
The figure illustrates a set of seven striplines composing a GSSGSSG dual differential pair
configuration. To reduce the coupling between the differential pairs there are 3 ground conductors.
Notice how the terminals are defined in the model shown below.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The grounding is accomplished when you renormalize the impedance of the ground conductors to
a very small value like 5e-6 (6 orders of magnitude below the other terminals set to 50 ohms).
Notice the contrast in the values of the terminal renormalizing impedance of a trace and a ground
conductor in the dialogs below.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
In the Post Processing tab of the Wave Port dialog box the deembedding distance = + (Simulation
Length - Model Length)/2 where Simulation Length and Model Length are the design variables.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Description - A coax fed quarter wave patch antenna will be tuned using the Adjoint Derivatives.
The antenna is shorted on one end. The design variable, feed_pos, controls the location of the
coax feed along the x direction. Derivatives of the S parameter w.r.t. this variable will be computed.
Model - The patch, shoulder, and ground plate are united into a single PEC object. The air filled
coax has an internal port that is capped by the PEC ground plate. The variable feed_pos controls
the value of X for the coax location in millimeters. The surrounding air box with radiation boundary
is not shown.
Setup - Adapt at 1.8 GHz., and do an interpolating sweep from 1.5 to 2 GHz. The derivative of the
S parameter data w.r.t. feed_pos about the default value of 10.8 mm is computed. This feature is
enabled in the Derivatives tab of the Setup1 window.
After solving, you can view solution data by right-clicking on Setup1 and selecting Profile to display
the Solution dialog. You also view the Solution tabs for Convergence, Matrix Data, and Mesh
Statistics.
To view the derivatives you can create a new plot by right clicking on Results and choosing Create
Modal Solution Data Report>Rectangular Plot. In the New Report Setup window, select
feed_pos in the derivative box and select the desired quantities to plot.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
To tune the design, double-click on XY Plot 2 under Results to open the plot shown. In a separate
project, the response for feed_pos = 10.5 and 11 mm was computed and the results from each was
imported into this plot. By right clicking on Results and choosing Tune Reports you can open the
Report Tuning dialog shown. As you adjust the slider, the plot is recomputed using the
derivatives. Adjust the Offset to -0.3 and +0.2 to compare to the imported feed_pos = 10.5 and
11mm results.
Related Topics
Twinaxial Cable
Twinaxial cables are used for in-rack connections between supercomputers to carry the
networking traffic. They are meant for the transmission of short-range signals. The following figure
illustrates a twinaxial cable (28 wire gauge) design, which comprises two inner conductors (S1 and
S2) made of silver, and a shield or drain made of aluminum enclosed in an air-box. The central
conductor is insulated with a dielectric layer.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The main intent is to draw a minimal length of the twinaxial cable and stretch it to any required
length by using the post processing feature of Deembedding. Such a design saves simulation time
and makes minimal use of computational resources and ensures efficient simulation, without
explicitly modeling the actual length of the cable.
The design is parameterized as shown. The geometry is drawn using the parameters and boolean
operations in such a way that all the individual objects that make up the geometry track with it. For
example, when you change the values of the variables appearing in the Properties window, the
model resizes accordingly and the objects with changed parameters are track with the geometry
appropriately.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Excitations
Right-click Excitations on the project tree and select List to open the Design List dialog box
where you can select the terminals and wave ports that are assigned on this design. In the
following figure, the two wave ports with their deembedding distances are highlighted.
Negative values of deembedding indicates that the wave ports are deembedded away from the
structure to stretch them to the required lengths. The transmission line characteristics are
calculated along the shifted reference plane due to the deembedding. Deembedding prevents
explicit drawing of the entire cable lengths. The following figure shows the 4 terminals assigned in
this design.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Run the design at an adapt frequency of 20 GHz. Since a parametric sweep is used (look under
Optimetrics), this design is a good choice to employ HPC. You can access HPC settings from
Tools > Options > HPC and Analysis Options. Click the Add button to open the Analysis and
Configuration window where you can set the number of cores and tasks for the HPC simulation.
For example in figure above, 16 cores are available on the machine in which the design was
simulated. In a set up of 8 tasks executed with these 16 cores, the sweep is run with 8 frequency
points being solved in parallel using two cores of matrix multiprocessing for each frequency point.
When such an analysis is executed on a single machine, the simulation is very efficient if the
machine has enough shared memory to accommodate 8 simultaneous solves. Otherwise the
analysis could be performed across multiple machines (that have HFSS installed in them) without
requiring any additional HFSS license for each machine.
Note For more information about HPC, see the sections Setting HPC and Analysis Options
and Editing Distributed Machine Configurations in the online help.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The advantage of deembedding is that it saves the trouble of explicitly modeling the long cable
lengths. Such a design is efficient and can be solved using minimum computational resources. By
using HPC, the solution time is further reduced.
Results
s-parameter plot
Description - A unit cell of an infinite phased array of vivaldi antennas is simulated using linked
boundaries and a Floquet port.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Model - the antenna is fed by a coax line with a wave port. The upper face of the unit cell is
terminated in a Floquet port. The sides are two pairs of Master and Slave boundaries. The
substrate εr = 6 and is 1.27 mm thick. The conducting traces are 2D objects with PerE boundaries.
Setup - Adapt at 4.5 GHz with an interpolating sweep from 2 to 5 GHz.
Note To view a port or boundary, select the desired item in the Project Tree. It is then highlighted
in the Model window and the properties will be displayed in the Properties window.
Post Processing
After solving, you can view solution data by right-clicking on Setup1 and selecting Profile to display
the Solution dialog. You also view the Solution tabs for Convergence, Matrix Data, and Mesh
Statistics.
To view a plot of active S parameter seen at the feed, look in the Project tree and double-click on
XY Plot1. To view the modes present on the Floquet port click on the desired mode under Port
Field Display>Floquet Port 1 in the Project tree, and a vector plot of the mode will be displayed.
This design was analyzed in “Analysis of Periodic Structures via a Time-Domain Finite-Element
Formulation with a Floquet ABC,” L.E.R. Peterson et al., IEEE Trans, AP, March 2006, pp 933-
944. You will see the plot computed here agrees nicely with Fig. 9b in the reference.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Via Model
Description - a model of a differential via pair. It has a pair of microstrip lines that transition
through the vias to a pair of striplines on a lower layer. This model was created using the Via
Wizard.
Model - the two microstrip lines are each assigned a terminal in the coupled microstrip port.
Likewise for the two striplines at the opposite end. The conductors are copper and a radiation
boundary is applied to the air box.
Setup - adapt at 4.38 GHz with an interpolating sweep that has an upper frequency of 4.38 GHz
and uses DC extrapolation at the lower end. Mixed Order is set for Order of Basis Function.
Note To view a port or boundary, select the desired item in the Project Tree. It is then highlighted
in the Model window and the properties will be displayed in the Properties window.
Selecting an object in the History tree will also display its properties.
After solving, you can view solution data by right-clicking on Setup1 and selecting Profile to display
the Solution dialog. You also view the Solution tabs for Convergence, Matrix Data, and Mesh
Statistics.
To view the S parameter plot shown below, double click on XY plot1 in the Project Tree under
Results.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Antennas
l Components
l Filters
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l FSS
l Signal Integrity
The HFSS/Antennas examples directory also includes the Dish_FEBI_IE_PO project which
contains versions using both HFSS and HFSS-IE. For more information, see Dish FEBI IE PO.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
A new project called Projectn is automatically created when the software is launched. By option, a
design named Designn is automatically created for a new project. You can also open a new project
by clicking File>New. In general, use the File menu commands to manage projects. If you move or
change the names of files without using these commands, the software may not be able to find
information necessary to solve the model.
l When you open a legacy project in interactive mode, the Desktop pops up a dialog informing
you that the legacy file extension is no longer supported, and that if you continue, the project
will be converted to the new .aedt extension. If you agree, then the project and results
directory is renamed/moved to the new file extensions immediately. The read continues with
the standard code for reading previous version projects.
l Attempts to run batch solve or non-graphical with a legacy project returns an error. We will
not do any automatic / hidden conversion of file extensions. Note that the existing BatchSave
command can be used to convert many projects to the new extension and version.
l WB integration was not modified with this latest change. It continues to open legacy projects
without a warning, and copy results from legacy to the new extension.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
HFSS Files
When you create an HFSS project, it is given an .aedt file extension and stored in the directory you
specify. Any files related to that project are also stored in that directory.
Some common HFSS file and folder types are listed below:
Related Topics
Projects
Creating Projects
Saving Projects
Deleting Projects
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Creating Projects
To create a project click File > New or on the Desktop tab of the ribbon, click the New icon:
A new project is listed in the project tree. It is named Projectn by default, where n is the order in
which the project was added to the current project folder.
You can insert designs of any type into the project where they are stored in the project tree.
The default name for each inserted project is <designType>n. You can also specify the name of the
project when you save it using the File>Save or File>Save As commands.
You can view the contents of a project by clicking the + sign for each level of the hierarchy in the
project or design.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Related Topics
Projects
Creating Projects
Saving Projects
Deleting Projects
l Basic electromagnetic field quantities and, for open boundary problems, radiated near and
far fields.
l Characteristic port impedances and propagation constants.
l Generalized S-parameters and S-parameters renormalized to specific port impedances.
l The eigenmodes, or resonances, of a structure.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
You are expected to draw or import the structure, specify material characteristics for each object,
and identify ports and special surface characteristics. HFSS then generates the necessary field
solutions and associated port characteristics and S-parameters.
Note If you are using the Eigenmode Solution solver, you do not need to specify sources for the
problem. HFSS calculates the resonances for the model based on the geometry, materials,
and boundaries.
As you set up the problem, HFSS allows you to specify whether to solve the problem at one
specific frequency or at several frequencies within a range.
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
5. For Driven solution-type designs, assign excitations - sources of electromagnetic fields and
charges, currents, or voltages on objects or surfaces.
For Composite Excitation Solutions, you provide a complete set of excitations via the Edit
Sources dialog before solving.
Note After a period of idleness of 10 minutes, HFSS gives up its license. A renewal of activity
automatically requests a license. Such idle notifications do not occur during solves.
l Click Project>Insert HFSS Design or on the Desktop tab of the ribbon, click the HFSS
icon:
l You can also use the Desktop tab ribbon to select HFSS from the drop down menu under
the HFSS icon:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The new design is listed in the project tree. It is named HFSSDesignn by default, where n
is the order in which the design was added to the project.
By option, you can also set General Desktop configuration option to Insert a design of type
HFSS by default when creating a new project. See General Options: Desktop Configuration.
The 3D Modeler window appears to the right of the Project Manager. You can now create the
model geometry.
Note Click the plus sign to the left of the design icon in the project tree to expand the project tree
and view specific data about the model, such as its boundary assignments.
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
For the Driven Solutions, specify whether to use Network Analysis or Composite Excitation.
3. For open region problems (typically antennas), you can choose Auto-Open Region. The
option is available for Driven modal, terminal and transient solution type. This automatically
creates an open region and a predefined Analysis setup for the project. You can select
whether the region is Radiation, FE-BI, or PML. This simplifies the design process. If you do
not choose Auto-Open Region, you must create an airbox and then assign a radiation
boundary, either manually, or using the Create Open Region command. For more
information on this Solution setting, see Using Auto-Open Region for the Solution Type for
Antenna Designs.
Related Topics
The Composite Excitation Solution type for Driven Model, Driven Terminal, and Transient provides
a way to quickly solve fields in a large frequency domain problem.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
For Driven Model and Driven Terminal, you provide a complete set of excitations before solving.
Those excitations will be accessed via the Edit Sources dialog, and the resulting excitation vector is
passed to the solver. The solver will solve only that set of excitations, and will produce:
Using the Edit Sources dialog, you define a set of excitations as input to the solver. The right click
menu on the selected excitation will bring up an Edit Sources dialog limited to display excitations
to the selected excitation (voltage, current, terminal) or to the terminals and modes of a selected
wave port. The right click menu on the excitation folder in the project tree will bring up the full Edit
Sources dialog. Edit Sources is available from the Fields folder.
When the solution type is single excitation, the Edit Sources dialog will hide the total voltage and
apply port post processing options - these are not supported in this mode. The buttons to load and
store excitation vectors are fully supported.
The Edit Sources dialog can show either the complete excitation vector or be limited to the vector
for a single excitation. The latter functionality is available in the network versions of Driven
Terminal, Driven Modal, and Transient.
The Load and Save functions in Edit Sources will be available in both network and non-network.
The solver will produce a single field file for each solved variation. This field file (and its header) will
occupy the same directory structure as was used for network solutions.
The solver will produce a single vector of Active S parameters. That data will occupy a single
column of the network data solution which would have been produced by a network solve. The
network data will include port Zo and gamma.
Field reports and field overlays will be available as in a Network Analysis solution.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Port field displays are supported as for Network Analysis. That is, port fields represent a uniform
excitation at each port, NOT for the excitations specified by the user in Edit Sources. The reason
is that we still need to solve the ports individually (even non-excited ports) before applying the user
excitations.
Related Topics
Using Auto-Open Region for the Solution Type for Antenna Designs
In Auto-open region mode, the workflow eliminates as much as possible the required interactions
from a user and allows you to get to a robust solution quickly. It is intended for those who do not
want to worry of the region and the exterior radiation boundaries. The option is available for Driven
modal, terminal and transient solution type. You can save this option as a user default.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
In an open problem, an air volume encompassing the outer radiating surfaces is modeled by a
surrounding object. Radiation boundary conditions (ABC, PML or FEBI) are assigned to the outer
radiating surfaces (i.e. faces of the region) to absorb all outgoing waves
If you have selected Auto-Open Region, HFSS automatically creates the region object or
PML objects, the radiation boundaries or hybrid region according to your selection as Radiation,
FE-BI, or PML, though these objects are hidden (not shown in the Project tree or History tree or
listed in the Visibility dialog) unless you subsequently uncheck Use Auto-Open Region. In the
case of PML, the PML Materials are hidden with Auto-Open (not listed under the
Definitions>Materials folder in the Project tree), unless you subsequently uncheck Use Auto-
Open Region. Rechecking Use Auto-Open Region leaves the PML for the previous auto-open is
still visible.
Selecting Use Auto-Open Region also creates a Solution Setup called Auto1.
Selecting Use Auto-Open Region also creates three far field setups, as follows:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l ‘3D’ is a full sphere, Phi = 180 to 180 step 2, Theta = 0 to 180 step 2
l ‘Elevation’ will be Phi = 0 to 90 step 90, Theta = 180 to 180 step 1
l ‘Azimuth’ will be Phi = 180 to 180 step 1, Theta = 90 to 90 step 0
HFSS applies the most appropriate out-of-the-box settings based on the geometries and the
operating frequency. You do not need to (and cannot) edit these settings directly.
This mode restricts the design to a single solve setup. You cannot manually create the region
object, radiation boundaries or PML in this mode. Infinite ground plane, metallic IE region,
master/slave and symmetry boundaries are also not allowed.
l Region padding for ABC is = min(L/2, Lambda/3) and the default for FEBI (exterior as
HFSS-IE Domain) = min(l/2, Lambda/8), where L is the diagonal of the device's bounding
box and Lambda is the wavelength of the adaptive frequency of the solve setup. The region
is automatically resized when users edit the solve setup's adaptive frequency. Initial meshes
and solutions are invalidated when the region is resized.
l ABC assigned on the region object, with the user's selection of 1st order ABC or FEBI
(HFSS-IE Domain)
l PML objects are created and resized automatically, invalidating solutions when a region is
resized.
The region object is not listed in the command history, not visible in the View window and its
definition cannot be edited directly. Similarly, the radiation boundary is not listed in the project tree,
not visible in the View window and cannot be edited. This boundary is enforced to the lowest
priorities.
Because the region padding is automatically defined and not displayed, you cannot select faces
from those regions for plots. However, you are able to create plots on the Global XY, XZ, or YZ
planes.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
If you turn off the Auto-Open Region setting, the Radiation boundary becomes visible in the
modeler window and as a Boundary called AutoOpen1 in the Project tree, and the region appears
in the history tree.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
In the case when you turn off the Auto-Open Region setting for a FEBI boundary, the Project tree
shows a Hybrid region labeled AutoOpen1.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
In the case when you turn off the Auto-Open Region setting for a PML boundary, the Project tree
shows a set of PML_radiationn boundaries.
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note After a period of idleness of 10 minutes, HFSS gives up its license. A renewal of activity
automatically requests a license. Such idle notifications do not occur during solves.
l Click Project>Insert HFSS 3D Layout Design or in the Desktop ribon, open the drop
down menu under the HFSS icon and select HFSS 3D Layout:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The new design is listed in the project tree. It is named HFSS3DLayoutDesignn by default,
where n
is the order in which the design was added to the project.
By option, you can also set General Desktop configuration option to Insert a design of type
HFSS 3D Layout by default when creating a new project. See General Options: Desktop
Configuration.
The 3D Modeler window appears to the right of the Project Manager. You can now create the
model geometry.
Note Click the plus sign to the left of the design icon in the project tree to expand the project tree
and view specific data about the model, such as its boundary assignments.
Related Topics
Converting 2D XY Model to 3D
To create a 3D design from an existing 2D XY design:
2. Enter a value in the Length along z-axis box to obtain a swept length of the model.
3. Choose the desired units of the sweep distance entered from the pull-down menu.
4. Click OK to create the 3D design.
The modeler creates a new design within the current project and generates the 3D model within
the new design. All material properties and material assignments are copied to the new design.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Opening Projects
Open a previously saved project using the File>Open command.
1. Click File> Open or on the Desktop tab of the Ribbon click the Open icon:
If you open another project without editing the automatically-created project, the automatically-
created project is removed.
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
This displays a browser open to the Examples folder in the product install. Current examples are
contained in the Electronics Desktop folder. You can select from various display styles for the
folders and projects. The Examples folders are write-protected, so you must save the project to a
writable folder before you can run the solver.
Related Topics
Example Projects
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Click the name of the project file at the bottom of the File menu.
If you open another project without editing the automatically-created project, removes the
automatically-created project.doc.
Related Topics
Projects
Creating Projects
Saving Projects
Deleting Projects
When you open a legacy project, virtually all of the project 's pre-processing data is translated.
Solution results and Optimetrics setup data are unavailable; however, the nominal model created
for Optimetrics is translated.
HFSS 18 translates all HFSS 10 data. It does not open projects created in Ansoft HFSS version
8.5 or earlier. HFSS 10 can be used to translate earlier projects. Virtually all of the project's pre-
processing data is translated. Note that solution results and Optimetrics setup data are unavailable;
however, the nominal model created for Optimetrics is translated.
Following are additional notes about the translation of various legacy project information.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l View visualization settings apply to the saved design. If these have been
changed from the default (15 deg), this affects the memory and CPU
required to open the project.
Excitations l HFSS Port impedance and calibration lines become integration lines in
and HFSS version 10. If the legacy project contained both impedance and
Boundaries calibration lines, impedance lines are translated and calibration lines are
ignored. If the project contained both impedance and terminal lines, both are
translated. The impedance lines will be ignored for Driven Terminal solutions
and terminal lines will be ignored if the project is changed to a Driven Modal
solution.
l Boundaries assigned to named interface selections or rectangle selections
are not translated.
l For a boundary assigned to the intersection of two faces, a new 2D sheet
object is created from the intersecting area and assign the boundary to that
object.
Hybrid l Radiations Boundaries with FEBI become Hybrid Regions assigned as
Regions FEBI.
Materials l Functions defined in legacy projects become project variables in version 10;
therefore, functional material properties are translated.
l Perfect conductors become regular materials with conductivity values of
1E30.
l Object coordinate systems are created for objects assigned anisotropic
materials in legacy projects. The coordinate system is defined at the same
origin as the global coordinate system, with the same orientation defined
when the anisotropic material was assigned to the object in the legacy
project.
l Nonlinear materials from legacy projects that have magnetic saturation
values greater than zero are treated as ferrite materials in version 10. Their
properties are not modified.
Mesh l Mesh refinement operations performed on arbitrary boxes in legacy projects
Operations are ignored.
l Area- and volume-based mesh operations are translated as length-based
mesh operations in version 10 by taking their square roots and cube roots,
respectively.
Optimetrics l Setup information, including design variables, is not supported; however, the
nominal model can be translated.
l Parameterizing a translated model is limited because geometry construction
history is unavailable.
Solution l Driven solver projects that contained terminal lines are translated to Driven
Types Terminal solution types in version 10.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note Legacy Circuit (Serenade) projects (.ssp extension) do not open correctly from the File
Open dialog. Contact ANSYS Technical Support for assistance in converting legacy
projects. Opening an ANSYS Neutral File project (.anf suffix) begins with a conversion
dialog. See Importing ANF Design Data. ANF data can be used by the Planar EM
simulator.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Closing Projects
To close the current project, select File > Close or select the Desktop tab of the ribbon and click
the Close icon.
If a simulation is running, a message appears stating that if you continue, the simulation will abort
before closing. If you click OK, the Desktop aborts the simulation and closes the project.
Related Topics
Projects
Creating Projects
Saving Projects
Deleting Projects
Saving Projects
Use the File>Save As command to do the following:
Use the File>Save command or select the Desktop tab of the Ribbon and click the Save As
icon to save the active project.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Each solver has a "Save before solving" setting located in the Tools>Options dialog under
<solver>General; by default, this setting is on. However, for efficiency reasons, the project is only
saved if it has been modified since its last save.
A prompt appears when you attempt to save a previously-versioned file. If you agree to the prompt,
the file is upgraded to the ANSYS Electronics Desktop version in which you are running the
software. In this case the file may no longer be compatible with previous versions. If you do not
agree to the prompt, the file is not saved, so the file retains the previous compatibility.
If you have a simulation running, you see a warning that if you continue, ANSYS Electronics
Desktop will abort the simulation. If you OK the warning, ANSYS Electronics Desktop aborts the
simulation and saves the project.
Related Topics
Deleting Projects
Archiving Projects
1. Click File> Save As or on the Desktop tab of the ribbon, click the Save As icon:
2. Use the file browser to find the directory where you want to save the file.
3. Type the name of the file in the File name box.
4. Use the correct file extension for the file type.
5. If the window has a Switch to saved option, do one of the following:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Leave the option selected to display the new file name, and then close the current file.
l Cancel the Switch to saved selection to save the file under the new name without
changing which file is displayed.
6. Click OK.
ANSYS Electronics Desktop saves the project to the location you specified.
Warning Be sure to save geometric models periodically. Saving frequently helps prevent the
loss of your work if a problem occurs.
Related Topics
l Click File>Save or any of the Ribbon tabs, click the Save icon:
ANSYS Electronics Desktop saves the project over the existing one.
Warning Be sure to save geometric models periodically. Saving frequently helps prevent the
loss of your work if a problem occurs.
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
1. Click File>Save As or on the Desktop tab of the Ribbon, click the Save As icon:
2. Use the file browser to find the directory where you want to save the file.
3. Type the name of the file in the File name box.
4. Select the desired file extension for the file type.
5. If the window has a Switch to saved field, do one of the following:
l Leave the field selected to display the new file name, and then close the current file.
l Cancel the Switch to saved selection to save the file under the new name without
changing which file is displayed.
6. Click OK.
ANSYS Electronics Desktop saves the project with the new name or file extension to the
location you specified.
Related Topics
Renaming a Project
In general, use the File menu commands to manage projects. If you move or change the names of
files without using these commands, the software may not be able to find information necessary to
solve the model. To rename an existing, active project:
The new project name appears in the directory and the project remains in the original location.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Related Topics
With auto-save activated, after a problem occurs, you may be able to choose to re-open the original
project file (Projectn.aedt), in an effort to recover the solution data, or open the auto-save file. If the
original file is not available, attempting to open the file provides a message that the autosave is
being used. If neither file is available, an error message is displayed.
3. In the Autosave interval box, enter the number of edits that you want to occur between
automatic saves. By default, this option is set at 10.
Note Auto-save always increments forward; therefore, even when you undo a command,
ANSYS Electronics Desktop counts it as an edit.
Once the specified number of edits is carried out, a "model-only" save will occur. This means
that ANSYS Electronics Desktop does not save solutions data or clear any undo/redo history.
When ANSYS Electronics Desktop auto-saves, an ".auto" extension is appended to the original
project file name. For example, "Project1.aedt" will automatically be saved as
"Project1.aedt.auto".
Warning When you close or rename a project, ANSYS Electronics Desktop deletes the auto-
save file.ANSYS Electronics Desktop assumes that you have saved any desired
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Related Topics
The Tools>Options command displays an Options dialog. Select the Solver of interst and select
General to see a check box for an automatic Save Before Solve option. The main purpose is to
force a full save before running the solve.
In the case where you start a solve while another solve is running, and the Save Before Solve
option is set, ANSYS Electronics Desktop asks if you want solve without saving first. This lets you
do multiple solves, and if you have not edited the project in between solves, crash recovery will
work. In any case, you can start a new solve while running another without having to abort the
running solve.
Related Topics
Following a sudden workstation crash or other unexpected problem, you can recover the project
data in its auto-save file.
Warning When you recover a project's auto-save file you cannot recover any solutions data;
recovering an auto-save file means you will lose any solutions data that existed in the
original project file.
The Crash Recovery window appears, which gives you the option to open the original project
file or the auto-save file.
3. Select Open project using autosave file to recover project data in the auto-save file,
and then click OK. ANSYS Electronics Desktop replaces the original project file with
the data in the auto-save file.
ANSYS Electronics Desktop immediately overwrites the original project file data with the auto-
save file data, removing the results directory (solutions data) from the original project file as it
overwrites to the auto-save file.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Warning If you choose to recover the auto-save file, you cannot recover the original project file
that has been overwritten; recovering data in an auto-save file is not reversible.
Related Topics
Deleting Projects
To delete a project:
A dialog displays the message: "The project selected and all its files will be deleted from the
permanent storage medium. Click OK to proceed."
Related Topics
Projects
Creating Projects
Saving Projects
Archiving Projects
Use the File>Archive command to place a project and any other files related to the project that
you want to include in a <product>z file or zip format archive. You can make notes about the
contents of the archive and specify whether to include results and solutions files. The Archive
command attempts to automatically detect the necessary files for linked projects and automatically
include them in the archive. You can also add additional files to the archive, including results files,
external files and projects. For example, if a project linked to the main project also has linked or
associated files, you can add them.
Internally, project archive files are .zip files, and are compatible with any program that can read .zip
files (e.g. WinZip, 7Zip). The naming convention is that project archive files will have an extension
that is unique for each product. The extension is generated by adding a 'z' to the project file
extension (e.g. .aedtz, .adsnz). This extension will be displayed as the default when saving and
restoring archive files. Note that we also display .zip as a possible filter in the file selection dialogs.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Archive Preview
The Archive command includes a preview feature that lets you review the contents of a planned
archive.
1. Click File>Archive or select the Desktop tab of the ribbon, and click the Save Archive icon:
Archive Notes: you can specify notes that will be visible when previewing the archive. These
notes can be viewed from the preview dialog without actually restoring the archive.
External Files: selecting this check box will cause all external files to be included in the archive.
The External Files check box refers to any existing files associated with the project, such as
linked files, or files added through the Project>Insert Documentation File command or
Project>Data Set command.
Results Files: selecting this check box will cause the entire results directory to be included in the
archive. This may greatly increase the size of the archive file.
Clicking Additional Files opens the Add Additional Files to Archive dialog.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
From here, you can click Add to open a file browser to locate any additional files you want to
include in the archive. You can select and the Remove any files listed. You can OK or Cancel
any proposed changes.
2. Select any optional items, and make any desired Archive notes in the text field
3. When you have made your selections for Optional items, you can select Preview Archive to
look at the archive contexts, and the locations for the archive and where restoring from the
archive would place them.
Checking the Results option would archive those files to the Preview would show the results
files.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
To read longer locations, you can drag the column header to expand them. For longer lists, you
can use the scroll bar to view more of the list.
Previewing an archive before creating the archive can be helpful in order to see exactly what
files will be included in an archive, as well as how those files are being relocated. Another
purpose of previewing an archive is to view warnings and consider if any additional files need to
be added to the archive.
The preview dialog also displays the archive notes, creation date, and number of included files.
4. When you are ready to create the archive, close the preview, and specify the format you
want to use, Ansoft <product> Project archive (<product>z) or zip, and specify the archive
location and name. Click OK to create the archive.
File Relocating
In a project to be archived, external files can be located anywhere on the user's system. One of the
goals is for the restored project to be relatively self contained, and to NOT allow the restoring of an
archived project to haphazardly write files anywhere on the restoring user's system.
To achieve this, it is sometimes necessary to change the location of files in the archived project
such that the external files are now located in the project directory. At archive time, any external
files not located in the project directory are relocated to the restored_files subdirectory of the
project directory in the archived project. Any external files located in the user library or system
library will be relocated to the personal library directory. Note that the project file that is written into
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
the archive will be updated to refer to the files at the new locations, and the original project file will
remain unaltered.
Related Topics
This displays an Archive to Restore browser window that lets you navigate your file system
for archive files of *.aedtz, legacy <solversuffix>z or *.zip.
2. If you select a valid archive file, you can click View Archive Contents to preview the contents.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The preview dialog will show the same warnings that were generated at archive time, and these
warnings may be useful to identify additional steps that are needed to update any files to refer to
files which had to be manually added to the archive.
You can edit the file name, and check options to Overwrite existing files and to Open project
after restoring.
Overwrite existing files: If this button is checked, the restored files will automatically overwrite
existing files during the restore process. If this button is unchecked, existing files will not be
modified.
Open project after restoring: If this button is checked, the project will be opened in this
instance of the application after all files have been restored.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
While restoring an archive, a dialog is displayed showing the restore results. The progress bar
shows the relative progress, and the text window displays only important information and
warnings.
A full log file is also generated which contains detailed information about the restore process.
The first line in the text window displays the location of the full log file. After the restore has been
completed, the user can click "View Full Log" to view this log file, or they can use a text editor
and open the file at the specified location.
Related Topics
Archiving Projects
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Here you specify a User ID, Password, and Server address. You can then browse for and select
the files needed.
For File Libraries Access, clock File>Download From Server>Other Files. This opens the File
Library Access dialog.
Here you specify a User ID, Password, and Server address. You can then browse for and select
the files needed.
Undoing Commands
Use the Undo command on the Edit menu to cancel, or undo, the last action you performed on the
active project or design. This is useful for undoing unintended commands related to
project management, model creation, and post-processing.
Note You cannot undo an analysis that you've performed on a model, that is,
the HFSS>Analyze command.
Note When you save a project, ANSYS Electronics Desktop always clears the entire undo/redo
history for the project and its designs.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Related Topics
Redoing Commands
Redoing Commands
Use the Redo command on the Edit menu to reapply, or redo, the last action that was canceled, or
undone. You can redo a canceled action related to project management, model creation,
and post-processing.
Note When you save a project,ANSYS Electronics Desktop always clears the entire undo/redo
history for the project and its designs.
Related Topics
Undoing Commands
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Related Topics
Saving Projects
1. Select a project or design in the project tree in Project Manage Window to enable the menu
command Edit>Copy.
2. Click Edit>Copy. The project or design is copied for pasting.
1. Select a project or design in the project tree in Project Manage Window to enable the menu
command Edit>Paste.
2. Click Edit>Paste. The project or design is pasted under the selected project, an icon is
added to the project tree.
Validating Projects
Before you run an analysis on a model, it is very important that you first perform a validation check
on the project. When you perform a validation check on a project, the solver runs a check on all the
setup details of the active project to verify that all the necessary steps have been completed and
their parameters are reasonable.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
HFSS checks the project setup, and then the Validation Check window appears.
2. View the results of the validation check in the Validation Check window.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
4. If the validation check indicates that a step in your project is incomplete or incorrect, carefully
review the setup details for that particular step and revise them as necessary.
5. Click HFSS>Validation Check to run a validation check after you have revised any setup
details for an incomplete or incorrect project step.
6. Click Close.
Related Topics
l The Warning Only entity check setting allows all models to pass 3D Model validation
regardless of any faults that are found (acis_entity check errors). These faults are posted in
the message window as warnings.
l The Basic entity check setting allows most models to pass 3D Model validation. This
excuses non-manifold errors and most acis_entity_check errors. Some faults are flagged as
model errors (basic entity check errors), thereby prohibiting a design from proceeding to the
meshing stage of an analysis. You must either correct such errors before attempting to
analyze the design under the Basic setting, or change the Model Validation level to
Warning Only.
l The Strict entity check setting enforces a tighter tolerance for model faults than the
"Warning Only" and "Basic" settings. All model faults that are found during 3D Model
validation are posted to the message window. These errors must be corrected before
attempting to analyze the design under the Strict setting, otherwise you must change the
Model Validation level to Basic or Warning Only.
The Design Settings dialog box appears. The Validations tab lets you set the validation as
basic, strict, or warning only and includes solver specific selections.
2. Choose the desired level of validation from the Entity Check Level pull-down menu.
You can also click the Save as Default button to make the current selection the default. You
can select the Restore Default button.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Related Topics
Model Analysis
Analyze Objects
Interobject Misalignment
Heal
Align Faces
Remove Faces
Remove Edges
Exporting Files
You can export the following types of files from ANSYS Electronics Desktop projects:
Related Topics
Note If you want to export a plane that does not coincide with the global xy plane, you must
create a relative coordinate system to redefine the location of the origin.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Related Topics
2. Use the file browser to find the directory where you want to save the file.
3. Enter the name of the file in the File name box.
4. Select the desired 3D model file format from the Save as type pull-down list.
5. Click Save.
Extension Contents
.sat ACIS geometry solid model files.
.sm3 Ansoft 3D Modeler files in ACIS version 2.0 or greater.
.anstGeom Ansoft Geometry File supporting UDMs and CAD integration with the Workbench.
.dxf, .dwg AutoCAD Drawing Interchange Format files. The .dxf export now includes true arc
support, closed wires, and more precise ellipses and splines.
.model, .model - CATIA 4.1.9 to 4.2.4
.exp
.Catia V5 R6-R23 Export Files
.gds GDSII files
.iges, .igs Industry standard Initial Graphics Exchange Specification (IGES) files 5.3. AN
additional license is required.
.x_b, .x_t Parasolid Binary Files.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Extension Contents
Parasolid Text Files
.sab Standard ACIS binary.
.step, .stp Industry standard AP214 STEP files. An additional license is required.
6. If you selected .sat or .sat .sm3, the Select Version dialog box appears. Do the following:
l Click an ACIS version in which to export the model from the ACIS SM3 or SAT Version
pull-down list, and then click OK.
7. Click Save. Unless you selected GDSII, the file is exported to the specified location as a 3D
model file. If you selected GDSII, the GDSII Export dialog appears.
l If the model has been defined with layers, those layers are listed by layer number in the
table, with columns for Layer Name, Layer Number, Elevation in units. There is a check
box to specify whether to include the layer in the exported file.
l If you have defined a layer map file for the model, the Layermap button opens a browser
for you to open that file before export. The *.layermap file is a text file that maps the GDSII
layer numbers to layer names in the stackup. The *.layermap file can have the same
format as the .tech file used in GDSII import, but it only needs the layer name and number
in the file. In a *.layermap file, other information is ignored.
l In the Polygon Vertices area, check a radio button to select either No Limit to the
number of vertices or Limit the number of vertices to a specified value.
l For Arc tolerance, specify a value or accept the default.
8. Click the OK button in the GDSII Export dialog to complete the export. The file is exported to
the specified location.
Related Topics
Extension Contents
.bmp Bitmap files.
.gif Graphics Interchange Format files.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Extension Contents
.jpeg Joint Photographics Experts Group files.
.tiff Tagged Image File Format files.
.wrl Virtual Reality Modeling Language (VRML) files.
Related Topics
Exporting Reports
You can export reports in a variety of text and graphic formats. You must have an existing plot open
to see the corresponding Report2D or Report3D menu.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
2. Use the file browser to find the directory where you want to save the file.
3. Type the name of the file in the File name box.
4. Select one of the following file formats from the Save as type pull-down list:
Extension Contents
.csv Comma-delimited data file
.tab Tab-separated file
.dat Ansoft plot data file
.txt Post processor format file
.rdat Ansoft report data file
.emf Microsoft EMF files
.gif GIF files
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Extension Contents
.bmp BMP files
.wrl VRML files
.tif, .tiff TIFF files
.jpg, .jpeg JPEG files
5. For 2D Reports, by option, you can check Export Uniform Points, and specify a full sweep
range by editing start, stop and step values.
6. Click Save. The report is exported to the specified location in the selected data or graphical
format.
Related Topics
Importing Files
You can import the following types of files to HFSS or HFSS-IE:
l 2D model files
l 3D model files
l Solution data files
l Data table files
l HFSS or HFSS-IE Plot Data
l Plot Data (comma delimited files)
Object, material, and parameter names with non-ASCII characters are not allowed, and therefore,
not allowed for data transfer. Such transfers fail and produce an error message.
The import dialog contains a check box for the Heal command which is enabled by default.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
When you click Modeler>Import, the Import File dialog box appears. By default, the Heal
Imported Objects check box is enabled . You can select the option for Automatic healing (the
default) or for Manual healing. Imported objects, which have only one operation on the history tree,
can be healed.
1. Select the Manual option - the Healing Options dialog box appears.
l Alternatively, click 3D Model>Model Analysis>Heal to open the Healing Options
dialog box.
Now you can set parameters for the heal operation and conduct an analysis. You can set
parameters to remove:
Related Topics
Exporting Files
Note If you import a file into an active Modeler window that contains an existing model, the file is
added to the existing model; it will not replace it.
1. Click Modeler>Import.
2. Select a file type from the Files of type pull-down list. For 2D model files, this would be
GDSII Files (*.gds).
3. Use the file browser to find and select the file you want to import.
4. Click Open.
The file is imported into the active Modeler window.
Extension Contents
.gds GDSII is a standard file format for 2D graphical design layout data.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Related Topics
The process for importing GDSII format files uses a single dialog box:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
When multiple structures are imported, HFSS or HFSS-IE creates multiple designs under the
current project, one for each of the GDSII structures.
Descendants Panel
The GDSII file is hierarchical and may contain many sub-layouts. The Descendants panel shows
the sub-layouts in the selected top-level designs.
The Layers for structurename panel shows the layers for the (most recently) highlighted top
level structure [structurename]. GDSII layers are identified by layer numbers.
The All Layers panel lists all the layers from all the structures in the file.
Use the Import check boxes in the All GDSII Layers panel to select the layers to import. You can
drag and drop the layers in the list to change the vertical stackup of layers.
General Field
The Flatten hierarchy check box is automatically selected. HFSS always flattens any hierarchical
geometry in the GDSII.
Nodes Field
GDSII supports nodes and boundaries as separate data types. Normally, boundaries represent
polygons. HFSS can either convert objects that use the nodes data type to boundary types, or can
ignore them. Use the radio buttons to select Convert to boundaries or Ignore. The default is to
convert data type nodes to data type boundary.
Use the radio button to select the import method as Script of Acis
If desired, you can create a mapping of the GDSII layer numbers to layer names in the design
stackup. To create and use the mapping.
1. Use a text editor to create a text file that maps the GDSII layer numbers to layer names in the
stackup. The layer mapping file must have a .tech suffix.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
where:
<layer color> - A string from the choices listed here, for example. blue2
2. For example:
3. Click the Open button in the Layer mapping panel to locate and open an existing layer
mapping file.
4. Click OK.
You can use the Save button to save a layer mapping file with the current settings.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note If you import a file into an active 3D Modeler window that contains an existing model, the
file will be added to the existing model; it will not replace it.
1. Click Modeler>Import.
2. Select the file type you want from the Files of type pull-down list.
3. Select any import options available for the selected file type.
l Some file types permit you to specify Validation and Healing options. In these cases, you
can choose between Quick for faster import, or for Strict healing, which you can specify as
Auto or Manual. See the table below and Healing an Imported Object.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l For ProE files, you can choose check to enable the Import Free Surfaces option. This
imports such surfaces as well as parts.
l For STEP and IEGS files, you can specify a Stitch tolerance and units. The default value
(auto) comes from the Healing dialog Options tab with Manual Healing selected.
l For STL files there are two drop down selections. For File Units pick the units of the
imported STL file. The model is scaled to the current modeling units upon import. When
“Auto” is chosen for the file units, then the current Model units are normally used. The
exception is for stl files saved from SpaceClaim where units have been specified. (The
format specification for generic STL does not include units.) For merge faces, the “none”
option does not merge faces. The Planar options merges faces that are nearly on the
same plane.
l For formats that allow importing MCAD Assemblies as groups, the Import dialog includes
an option to Create Groups for Sub assembly. This allows you to retain the assembly
structure of objects using groups. This appears for Autodesk Inventor files (*.ipt; *iam),
Catia V4/V5 files (*.exp, *.model, *.CATPart, *.CATProduct), Creo Parametric files (*prt,
*.asm), STEP files (*.step, *stp), SOLIDWORKS Files (*SLDPRT, *SLDASM), and NX
Files (.prt). For example:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
For every subassembly in the model a group is created and it retains hierarchical
information by creating group hierarchy. For more information on groups, see Group
Commands for Modeler Objects.
4. Use the file browser to find the file you want to import.
5. Select the 3D model file you want to import or enter the name of the file in the File Name
box.
6. Click Open.
The file is imported into the active Modeler window.
If you selected Validation and Healing options Strict with the Manual option selected for the
import, then the Healing Options dialog box opens, allowing you to set parameters for the heal
operation.
Note While objects created in HFSS or HFSS-IE can always be classed in the
history tree as either a solid, sheet, or wire some imported objects may have
mixture of these. HFSS or HFSS-IE places such objects in an Unclassified
folder in the history tree.
Extension Contents
.sat, .sab ACIS files ACIS R1.0 to ACIS 2018 1.0.1
.sm3 AEDT 3D modeler files ACIS R1.0 to ACIS 2018 1.0.1
.anstGeom Ansoft Geometry File supporting UDMs and CAD integration with the
Workbench.
.dxf, .dwg AutoCAD Drawing Interchange Format files from version 2.5 through 2016.
The .tech file is an ASCII file that contains layer names, units, color,
.tech
elevation, thickness, and material information in a tab delimited format. See
Importing DXF and DWG Format Files.
.ipt, iam Autodesk Inventor V11-V2017
.model Catia R4/R5 models.1
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Related Topics
SpaceClaim Integration
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
To import a .dxf or .dwg model file (which may use an associated .tech file):
1. Click Modeler>Import.
2. Select AutoCAD Files (*.dxf;*.dwg) from the Files of type pull-down list.
3. Use the file browser to find the file you want to import.
4. Select the .dxf/.dwg model file you want to import.
5. Click Open.
Initially, the DWG/DXF Import dialog opens with the Layer Selection tab is displayed:
The Input Layer Name field shows the name of the layer in the DXF/DWG file (not editable)
1. Use the Include check boxes to specify which layers to import from the selected file.
2. You can use the Open button for a browser window to locate a tech file. The tech file is a
plain text file that includes units, layer names, color, elevation, and thickness information.
units um
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
4. Use the Override pulldown to select the layout units for the imported file (default is mm).
5. Use the Objects check boxes to fine-tune the import:
l Auto-detect closure causes polylines to be checked to see whether or not they are
closed. If a polyline is closed, the modeler creates a polygon in the design.
l Self-stitch causes multiple straight line segments to be joined to form polylines. If the
resulting polyline is closed, a polygon is created in the modeler.
Default Tolerance/Tolerance specifies whether you can specify a self stitch Tolerance
value. If particular features in a model are outside of a normal tolerance allowance, you can
set a Tolerance for importing that specific model.
l De-feature tolerance removes certain small features in the imported geometry to reduce
complexity. The features that are removed include: multiple points placed within the
specified distance; thin or narrow regions ("thins" and "spikes"); and extraneous points
along straight line segments.
l Round coordinates to Decimal place rounds all imported data to the specified number
of decimal points.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Convert closed wide lines to polygons imports wide polylines as polygons. You have
more flexibility to change the shape of such an object when it is imported as a polygon.
l Import as 2D sheet bodies causes imported objects to be organized in terms of 2D
sheets.
6. For Import method, select Script or Acis.
7. When you have completed selections on all tabs, click OK on any tab.
3. In the File Name text box, type the name of the solution file you want to import or click
Browse and use the file browser to locate the file.
4. Selecting the file with the file browser loads it, but note that the file has not been imported
yet.
5. Optionally, type a new name in the Source Name box or accept the default name.
6. Click the solutions you want to import in the Available Solutions list, and then click Import.
7. Click the solution data you want to import, and then click OK.
Related Topics
l Tab-separated. HFSS will recognize complex data if the values are separated by a comma
(e.g. real, imaginary).
l Comma-separated. HFSS will recognize complex data if the values are separated by a
space (e.g. real imaginary).
1. Click HFSS >Results>Import Solutions.
l Alternatively, right-click Results in the project tree and then click Import Solutions on
the shortcut menu.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
3. In the File Name text box, type the name of the data table file you want to import or click
Browse and use the file browser to locate the file.
4. If the data in the table is complex, select the format — real/ imaginary, or magnitude/ phase
— in which to import the data.
5. Click Load File. Note that the file has not been imported yet.
6. Optionally, type a new name in the Source Name box that indicates the origin or the data
table, or accept the default name.
7. Optionally, type a new name in the Table Name box that describes the data in the table, or
accept the default name
8. In the All Columns list, the headings of each column in the data file are listed. Optionally,
specify a new name for a column heading by doing the following:
a. In the All Columns list, click the heading you want to change. The heading appears in
the Column Name box.
b. Type a new name in the Column Name box, and then click Set Column Name.
The heading is changed to the new name in every place it appears in the Imported Data
dialog box.
9. In the Independent Data Columns list, the first heading in the data table file is listed by
default. In the Dependent Data Columns list, the second and subsequent headings in the
data table file are listed by default. Optionally, click a heading name and then click an arrow
button to move it from one column to another.
10. If the data in the Dependent Data Columns list contains matrix data, select Matrix Data. If
it contains field data, select Field Data.
11. Click Import.
12. Click the data you want to import in the Current Imports list, and then click OK.
Related Topics
Adding Datasets
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
3. Use the file browser to select the plot data file (*.dat) to open.
Related Topics
2. Use the Look In feature, or the icons to navigate to the file location.
3. Specify the file name in the file name field, or select the file from those listed in the current
directory.
4. The file format field contains a drop-down menu listing the formats you can import. These
include comma delimited files (.csv) tab delimited files (.tab) or Ansoft Plot Data files (*.dat).
5. Click Open to import the file into the currently open Report.
The imported traces appear in the Project tree under the current report.
Related Topics
This opens a file browser dialog that lets you navigate your file system.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Related Topics
Printing
The printing commands enable you to send an image of the active window to the printer.
1. Click File>Print .
2. You can change the printer (if other printer names are listed on the drop down), set the print
range, number of copies, or use the check box to Print to file.
3. Do one of the following:
l Click OK to print the project.
l Click Cancel to dismiss the window without printing.
l Click Setup to define printer settings.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
You can also access the printer properties by clicking Printer in the Page Setup dialog box.
Related Topics
Getting Help
Related Topics
Printing
You can also access the printer properties by clicking Printer in the Page Setup dialog box.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The Design Notes window appears, in which you can edit the project's notes.
Note Notes are used to document aspects of designs only. For project level documentation, you
can insert a documentation file into a project with the Project>Insert Documentation Files
command.
Related Topics
Setting Options
The Tools>Options menu provides the way to set options from the desktop.
The Tools>General Options command provides access to the following options through a single,
hierarchical dialog:
l General options, such as project options, units settings, and remote analysis options.
l 2D Extractor General, Solution Type
l Circuit Design
l Circuit Netlist Design
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l HFSS options, such as default solution mode, processor and RAM settings.
l HFSS 3D Layout
l HFSS-IE options, such as whether to duplicate boundaries, save and delete options, or
processor and RAM settings.
l Maxwell 2D
l Maxwell 3D
l Q3D Extractor options, Boundary Assignment
l RMxprt
l Simplorer
l 3D Modeler options, such as cloning options, display colors and render settings, snap
modes and mouse sensitivity.
l Model Editor
l Netlist and Script Editor
l Optimetrics options including the maximum number of significant digits to display when
reporting analysis result.
l Reporter options, including Report Setup, including advanced mode editing, the number of
significant digits to display, and drag and drop behavior, Fields Reporter options, such as
field overlay and phase animation settings, and Report2D options, such as fonts, labels, line
styles, and colors.
You can use Tools>HPC and Analysis Options to specify active configuration per design type,
queuing, distributed memory vendor, HPC licensing, and whether to enable GPU for transient
solves.
The Tools>Options>Export Options Files command writes xml files containing the Options settings
at all levels to the specified directory. The Tools>Options>Export Options feature is intended to
make it easier for different users to use ANSYS Electromagnetics tools installed on shared
directories or network drives. The Example Uses for Export Options Features section outlines
some use cases enabled by this feature.
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The Options window opens with the Desktop Configuration options selected by default. You
can select the following entries to display the associated options:
l Desktop Configuration
l Project Options
l Miscellaneous
l User Interface
l Directories
l Desktop Performance
l Default Units
l Remote Analysis
l WebUpdate
l Component Libraries Options
2. Click each entry, and make the desired selections.
3. Click OK.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
These options are set on the Desktop Configuration level of the General Options dialog box.
Options affect the solver icons displayed in the Project menu for inserting designs. Some
selections also affect the default appearance of the Import, Automation and Definition toolbar
menus. You can select the default project type, and whether a project is inserted automatically.
This lets you customize aspects of the Desktop Configuration to focus on your work priorities.
1. Each selection here also affects the defaults for the Custom Menu Set and Circuit
Environment options (described below), and the default design type for a new project. To set
the Desktop Configuration options:
a. Set the targeted configuration from the dropdown menu.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The Project options allow you to “Open the following design types in read only mode.” You can
check from the list of design types.
The Miscellaneous level of the Options dialog lets you specify the following options:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l The ANSYS Workbench Application Path lets you specify a path to an installation, if you
have one. This path can be used by the Optimetrics feature for connecting to the Design
Xplorer.
l MATLAB Optimization
If you have an installation of MATLAB installed, you can use it as an Optimizer. This MATLAB path
setting must to point to the version of MATLAB to be used for performing the optimization.
Note The platform (64 bit of the specified version of MATLAB) must match the platform of this
application.
These options are set on the User Interface panel under General in the Options dialog.The
User Interface panel contains the following sections:
General
l Show Message Windowon new messages – specifies that the message window is
automatically reopened if a message arrives after the message window has been closed.
l Ensure that new messages are visible in the Message Window Tree – specifies
that the size of the message window is expanded as needed when messages are
displayed.
l Show Progress Windowwhen starting a simulation – specifies that the progress
window is reopened if a message arrives after the progress window has been closed.
l Selecting the Emphasize active command context check box causes the label of the
selected Project Tree element that is active (that is, has focus) to be rendered in bold text.
l Selecting the Change icon when selection does not match active window check
box causes a small window-shaped overlay icon to display in the corner of the selected
Project Tree element. This overlay icon is changed only when the data in the active
window is unrelated to the selected project item. (Data is considered related when they
affect the same model.) Clicking the icon will open the window and bring it into focus (on
top).
l Select the Expand Project Tree on Insert check box if you want to expand the Project
Tree automatically when you insert a new design.
Color Scheme
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Welcome Message
Click Show welcome message at startup if you want to see a welcome message when the
application starts.
When all information on the User Interface panel is defined, select another option under General
in the Options dialog or click OK to put your settings into effect.
1. For each directory, Project, Syslib, UserLib, and PersonalLib, enter a path in the Directory
text box, or click the ellipsis button ("...") to find and select the desired directory. If you modify
SysLib, UserLib or PersonalLib paths through Tools>General options, the User Defined
Primitives menu should reflect those changes on next startup or on Draw>User Defined
Primitive>Update Menu.
2. If you want to enter a directory path in the Temp Directory text box, you must check
Override to enable the path text field and the ellipsis button ("...") for finding and selecting the
desired directory.
3. To reset the library directories to the default, click Reset Library Directory.
These options are set on the Desktop Performance panel under General in the Options dialog.
Updating numerous reports may take a significant amount of time. Updating reports during the
analysis process can impact the overall time to solution. You may want to vary the times when
your reports get updated relative to the impact on overall solve time.
l Update reports on file open – specifies that reports be automatically updated whenever
an existing file with solution data is opened for viewing/editing. Enabled by default.
For “AdaptivePass” plot context, plots are updated at the end of each solution pass.
For “LastAdaptive” or “Transient” the plot is updated at the end of the transient or
adaptive solution. This option balances report and field plot updating with solution time.
For example, reports may be updated after each adaptive pass but field plots will not
be updated until the solution is complete.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Immediately - update reports and plots as soon as data comes from the solver.
This option will have the greatest impact on the overall solution time but will have the
most rapid updating of reports and field plots. Caution should be used in selecting this
option. Some types of reports and field plots may take a long time to update, especially
as the mesh size increases.
This option will prevent updates from impacting the solution time.
l On Completion - as with Never, but a single update is done when the solve completes.
Note Reports that are updated on completion are done after the solve has been
completed. The time for that update is not included in the solve profile.
l After Each Variation - when performing an Optimetric or parametric analysis, all reports
are updated after analysis of each variation has been completed.
Animation
Computing animated plots requires significant memory which depends upon the complexity of the
plot type. The animation setting is used to prevent problems related to low memory should an
animation require large memory allocation.
The Animation setting lets you set a limit to Stop computing animation frames when available
memory is less than the set value in megabytes. The default is 100.
l The default core usage per desktop session (UI + solve) is set to 2/3 of the logical
processors on the machine.
l The cores for default local config is max{4, 1/3 of the logical processors on the machine}
l The default number of processors for pre/post is min{1, 2/3 of the logical processors -
default_cores_for_local_config}
l When the core usage per desktop session cannot be evenly distributed between solve and
pre/post, more cores will be assigned to solve.
Example 1:
l logical processors = 24
l cores usage per desktop session = 16
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Example 2:
l logical processors = 20
l cores usage per desktop session = 13
l local hpc set to 4 cores
l processors for pre/post set to 9
Example 3:
l logical processors = 5
l cores usage per desktop session = 3
l local hpc set to 2
l processors for pre/post set to 1
You can set a value to Warn when available disk space is less than the specified number of
gigabytes.
When all information on the Desktop Performance panel is defined, select another option under
General in the Options dialog or click OK to put your settings into effect.
These options are set on the Default Units entry of the General options in the Options dialog .
Select the desired units from each of the following pull-down lists:
l Length
l Angle
l Time
l Temperature
l Torque
l Magnetic Induction
l Pressure
l Frequency
l Power
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Voltage
l Current
l Speed
l Weight
l Conductance
l Resistance
l Inductance
l Capacitance
l Force
l Angular Speed
l Magnetic field strength
To launch all analyses as a specific user, rather than the current user, do the following in the
Remote Analysis Options panel of the General Options.
Note If any of the remote machines are Unix-based, you must specify the current user.
l The ANSYS Electromagnetics RSM Service should be running on this port for all distributed
machines. To change the Ansoft Service Port, click the Change button to display an
editable dialog.
l The Send analysis request as option selection can be Service User or Specified User.
Selecting Specified User enables the fields for User Name, Password, and
Domain/Workgroup information.
l You can also Disable access by remote machines, by using the check box.
Desktop-Engine Connection
l If the local machine has multiple IP addresses and one of them is preferred for
communication, the Desktop-Engine Connection area lets you specify whether to Use
Default or a Specified IP address.
Note This option is applicable only when the local machine has multiple IP
addresses and one of them is preferred for communication.
Related Topics
Remote Analysis
These options are set on the Web Update panel under General in the Options dialog.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Select one of the following from the Automatically check for updates every pull-down list:
l Select the desired update frequency from the Automatically check for updates every
drop-down list. The choices are Never, 7 days, 15 days,30 days, 60 days, 120 days,
and 180 days. By default, automatic Web updates are turned off.
l You will be prompted before an update. The date of the prompt is recorded as the Last
update attempt date.
l The Last update date shows the last time Simplorer was updated.
Note You can also request a Web Update by selecting Launch WebUpdate
from the Help drop-down menu on the main menu bar.
When all information on the Web Update panel is defined, select another option under General in
the Options dialog or click OK to put your settings into effect.
1. Click Tools>Options> General Options to display the Options dialog. Select the HFSS
entry in the hierarchical window, and press the + sign to show the choices under HFSS.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
3. Under Solution Type, you can set the default solution type when you initially insert a project.
Select one of the following from the Default solution type pull-down list:
l Eigenmode
l Driven Modal
l Driven Terminal
l Transient
l Transient Network
l Driven Modal (Composite Excitation)
l Driven Terminal (Composite Excitation)
4. In the Material Options section:
l Check or uncheck whether to Include ferrite materials
l Set the Solve Inside threshold values in Siemens/m.
5. In the Boundary Assignment section, select or clear the following check boxes and
settings.
l Use Wizards for data input when creating new boundaries
When this is checked, the creation of boundaries and excitations use Wizard to guide you
through the process. When this is not checked, the creation of boundaries and excitations
displays a Properties dialog with tabs for different kinds of information.
When this is checked, you can duplicate a boundary or excitation when its geometry is
pasted or duplicated. See Duplicating Boundaries and Excitations with Geometry.
When this is checked, boundaries on geometries are displayed. Unchecking this turns off
boundary visualization, and speeds up the display for complex models.
When this is checked, the commands to assign wave or lumped ports will automatically
assign terminals. See Assigning Wave Ports for Terminal Solutions.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Set the default Matrix sort order. This affects the order of the Matrix Data, and is of interest
depending on how port names are assigned for that design. The default is ascending
alphanumeric. This can also be a User Specified order that defaults to creation order.
Being able to set the number of processors, desired RAM limit, and maximum RAM limit using VB
scripts allows you to solve a project by running a VB script, without having to toggle the computer
hardware usage settings.
oAnsoftApp.SetNumberOfProcessors <num>
limit = oAnsoftApp.GetDesiredRamMBLimit()
limit = oAnsoftApp.GetMaximumRamMBLimit()
num = oAnsoftApp.GetNumberOfProcessors()
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
3. In the Boundary Assignment section, select or clear the following check boxes and
settings.
l Use Wizards for data input when creating new boundaries
l When this is checked, the creation of boundaries and excitations use Wizard to guide you
through the process. When this is not checked, the creation of boundaries and excitations
displays a Properties dialog with tabs for different kinds of information.
l Duplicate boundaries with geometry
l When this is checked, you can duplicate a boundary or excitation when its geometry is
pasted or duplicated. See Duplicating Boundaries and Excitations with Geometry.
l Visualize boundaries on geometry.
l This controls the display of boundaries.
l Auto-assign terminals on ports.
l If this option is switched on, then the Assign Lumped port command will try to
automatically assign the terminals on ports. If this option is switched off, then you assign a
lumped port. You have a choice to either:
a. Manually assign a terminal. Select any edge/face of conductor that is touching the port.
b. Use Excitations>Auto Assign Terminals. This will bring up a dialog box to get the
input from the user to select the objects used for "reference"
Default matrix sort order. This affects the order of the Matrix Data, and is of interest
depending on how port names are assigned for that design. The default is ascending
alphanumeric. This can also be a User Specified order that defaults to creation order.
Related Topics
Case 1: The option Use Wizards for data input when creating new boundaries is checked.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
When assigning an excitation, the Wave Port: General wizard will appear as shown below.
Case 2: The option Use Wizards for data input when creating new boundaries is
unchecked.
When assigning the excitation the multi-tab Wave Port dialog box appears with the General tab
selected as shown in the figure below.
Type the port's name in the Name text box or accept the default name.
Note To change the default base name, see Setting Default Boundary/Excitation Base Names.
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
These options are set on the Drawing options of the 3D Modeler options for the Options dialog
box.
1. The Drawing Data Entry Mode controls whether you draw new objects directly via the
mouse, or whether a Properties dialog opens for you to enter dimensions for the object.
The Dialog mode drawing feature works with the equation based line, and all two and three
dimensional objects.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
You can also use F3 for Point mode and F4 for dialog mode.
2. The Relative Coordinate System Creation Mode radio buttons control whether the
default uses Axis/Position or Euler Angle to create a new relative coordinate system. You
use F3/F4 keys to switch.
For the Axis/Position setting, Modeler> Create> Relative CS>[Offset | Rotated | Offet
and Rotated] enters Draw mode, displaying a point selection cursor and the Measure Data
dialog. Also the Status bar fields for setting X, Y and Z values, as Coordinate System settings
are active.
For the Euler Angle setting, Modeler>Create>Relative CS>[Offset | Rotated | Offset and
Rotated] displays a dialog in which you type in the needed values and select units.
3. In the Polyline section, select or clear the Automatically cover closed polylines check
box.
By default, surface objects created with the Polyline command will be created with a cover so
that they become sheet objects. You can choose to leave the polyline as an uncovered object to
perform further operations prior to creating a sheet object
l If checked, closed polylines become sheet objects, and are listed as such in the History
tree.
l If not checked, closed polylines are listed under lines in the History tree.
4. Select or clear the Show measure dialog during drawing check box.
The specifies whether a Measure dialog appears on the creation of a new primitive. The dialog
shows the coordinates of the current cursor position.
5. To have a Properties dialog display whenever you create a new object in the modeling
window, check the box for Edit properties of new primitives.
Related Topics
Set the Operation settings for the 3D Modeler, use Tools>Options>General Options to open
the Options dialog and select 3D Modeler. Under 3D Modeler options, select Operation.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
1. By default, the modeler deletes tool objects when performing tasks such as Uniting,
Subtracting, or Intersecting objects. You may specify that the modeler makes a copy (clone)
of the tool object before the operation, keeping the object for subsequent operations. To
specify when to clone tool objects, select or clear the following check boxes in the Clone
section:
l Clone tool objects before uniting
l Clone tool objects before subtracting
l Clone tool options before intersecting
l Clone tool objects before imprinting
l Clone tool objects before projecting
2. In the Coordinate System section, select or clear the Automatically switch to face
coordinate system check box.
By default, the modeler operates within the user selected coordinate system. If this option is
enabled, you can select a face and when a new object creation is started, the modeler first
creates a face coordinate system consistent with the selected face and the new object is
created within the face coordinate system. With this selection, unchecked, you must manually
create a Face Coordinate System before creating an object related to it.
3. For the Model Edit section, Delete invalid objects created during split operation.
l If checked, the modeler deletes invalid objects created during split operation.
l If not checked, invalid objects can be created. Validation issues warnings.
In the Model Edit section, select or clear Automatically imprint wrapped sheets. Imprinting
is a boolean operation whereas wrapping is not. See Imprinting an Object and Wrap Sheet
Command.
To set the Snap settings for the 3D Modeler, use Tools>Options>General Options to open the
Options dialog and select 3D Modeler. Under 3D Modeler options, select Snap.
1. To specify snap settings, select or clear the following check boxes in the Snap Mode
section:
l Grid
l Vertex
l Edge Center
l Face Center
l Quadrant
l Arc Center
2. Enter how near the mouse needs to be to click a grid item in the Mouse Sensitivity box, in
pixels.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
To set the Display settings for the 3D Modeler, use Tools>Options>General Options to open
the Options dialog box and select 3D Modeler. Under 3D Modeler options, select Display.
Display Options are sub-grouped as:
l General
l Rendering
l History Tree
General
1. Under History operations visualization, select or clear the Visualize history of objects
check box.
The option lets you view an outline of each part that comprises an object when the given part is
selected in the model history tree. This can help you visualize an object that has been merged
with another object. A change to the option takes effect only when you restart ANSYS
Electronics Desktop.
Clearing this selection removes visualization of objects that are part of the model history. For
large models, this is faster and uses less memory.
The following figure shows an example history tree with an object selected and the outline view
of that object in the Main window.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
For models with curved faces, you may prefer to clear this selection to simplify the wire-frame
display, so the rendering will be faster.
Rendering
1. To specify a default color for a 3D Modeler drawing object or action (such as on select):
l Select the object or action from the Default color pull-down list and click the color button.
The Color window appears.
l Select a color for the selected object or action, and click OK.
2. To specify the default for the View>Render setting for new projects, select WireFrame or
SmoothShade from the Default view render mode pull-down list.
When dealing with complicated geometries, choose WireFrame rendering. This is faster than
shaded rendering.
3. To use pre-defined material appearance if available, check the box. When this option is
selected, default color and transparency used for newly created objects come from material
settings. It is possible that some materials, like custom materials, may not have default
appearance specified, in which case default color and transparency specified under
Rendering Defaults are used. When “Use Material Appearance” is checked, color and
transparent properties show values corresponding material settings and these properties
are not editable. You must then uncheck “Use Material Appearance” to edit either of those
properties.
By default the checkbox to use material appearance is unchecked. This means default color
and transparency as specified in rendering defaults are used.
4. To set the Default transparency, move the slider, or enter a numerical value.
5. To set the Object Visualization Outline contrast, use the slider. The current value, on a
range from 0 to 1 displays in the text field.
History Tree
l If checked, the history tree is expanded after operations on object properties, even if the
tree is collapsed for the item.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l If not checked, when you select an object in 3D view, only the object selected, and current
tree collapse/expand state is preserved
Faceting
Options are:
Geometry computation with CAD Integration (dynamic links) and geometry sharing in ANSYS
Workbench is always by Desktop.
To set the Group creation for operation result settings for the 3D Modeler, use
Tools>Options>General Options to open the Options dialog box and select 3D Modeler.
Under 3D Modeler options, select Group.
To specify Group creation for operation settings, select or clear the following check boxes in the
Snap Mode section:
l Simplify
l Duplicate
l Separate Bodies
l Create object from edge
l Create object from face
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
To set the SpaceClaim Link settings for the 3D Modeler, click Tools>Options>General Options
to open the Options dialog box, and select 3D Modeler. Under 3D Modeler options, select
SpaceClaim Link.
To specify SpaceClaim link settings, select or clear the following check boxes in the SpaceClaim
Link section:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
In the case of variable values, if you have assigned more significant digits, you will see these when
editing the variable value. In the case of table displays of values, the tooltip display shows all
available digits when the mouse pointer is over a result
Related Topics
Optimetrics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Related Topics
1. Click Tools>Options>General Options to open the Options dialog, and select Reporter.
Click the + to show the subcategories and select Report Setup.
2. Use the text field to specify the Maximum number of significant digits to use when displaying
numeric quantities.
3. Specify the Drag and Drop behavior when dragging reports and traces by clicking the radio
button.
l Drag item data
l Drag item definition
4. The Quantity selection dialog specifies the matrix size for using a tree display for matrix
quantities in the Reporter dialog. This is helpful when dealing with larger matrices. The
default is 50. When the number of matrix elements is larger than the number, the Quantities
field uses a tree structure to divide matrix quantities into groups by their first element name.
The initial display shows groups, without initially listing group members.
A folder Node is not selectable. A click on a folder node toggles (Expand or collapse) the node.
When any of a folder's child nodes is selected it becomes bolded.
Mouse Click on Quantity Node (Tree leaf node). Shift and Ctrl key only apply to multiple
selection dialogs:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Without Shift and Ctrl key - Select the quantity and unselect all previous selected
quantities.
l Only with Ctrl key down - Toggle the selection of the quantity. No affect on other selected
quantities.
l Only with Shift key down - Do range selection, deselect any selected quantity that is
outside of the range.
l Both Shift and Ctrl key down - Do range selection, but don't deselect any selected
quantity.
l Ctrl+a - Selected all quantities in a multiple selections dialog.
Range selection: Select quantity nodes between the last mouse clicked quantity node and the
newly click on quantity node. Folder nodes in between won't be selected but their children will
be selected. So those folder nodes will be in a bolded state.
1. Click Tools>Options>General Options to open the Options dialog, and select Reporter.
Click the + to show the subcategories and select Fields Reporter.
l Animation
Each of these accepts values for From and To in degrees, and the number of steps.
l Mesh Plot
Streamline length is higher than <value> times of diagonal length of model bounding box.
o Streamline marker spacing: the Number of markers per bounding box diagonal.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Related Topics
1. Click Tools>Options>General Options to open the Options dialog, and select Reporter.
Click the + to show the subcategories and select Report2D Options. Click the + to open
the subcategory list:
l Curve
l Axis
l Grid
l Header
l Note
l Legend
l Marker
l Marker Table
l X/Y Markers
l Stacked
l Digital
l General
l Table
For properties controlled by check boxes, you can set values for all curves by clicking the
column header cell that contains the property title. Right-clicking on a text field cell displays a
context menu that lets you cut, copy and paste values. Right-clicking on a menu cell displays a
context menu that lets you copy and paste entire rows.
These options are set on the Curve subcategory under Reporter and Report 2D in the Options
dialog box.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Line style -- select the options from the drop down menu. The options are Solid, Dot, Dash,
and Dot dash.
l Color -- set the color by double clicking to display the Set color dialog. Select a default or
custom color and click OK.
l Width -- set the line width by editing the real value in the text field.
l Arrows -- use the check box to use arrows on the curve ends.
l Symbol -- use the check box to have symbols mark the locations of data points on the curve.
l Sym Freq -- set the symbol frequency by editing the integer value in the text field.
l Sym Style -- select the symbol to display for the designated data points. The sym style can
be box, circle, vertical ellipse, horizontal ellipse, vertical up triangle, vertical down triangle,
horizontal left triangle, horizontal right triangle.
l Fill Sym -- use the check box to set the symbol display as a solid or as hollow.
l Sym Color -- set the color for the symbol by double clicking to display the Set color dialog.
Select a default or custom color and click OK.
These options are set on the Axis subcategory under Reporter and Report 2D in the Options
dialog box.
l Axis Name -- this describes the axis to which the following options refer.
l Color -- set the color by double clicking to display the Set color dialog. Select a default or
custom color and click OK.
l Auto Scale -- use the check box to toggle whether to auto scale the axis.
l Min Scale -- if Auto Scale it not selected, edit the real value to set the minimum value of the
axis.
l Max Scale -- if Auto Scale is not selected, edit the real value to set the maximum value of the
axis.
l Auto Units -- use the check box compute the correct units for the axis.
l Units -- click on the cell to select from a menu of available units if you have not checked Auto
Units.
l Font color -- set the font color of the axis by double clicking to display the Set color dialog.
Select a default or custom color and click OK.
l Edit Font -- click the cell to display the Edit Text Font dialog. The dialog lets you select from a
list of available fonts, styles, sizes, effects, colors, and script. The dialog also contains a
preview field. OK the selections to apply the font edits and to close the dialog.
These options are set on the Grid subcategory under Reporter and Report 2D in the Options
dialog box.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Grid Name -- lists the name or letter of the grid. Not editable.
l Line Style -- select the options from the drop down menu. The options are Solid, Dot, Dash,
and Dot dash.
l Line Color -- set the color by double clicking to display the Set color dialog. Select a default
or custom color and click OK.
These options are set on the Header subcategory under Reporter and Report 2D in the Options
dialog box. For the Title and subtitle, you can independently specify the following:
l Color -- set the color by double clicking to display the Set color dialog. Select a default or
custom color and click OK.
l Font -- click the cell to display the Edit Text Font dialog. The dialog lets you select from a list
of available fonts, styles, sizes, effects, colors, and script. The dialog also contains a preview
field. OK the selections to apply the font edits and to close the dialog.
These options are set on the Note subcategory under Reporter and Report 2D in the Options
dialog box.
l Note Color -- set the color by double clicking to display the Set color dialog. Select a default
or custom color and click OK.
l Note Font -- click the cell to display the Edit Text Font dialog. The dialog lets you select from
a list of available fonts, styles, sizes, effects, colors, and script. The dialog also contains a
preview field. OK the selections to apply the font edits and to close the dialog.
l Background Color -- set the color by double clicking to display the Set color dialog. Select a
default or custom color and click OK.
l Background Visibility -- use the check box to toggle the background for the note on or off.
l Border Line Color -- set the color by double clicking to display the Set color dialog. Select a
default or custom color and click OK.
l Border Visibility -- use the check box to toggle the visibility of the note border.
l Border Line Width -- set the line width by editing the real value in the text field.
These options are set on the Legend subcategory under Reporter and Report 2D in the Options
dialog box.
l Show Trace Name -- use the check box to toggle the visibility of the trace name.
l Show Solution Name -- use the check box to toggle the visibility of the solution name.
l Show Variation Key -- use the check box to toggle the visibility of the variation key.
l Highlight Curve on Hover
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Text Color -- set the color by double clicking to display the Set color dialog. Select a default
or custom color and click OK.
l Text Font -- click the cell to display the Edit Text Font dialog. The dialog lets you select from a
list of available fonts, styles, sizes, effects, colors, and script. The dialog also contains a
preview field. OK the selections to apply the font edits and to close the dialog.
l Background Color -- set the color by double clicking to display the Set color dialog. Select a
default or custom color and click OK.
l Border Line Color -- set the color by double clicking to display the Set color dialog. Select a
default or custom color and click OK.
l Border Line Width -- set the line width by editing the real value in the text field.
l Grid Color -- set the color by double clicking to display the Set color dialog. Select a default
or custom color and click OK.
l Header Row -- applies to stacked plots.
l Text Color
l Text Font
These options are set on the Marker panel under Report2D in the Options dialog.
l Marker Color -- set the color by double clicking to display the Set color dialog. Select a
default or custom color and click OK.
l Marker Font -- click the cell to display the Edit Text Font dialog. The dialog lets you select
from a list of available fonts, styles, sizes, effects, colors, and script. The dialog also contains
a preview field. OK the selections to apply the font edits and to close the dialog.
l Arrow Direction -- set the arrow direction by choosing Up, Down, Left, or Right from the
drop-down menu.
Related Topics
These options are set on the Marker Table subcategory under Reporter and Report 2D in the
Options dialog box.
l Text Color -- set the color by double clicking to display the Set color dialog. Select a default
or custom color and click OK.
l Text Font -- click the cell to display the Edit Text Font dialog. The dialog lets you select from a
list of available fonts, styles, sizes, effects, colors, and script. The dialog also contains a
preview field. OK the selections to apply the font edits and to close the dialog.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Background Color -- set the color by double clicking to display the Set color dialog. Select a
default or custom color and click OK.
l Border Line Color -- set the color by double clicking to display the Set color dialog. Select a
default or custom color and click OK.
l Border Line Width -- set the line width by editing the real value in the text field.
l Grid Color -- set the color by double clicking to display the Set color dialog. Select a default
or custom color and click OK.
l Grid Line Width -- set the line width by editing the real value in the text field.
Use the XY Markers subcategory under Reporter and Report 2D in the Report2D Options
dialog box to set the properties for the markers.
Background colors for Markers 1 through 10. You can set these by select the current color to open
a a color selection dialog, or by specifying RGB number values.
Background Colors
l Marker <1 to 10> Color: click the color cell to open a Color dialog.
Properties
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l On-screen intersection
l Marker Font: click the Edit Marker font button to open a Font dialog.
l Text color: Click the color cell to open a Color dialog.
l Line color: click the cell to view a Color dialog.
l Line style: click the cell to view a menu of line styles.
l Line width: edit the text field to specify a line width.
l Whether to Show Name
l Whether to Snap to Vertex
Report2D Options:Stacked
These options are set on the Stacked subcategory under Reporter and Report 2D in the
Options dialog box.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
If you change the Curve Grouping Strategy set by default, existing stacked plots remain
unaffected. The new default will apply only to new stacked plots.
When a project saved in versions before 19.0, and stacked plots is opened in version 19.0, Curve
Grouping Strategy will default to Single and stacked plots remain unaffected.
Related Topics
These options are set on the Digital subcategory under Reporter and Report 2D in the Options
dialog box.
Digital Literal Foreground color: click the cell to open a Color dialog.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Analog
l Digital
l Enum
l Event
l Literal
These options are set on the General subcategory under Reporter and Report 2D in the
Options dialog box.
1. Background Color -- set the color by double clicking to display the Set color dialog. Select a
default or custom color and click OK.
2. Contrast Color -- set the color by double clicking to display the Set color dialog. Select a
default or custom color and click OK.
3. Highlight Color -- set the color by double clicking to display the Set color dialog. Select a
default or custom color and click OK.
4. Accumulate Depth -- set to 4 by default.
5. Curve Tooltip Option -- use the check boxes to toggle the following properties:
a. Show Trace Name
b. Show Variation Key
c. Show Solution Name
6. Clipboard Option - use the drop down menus to specify the following properties:
a. Capture Aspect Size Ratio -- this can be As Shown or Full Screen.
b. Capture Background Color -- this can be As Shown or White.
These options are set on the Table subcategory under Reporter and Report 2D in the Options
dialog box. Use the scroll bar to view all options.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
7. Grid Color
8. Background Color
9. Page Link Color
10. Arrow Color
Header Row
Format
14. Field Width -- set the table field width by editing the real value in the text field.
15. Precision -- set the table precision by editing the real value in the text field.
16. Use Scientific Notation -- use the check box to toggle scientific notation on or off.
Copy to Clipboard
17. Use the following check boxes to toggle the following properties for table copy operations.:
a. With Header
b. With Tab Separator -- this improves copy and paste to a spreadsheet.
1. Click Tools>Options>HPC and Analysis Options. You can also access the dialog by
using the Tools and Analysis Options icon on toolbar, or the button on the Solution
Setup General tab.
The HPC and Analysis Options dialog appears, displaying two tabs.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Configurations tab
In the Configurations tab, you can select the Design type, and select from a list of available
configurations. Selecting a Design Type displays a list of the Available configurations for that
type. Selecting a configuration from the list displays the details of that configuration in the text
fields. A Name can describe the use for which a configuration has been defined, The Total
Tasks column shows the number of tasks that the analysis configuration can execute.
Design Type
You define configurations for all design types separately, selecting from the drop down menu.. If
you want to use similar analysis parameters for a different design type, you must create a
separate analysis configuration for that design type. The active configuration is used when
solving an analysis for that design type.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
From the lists of Available configurations for each design type, you left click from the
configuration list to select in then click Make Active. Note that the active configuration will be
indicated with a YES in the Active column.
Add.. Button
Edit.. Button
Delete Button
Copy... Button
This creates a new analysis configuration, and launches a dialog to edit it. If the dialog is
canceled, the new analysis configuration is not created.
Import... Button
This allows the user to import an .acf file to create an analysis configuration.
Note Importing analysis configurations always adds the imported analysis configurations to the
current design type. Also, if there is a name conflict between an imported analysis
configuration and an existing analysis configuration, the imported configuration is renamed
and you are notified.
Export... Button
This allows the user to export the selected analysis configurations to an .acf file. Users can them
import the configurations into a different design type, or import them on a different machine.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Options Tab
The Options tab in the HPC and Analysis Options dialog contains design type specific
options. These options are not part of an analysis configuration, instead they are always in
effect for the given design type when the following is true:
In the Options tab you can enable queuing, set the design type, specify the Distributed Memory
vendor (that is, MPI for Message Passing Interface), set licensing options and Enable GPU for
Transient and Matrix solves. Solving on a single Windows machine does not require MPI
installation. And users running on Linux do not need to install MPI manually. You can also set
the Default Process Priority..
2. For Distributed Memory Options, use the drop down menu to select the MPI Vendor for the
selected Design type.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The solvers use the industry standard Message Passing Interface ("MPI") and can perform
solutions that distribute memory use across machines in a cluster or network. Memory used by
the MPI-enabled solver is therefore limited by the set of machines that are available rather than
the shared memory available on any single machine. This allows you to simulate larger
structures than before and to optimally reconfigure the cluster of machines for the problem at
hand. For solving on a single machine, MPI is not required, nor does it provide an advantage.
To use the distributed memory solution you will need to install MPI software from one of the
supported third party vendors on all the machines you intend to use.
You may need to set passwords depending on the MPI vendor for authentication on the
machines. Settings within each design type turn on distributed memory solutions and define the
list of machines you intend to use. Detailed instructions about how to get distributed memory
HFSS solutions up and running are outlined in Distributed Memory Solutions with HFSS.
By default, the MPI vendors use the fastest interconnect by default (typically InfiniBand is faster
than Ethernet). If you want to override the default behavior and force the use of Ethernet, you
can set the ANSOFT_MPI_INTERCONNECT environment variable to “eth” for the job.
3. For Linux authentication, you can specify the Remote Spawn Command as RSH or SSH
(the default).
4. For HPC select either the Pool or Pack Licensing Option.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The Electronics Desktop products include four cores in the base simulation licenses. This
means that the number of cores for HPC licensing will be four less than the total number
of cores, or N-4.
When variations are distributed using the Distributed Solve Option, the HPC cores are
counted per variation. In other words, the number of cores for HPC licensing will be four
less than the total number of cores, or N-4. Up to four cores can be used without requiring
HPC licensing.
The selected HPC License type determines which license, if any, will be used to enable
the HPC cores.
l Pool - HPC licenses are used, based on the number of HPC cores: N-4.
l Pack - HPC Pack licenses are used for distribution, with the first pack enabling 8 cores an
additional packs multiplying the enabled cores by four, until at least N-4 cores are
enabled.
l None - HPC and HPC Pack licenses are not used (see additional notes below).
Note In Nexxim the HPC license type set will work as follows:
1. When HPC type is set to Pool or Pack, the "Enable GPU" and "Transient speedup"
settings will be used as specified.
2. When HPC type is set to "None", the "Enable GPU" setting will be ignored. These
setting requires HPC licenses. The "Transient speedup" setting will use the 4 free
cores.
3. The number of processors will always be passed to the solver as is, because Nexxim
offers some multiprocessing capabilities without requiring an HPC license.
4. The number of processors setting in "Design Options" will override the setting in the
HPC dialog.
5. When the HPC license is set to None, the Electronic Desktop enables up to four cores. In
some cases, when more cores are specified in the Configuration, the number will be capped
in order to limit the total cores to four. The cores will be used from the first machine in the list,
and then the second, and so on, until a maximum of four is reached.
6. The Electronics Desktop supports ANSYS HPC licenses, "anshpc" and "anshpc_pack", as
well as legacy Electronics HPC licenses, "hfsshpc" and "hfsshpc_pack". The Use legacy
Electronics HPC License option is used to selected between the licenses and defaults to
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
True.
7. Optionally, you can Enable GPU or MIC (Many Integrated Cores, such as Intel Xeon Phi co-
processor) for HFSS transient, matrix, and SBR+ and Maxwell 3D eddy current matrix
solves. Note that for SBR+, if there are multiple antennas in the design, the setting is
ignored. For details on the requirements for GPU use, see Transient GPU Acceleration. For
Details and requirements for Intel Xeon Phi, see Direct Solve Acceleration using Intel Xeon
Phi on Windows and Linux.
To enable use of GPU or MIC acceleration, you can set Enable GPU to True. The matrix
solver automatically determines if all cores should be used, or if one GPU should be used
to give the best performance. For example, if you specify 4 cores for the simulation, the
3D Eddy current solver will use 4 cores in parallel during matrix assembly while the matrix
solver will use either 4 cores or 1 GPU.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
You can determine if a GPU or MIC is being used for acceleration by viewing the
Solutions dialog, Profile tab. If a GPU is successfully locked for use by the solver process,
the profile shows the GPU's CUDA device ID and its name.
If the GPU is not used, the Profile indicates that, and the CPU cores are used.
l The estimation is based on the structure of the matrix, not just the dimension.
l The generation and model of GPU are considered. The newer the model is, the faster the
GPU estimation is.
l The clock rate and number of cores of CPU are consider. The higher the rate is, the more
the cores are, the faster the CPU estimation is.
l Finally, the faster device (GPU or CPU) is selected based on estimation.
l The estimation is based on the whole matrix, not just the size. Having larger matrices
doesn’t mean GPU will be used.
l The bandwidth is not useful either. It is possible to have two matrices with exactly the
same size and bandwidth, one favoring GPU and the other CPU.
l If GPU is of older models while CPU is not, GPU may not be used.
l If CPU has high clock rate, GPU may not be used.
l If CPU has many cores, GPU may not be used.
Multiple GPUs
When there are multiple GPU cards in the same machine, the first solver process
(hf3d, 3dedy) locks the first GPU card available (not locked or used by other
processes, not used for display, etc.), the second process locks the second card
available, and so on. After all cards are locked, solver uses CPU only.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
8. The Legacy Licensing settings support use of legacy licenses for HFSS IE, "hfssie_solve",
and Transient, "hfss_transient_solve". These simulation types have now been included in
the general HFSS solution license, "hfss_solve". Customers should set the Legacy
Licensing option to True if they have older license files and prefer to continue to use the
specific legacy license for each simulation type. The Legacy Licensing options are both set to
False by default for HFSS designs. The Use legacy HFSS-IE option is set to True by default
for HFSS-IE designs.
9. Optionally, you can select one of the following from the Default Process Priority pull-down
list:
l Helical Antenna - You can enable Domain Decomposition method and setup HPC to solve
this large problem.
l Bandpass Filter - You can setup HPC to distribute the frequencies in the sweep.
l Connector - Since the project uses a frequency sweep, you can set up HPC.
Note Click File > Open Examples to access the example projects. For
more information about the application of HPC in the Bandpass
Filter, see the section Add HPC Analysis and Options in Getting
Started with HFSS: Bandpass Filter.
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
An important step in using a high performance cluster is setting up authentication across machines
in such a way that the machines can be accessed without a password. By default HFSS and
HFSS-IE use SSH authentication on Linux to spawn commands on the remote machines but also
supports RSH. The selection of which to use is made on the Options tab of the
Tools>Options>HPC and Analysis dialog.
SSH
You will need to set up passwordless access to use HFSS-IE on a Linux cluster with SSH or RSH.
In general, for SSH, this is accomplished by
1. Verify that you have working SSH servers and clients on your machines.
2. Verify that the server will accept passwordless logins. You may need to edit the
/etc/ssh/ssh_d file to allow RSAAuthentication and PubkeyAuthentication.
3. Generating keys on the client system using the ssh-keygen program. Do not use a
passphrase so that you can access the machine without a password.
4. Copy the public key generated in step 1 from the ~/.ssh directory to the server. The easiest
way to transfer the keys is to use the ssh-copy-id program. Alternately, you can use any file
transfer utility. If the server already has a list of existing keys for other clients add the new
public key to the list.
5. Test the connection. Login to the client machine using the username that you used to create
the identity keys. Open a new shell terminal and attempt to open an SSH login session. For
example type: ssh 192.168.0.4 (where the IP address is the address of the machine you are
attempting to connect to). The server should allow you to login without requesting a
password.
See the documentation for your machines and network for detailed instructions.
RSH
If you choose to use RSH you will need to make sure RSH is installed on all the machines and set
the machines up so that you are not prompted for a password. There are different ways to set up
password-less RSH so be sure to see the documentation for your machines and network for
detailed instructions.
Machine access using RSH without a password is often set up by editing the /etc/hosts.equiv file
and adding entries for the hosts you would like to use without a password. This file lists hosts and
users that are granted "trusted" access to the system.
If you look at the /etc/hosts.equiv file you should have something similar to the following:
job2.n1.com
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
job3.n1.com
The machines job1, job2 and job3 can connect without a password. You may also need to verify
that the files /etc/hosts.allow and /etc/hosts.deny are empty. See your local documentation for
detailed instructions and troubleshooting suggestions.
Related Topics
You can export options files by selecting the Tools>Options>Export Options Files This brings
up a browser dialog that you use to select the destination directory for the options files. Pressing
the Cancel button will cancel the export command. Pressing the Open button will copy all of the
config files for the current user and current host to the specified directory. Config files for the install,
install_machine, user, and user_machine levels will be copied, if they exist. One additional file,
admin.XML, will also be copied to the destination directory. This file does not contain user
configurable options, and it is not discussed above.
Using a Script
A Desktop command has been added that exports the options config files. Here is a summary of
the Desktop ExportOptionsFiles command:
ExportOptionsFiles
Parameters: <DestinationDirectory>
Type: <string>
Example:
oDesktop.ExportOptionsFiles "D:/test/export/"
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
A simple script demonstrating the use of this command is shown below. This script will copy the
options config files to the directory D:/test/export.
Dim oAnsoftApp
Dim oDesktop
oDesktop.ExportOptionsFiles "D:/test/export/"
Related Topics
l host dependent user options (apply to the specified user on the specified host only)
l host independent user options (apply to the specified user on all hosts)
l host dependent default options (apply to all users on the specified host)
l installation default (default for all users on all hosts)
A setting at any level will override settings at lower levels in the list above. If there is no setting in
any file, then the application default value will be used.
Behavior Examples
For example, consider running an application as user jsmith on host host123. If there is no host
dependent user setting for the "Expand Project Tree on Insert" option in the host dependent user
options config file for user jsmith on host host123, but there is a setting for the "Expand Project Tree
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
on Insert" option in the host independent user options config file for user jsmith, then the latter
setting will be used if it is not overridden using the Desktop UI. Any settings in the host dependent
default options config file or the installation default config file will be ignored.
As another example, consider running an application as user jdoe on host host123. If there is no
setting for the "Expand Project Tree on Insert" option in the host dependent user user options
config file for jdoe on host123 or in the host independent user options config file for user jdoe or in
the host dependent default options config file for host host123, then the value from the installation
default config file will be used, if present.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Leve
Config l File
Linux Directory Pathname Windows Directory Pathname
File Nam Name
e
host hostnam My
depend use e_ $HOME/Ansoft/ApplicationPath Documents/Ansoft/ApplicationPath
ent r_ user.XML AndVersion/config AndVersion/config
user mac
options hine
host user user.XML
indepe
ndent
user
options
host hostnam InstallationDirectory/config InstallationDirectory/config
depend instal e.XML
ent l_
default mac
options hine
installat
ion instal default.X
default l ML
NOTES:
The table below shows specific file names and directory names for a typical ANSYS Electronics
Desktop installation on the Linux and Microsoft Windows platforms. These are the files that apply to
user jsmith and hostname host123.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Leve
Config l File 64 Bit Windows Directory
Linux Directory Pathname
File Nam Name Pathname
e
host My
depend use host12 /home/jsmith/AnsoftElectronicsDe Documents/Ansoft/ElectronicsDe
ent r_ 3_ sktop2018.0/config sktop2018.0/config
user mac user.X
options hine ML
host user
indepe user.X
ndent ML
user
options
host host123 C:/Program
depend instal .XML /opt/AnsysEM/AnsysEM19.0/Linu Files/AnsysEM/AnsysEM19.0/Wi
ent l_ x64/config n64/config
default mac
options hine
installat default.
ion instal XML
default l
NOTES:
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
This feature is intended to make it easier for different users to use ANSYS Electromagnetics tools
installed on shared directories or network drives.
The UpdateRegistry command has multiple command line formats as shown below. The -Set
format is used to set or change an option value. The -Delete format is used to delete an option
setting. The following command line options are mutually exclusive: -Set, -Get, -Delete, -GetKeys,
and -FromFile.
This command is used to view an option value in an option config file. If the setting exists in the
specified config file or files, then the value, the value type and the config file where the value was
found will be reported. If no value is found, then that will also be reported.
Usage:
<name>
Required. The application or product name and version, as described above. Examples:
ElectronicsDesktop2018.0. If the name contains spaces, it must be quoted.
<keyPath>
Required. The pathname of the option setting. This includes the same analysis-related registry
keys and values that are displayed by the -batchoptions help.
Example:
Desktop/Settings/ProjectOptions/AnimationMemory.
<level>
Optional. A string denoting which config file to search. One of: install, install_machine, user and
user_machine. If the level is not specified, then all config files are searched in order of
precedence.
This command is used to view the allowed key names for all of the option settings, or to view a
subset of the key names that match a string. For each key displayed, the current value, if any, is
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
also reported. If a key has a value in multiple config files, then only the highest precedence value is
reported.
Usage:
<pattern>
Optional. If no pattern is specified, then all allowed key names are reported. If a pattern is
specified, then only keys that match the pattern are shown. Examples: Settings/Project. If the
name contains spaces, then it must be quoted. By default, the pattern match is case insensitive.
If the -Case command line option is specified, then the pattern match is case sensitive.
<name>
Required. The application or product name and version, as described above. Examples:
ElectronicsDesktop2018.0. If the name contains spaces, it must be quoted.
This command is used to add or modify an option setting in an option config file. If the option config
file does not exist, it will be created. If the setting does not exist in the specified config file, it will be
added. If the setting already exists in the specified config file, then the value will be changed to the
specified value.
Usage:
Required. The application or product name and version, as described above. Example:
ElectronicsDesktop2018.0. If the name contains spaces, it must be quoted.
<keyPath>
Required. The pathname of the option setting. This includes the same analysis-related registry
keys and values that are displayed by the -batchoptions help. Example:
Desktop/Settings/ProjectOptions/AnimationMemory.
<value>
Required. The new value of the option, typically a string or a number. If the value contains
spaces, it must be quoted.
<level>
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Optional. A string denoting which config file to modify. One of: install, install_machine, user and
user_machine. If the level is not specified, then the user_machine (host dependent user
options) file is modified.
This command is used to remove an option setting from an option config file. If the setting does not
exist in the specified config file, the file will not be changed. If the setting exists in the specified
config file, then it will be removed. A setting may need to be removed from an option config file, to
allow the setting from a lower priority file to be used by the application.
Usage:
UpdateRegistry -Delete -ProductName <name>
-RegistryKey <keyPath>
[ -RegistryLevel <level> ]
<name>
Required. The application or product name and version, as described above. Example:
ElectronicsDesktop2018.0. If the name contains spaces, it must be quoted.
<keyPath>
Required. The pathname of the option setting. This includes the same analysis-related registry
keys and values that are displayed by the -batchoptions help. Example:
Desktop/Settings/ProjectOptions/AnimationMemory.
<level>
Optional. A string denoting which option config file to modify. One of: install, install_machine,
user and user_machine. If the level is not specified, then the user_machine (host dependent
user options) file is modified.
You can use this form of the UpdateRegistry command to set multiple key-value pairs from a file
with a single UpdateRegistry command. You specify the -FromFile command line option. This
option must be followed by a filename. The file may contain multiple entries, where each entry
contains a registry key and a registry value. The key-value pairs are added to the registry level
specified by the -RegistryLevel command line option; if no -RegistryLevel is specified, then the
default registry level (user_machine) is used.
The file format is similar to the -batchoptions file format. An example UpdateRegistry file is shown
below:
$begin 'AddEntries'
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
'TempDirectory'='C:/temp/AnsysEM'
'Hfss/HPCLicenseType'='Pool'
'Hfss/UseLegacyMultiprocessingLicense'=1
$end 'AddEntries'
l The file may contain an arbitrary number of entries, one per line.
l Leading whitespace on each line is ignored. Spaces or tabs may be used to make the file
more readable.
l The registry key pathname appears before the equal sign "=" on each line.
l Each registry key pathname must be enclosed in single quotes.
l This includes the same analysis-related registry keys and values that are displayed by the -
batchoptions help.
Registry value:
l The registry value appears after the equal sign on each line.
l Integral registry values must not be enclosed in quotes.
l All other registry values are treated as strings, and must be enclosed in single quotes.
l The forward slash "/" may be used as a directory separator on Windows and Linux. The back
slash "\" may be used as a directory separator on Windows only.
l The back slash "\" is used as an escape character in the value string. That it, this character
removes the special meaning of the following character.
l The single quote character normally ends the value string. The back slash may be used to
remove this special meaning, and include a single quote in the string.
l To use a back slash as a directory separator on Windows, it must be escaped. That is, a
double back slash "\\" is used to denote a single directory separator.
l Analysis Configuration File format, which is exported from the HPC and Analysis Options
dialog.
Note If a current registry does not exist, the ANSYS Electronics Desktop can detect earlier minor
versions of same application on the same machine. If such a registry exists, (and does not
involve -help, -batchoptionhelp, IsBatchMode(), -regserver, -unregserver, running a script,
or non graphical mode) a prompt displays from which you can select an earlier version from
which the registry will be ported.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Copy over registry entries (both Windows and ANSYS .xml files).
Related Topics
Example for Reverting from a User Defined Option Value to the Administrator Default
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
generally have the same permissions as other ANSYS Electromagnetics tool installation files. This
allows that administrator to control these settings, but does not allow other users to add, remove, or
change these settings.
Each user can override any of these settings, if needed. This may be done using the Desktop UI,
which affects the host dependent user options config file. It may also be done using the host
independent user options config file. If user has overridden an option setting in either of the user
files, the user may revert back to the option settings provided by the administrator by removing the
setting of the same option in the host dependent user option config file and/or the host independent
user option config file.
For global defaults, the administrator may set a value in the installation default config file. These
settings will to apply to all users on all hosts.
In some cases, there are significant differences between the capabilities of different hosts. The
host dependent default config file may be used to specify different default values on some hosts.
Any setting in a host dependent default config file would affect all users running on the specified
host. The installation default value is used if there is no value specified for the setting in the host
dependent default config file for the current host. Note that the host dependent default config file is
named hostname.XML, where hostname is the name of the host.
Related Topics
Both administrators and ordinary users may occasionally use the UpdateRegistry command line
tool to add, change or delete settings. To use this tool, the registry key pathname must be known by
the user. The -GetKeys option may be used to quickly search for a key pathname if some
information is known about it. For example, if the administrator knows that there is a setting related
to issuing warning messages when available disk space is low, but she does not know the exact
key name, the following command may list some of the keys related to disk space:
UpdateRegistry -GetKeys disk -ProductName ElectronicsDesktop2018.0
This will display a list of all keys that match the string "disk" case insensitively. Typical output may
look like the following:
Registry keys matching pattern <disk> case insensitively:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Desktop/Settings/ProjectOptions/DiskLimitForAbort
-RegistryValue 1000
-RegistryLevel install
Related Topics
For this example, we assume that all hosts have two cores, except for three hosts, bighost1,
bighost2, and bighost3, that have eight cores each. Because most hosts have two cores, the
administrator has set the Hfss/Preferences/NumberOfProcessorsDistributed option value to 2 in
the installation default config file, as described above. The administrator may then set the
Hfss/Preferences/NumberOfProcessorsDistributed option value to 8 in the host dependent default
config files for the three hosts having 8 cores, bighost1, bighost2 and bighost3. The administrator
may login to host bighost1, and run the following command to change this setting for the host
dependent default options config file for host bighost1 on aedt18.2:
UpdateRegistry -Set -ProductName HFSS14.0
-RegistryKey Hfss/Preferences/NumberOfProcessorsDistributed
-RegistryValue 8
-RegistryLevel install_machine
To make this change for the other two hosts, the administrator would login to bighost2 and
bighost3, in turn, and run the same command on each of those hosts.
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Example for Reverting from a User Defined Option Value to the Administrator Default
Consider the case in which HFSS 14.0 was installed and the administrator initially did not set a
value for the Desktop/Settings/ProjectOptions/DiskLimitForAbort setting in the default installation
config file. User jsmith (who always uses host jshost) wanted to be warned before disk space
dropped to zero, so he set the Desktop/Settings/ProjectOptions/DiskLimitForAbort to 100 MB
using the UI. This setting is recorded in the host dependent user options config file for host jshost
and user jsmith. Now the administrator learns that many users are running into disk space issues,
so that administrator sets the installation default value for the setting
Desktop/Settings/ProjectOptions/DiskLimitForAbort to 1000 MB, as in the above example.
When user jsmith runs HFSS 14.0 on host jshost, the disk limit is 100 MB, not 1000 MB, because
the host dependent user options config file overrides all of the other config files. User jsmith may
revert to the administrator provided default by removing this setting from the host dependent user
options config file for host jshost and user jsmith. The following command may be run by user jsmith
on host jshost to remove this setting:
UpdateRegistry -Delete -ProductName HFSS14.0
-RegistryKey Desktop/Settings/ProjectOptions/DiskLimitForAbort -
RegistryLevel user_machine
If user jsmith had added a value for this setting to the host independent user options config file, then
user jsmith would also run the following command to remove this setting from the host independent
user options config file:
UpdateRegistry -Delete -ProductName HFSS14.0
-RegistryKey Desktop/Settings/ProjectOptions/DiskLimitForAbort
-RegistryLevel user
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
If a user has not explicitly created a host-dependent user options config file or a host-independent
user options config file, then when a user first runs an ANSYS Electromagnetics tool on a host, all
settings will come from the host-dependent default options config file or the installation default
options config file. Any settings for another host in a host-dependent user options config file will not
be carried over to the new host. This may be inconvenient if the user has preferred option settings
that differ from the settings that apply to all users, especially if the user runs the ANSYS
Electromagnetics tool on a number of different hosts. In this case, the user may set these option
values in the user's host-independent user options config file. Then, these option values will be
used on all new hosts, overriding any values set by the administrator to apply to all users. Any
changes made in the UI will only affect the user's host-dependent user options config file for the
current host.
Note If a current registry does not exist, the ANSYS Electronics Desktop can detect earlier minor
versions of same application on the same machine. If such a registry exists, (and does not
involve -help, -batchoptionhelp, IsBatchMode(), -regserver, -unregserver, running a script,
or non graphical mode) a prompt displays from which you can select an earlier version from
which the registry will be ported.
Copy over registry entries (both Windows and ANSYS .xml files).
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
For this example, user jsmith always uses host jshost to run HFSS 14.0. At some point, jsmith set
the Autosave interval in the General Options dialog, Project Options tab to 1000 edits, and this
value was written to the jsmith's host dependent user options config file for host jshost. Now, jsmith
wants to remove this setting and return to the default value of 10. User jsmith may run the following
command on host jshost to remove the Desktop/Settings/ProjectOptions/AutoSaveInterval option
value from this config file:
UpdateRegistry -Delete -ProductName HFSS14.0
-RegistryKey Desktop/Settings/ProjectOptions/AutoSaveInterval
-RegistryLevel user_machine
Related Topics
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
In the previous example, the user jsmith may decide to check the
Desktop/Settings/ProjectOptions/DiskLimitForAbort setting in the host independent user
configuration file before making any changes to this setting. The following command may be used
to quickly view this setting for HFSS 14.0 before making the change:
UpdateRegistry -Get -ProductName HFSS15.0 -RegistryKey
Desktop/Settings/ProjectOptions/DiskLimitForAbort -RegistryLevel
user
In may cases, the user is more interested in the value of a setting that will be applicable when
running the product than in the setting in a single configuration file. If the -Get option is used with no
-RegistryLevel specified, then the value reported is the value found in the highest precedence
configuration file. If the user jsmith is interested in the highest precedence value for the
Desktop/Settings/ProjectOptions/DiskLimitForAbort setting, then the following command may be
used to report this information:
UpdateRegistry -Get -ProductName HFSS14.0 -RegistryKey
Desktop/Settings/ProjectOptions/DiskLimitForAbort
As for other option settings, the Temporary Directory may be configured with an installation default
value, as well as a host dependent default value, a host independent user specified value and a
host dependent user specified value. The Temporary Directory settings are stored in different files
from the other option settings. These files are located in the same directories as the configuration
files for the other option settings. The following table shows the directories and files used to store
the Temporary Directory settings.
Lev
Config el File
Linux Directory Pathname Windows Directory Pathname
File Na Name
me
host hostna MyDocuments/AnsysEM/Application
depen use me.cfg $HOME/AnsysEM/ApplicationPa PathAndVersion/config
dent r_ thAndVersion/config
user mac
specific hine
Tempo
rary
Directo
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Lev
Config el File
Linux Directory Pathname Windows Directory Pathname
File Na Name
me
ry
host user
indepe default.
ndent cfg
user
specific
Tempo
rary
Directo
ry
host hostna InstallationDirectory/config InstallationDirectory/config
depen insta me.cfg
dent ll_
default mac
default hine
Tempo
rary
Directo
ry
installa
tion insta default.
default ll cfg
Tempo
rary
Directo
ry
NOTES:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
As for other options, the settings in these files have precedence in the following sequence: user_
machine (highest precedence), user, install_machine, install (lowest precedence). The installer will
create the file at the install level. By default, the other files are not created. If the Temporary
Directory is set to an empty string in a configuration file, then that setting is ignored.
Related Topics
This section describes the format of the Temporary Directory configuration files. The format is the
same for files at all four levels: user_machine, user, install_machine, and install. These files are text
files, so any text editor may be used to modify or create Temporary Directory configuration files.
tempdirectory='C:/TEMP/AnsysEM'
$end 'Config'
Additional notes:
The string containing the pathname of the temporary directory must be enclosed in single quotes.
The forward slash "/" may be used as a directory separator on Windows and Linux. The back slash
"\" may be used as a directory separator on Windows only.
The back slash "\" is used as an escape character in the tempdirectory string. That it, this character
removes the special meaning of the following character.
The single quote character normally ends the tempdirectory string. The back slash may be used to
remove this special meaning, and include a single quote in the string.
To use a back slash as a directory separator on Windows, it must be escaped. That is, a double
back slash "\\" is used to denote a single directory separator.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
On Windows, a UNC path normally begins with two back slash characters. In a tempdirectory
string, each of these back slash characters must be doubled, so four consecutive back slashes "\\\\"
are used in the config file.
UNC Example
Config file:
$begin 'Config'
tempdirectory='\\\\hostxyz\\TEMP\\abc'
$end 'Config'
Here hostxyz is a host with a sharename TEMP having subdirectory abc used as the Temporary
Directory. This shows that four back slashes are required for UNC names and that back slashes
used as directory separators must be doubled.
Config file:
$begin 'Config'
tempdirectory='C:/TEMP/ab\'cd'
$end 'Config'
Related Topics
The UpdateRegistry command line tool, described above, may be used to view, add, change or
remove the Temporary Directory setting from any of the Temporary Directory config files. The
registry key for viewing or modifying the Temporary Directory is TempDirectory. The -Get, -Set,
and -Delete options are valid for viewing a Temporary Directory setting, adding or changing a
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Temporary Directory setting, or deleting a Temporary Directory setting. The -GetKeys option does
not list the Temporary Directory key.
Related Topics
As for other options, the Temporary Directory may be viewed or set using the Desktop GUI. In the
Tools>Options>General Options dialog, the Temp Directory setting appears in the Directories
group box on the Project Options tab. Activating the Override check box allows you to enter a
desired directory pathname in the edit box or to click on the "..." button to bring up a directory file
browser dialog, from which you can select a temp directory. Values set in this manner are written to
the user_machine level configuration file for the Temporary Directory. If the Override check box is
unchecked, then when the OK button is pressed, the user_machine level setting for the Temporary
Directory is changed to an empty string. This enables setting from the next highest precedence
config file. The config file which provides the currently active Temporary Directory setting is shown
under the Temp Directory edit box in the Project Options tab of the General Options dialog, if
the Override check box is unchecked.
Related Topics
The temporary directory may be set from the command line, using the -batchoptions command line
option. See Running ANSYS Electronics Desktop from a Command Line. The Batchoptions
Command Line Examples section below includes examples that show how to set the Temporary
Directory from the command line.
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Related Topics
'Desktop/ProjectDirectory'='C:/test/projects'
'Desktop/Settings/NumberofProcessors'=2
'HFSS/NumberCoresPerDistributedTask'=2
$end 'Config'
l The file may contain an arbitrary number of batchoption entries, one per line.
l Leading whitespace on each line is ignored. Spaces or tabs may be used to make the file
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
more readable.
l Option pathname:
The option pathname appears before the equal sign "=" on each line.
l Option value:
l The option value appears after the equal sign on each line.
l Integral option values must not be enclosed in quotes.
l All other options values are treated as strings, and must be enclosed in single quotes.
l The forward slash "/" may be used as a directory separator on Windows and Linux. The
back slash "\" may be used as a directory separator on Windows only.
l The back slash "\" is used as an escape character in the value string. That it, this character
removes the special meaning of the following character.
The single quote character normally ends the value string. The back slash may be used to
remove this special meaning, and include a single quote in the string.
To use a back slash as a directory separator on Windows, it must be escaped. That is, a
double back slash "\\" is used to denote a single directory separator.
In this example, we run a batch Maxwell analysis of project file project1.mxwl which contains a 3D
design. We want all temporary files and directories created in directory C:\temp\maxwell instead of
using the installation default for the Temporary Directory. We decide that the analysis will be done
on a remote host, at IP address 12.34.56.78. Because of limited memory on the remote host, we
decide to run the analysis using only a single COM engine. Because the remote host has four
cores, we decide to use four threads for multiprocessing, for both distributed and non-distributed
parts of the analysis. We can use the -Remote option to specify that there will be a single remote
COM engine.
Here is a sample command line for this analysis, where the project file
\\somehost\projects\project1.mxwl is located in a shared directory specified using a UNC path:
maxwell -BatchSolve -Remote -Machinelist list=12.34.56.78
-batchoptions "TempDirectory='C:/temp/maxwell'
Desktop/Settings/ProjectOptions/NumberofProcessors=4
Maxwell3D/NumberCoresPerDistributedTask=4"
\\somehost\projects\project1.mxwl
An alternative is to use the -Distributed command line option. Because the -Machinelist list contains
only one host, there is a single remote COM engine in this case, also.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The above command lines show that the forward slash "/" may be used as a directory separator on
Windows. The back slash "\" may also be used as a directory separator on Windows, but it must be
doubled to "\\" because the back slash is also an escape character.
Related Topics
Suppose that we want to run a batch HFSS analysis of project file project1.aedt. Because all of our
hosts have multiples of 2 cores, we specify that we will use two threads for multiprocessing for both
the distributed (NumberOfProcessorsDistributed) and non-distributed (NumberOfProcessors)
parts of the job. The analysis contains a sweep that will be distributed across three hosts, adam,
bill, and charlie. The hosts adam and bill have four cores each, so we run two distributed COM
engines on each of these hosts, each using two threads. Host charlie has only two cores, so we
specify only one distributed COM engine on this host. This COM engine will also use two threads.
We specify a desired RAM limit of 6 GB and a maximum RAM limit of 8 GB for this analysis. The
RAM limits are specified in KB, so the desired RAM limit is 6291456 KB, and the maximum RAM
limit is 8388608 KB.
Here is a sample command line for this analysis, where the project file
\\dennis\projects\project1.aedt is located in a shared directory specified using a UNC path:
hfss -BatchSolve -Distributed
-Machinelist list=adam,adam,bill,bill,charlie
-batchoptions "Hfss/Preferences/MemLimitHard=8388608
Hfss/Preferences/MemLimitSoft=6291456
Hfss/Preferences/NumberOfProcessors=2
Hfss/Preferences/NumberOfProcessorsDistributed=2"
\\dennis\projects\project1.aedt
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
In this example, we run a batch HFSS analysis of project file project2.aedt, which contains an
HFSS-IE design. We have four identical hosts host1,host2, host3, and host4 for analysis, and each
host has 4 cores. We do not use multiprocessing for the distributed analysis, so
NumberOfProcessorsDistributed=1. As each host has four cores, we specify multiprocessing
using 4 threads for the non-distributed part of the analysis, so NumberOfProcessors=4. Because
we do not use multiprocessing for the distributed analysis, we will run four distributed COM engines
on each host, with a singe core available for each engine. As in Example 1, we specify a desired
RAM limit of 6 GB and a maximum RAM limit of 8 GB for this analysis. The RAM limits are specified
in KB, so the desired RAM limit is 6291456 KB, and the maximum RAM limit is 8388608 KB.
Here is a sample command line for this analysis, where the project file
/home/jsmith/projects/project2.aedt is located in a shared directory:
hfss -BatchSolve -Distributed
-Machinelist file=/home/jsmith/hosts/list2
-batchoptions "HFSS-IE/Preferences/MemLimitHard=8388608
HFSS-IE/Preferences/MemLimitSoft=6291456
HFSS-IE/Preferences/NumberOfProcessors=4
HFSS-IE/Preferences/NumberOfProcessorsDistributed=1"
/home/jsmith/projects/project2.aedt
For this example, the hostnames are in the text file /home/jsmith/hosts/list2. Here is the file
contents:
host1
host1
host1
host1
host2
host2
host2
host2
host3
host3
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
host3
host3
host4
host4
host4
host4
Related Topics
In this example, we run a batch analysis of project file testproject.adsn on the local host. We want
all temporary files and directories created in directory C:\temp\ansysedt instead of using the
installation default for the Temporary Directory. Because the local host has four cores, we decide
to use four threads for multiprocessing, for both distributed and non-distributed parts of the
analysis.
Here is a sample command line for this analysis, where the project file
\\host123\projects\testproject.adsn is located in a shared directory specified using a UNC path:
ansysedt -BatchSolve -Local -batchoptions
"TempDirectory='C:/temp/ansysedt'
'Planar EM/SolverOptions/NumProcessors'=4
'Planar EM/SolverOptions/NumProcessorsDistrib'=4"
\\host123\projects\testproject.adsn
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
There are several major changes related to how configurations are organized. A configuration
contains information in addition to the machines that are to be used in an analysis. For example, the
number of tasks and the number of cores to allocate to the analysis for each machine in the list is
also included in the configuration. Other options may be specific to one product or design type, for
example, certain job distribution types and memory limits. In order to support different options for
different design types, analysis configurations are now associated with the design type. Previously,
configurations applied to all design types within a given product. Now, it is possible to create
independent configurations with the same name, but associated with different design types, and
that the appropriate configuration for the design being solved will be used.
1. On the Configurations tab of the HPC and Analysis Options dialog, use the Export…
button to export the configuration to a file.
2. Switch to the destination design type (or product) and use the Import… button to import the
configuration data.
Any data that is not applicable to the destination design type is ignored; any settings present in
the destination design type that were not present in the source configuration will be assigned
default values. The user may then edit the copy, as desired.
Due to the complexity of the registry values for the configurations we do not recommend directly
editing these values using the UpdateRegistry tool. Instead, use the HPC and Analysis Options
dialog to edit or create a configuration. (See Setting HPC and Analysis Options.) Configurations
created or edited using the GUI are stored in the user_machine level of the registry. A configuration
may be created for one of the other registry levels using several steps.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
1. First, create the configuration using the Analysis Configurations GUI, then export the
configuration to a file.
2. Next, delete the configuration using the GUI so that it will not be present in the user_machine
level. Exit the GUI.
3. Use the UpdateRegistry tool to import the data into the desired registry level using the -
FromFile option to specify the file exported via the GUI, and using the -RegistryLevel option
to specify the registry level where the configuration is to be stored. For example, an
administrator may use this approach to create a configuration at the install level that may be
used by any user on any machine.
The batch options corresponding to configurations are affected by the changes to the organization
of configuration information. A number of batch options are changed. For example, the batch
options settings HFSS/Preferences/NumberOfProcessors and
HFSS/Preferences/NumberOfProcessorsDistributed are no longer used. The new batch option
setting, HFSS/NumCoresPerDistributedTask, resembles the obsolete
HFSS/Preferences/NumberOfProcessorsDistributed setting, but there is no equivalent to the
obsolete HFSS/Preferences/NumberOfProcessors setting. The non-distributed portion of the
analysis uses all cores that were allocated for distributed tasks on the given machine.
When you submit jobs to a cluster, you can specify batch options using the job submission GUI.
When using the GUI, you can select the batch options from a list, making typographical errors less
common. For the most commonly used batch options, there is detailed information about the
allowed values.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
To assist users who need to specify batch options and are unable to use the job submission GUI, a
new help option is added to all products. If the product is launched with the -batchoptionhelp
command line argument, a message box is displayed which lists and describes the most common
batch options specific to the product.
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Project A project variable can be assigned to any parameter value in the HFSS project in
Variables which it was created. HFSS differentiates project variables from other types of
variables by prefixing the variable name with the following symbol: $. You can
manually include the symbol $ in the project variable's name, or HFSS will
automatically append the project variable's name after you define the variable. Project
Variables can be designated as Design, ArrayIndex or Separator variables but not as
Post Processing Variables.
Design A design variable can be assigned to any parameter value in the HFSS design in
Variables which it was created. From the Design Variables Properties dialog, you can Add,
Add Array, Edit, or Remove Design variables. Design Variables can be designated as
Design, ArrayIndex or Separator variables and as Post Processing Variables.
Related Topics
Defining an Expression
Assigning Variables
Viewing Variables
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Project variable names must start with the symbol $ followed by a letter. Variable names may
include alphanumeric characters and underscores ( _ ). The names of Intrinsic Functions and
the pre-defined constant pi (π) cannot be used as variable names.
You can sort the project variables by clicking on the Name column header. By default, variables
are sorted in original order. Clicking once sorts them in ascending order, noted by a triangle
pointing up. Clicking against sorts in descending order, noted by a triangle pointing down.
Clicking a third time sorts in original order, with no triangle.
5. For Project Variables in the Unit Type text box you can use the drop down menu to select
from the list of available unit types. "None" is the default.
When you select a Unit Type, the choices in drop down menu for the Units text box adapt to that
unit type. For example, selecting Length as the Unit Type causes the Unit menu to show a
range of metric and English units for length. Similarly, if you select the Unit Type as Resistance,
the Units drop down lists a range of standard Ohm units.
6. In the Value text box, type the quantity that the variable represents. If you did not specify the
Unit Type and Unit, you can also optionally, include the units of measurement.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Warning If you include the variable's units in its definition (in the Value text box), do not
include the variable's units when you enter the variable name for a parameter
value.
7. Click OK.
You return to the Properties dialog box. The new variable and its value are listed in the table. If
the value is an expression, the evaluated value is shown. Updating the expression also changes
the evaluated value display. Any dependent variables also have evaluated values changed.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The name you provide appears as the name for a separator line in the variables list for each
separator variable you define.
The Sweep check box lets you designate variables to include in solution indexing as a way to
permit faster post processing. Variables with Sweep unchecked are not used in solution
indexing. If a solution exists, checking or unchecking a variable's Sweep setting produces a
warning that the change will invalidate existing solutions. To continue, click OK to dismiss the
warning dialog.
If a variable has dependent variables, the Sweep check box is disabled and cannot be changed.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The new variable can now be assigned to a parameter value in the project in which it was created.
Initially, you leave the radio button with Value selected until you have defined a variable. The other
radio buttons let you enable defined variables for Optimization/Design of Experiments, Tuning,
Sensitivity or Statistics. Selecting one of these radio buttons add a new column to the Variable
definition row for which you can check or uncheck Include for regular variables for that kind of
Optimetrics simulation. For further discussion, see Optimetrics.
Related Topics
Defining an Expression
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
1. Remove all references to the variable in the project, including dependent variables.
2. Save the project to erase the command history.
3. Click Project>Project Variables to display the Properties dialog with list of variables. You
can also access the Project variables from a menu in the lower left corner of the following
Optimization dialogs: Parametric, Optimization, Sensitivity, Statistical, Design of
Experiments and Design Xplorer Setup. Click Edit Variables and from the menu select
Edit Project Variables.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
4. Select the variable and click Remove Selected and OK. The variable can be removed if it is
not in use.
To remove all unused project variables that are not in use (that is, not in the undo/redo command
history):
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
From the Local Variables tab of the Properties dialog, you can Add, Add Array, Edit,
Remove or Convert variables. This section describes the Add command. Use the following
links for descriptions of: Add Array, Edit, Remove and Convert.
Existing Design variables are listed in the Properties dialog. The name of each design variable
is followed in a row by entries for Value, Unit, Evaluated Value, Type, Description, Read-only
and Hidden. A Show Hidden check box on the lower right of the Properties dialog controls the
appearance of any Hidden variables.
Initially, you leave the radio button with Value selected until you have defined a variable. The
other radio buttons let you enable defined variables for Optimization/Design of Experiments,
Tuning, Sensitivity or Statistics. Selecting one of these radio buttons add a new column to the
Variable definition row for which you can check or uncheck Include for regular variables for that
kind of Optimetrics simulation. For further discussion, see Optimetrics.
2. Click Add.
Variable names must start with a letter, and may include alphanumeric characters and
underscores ( _ ). The names of Intrinsic Functions and the pre-defined constant pi (π) cannot
be used as variable names.
You can sort the project variables by clicking on the Name column header. By default, variables
are sorted in original order. Clicking once sorts them in ascending order, noted by a triangle
pointing up. Clicking against sorts in descending order, noted by a triangle pointing down.
Clicking a third time sorts in original order, with no triangle.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
5. In the Unit Type text box you can use the drop down menu to select from the list of available
unit types. "None" is the default.
When you select a Unit Type, the choices in drop down menu for the Units text box adapt to that
unit type. For example, selecting Length as the Unit Type causes the Unit menu to show a
range of metric and English units for length. Similarly, if you select the Unit Type as Resistance,
the Units drop down lists a range of standard Ohm units.
6. For an ArrayIndexVariable, select an array variable from the Associate array variable
drop down menu.
7. In the Value text box, type the quantity that the variable represents. Optionally, include the
units of measurement.
Note If you include the variable's units in its definition (in the Value text box), do not include
the variable's units when you enter the variable name for a parameter value.
Note Complex numbers are not allowed for variables to be used in an Optimetrics sweep, or for
optimization, statistical, sensitivity or tuning setups.
8. Click OK.
You return to the Properties dialog box. The new variable and its value are listed in the table. If
the value is an expression, the evaluated value is shown. Updating the expression also changes
the evaluated value display. Any dependent variables also have evaluated values changed.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The name you provide appears as the name for a separator line in the variables list for each
separator variable you define.
The Sweep check box lets you designate variables to include in solution indexing as a way to
permit faster post processing. Variables with Sweep unchecked are not used in solution
indexing. If a solution exists, checking or unchecking a variable's Sweep setting produces a
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
warning that the change will invalidate existing solutions. To continue, click OK to dismiss the
warning dialog.
If a variable has dependent variables, the Sweep check box is disabled and cannot be changed.
The new variable can now be assigned to a parameter value in the design in which it was created.
Related Topics
Defining an Expression
From the Local Variables tab of the Properties dialog, you can Add, Add Array, Edit, Remove or
Convert variables. This section describes the Add command. Use the following links for
descriptions of: Add Array, Edit, Remove and Convert.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Existing Design variables are listed in the Properties dialog. The name of each design variable
is followed in a row by entries for Value, Unit, Evaluated Value, Type, Description, Read-only
and Hidden. A Show Hidden check box on the lower right of the Properties dialog controls the
appearance of any Hidden variables.
Initially, you leave the radio button with Value selected until you have defined a variable. The
other radio buttons let you enable regular variables for Optimization, Tuning, Sensitivity or
Statistics. Array variables cannot be enabled for Optimetrics use.
5. To specify the array with Edit in Grid Selected, you can begin by clicking the Append
Rows... button to display the Number of Rows dialog. (For Edit in plain text field, see
below.)
This displays a list of indexed data rows in the Add Array dialog. You can type any data value in
the cells. If you enter alphanumeric text, in a cell it must be delimited by double quotes. You can
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
edit the rows relative a row selection by clicking buttons to Add Row Above, Add Row Below, or
Remove Row. All cells must contain a value.
7. When you have completed the array, click OK to close the dialog,
The Array variable is listed in the Design Properties dialog as a Local Variable. The array
variable value field includes the array contents in brackets with the unindexed data values
delimited by commas.
If you elected to edit the array Edit in plain text field in the Add Array dialog, the bracketed
and comma delimited format is used.
Related Topics
Design Variables
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Defining an Expression
From the Local Variables tab of the Properties dialog, you can Add, Add Array, Edit, Remove or
Convert variables. This section describes the Add command. Use the following links for
descriptions of: Add Array, Edit, Remove and Convert.
Existing Design variables are listed in the Properties dialog. The name of each design variable
is followed in a row by entries for Value, Unit, Evaluated Value, Type, Description, Read-only
and Hidden. A Show Hidden check box on the lower right of the Properties dialog controls the
appearance of any Hidden variables.
Initially, you leave the radio button with Value selected until you have defined a variable. The
other radio buttons let you enable defined variables for
l Optimization/Design of Experiments
l Tuning, Sensitivity or Statistics. \
l Selecting one of these radio buttons add a new column to the Variable definition row for
which you can check or uncheck Include a regular variable for that kind of Optimetrics
simulation. Array variables cannot be Enabled for Optimetrics. For further discussion, see
Optimetrics.
2. Select a variable to highlight it.
3. Click the Edit button.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
For regular variables, the Edit Property dialog for that variable opens, and for array variables,
the Edit Array variable dialog for that variable opens.
Related Topics
Design Variables
1. Remove all references to the variable in the design, including dependent variables.
2. Save the project to erase the command history.
3. Click HFSS or HFSS-IE>Design Properties to display the Properties dialog with list of
local variables.
4. Select the variable and click Remove and from the drop-down menu, select Remove
Selected and click OK.
To remove all unused design variables (that is, not in the undo/redo command history):
1. Remove all references to unused variables in the design, including dependent variables.
2. Save the project to erase the command history.
3. Click HFSS or HFSS-IE>Design Properties to display the Properties dialog with list of
local variables.
4. Select the variable and click Remove and from the drop-down menu, select Remove All
Unused and click OK. All variables that are not in use (not in undo/redo history) are
removed.
1. Remove all references to unused variables in the design, including dependent variables.
2. Click HFSS or HFSS-IE>Design Properties to display the Properties dialog with list of
local variables.
3. Select the variable and click Remove and from the drop-down menu, select Force Remove
All Unused and click OK. A warning message asks whether you want the unapplied
changes in property dialog to be applied, and clear undo/redo history. If you select No,
nothing happens. If you select Yes, all unapplied changes are applied first, and undo/redo
history is cleared; all variables that are not used are removed (including those that are only in
undo/redo history before this command is executed).
Related Topics
Design Variables
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Adding Datasets
Datasets are collections of plotted data points that can be extrapolated into an equation based on
the piecewise linear makeup of the plot. Each plot consists of straight line segments whose vertices
represent their end points. A curve is fitted to the segments of the plot and an expression is derived
from the curve that best fits the segmented plot. The created expression is then used in piecewise
linear Intrinsic Functions. You can add datasets at either the Project Level or the Design level. They
can be for various purposes, including to define frequency dependent port impedances or
frequency dependent global variables, and boundary definitions. Project level datasets are used
typically for defining various material properties at the project level (applicable to all designs in the
project). Otherwise, project level datasets are not supported for design level assignment.
Design level datasets can be used in geometry entities like part commands, coordinate systems,
points, and planes. Design level datasets do not work with equation based surfaces or curves.
Design level datasets can be used directly with piecewise linear functions in expressions or
indirectly through variables that can refer to the dataset.
When a geometry uses a dataset directly, edit dataset invalidates the solution. When a
geometry uses a variable that is defined by dataset, edit dataset does not invalidate the
solution.
The following procedure describes how to add a dataset manually. You can also add datasets:
l By importing data an external tab delimited file using the Import... button.
l By using the Sheetscan tool.
1. For a Project level dataset, click Project>Datasets. For a Design level dataset, click HFSS
or HFSS-IE or HFSS 3D Layout>Design Datasets.
The Datasets dialog box appears. This lists any existing datasets for the Project or Design
level, respectively.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
2. Click Add.
The dialog contains fields for the Dataset name, and a table for x- and y- coordinates. It contains
a graphic display that draws a line for the coordinates you add. It also includes buttons for the
following functions:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Swap X-Y Data - this swaps the x- and Y- coordinates and adjusts the graphical display.
l Import Dataset - this provides a way to import data sets from an external source. The
format is a tab separated points file. Clicking the button opens a file browser window.
l Export Dataset -- this provides a way to export the current dataset to a tab separated
points file. Clicking the button opens a file browser window.
l Add Row Above - adds a new row to the table above the selected row.
l Add Row Below - adds a new row to the table below the selected row/
l Append Row - opens a dialog that lets you specify a number of rows to add to the table.
l Delete Row - deletes the selected row or rows.
3. Optionally, type a name other than the default for the dataset in the Name text box.
4. Enter the x- and y- coordinates by one of the following methods
l Import Dataset
l Type the x- and y-coordinates for the first data point in the row labeled 1.Type the x- and
y-coordinates for the remaining data points in the dataset using the same method.
After you type a point's coordinates and move to the next row, the point is added to the plot,
adjusting the display with each newly entered point.
5. When you are finished entering the data point coordinates, click OK.
The dataset plot is extrapolated into an expression that can be used in parametric analyses,
boundary definitions, or assigned to a material property value.
Related Topics
Modifying Datasets
Using Sheetscan
Add - Opens a blank Add Dataset window in which you can define a dataset by entering data
coordinates directly, or by importing data from a file.
Edit - Opens the selected dataset in an Edit Dataset window for editing.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Clone - Copies the selected dataset to an editing window for modification. The original dataset
remains intact.
Import - Opens an Import Dataset window in which you can locate and import characteristics
data from several file types including data exported from the SheetScan tool.
Export - Opens an Export Dataset window in which you can export the selected dataset to a tab-
delimited file.
SheetScan - Opens the SheetScan tool in which you can extract characteristics data from
graphics such as data sheets.
Related Topics
Adding Datasets
Importing Datasets
Editing Datasets
Cloning Datasets
Exporting Datasets
Removing Datasets
Using SheetScan
1. You can change the properties of various elements of the preview plot such as the major and
minor grid colors, title font, and trace line style by double-clicking the element to open its
properties dialog box.
2. Depending on the type of element selected, tabs allow you to set the Color, Font, Line
Style, Scaling, Title, and Legend properties.
3. Right-clicking inside the plot window opens a context menu containing commands to add
and delete data markers and labels, change trace type, and print the plot.
4. Click Save as Defaults to make the changes the default values.
5. Click OK to apply the changes only while the current dataset plot window is open. Click Save
as Defaults to keep the changes.
Importing Datasets
To import data for a dataset from a file:
1. For a Project level dataset, click Project>Datasets. For a Design level dataset, click HFSS
or HFSS-IE or HFSS 3D Layout>Design Datasets.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note You can also import a dataset in the Add Dataset and Edit Dataset windows.
Related Topics
Adding Datasets
Editing Datasets
Cloning Datasets
Exporting Datasets
Removing Datasets
Using SheetScan
Editing Datasets
1. For Project level datasets, click Project>Datasets. For a Design level dataset, click HFSS
or HFSS-IE or HFSS 3D Layout>Design Datasets.
2. Click the dataset name you want to modify, and then click Edit.
3. Optionally, type a name other than the default for the dataset in the Name box.
4. Type new values for the data points as desired.
5. When you are finished entering the data point coordinates, click OK.
6. Click Done.
Related Topics
Adding Datasets
Modifying Datasets
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Modifying Datasets
1. For Project level datasets, click Project>Datasets. For Design level datasets, click HFSS or
HFSS-IE >Design Datasets.
2. Click the dataset name you want to modify, and then click Edit.
3. Optionally, type a name other than the default for the dataset in the Name text box.
4. Type new values for the data points as desired.
5. When you are finished entering the data point coordinates, click OK.
Related Topics
Adding Datasets
Modifying Datasets
Exporting Datasets
1. For Project level datasets, click Project>DatasetsFor a Design level dataset, click HFSS or
HFSS-IE or HFSS 3D Layout>Design Datasets.
Note You can also export a dataset in the Add Dataset and Edit Dataset windows.
Related Topics
Adding Datasets
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Importing Datasets
Editing Datasets
Cloning Datasets
Removing Datasets
Using SheetScan
Removing Datasets
1. For Project level datasets, click Project>Datasets. For a Design level dataset, click HFSS
or HFSS-IE or HFSS 3D Layout>Design Datasets.
2. Click the dataset name you want to remove, and then click Remove.
3. When finished removing datasets, click Done.
Related Topics
Adding Datasets
Importing Datasets
Editing Datasets
Cloning Datasets
Exporting Datasets
Using SheetScan
Using SheetScan
SheetScan allows you to extract characteristics data from graphics such as data sheets which
have been scanned and saved in any of the following formats: .bmp, .dib, .jpg, .gif, .tif, .tga, .pcx,
.htm, or .html. SheetScan can be accessed at the AEDT project level under
Project>Datasets>SheetScan.
In addition to importing graphic files directly, SheetScan also can be used to browse the Internet for
datasheet information and transfer a snapshot of the web page to the SheetScan editor where you
can map axes on the image as an overlay. You can then manually add datapoints to approximate
the characteristic curve(s) on the datasheet.The sampled data can then be converted to ANSYS
Electronics Desktop format, and the extracted data exported to an ANSYS Electronics Desktop
dataset or saved to a tab-delimited file.
The process for creating a dataset using SheetScan involves four basic operations:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Related Topics
SheetScan Toolbars
SheetScan Settings
SheetScan Toolbars
Three toolbars are available in SheetScan. They provide convenient access to commands that are
also found in the SheetScan main menu. Toolbars can be toggled on and off via the View>Toolbar
sub-menu.
l The Standard toolbar includes access to basic Windows functions such as file Open and
Save, Cut, Copy, Paste, Print, and Help.
l The Curve toolbar contains tools for working with curve values. A pull-down menu allows
you to select the curve on which to work. Other tools allow you to: change curve settings,
change the curve’s coordinate system, and to select, append, delete, and insert points on
the active curve
l The Zoom toolbar provides tools for scaling the current view, zooming in and out, resetting
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
the zoom to 100 percent, and toggling the display of the curve’s grid on and off.
Related Topics
SheetScan Settings
SheetScan Settings
Default settings are made by choosing Options>Settings. The Settings dialog box contains
three tabs:
l The Document tab allows you to set the Width and Height of the sheet created when a
picture imported into the SheetScan editor. You can either enter the dimensions manually,
or allow SheetScan to adapt the dimensions to the picture being loaded.
l The Axis tab allows you to set the default Name, Unit of measure, Scaling factor, and
Offset value for the X and Y axes. Checking Monotonicity in X automatically prevents you
from adding consecutive data points whose X-values are not increasing.
l The Representation tab lets you choose whether to connect points on the characteristic
curve and to choose the color of the connecting line. You can also choose to display markers
for the point chosen when defining a curve, to set the color of displayed markers, and to set
the color of markers when they are selected.
Note You can also override the default settings on the Axis and Representation tabs for
individual curves (see Defining a Characteristic Curve in SheetScan).
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The View>Curve Values menu item toggles the display of a dock-able Curve Values window
that displays the data points you place when creating a characteristic curve. Data for each curve on
a sheet is displayed on its own tab. You can manually change the X and Y values in the table to
fine-tune the characteristic curve.
Related Topics
By default, SheetScan opens a new, blank datasheet editing window. There are two ways to load a
datasheet picture into the editor:
1. Browse directly to the datasheet picture file by choosing Picture>Load picture to open a
file browser window.
2. When you have located the desired file, click OK to load the image into the SheetScan
editor. Supported file types include: .bmp, .dib, .jpg, .gif, .tif, .tga, .pcx, .htm, and .html.
4. Click the To SheetScan button to copy the visible contents of the HtmlViewer window
into the SheetScan editor window.
Note To hide the datasheet picture, choose Picture on the View menu.
After loading a datasheet picture into the SheetScan editor, the next step is Defining a coordinate
system for the imported picture.
Related Topics
SheetScan Toolbars
SheetScan Settings
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Warning You cannot undo this action. If you delete a picture from the SheetScan editor, you
must reload it from the source file or Internet web page.
Related Topics
Use this procedure to define a coordiante system typically for a graph on a datasheet picture that
you have previously loaded into the SheetScan editor.
The Coordinate System dialog box disappears temporarily and the cursor changes to a
crosshairs.
3. Position the cursor over a corner of the datasheet graph and click the left mouse button.
The Coordinate System dialog box reappears displaying the X- and Y-Coordinate values for
the chosen point.
4. Enter the X-Value and Y-Value for this point. Typically, these values will correspond to the
values taken from the axis scale values on the datasheet.
5. Select the desired scaling (linear, logarithmic, or decibel) for both the X and Y axes.
6. Repeat steps 2 through 4 for the Point2 and Point3 buttons.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note l You can edit the grid after placement either by selecting Coordinate
System>Properties from the SheetScan main menu bar, by clicking the
coordinate system icon on the Curve toolbar, or by right-clicking in the
SheetScan editing window and selecting Coordinate system from the
context menu.
l You can hide the grid by selecting Grid on the View menu, or by clicking the
grid icon on the Curve toolbar.
8. Proceed to Defining a Characteristic Curve in SheetScan.
Related Topics
SheetScan Toolbars
SheetScan Settings
Once you have loaded a datasheet picture in the editor and have defined a coordinate system, you
can define one or more characteristic curves as follows:
1. Choose Curve>New.
2. Define the properties of the curve. Refer to SheetScan Settings for a detailed explanation of
the settings you can make on the Axis and Representation tabs.
3. When finished defining curve properties, click OK.
4. Click the points of the characteristic which you want to capture for the dataset. The points
are connected automatically.
5. Repeat steps 1 through 4 for each additional characteristic curve you wish to define.
After characteristic curves have been defined, you can perform various operations on them. Refer
to Performing Operations on SheetScan Curves for details.
Related Topics
SheetScan Toolbars
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
SheetScan Settings
2. Click the desired curve name to highlight it, then click OK to select the curve.
Note If the Curve Values window is open, you can also click the tab of the desired curve to
select it.
Related Topics
SheetScan Toolbars
SheetScan Settings
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
2. Change the properties of the curve as desired. Refer to SheetScan Settings for a detailed
explanation of the settings you can make on the Axis and Representation tabs.
3. When finished changing curve properties, click OK.
4. Repeat steps 1 through 3 for each additional characteristic curve you wish to change.
Related Topics
SheetScan Toolbars
SheetScan Settings
The following SheetScan curve editing functions are available either via the main Curve menu, the
Curve toolbar, or the editor window context menu:
l Select points — click on a point to select it. Ctrl+click selects multiple points.
l Append points — click to add data points to the end of a curve.
l Delete points — click a data point to remove it from the curve.
l Insert points — click to insert new data points between existing data points.
Related Topics
SheetScan Toolbars
SheetScan Settings
Warning You cannot undo this action. If you delete a curve and its data points from the
SheetScan editor, you must reconstruct it manually.
SheetScan supports data import from the following file types: Simplorer Characteristic (*.mdx,
*.mda), Microsoft Access (*.mdb), Microsoft Excel (*.xls), text (*.txt), comma separated value
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note l Only the first two columns of data are imported, the left-most column
containing the X-coordinate values. The x-coordinate values for
successive data points must increase within ten significant digits. Non-
numeric entries are assigned a value of zero.
l The first row of data is assumed to contain column headings and is
ignored.
b. Selecting a .txt, .tab, or .csv file opens an Import dialog box in which you can specify
how to settings for reading the data in the file for import. You can choose the Separator
(s) and Decimal Symbol, as well as the line at which to begin the import. The dialog box
shows both the original text and the text as it would appear when imported based on the
current import settings.
When satisfied with the import settings, click OK to import the data.
3. Change Curve Settings as needed and click OK to complete the data import.
You can export SheetScan curve data directly to an ANSYS Electronics Desktop solver Dataset.
3. Choose Equidistant if you want to set the Start and StopX-Channel values and a Sample
Rate or Number of samples for the exported dataset(s),
4. Choose Dataset to export curve data directly to the project’s dataset file.
Note Exporting data to a file via the File button is not currently supported.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Related Topics
Adding Datasets
The predefined variables X, Y, Z, Phi, Theta, R, and Rho must be entered as such. X, Y, and Z are
the rectangular (cartesian) coordinates. Phi, Theta, and Rho are the spherical coordinates. R is the
cylindrical radius, and Rho is the spherical radius.
If you do not specify units, all trigonometric expressions expect their arguments to be in radians,
and the inverse trigonometric functions' return values are in radians. If you want to use degrees,
you must supply the unit name deg. When the argument to a trigonometric expression is a variable,
the units are assumed to be radians. These function names are reserved and may not be used as
variable names.
As far as expression evaluation is concerned: units are conversion factors (that is, from the given
unit to SI). Note also that the evaluated value of an expression) is always interpreted as in SI units.
Related Topics
Defining an Expression
Expressions are mathematical descriptions that typically contain Intrinsic Functions, such as sin(x),
and arithmetic operators, such as +, -, *, and /, well as defined variables. For example, you could
define: x_size = 1mm, y_size = x_size + sin(x_size). Defining one variable in terms of another
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
makes a dependent variable. Dependent variables, though useful in many situations, cannot be the
subject of optimization, sensitivity analysis, tuning, or statistical analysis.
The Constants tab of the Project Variables dialog lists the available pre-defined constants. These
may not be reassigned a new value.
Numerical values may be entered in ANSYS's shorthand for scientific notation. For example,
5x107 could be entered as 5e7.
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The operators that can be used to define an expression or function have a sequence in which they
will be performed. The following list shows both the valid operators and the sequence in which they
are accepted (listed in decreasing precedence):
( ) parenthesis 1
! not 2
^ (or exponentiation 3
**)
(If you use "**" for exponentiation, as in previous software versions, it is automatically
changed to "^".)
- unary minus 4
* multiplication 5
/ division 5
+ addition 6
- subtraction 6
== equals 7
!= not equals 7
> greater than 7
< less than 7
>= greater than or equal to 7
<= less than or equal to 7
&& logic and 8
|| logic or 8
Related Topics
Defining an Expression
HFSS recognizes a set of intrinsic trigonometric and mathematical functions that can be used to
define expressions. Intrinsic function names are reserved, and may not be used as variable names.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note If you do not specify units, all trigonometric functions interpret their arguments as radians.
Likewise, inverse trigonometric functions' return values are in given in radians. When the
argument to a trigonometric expression is a variable, the units are assumed to be radians. If
you want values interpreted in degrees, supply the argument with the unit name deg.
Related Topics
Defining an Expression
pwl(arrayVariable[indexVariable], variable)
The pwl function interpolates along the x-axis and returns a corresponding y value. The pwl_
periodic function also interpolates along the x-axis but periodically.
You can use pwl in an expression that uses array variables and datasets for uses such as a
frequency dependent material property. (Refer to Adding Datasets for related information on
working with datasets.) For example, you specify BulkConductivity as:
In this case, creating a variable named xSize with pwl(arr[idx], 1) like this:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
This value for xSize automatically opens a dialog first for the idx index variable:
And then dialogs automatically open for each dataset variable implicit for the predefined array
variable:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Related Topics
Adding Datasets
Modifying Datasets
In the simplest sense a dataset is a collection of data. It can take the following form:
$ds1((x0,y0), ..., (xn,yn))
A dataset (such as $ds1) once created may be used as the first parameter to piecewise linear (pwl
and pwl_periodic) functions, and may also be assigned to variables, in which case the variable
may be used as the second parameter to pwl and pwl_periodic functions.
A dataset is generated using a series of points in a plot on the Datasets dialog box. (Refer to
Adding Datasets for related information on working with datasets.) Each plot consists of straight
line segments whose vertices represent their end points. A curve is fitted to the segments of the
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
plot. This curve which best fits the segmented plot consists of the co-ordinates used in the creation
of the dataset.
The dataset thus created may be used in the piecewise linear intrinsic functions.
Note The following example aims to only inform how to perform the task of using a dataset. The
values used are arbitrary.
1. For a Project level dataset, click Project>Datasets. For a Design level dataset, click HFSS
or HFSS-IE >Design Datasets.
2. Click Add and set the Name field and Coordinates as desired and click OK.
Note By default the $ sign is assigned to the dataset even if you do not use one while naming it.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Thus the example shows how to make a material property frequency dependent using a dataset as
the first parameter to a pwl function.
Related Topics
Adding Datasets
Modifying Datasets
When Temperature and Delta Temperature quantities are used as operands to plus or minus
operations in an expression, they are handled specially. The biggest difference is an automatic unit
change of the resulting values based on the units of the operands.
l When two Temperature quantities are being subtracted (either the first or both operands
is/are temperature quantities), the result value has Delta Temperature units.
l When a Delta Temperature quantity is added or subtracted from a Temperature quantity,
the result value has Temperature units.
l Adding or subtracting two Delta Temperature quantities results in a quantity with Delta
Temperature units
l Subtracting two temperature quantities is an observable behavior change when compared
to earlier releases of ANSYS Electronics Desktop.
Temperature Units
Celcius Family
Kelvin Family
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l mkel, delta_mkel (milli Kelvin). Legacy name for delta_mkel, mkeldiff continues to be
supported.
l ckel, delta_ckel (centi Kelvin)
l dkel, delta_dkel (deci Kelvin)
l kel, delta_kel. Legacy name for delta_kel, keldiff continues to be supported.
Farenheit Family
l fah, delta_fah
The high level legal use cases (in unit types) are
The minor variations in these use cases specify how the actual units (eg, Celcius is a unit of the
Temperature unit-type) are handled.
Temperature - Temperature
If they have the same unit, then the Delta Temperature unit will be a matching one
If they have different units, they are converted to the default units for temperature difference
Temperature +- DeltaTemperature
The resulting temperature quantity will retain the units of the Temperature quantity (first operand)
DeltaTemperature +- DeltaTemperature
l If they have the same unit, the resulting Delta Temperature quantity will retain that.
l If they have different units, the resulting Delta Temperature quantity will have the default
Delta Temperature units
l 5 delta_cel + 10 delta_cel = 15 delta_cel
l 10 delta_cel + 1 delta_kel = 11 delta_kel
All other use cases in a plus or minus arithmetic operation are physically meaningless and simply
revert back to the behavior from releases prior to ANSYS Electronics Desktop 2017, where we
convert the quantities to their SI values and then operate on the plain numbers.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Temperature + Temperature
l Temperature +- non-Temperature/non-Delta Temperature
l Delta Temperature +- non-Temperature/non-Delta Temperature
l non-Temperature/non-Delta Temperature +- Delta Temperature
l non-Temperature/non-Delta Temperature +- Temperature
Related Topics
Adding Datasets
Modifying Datasets
Assigning Variables
To assign a variable to a parameter in HFSS:
l Type the variable name or mathematical expression in place of a parameter value in a Value
text box.
If you typed a variable name that has not been defined, the Add Variable dialog box
will appear, enabling you to define the design variable.
If you typed a variable name that included the $ prefix, but that has not been defined,
the Add Variable dialog box will appear, enabling you to define the project variable.
Note You can assign a variable to nearly any design parameter assigned a numeric value in
HFSS. See the HFSS online help about the specific parameter you want to vary to
determine if can be assigned a variable.
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
If the variable is a project variable, do the following: Click Project>Project Variables. You can
also access the Project variables from a menu in the lower left corner of the following
Optimization dialogs: Parametric, Optimization, Sensitivity, Design of Experiments and
Design Xplorer Setup. Click Edit Variables and from the menu select Edit Project
Variables.
2. Click the tab that lists the variable you want to optimize.
3. Click the row containing the variable you want to optimize.
The selected variable will now be available for optimization in an Optimetrics setup defined in
the current design or project.
Note Complex numbers are not allowed for variables to be used in an Optimetrics sweep, or for
optimization, statistical, sensitivity or tuning setups.
6. Optionally, override the default minimum and maximum values that Optimetrics will use for
the variable in every optimization analysis. During optimization, the optimizer will not
consider variable values that lie outside of this range.
Related Topics
If the variable is a project variable, do the following: Click Project>Project Variables. You can
also access the Project variables from a menu in the lower left corner of the following
Optimization dialogs: Parametric, Optimization, Sensitivity, Statistical, Design of
Experiments and Design Xplorer Setup. Click Edit Variables and from the menu select
Edit Project Variables.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
2. Click the tab that lists the variable you want to include in the sensitivity analysis.
3. Click the row containing the variable you want to include in the sensitivity analysis.
The selected variable will now be available for sensitivity analysis in a sensitivity setup defined in
the current design or project.
Note Complex numbers are not allowed for variables to be used in an Optimetrics sweep, or for
optimization, statistical, sensitivity or tuning setups.
6. Optionally, override the default minimum and maximum values that Optimetrics will use for
the variable in every sensitivity analysis. During sensitivity analysis, Optimetrics will not
consider variable values that lie outside of this range.
7. Optionally, override the default initial displacement value that Optimetrics will use for the
variable in every sensitivity analysis. During sensitivity analysis, Optimetrics will not consider
a variable value for the first design variation that is greater than this step size away from the
starting variable value.
Related Topics
If the variable is a project variable, do the following: Click Project>Project Variables. You can
also access the Design variables from a menu in the lower left corner of the following
Optimization dialogs: Parametric, Optimization, Sensitivity, Statistical, Design of
Experiments and Design Xplorer Setup. Click Edit Variables and from the menu select
Edit Project Variables.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
2. Click the tab that lists the variable you want to tune.
3. Click the row containing the variable you want to tune.
Note Complex numbers are not allowed for variables to be used in an Optimetrics sweep,
or for optimization, statistical, sensitivity or tuning setups.
6. Click OK.
The selected variable will now be available for tuning in the Tune dialog box.
Related Topics
Tuning a Variable
If the variable is a project variable, do the following: Click Project>Project Variables. You can
also access the Project variables from a menu in the lower left corner of the following
Optimization dialogs: Parametric, Optimization, Sensitivity, Statistical, Design of
Experiments and Design Xplorer Setup. Click Edit Variables and from the menu select
Edit Project Variables.
2. Click the tab that lists the variable you want to include in the statistical analysis.
3. Click the row containing the variable you want to include in the statistical analysis.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The selected variable will now be available for statistical analysis in a statistical setup defined in
the current design or project.
Note Complex numbers are not allowed for variables to be used in an Optimetrics sweep, or for
optimization, statistical, sensitivity or tuning setups.
6. Optionally, override the distribution criteria that Optimetrics will use for the variable in every
statistical analysis.
Related Topics
The pasted variables appear in a tab separated column format. Fields that do not contain values
are left blank.:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Related Topics
Assigning Variables
Viewing Variables
At any time within the desktop, you can select View>Variables, and this will pop-up a secondary
window of all the defined variables. This window is persistent while you edit the properties of an
object, so you can see what variables have already been defined.
l A project variable is available across all hierarchical levels of a project, and can be identified
by its dollar sign ($) prefix, as in $C1. If, for instance, a project variable $C1 has been defined
as equal to 4.32pF, a capacitance property for a component anywhere in that project can be
set equal to 4.32pF by typing $C1 in the appropriate Value field.
l A local variable is available only within the design for which it is defined. If, for example, a
local variable R2 has been defined as equal to 4316Ohms, a resistance property anywhere
in that design can be set equal to 4316Ohms by entering R2 in the appropriate Value field. A
local variable takes the same value across multiple instances of a design. If three subcircuit
instances contain a local variable R2 that is defined as 4316Ohms, redefining R2 as
1625Ohms in any of the instances redefines R2 as equal to 1625Ohms in all three instances.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l A parameter default is a local variable with a default value that can be overridden in
instances of a design. For example, if three subcircuit instances contain a parameter default
C1 that is defined as equal to 11.3pF, C1 may be overridden as 11.8pF in the first instance,
overridden as 10.9pF in the second, and left at its default value of 11.3pF in the third. A
property value that has been set by means of a parameter default is called a passed
parameter.
If you define a variable as an expression that evaluates to a constant, whether a project, local or
parameter variable, the expression will be retained in the variable list, rather than being evaluated
and replaced with a constant. This allows you to identify and modify the expression in the future.
Note Whether you are defining project, local, or parameter variables, intrinsic names (f, freq, lb,
etc) are reserved and cannot be used or entered into the source and port dialogs. See
Reserved Variable Names for details.
Note The Nexxim netlist project type does not automatically reference project variables or
intrinsic variables. For a netlist created or read in without a schematic representation,
variables must be specifically defined.
Scoping
The concept of the project space throughout which a variable applies is known as scoping. A
project variable has global scope; local variables and parameter defaults have local scope. A third
type of scoping, parent scope, is possible. In parent scoping, variables defined in a design are
available within it and its subdesigns; that is, a subdesign inherits variables defined for its parent.
HFSS does not support parent scoping, with one important exception: Local variables and
parameter defaults have parent scope within libraries.
By default, the Project Variables tab is displayed, but two additional tabs are available: Intrinsic
Variables and Constants. The Intrinsic Variables tab displays reserved system-defined
variables that are used by various ANSYS tools. See Reserved Variable Names for details. The
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Constants tab displays the names and values of predefined numeric constants that can be used
wherever valid number values are used.
Project variable names must start with the symbol $ followed by a letter. Variable names may
include alphanumeric characters and underscores ( _ ). The names of Intrinsic Functions and
the pre-defined constant pi (π) cannot be used as variable names. For more information see
Reserved Variable Names.
3. In the Unit Type text box you can use the drop down menu to select from the list of available
unit types. “None” is the default.
When you select a Unit Type, the choices in the drop down menu for the Units text box adapt to
that unit type. For example, selecting Length as the Unit Type causes the Unit menu to show a
range of metric and english units for length. Similarly, if you select the Unit Type as Resistance,
the Units drop down lists a range of standard Ohm units.
4. In the Value text box, type the quantity that the variable represents. If you did not specify the
Unit Type and Unit, you can also optionally include the units of measurement.
Warning If you include the variable’s units in its definition in the Value text box, do not
include the variable’s units when you enter the variable name for a parameter
value.
Note A $ character is prepended to each project variable name you specify. The $ symbol
becomes an essential part of the project variable name and must be included whenever
you specify an existing project variable as a parameter value.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Related Topics
1. Display the properties of the component that will use the local variable you want to define:
a. Double-click the component, or select the component and click Edit > Properties or
Right-Click > Properties. The Properties dialog box opens.
b. Click the Parameter Values tab.
c. Click Value.
2. Click in the Value field for the parameter you want to set equal to the local variable.
3. Type the variable name. The name may not duplicate a reserved (intrinsic) variable name.
See Reserved Variable Names for details.
4. Click Add. The Add Property dialog box appears.
Project variable names must start with the symbol $ followed by a letter. Variable names may
include alphanumeric characters and underscores ( _ ). The names of Intrinsic Functions and
the pre-defined constant pi (π) cannot be used as variable names. For more information see
Reserved Variable Names.
5. In the Unit Type text box you can use the drop down menu to select from the list of available
unit types. “None” is the default.
When you select a Unit Type, the choices in the drop down menu for the Units text box adapt to
that unit type. For example, selecting Length as the Unit Type causes the Unit menu to show a
range of metric and English units for length. Similarly, if you select the Unit Type as Resistance,
the Units drop down lists a range of standard Ohm units.
6. In the Value text box, type the quantity that the variable represents. If you did not specify the
Unit Type and Unit, you can also optionally include the units of measurement.
Warning If you include the variable’s units in its definition in the Value text box, do not
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
include the variable’s units when you enter the variable name for a parameter
value.
7. Click LocalVariable.
8. Click OK or press Enter.
9. In the Properties dialog, you may click Add Array to Define Array Variables..
10. Do either of the following:
l To add another local variable, click Add.
l To stop adding local variables, click OK or press Enter.
1. In the project tree, right-click the design for which you want to define a local variable.
2. Select Design Properties.
3. Click the Local Variables tab.
4. Click Add. The Add Property dialog box appears.
Project variable names must start with the symbol $ followed by a letter. Variable names may
include alphanumeric characters and underscores ( _ ). The names of Intrinsic Functions and
the pre-defined constant pi (π) cannot be used as variable names. For more information see
Reserved Variable Names.
5. In the Unit Type text box you can use the drop down menu to select from the list of available
unit types. “None” is the default.
When you select a Unit Type, the choices in the drop down menu for the Units text box adapt to
that unit type. For example, selecting Length as the Unit Type causes the Unit menu to show a
range of metric and english units for length. Similarly, if you select the Unit Type as Resistance,
the Units drop down lists a range of standard Ohm units.
6. In the Value text box, type the quantity that the variable represents. If you did not specify the
Unit Type and Unit, you can also optionally include the units of measurement.
Warning If you include the variable’s units in its definition in the Value text box, do not
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
include the variable’s units when you enter the variable name for a parameter
value.
l Defining Local Variables — To define a local variable, in the Project menu, right-click the
project name and select Project Variables.
l Defining Project Variables — To define a project variable, in the Project menu, right-click
the design name and select Design Properties.
After opening a Properties dialog to define either a local variable or a project variable, click Add,
and the Add Property dialog opens:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
After being defined, a variable will be shown in the Variables tab of the Property dialog and also in
the Properties window.
To add an array variable, click Add Array in the Properties dialog and the Add Array dialog
opens:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Use the control buttons at right to add, delete, and reposition rows in the value grid at left. The
default is Edit in grid, but you may select Edit in plain text field. Note, however, that quotation
marks (“ ”) are required as delimeters when array values are entered in either the grid or text field.
Click OK when you have finished entering values.
To edit an existing array variable, select the array in the Properties dialog and click Edit and the
following dialog opens:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
You can also edit existing array variable properties in either the Property dialog or Properties
window:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
If the array variable contains numbers, it can be used in a component property expression
wherever a constant is used — as long as the array variable possesses an index that is enclosed in
square brackets. Note that the EvaluatedValue column of the Properties window shows the
current value for the property expression.
You can also add an array variable that contains a string, also known as a text array variable:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
To define a text array variable, in the properties field of a component that allows variable
references, enter a plus sign prefix to the variable (“+”). This prefix distinguishes variable usage
from a simple string:
Note Text array variables can be used in certain component property values, but not all, and
cannot be combined with operators to form more complex expressions.
The index for a text array variable reference can either be a constant (1) or can be an index (ii) or
even an expression (ii + 1). This allows you to sweep the index and simulate for different values
that are stored in the array variable itself. In particular, it also enables you to sweep different text
strings. This allows you to set a property to different string values as the index is swept. Following
are the properties that currently allow text array variables:
l V_PRBS
l V_PRBS_JITTER
l V_PRBSD
l V_PRBSG_JITTER
l V_PSK
l V_QAM
l V_CPM
Text Array Variable references can also be entered into the fields of the Bit pattern data dialog
that opens when you click the Bit Pattern button property of the Parameter Values Tab in the
Property Window. For example, this applies to various components found in the "Nexxim Circuit
Elements/Independent Sources" component library, such the EYESOURCE component:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
You may enter text array variable references in either of the following fields shown above:
You can also create new components that have properties with text array variable references.
Entering an expression prefixed with plus sign (“+”) is interpreted as a text array variable reference.
The two property types that support this behavior are "Text" and "ValueMenu" — choices in the
AddProperty dialog that are shown when editing Component properties:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
This property will also allow you to enter text into the edit box at the top of the pull-down menu:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
To define a variable as being "fixed", open the Property dialog for Project variables or Local
variables. These dialogs contain an additional Sweep column that controls whether the variable is
fixed.
l If a Sweep check box is checked (default) the corresponding variable is NOT fixed
l If a Sweep check box is unchecked, the variable is fixed.
Sweeps can be defined in the Analysis folder for each simulation setup, and the setup dialog will
contain the list of variables being swept.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Click the Add button to open an Add Sweep dialog that lets you select from a drop-down list of
non-fixed variables.
Orphaned Sweeps
If you create a simulation setup that contains a sweep of a variable, and then subsequently
uncheck the variable's Sweep check box, the variable becomes fixed and as a result, its sweep is
"orphaned". The sweep is removed from the setup and the simulation runs as if the sweep did not
exist.
l When you close the Property dialog, a warning message is added to the MessageWindow
for each orphaned sweep.
l If you re-edit an orphaned variable in the Property dialog and re-check its Sweep box, the
orphaned sweep will be restored to the setup list.
l If you double-click a setup that contains orphaned sweeps, a popup dialog asks if you want
to delete the orphaned sweeps. If you respond Yes, all orphaned sweeps are deleted when
the Property dialog is closed — even if you re-check a Sweep check box, its orphaned
sweep will NOT be restored — and this action is undoable.
l Note that orphaned sweeps are not written to disk when the project is saved, so once you
save a project and close it, any orphaned sweeps are permanently lost.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Related Topics
1. Display the properties of the component that will use the parameter default you want to
define:
a. Double-click the component, or select the component and click Edit > Properties or
Right-Click > Properties. The Properties dialog box opens.
b. Click the Parameter Values tab.
c. Click Value.
2. Click in the Value field for the parameter you want to set equal to the parameter default.
3. Type the variable name.
4. Click OK or press Enter. The Add Variable dialog box appears.
5. Click Definition Parameter.
6. Type a valid numerical quantity in the Value box.
7. Click OK or press Enter.
8. Do either of the following:
l To add another parameter default, click Add.
l To stop adding parameter defaults, click OK or press Enter.
1. In the project tree, right-click the design for which you want to define a parameter default.
2. Select Design Properties.
3. Select the Parameter Defaults tab.
4. Select Value.
5. Click Add. The Add Property dialog box opens.
6. Select Variable.
7. In the Name box, type a variable name.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Or In the Project Tree, right-click the design for which you want to view local variables and select
Design Properties. Then, in the Properties dialog box that opens, click the Local Variables tab
and then click Value.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
To view the parameter defaults defined for a design, do either of the following:
l Option1
1. In the project tree, right-click the design for which you want to view parameter
defaults.
2. Select Design Properties. The Properties dialog box opens.
3. Click the Parameter Defaults tab.
4. Click Value.
l Option 2
1. In the project tree, right-click the design for which you want to view parameter
defaults.
2. In the Properties window, click the Param Defaults tab.
Note To uniquely override the local value of a parameter default on different instances of a
subdesign, see Overriding Parameter Default Values. The current local values of a
design’s parameter defaults appear in the design’s Design Passed Parameters list.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note To redefine a parameter default, see the Viewing and Editing Parameter Defaults topic.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
3 - Assigning Materials
You can add, remove, and edit materials in two main ways:
Editing definitions from the project window does not modify the configured libraries for any
particular design. To consider the current design, use the Tools>Edit Libraries option. Doing so
ensures that new libraries are added to the configured list for the current design. If you edit
materials from this command for the current and then export them, they will also be available to
assign to objects in other designs.
2. Click Modeler>Assign Material or select the Material field in the Properties window
for the selected object, and select Edit... from the drop down menu:
The Select Definition window appears. The current material is highlighted, with the Name,
Location, Origin library, and parameter values shown.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
When the Show all libraries check box is selected, the window lists all of the materials in
ANSYS Electronics Desktop's global material library as well as the project’s local material
library
The Origin column shows the originating library for each material, whether the SysLibrary, or one
of the additional libraries listed in the Libraries pane. For further information on the materials and
their intended uses, you can refer to the published information on materials from those libraries.
For example, the Schott materials are described in detail in the Wily Series in Materials for
Electronic & Optoelectronic Applications, Microwave Dielectric Materials and Applications, edited
by M. T. Sebastian, Rick Ubic, and Heli Jantunen, volumes 1 and 2.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
You can also open the Select Definition window in one of the following ways:
l In the Properties dialog box for the object, click the material name under the Attributes
tab. A drop-down menu shows an Edit... button that opens the Select Definition
window.
The menu also lists materials included in the current project. Selecting one of these materials
provides another way to assign materials to an object.
l Right-click Model in the project tree, and then click Assign Material on the shortcut
menu.
l Right-click the object in the history tree, and then click Assign Material on the shortcut
menu.
3. Select a material from the list.
Note You can search the listed materials by name or property value.
If the material you want to assign is not listed, add a new material to the global or local material
library, and then select it.
4. Click OK.
Note For HFSS-IE, problems with dielectrics will generally run more slowly, so HFSS-IE issues
a warning for this case. In HFSS-IE:
If you have checked Show Material Colors on the Filtering Materials tab, the Select Definition
window, Materials tab includes a column showing Color.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
You can edit the color and transparency values for materials in the View/Edit Material dialog.
Related Topics
Assigning DC Thickness
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Validating Materials
Copying Materials
Removing Materials
Sorting Materials
Filtering Materials
If you want a solution to be generated inside an object, select Solve Inside in the Properties
window. Conversely, if you want a solution to only be generated on the surface of an object, clear
the Solve Inside option in the Properties window.
By default, Solve Inside is selected for all objects with a bulk conductivity less than 105
siemens/meter and for perfect insulators. By default, the Solve Inside option in the Properties
window is clear for perfect conductors.
A finite conductivity boundary condition is placed on the surfaces of an object that should not be
solved inside based on the material properties of that object. You can also incorporate a DC
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Thickness for the implicit boundary condition by setting an appropriate thickness value as
described in Assigning DC Thickness.
Related Topics
Assigning DC Thickness
Assigning DC Thickness
You can select the Assign DC Thickness option to more accurately compute DC resistance of a
thin conducting object for which Solve Inside is not selected. Skin impedance of the object will be
calculated using the defined finite thickness, which can be Automatic (the default), Manually
assigned per object, or Infinite per object. This option also exists for finite conductivity boundaries.
The Assign DC Thickness option on the Boundaries menu is enabled if at least one object
contains a good conducting isotropic material (such as copper), and the Solve Inside property is
not selected. If the object meets these conditions, you can assign a DC thickness, either by
enabling the automatic default, or by specifying a value for a selected object.
This displays the Thickness of Objects for DC Resistance dialog box with the DC
Thickness tab selected. Objects to which the thickness can be applied are listed in the Object
Name column.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
2. Select the objects to assign a value. You can select objects either by:
l Clicking on the Object Name to highlight it.
l Use the Select By Name field to type the object name, and click the Search button.
Selecting an object highlights the Thickness field and the Set Thickness button.
3. In the Use Thickness column, you can specify that the value the object uses is Automatic,
Infinite, or Manual.
You can disable automatic assignment on the Defaults tab of the Assign DC Thickness
dialog. The Automatic value is calculated as Thickness ~ 2* Volume / Surface Area
It should be noted that this is a calculation for an "effective" DC thickness to be used by the
correction calculation. For a "thin" object this will work well. For example, a rectangular
microstrip trace described by a box with dimensions 100 by 10 by 1 the volume is 1000 and the
surface area is 2022 resulting in an apparent thickness of .99891, close to the geometric
thickness of "1". For arbitrary shapes of "thicker" objects, this calculation will not work as well.
For example, a cube with sides of 1 will have volume of 1 and surface area of 6, and a resulting
apparent thickness of .3333. Another example is the case of a cylindrical wire (e.g. bond wire).
In this case, the automatic effective DC thickness will be about Ro, which gives us the best
approximation of the DC resistance of a cylindrical wire.
The intention is that the auto-thickness will provide an accurate representation the majority of
the time and is superior to not using any DC thickness setting. When the automatic value is not
appropriate, you can override it using the manual technique.
DC thickness impedance is an approximation. It is accurate just for TE/TM waves when the
widths are infinite which clearly never occurs in a "real" design. The fact that the object is finite
causes an increase of the effective impedance due to current crowding/edge effects. Thus
entering the exact geometrical thickness would actually underestimates the impedance. By
returning a DC thickness smaller than the geometric thickness the automatic DC thickness
compensates for this underestimation resulting in a slightly higher impedance as desired.
4. To manually apply a value, enter a Thickness value, select the units and click the Set
Thickness button.
This applies the value to the selected object and changes the Use Thickness selection for that
object to Manual.
Note If you enter a “0” for the thickness, HFSS gives a warning that this will cause infinite
impedance that causes isolation.
5. To change the value, select the Clear Thickness button and then enter a different value.
You can also manually select or deselect the box and manually enter or delete a thickness
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Related Topics
ways: Click Modeler>Assign Material or select the Material field in the Properties window
for the selected object, and select Edit... from the drop down menu:
If there is a specific material or material property value that you want to assign to an object, you can
search the materials in the Select Definition window by name or by material property.
When the Show all libraries check box is selected, the window lists all of the materials in
ANSYS Electronics Desktop's global material library as well as the project’s local material
library
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Material or select the Material field in the Properties window for the selected object,
and select Edit... from the drop down menu.
2. In the Search Criteria area of the Select Definition window, select by Name.
3. In the Search Parameters area, type a material name in the Search by Name text box.
The row containing the material name most similar to the one you typed will be selected. If the
letter typed provides an exact match, the cursor moves to the right. If there is no match, the
cursor moves to the beginning of the search field. If you type a space after word, the cursor
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
moves to the beginning of the search field. If the name you want to search for contains a space,
you can type the next letter after the space, backspace, and insert a space.
When the Show all libraries check box is selected, the window lists all of the materials in
ANSYS Electronics Desktop's global material library as well as the project’s local material
library
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
If the selected material is not the one you are searching for, do one of the following:
l Use the keyboard’s arrow keys to scroll up or down the list of materials.
l Type a new material name in the Search by Name text box.
Material or select the Material field in the Properties window for the selected object,
and select Edit... from the drop down menu.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
2. In the Search Criteria area of the Select Definition window, select by Property.
Note By default, not all of the available properties are displayed in the materials table. Only
the properties commonly used by the product are displayed. To view the complete
table of properties, see Filtering Materials.
4. In the Search Parameters area, type a value for the property in the Search by Property
text box, and then click Search.
The materials are sorted according to the value you entered. The material with the property
value closest to the one you typed will be selected.
When the Show all libraries check box is selected, the window lists all of the materials in
ANSYS Electronics Desktop's global material library as well as the project’s local material
library
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
If the selected material is not the one you are searching for, do one of the following:
l Use the keyboard’s arrow keys to scroll up or down the list of materials.
l Type a new value in the Search by Property text box.
Materials are added using the View/Edit Material dialog box, which can be opened from either the
Select Definition dialog box or the Edit Libraries dialog box.
l Click Tools>Edit Libraries>Materials . (In the project tree, you can also right-click
Materials, and select Edit Library.)
The Edit Libraries dialog box appears.
1. From either the Select Definition dialog box or the Edit Libraries dialog box, click Add
Material.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
2. Type a name for the material in the Material Name text box, or accept the default.
3. Select one of the following from the Material Coordinate System Type pull-down list:
l Cartesian (default)
l Cylindrical
l Spherical
Note Cylindrical and spherical coordinate systems are not supported for the Icepak design
type.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
4. Use the radio buttons in the View/Edit Material for section to specify whether the new
materials apply to Active Design, Active Project, or All Properties.
l Active Design to display properties used in the active design.
l Active Project to display properties used in the active project.
l All Properties to display all properties available. This enlarges the table of properties to
show all properties possible. You can use the scroll bars or size the dialog to see all
properties. When All Properties is selected, the following Physics classification options
are enabled to show or hide properties based on simulation type:
l Electromagnetic
l Thermal
l Structural
Note If a material is edited in a design type for which the Physics type has not been set
( e.g., an HFSS design but Electromagnetic physics type was not set), the
Physics type will be automatically set in the material.
You can also enable the View/ Edit Modifier check box for Thermal Modifier. Checking this box
causes the Thermal Column to display at the right side of the Properties of the Material table.
Selecting Edit rather than None causes display of the Edit Thermal Modifier dialog.
5. Type a new name for the material in the Material Name text box or accept the default.
6. Select a material property type - Simple, Anisotropic, Tensor, or Nonlinear- for each
property from the Type pull-down list. Of the four possibilities, only those applicable to the
named material will be listed on the pull-down for type. Some properties only use the Simple
type. Others include three or four potential types.
Note By default, not all of the available properties are displayed in the materials table. Only the
properties commonly used by the product are displayed. To view the complete table of
properties, see Filtering Materials.
7. If the material is linear, enter values for the following material properties in the Value boxes:
l Relative Permeability
l Relative Permittivity
l Bulk Conductivity
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
If the material is a ferrite, enter a value greater than 0 in the Magnetic SaturationValue box. You
may also choose to enter values in the Lande G Factor and Delta HValue boxes. Because
Delta H values are measured at specific frequencies, you should also enter a - Measured
Frequency value (default 9.4 GHz).
Note You may enter a variable name or mathematical expression in the Value box.
8. If one or more of the material properties are dependent on frequency, click Set Frequency
Dependency, and then follow the directions for defining frequency dependent materials.
9. To modify the units for a material property, double-click the Units box, and then select a new
unit system.
10. For Material Appearance, you can check the box to enable the fields for you to specify a color
and transparency. Clicking the color bar opens a color selection window:
11. Clicking the Transparency box opens a Transparency dialog with a text field and slider bar
for selection.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
14. To enter multiple lines of notes, use CTRL-Enter to start a new line. (Enter by itself will save
the Notes field and close the dialog.)
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Related Topics
Select a material property type - Simple, Anisotropic, Tensor, or Nonlinear- for each property
from the Type pull-down list. Of the four possibilities, only those applicable to the named material
will be listed on the pull-down for type. Some properties only use the Simple type. Others include
three or four potential types.
If the material property is anisotropic, its characteristics are defined by its anisotropy tensor. You
must define three diagonals for anisotropic permittivity, electric loss tangent, conductivity,
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
permeability, and magnetic loss tangent. Each diagonal represents a tensor of your model along an
axis.
These tensors are relative to the coordinate system specified as the object’s Orientation property.
By specifying different orientations, several objects can share the same anisotropic material but be
oriented differently.
Related Topics
If the material property is anisotropic, its characteristics are defined by its anisotropy tensor or a 3x3
general tensor. You must define three diagonals for anisotropic permeability Each diagonal
represents a tensor of your model along an axis.
These tensors are relative to the coordinate system specified as the object’s Orientation property.
By specifying different orientations, several objects can share the same anisotropic material but be
oriented differently.
1. In the Relative Permeability row in the View/Edit Material window, select Anisotropic
or Tensor from the Type pull-down list.
For Anisotropic, three rows named T(1,1), T(2,2) and T(3,3) are added below the Relative
Permeability row.
l Enter the relative permeability along each axis of the material’s permeability tensor in the
Value box corresponding rows: T(1,1), T(2,2), and T(3,3). This can be a simple value, a
variable, a constant, or a Nonlinear BH Curve.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
If the relative permeability is the same in all directions, use the same values for each axis.
For Tensor:
l Press the Tensor.. button in the Value column to display the Tensor Properties dialog.
l You provide values for a 3x3 matrix. If the matrix is symmetric, you can so specify in the
Tensor Properties dialog:
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
If the material property is anisotropic, its characteristics are defined by its anisotropy tensor. You
must define three diagonals for anisotropic permittivity. Each diagonal represents a tensor of your
model along an axis.
These tensors are relative to the coordinate system specified as the object’s Orientation property.
By specifying different orientations, several objects can share the same anisotropic material but be
oriented differently.
1. In the Relative Permittivity row in the View/Edit Material window, select Anisotropic or
Tensor from the Type pull-down list.
For Anisotropic:
l Three rows named T(1,1), T(2,2) and T(3,3) are added below the Relative Permittivity
row.
l Enter the material’s relative permittivity along each tensor axis in the Value box of the T
(1,1), T(2,2) and T(3,3) rows.
If the relative permittivity is the same in all directions, use the same Simple values for each axis.
These values can also be defined as variables.
For Tensor:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Press the Tensor.. button in the Value column to display the Tensor Properties dialog.
l You provide values for a 3x3 matrix. If the matrix is symmetric, you can so specify in the
Tensor Properties dialog.
If the relative permittivity is the same in all directions, use the same values for each axis.
Related Topics
If the material conductivity property is anisotropic, its characteristics are defined by its anisotropy
tensor. You must define three diagonals for anisotropic conductivity. Each diagonal represents a
tensor of your model along an axis.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
These tensors are relative to the coordinate system specified as the object’s Orientation property.
By specifying different orientations, several objects can share the same anisotropic material but be
oriented differently.
1. In the Bulk Conductivity row in the View/Edit Material window, select Anisotropic or
Tensor from the Type pull-down list.
For Anisotropic:
l Three rows named T(1,1), T(2,2) and T(3,3) are added below the Bulk Conductivity
row.
l Enter the material’s conductivity along each tensor axis in the Value box of the T(1,1), T
(2,2) and T(3,3) rows.
If the relative permittivity is the same in all directions, use the same Simple values for each axis.
These values can also be defined as variables.
For Tensor:
l Press the Tensor.. button in the Value column to display the Tensor Properties dialog.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l You provide values for a 3x3 matrix. If the matrix is symmetric, you can so specify in the
Tensor Properties dialog.
The values of the conductivity along the first and second axis apply to all axes that lie in the xy
cross-section being modeled. The values of the conductivity along the third axis applies to the z-
component. These values affect current flowing in dielectrics between the conductors.
Related Topics
If the material property is anisotropic, its characteristics are defined by its anisotropy tensor. You
must define three diagonals for electric loss tangent. Each diagonal represents a tensor of your
model along an axis.
These tensors are relative to the coordinate system specified as the object’s Orientation property.
By specifying different orientations, several objects can share the same anisotropic material but be
oriented differently.
1. In the Dielectric Loss Tangent row in the View/Edit Material window, select
Anisotropic or Tensor from the Type pull-down list.
For Anisotropic:
l Three rows named T(1,1), T(2,2) and T(3,3) are added below the Dielectric Loss
Tangent row.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Enter the ratio of the imaginary relative permittivity to the real relative permittivity in one
direction in the Value boxes of the T(1,1), T(2,2) and T(3,3) rows.
If the electric loss tangent is the same in all directions, use the same values for each direction.
These values can also be defined as variables.
For Tensor:
l Press the Tensor.. button in the Value column to display the Tensor Properties dialog.
l You provide values for a 3x3 matrix. If the matrix is symmetric, you can so specify in the
Tensor Properties dialog.
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
If the material property is anisotropic, its characteristics are defined by its anisotropy tensor. You
must define three diagonals for anisotropic magnetic loss tangent. Each diagonal represents a
tensor of your model along an axis.
These tensors are relative to the coordinate system specified as the object’s Orientation property.
By specifying different orientations, several objects can share the same anisotropic material but be
oriented differently.
1. In the Magnetic Loss Tangent row in the View/Edit Material window, select Anisotropic
or Tensor from the Type pull-down list.
For Anisotropic:
l Three rows named T(1,1), T(2,2) and T(3,3) are added below the Magnetic Loss
Tangent row.
l Enter the ratio of the imaginary relative permeability to the real relative permeability in one
direction in the Value box of the T(1,1), T(2,2) and T(3,3) rows.
If the magnetic loss tangent is the same in all directions, use the same values for each direction.
These values can also be defined as variables.
For Tensor:
l Press the Tensor.. button in the Value column to display the Tensor Properties dialog.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l You provide values for a 3x3 matrix. If the matrix is symmetric, you can so specify in the
Tensor Properties dialog.
Related Topics
For example, define a project variable with the name MyPermittivity and define its value as 4. To
assign this property value to a material, type $MyPermittivity in the Relative Permittivity Value
box for the material. Be sure to include the prefix $ before the project variable name, which notifies
the software that the variable is a project variable.
Note By default, not all of the available properties are displayed in the materials table. Only the
properties commonly used by the product are displayed. To view the complete table of
properties, see Filtering Materials.
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The Debye and Djordjevic-Sarkar models apply only to the electrical properties of dielectric
materials. These models satisfy the Kramers-Kronig conditions for causality, and so are preferred
for applications (such as TDR or Full-Wave Spice) where time-domain results are needed. The
Design Settings also include an automatic Djordjevic-Sarkar model to ensure causal solutions
when solving frequency sweeps for simple constant material properties.
In HFSS you can assign conductivity either directly as bulk conductivity, or as a loss tangent. This
provides flexibility, but you should only provide the loss once. The solver uses the loss values just
as they are entered.
1. With respect to a material selected in the Select Definition window, in the View/Edit
Material window, click Set Frequency Dependency.
2. Saved Input Data for Set Frequency Dependency Choices: Several dialogs (Piecewise
Linear Frequency Dependent Material Input, Debye Model Input, and Djordjevic-Sarkar
Model Input) accessed through pressing the “Set Frequency Dependency…” button on
the View/Edit Material dialog remember the values previously used and also include plots
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
to show the property curves in real time as changes to the input are made. Input values for
each dialog are saved as material attached data for the material being edited. These data
items are saved with materials when they are written into a project file or exported to a
material library. Note that when a frequency-dependent setup method is used and the
values are pre-populated with saved data, the dialog title will have “(Update)” appended.
3. In the Frequency Dependent Material Setup Option window, do one of the following:
l Select Piecewise Linear Input. This defines the material property values as a restricted
form of piecewise linear model with exactly 3 segments (flat, linear, flat). You will specify
the property's values at an upper and lower corner frequency. Between these corner
frequencies, both HFSS and Q3D linearly interpolate the material properties; above and
below the corner frequencies, HFSS and Q3D extrapolate the property values as
constants. This dataset can be modified with additional points if desired.
l Select Debye Model Input. This is a single-pole model for the frequency response of a
lossy dielectric material. In some materials, up to about a 10-GHz limit, ion and dipole
polarization dominate and a single pole Debye model is adequate. Both HFSS and Q3D
allow you to specify an upper and lower measurement frequency, and the loss tangent
and relative permittivity values at these frequencies. You may optionally enter the
permittivity at optical frequency, the DC conductivity, and a constant relative permeability.
l Select Multipole Debye Model Input. This lets you provide the data of relative
permittivity and loss tangent versus frequency. Based on this data the software
dynamically generates frequency dependent expressions for relative permittivity and loss
tangent through the Multipole Debye Model. The input dialog plots these expressions
together with your input data through the linear interpolations.
l The generated expressions provide the new value for the material properties of relative
permittivity and loss tangent.
l Both the expressions and data triples can be saved and reloaded.
l Select Djordjevic-Sarkar Model Input. This model was developed for low-loss
dielectric materials (particularly FR-4) commonly used in printed circuit boards and
packages. In effect, it uses an infinite distribution of poles to model the frequency
response, and in particular the nearly constant loss tangent, of these materials. Both
HFSS and Q3D allow you to enter the relative permittivity and loss tangent at a single
measurement frequency. You may optionally enter the relative permittivity and
conductivity at DC.
If you try to enter invalid values for the Djordjevic-Sarkar model, you receive error messages.
l Select Enter Frequency Dependent Data Points. This allows you to enter, import or
edit frequency dependent data sets for each material property. Any number of data points
may be entered. This is an arbitrary piecewise linear model.
4. Click OK.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Djordjevic-Sarkar
After you have entered the data for your selection, you return to the View/Edit Material
window. New default function names appear in the material property text boxes. Both HFSS
and Q3D automatically created a dataset for each material property. Based on a varying
property’s dataset, HFSS and Q3D can interpolate the property’s values at the desired
frequencies during solution generation.
Note Neither the piecewise or the loss models ask for frequency dependent conductivity
because there the constant sigma represents the DC loss and the frequency dependent
loss tangent represents the polarization losses.
When you view or edit the material properties, it is important to have a sense of how properties may
vary with frequency. Frequency-dependent properties come in a variety of forms, ultimately
resulting in some value expression or dataset. Plots of properties as a function of frequency are
available through the View/Edit Material dialog via a right-click menu containing View Property
vs. Frequency. In addition, the dialogs for each of the frequency dependent material setup options
contain plots displaying frequency dependence of the properties. These input dialogs save the
input values with the material and reuse them the next time the dialogs are brought-up. If you
change a property or use another input method, you are presented with an option to remove the
data saved from a prior input method, or to cancel the change. This ensures consistency between
the current properties and any data saved with the material.
In the View/Edit Material dialog, right-click on a material to see a context menu containing “View
Property vs. Frequency”.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Click this menu item to display a dialog results showing a plot of the property as a function of
frequency. You can also double-click on the material property name to view the plot.
Note that the plot has edit boxes where you can enter the frequency range for the plot. If the
property was set by one of the nonlinear frequency setup methods, the frequency range will be
derived from the data for that method, and edits to the lower/upper frequencies are not saved.
Otherwise, the frequency range lower/upper frequency limit defaults are stored in the registry, and
are updated if you modify the values. If values are not yet stored in the registry, the range defaults
to 1MHz-10GHz. Note that the “View Property vs. Frequency” menu is not displayed for choice
properties, since frequency-dependence doesn’t apply to those.
If data associated with one of the frequency-dependent setup methods is attached to the material
definition, and a property which would be set by this method is modified, you are the prompted with
“Modifying this material property will remove data from the material for the [frequency-dependent
setup method].” You can choose “OK” to continue with the edit being made and to remove the
invalidated setup data, or choose “Cancel” to not make any changes to the property and to not
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
If data associated with one of the frequency-dependent setup methods is attached to the material
definition, and a different setup method is subsequently used, you are prompted with “Using this
frequency-dependent setup method will remove data from the material for the [frequency
dependent option] setup method.” You can choose “OK” to continue with the changes for the new
setup method (and remove the old attached data), or choose “Cancel” to not make any changes to
the material definition. For example:
Related Topics
Djordjevic-Sarkar
Modifying Datasets
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Having selected Piecewise Linear Input as the model for the frequency dependent material
property, you enter the required values in the dialog displayed. The dialog also provides a plot of
the Property Versus Frequency behavior.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Both HFSS and Q3D assume that the material’s property values remain constant between
these frequencies.
If the permittivity of the material does not vary with frequency, enter the same value you entered
for the permittivity’s lower frequency.
3. Follow the same procedure for entering values for permeability, dielectric loss tangent, and
magnetic loss tangent.
After you have entered the data for your selection, you return to the View/Edit Material
window. New default function names appear in the material property text boxes. A dataset is
automatically created for each material property. Based on a varying property’s dataset, both
HFSS and Q3D can interpolate the property’s values at the desired frequencies during solution
generation.
Note Neither the piecewise or the loss models ask for frequency dependent conductivity
because there the constant sigma represents the DC loss and the frequency dependent
loss tangent represents the polarization losses.
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Djordjevic-Sarkar
Modifying Datasets
Having selected Debye as the model for the frequency dependent material property, you enter the
required values in the dialog displayed. The dialog also provides a plot of the Property Versus
Frequency behavior.
Both HFSS and Q3D assume that the material’s property values remain constant between
these frequencies.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
If the permittivity of the material does not vary with frequency, enter the same value you entered
for the permittivity’s lower frequency.
3. If you need to specify a value for a High/Optical Frequency, check the box to enable the
value field.
4. For Conductivity or Dielectric Loss Tangent, select the radio button for either At DC or for
Upper and Lower Frequencies.
After you have entered the data for your selection, you return to the View/Edit Material
window. New default function names appear in the material property text boxes. A dataset is
automatically created for each material property. Based on a varying property’s dataset, both
HFSS and Q3D can interpolate the property’s values at the desired frequencies during solution
generation.
Note Neither the piecewise or the loss models ask for frequency dependent conductivity
because there the constant sigma represents the DC loss and the frequency dependent
loss tangent represents the polarization losses.
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Djordjevic-Sarkar
Modifying Datasets
Having selected Multipole Debye as the model for the frequency dependent material property, you
enter the required values in the dialog displayed.
1. You can enter data either into the columns for Frequency (GHz), Relative Permittivity and
Dielectric Loss Tangent The frequency can be ranged from 0 to unlimited. The relative
permittivity is ranged from 1.0 to unlimited and loss tangent is ranged from 0 to unlimited. To
get the good results, you should provide more than 5 frequency points.
You can also import the data from a tab format text file.
The import data will be shown in the data table, and then can be modified. You can export
current input data to a file. The file is a tab file with extension .tab (same as dataset
import/export file). Below is an example of the file format. Each row provides Frequency
(assumed to be Hz), Permittivity, and Loss Tangent.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
During the data input, the frequency dependent expressions for permittivity or loss tangent are
calculated using Multipole Debye model, and are plotted for reference. The input data are also
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
If desired, you can change or rescale the plot by selecting the Frequency label and right-clicking
to display the Edit Properties menu.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Select the Scaling tab, find the Units row, and right click to select the desired scaling.
2. Based on this data the software dynamically generates frequency dependent expressions
for relative permittivity and loss tangent through the Multipole Debye Model. The input dialog
plots these expressions together with your input data through the linear interpolations.
l The generated expressions provide the new value for the material properties of relative
permittivity and loss tangent.
l Both the expressions and data triples can be exported and re-imported.
After you have entered the data for your selection, you return to the View/Edit Material
window. New default function names appear in the material property text boxes. A dataset is
automatically created for each material property. Based on a varying property’s dataset, both
HFSS and Q3D can interpolate the property’s values at the desired frequencies during solution
generation.
Related Topics
Djordjevic-Sarkar
Having selected Djordjevic-Sarkar as the model for the frequency dependent material property,
you enter the required values in the dialog displayed. The dialog also provides a plot of the Property
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The value of the High-frequency Corner (GHz) should be at least 10 times higher than the
Frequency. If not, an error message is issued.
2. Enter the Properties at DC. This includes Conductivity and can include relative permittivity.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
After you have entered the data for your selection, you return to the View/Edit Material
window. New default function names appear in the material property text boxes. A dataset is
automatically created for each material property. Based on a varying property’s dataset, HFSS
and Q3D can interpolate the property’s values at the desired frequencies during solution
generation.
Related Topics
Modifying Datasets
1. When you click OK after selecting Enter Frequency Dependent Data Points on the
Frequency Dependent Material Setup dialog box, the Enter Frequency Dependent
Data points dialog box appears.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l The name field for the current dataset. The default is ds1.
l The Import from File button. This opens a file browser for you to select an existing
dataset.
l The Coordinates table. This contains X and Y text fields in which you can enter data
points. The values you add are interactively displayed on the graph to the right of the table.
You can also Add rows above or below a selected row, Delete rows, or Append a
specified number rows.
3. After you have specified or imported the data points, and OK the dialog, the Enter
Frequency Data Points dialog shows the Dataset Name and the Modify Edit button. The
dataset editing dialog also shows a graph of the dataset vs. frequency behavior of the
material property. You can also use this feature to visualize the dataset associated with any
particular property by clicking Edit… to view the graph but clicking Cancel and not making
changes.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
4. Click OK. The Enter Frequency Dependent Data Points dialog shows the new selection
and data set name.
After you have entered the data for your selection, you return to the View/Edit Material
window. New default function names appear in the material property text boxes. A dataset is
automatically created for each material property. Based on a varying property’s dataset, HFSS
and Q3D can interpolate the property’s values at the desired frequencies during solution
generation.
Note Neither the piecewise or the loss models ask for frequency dependent conductivity
because there the constant sigma represents the DC loss and the frequency dependent
loss tangent represents the polarization losses.
Related Topics
Djordjevic-Sarkar
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Modifying Datasets
If the conductivity of the gray striplines changes over the length of the line, then you need to
express the change as a function along one of the axes. However, in this case the two striplines are
normal to each other. So, you need to use a different coordinate system for each of them or a
different material.
Each spatially dependent object should have its own coordinate system as that would associate
each with a separate origin point. The below images show the coordinate systems for each stripline
with the Y origin at the start of the object.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
So, the Bulk Conductivity could be something like 300 + 10 * Y to show increasing conductivity over
the length of the object. Of course, the entire expression language is available so more complicated
functions are usable as are project variables. Design variables are not supported at this time.
In the View/Edit Material dialog, you can assign properties using the Cartesian coordinate [X, Y,
Z] to assign the spatial properties for a material.
Here the value of the Y dimension of the object composed of the material, based on that object’s
assigned coordinate system, affects the Bulk conductivity along the T[2,2] Tensor.
Spatially dependent properties will not be subject to solve time modifications like 'Automatic Causal
Materials' transforms.
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Complex material properties have been traditionally entered as either of the following: real relative
permittivity, real relative permeability, electric/magnetic loss tangent, and conductivity. Though this
is helpful for many industries, there are now many applications that benefit by having an entry of a
real and an imaginary relative permittivity and permeability as well. In some applications, it is also
helpful to have entry of a complex conductivity. HFSS now allows all of the above entries to aid in a
high fidelity model of the material.
With a permittivity definition, the real part represents the phase velocity and propagation
characteristics while the imaginary part represents the loss terms:
This expression can be expanded by adding the loss effects of metals via the conductivity:
The above equation may seem to be the most representative relation for the complex relative
permittivity, however on occasion it can be useful to think in terms of complex conductivity rather
than complex relative permittivity. An example is the Drude Model for dispersive metals at high
frequencies.
The Drude Model represents the high frequency electrical behavior of metals as a function of DC
conductivity and the Plasma Frequency. This model is typically represented as a complex
conductivity:
With a conductivity definition the real term represents the classic conductive loss while the
imaginary part characterizes the phase velocity and propagation. This is a bit counter intuitive, but
as the Helmholtz Equation accepts a single complex quantity to represent the phase velocity and
loss, it follows that how we compartmentalize the terms simply aids in understanding.
For the Drude Model the real and imaginary parts of the conductivity are shown below in terms of
the DC conductivity, , and the mean collision time, :
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Using the relation below, one can also use only the plasma frequency, , and DC conductivity or
the plasma frequency and mean collision time to represent the above real and imaginary parts of
the conductivity via re-arrangement:
To enter these relations into HFSS you must create frequency dependent Project Variables. All
Project Variables in HFSS are scoped such that they are visible to every design in the AEDT
project and are prefixed with a “$” symbol. To create the project variables, go to Project > Project
Variables... to see a list of existing project variables. Click the Add button on the project variable
list for a dialog to enter names and values for each variable you need. The values here assume that
the plasma frequency and mean collision time is known. When you have added the variables, the
Project variable list will look like this:
You can see above that the Project variables can be made a function of frequency using the built-in
variable, Freq. This frequency variable automatically adapts the variable value based upon the
frequency of solution.
To show the use of the complex conductivity entry, we will provide a comparison to published
literature for a wide angle InfraRed Absorber FSS1. In the cited paper, the material properties of
the FSS are given in terms of the plasma frequency, 1.367 * 1016 radians per second, and the
damping constant, =4 * 1013 radians per second. It is of note that the mean collision time is
equal to for entry. We entered these values as above to create Project variables and then
created a material in HFSS that with a complex conductivity assigned.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
As you can see seen above, the Bulk Conductivity can be entered as a complex value with real and
imaginary parts. In HFSS, to designate the imaginary part, multiply it by 1i, as shown above. The
FSS looks as below with a substrate permittivity of 2.25:
When solving this FSS with the complex conductivities in the short-wave-IR, from 1.35 um to 1.7
um, we get the traces shown below: Absorption (red dash), Reflection (blue), and Transmission
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
(Green dash). The plot on the left is HFSS with the complex conductivity definition and the plot on
the right is from the cited paper.
This model also represents the electrical effects of a superconductor with a complex conductivity
that is a function of temperature and frequency. If the temperature is above the critical temperature,
Tc, it will behave as the classical conductor, whether a semiconductor or metal. If the temperature
is equal to or below the critical temperature, the behavior changes markedly to demonstrate many
of the classical superconducting effects. For the 2 fluid superconductor model, the complex
conductivity is as shown below:
Note that the nn/ns ratio is the ratio of classical electrons to superconductive electrons and is a
function of temperature:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Entry into HFSS just as we did for the Drude Model, using frequency dependent Project Variables
as shown below:
To demonstrate the accuracy of this model in HFSS, we comparison the literature for a
Superconducting microstrip for the extraction of the propagation properties.2 A material was
created representing the superconductor Nb in HFSS using a complex conductivity definition
similar to the Drude Model. The temperature, T, of the Nb under test was 9.3K with a critical
temperature, Tc, of 4.2K. The mean collision time was given as sec.
The microstrip is simulated by having a given length of line, in this case 100 um, and extracting the
propagation constant from the phase of the insertion loss and the line length at 300GHz. Note that
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
the port solver does not yet recognize complex conductivities so a PEC is used for the ground
plane and trace at the waveport and de-embedded to the Superconducting Microstrip.
The stack up of the microstrip is a Nb signal wire and ground plane with a thickness of 150nm and
= 54nm. The substrate is composed of 159 nm SIO2 under 144nm N2O5. The electrical
properties used were: =6.25 & =8.183.
With these dimensions the reference shows the below results for both a PEC signal and ground
plane and the superconducting Nb trace and ground plane.
When solved using the model description given, HFSS converges on the propagation constant
for an automated accurate solution. HFSS converged to 18308.5 rad/sec with a 0.01%
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
References
Related Topics
1. In the View/ Edit Material dialog you must enable the View/ Edit Modifier for check box for
Thermal Modifier.
This causes the Properties of the Material table to expand to include a Thermal Modifier column.
By default, the Thermal Modifier property is set to None.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
2. Selecting Edit... from the drop-down menu rather than None causes the Edit Thermal
Modifier dialog to appear.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
3. Select the Expression radio button to display the Parameters Modifier text field (as shown
above) or the Quadratic radio button to display the tabs for Basic Coefficient Set and
Advanced Coefficient Set (as shown below).
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l With Expression selected, you can write an equation for a thermal modifier in the
Parameters Modifier text field.
The expression whether to use Celsius or Kelvin is totally problem dependent. If a material
thermal coefficient is defined as alpha/c_deg, then it is Celsius. On the other hand, if a
material thermal coefficient is alpha/k_deg, then it is Kelvin.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Checking Use temperature dependent data set disables the Modifier text field. You
can then use the drop down menu to select Add/Import Dataset. This lets you define the
thermal modifier as a data set.
l With the Quadratic radio button selected, in the Basic Coefficient tab, you can edit
fields for the TempRef and units, and fields for C1 and C2 for the following equation:
l P(Temp) = Pref[1+ C1(Temp - TempRef) + C2(Temp - TempRef)^2]
where TempRef is 22 cel by default and where the Pref is defined as the reference
relative permittivity.
Note The coefficients, C1 and C2, should be negative to yield physical results.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l With the Quadratic radio button selected, in the Advanced Coefficient Set tab, you can
edit fields for lower and upper temperature limits (TL and TU respectively) and select their
units from the drop down.
You can also edit the constant value limit for the thermal modifier values outside the limits. By
default, these are automatically calculated. Uncheck the Auto Calculate TML and TMU to
specify new values for thermal modifier lower (TML) and thermal modifier upper (TMU).
4. Click OK to accept the edits and return to the View/ Edit materials dialog.
Related Topics
Adding Datasets
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note By default, not all of the available properties are displayed in the materials table. Only the
properties commonly used by the product are displayed. To view the complete table of
properties, see Filtering Materials.
Related Topics
Note By default, not all of the available properties are displayed in the materials table. Only the
properties commonly used by the product are displayed. To view the complete table of
properties, see Filtering Materials.
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Related Topics
Assigning Materials
The View/Edit Material window appears. The material name and its property values are listed.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note By default, not all of the available properties are displayed in the materials table. Only the
properties commonly used by the product are displayed. To view the complete table of
properties, see Filtering Materials.
Note If a material is edited in a design type for which the Physics type has not been set
( e.g., an HFSS design but Electromagnetic physics type was not set), the
Physics type will be automatically set in the material.
For Material Appearance, you can check the box to enable the fields for you to specify a color
and transparency. Clicking the color bar opens a color selection window:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Clicking the Transparency box opens a Transparency dialog with a text field and slider bar for
selection.
4. If you want to add descriptive notes for the new material, click the ellipsis button [...] by the
Notes field. This opens a dialog in which you can enter text.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
5. To enter multiple lines of notes, use CTRL-Enter to start a new line. (Enter by itself will save
the Notes field and close the dialog.)
5. Click OK or Enter to add the Notes.
6. Click OK on the View/Edit Materials dialog to add the new material to the material library.
7. Click OK to save the changes and return to the Select Definition window.
Warning If you modify a material that is assigned in the active project after generating a
solution, the solution will be invalid.
Related Topics
Validating Materials
Copying Materials
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Removing Materials
Sorting Materials
Filtering Materials
Validating Materials
The ANSYS Electronics Desktop can validate a material’s property parameters for an ANSYS EM
software product. For example, the software will check if the range of values specified for each
material property is reasonable.
If a material’s property parameters are invalid, an error message will appear in the lower-right
corner of the View/Edit Material window. If the parameters are valid, a green check mark will
appear there.
l Select Active Design, Active Project, or All Properties, and then click Validate
Material.
Related Topics
Copying Materials
Removing Materials
Sorting Materials
Filtering Materials
Copying Materials
1. In the Select Definition window, select the material you want to copy, and then click the
Clone Material button or right click on the selected material and select Clone from the
short-cut ment.
2. To modify the material’s attributes, follow the directions for modifying materials.
3. Click OK to save the copy in the active project’s material library.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Related Topics
Validating Materials
Copying Materials
Removing Materials
Sorting Materials
Filtering Materials
Removing Materials
1. In the Select Definition window, select one or more materials you want to remove from the
active project’s material library.
2. Click the Remove Material (s) button or right click on the selected material and click
Remove on the short-cut menu.
In a project library, you may want to use the Tools>Project Tools>Remove Unused
Definitions command to remove selected materials definitions that your project does not
require.
Related Topics
Validating Materials
Copying Materials
Sorting Materials
Filtering Materials
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
3. Click PersonalLib to export the material to a local project directory, accessible only to the
user that created it.
Click UserLib to export the material to a a library that is shared by more than one user, usually
in a central location.
Related Topics
Validating Materials
Copying Materials
Removing Materials
Sorting Materials
Filtering Materials
Sorting Materials
You can change the order of the materials listed in the Select Definition window. You can sort the
list of materials by name, library location, color, or material property value. To change the order of
the listed materials:
l Click the column heading by which you want to order the materials.
If the arrow in the column heading points up, the material data will be listed in ascending order (1 to
9, A to Z) based on the values in the column you chose. If you want the material data to be listed in
descending order (9 to 1, Z to A), click the column heading again. The arrow will point down.
Note By default, not all of the available properties are displayed in the materials table. Only the
properties commonly used by the product are displayed. To view the complete table of
properties, see Filtering Materials.
Related Topics
Validating Materials
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Copying Materials
Removing Materials
Filtering Materials
Filtering Materials
If you want to remove certain materials or material properties from the list in the Select Definition
window, use the filter options under the Material Filters tab. You can filter out materials based on
the product or library with which they are associated. You can also filter out material properties and
types of material properties. And you can remove the filtering in order to see all available material
properties.
To filter materials or material properties listed in the Select Definition window, using the choices
in the Materials tab:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
1. The text field under Libraries lists the libraries for the project. Selecting the listed library
highlights it and cause the table to display the materials in that library.
2. Above the Libraries area, you can check or uncheck boxes to show or hide Project
Definitions and All Libraries.
l With both unchecked, nothing appears in the materials table. With both checked, the table
shows all materials and highlights those used in the project.
l With only Project Definitions checked, the materials table shows only the materials used in
the project.
l With All Libraries checked, the table displays all materials, but may not show all available
properties.
Related Topics
Validating Materials
Copying Materials
Removing Materials
Sorting Materials
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Related Topics
Editing Libraries
A root library directory is set up at installation. If none is specified, the default is the root Electronics
Desktop directory.
Materials from libraries in both the User Library and Personal Library, as well as the System
Library, are available for use in projects.
Editing Libraries
There are two different methods of editing libraries.
l Right-click on Materials in the project window to display the Edit Libraries shortcut menu.
Clicking displays the Edit Libraries window.
Editing definitions from the project window does not modify the configured libraries for any
particular design, since this is editing in general.
l Using Tools>Edit Libraries>Materials from the menu bar takes the current design into
account and adds any new libraries to the configured list for the design.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
To import these materials from previous versions, you must have at least one design loaded in the
project window.
2. Enter the name of the old database in the Legacy Material DB Name box. You can also
click the ... button to locate the database.
3. Enter a name for the new database in your current project in the User Material DB Name
box.
4. Click Translate.
Related Topics
Assigning Materials
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
4 - Drawing a Model
After you insert a design into the current project, you can draw a model of the electromagnetic
structure. The general strategy is to build the model as a collection of 3D objects. You can assign
any single material to each 3D object.
You can create 3D objects by using the modeler's Draw commands or you can draw 1D and 2D
objects, and then manipulate them to create 3D objects. Objects are drawn in the 3D Modeler
window. You can also import objects from other systems.
If a 3D Modeler window for an existing design is not open, do one of the following:
The model you draw is saved with the current project when you click File>Save.
Note If you access your machine via Remote Desktop, if ANSYS Electronics Desktop is running
and one or more modeler windows are open, those modeler windows automatically close.
The message manager window displays a message indicating that ANSYS Electronics
Desktop closed the modeler windows.
When working with multiple projects, or when a project has multiple designs, you may have multiple
Modeler windows available. To switch to the modeler window associated with a specific design:
If the menu command is unavailable, then the selected design is already in the modeler window.
Related Topics
Drawing Objects
Model Analysis
Design Settings
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
3D Component Library
Modifying Objects
Selecting Objects
SpaceClaim Integration
1. Click Modeler>Units.
2. Select the new units for the model from the Select units pull-down list.
3. Specify how the change in units affects the model:
l Select the Rescale to new units option to rescale the dimensions to the new units. For
example, selecting centimeters (cm) as the new unit of measurement results in a
dimension of 10 millimeters (mm) becoming 10 cm.
l Clear the Rescale to new units option (the default) to convert the dimensions to the new
units without changing their scale. For example, selecting cm as the new unit of
measurement results in a dimension of 10 mm becoming 1 cm.
Drawing Objects
You can draw one-, two-, or three-dimensional objects using the Draw commands. You can alter
objects individually or together to create the geometry of your structure. In the Tools>Modeler
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Options, Drawing tab, you can set a default to either draw objects directly with the mouse or by
invoking a Properties dialog in which you can enter the values for the object dimensions. The
Dialog mode drawing feature works with the equation based curve, equation based surface, and
all two and three dimensional objects. You can toggle to Point mode via the F3 function key and to
Dialog mode via the F4 function key. When you use the Dialog mode for drawing objects the Edit
property of new primitives setting is ignored.
One-dimensional (1D) objects in the modeler include straight line, arc line, center-point arc, and
spline segments, or a combination of these - called polylines. One-dimensional objects are open
objects; their boundaries do not enclose a region, unless you connect their endpoints. They have
length, but no surface or volume. Generally they are used as temporary objects from which to
create 2D objects.
Two-dimensional (2D) objects in the modeler include objects such as equation based surfaces,
rectangles, ellipses, circles, and regular polygons. Two-dimensional objects are closed sheet
objects; their boundaries enclose a region. You can create 2D sheet objects by covering the
enclosed region. In many applications (FSS, antennas) it is essential to calculate net power flow
through a surface.
You can also edit the properties of a polyline from the history tree to assign it a Cross Section
property as line or rectangular. If you then assign it either a height or a width, the polyline becomes
a sheet object.
By default, the history tree organizes sheet objects according to their boundary assignments. To
change this, select the Sheets icon, and right-click to display the Group Sheets by Assignment
check box. Within the calculator sheet objects are listed under surface.
Three-dimensional (3D) objects in the modeler include objects such as boxes, cylinders, regular
polyhedra, cones, spheres, torii, and helices. These objects have boundaries that enclose a region
with volume.
You can create 3D objects by manipulating 2D objects along a plane or by using the appropriate
Draw commands. You can also edit the properties of a polyline from the history tree to assign it a
Cross Section property as circle rectangular. If you then assign it an appropriate diameter or both
height or a width, the polyline becomes a 3D object.
You can access the Draw commands via icons on the Draw tab ribbon:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
By default, the history tree organizes 3D objects by material. To change this, select the Objects
icon, and right click to display the shortcut menu to see History Tree Layout commands. You
can also use Group Commands for Modeler Objects.
After you draw an object in the 3D Modeler window, you can modify the object's properties, such
as its position, dimensions, or color, in the Properties dialog box. Most model object properties can
be assigned as Design variables when can then be manipulated during the solve to test their effect
on the solution. For non-model objects, you can use Post Processing variables (default and Design
variables,.
Note If you access your machine via Remote Desktop, if ANSYS Electronics Desktop is running
and one or more modeler windows are open, those modeler windows automatically close.
The message manager window displays a message indicating that ANSYS Electronics
Desktop closed the modeler windows.
Related Topics
Modifying Objects
Drawing a Region
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
1. Click Draw>Line or select the Draw tab and click the Draw Line icon on the ribbon.
2. Select the first point of the line in one of the following ways:
l Click the point.
l You can accept the point or change it by editing its coordinates in the X, Y, and Z boxes in
the status bar.
To delete the last point that was entered, click Undo Previous Segment on the shortcut
menu. After using the undo feature, you can also use Redo Previous Segment on the
shortcut menu.
3. Select the endpoint of the line by clicking the point or typing the coordinates in the text boxes
in the status bar.
The endpoint serves as the start point for a subsequent line segment.
To delete all points and start over, press ESC or click Escape Draw Mode on the shortcut
menu.
If the Modeler option for editing properties of new primitives is checked, the Properties dialog
box appears, in which you can modify the object's attributes byediting the Properties. Those
listed under the Command tab describe the commands used to create the object. These
commands also appear in the History tree. The Properties listed as line attributes include
Name, Orientation, whether a Model object, whether to Display Wireframe, Color,
Transparency, and whether to Show Direction as arrows. The Show Direction property is most
helpful to unambiguously show the line start orientation when plotting fields along a line.
Note While drawing a polyline, you can switch between straight line, arc line, or spline
segments using the Set Edge Type commands on the shortcut menu.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Related Topics
Drawing a Spline
Drawing a Polyline
1. Click Draw>Arc>3 Point or select the Draw tab and click the 3 point arc icon in the
ribbon.
2. Select the start point of the arc in one of the following ways:
l Click the point.
l Type the point's coordinates in the X, Y, and Z text boxes.
3. Select the midpoint of the arc by clicking the point or typing the coordinates in the text boxes
in the status bar.
To delete the last point that was entered, click Undo Previous Segment on the shortcut menu.
After using the undo feature, you can also use Redo Previous Segment on the shortcut
menu.
To delete all points and start over, press ESC or click Escape Draw Mode on the shortcut
menu.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
4. Select the endpoint of the arc by clicking the point or typing the coordinates in the text boxes
in the status bar.
The endpoint serves as the start point for a subsequent arc line segment.
5. If the endpoint is the last point of the polyline object, double-click the point to complete the
polyline or click Done on the shortcut menu.
If the Modeler option for editing properties of new primitives is checked, the Properties dialog
box appears, in which you can modify the object's attributes by editing the Properties. Those
listed under the Command tab describe the commands used to create the object. These
commands also appear in the History tree. The Properties listed as line attributes include
Name, Orientation, whether a Model object, whether to Display Wireframe, Color,
Transparency, and whether to Show Direction as arrows. The Show Direction property is most
helpful to unambiguously show the line start orientation when plotting fields along a line.
6. Click OK.
Based on the three points you specified, the modeler calculates the center point and radius of
the arc and draws an arced line through the three points.
Note While drawing a polyline, you can switch between arc line, straight line, or spline segments
using the Set Edge Type commands on the shortcut menu.
Related Topics
Drawing a Spline
Drawing a Polyline
1. Click Draw>Arc>Center Point or select the Draw tab and click the Center Point icon in
the ribbon.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
2. Select the center point of the arc in one of the following ways:
l Click the point.
l Type the point's coordinates in the text boxes in the status bar.
3. Select the start point, or radius, of the arc by clicking the point or typing the coordinates in the
text boxes in the status bar.
To delete the last point that was entered, click Undo Previous Segment on the shortcut menu.
After using the undo feature, you can also use Redo Previous Segment on the shortcut
menu.
To delete all points and start over, press ESC or click Escape Draw Mode on the shortcut
menu.
4. Sweep the angle, or endpoint, of the arc by clicking the point or typing the coordinates in the
text boxes in the status bar.
5. If the endpoint is the last point of the polyline object, double-click the point to complete the
polyline or click Done on the shortcut menu.
If the Modeler option for editing properties of new primitives is checked, the Properties dialog
box appears, enabling you to modify the object's attributes.
6. Click OK.
Note While drawing a polyline, you can switch between arc line, straight line, or spline
segments using the Set Edge Type commands on the shortcut menu.
Related Topics
Drawing a Spline
Drawing a Polyline
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Drawing a Spline
A spline is a curved line defined by three points. The modeler uses a natural spline type: a piece
wise cubic spline with an end condition that has a derivative of zero. Use the Draw>Spline
command to create a polyline object with one or more spline segments.
1. Click Draw>Spline or select the Draw tab and click the Spline icon in the ribbon.
To delete the last point entered, click Undo Previous Segment on the shortcut menu.After
using the undo feature, you can also use Redo Previous Segment on the shortcut menu.
To delete all selected points and start over, press ESC or click Escape Draw Mode on the
shortcut menu.
3. Select the midpoint of the spline by clicking the point or typing the coordinates in the text
boxes in the status bar.
4. Select the endpoint of the spline by clicking the point or typing the coordinates in the text
boxes in the status bar.
The endpoint serves as the start point for a subsequent spline segment.
If the Modeler option for editing properties of new primitives is checked, the Properties dialog
box appears, in which you can modify the object's attributes byediting the Properties. Those
listed under the Command tab describe the commands used to create the object. These
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
commands also appear in the History tree. The Properties listed as line attributes include
Name, Orientation, whether a Model object, whether to Display Wireframe, Color,
Transparency, and whether to Show Direction as arrows. The Show Direction property is most
helpful to unambiguously show the line start orientation when plotting fields along a line.
6. Click OK.
Note While drawing a polyline, you can switch between spline, straight line, or arc line
segments using the Set Edge Type commands on the shortcut menu.
Related Topics
Drawing a Polyline
Drawing a Polyline
A polyline is a single object that includes any combination of straight line, arc line, or spline
segments. The endpoint of one segment is the start point for the next segment. Use the shortcut
menu's Set Edge Type commands to switch between straight line, arc line, or spline segments
while drawing a polyline.
In the Polyline section of Operation tab of the Modeler Options, select or clear the
Automatically cover closed polylines check box.
If checked, closed polylines become sheet objects, and are listed as such in the History tree. If
unchecked, closed polylines are listed under lines in the History tree.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
1. Click Draw>Line or from the Draw tab ribbon click the Draw line icon:
2. Right-click in the 3D Modeler window to access the shortcut menu, and then point to Set
Edge Type.
3. Click Straight, Spline, 3 Point Arc, or Center Point Arc depending on which type of
polyline segment you want to draw.
4. If you clicked Straight, follow the procedure for drawing a straight line.
If you clicked 3 Point Arc, follow the procedure for drawing a three-point arc line.
If you clicked Center Point Arc, follow the procedure for drawing a center-point arc line.
5. Repeat steps 2 and 3 for each segment of the polyline object. The endpoint of the previous
segment serves as the start point for the next segment.
The shortcut menu lets you do the following for each segment:
Note To connect the polyline's start and endpoints, click Close Polyline on the shortcut
menu.
If the Modeler option for editing properties of new primitives is checked, the Properties dialog
box appears, in which you can modify the object's attributes by editing the Properties. Those
listed under the Command tab describe the commands used to create the object. These
commands also appear in the History tree. The Properties listed as line attributes include
Name, Orientation, whether a Model object, whether to Display Wireframe, Color,
Transparency, and whether to Show Direction as arrows. The Show Direction property is most
helpful to unambiguously show the line start orientation when plotting fields along a line. Notice
that by going to the History tree selecting Create Polyline for that object, you can assign a cross
section and dimensions to a polyline.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
7. Click OK.
If you select a polyline in the History tree, you can use the Measure mode to see the total length.
Related Topics
Drawing a Spline
Generate History
1. In the History tree of the Modeler window, right-click on the polyline that you want to give a
cross section.
This selects the polyline, displays the polyline properties in the docked properties (if you have if
displays) and displays a shortcut menu where you can choose Properties... to display the
undocked Properties window for the polyline.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
2. In a Properties window (either docked or undocked) for the selected polyline click on None
on the Type line under Cross Section to display the choices for Line, Circle, Rectangle and
Isosceles Trapzoid.
3. Select one of Line, Circle, Rectangle, or Isosceles Trapezoid as the cross section.
l Selecting Line causes the Cross Section area of the polyline properties to display editable
fields for Orientation and Width.
l Selecting Circle causes the Cross Section area of the polyline properties to display an
editable field for diameter.
l Selecting Rectangle causes the Cross Section area of the polyline properties to display
editable fields for Orientation, Width and Height.
l Selecting Isosceles Trapezoid causes the Cross Section area of the polyline properties
to display editable fields for Orientation, Width/Diameter, Top Width, and Height.
4. If you select Line, Rectangle, or Isosceles Trapezoid you can edit the Orientation as Auto, X,
Y, or Z. This provides the direction in which the dimension extends.
5. Specify the dimensions and select the units for the Cross section.
Type a value in the dimension field(s) and select units from the drop down menu.
The dimensions must be reasonable relative to the specified shape and orientation of the
polyline. If the polyline cannot be extended into current Orientation for the given dimension(s),
you will receive a warning. If you receive a warning, check the Orientation, dimension and units.
When the modeler can extend the dimensions legally, it displays the modified object, and lists it
in the History tree as either a Sheet object (Line or one dimensional Rectangle) or as a Solid
object (Circle or two dimensional Rectangle).
6. You can modify the new polyline either by editing the properties, or by using the History tree
to select one of the line objects that make up the polyline, and right clicking to display the
popup menu showing commands to Insert, Delete, or display editable segment Properties.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
A segment that you select in the Project tree is indicated in the Modeler window by a line in the
dimensioned object. If you insert a new segment, it adopts the dimensions you specified for the
polyline object.
Related Topics
Drawing a Polyline
1. Select the line object in the History tree (not the modeler window).
This highlights the object and enables the InsertLine Segment commands in the Draw menu
and short-cut menu.
2. Use the cascade menu from the Draw>Line Segment command to or the right-click menu
to select whether to Insert Before Line Segment or InsertAfter Line Segment.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
3. Use the next cascade menu to specify the kind of segment to add. These can be: Straight,
Spline. 3 Point Arc, or Center Point Arc.
4. If you clicked Straight, follow the procedure for drawing a straight line.
If you clicked 3 Point Arc, follow the procedure for drawing a three-point arc line.
If you clicked Center Point Arc, follow the procedure for drawing a center-point arc line.
5. Repeat steps 2 and 3 for each segment of the polyline object. The endpoint of the previous
segment serves as the start point for the next segment.
6. Complete the polyline in one of the following ways:
l Double-click the endpoint of the final segment.
l Click Done on the shortcut menu.
Note To connect the polyline's start and endpoints, click Close Polyline on the shortcut
menu.
The Properties dialog box appears, in which you can modify the object's attributes byediting
the Properties. Those listed under the Command tab describe the commands used to create
the object. These commands also appear in the History tree. The Properties listed as line
attributes include Name, Orientation, whether a Model object, whether to Display Wireframe,
Color, Transparency, and whether to Show Direction as arrows. The Show Direction property
is most helpful to unambiguously show the line start orientation when plotting fields along a line.
7. Click OK.
Related Topics
1. Click Draw>Equation Based Curve or in the Draw tab ribbon, select the Equation
Based Curve icon.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Build an equation for X(_t), Y(_t), or Z(_t) by specifying appropriate trignometric function,
operator, and quantity to insert from the corresponding pull-down lists.
Select the respecting Insert Quantity, Operator or Quantity buttons to place the
selections on the equation fields. An inserted Quantity goes inside a currently inserted
Function.
You can also type operators and values to build complex equations.
b. When you are finished defining the equation, click OK to close the Edit Equation dialog
box and return to the Equation Based Curve dialog box.
l Any unitless value input in equation based curve is taken as model units. For example, for
Y(_t) = 1, the y value is taken as 1 model units (say mm). If a value has units, then it is
converted to model units and used. For example, if we specify Y(_t) = 1cm, then y value
will be correctly taken as 10mm.
l While parsing expressions, equation based curves convert each variable separately to
model units and assume that the resulting expression is in model units.
l Equation based curves depend on the variable value library to correctly evaluate the units
of expression.
3. Select a start value from the Start_t pull-down list.
4. Select an end value from the End_t pull-down list.
5. Type in or select the number of points in the curve from the Points pull-down list.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The curve appears in the modeler window, and the History tree shows the curve object and the
command.
If the Modeler option for editing properties of new primitives is checked, the Properties dialog
box appears, in which you can modify the object's attributes by editing the Properties.
The Properties listed as line attributes include Name, Orientation, whether a Model object,
whether to Display Wireframe, Color, Transparency, and whether to Show Direction as arrows.
The Show Direction property is most helpful to unambiguously show the line start orientation
when plotting fields along a line.
Related Topics
This table lists the functions, operators and Quantities for the Edit Equation dialog.
Item Definition
Functions
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Item Definition
abs Absolute value of the simulation quantity which results in a number that is
always positive.
acos Arc cosine i.e. the inverse function of a cosine.
acosh Inverse hyperbolic arc cosine.
acot Inverse cotangent
acoth Inverse hyperbolic cotangent
acsc Inverse cosecant
acsch Inverse hyperbolic cosecant
asec Inverse secant
asech Inverse hyperbolic secant
asin Arc sine i.e. inverse function of sine.
asinh Inverse hyperbolic sine.
atan Arc tangent i.e. the inverse function of a tan.
atanh Inverse hyperbolic tan.
cos Cosine.
cosh Hyperbolic cosine.
cot Cotangent
coth Hyperbolic cotangent
csc Cosecant
csch Hyperbolic cosecant
ln Natural logarithm.
log Natural logarithm (same as ln).
sin Sine.
sinh Hyperbolic sine.
sqrt Square root of the selected simulation quantity.
tan Tangent.
tanh Hyperbolic tangent.
Operators
and
cross
division
dot
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Item Definition
equal
exp
exponent
greater_than
greater_than_or_
equal
not
not_equal
or
Quantities
_t For equation based lines
_u,_v For equation based surfaces.
PI
Drawing a Circle
Draw a circle by selecting a center point and a radius. Circles are drawn as true surfaces in the
modeler.
1. Click Draw>Circle or in the Draw tab ribbon, click the circle icon.
2. Select the center point of the circle in one of the following ways:
l Click the point.
l Type the point's coordinates in the text boxes in the status bar.
3. Specify the radius by selecting a point on the circle's circumference in one of the following
ways:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
If the Modeler option for editing properties of new primitives is checked, the Properties dialog
box appears, enabling you to modify the object's properties.
4. Click OK.
If the Automatically cover closed polyline option is selected in the Modeler Options
window, the circle will be covered, resulting in a 2D sheet object. Otherwise it will be a closed
1D polyline object.
Note The 3D Geometry Modeler permits drawing of true-curved objects. However, the solution
will be obtained with a tetrahedral mesh which conforms to the true surface only within the
limits identified by certain mesh settings. The modeler has default settings for this
conformance which is a reasonable trade-off between solution speed and solution quality
for most objects, but may not be ideal for all such objects. High-aspect ratio curves
structures, such as helices with narrow and curved cross-sections, may benefit from user
control of the faceting values. For details about these commands see:
Technical Notes, "Surface Approximations" and related sections, Rectilinear Elements and
Curvilinear Elements, "Modifying Surface Approximations," and "Guidelines for Modifying
Surface Approximations"
Related Topics
Surface Approximation
Covering Lines
Drawing an Ellipse
Draw an ellipse by specifying a center point, base radius, and secondary radius.
1. Click Draw>Ellipse or in the Draw tab ribbon, select the draw ellipse icon.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
2. Select the center point of the ellipse in one of the following ways:
l Click the point.
l Type the point's coordinates in the text boxes in the status bar.
3. Specify the base radius of the ellipse. If the current drawing plane is xy, then x is the base
radius direction. If the drawing plane is yz, then y is the base radius direction. If the drawing
plane is xz, then z is the base radius direction. Select the point in one of the following ways:
l Click the point. ANSYS Electronics Desktop constrains mouse movement to the base
radius direction.
l Type the coordinates of a point relative to the center point in the dX, dY, or dZ box, where
d is the distance from the previously selected point.
4. Specify the secondary radius of the ellipse. Select the point in one of the following ways:
l Click the point. ANSYS Electronics Desktop constrains mouse movement to a point on
the plane orthogonal to the base radius direction.
l Type the coordinates of a point relative to the center point in the dX, dY, or dZ box.
If the Modeler option for editing properties of new primitives is checked, the Properties dialog
box appears, enabling you to modify the object's properties.
The Ratio value represents the aspect ratio of the secondary radius to the base radius.
5. Click OK.
If the Automatically cover closed polyline option is selected in the Modeler Options
window, the ellipse will be covered, resulting in a 2D sheet object. Otherwise it will be a closed
1D polyline object.
If the base radius is larger than the secondary radius, the ellipse's longer axis will lie along the
default base radius direction. If the secondary radius is larger than the base radius, the ellipse's
longer axis will lie perpendicular to the default base radius direction. To create an ellipse with an
arbitrary orientation, rotate or move the ellipse after drawing it.
Note The 3D Geometry Modeler permits drawing of true-curved objects. However, the solution
will be obtained with a tetrahedral mesh which conforms to the true surface only within the
limits identified by certain mesh settings. The modeler has default settings for this
conformance which is a reasonable trade-off between solution speed and solution quality
for most objects, but may not be ideal for all such objects. High-aspect ratio curves
structures, such as helices with narrow and curved cross-sections, may benefit from user
control of the faceting values. For details about these commands see:
Technical Notes, "Surface Approximations" and related sections, Rectilinear Elements and
Curvilinear Elements, "Modifying Surface Approximations," and "Guidelines for Modifying
Surface Approximations"
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Related Topics
Covering Lines
Drawing a Rectangle
Draw a rectangle (or square) by selecting two diagonally opposite corners.
1. Click Draw>Rectangle or in the Draw tab ribbon, click the draw rectangle icon.
To delete the selected point and start over, press ESC or click Escape Draw Mode on the
shortcut menu.
3. Select the second corner of the rectangle in one of the following ways:
l Click the point.
l Type the coordinates of the point relative to the first diagonal corner in the dX, dY, and dZ
boxes, where d is the distance from the previously selected point.
If the Modeler option for editing properties of new primitives is checked, the Properties dialog
box appears, enabling you to modify the object's properties.
4. Click OK.
If the Automatically cover closed polyline option is selected in the Modeler Options
window, the rectangle will be covered, resulting in a 2D sheet object. Otherwise it will be a
closed 1D polyline object.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Related Topics
Covering Lines
1. Click Draw>Regular Polygon or in the Draw tab of the ribbon area, click the Draw Regular
Polygon icon:
2. Select the center point of the polygon in one of the following ways:
l Click the point.
l Type the point's coordinates in the text boxes in the status bar.
3. Specify the polygon's radius, the distance from the center point to one of the polygon's
vertices, in one of the following ways:
l Click the point.
l Type the coordinates of the point relative to the center point in the dX, dY, and dZ boxes,
where d is the distance from the previously selected point.
4. In the Segment number dialog box, enter the Number of segments in the polygon, and
then click OK.
If the Modeler option for editing properties of new primitives is checked, the Properties dialog
box appears, enabling you to modify the object's properties.
5. Click OK.
Note The radius is measured from the center point to a corner of the polygon, or the
intersection of two edges. It is not measured from the center point to the midpoint of
an edge.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
If the Automatically cover closed polyline option is selected in the Modeler Options
window, the polygon will be covered, resulting in a 2D sheet object. Otherwise it will be a closed
1D polyline object.
Related Topics
Covering Lines
2. Type equations for X(_u, _v), Y(_u, _v), and Z(_u, _v).
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Build an equation for X(u, v), Y(u, v), or Z(u, v), by selecting function, operator, and quantity
to insert from the corresponding pull-down lists.
Select the respecting Insert Quantity, Operator or Quantity buttons to place the
selections on the equation fields. An inserted Quantity goes inside a currently inserted
Function.
You can also type operators and values to build complex equations.
d. When you are finished defining the equation, click OK to close the Edit Equation dialog
box and return to the Equation Based Surface dialog box.
l Any unitless value input in equation based curve is taken as model units. For example, for
Y(_t) = 1, the y value is taken as 1 model units (say mm). If a value has units, then it is
converted to model units and used. For example, if we specify Y(_t) = 1cm, then y value
will be correctly taken as 10mm.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l While parsing expressions, equation based curves convert each variable separately to
model units and assume that the resulting expression is in model units.
l Equation based curves depend on the variable value library to correctly evaluate the units
of expression.
3. Specify start values for the Start_u and Start_v fields.
The surface is drawn in the Modeler window. The History tree contains the Equation Surface
object and the command properties.
If the Modeler option for editing properties of new primitives is checked, the Properties dialog
box appears, enabling you to modify the object's attributes.
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Drawing a Sphere
Draw a sphere, a 3D circle, by selecting a center point and a radius. Spheres are drawn as true
surfaces in the modeler.
1. Click Draw>Sphere or in the Draw tab of the Ribbon, click the Sphere icon:
2. Select the center point of the sphere in one of the following ways:
l Click the point.
l Type the point's coordinates in the text boxes in the status bar.
3. Specify the radius by selecting a point on the sphere's circumference in one of the following
ways:
l Click the point.
l Type the coordinates of the point relative to the center point in the dX, dY, and dZ boxes,
where d is the distance from the previously selected point.
If the Modeler option for editing properties of new primitives is checked, the Properties dialog
box appears, enabling you to modify the object's properties.
4. Click OK.
Note The 3D Geometry Modeler permits drawing of true-curved objects. However, the
solution will be obtained with a tetrahedral mesh which conforms to the true surface
only within the limits identified by certain mesh settings. The modeler has default
settings for this conformance which is a reasonable trade-off between solution speed
and solution quality for most objects, but may not be ideal for all such objects. High-
aspect ratio curves structures, such as helices with narrow and curved cross-
sections, may benefit from user control of the faceting values.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Drawing a Cylinder
Draw a cylinder by selecting a center point, radius, and height. Cylinders are drawn as true
surfaces in the modeler.
1. Click Draw>Cylinder or in the Draw tab of the Ribbon, click the cylinder icon:
2. Select the center point of the cylinder's base circle in one of the following ways:
l Click the point.
l Type the point's coordinates in the text boxes in the status bar.
3. Specify the radius by selecting a point on the base circle's circumference in one of the
following ways:
l Click the point.
l Type the coordinates of the point relative to the center point in the dX, dY, and dZ boxes,
where d is the distance from the previously selected point.
4. Specify the cylinder's height by selecting a point on the axis perpendicular to the base circle's
plane. Select the point by clicking the point or typing the coordinates in the dX, dY, and dZ
boxes.
Note If you create a cylinder with a height of zero, ANSYS Electronics Desktop draws a
circular sheet object.
If the Modeler option for editing properties of new primitives is checked, the Properties dialog
box appears, enabling you to modify the object's properties.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
5. Click OK.
Note The 3D Geometry Modeler permits drawing of true-curved objects. However, the
solution will be obtained with a tetrahedral mesh which conforms to the true surface
only within the limits identified by certain mesh settings. The modeler has default
settings for this conformance which is a reasonable trade-off between solution speed
and solution quality for most objects, but may not be ideal for all such objects. High-
aspect ratio curves structures, such as helices with narrow and curved cross-
sections, may benefit from user control of the faceting values. For details about these
commands see:
Related Topics
Drawing a Box
Draw a box by selecting two diagonally opposite corners of the base rectangle, then specifying the
height.
1. Click Draw>Box or in the Draw tab of the ribbon, click the Box icon:
2. Select the first diagonal corner of the base rectangle in one of the following ways:
l Click the point.
l Type the point's coordinates in the text boxes in the status bar.
To delete the selected point and start over, press ESC or click Escape Draw Mode on the
shortcut menu.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
3. Select the second corner of the base rectangle in one of the following ways:
l Click the point.
l Type the coordinates of the point relative to the first diagonal corner in the dX, dY, and dZ
boxes, where d is the distance from the previously selected point.
4. Specify the height of the box by selecting a point on the axis perpendicular to the base
rectangle. Select the point by clicking the point or typing the coordinates in the dX, dY, and
dZ boxes.
If the Modeler option for editing properties of new primitives is checked, the Properties dialog
box appears, enabling you to modify the object's properties.
5. Click OK.
Related Topics
1. Click Draw>Regular Polyhedron on in the Draw tab ribbon, click the Regular
Polyhedron icon
2. Select the center point of the polyhedron in one of the following ways:
l Click the point.
l Type the point's coordinates in the text boxes in the status bar.
3. Select the radius of the polyhedron, the distance from the center point to one of the
polyhedron's vertices, in one of the following ways:
l Click the point.
l Type the coordinates of the point relative to the center point in the dX, dY, and dZ boxes,
where d is the distance from the previously selected point.
4. In the Segment number dialog box, enter the Number of segments in the polyhedron,
and then click OK.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
If the Modeler option for editing properties of new primitives is checked, the Properties dialog
box appears, enabling you to modify the object's properties.
5. Click OK.
Note The radius is measured from the center point to a corner of the polygon, or the
intersection of two edges. It is not measured from the center point to the midpoint of
an edge.
If the Automatically cover closed polyline option is selected in the Modeler Options dialog
box, the polygon will be covered, resulting in a 2D sheet object. Otherwise it will be a closed 1D
polyline object.
Related Topics
Covering Lines
Drawing a Cone
Draw a cone by selecting the center point and radius of the cone's base circle, then specifying the
radius of the cone's top circle and the cone's height. Cones are drawn as true surfaces in the
modeler.
1. Click Draw>Cone or in the Draw tab of the ribbon, click the cone icon:
2. Select the center point of the cone's base circle in one of the following ways:
l Click the point.
l Type the point's coordinates in the text boxes in the status bar.
3. Specify the radius of the cone's base circle by selecting a point on the base circle's
circumference. Select the point in one of the following ways:
l Click the point.
l Type the coordinates of the point relative to the center point in the dX, dY, and dZ boxes,
where d is the distance from the previously selected point.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
4. Specify the radius of the cone's top circle by selecting a point on its circumference. Select the
point by clicking it or typing its coordinates in the dX, dY, and dZ boxes.
To create an apex, select the same center point as the cone's base circle.
5. Specify the height of the cone by selecting a point on the axis perpendicular to the base
circle's plane. Select the point by clicking the point or typing the coordinates in the dX, dY,
and dZ boxes.
If the Modeler option for editing properties of new primitives is checked, the Properties dialog
box appears, enabling you to modify the object's properties.
6. Click OK.
Note The 3D Geometry Modeler permits drawing of true-curved objects. However, the
solution will be obtained with a tetrahedral mesh which conforms to the true surface
only within the limits identified by certain mesh settings. The modeler has default
settings for this conformance which is a reasonable trade-off between solution speed
and solution quality for most objects, but may not be ideal for all such objects. High-
aspect ratio curves structures, such as helices with narrow and curved cross-
sections, may benefit from user control of the faceting values. For details about these
commands see:
Related Topics
Drawing a Torus
Draw a torus by selecting its center point, major radius, and minor radius. The modeler then
sweeps a circle around a circular path. Toruses are drawn as true surfaces in the modeler.
1. Click Draw>Torus or in the Draw tab of the ribbon, click the torus icon:
2. Select the center point of the torus in one of the following ways:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
4. Specify the minor radius by selecting a point relative to the major radius point.
If the Modeler option for editing properties of new primitives is checked, the Properties dialog
box appears, enabling you to modify the object's properties.
5. Click OK.
Note The 3D Geometry Modeler permits drawing of true-curved objects. However, the
solution will be obtained with a tetrahedral mesh which conforms to the true surface
only within the limits identified by certain mesh settings. The modeler has default
settings for this conformance which is a reasonable trade-off between solution speed
and solution quality for most objects, but may not be ideal for all such objects. High-
aspect ratio curves structures, such as helices with narrow and curved cross-
sections, may benefit from user control of the faceting values. For details about these
commands see:
Drawing a Helix
A helix is a 3D spiral object created by sweeping a 1D or 2D object along a vector. Sweeping a 1D
object results in a hollow 3D object. Sweeping a 2D sheet object results in a 3D solid object.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
3. Draw the vector you want to sweep the object along. The two points that describe the vector
affect axis direction only and not the helix length. The helix length is determined when you
enter the pitch and number of turns in the Pitch and Turns text boxes. The initial radius of
the helix is determined by the axis position relative to the object being swept.
a. Select the start point by clicking the point or typing its coordinates in the X, Y, and Z text
boxes.
b. Select the endpoint by clicking the point or typing its coordinates relative to the start point
in the dX, dY, and dZ boxes.
4. For Turn Direction, select Right hand if the turn direction is clockwise and Left hand if the
turn direction is counter-clockwise.
5. In the Pitch text box, type the distance between each turn in the helix, and click a unit in the
pull-down list.
6. In the Turns text box, type the number of complete revolutions the object will make along the
vector.
7. In the Radius Change per Turn text box, type a number for the increase in the radius and
select the units from the pull-down list.
8. After you set these values, the selected object is swept along the vector to form a helix. The
original object you swept is deleted.
If the Modeler option for editing properties of new primitives is checked, the Properties dialog
box appears, enabling you to modify the object's properties.
9. Click OK.
Note The 3D Geometry Modeler permits drawing of true-curved objects. However, the
solution will be obtained with a tetrahedral mesh which conforms to the true surface
only within the limits identified by certain mesh settings. The modeler has default
settings for this conformance which is a reasonable trade-off between solution speed
and solution quality for most objects, but may not be ideal for all such objects. High-
aspect ratio curves structures, such as helices with narrow and curved cross-
sections, may benefit from user control of the faceting values. For details about these
commands see:
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Drawing a Segmented Helix with Rectangular Cross-Section using a User Defined Primitive.
The Create User Defined Part dialog box appears. The Parameters tab permits you to edit
the parameters. An Info tab contains information about the user defined primitive, its purpose,
the company/author who created it, the date created and the version number.
PolygonSegments Number of segments in the polygon cross-section. Enter zero (0) for
true circle
PolygonRadius Radius of the polygon cross-section.
StartHelixRadius The radius of a segmented helix is defined from the helix center of
rotation to the center of the helix cross-section at segment transitions.
The first and last segments of the helix are half segments. See this
figure.
RadiusChange The radius change per turn of the helix.
Pitch Distance between helix turns.
Turns The number of turns in the helix.
SegmentsPerTurn The number of segments constructing each turn. Enter zero (0) for
true curve.
RightHanded Helix winding direction. Enter non-zero value for right-handed helix.
3. Click OK.
Related Topics
Drawing a Segmented Helix with Rectangular Cross Section Using a User Defined Primitive
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The Create User Defined Part dialog box appears. The Parameters tab permits you to edit
the parameters. An Info tab contains information about the user defined primitive, its purpose,
the company/author who created it, the date created and the version number.
3. Click OK.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Related Topics
Drawing a Spiral
A spiral is a 2D or 3D spiral object created by sweeping an object around a vector. Sweeping a 1D
object results in a 2D sheet object. Sweeping a 2D sheet object results in a 3D solid object.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
a. Select the start point by clicking the point or typing its coordinates in the X, Y, and Z text
boxes.
b. Select the endpoint by clicking the point or typing its coordinates relative to the start point
in the dX, dY, and dZ boxes.
4. Select Right hand if the turn direction is clockwise and Left hand if the turn direction is
counter-clockwise.
5. In the Radius Change text box, type the difference in radius between each turn of the spiral.
The radius of the first turn is measured from the center point of the 1D or 2D object you are
sweeping to the vector you drew.
The selected object is swept around the vector to form a spiral. The original object you swept is
deleted. If the Modeler option for editing properties of new primitives is checked, the Properties
dialog box appears, enabling you to modify the object's properties.
8. Click OK.
This 3D spiral was created from a 2D circle drawn at z = 0. The turn direction was right hand,
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
the radius change was set at 2, and the number of turns was set at 2.
Note The 3D Geometry Modeler permits drawing of true-curved objects. However, the solution
will be obtained with a tetrahedral mesh which conforms to the true surface only within the
limits identified by certain mesh settings. The modeler has default settings for this
conformance which is a reasonable trade-off between solution speed and solution quality
for most objects, but may not be ideal for all such objects. High-aspect ratio curves
structures, such as helices with narrow and curved cross-sections, may benefit from user
control of the faceting values. For details about these commands see:
Technical Notes, "Surface Approximations" and related sections, Rectilinear Elements and
Curvilinear Elements, "Modifying Surface Approximations," and "Guidelines for Modifying
Surface Approximations"
Related Topics
The User Defined Primitive Operation dialog box appears. The Parameters tab permits you
to see and edit the parameters. An Info tab contains information about the user defined
primitive, its purpose, the company/author who created it, the date created and the version
number.
3. Click OK.
This creates the primitive and displays the Properties dialog for the new object.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Hint To see newly created DLLs, click Draw>User Defined Primitive>Update Menu.
To see the primitives that you have created, click Draw>User Defined
Primitive>UserLib.
Related Topics
Drawing a Spiral
Drawing a Bondwire
A bondwire is a thin metal wire that connects a metal signal trace with a chip. Please see the topic
Bondwires in the Technical Notes before drawing a bondwire.
1. Click Draw>Bondwire or in the Draw tab of the ribbon, click the bondwire icon:
4. In the Type list, click the JEDEC modeling standard shape you want the bondwire to have:
JEDEC 4-point, JEDEC 5-point, or Low.
The Type selection changes the dialog bondwire graphic, and shows options for that type.
5. Enter the number of facets in the bondwire in the No. of Facets text box.
The minimum value is 3. The value describes the number of faces that make up the
circumference of the bondwire.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
6. In the diameter field, specify a diameter value and select the units from the pull-down menu.
7. Enter the height between the bond pad and the top of the loop in the h1 text box. Include the
height's unit of length.
8. The value in the h2 text box is the height between the bond pad and the lead point. It was
calculated by ANSYS Electronics Desktop based on the lead point you selected. If you
modify the value of h2, the lead point will be modified.
Optionally, type a new value in the h2 text box. Include the height's unit of length.
Related Topics
Technical Notes:Bondwires
Drawing a Point
Drawing a point object within the problem region enables you to plot fields or perform field
computations at that point. Points are always considered non-model objects by the modeler.
1. Click Draw>Point or in the Draw tab of the ribbon, click the point icon:
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Drawing a Plane
A plane object is a cutplane through the problem region. You can plot fields or perform field
computations on its surface. Planes are always considered non-model objects by the modeler.
1. Click Draw>Plane or in the Draw tab of the ribbon, click the plane icon:
The plane is created. Its center point is located at the origin you specified and oriented
perpendicular to the normal point you specified. The new plane is listed under Planes in the
history tree.
Note You only need to draw a plane that does not lie on a pre-defined xy, yz, and xz plane.
Default planes are created on the xy, yz, and xz planes of the global coordinate system as
well as any new coordinate system you create.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Related Topics
Segmented Objects
To create segmented circles, ellipses, and cylinders use the Number of Segments parameter on
the Command Tab of the Properties dialog as shown below. To convert an object from true
surface to segmented, do the following:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
1. Select the circle, ellipse, or cylinder in the modeler window or in the history tree.
2. In the command tab of the properties window (shown docked below), change the Number
of Segments to an integer value of three or greater and press Enter.
Values of 1 and 2 are not valid values for the circle, ellipse, or cylinder command and will cause
an error.
Related Topics
You can assign output variables (default) and design variable as property values for non-model
objects.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Draw a polyline along which to plot fields or perform field computations. Note that when you
create a value versus distance plot, by default, the line will be divided into 100 equally
spaced points. You can modify the number of points into which the line is divided in the Edit
Sweeps dialog box.For more information, see Specifying Variable Values for a Sweep
Definition.
l Draw a rectangle upon which to plot fields in the reporter or perform field computations.
l Draw a volume box to analyze fields in areas of the problem region that are not occupied by
an object or that consist of parts of several objects.
l Draw a plane, which is always a non-model object.
l Draw a point object, which is always a non-model object, in order to plot fields in the
Reporter or perform field computations at that point.
Switch to non-model drawing mode. Objects you draw in non-model mode will not be included in
the solution process.
Alternatively, click Non Model on the drawing model pull-down list in the Draw tab of the
Ribbon area:
Related Topics
l Select the object you want to modify.In the Properties dialog box, clear the Model option.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The object will not be included in the solution process. If the object lies in the problem region,
you can plot solution quantities on it.
Related Topics
Drawing a Region
To draw a region encompassing the objects in the current project:
1. Click Draw>Region or in the Draw tab of the ribbon click the region icon:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
2. For the Padding data, click the Padding Data radio button as Pad all directions similarly,
Pad individual directions, or Transverse padding.
Selecting Pad all directions similarly leaves the Padding type field as requiring a single value
that affects all directions. In this case, you can specify the Padding type by selecting
Percentage Offset or Absolute Offset from the drop-down menu.
If you select Absolute Offset, you also specify the units by selecting from a drop-down menu.
Selecting Pad individual directions displays the Padding Percentage as a table of Positive
and Negative X,Y, and Z coordinates, permitting you to specify padding for each direction. In
this case, you can specify the Padding type by selecting Percentage Offset or Absolute
Offset or Absolute Position from the drop down menu.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
For a single antenna element, something that is radiating does not radiate with reasonable
efficiency until it is lambda/2 in length, L, and it radiates in the direction transverse to the
dimension L. So we get the dimension L from the region command and pad it 50% which would
then correspond to the lambda/4 of the frequency at which the device is lambda/2 but only in the
direction in which energy radiates, the transverse direction.
A basic example is a thin resonate dipole oriented in z. There is zero radiation in the z-direction
so no need to pad the abc in that direction since no energy goes in that direction. But in X and Y
transverse to the length L we do need to pad lambda/4 (the 50% setting) because it is that
direction that the device radiates.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
3. Specify the Padding values in the fields and select the units from the drop-down list.
4. If desired, click the check box to save the values as Default.
5. Click OK to close the dialog and create the region.
The region is drawn, selected, and displayed in the History tree. It is created using the current
coordinate system. The Properties dialog for the Create Region icon in the History tree shows
the coordinate system and Padding values. The Properties dialog for the selected model lists
attributes tab including Name, Material (Default, vacuum), Solve inside, Orientation, Model,
Color, Display Wireframe, and Transparency. You can edit all of these values.
If you try to create a region that does not contain all of the objects in your model, the modeler
automatically expands the region to cover all objects. The region also updates automatically as
your geometry changes.
Only one region can be created for a single project using the Draw>Region command. If you try to
create a second region, the Properties window appears for the existing region, allowing you to
change operation parameters and attributes.
l Group objects in the history tree. When objects are grouped, they show up under a sub-item
in the history tree.
l Groups can contain sub-groups and sub-group containing further sub-groups.
l Groups permit moving objects from one group to any other group at any time.
l Groups are purely for organization of history tree. They do not affect solution in any way.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Groups permit you to bring in MCAD assemblies and sub-assemblies as groups. See
Importing 3D Model Files.
l Groups can contain objects, submodels (for example, UDM, 3D Component, CAD links)
and groups. Coordinate systems, planes etc will not have any parent group.
l Groups do not encapsulate history of objects. They do not encapsulate parameters used by
those objects.
l Groups do not have history tree operations. For example, Arrange operations apply to all
objects of the group rather than the group.
l Groups are not independent. Delete of an object in one group could cause object in another
group to be also deleted.
You can access the Group commands in several ways: via the Modeler>Group menu, by right-
clicking on Model in the History tree to see the short-cut menu, the right-click context menu in the
Modeler window, and using the Group icons in the toolbar.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Group>Create works with selection or no selections. If there are no selections, an empty group is
created under model. If there are selections, then a new group is created under same group as all
the selections, provided all selections are under one group. Once a group is created, all selections
move under new group. If selections are under different groups, then a new group is created under
model. Selections could be objects, groups, 3D Components, or User Defined Model. The Group>
Create command tries to find a more suitable group name where possible based on names of all
selections. If not, default group names are Group1, Group2 and so on. You can edit group names
later.
Group>Ungroup is enabled only when you select one or more groups. Upon ungroup, all the
contents of the selected group move under group’s parent and the selected group is deleted. Note
that Group>Ungroup is not recursive; it only affects the selected group is and all its children
groups remain intact. Ungroup is also different from Delete (under Edit>Delete) which deletes a
selected group and everything under it.
Group>FlattenFlatten Group is enabled when you select a group selection. You can select
multiple groups at different levels. All of the selected group's contents (that is, objects, sub-groups,
and so forth ) come directly under selected group. In a sense this is a recursive ungroup operation
as all the children and grandchildren groups of selected group are ungrouped.
Group>Delete Empty deletes all empty groups under the selected group. If a selected group is
empty it is deleted. This command is helpful to clean up empty groups after you have moved
objects from one group to another.
Operations on Groups
Edit/Delete: Delete operations delete group and all the children, including sub-groups, under the
group.
When you copy and paste objects with groups to another design, group information is carried over,
that is, new group in target design is created. If a group with the exact name exists, then the objects
are moved under that group and no new group is created. When pasted in the same design, the
pasted object moves under same parent group as original object.
When you copy and paste one or more groups in same design or to another design, a new group is
created with unique name derived from original group name. Everything under that group,
including any sub-groups, is copy/pasted as well.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
If you multi-select a few objects and groups, all of them are pasted correctly. If you select a group
and few objects under that group, copy and paste includes the complete group structure. This
means that selection of objects under the selected group is ignored. If you want to only copy and
paste few objects from group, you should only select those objects and NOT select the group.
You can select group to enable arrange operations like move, rotate and mirror. Note that arrange
operations works directly on objects under selected group. So after arrange operation is done, the
History tree shows the arrange operation under every object of that group.
You can select groups to enable duplicate operations. Afterward, the History tree shows a
duplicate operation under every object of that group. Newly created objects appear under a new
group. There will be new group for every instance of duplicate.
Modeling operations that create new objects, such as Create from Face or Edge, as well as
Simplify and Separate. The newly created objects appear under a new group created under the
original object's group, based on the tool option settings. See 3D Modeler Options: Group Options.
Group Properties
A Group’s Property tab is shown when you select a group in the history tree. The Group’s
properties include Name and parent Group.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Object, group and submodel properties have a Group property. You can edit the Group Property
and this provides another way of setting an object’s (or group’s) group. You can select any of the
existing groups listed or create a new group.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Related Topics
Model Analysis
For some models it may be beneficial to remove unnecessary small entities and to fix object
misalignments to avoid potential mesh issues. The Modeler window includes Model Analysis
functions to help you evaluate models you have imported or created. Select Modeler> Model
Analysis to see the menu options. Depending on the design and the current selection, some
features may not be enabled. The menu includes the following commands.
l Analyze Objects
l Analyze InterObject Misalignment
l Analyze Surface Mesh
l Show Analysis dialog
Note Before running model analysis, you must remove all command history for the selected
object by using the Purge History command. If you need to save the object history, save a
separate copy.
1. After import, you typically perform validation check. This lets you focus on objects and object
pairs that have errors and or warnings. The objects that fail should be analyzed by using the
Modeler>Model Analysis>Analyze Objects menu item.
2. Select the objects and invoke Modeler>Model Analysis>Analyze Objects.
This displays the Analysis Options dialog to allow you to specify settings for entity check level,
and small feature detection.
When you OK this dialog, the initial analysis executes and the Model Analysis dialog is
displayed.
3. Choose the objects that have "Invalid Entities Found" and Perform>Heal Objects.
In most cases, the objects will be healed and the errors fixed.
4. If errors still persist, choose the edges and faces and click on Delete.
This will replace the selected face/edge object by a tolerant edge/vertex respectively. In some
cases the replacement of the face/edge by tolerant edge/vertex will fail.
When models pass the initial validity checks, mesh generation could still fail. The following errors
can be present in models: (See Error Detection.)
1. Non-manifold topology. These are non-manifold edges and vertices that are present in the
model.
2. Object pair intersection. This detects whether pairs of objects intersect.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
3. Small feature detection - small edge length, small face area and sliver face detection.
4. Mis-aligned entities detection - detects pairs of faces from objects that can be aligned to
remove object intersections. This improves the probability of mesh success.
5. Mesh failure error display. This is available for single object, object pairs and last simulation
run (all objects in a model). Errors reported by the meshing module are reported to the user.
Errors of type 3 and 4 should be resolved before you invoke the meshing for the model.
Related Topics
Healing
Healing Options
1. Select the object you want to analyze and click Modeler> Model Analysis>Analyze
Objects.
This displays the Analysis Options dialog, with the Analysis Options tab selected. Selecting
Modeler>Model Analysis>Heal also displays this dialog. If, during Modeler>Import... you
select Heal Imported Objects and Manual on the file browser dialog, you also see this dialog.
This enables the Check Level menu. The setting can be Basic, Strict, or Comprehensive.
See Modeler Validation Settings for more explanation.
3. If desired, click the check boxes to enable and set the Detect Feature settings:
l Detect Holes, and specify the Maximum Radius.
l Detect Chamfers, and specify the Maximum Width.
l Detect Blends, and specify the Maximum Radius.
4. If desired set the Detect Small Entities features and tolerance values.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
5. Click the Properties tab to see a listing of the geometric properties of the selected object.
6. Clicking OK on this dialog displays the Model Analysis dialog which contains the results of
the analysis.
Related Topics
Heal
Related Topics
Heal
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The Model Analysis dialog box appears. (This dialog box also appears automatically after
clicking OK in the Analysis Options dialog box.)
3. Select the Auto zoom to selection check box to automatically zoom to the item selected
on the Objects tab.
4. Make the desired changes on each tab in the Model Analysis dialog box.
l Objects tab
l Objects Misalignment tab
l Surface Mesh (Single/Pairs) tab
l Last Simulation Mesh tab
5. Click Close to close the Model Analysis dialog box.
Related Topics
Heal
Analysis Options
Objects Tab
All results relating to model analysis of specific objects are presented under the Objects tab.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note Auto Zoom to Selection -- if this option is checked, the modeler automatically
zooms to the item selected in the Model Analysis dialog box.
3. Select the Delete button if you want to remove a selected face or edge entity.
4. Select the Perform button to list the commands that you can execute on the selected
objects in the Results table.
l Heal Objects - repairs invalid geometry entities for the selected objects within the
specified tolerance settings. The Healing Analysis dialog will appear.
l Analyze Objects - evaluates the object status. Selecting this displays the Analysis
Options dialog.
l Analyze Surface Mesh - invokes a mesh for each selected object and reports analysis
results under the Surface Mesh (Single/Pairs) tab. Selecting this option displays a
dialog with radio buttons to select.
o Perform Object Pairs Analysis - evaluates mesh for all combinations of the selected
objects.
o Ignore objects separated by greater than a specified value - object pairs are disregarded
from analysis if their separation is greater than the specified value.
o Click OK to perform the analysis with the selected options.
l Analyze Interobject Misalignment - determines any misalignments between two
selected objects in the results table. The results are reported under the Objects
Misalignment tab.
l Display Healing Log -- checking this causes the Model Analysis dialog to display a
healing log which includes information about operations performed on an object during the
healing process.
Related Topics
Analyze Objects
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Healing
The table in this panel displays results of an Interobject Misalignment analysis. It contains a list of
Alignable Faces, described in a list of Object Sets, and corresponding Misaligned Faces.
All misaligned face pairs corresponding to the analyzed objects are listed in the table.
l Align Faces - select a face pair in the table and click the Align Faces button to align
selected faces.
l Clear All Analysis Data - this button removes all information from the tables.
l Display Log for Object Set - checking this causes the Model Analysis dialog to display a
healing log which includes information about operations performed on an object set during
the healing process.
l Auto Zoom to Selection -- if this option is checked, the modeler automatically zooms to
the item selected in the table.
After validation check is performed, the pairs of objects that intersect are chosen for analysis. Use
the analysis results to find whether objects have faces that can be aligned.
1. From the Model Analysis dialog choose perform/Analyze Interobject misalignment. Or you
can run Modeler>Model Analysis>Analyze Interobject Misalignment.
If the analysis finds object pairs that can be aligned, they will be displayed in the Objects
Misalignment tab.
2. You can select individual or multiple rows and perform Align Faces. In some cases, face
alignment will fail if the topology of the body changes by a large factor after alignment.
3. Identify individual bodies and body pairs that fail to mesh.
4. Perform Mesh analysis on individual objects and object pairs.
5. Review the reports and fix the errors.
Related Topics
Analyze Objects
Healing
Healing Options
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note Auto Zoom to Selection -- if this option is checked, the modeler automatically
zooms to the object or object pair selected.
l Display Mesh Analysis log check box -checking this displays further details concerning
each error to be listed.
l Auto Zoom to Selection -- checking this causes the modeler to automatically zoom to
objects or faces corresponding to the error.
Related Topics
Analyze Objects
Healing
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The tables in this panel list model errors as viewed by the mesher. The left side table has columns
for Mesh Error Serial ID and Error Type.
l Mesh Error Serial ID - the 0 item is the body with which the subsequently listed entries are
associated.
l Error Type - this column gives the category of error that caused the mesh failure, for
example, Non-Manifold Edge, or Point Insertion Failure.
The display in the table on the right side of the Model Analysis dialog depends on your selections
from the left hand table.
l Type - whether the error applies to Bodies, Faces, or Triangles. If you select a particular
error type, the columns for Type, ID/Name and Description are filled in.
l ID/Name -- the object name or object ID for the error type.
l Description -- the first three rows are for Bodies, Faces, and mesh Triangles. Subsequent
rows, are of Error Entities By Body.Face.
The Mesh Error Description field describes error message describing the nature of the selected
Mesh Error Serial ID, the implications, and provides a recommended response.
l Hide All Other Objects - hides objects in the Modeler window not associated with the
selected Bodies, Faces, or Triangles.
l Auto Zoom to Selection - checking this causes the modeler to automatically zoom to
objects or faces corresponding to the selected Mesh Error Serial ID (on the left side table) or
the ID/Name (on the right side table).
Use of these selections let you more easily view and respond to the errors.
Related Topics
Analyze Objects
Healing
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The Set Material Override tab includes text note and a check box to Allow metals to override
dielectrics. The purpose of this feature is to allow you to avoid doing explicit subtraction in the
modeler. One example application is a via that passes through many dielectric layers--with the
option turned on, the via does not have to be subtracted from the layers.
The Set Material Override option allows some intersections to be resolved automatically in the
mesh. If metal intersects dialectric, the metal overrides the dialectric in the overlap region. (That is,
the metal object is subtracted from the dialectric.) If objects with the same material overlap, the
small object overrides the larger. (That is, the small object is subtracted from the larger.) All other
intersections are treated as errors. Normally, the modeler considers any intersection between 3D
objects to be an error.
In the meshing process, the dielectrics are locally overwritten by the metals in the intersecting
region. That is, the part of the dielectric that is inside the metal is removed, and if the dielectric is
completely inside, the whole object disappears.
This option applies frequency dependent lossy materials for the solver and post processor. The
materials are not modified in the design. Instead, the Djordjevic-Sarkar model is applied before the
material is passed to the solver or used for post processing.
This feature addresses cases where you only have simple constant material properties available,
but want to automatically apply a general-purpose frequency dependence to ensure causal
solutions when solving frequency sweeps. Automatic causal material calculations are not
performed under the following circumstances:
Otherwise, when enabled the Djordjevic-Sarkar model is applied to all constant lossy dielectrics.
These are defined as having a constant permittivity that is greater than one and a constant loss
tangent that is greater than zero. The inputs to the Djordjevic-Sarkar model are the material's
constant permittivity and loss tangent, plus the standard default values of measurement frequency
(1 GHz), DC conductivity (1e-12 S/m), and DC permittivity (none ). The outputs from the
Djordjevic-Sarkar model are the expressions for permittivity and conductivity. These expressions,
plus zero loss tangent, are used in place of the material's constant properties.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
When reading legacy designs (HFSS 12 and earlier), this feature is unchecked.
DC Extrapolation Tab
The DC Extrapolation tab option affects Interpolation Sweep setup. If you select Standard DC
Extrapolation, the software computes values automatically, and the tab for DC Extrapolation does
not appear on the Interpolating Sweep setup.
For Advanced DC Extrapolation, the Interpolating Sweep setup includes the DC Extrapolation tab,
so you can set a Minimum solved frequency.
The Design Settings dialog also contains check boxes to Save As Default.
Note Users must be careful: this setting changes the "ground rules" of the modeler, and may
have unexpected results.
Validations Tab
The Validation tab offers choices for Model validation and HFSS validations to control the extent
of validations performed, and therefore the time involved.
You also control the Entity check level as Strict, Basic, Warning Only, or None.
l Perform full validations with standard port validations. Standard validation does not check
for internal or floating ports.
l Perform full validations with extended port validations. The Extended validation checks to
see if a wave port has been applied to an internal face, or if a wave or lumped port does not
have solve inside geometry on either side.
l Perform minimal validations. This choice disables port validation options (neither is
performed), and skips boundary overlap validation.
The default is to Perform Full Validations. However you can set your own default choices by using
the Save as Default checkbox.
S Parameters Tab
The S Parameters tab offers choices for S parameter definition for post processing as
Generalized or Power. Power S parameters are calculated for the reporter, S parameter export,
and the Matrix display. Changing the setting between Generalized or Power updates reports and
exported data, but not the solve status.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
This applies to HFSS 3D Drive Modal/Terminal and HFSS 3D Layout. After a sweep (discrete,
interpolating and fast) simulation is successfully completed, you can choose to automatically save a
Touchstone file for the sweep’s S-parameter data into a folder. By default, this folder is named after
the project. The exported directories/files are not managed by ANSYS Electronics Desktop. That
is, you can rename the project, design, setup, etc. and previously exported directories/files will
NOT be renamed. For Optimetrics simulation, export is per solved variation. Touchstone files are
exported only when the simulation completes without error
The Export S Parameters tab lets you Set/View Export Preferences and specify whether to
Export Touchstone file after completing frequency sweep. Checking the export feature enables
you choose to override the default project path. You can save your preferences as the default.
Preference is per design type and per user. This means that the same user can have one set of
preferences for 3D layout design and another set for HFSS 3D design.
Clicking the Set/View Export Preferences button opens the SYZ Data Export Options dialog.
The SYZ Data Export Options dialog contains a range of choices for Output format, including
advanced options.
Checking Change output file format displays additional choices that lets you select Touchstone 1.0
or Touchstone 2.0, as well as additional Touchstone options. Unchecking conceals the output file
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
format choices.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Clicking the Advanced option button displays or hides the Advanced options.
Choosing Save As Default saves the selected options as your user preferences for automatic
Touchstone export and for subsequent launch of the SYZ Data Export options.
The top level export folder is named after the project file.
Within the top level export folder, a separate folder is created for each design that has exported
touchstone files.
In each design export folder, exported files are further organized based on the setup that is being
simulated. For non-Optimetrics simulation, the sub-folder is named after the solve setup and
followed by a “time-stamp” string2. For Optimetrics simulation, the sub-folder is named after the
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Touchstone files are exported into these sub-folders and an index file is created per sub-folder to
help users track the exported data. For non-Optimetrics export, files are named as <Sweep>_
DV<unique ID>.
The index.csv can be opened in Excel. Variation information is listed in row/column format for
readability.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Related Topics
Analyze Objects
Healing
Materials
DC Extrapolation options
The Set Material Override option allows some intersections to be resolved automatically in the
mesh. If metal intersects dialectric, the metal overrides the dialectric in the overlap region. (That is,
the metal object is subtracted from the dialectric.) If objects with the same material overlap, the
small object overrides the larger. (That is, the small object is subtracted from the larger.) All other
intersections are treated as errors. Normally, the modeler considers any intersection between 3D
objects to be an error.
In the meshing process, the dielectrics are locally overwritten by the metals in the intersecting
region. That is, the part of the dielectric that is inside the metal is removed, and if the dielectric is
completely inside, the whole object disappears.
The purpose of this feature is to allow you to avoid doing explicit subtraction in the modeler. One
example application is a via that passes through many dielectric layers--with the option turned on,
the via does not have to be subtracted from the layers.
You can use the Material Thresholds tab to set the thresholds for:
You can use the Lossy Dielectrics tab to automatically use casual materials. The options causes
objects with constant material permittivity greater than one and dielectric loss tangent greater than
zero to be treated as frequency dependent. Their actual permittivity and conductivity will be
determined by the Djordjevic-Sarkar algorithm, and the loss tangent will be zero.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Automatic casual material calculations are not performed under the following circumstances:
The Design Settings dialog also contains check boxes on each tab to Save As Default.
Note Users must be careful: these settings change the "ground rules" of the modeler, and may
have unexpected results.
Validations Tab
The Validation tab offers choices for Model validation and HFSS-IE validations to control the
extent of validations performed, and therefore the time involved.
You also control the Entity check level as Strict, Basic, Warning Only, or None.
The default is to Perform Full Validations. However you can set your own default choices by using
the Save as Default checkbox.
Related Topics
Analyze Objects
Healing
Materials
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
This dialog includes a table of the objects in the design. The first column lists the object name,
then the material, then a check box to show whether that object has temperature dependent
features, and then columns for Temperature and unit. If the solvers are involved through the
Workbench, the dialog includes the Enable feedback check box.
This makes the table objects selectable. The headers for the Object Name column and the
Material column include sort direction arrows. You can invert the sort direction in each column
by clicking the header. If the list is longer than the display, you can use a scroll bar on the right of
the table.
With the dialog enabled, you can use the Select by name field. Enter the name of the object
you want and click Select.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
3. To set the temperature for a selected object or objects, type the value or an existing variable
name in the text field.
4. Select the units from the drop down menu.
5. Click Set to apply the value to the selected objects, or click Set Default to make the
specified values the default.
If you click Set Default, the row for the selected objects display the Temperature value and
units.
6. To edit the material for an object, when the dialog is enabled, you can click on the material for
the row, and display a drop down menu listing the material and an Edit... button.
7. The Enable Feedback check box appears when used with the ANSYS Workbench.
If checked, you can perform thermal static and transient analysis based on a high frequency
solution. The solver can then use per mesh element temperatures for the object’s material
properties, as provided by other ANSYS thermal systems. If enable feedback is checked but
feedback is not available, the temperature specified in the dialog is used for the temperature
dependent properties in the design.
Note When working through the Workbench, the right-click menu for Analysis and Analysis
setup includes the Revert to Initial Temperature command. Selecting this command
invalidates the current solution.
Related Topics
Materials
l Simplify
l Heal
l Stitch Sheets
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Align Faces
l Remove Faces
l Remove Edges
l Perform Explicit Subtractions
Related Topics
Healing
Model Analysis
Simplify Command
Use the Modeler>Model Preparation>Simplify command to converts a complex MCAD object
into simpler primitives which are easy to mesh and solve. The operation can be applied on any
selected object and not just imported objects. You can specify the type of simplification as
Bounding Box, Primitive Fit, or Polygon Fit.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The History tree shows the Simplify command as being applied to the object.
Any parameters you specify in the dialog you can also edit in the Properties dialog for the History
tree Simplify command to get a different simplification. The properties display in the docked
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
properties includes only the parameters that are used by your currently selected Simplify
command type. None of the parameters of simplify operation accept variables.
1. Select an object.
This opens the Simplify Bodies dialog. A drop down menu lets you select the degree of
simplification, from Bounding Box, Primitive Fit, or Polygon Fit.
If you select Bounding Box as the Simplify Type, there are no additional parameters. The object
is replaced by its exact bounding box as e computed in operation’s coordinate system. You can
change the operation CS to get a bounding box in an appropriate orientation.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
For Primitive Fit simplification the object is replaced by a set of primitives shapes like Prism,
Cylinder, Cone and so forth. This simplification type typically produces the simplest geometry
with highest number of primitives. Primitive fit has the following options: Cleanup and Allow
Splitting, whether to Separate Bodies and Purge History, and if so, whether to clone original
objects before the operation.
l Whether to Cleanup - This option allows you to clean the model before performing
simplification. Cleanup include removing small features like rounds, fillets, chamfers in a
solid body. It is recommended to set this option to get more simplified result.
l Whether to Allow Splitting - This option controls if object should be split during during
simplification. If this option is selected, complex object will first split into multiple pieces and
each piece will be further simplified. Setting this option will result in an object which will
match more closely with original object. It is recommended to set this option.
l See the Separate Bodies and Purge History description below.
For Polygon Fit simplification, the object is replaced by set of polygon swept along normal and
other primitives like box and cylinder. This simplification type typically produces geometry
closest to original object with highest number of primitives. If you select Polygon Fit as the
Simplify Type, the parameters are Clean Up, Allow Splitting, Extrusion Axis, Interior Points on
Arc, andLength Threshold, whether to Separate Bodies and Purge History, and if so, whether
to clone original objects before the operation. See the Separate Bodies and Purge History
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
description below.
l Whether to Cleanup - This option allows you to clean the model before performing
simplification. Cleanup include removing small features like rounds, fillets, chamfers in a
solid body. It is recommended to set this option to get more simplified result.
l Whether to Allow Splitting - This option controls if object should be split during during
simplification. If this option is selected, complex object will first split into multiple pieces and
each piece will be further simplified. Setting this option will result in an object which will
match more closely with original object. It is recommended to set this option.
l Extrusion Axis, whether Auto selected, or X, Y, or Z. - This option specified a normal plane
in which polygon profile is looked for. The default is Auto which allows an algorithm to
determine best possible plane for polygon profile. You can specify a axis to help the
algorithm, particularly when there is a draft or chamfer in the extrusion direction. The
polygon profile is then swept in the extrusion direction.
l Interior Points on Arc - This specifies number of interior points created when a curve on
the polygon profile is represented by line segments. The range is 1 to 100 with default
being 3. Total number of points used to represent a curve is 5 when number of interior
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
points is 3. This number specifies the maximum number of interior points to add. The
number of points added could be less if the Length Threshold is already met.
l Length Threshold % - This specifies the length of edge as percentage of maximum length
of an edge in the profile. It is specified as percentage of maximum edge length. If length of
edge is more than the specified threshold, more interior points are added until the number
of “Interior Points on Arc” is met.
l Whether to Separate Bodies and Purge History, and if so, whether to clone original
objects before the operation. See the Separate Bodies and Purge History description
below.
Separate Bodies and Purge History Option for Primitive Fit or Polygon Fit
Separate bodies and purge history option is available when simplification type is Primitive fit or
Polygon fit.
With this option selected, the input body is simplified into multiple primitives (or polygon shapes)
and a new part is created for each simplified shape. This option also purges the history of original
part and it is not possible Edit Properties of the Simplify operation. You can choose to clone original
object before simplification to retain history of original part.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
By default, the current working CS is used as the Simplify operation CS, but you can also change
operation CS through the Simplify command property window or Property dialog.
Related Topics
Healing
Heal
The Heal command provides a way to correct geometric violations and to remove specific kinds of
small features. When models are imported, two types of errors can occur - geometry errors and
topology errors. Geometry errors are errors in definition of the underlying geometry while topology
errors are errors in how the underlying components like faces, edges and vertices are connected.
ANSYS Electromagnetics recommends that these be fixed before you invoke mesh generation.
Imported objects which have only one operation on the history tree, can be healed. (Use the Purge
History command to remove unwanted history operations before using Heal.)
Note If you need to save the object history, save a separate copy for that purpose before you
heal the object.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Selecting these formats enables a check box at the bottom of this window, "Validation and
Healing Options."
See this table for details. The Quick option allows you to switch off healing to speed up the
import process.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The above actions are performed on the selected objects. If you choose objects for healing which
have not been analyzed, analysis is performed to determine its state (that is, whether it has invalid
entities, small entities, and so forth). Invalid objects have all the above steps performed. Advanced
healing is not performed on objects that do not require it.
While working on analyzing complex bodies, it is sometimes useful to examine faces, edges and
vertices. In particular it is useful to find the connected faces for a face or edge or vertex, connected
edges for a face/edge/vertex and connected vertices for a face/edge/vertex. The additional
selection modes are available under Edit >Selection Mode .
Related Topics
Align Faces
Remove Faces
Remove Edges
Healing Options
The Import File dialog contains shows different Validation and Healing options for the seven
formats listed here. The Quick option is allows you to import these formats without healing.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Non-manifold objects, in simple terms, are non-physical objects or objects that cannot be
manufactured. For example, objects that intersect themselves (like the symbol for infinity in 2d) are
clearly non-manifold. In addition objects that touch themselves may be non-manifold such as when
a 2D object touches itself at a vertex, or a 3D object touches itself at a point or edge. These cases
are shown in the figure below.
Another type of non-manifold object has mixed dimensionality. For example, a pair of 2D objects
connected by a 1D line segment, or a pair of 3D objects connected by a 2D sheet object. These
cases are illustrated below.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The criteria for manufacturability is a simple manifestation of a complex mathematical concept that
must be adhered to in the solid modeling system. When creating geometry, either directly, or
through boolean operations, you should always consider whether or not the resulting operation will
result in an object that could not be manufactured. If this is the case, then the object will cause an
error in the modeler or in the meshing system.
The non-manifold edge is now removed. You may also remove or add a small portion of the
model.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Related Topics
Healing
Healing Options
The Healing Options let you control how healing proceeds with respect to a variety of features
and issues.
1. Click Modeler>Model Preparation>Heal to open the Healing Options dialog. You can
also open the Healing Options dialog from the Model Analysis dialog via the Objects tab
drop down menu.
l Healing Options
l Feature Removal Options
l Properties, which lists the geometric properties of the currently selected object.
2. Select the Healing Options tab on the Healing Options dialog to specify the following:
l Heal Type as: Auto Heal (default), Manual Heal, or No Heal.
This enables a field for the Stitch Tolerance value, and a check box to Stop After First
Error.
This enables fields for Simplification Tolerance and Maximum Generated Radius
values.
You can also select radio buttons to Simplify Curves, Surfaces, or Both.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Sliver faces have a maximum distance among the long edges that is smaller than the
specified tolerance and have at least one short edge and at most three long edges. A short
edge has a length less than the specified tolerance. A long edge has a length greater than
the specified tolerance. You can give the tolerance as a absolute value or a factor of the
bounding box containing the face.
You can Control Object Properties Change according to the following settings:
Related Topics
Healing
Stitch Sheets
Stitch Sheets
Use the Modeler>Model Preparation>Stitch Sheets command to stitch selected sheets.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
This enables the Stitch Sheets command on the Modeler>Model Preparation submenu.
This displays a Stitch dialog with a Maximum Stitch Tolerance field. The default value (auto)
comes from the Healing dialog Options tab with Manual Healing selected. You may edit the
value in the Stitch dialog or in the Healing Options.
3. Click OK.
This closes the dialog and attempts to perform stitching on the selected sheets. If the sheets are
separated beyond the stitch tolerance, stitching is not performed and a warning is issued.
Related Topics
Healing
Related Topics
Analyze Objects
Healing
If you find object-pair intersections that healing does not fix, or that can be fixed (by alignment), you
can correct the problem by one of the following methods.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Related Topics
Align Faces
Analyze Objects
Healing
edges. You can also use the toolbar icon when you have made an appropriate edge selection
Related Topics
Analyze Objects
Healing
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Related Topics
Healing
The modeler includes example C++ source and header files that can be used to generate DLLs.
The files are located in the UserDefinedPrimitives/Examples subdirectory under the directory.
As an example, create the primitive myUDP.dll using Microsoft Visual C++ Developer Studio:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note The header files include information on the methods that are available for use in your
source code. They must be included when you compile the DLL.
7. Open myUDP.dsw using Microsoft Visual C++ Developer Studio, and edit the source code
to create your desired primitive. You may also add additional headers and source files as
appropriate.
The UDP dll contains a data structure called UDPPrimitiveTypeInfo. This contains information
about the udp, its purpose, company/author who created it, date created and the version
number. When you select a primitive from your library, you see the Create Primitive dialog
with a Parameters tab for setting the parameters, and an Info tab with the information from this
data structure.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note On UNIX, you may use the same example directory structure, source, and header
files to build and compile a shared library using C++. The resulting shared library will
have a .so extension for Solaris and a .sl extension for HP-UX, and needs to be
placed in the same /userlib/UserDefinedPrimitives directory.
As with the Windows DLL, the compiled library will work only on the operating
system on which it was built.
Related Topics
Drawing a Segmented Helix with Rectangular Cross Section Using a User Defined Primitive
See the HFSSScripting Guide for information about Creating User Defined Primitives and User
Defined Models in Python Scripts.
To create a UDP, see Creating a User Defined Primitive for requirements and the procedure for
building a proper DLL.
In order to share UDPs between users, an existing DLL may be copied into the userlib>User
Defined Primitives subdirectory which can be given the paths specified in Tools>General
OptionsProject Options tab. Placing an appropriately constructed DLL in this subdirectory and
executing Draw>User Defined Primitives>Update Menu adds a new menu item in the
Draw>User Defined Primitives menu to allow access to the UDP.
Related Topics
Drawing a Segmented Helix with Rectangular Cross Section Using a User Defined Primitive
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
See the HFSSScripting Guide for information about Creating User Defined Primitives and User
Defined Models in Python Scripts.
l UDM includes part attributes (like name, color etc) and material assignment
l UDM can also have external coordinate systems and corresponding planes
l UDM parts can be parameterized and manipulated in ANSYS EM modeler just like any
other part
UDM Properties
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
See the HFSSScripting Guide for information about Creating User Defined Primitives and User
Defined Models in Python Scripts.
In contrast to UDP:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
UDM Properties have four tabs - Definitions, Parameters, Options and Info
Related Topics
UDM Properties
See the HFSSScripting Guide for information about Creating User Defined Primitives and User
Defined Models in Python Scripts.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Related Topics
UDM Properties
See the HFSSScripting Guide for information about Creating User Defined Primitives and User
Defined Models in Python Scripts.
UDM Properties
UDM Properties have four tabs - Definitions, Parameters, Options and Info.
l UDM name
l Coordinate system used to position UDM
l May have external reference to file
Option tab:
UDM Parameters
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Related Topics
See the HFSSScripting Guide for information about Creating User Defined Primitives and User
Defined Models in Python Scripts.
UDM Parameters
UDM geometry in HFSS invoked through Workbench is not 'dynamic updated' upon
parameter edits.
l In such cases, UDM shows a lightning bolt icon by the model name when parameters are
edited.
l You must run the Send Parameters and Generate command to synchronize parameters
with geometry
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Related Topics
UDM Properties
l Operations will be part of history tree and retained during model refresh
Related Topics
UDM Properties
UDM Parameters
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Any Design/project variables associated with model are brought in as UDM parameters.
Geometry computation for UDM (and also UDP) can be specified in the Modeler options as either
done on.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Desktop side:
Related Topics
UDM Properties
SpaceClaim Integration
ANSYS Electronics Desktop can import geometry from a SpaceClaim document using
SpaceClaim Link feature. SpaceClaim link can be used only if SpaceClaim Direct Modeler
(SCDM) that is part of ANSYS installation of same version as ANSYS Electronics Desktop, or an
installation of standalone SpaceClaim modeler exists on the same machine. SpaceClaim link is
only available on Windows.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l For a SpaceClaim link already in the design, you can launch a SpaceClaim session from
ANSYS Electronics Desktop and open the corresponding SpaceClaim document.
l A SpaceClaim document referenced by a SpaceClaim link UDM is included in project
archive automatically.
l You can break a connection to SpaceClaim. In this case, all UDM parts are then converted
to imported objects. This feature lets you use SpaceClaim just for its healing capacity.
l AEDT can import SpaceClaim documents having nanometer micrometer, and mil units.
l SpaceClaim link in AEDT will prefer the SpaceClaim direct modeler from workbench
installation over a standalone installation.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The imported geometry is shown in the History tree as a User Defined Model (UDM).
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l The General tab shows general information such as SpaceClaim document path.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
If one or more SpaceClaim sessions are running on the machine, SpaceClaim link can connect to
them to import geometry directly.
When you click Connect to Active Session , the Active SpaceClaim Sessions dialog box
appears. It shows all active SpaceClaim sessions, with their document name and status.
You can select a session with Not Connected status and click Connect to import geometry from
that session. Once connected, that session is used to regenerate the corresponding SpaceClaim
link UDM.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The Context menu of SpaceClaim link UDM shown in the History tree has an entry to Launch
SpaceClaim and to Break Connection.
l If no SpaceClaim session is open, a new SpaceClaim session will be opened and the
document corresponding to SpaceClaim link will be opened in it.
l If any SpaceClaim session is already open, the document will be opened in that session.
All refresh/regenerates of the SpaceClaim link use the session that is opened.
If you want to share a project with SpaceClaim link with other users, you need to archive the
project. Sharing the project file only is not sufficient because the SpaceClaim document is not
included in the project.
l SpaceClaim documents corresponding to the link will be included in the project archive
automatically.
l If any SpaceClaim document refers to other documents (e.g. an assembly document might
refer to individual part documents), these indirectly referenced documents will also be
included in ANSYS Electronics Desktop project archive.
l Once archive is unarchived, referenced SpaceClaim documents will be put in restored_
files subfolder in the project directory. All definition paths are updated to refer to the
reference files in restored_files folder.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
When you launch a SpaceClaim session from ANSYS Electronics Desktop or connect to a live
session, whenever the project is saved, the SpaceClaim document corresponding to the
SpaceClaim link UDM is automatically saved if any unsaved changes exist in that document.
If unsaved changes in SpaceClaim were not imported into ANSYS Electronics Desktop before
saving, they will be imported when the SpaceClaim link UDM is regenerated next time.
The geometry in ANSYS Electronics Desktop and SpaceClaim must always be in sync.
A Break Connection command is available in the Context menu of the SpaceClaim link UDM.
l Break Connection converts the UDM bodies to imported objects. The UDM will be
removed.
l Any operation that you had performed on UDM bodies is preserved.
l Parameters of the UDM are lost. You lose the ability to create parametric variations with
SpaceClaim parameters. Note that parameters for subsequent history operations on
SpaceClaim parts will be retained.
l Attributes such as rendering attributes, materials, etc., are preserved.
Related Topics
3D Component Library
The 3D Modeler lets you access predefined 3D component libraries and to create 3D Components
with:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The ability to create components from models lets you easily share and reuse components. You
can add components to a library and share components with other users. Once you insert a
component into the target design, you can directly manipulate whole components using Arrange
operations such as Move, Rotate and Mirror or Duplicate operations like Duplicate Along
Line, Duplicate Around Axis and Duplicate Mirror.
Antenna Library
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Johanson 3D Components
Additional Show, Show Only, Hide and Fit features, helpful in working with 3D components are
described here:
Note: Starting with R17, the Electronics Desktop controls 3D Component usage based on the
release in which a component was created. 3D Components created in newer releases of the
desktop can not be opened or inserted in older releases. Similarly, projects containing components
created in newer releases can not be opened in older releases.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The tabs let you view the component features organized according to geometry, design data, and
settings:
l Info tab
l Model tab
l Boundaries tab
l Excitations tab
l Hybrid Regions tab
l Mesh Operations tab
l Coordinate Systems tab
l Parameters tab
l Encryption tab
l Image tab
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
You can view the various tabs and select which features to Include or Exclude in creating the
component. You can use the check boxes in the Include column for this purpose. You can also use
the text field. Type a feature Name which you can then use the command buttons to Include or
Exclude.
Object selection for Include or Exclude impacts selection in other tabs. For example, if you
exclude an object from the component creation, the design data, parameters, and coordinate
systems corresponding to that object are also excluded.
The features listed for each tab include columns for the Name, check boxes for whether to include,
and properties. You can click on the column headers to sort by Name, Model, or other feature listed
for each tab. Click the column header to selects the column to sort. Click again to invert the column.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Once you have made the Include and Exclude settings, and have specified the Image and Info you
click OK to Save 3D Component File. When you click OK, the component is validated for
everything that is included in the component. For example, you cannot include boundaries if the
object on which the boundaries have been created is not included. After validation, you see a dialog
for saving the component to a location.
The Model tab lists all of objects selected before you invoked Create 3D Component. These
correspond to the selected objects listed in the history tree.
l Use the check boxes or text field to Include or Exclude objects for the component.
l Columns Material and Type are read only.
l For Encrypted components, you can also chose which objects to hide.
l The hide column is only enabled if you have the Hide Contained option selected on
Encryption tab.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Use the check boxes or text field to Include or Exclude boundaries for the component.
l Columns Type and Description are read only.
l Use the check box to Include or Exclude excitations in the component. You can also use the
edit box and Include/Exclude buttons to filter excitations.
l Columns for Type and Description are read only.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
If you have include Hybrid Regions for the model they are listed in the Hybrid Regions tab. You
can use the Include check box to include them in the created model.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The list is populated with all the mesh operations on selected objects.
l Use the check box to Include or Exclude mesh operations. You can also use the edit box and
Include/Exclude buttons to filter mesh operations.
l Columns for Type and Description are read only
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The list is populated with all the Coordinate Systems on selected objects. By default, only the
Coordinate Systems used to define the object orientations are included. You can include
Coordinate Systems created on specific model parts.
l Use the check box to Include or Exclude coordinate systems. You can also use the text field
and Include/Exclude buttons. Global CS cannot be included in the component.
l You can select any of the CS as a component reference.
l By default, the current working CS is the component reference CS.
l Reference CS must be included in the model (except for global).
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The Reference system that you specify affects the orientation of the component upon insertion.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Use the check box to Include or Exclude variables. You can also use the text field and
Include/Exclude buttons.
l You can fill in the description field, if desired.
If you create non-geometry variables materials or boundaries, these are listed separately:
If you exclude any geometry, boundary or material associated with a variable, the associated
variable is automatically excluded on the Parameters tab.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The Encryption tab includes a check box for you to define a user access password to use the
component.
Encryption is a common technique for encoding information in a manner that is very difficult for
unauthorized users to decode.When this option is enabled for 3D Components, the contents of the
component file are encrypted to protect them from external viewing or editing.
l 3D Components use the Advanced Encryption Standard (AES) with a 256-bit key and
password-based key derivation.
l If the encrypted component is created with an Internal Key, it can be used without additional
authorization.
l If the encrypted component is created with a User Password, that password must be
entered when the component is used in a design.
l It is not possible to edit the definition of an encrypted component within the Electronics
Desktop unless you specify "All Component Edit" with a User Password when you define
the component.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l If the Show All Contents option is selected, the geometry and other contents will be shown
when the component is used. Geometry export and links will operate as for general
geometry.
l The Hide Selected Contents option can be used to further protect access to an encrypted
component’s details. When this option is selected, hidden contents will not appear in the
Electronics Desktop user interface.
o All geometry will be hidden, except for objects that the user specifies as visible during
component creation.
o Hidden geometry will not be visible in the model window or included in the history tree.
o Geometry export and links will not be allowed.
o Materials, boundaries, and other setup data will also be hidden, with limited exceptions
such as excitation settings that must be accessed in order to control the simulation and
post processing of the design.
o For components with hidden contents, all geometry will be excluded from field
calculations and from plots of fields and meshes. Plots in surrounding volumes will
extend to, and can include, the outer surfaces of the component, but not the
containing volume.
o Note: Such plots may indirectly reveal component content by providing a view of the
surfaces where the plots terminate. To prevent such exposure, include additional
modeled objects that surround the hidden contents of the component and have material
of the surrounding material environment (e.g. air, vacuum).
l When using the Hide Selected Contents option, the names of objects, materials,
boundaries, and other setup data may appear in progress updates, messages, and other
informational text. The Replace Object and Material Names option can be used to
automatically convert object and material names to generic names in the exported
component. Other sensitive names should be changed before exporting.
l When a project contains one or more encrypted 3D Components, the project file is
encrypted in order to protect its contents. This encryption uses an internal key, so that you
can open the project file without entering a password.
Note that there are some additional considerations with respect to projects using encrypted
components. The component itself will always be stored in encrypted form. When an HFSS or
HFSS-IE design contains an encrypted component with hidden contents, it will also protect other
project files containing data that could be used to extract component information. As of the R18
release, other design types, such as Maxwell, Q3D, or Icepak, do not support this additional
security.
Checking the Encrypt File box enables the Set Password button, and selection buttons for
whether the password is to Show All Contents, or to Hide Selected Contents. You can also specify
a security message. If you provide a message, it is displayed at component insertion, and when the
project containing the component is opened.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Clicking the Set Password button opens a dialog with fields for Password, and Confirm. This
dialog also opens automatically when you check Encrypt File.
If you specify and OK the fields, the password is set. If you cancel, you will be prompted to provide a
password before you save the 3D component.
Selecting with Internal Key disables the Password and Confirm fields. If you select Internal Key,
you don’t have specify the password when you use the component.
If you change Allow Component Edit to With User Password, you also specify a Password and
confirmation. The password for Allow Component Edit does not have to be the same as the
password for Allow Component Use. If either Confirm entry does not match the corresponding
password, you will be prompted to correct the situation.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
If you then attempt to edit the definition of an encrypted component for which editing is allowed, you
will be prompted to enter the Password. You will have three tries to enter the correct password.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
You have a choice regarding whether to Show All Contents or whether to Hide Selected Contents.
If you select Hide Selected Contents, you then specify whether to Display the component outline as
a Bounding Box or None.
You can also control the visibility per model object by using the Hide check boxes in the Model tab.
You can specify a Security Message in the text field. The text you provide displays when you insert
a component and when you open a project containing the component.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
When you insert an encrypted component, you are presented with an Authentication dialog in
which you enter a password. A user gets three attempts to enter the correct password.
After authentication, the component is inserted for use. If you have specified a security message,
that is displayed.
If you choose to edit the definition for the inserted component, you will be prompted to enter the
Edit password.
If you decide to open an encrypted but editable 3D Component file using File>Open, you are
required to enter both the use password (unless encrypted with an internal key) , and the edit
password.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The Image tab shows the preview image for the component, based on the reference Coordinate
System. The image also responds when you Include or Exclude objects from the Model tab.
l You can right-click for a popup menu to change the view of the preview image.
l Changing the preview orientation does not affect the modeler window view.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
If you use the Encryption tab and/or Model tab settings to hide/show the model or specified model
objects, the Image tab responds.
If you use the Encryption tab to display only an object outline, the Image tab responds.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
On the Info tab you can view and edit component information, as well as add notes. The Name in
the first field is used when the component is inserted into a design.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
You can also included a .bmp format image file to display in the upper right area of the 3D modeler
whenever the component is used. The image file typically contains a company logo. Click Browse
to open a window to navigate your file system select the image.
The image cannot be removed from the modeler window while the component is used.
When you OK the Component File dialog, an Export File dialog displays. By default the Save in
field shows the model source directory. Click PersonalLib or UserLib to display a 3D
Components directory.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The default File name is the Component name specified in the Info tab.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
From the Component Libraries window, you can navigate the directory of installed components,
as well as any in your Personal Library. The Component Libraries window lists all the 3D
components available in syslib, UserLib and PersonalLib. Is adds a folder corresponding to a
library only if there are any components for active design under that library. There are also
additional optional folders for managing Favorites and Most Recently Used components.
Component Libraries window contents, including Most Recently Used and Favorites correspond
to active design. When context is switched between different designs, Component Libraries
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
You can control whether to show the Favorites and Most Recently Used folders from the
Tools>Options command dialog, on the General>Component Libraries page.
Right-click on a component to view the Add to Favorites command to include frequently used
components to the Favorites folder. Once a model is included in the Favorites folder, you can also
right clock to Remove from Favorites.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
When you have added a component to a design, it also appears in the Most Recently Used folder.
You can also right click on model there to view the Add to Favorites and Place Component
commands.
You can select any component from the library, and drag and drop to insert it in the design. If you
insert a component by the drag and drop method, the component is immediately inserted, skipping
the Insert Component dialog. The component is inserted with default component parameter
values and is placed in current active coordinate system.
You can also select Place Component from the right click menu or double-click on any model in
the component libraries to view the Insert 3D Component Instance dialog opened to the
Parameters tab. Using the Place Component menu command allows you to review component
parameter values, change target coordinate system, and so forth, using the Insert Component
dialog. You can also view the Image and Info tabs.
3D Component files are organized under three libraries, namely syslib, UserLib and PersonalLib.
3D component files must be under folder 3DComponents in library location. It is recommended that
files are further organized by design name under 3DComponents folder. For example, component
files for HFSS should be organized under 3DComponents/HFSS as done for syslib. The 3D
Component Libraries window and also Draw/3D Component Library/ menu look for components
under folder corresponding to active design type and it ignores component files under folder
corresponding another design type. For example, Maxwell 3D will ignore component files under
HFSS subfolder. Any component files that are directly under 3DComponents will be visible in all
design types.
Related Topics
Show, Show Only, Hide and Fit features, helpful in working with 3D components are described
here:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
From the Component Libraries window, you can navigate the directory of installed components, as
well as any in your Personal Library. The Hierarchical tree display includes Favorites and Most
Recently Used branches.
You can select any component from the library, and drag and drop to insert it in the design. Double-
click on any model in the component libraries to view the Insert 3D Component Instance dialog
opened to the Parameters tab. You can also view the Image and Info tabs, and select the target
coordinate system.
Selecting Browse 3D Components lets you navigate directories via a browser window.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
If you have previously inserted a 3D Component, the Insert Instance command is enabled on the
menu. You can use this command to select from 3D Models in the design to easily insert another
instance.
You can also click Draw>3D Component Library to access the Browse and Insert Instance
menus Antennas,Rectangular Waveguides, and PersonalLib to select a component to insert
into a design.
A target coordinate system provides a location for a component. For example, a design includes
two additional coordinate systems:
Selection of a coordinate system in the History tree displays a potential location for inserting a
component.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
1. Right-click on the 3D Component icon in the Project tree to open shortcut menu. You can
select Browse to use a browser window navigate the file system to the component.
Selecting a 3D component file causes a display of the component image and the File
name.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
If you have previously inserted a component into a Project, the shortcut menu for the 3D
Component displays that component so that you can easily insert another instance of the
same component.
You see the Insert 3D Component dialog opened on the Parameters tab.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Tabs let you view the Parameters, Image, and Info. You can edit parameter values, and
assign variables or expressions for parameters
2. Use the menu to select the Target Coordinate System if any have been defined in addition to
the Global coordinate system. The target coordinate system that you select is highlighted in
the modeler window.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
3. When you click OK the component is placed at the coordinate system you selected.
4. If the component has a logo defined, the image is always displayed in the upper right of the
modeler window.
5. If you have used Browse, select a component and click the Open button. If you use the Insert
Instance menu, select the component name.
If the component has been encrypted, you must provide a password. If you insert another
instance of the same component, you do not need to enter the password again for that
component.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
You have three tries to enter the correct password. Upon successfully entering the password,
the Insert 3D Component dialog opens with the Encryption tab displayed.
Related Topics
Show, Show Only, Hide and Fit features, helpful in working with 3D components are described
here:
Selecting a 3D component in the Project tree displays docked properties with tabs for General,
Materials and Component data.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
If you select a component in the Project window, then right-click and select Edit>Properties, you
can view the Properties window. If you choose the Materials tab, you can then select any listed
material and the parts of the component made of that material are highlighted in the Modeler
window..
Selecting a 3D component in the History tree displays docked properties with tabs for General and
Parameters.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Selecting a 3D component object in the Modeler window displays docked properties with a tab for
Attributes.
Component materials do not appear in the Project Tree Definitions list. If you select the icon for an
inserted component, the Properties window contains a Materials tab that shows the Materials
defined for the selected component.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Selecting these inserted components populates the Properties window which has tabs that display
the instance attributes.
Excitations included in the 3D Components appear in the Project tree. This gives you the ability to
edit Post Processing settings, such as the deembed distance, renormalization, and power settings.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Boundaries defined inside the component do not appear in the project tree. However, boundary
properties can be when you select the component in the Project tree and view the Component
properties under the Component Data tab.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
However, you can use HFSS>Boundaries>Reprioritize to set the priorities of all boundaries
relative to non-component boundaries.
Related Topics
Show, Show Only, Hide and Fit features, helpful in working with 3D components are described
here:
To disable this grouping by instance, right click on an instance, and unselect Group Components by
Definition.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
This causes the display to show numbered instances listed without the icon for the primary
component.
l Component operations appear under that component folder towards the end.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Related Topics
Show, Show Only, Hide and Fit features, helpful in working with 3D components are described
here:
l Edit component parameters, if defined for that component. Editing the parameters of one
component instance affects only that instance. If a component includes non-Geometry
parameters, these are grouped separately on the Parameters tab.
l Edit excitations by suppressing their use by means of the Excitations tab in the Properties
window.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Checking Suppress in the Properties window removes the port on the selected instance from
the Excitations list on the Project tree. Unchecking Suppress activates that port for the model
and causes the port to appear in the Excitations list.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The Edit Definition command creates a new project named for the component. You can see the
project in the Project Manager window.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
You can then edit this new project. When you save the edited component, you see an Update 3D
Component dialog including radio buttons for whether you want to save the edited component as
a local instance, or to the original library.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
If you select Update local definition, any changes you make apply only to the local file. If you
choose Update definition file at: <path> to save the component to the definition file in your
library, you can Update 3D Component Definition for other component instances inserted in your
designs.
1. You can begin editing a 3D component definition from either the History tree or the Project
tree.
To begin from the History tree, you select the component,, and right-click to display the
shortcut menu and click Edit Definition.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
To begin from the Project window, select the 3D Components icon and right click to display
the short cut menu. Then select Definitions...
This displays the 3D Component Definitions window. You can select the component and
then click Edit Definition.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
2. For 3D Components that are not encrypted you can edit the definition. Software will
automatically create new project in the existing session. The Project will have one design of
same type as original design from which edit definition was initiated. You can now edit
design with component data as required without any restrictions. All the component details
are available in respective folders. Complete geometry history available in history tree,
material properties are added to project definition folder, boundaries, excitation etc go to
respective folders in project tree and component parameters become project or design
variables.
3. You can use File>Save to update the original component definition file. The Update 3D
Component dialog will come after File>Save.
The Update 3D component dialog is populated with all entities - objects, boundaries,
excitation etc. in the “component-edit” design. In addition, previous settings like reference
coordinate system, component name, owner etc. from Info tab, as well as encryption settings,
are preserved. You can also select whether to Update local definition (for local editing) or
Update definition file at: <path> to update the component library, which will affect other
instances when updated.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
This feature lets you edit the local definition without saving the component file to disk. All
instances of the component definition in the the assembly design are immediately updated.
Component instances from syslib could be edited.
In the 3D Component Definitions window, the Definition Status column shows when the
component has been locally edited.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
If you use File/Save As to save to a new component definition file, you also have the option to
Save As ANSYS Electronics Desktop file.
4. Once you have saved the updated component version, you can go back to the original
design and update all the instances using that component.
Note that update definition is not automatic even though component definition edit was
triggered from that design. Instead when an assembly design becomes active, it prompts you to
update the 3D component definition. You can then select to update the definition from the
prompt.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
You can also open the 3D definitions window to select a component, and view the Definition
Status column. If an update is available, you can select the component and click Update
Definition.
5. After the editing is done, you also select the model and then use the Create 3D
Component command.
The component data is loaded from component definition file. The Info tab version
automatically increments. Before saving, you have the option to Keep the project open for
edit/save, or Save definition and close project.
6. You can select Edit File Path to update the file path for component definition. This opens a
browser window that lets you navigate your file system and select a file path to be used for
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
You can also accomplish this by right-clicking on the 3D Component icon in the Project Tree
and selecting Definitions from the shortcut menu. This displays a dialog listing available
component definitions. The Definition status column lets you know if an undated definition is
available.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
You can also access the Antennas library using Draw>3D Component> Browse... to open the
Browse 3D Component dialog. You then click the SysLib button to display the libraries included
in your installation. You can Navigate HFSS/Antennas, and navigate the folders to select from
available components.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Once you have selected a component file, you can view the Image and Info for that component.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
You can click Open to display the Insert 3D Component dialog. You can also open the Insert 3D
Component dialog by double-clicking on a model in the Component Libraries window. You can
view the Parameters, Image, and Info tabs for that component. See Inserting a Component into a
Design.
1. From Windows Explorer, copy and save the component design file to your PersonalLib or
UserLib directory.
2. Do an update menu for 3D Components.
3. Open the component from the PersonalLib or UserLib directory and use edit mode for
making modifications.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
You can also access the Human Body Exteriors library using Draw>3D Component Library>
Browse... to open the Browse 3D Component dialog. you then click the SysLib button to display
the libraries included in your installation. You can select from the Human Body Exterior models,
and navigate the folders to select from available components.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Once you have selected a Component file, you can view the Image and Info for that component.
You can click Open to display the Insert 3D Component dialog. You can view the Image and Info
tabs for that component. Human Body Exteriors do not have parameters. You can also open the
Insert 3D Component dialog by double-clicking on a model in the Component Libraries
window. You can view the Image, and Info tabs for that component. See Inserting a Component
into a Design.
1. From Windows Explorer, copy and save the component design file to your PersonalLib or
UserLib directory.
2. Do an update menu for 3D Components.
3. Open the component from the PersonalLib or UserLib directory and use edit mode for
making modifications.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
You can also access the Johanson library using Draw>3D Component Library> Browse... to
open the Browse 3D Component dialog. You then click the SysLib button to display the libraries
included in your installation. You can select from the Johanson models, and navigate the folders to
select from available components.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Once you have selected a Component file, you can view the Image and Info for that component.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
You can click Open to display the Insert 3D Component dialog. You can view the Image and Info
tabs for that component. You can also open the Insert 3D Component dialog by double-clicking
on a model in the Component Libraries window. See Inserting a Component into a Design.
1. From Windows Explorer, copy and save the component design file to your PersonalLib or
UserLib directory.
2. Do an update menu for 3D Components.
3. Open the component from the PersonalLib or UserLib directory and use edit mode for
making modifications.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
You can also access the Waveguides library using Draw>3D Component> Browse... to open
the Browse 3D Component dialog. you then click the SysLib button to display the libraries
included in your installation. You can select Rectangular Waveguides, and navigate the folders to
select from available 3D components.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Once you have selected a component file, you can view the Image and Info for that component.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
You can click Open to display the Insert 3D Component dialog. You can also view the Insert 3D
Component dialog by double-clicking on a model in the Component Library tree. You can view the
Parameters, Image, and Info tabs for that component. See Inserting a Component into a Design.
1. From Windows Explorer, copy and save the component design file to your PersonalLib or
UserLib directory.
2. Do an update menu for 3D Components.
3. Open the component from the PersonalLib or UserLib directory and use edit mode for
making modifications.
You can also access the Surface Mount Devices library using Draw>3D Component> Browse...
to open the Browse 3D Component dialog. You then click the SysLib button to display the
libraries included in your installation. You can select Surface Mount Devices, and navigate the
folders to select from available components.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Once you have selected a component file, you can view the Image and Info for that component.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
You can click Open to display the Insert 3D Component dialog. You can also view the Insert 3D
Component dialog by double-clicking on a model in the Component Library tree. You can view the
Parameters, Image, and Info tabs for that component. See Inserting a Component into a Design.
1. From Windows Explorer, copy and save the component design file to your PersonalLib or
UserLib directory.
2. Do an update menu for 3D Components.
3. Open the component from the PersonalLib or UserLib directory and use edit mode for
making modifications.
Modifying Objects
You can quickly modify the position, dimensions, and other characteristics of objects created in the
3D Modeler window.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
4. Select a color from the Color palette, and then click OK.
Related Topics
5. Select a color from the Color palette, and then click OK.
Any objects you draw after this point will be assigned the default color you selected.
4. Select a color from the Color palette, and then click OK.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The outlines of any objects you draw after this point will be assigned the default color you
selected.
Note If the Properties window not visible on the desktop, click View>Properties
Window or use Edit>Properties.
4. Move the slider to the right to increase the transparency of the object. Move the slider to the
left to decrease the transparency of the object.
5. Click OK.
Related Topics
Any objects you draw after this point will be assigned the default transparency you selected.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The objects are copied to the Clipboard, a temporary storage area. The selected items are not
deleted.
To cut an item to the clipboard and deleting the original, use the scissors icon on the toolbar.
3. Select the design into which you want to paste the objects. It can be the same design from
which you copied the items.
4. Click in the 3D Modeler window.
5. Select the working coordinate system. Objects are pasted relative to the current working
coordinate system.
6. Click Edit>Paste or in the View/Draw/Model tabs of the ribbon, click the Paste icon:
The objects appear in the targeted Modeler window and in the new History tree. The pasted
objects become the current active selection. If you undo the paste, the active selection goes
back to the previous selection. If you redo, the pasted objects become the current active
selection.
Items on the Clipboard can be pasted repeatedly. The items currently stored on the Clipboard are
replaced by the next items that are cut or copied.
Related Topics
To import a model from the Clipboard, the model for the current design must be empty.
The geometry model is imported from the Clipboard with the ID preserved.
1. Select the objects you want to copy. For selecting all objects, you can use Edit>Select All
or Ctrl-A.
2. Click Edit>Copy .
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The objects are copied to the Clipboard, a temporary storage area. The selected items are not
deleted.
3. Select the design into which you want to paste the objects. It can be the same design from
which you copied the items.
4. Click in the 3D Modeler window.
5. Select the working coordinate system. Objects are imported relative to the current working
coordinate system.
6. Click Modeler>Import From Clipboard.
The geometry model is pasted from the Clipboard with the ID preserved.
Related Topics
Copy Image
You can import images of the 3D Modeler window or of Reports into any other application. The
image has to be copied to the clipboard, so that it can be imported into the other application.
To copy an image of the 3D Modeler window and paste into another application:
2. Click Edit>Copy Image, or right click on the 3D Modeler window to display the shortcut
menu and select Copy Image.
3. Select and open the application into which you want to paste the objects, and paste the
image.
2. Click Edit>Copy Image, or right click on the Report window to display the shortcut menu
and select Copy Image.
3. Select and open the application into which you want to paste the objects, and paste the
image.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Related Topics
Deleting Objects
1. Select the objects to delete.
2. Click Edit>Delete or in the View/Draw/Model tabs of the ribbon, click the Delete icon:
Note To maintain valid boundaries, excitations, or other parameters that were associated with
the deleted object, reassign them to other objects.
Related Topics
If you select a polyline in the history tree, the Delete Start Point and Delete End Point
commands may be enabled. These permit you to delete portions of the line.
1. In the history tree, locate the polyline that contains the segment you want to delete. Expand
this part of the history tree.
2. In the history tree, select the polyline you want to edit.
3. On the Edit menu or the shortcut menu, click either Delete Start Point to remove the
leading segments or Delete End Point to remove the following segments.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
This undoes the last operation, including removing that operation from the history, and updating
the context for the Undo and Redo commands.
Related Topics
Undoing Commands
Redoing Commands
Cutting Objects
1. Select the objects to cut.
2. Click Edit>Cut or in the ribbon area click the cut icon:
The objects are copied to the Clipboard and deleted from the design.
Moving Objects
1. Select the objects to move.
2. Click Edit>Arrange>Move or in the Draw tab of the ribbon, click the Move icon:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
All selected objects move the distance determined by the offset between the anchor point and
the target point.
Rotating Objects
Rotate objects about the x-, y-, or z-axis using the Edit>Arrange>Rotate command.
A positive angle causes the object to be rotated in the counter-clockwise direction. A negative
angle causes the object to be rotated in the clockwise direction.
5. Click OK.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
This property is useful in dealing with anisotropic materials. The properties of anisotropic materials
are specified relative to the objects orientation. Changing the orientation of an object provides a
way for objects made of the same material to be orientated differently.
Related Topics
Mirroring Objects
Mirror an object about a plane using the Edit>Arrange>Mirror command. The plane is selected
by defining a point on the plane and a normal point. This command allows you to move an object
and change its orientation.
Note The distance between the point on the mirror plane and the point along the normal does not
matter — only the vector direction matters.
1. Select the object or objects that you want to mirror. You can select multiple objects.
2. Click Edit>Arrange>Mirror or in the Draw tab of the ribbon, click the Mirror icon:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
3. Select a point on the plane around which you want to mirror the object.
You can do this by clicking a point, or typing coordinates in the X, Y, and Z boxes in the status
bar.
If you select a point on the object, the mirroring is relative to that point on the object. In the
following example, the first point clicked after selecting Edit>Arrange>Mirror was on the right-
rear bottom corner of the selected object. So the axis of rotation as you move the cursor is that
corner. As you move the cursor, it drags a diamond-shape on a vector extending from the initial
point. The distance along the vector does not matter. Moving the mouse rotates an outline of the
object to new orientations. Clicking the mouse moves the object to location indicated by the
outline..
In this second example, the initial point is at a distance from the original object, designated by
the triad from which the handle for rotation extends to the dragging cursor.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The selected object is moved to the plane you specified and oriented relative to the normal point
you specify.
To mirror and copy objects about a plane, use the Edit>Duplicate>Mirror command.
Related Topics
Offsetting Objects
Move every face of a 3D object in a direction normal to its surface using the Edit>Arrange>Offset
command. The faces are moved a specified distance normal to their original planes. This command
enables you to move every face of a solid object without having to individually select and move
each face. Use the Surfaces>Move Faces>Along Normal command if you want to move just
one or more faces of an object.
3. Type the distance you want to move the object faces from their origins, and then select a unit
from the pull-down list.
4. Click OK.
The selected object's faces are moved the distance you specified.
Duplicating Objects
You can duplicate objects within a design using the Edit>Duplicate commands. Duplicates are
dependent upon the parameters of their parent object at the time they were created, that is, they
share the parent object's history at the time of creation. The command hierarchy in the history tree
will show the duplication command, illustrating which commands affect all duplicates (those
performed before the duplication) and which commands would not affect the duplicates (those
performed after the duplication). For example, if you modify the radius of a parent object's hole, the
change is applied to the holes of the object's duplicates because they share the radius specification
history, but if you move the faces of the parent object, its duplicates are not affected because this
operation took place after the duplicates were created.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Operations performed on duplicates are independent. For example, if you duplicate a cylinder
twice, creating a row of three, and then split the second cylinder, the first and third cylinders are not
affected by the split.
When creating duplicates, the parent object is duplicated along a line or around an axis the number
of times you specify. You can also create a single duplicate that mirrors the parent object about a
plane.
Edit>Duplicate>Along Duplicates the parent object along a straight line. The child object can
Line be designated as attached to the parent object, but if so, no ports or
boundary conditions are duplicated.
Edit>Duplicate>Around Duplicates the parent object around an axis. The child object can be
Axis designated as attached to the parent object, but if so, no ports or
boundary conditions are duplicated.
Edit>Duplicate>Mirror Duplicates a mirror image of the parent object about a plane.
To copy objects to another design, use the Edit>Copy and Edit>Paste commands.
Note There is currently no method for dissolving the parent/duplicate relationship once a
duplicate has been created.
To duplicate an object along a straight line, use the Edit>Duplicate>Along Line command. The
line along which the object is duplicated can be vertical, horizontal, or lie at an angle.
3. Specify the vector along which the object will be duplicated. The Measure Data window
appears to help you choose points:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Any point in the drawing region can be selected; however, selecting an anchor point
on the object's edge or within the object makes it easier to select the duplication line.
This point defines the direction and distance from the anchor point to duplicate the
object.
4. Type the total number of objects, including the original, in the Total Number box.
5. Optionally, check the Attach to Original Object check box. If this is checked, original object
and its duplicates will be combined into one part. No ports or boundary conditions are
duplicated for duplicates. If this option is used, it is recommended to run validation to ensure
that the original and duplicates are not intersecting or touching each other.
6. If this option is used, it is recommended to run validation to ensure that the original and
duplicates are not intersecting or touching each other.
7. Click OK.
To duplicate an object around the x-, y-, or z-axis, use the Edit>Duplicate>Around Axis
command.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
3. Select the axis around which you want to duplicate the object: X, Y, or Z.
4. Type the angle between duplicates in the Angle box.
5. Type the total number of objects, including the original, in the Total Number box.
6. Optionally, check the Attach to Original Object check box. If this is checked, original object
and its duplicates will be combined into one part. No ports or boundary conditions are
duplicated for duplicates. If this option is used, it is recommended to run validation to ensure
that the original and duplicates are not intersecting or touching each other.
7. Click OK.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The object is duplicated around the axis at the angle you specified.
To duplicate and mirror an object about a plane, use the Edit>Duplicate>Mirror command. The
plane is selected by defining a point on the plane and a normal point. This command allows you to
duplicate an object and specify the duplicate's position.
This command is similar to Edit>Arrange>Mirror, except that this command duplicates an object,
rather than moves it.
3. Select a point on the plane on which you want to mirror the object.
A line drawn from this point to the mirror plane will be perpendicular to the plane. The distance
between the point on mirror plane and point along the normal does not matter; only the vector
direction matters
A duplicate of the object appears on the plane you specified, oriented according to the normal
point you specified.
Related Topics
Mirroring Objects
Scaling Objects
Scale an object's dimensions in one or more directions using the Edit>Scale command.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The scale of an object is determined by the distance of each of its vertices from the origin of the
model coordinate system. When an object is scaled, the distance of each vertex from the origin is
multiplied by the scaling factor, causing the object to be resized and/or moved.
For example, if you specify a scaling factor of 2 in the X direction, each vertex in the model will be
moved so that the distance to its origin is doubled. Note that a vertex located at the origin will not
move. You can alter an object's proportions by scaling it in one direction.
1. If necessary, set a different working coordinate system to achieve the desired scaling.
2. Select the object to scale.
Related Topics
Sweeping Objects
You can sweep a 2D object around an axis, along a vector, or along a path to create a 3D solid
object. Objects that can be swept include circles, arcs, rectangles, trapezoids, polylines, or any 2D
object created in the 3D Modeler window. The 2D object need not be orthogonal to the sweep
path.
You can also sweep open 1D objects, such as polylines. This results in open 2D sheet objects.
You can also sweep one or more faces of a 3D object to create a new object. See Sweep Faces
Along Normal.
Related Topics
Thicken Sheet
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Sweep a 1D or 2D object around the x-, y-, or z-axis using the Draw>Sweep>Around Axis
command. Sweeping circles around an axis is a convenient way to create an open coil loop.
l The object and the axis you are sweeping around must lie in the same plane. For example, if
you are sweeping an object around the z-axis, the object must lie in a plane that includes the
z-axis, such as xz or yz.
l The normal of the object's plane faces must be perpendicular to the axis around which you
are sweeping.
l The object may not cross the axis around which it is being swept.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
This is the angle to which the object's profile, or shape, is expanded or contracted as it is swept.
6. Select one of the following draft types from the pull-down list. The draft type instructs the
modeler how to fill in gaps created by expanding or contracting a profile with a draft angle.
Extended The edges of the new profile are extended with straight tangent lines until they
intersect. The facetting of the faces will be displayed.
Round The edges of the new profile are rounded.
Natural The edges of the new profile are extended along their natural curves until they
intersect. For example, if the original object had sharp edges, the new profile
will have sharp edges.
7. Type the number of segments in the Number of segments text box.Click OK.
Note The default number of segments is zero, which creates a true path. A positive value
results in a segmented sweep, while a negative value results in an error.
If the sweep angle is 360 degrees, the number of segments is equal to the value
specified. If the sweep angle is less than 360 degrees, half segments appear at the
ends.
Projects and scripts from previous software versions are treated as if the number of
segments were zero.
The object is swept around the axis. The new object has the properties of the original object.
The Properties dialog box appears, enabling you to modify the object's properties.
8. Click OK.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
2. Click Draw>Sweep>Along Vector or in the Draw, click the sweep along vector icon:
4. Select one of the following draft types from the pull-down list box:
Extended The new object will have sharp edges like the original object. The facetting of
the faces will be displayed.
Round The new object will have rounded edges.
Natural The new object will have sharp edges like the original object
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The object is swept along the vector. The new object has the name and color of the original
profile. The Properties dialog box appears, enabling you to modify the object's properties.
5. Click OK.
Sweep a 1D or 2D object along a path that is defined by an open or closed polyline using the
Draw>Sweep>Along Path command.
When you are sweeping an object along a path, keep in mind that one of the path's endpoints must
lie in the same plane as the object being swept. The other endpoint must lie in a plane
perpendicular to the object being swept.
This is the number of degrees the profile will rotate as it is swept through the complete path.
6. Select one of the following draft types from the pull-down list box:
Extended The new object will have sharp edges like the original object. The facetting of
the faces will be displayed.
Round The new object will have rounded edges.
Natural The new object will have sharp edges like the original object
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
7. Click OK.
The object is swept along the path. The polyline object used as the path is deleted. The new
object has the properties of the original object. The Properties dialog box appears, enabling
you to modify the object's properties.
To create a new object by sweeping select 3D object's face a specified distance in a direction
normal to its original plane, use the Modeler>Surface>Sweep Faces Along Normal command.
Note that the adjoining faces will not be sheared or bent.
This command is useful for extruding faces, resizing holes, and removing rounded corners.
The face is swept the distance you specified to create a new object.
Related Topics
Thicken Sheet
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The dialog closes and the sheets are changed into 3D objects of the desired thickness.
When the sheet to be wrapped and the target body do not touch, the wrap sheet command
chooses among several different methods for bringing them into contact.
l If an edge from the sheet body and the target body are close enough and at a small angle
(10 degrees), the edges are brought into alignment before the wrap.
l If a vertex from the sheet body and an edge on the target body are close enough, the vertex
is moved to the target edge.
l If the previous criterion are not matched, a vertex from the sheet body is moved to the
closest face of the target body.
If both the sheet to be wrapped and the target face are both planar and have the same or opposite
normal, the closest vertex from the sheet body is moved to the target face. No moving to match or
align edges is performed.
If the sheet body has multiple lumps, a single rectangle is fitted around all of the lumps. The
rectangle is moved to the target surface using the above procedure.
If the sheet object does not overlap the corners of the 3D object, the wrap is straightforward, as
shown in the figure.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
If you delete the 3D object, the wrapped sheet retains the form it took when wrapped.
A sheet object that overlaps corners may not wrap in straightforward fashion, depending on both
the angle(s) involved, and the sheet object. While it is possible, it is not recommended.
Examples:
The following figure illustrates wrapping on a target surface with the snap to an edge. The surface
will snap to an edge if close relative to length of edge. If the angle between the edge is less than 10
degrees, the edge to be wrapped will be aligned to the target body. In the example on the left, the
lower sheet has an edge angle more than 10 degrees. The vertex will be snapped to the edge. The
top sheet in the picture has an edge angle of less than 10 degrees. The vertex is snapped to the
target edge and the sheet edge is aligned to the target. To avoid snapping to an edge or edge
alignment the wrap sheet can be put into contact with the target surface. In that case the sheet will
vertex will not be moved to target edge unless it is within modeling tolerances.
The following figure shows the situation when you move the edge to the edge before wrapping.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The following figure shows the situation when you move a vertex to an edge before wrapping.
The following figure shows the situation where you move a vertex to a face before wrapping.
The following figure shows the situation when you move a multilump sheet to touch the target body.
A rectangle that encloses all lumps is used to position the sheet on the target.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The next figure illustrates wrapping to a non-developable surface. The area of sheet changed from
0.7000mm^2 before wrap to 0.6986 mm^2 after.
The following figure illustrates wrapping on a target surface which has tolerant edges. The tolerant
edge is at the beginning of the wrap. The tolerant edge is not evident visually.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Limitations/Error Conditions:
The sheet object wraps around the 3D object. You can select the wrapped sheet object and the
3D object separately, and assign properties separately.
If the object cannot wrap, the Message window contains a warning and description.
If you delete the 3D object, the wrapped sheet retains the form it took when wrapped.
Related Topics
Imprinting an Object
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Covering Lines
To cover a closed 1D polyline object with a face, use the Modeler>Surface>Cover Lines
command. The polyline object becomes a 2D sheet object.
The object is now covered. It is now a 2D sheet object that can be swept to form a 3D solid
object.
Note If you want the modeler to automatically cover all closed polyline objects you draw,
including circles, ellipses, rectangles, and regular polygons, select the Automatically
cover closed polylines option in the Modeler Options dialog box. A closed polyline
object can also be created by using boolean unite operations on two or more polylines.
Covering Faces
To cover object faces, the faces must be united into a 3D sheet object. To cover the face of a 2D or
3D object, use the Modeler>Surface>Cover Faces command.
Covering the face of an open 2D sheet object that had previously been uncovered results in a 3D
solid object. For example, for a box, when you select and uncover a face, the solid box becomes a
sheet with five faces. When you then select that sheet body box and use the Cover Faces
command, the box becomes a solid again with six faces.
Uncovering Faces
Uncover a surface of a 3D object using the Modeler>Surface>Uncover Faces command.
Uncovering the surface of a 3D solid object results in an open 2D sheet object.
Note You can uncover one face of a 3D object at a time. If you select multiple faces, only the first
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Detaching Faces
The Modeler>Surface>Detach Faces command enables you to remove the face of a 3D object,
resulting in two separate objects.
Click Modeler>Surface>Detach Faces. The selected face is now detached, resulting in two
2D sheet objects.
Detaching Edges
The Modeler>Edge>Detach Edges command enables you to remove an edge of a wire object,
resulting in two separate wire objects.
Note Only edges from wire bodies can be used in a detach edge operation.
Creating a Cross-Section
You can take a cross-section of a 3D object to create a new 2D object. This is done using the
Modeler>Surface>Section command.
Use this command to create cross-sections of 3D objects on the xy, yz, or xz plane. The cross-
sections are created as 2D closed polyline objects.
1. Make sure the working coordinate system you want to use for the cross-sectioning plane is
set.
2. Select the object from which you want to create a cross-section.
3. Click Modeler>Surface>Section. Select the section plane you will use to divide the object:
XY, YZ, or ZX.
4. Click OK.
A closed polyline object is created from the object that was sliced by the selected axis. The
original, sectioned object is unmodified.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Related Topics
Connecting Objects
Use the Modeler>Surface>Connect command to perform the following operations:
l Connect two or more 1D polyline objects. ANSYS Electronics Desktop will modify the first
polyline you select to be a 2D sheet object that connects to the second and any subsequently
selected polylines. The second and subsequent polylines selected are deleted.
l Connect two or more 2D sheet objects. ANSYS Electronics Desktop will modify the first 2D
object you select to be a 3D solid object that connects to the second and any subsequently
selected objects. The second and subsequent objects selected are deleted.
To connect objects:
1. Select the objects you want to connect. Select 3D objects as objects, not as faces.
2. Click Modeler>Surface>Connect.
A new object is created that connects the objects you selected. The first object you selected was
modified to create the new object and all subsequently selected objects were deleted.
To use the Project Sheet command you must select one planar sheet and at least one solid body.
If you select multiple solids, the sheet is project on all bodies as if they have been united. After the
commend executes, a new sheet that lies on the surface of the selected bodies is created. The
solid bodies are not changed.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Faces that are hidden from the sheet being projected are not covered, due to the projected
sheet.
Only vertical faces (or faces parallel to the projection direction) that lie completely within the
projection of the sheet will be covered by the projected sheet. Vertical faces that lie on the
boundary of the projection are not covered.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
If the sheet cross-section exactly matches the body cross-section, no vertical faces are covered. If
the projected sheet exceeds the cross-section of solids, faces that lie with in the sheet projection
are covered.
If a surface like a cylinder or sphere lies completely within the sheet projection, the entire surface
will be covered, though there may be a warning that “Output may be incorrect because a self-
obstructing face was found.”
To Project a Sheet:
1. Select a planar sheet object and one or more appropriate solid objects.
2. Click Modeler>Surface>Project Sheet or in the Draw tab of the ribbon, click the Sheet
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
icon and select Project Sheet from the drop down menu:
For modeling conformal deposits, you can also specify a thickness and optional draft angle.
After you perform Project Sheet, the History tree shows the Project Sheet command and the
create command for the imprinted object. If you select the Project Sheet command in the History
tree, you can suppress the command via the Properties window. If you select the Create <object>
icon for the object, you can edit the properties of that object. The changes applied to the object
carry over to the imprinting.
Specifying a Thickness value has different effects depending on whether the value is positive or
negative.The following figure shows the effect of a positive thickness, with the Projected sheet
taking its thickness outward from the target object.
The following figure shows the effect of a negative value for thickness.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
When a negative value is given the thickness will be limited by the target solid body. That is, the
thickness can not be beyond the original solid body which was chosen. If you use a negative
thickness it is also possible that not all overhangs will be eliminated.
Other examples of Project Sheet on complex models are show in the following figure.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Related Topics
Thicken Sheet
Related Topics
Offsetting Objects
To move a 3D object's face a specified distance in a direction normal to its original plane, use the
Modeler>Surface>Move Faces>Along Normal command. The faces that adjoin the original
face are extended or shortened along their own planes to meet the new face. Note that the
adjoining faces will not be sheared or bent.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
This command is useful for extruding faces, resizing holes, and removing rounded corners, as
shown below.
If you have created a suitable face list, right-click on the list and click Select Assignment from
the shortcut menu, you can operate on faces on the list.
4. Type the distance you want to move the object face from its origin.
5. Click OK.
To move every face of an object normal to its surface, use the Edit>Arrange>Offset command.
Related Topics
Offsetting Objects
To move the faces of a 3D object a specified distance along a vector use the
Modeler>Surface>Move Faces>Along Vector command. Each selected face is moved along
the vector, normal to its original plane. The faces that adjoin the original face are extended or
shortened along their own planes to meet the new face. Note that the adjoining faces will not be
sheared or bent.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
If you have created a suitable face list, right-click on the list and click Select Assignment from
the shortcut menu, you can operate on faces on the list.
Any point in the drawing region can be selected; however, selecting an anchor point on the
object's edge or within the object makes it easier to select the vector.
This point defines the direction and distance from the anchor point to move the face.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
To move every face of an object normal to its surface, use the Edit>Arrange>Offset command.
Related Topics
Offsetting Objects
To move a 2D object's edge a specified distance in a direction normal to its original plane, use the
Modeler>Edge>Move Edge command. The edge is extended or shortened along its own plane.
Note that the adjoining faces will not be sheared or bent. The edge can be on a rectangle, an
ellipse, a circle, a regular polygon, or an equation based surface.
This command is useful for extending or shrinking faces and resizing holes.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
4. Type the distance you want to move the object face from its origin.
5. Click OK.
The edge of the object is moved based on the value you specified.
Related Topics
Select Edges.
Offsetting Objects
Uniting Objects
To join two or more objects into one object, use the Modeler>Boolean>Unite command. The new
object has the name, color, boundary, and material assignment of the first object selected. The
objects are united at the point of intersection.
Note By default, the objects being joined to the first object selected are not preserved for later
use. If you want to keep a copy of the objects being joined to the first object selected, do one
of the following:
l Copy the objects, and then paste them back into the design after uniting them.
l Select Clone before unite in the Modeler Options dialog box. This option instructs
the modeler to always keep a copy of the original objects being joined.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Subtracting Objects
1. Select the object from which you want to subtract other objects.
2. Hold down the Ctrl key and select the objects you want to subtract.
3. Click Modeler>Boolean>Subtract or in the Draw tab of the ribbon, click the Subtract icon:
Objects listed in the Tool Parts list will be subtracted from the object or objects listed in the
Blank Parts list.
4. Optionally, select an object name in either list and use the left and right arrow buttons to
move the object name to the opposite list.
l Alternatively, type the name of object you want to subtract in the empty text box below the
Tool Parts list, and then type the name of the object from which you want to subtract it in
the empty text box below the Blank Parts list.
5. Optionally, select Clone tool objects before subtract. This instructs ANSYS Electronics
Desktop to always keep a copy of the original objects being subtracted.
6. Click OK.
The new object (or objects) retains the name, color, and material of the first object selected.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note
By default, the objects being subtracted from the first object selected are not preserved for
later use. If you want to keep a copy of the objects being subtracted from the first object
selected, do one of the following:
l Copy the objects, and then paste them back into the design after subtracting them.
l Select Clone before subtract in the Modeler Options dialog box. This option
instructs ANSYS Electronics Desktop to always keep a copy of the original objects
being subtracted.
1. Select the objects from which you want to take the intersection.
Warning If the objects you selected do not overlap, the result is a null object and both
objects vanish.
2. Click Modeler>Boolean>Intersect .
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The original objects vanish, leaving only the new object that was formed from their intersection.
Note By default, the original intersecting objects are not preserved for later use. If you want to
keep a copy of the objects that intersect the first object selected, do one of the following:
l Copy the objects, and then paste them back into the design after creating the new
object from the intersection.
l Select Clone before intersect in the Modeler Options dialog box. This option
instructs the modeler to always keep a copy of the original objects that intersect the
first object selected.
1. Right-click in the modeler window, and select Select Faces on the shortcut menu.
2. Select the object face you want to copy. If you select multiple faces, each becomes a new
object.
Click Modeler>Surface>Create Object From Face. The face is copied, resulting in a new 2D
sheet object.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Related Topics
Hint This command is useful for assigning a boundary to the intersection of two faces. To do this,
first select the faces, and then create an object from them using the procedure above. Next,
make sure the Clone before intersect option is clear in the Modeler Options window,
and then use the Modeler>Boolean>Intersect command to modify the object so that it
includes only the intersection of the two faces. Then assign the boundary to the new object.
1. Right-click in the modeler window, and select Select Edges on the shortcut menu.
2. Select the object edge you want to copy. If you select multiple edges, each becomes a new
object.
3. Click Modeler>Edge>Create Object From Edge.
The edge is copied. The resulting object appears in the history tree as a line object.
Related Topics
Splitting Objects
To split an object or several objects using one of ZY, YZ, or XZ plane, or to split objects related to
selected face or edge arcs, use the Modeler>Boolean>Split command.
1. Select the object you want to split. You can select more than one.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
2. Click Modeler>Boolean>Split or in the Draw tab of the ribbon, click the Split icon:
3. Select Split using plane, and then select XY, YZ, or XZ as the Split plane or click Split
using selection and select a planar face or arc edge.
4. Select one of the following Keep result options to specify which object fragments you want
to keep:
l Positive side- keep objects on the positive side of the selected plane.
l Negative side - keep objects on the negative side of the selected plane.
l Both - all pieces on both sides of the plane.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The split plane is shown with a blue wheel with spokes as seen in the picture below left. A
blue arrow, in case to the right, indicates which side of the split plane is to be kept. Once the
proper selections have been made press OK. In this example the positive side of YZ (green
and blue axes) plane results was kept. The picture on the left is before the split. The picture
on the right is the result for the split command.
If you select “Split using selection" you can choose a planar face or edge arc to define the split
plane. You can only select one entity. Face or edge to define plane need not belong to one of
objects selected for split operation - it could be any face or edge from the model. You can position,
scale, or view the model as needed to make the selection easier. The following example shows the
operation with keep result for both sides. (Notice the arrow is in both directions for the split plane
graphics.) The picture on the left is before the split. The picture on the right is the result for the split
command.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
6. If you select to split entire selection, it could create invalid objects if split plane does not cut
any of selected objects. You can use the option Delete invalid objects created during
operationto delete these invalid objects.
7. Click OK.
Separating Bodies
To separate an object with multiple lumps into individual bodies:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
1. In the history tree, locate the polyline that contains the segment you want to convert. Expand
this part of the history tree.
2. In the history tree, right-click the polyline segment operation you want to change, and then
click Properties.
3. In the Properties dialog box, click in the Value text box of the Segment Type row.
4. Select the desired polyline segment type from the pull-down list.
Note Converting an arc line or spline segment to a straight line segment results in two straight
line segments; one segment is created between the start point and midpoint and one
segment is created between the midpoint and endpoint.
5. By default, curved surfaces are treated as smooth (True) surfaces. If segmented surfaces
are desired, enter a number of 2 or greater in the Number of Segments parameter.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Related Topics
Surface Approximation
Vertices are only going to be replaced by new rounded surfaces if all the edges connecting to the
original vertex are selected; otherwise, the vertex is preserved but moved (if necessary). The
edges are replaced by quarter-cylindrical surfaces, of which the radius can be customized (see the
Fillet Radius property). Vertices are replaced by more complicated new faces. You can control
the setback distance.
l Right-click the desktop, and select Select Edges from the shortcut menu.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
2. Click Modeler>Fillet or in the Draw tab of the ribbon, click the fillet icon:
3. Enter a value for the Fillet Radius in the text field and select units from the drop down
menu. The default is millimeters.
4. Enter a value for the setback distance.
The setback distance controls the shape of the vertex. It is the distance of the cross curve from
the vertex at the end of the edge. If it is less than the fillet radius it has no effect. You will get an
error if it is greater then the length of the edge. Note that the setback feature works only on
corners where three or more edges meet and only if all edges meeting at the vertex are
selected.
The dialog closes and the object is rounded by the radius value relative to the edge you
selected.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
replaced by new flat surfaces if all the edges connecting to the original vertex are selected;
otherwise, the vertex is preserved but moved (if necessary).
l Right-click the desktop, and select Select Edges from the shortcut menu.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
3. Type a value in the Left Distance text box, and select the units from the pull-down list.
4. Click OK to apply the change to the edge.
The Chamfer Properties dialog box closes, and the object is flattened by the radius value
relative to the edge you selected.
1. Select one or more edges and click Modeler>Chamfer to open the Chamfer Properties
dialog.
2. Use the Chamfer type drop down menu to select the type:
You control an asymmetric chamfer by selecting a type that defines the chamfer asymmetry
as Left-Distance Right Distance, as Left Distance-Angle, or as Right Distance Angle. Notice
that red directional arrows on the selected edges provide the direction against which left
distance and right distance are determined.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Left Distance-Angle
Right Distance-Angle
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Only symmetric and left distance-right distance chamfers are supported for edges formed by a
curved surface.
Angle-distance chamfers are not supported in such cases and do not appear on the Chamfer
Type drop down menu.
Imprinting an Object
The Boolean>Imprint command lets you imprint the geometry of one object upon another. For
example, you could draw a polyhedron intersecting a cylinder, and then imprint the intersecting
lines on the cylinder.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
You can select the faces of the imprinted surface separately and assign properties as needed.
This displays the Imprint dialog in which you designate which objects are the Blank Parts, and
which the Tool Parts. If necessary, you can select the objects in lists, and use the arrow keys to
move them. If desired, you can clone the tool objects before the imprint operation.
3. Click OK.
After you perform the imprinting, the History tree retains the Imprint Object command and the
create command for the imprinted object
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
If you select the Imprint command in the History tree, you can suppress the command via the
Properties window. If you select the Create <object> icon for the object, you can edit the properties
of that object. The changes applied to the object carry over to the imprinting.
You can also use Tools>Options >Modeler Options to enable the Automatically imprint
wrapped sheets feature to perform an Imprint Object command after a Modeler>Surface>Wrap
command.
Related Topics
Wrap Command
If the surface is curved, the dimensions of the projection will be affected.You can select the faces of
the imprinted object separately, and edit properties as needed.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
If projected shape extends beyond the face of the receiving object, the shape wraps.
If you select Along Normal, the projection occurs along the normal. If you select Along
Direction, you need to specify two points that describe the direction. Once you have defined a
line by clicking two points, you see a dialog for specifying the distance for the projection.
3. Specify a distance and select units from the drop down menu and click OK.
After you perform the imprinting, the History tree shows the Imprint Object command and the
create command for the imprinted object
If you select the Imprint Projection command in the History tree, you can suppress the command
via the Properties window. If you select the Create <object> icon for the object, you can edit the
properties of that object. The changes applied to the object carry over to the imprinting.
Related Topics
Imprinting an Object
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Purge History
Each object is a sequence of modeler-based operations. The history for each object is shown
under its name in the model tree. You can use the Purge History command to remove the history
of operations while not affecting the geometry itself. This is useful when you wish to perform
healing operations on the object. If there is an object for which you want to keep the history, you
should make a copy of the object for that purpose before purging.
Related Topics
Generate History
Related Topics
Purge History
Draw Polyline
l Select Submodels
l Select Objects.
l Select Faces.
l Select Edges.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Select Vertices.
l Select Multi (a mode for selecting objects, faces, edges or vertices)
l Coordinates in the drawing space.
l Select By Area including optional filters
l Select by History Tree Group
l Select by Submodel
l Select by intersection error message
l Selecting the Face or Object Behind
The Edit>Select Objects menu and Modeler window shortcut menu includes selection for:
l By Name
l By Material
l By Variable
l All Model Objects
l All Non-model Objects
l All Primitive Shapes
l All Non Primitive Shapes
l All Solids
l All Sheets
l All Lines
Some Edit>Extend Selection menu commands are enabled when you select an appropriate
object:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
You can also right click on History tree icons to Select All for ungrouped:
l Model
l Group
l Solids
l Selected Material, for example copper or air.
l Sheets
l Lines
Note If selected objects do not display correctly, for some graphics card, you can improve
performance by setting NVIDIA Control Panel>3D Settings>Manage 3D Settings
Global Settings>Global Presets: Workstation App - Dynamic Streaming
For more information about graphics card see the section Open GL under Installation
Prerequisites in the ANSYS EM Installation Guide.
Selecting Objects
By default, the modeler is in object selection mode. Simply click an object in the view window or an
object name in the history tree and it will be selected. All other objects become relatively
transparent. Selected objects become the color specified under the Display tab of the Modeler
Options dialog box.
When the mouse hovers over an object in the view window, that object is highlighted, which
indicates that it will be selected when you click. Tooltips, as you hover the cursor over an entity,
indicate the type/ID of entity (object name in the case of objects, Face_id in the case of faces, and
so on). This feature helps you distinguish between face-of-sheet-object pick versus sheet-object
pick.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
If the modeler is not currently in object selection mode, you can switch to it using one of the
following methods:
When you have selected an object, the Edit>Extend Selection> and right-click Extend
Selection> menus show the following options:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Related Topics
Select Edges.
Select Vertices.
Select By Area
Clearing a Selection
1. If you are selecting objects in the Modeler window make sure that the modeler is in object
selection mode by pressing the shortcut key O. You can always select objects in the History
tree.
2. Select several objects in one of the following ways:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Hold down Ctrl, and click the objects in the view window that you want to select.
l Hold down Ctrl, and click the object names in the history tree that you want to select.
l In the History tree, select a range of objects by first clicking one object to select it, and then
Shift-click to extend the selection of visible items.
l In the History tree, under Lists, select AllObjects. This is an automatically created list that
lets you selects all object.
l Click Edit>Select All to select all objects that were drawn in the active view window,
including objects that are not currently visible.
l Press CTRL+A or click Edit>Select All Visible to select all objects that are visible in the
active view window.
l Click Edit>Select Objects> or right click in the Model window and select Select
Objects> and one from the menu for the objects you want to select:
l Right click on a History tree icon for Model, Group, object, category such as Solid or
Sheet, or material to perform context-sensitive selection. See Select Objects in the
History Tree.
Selected objects become the color that is specified for selected objects under the Display tab of
the Modeler Options dialog box. Use Tools>Options>Modeler Options to display the dialog
and set the default color. By default, the selected objects are opaque and all other objects
become relatively transparent. The settings for the relative opacity and transparency of selected
and non-selected objects appear in the 3D UI Options dialog box. Use View>Options to
display the 3D UI Options dialog.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Press Ctrl+Shift+A.
Related Topics
Select Edges.
Select Vertices.
Select By Area
1. Make sure that the modeler is in object selection mode by pressing the shortcut key O.
2. Click Edit>Select Objects>By NameBy Name or in the toolbar, select Object from
the drop-down menu to the right of the icon, and click the icon.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
3. In the Name list, click the name of the object you want to select. Use the Ctrl key to select
more than one.
l Alternatively, type the name of an object you want to select in the empty text box.
4. Click OK.
Related Topics
Select Edges.
Select Vertices.
Select By Area
Select By Area
You can select items by area in the Modeler window clicking and rubber-band dragging around
objects. Rubber-band selection works differently depending on the drag direction.
l From right to left: Selects all the items that are wholly or partly enclosed within the rubber
band.
l From left to right: Selects all the items wholly enclosed within the rubber band.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Select By Area works with Selection mode for Objects, Faces, Edges, and Vertices, but not for
Select Multi. By default, only items with external surfaces are selected.
However you can control which objects to include or exclude from area selection based on
material, object names, or object types.
To do this:
2. Check Material filters to enable the Include and Exclude radio buttons. Use the text field
to specify filters by name, or use the ellipsis [...] button to display the Materials manager for
selections.
3. Check Object name filters to enable the Exclude and Include check boxes, and text fields
in which you can specify object names.
4. Check Object type filters to enable the check boxes for including Solids, Sheets, and/or
lines.
5. Check Hide unfiltered objects to make unfiltered objects transparent after selection.
6. If you click Save As Default, the settings persist for the project until you change the settings
and Save as Default again.
7. Click OK to close the dialog.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Now when you left-click and drag around an area, those objects which meet the filter criteria are
highlighted in the Modeler window, and those objects are shown as selected in the History tree.
Related Topics
The history tree organizes objects in several categories. Right click on the folder for solids, sheets,
lines, non-model objects, or unclassified objects to see a shortcut menu command that lets you
Select All members of that category.
Under each folder, you can also Select All for objects of same the material or parts of same
assignment at once. When you right-click on a solid folder, the menu lets you check whether to
organize objects by assignment. For example, this history tree has Solids organizes by object.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Related Topics
Select By Area
4. Select a color from the Color palette, and then click OK.
Any objects you select after this point will temporarily become the default color you selected.
By default, the modeler shows selected objects as nearly opaque and shows non-selected objects
as nearly transparent. This features helps you distinguish between selected and non-selected
objects.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
1. Click View>Options.
The 3D UI Options dialog appears. The When there is a selection region contains check
boxes for setting the transparency for selected and non-selected objects.
Click the check box for the value you want to change.
This enables the value field. The default transparency for selected objects is 0.1, which makes
them almost opaque. The default transparency for non-selected objects is 0.9, which makes
them highly transparent.
2. Enter a new value, and click OK to apply the new transparency values.
5. Select a color from the Color palette, and then click OKto return to the Modeler Options
dialog box.
6. Click OK.
Outlines of all object you hover over temporarily become the default color you specified above.
Create an object list when you want to define a list of objects. Creating an object list is a convenient
way to identify and select a group of objects for a field plot or calculation. Objects in a list can still be
treated as separate objects. The same object can be included in several different lists.
1. If you are selecting in the Modeler window, make sure that the modeler is in object selection
mode by pressing the shortcut key O. This is not necessary for selecting in the History tree.
2. Select the objects you want to include in the list.
3. Click Modeler>List>Create>Object List.
The object list is created with the default name Objectlistn. It is listed in the history tree under
Lists. Selecting an object list displays the properties of that list in the Properties window. One of
the properties is a list of objects contained in the list.
To rename the Object list, edit the Name property in the Properties window for the list. Object
lists are sorted in alphanumeric order.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The object list is treated as one volume when you plot and perform fields calculations. It will be
listed in the Geometry window of the Fields Calculator when you select Volume.
There is an automatically created list called AllObjects. Selecting it selects all objects. If a list
contains mixed types of geometry, for example, volume and sheet objects, the volume calculation
only uses the geometry of the highest dimension in plots or integral, and so forth.
Example: To plot the E-field on a surface formed by the intersection of the xy-plane and several
objects, first define a list of these objects. Then, when plotting fields, select the object list name from
the Geometry window of the Fields Calculator. Fields will be plotted only at the intersection of the
plane and the objects in the list.
Related Topics
You can assign objects after you have created object lists. Creating an object list is a convenient
way to identify and select a group of objects for a field plot or calculation. Objects in a list can still be
treated as separate objects. The same object can be included in several different lists.
1. If you are selecting in the Modeler window, make sure that the modeler is in object selection
mode by pressing the shortcut key O. This is not necessary for selecting in the History tree.
2. Select the objects you want to reassign.
3. Click Modeler>List>Reassign
A dialog with the existing object lists is displayed. (They appear in the history tree under Lists.)
4. Select the list to which you want to assign the selected object(s) and click OK.
The object is reassigned to the selected list, replacing previous list members. The Objects
Property in for the List shows the objects contained in the list.
The object list will be treated as one volume when you are plotting and performing fields
calculations. It will be listed in the Geometry window of the Fields Calculator, when you select
Volume.
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
To view the properties of the object list (including a list of the objects included):
For example, you could select an object list and another object, and then specify one of the boolean
commands (such as unite or subtract).
Selecting Faces
If the modeler is in face selection mode, click an object face in the view window to select it. All other
objects become relatively transparent.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
When the mouse hovers over a face in the view window, that face is highlighted, which indicates
that it will be selected when you click. Selected faces become the color specified under the Display
tab of the Modeler Options dialog box.
To select multiple faces, hold the CTRL key as you click the faces. You also have the option to
create face lists, which define a list of object faces, or you can make face selections from a Face ID
list in the By Face dialog.
l From the menu bar, click Edit>Selection Mode>Select Faces or right-click in the Model
window, and then click Selection Mode>Select Faces.
l Press the shortcut key F.
l Select Faces from the pull-down list in Select field in the Draw/Model Ribbon tabs.
You can also use the By Face dialog to select from a list of faces associated with an object:
This displays the By Face dialog. This contains a list of the available objects.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The Face ID list is then populated with the faces in that object.
4. Selecting a face ID from the list highlights the face in the 3D window. Use Ctrl-click to select
additional faces, or shift-click to select a range of faces.
When you have selected a face, the View>Extend Selection> menu and the right-click Extend
Selection> menu shows the following options:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Related Topics
Select Edges.
Select Vertices.
1. Optionally, select the object (or objects, faces, edges or vertices) with the faces you want to
select.
2. Switch to face selection mode by pressing the shortcut key F.
3. If an object is not selected, click a face on the object of interest.
4. Click Edit>Extend Selection>All Object Faces.
l Alternatively, right-click in the view window, and then click All Object Faces on the
shortcut menu.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
All the faces of the object are selected. If you selected multiple objects, all faces of those objects
are selected.
Related Topics
Selecting Faces
1. Make sure that the modeler is in face selection mode by pressing the shortcut key F or
clicking Edit>Selection Mode>Faces, or in the Draw or Model tab in the Ribbon area,
select Face from the drop down menu.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
2. Click Edit>Select Objects>By Name or in the Ribbon area, click the object selection
icon .
3. In the Object name list, click the name of the object with the face you want to select.
4. Click the face you want to select in the Face ID column. You can select more than one.
5. Click OK.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Related Topics
Selecting Faces
To select a face that is aligned with a global plane, use one of the following two methods.
1. Make sure that the modeler is in face selection mode by pressing the shortcut key F.
2. In the History Tree, expand the Planes icon. Left-click on a plane (Global:XY, Global:YZ, or
Global:XZ) to display the selected global plane.
3. Click Edit>Extend Selection>Faces on Plane.
Alternative method:
Related Topics
Selecting Faces
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Create a face list when you want to define a list of object faces. Creating a face list is a convenient
way to identify and select a specific set of surfaces for a field plot or calculation. The same face can
be included in several different lists.
1. Make sure that the modeler is in face selection mode by pressing the shortcut key F.
2. Select the object faces you want to include in the face list.
3. Click Modeler>List>Create>Face List.
The face list is created. It is listed in the history tree under Lists. The default name is Facelistn.
The lists appear in alphanumeric order. To change the name of a face list (for example, to a
name describing the listed faces as ports or boundaries), select the list in the History Tree and
Edit Properties. Editing the Name property changes the name. If necessary, the list order in
the History tree changes for the new name.
The face list will be treated as one selection of surfaces when you are plotting and performing fields
calculations. The face list will be listed in the Geometry window of the Fields Calculator, when you
select Surface.
If you right-click on an existing face list and click Select Assignment from the shortcut menu, you
can make boundary assignments or execute the Move Faces geometry operations for faces on
the list.
Related Topics
Selecting Faces
Selecting Edges
If the modeler is in edge selection mode, simply click an object's edge in the view window and it will
be selected. All other objects become relatively transparent.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
When the mouse hovers over an edge in the view window, that edge is highlighted, which indicates
that it will be selected when you click. Selected edges become the color specified under the
Display tab of the Modeler Options dialog box.
l From the menu bar, click Edit>Selection Mode>Edges, or right click in the Model window
and click Selection Mode>Edges.
l Press the "E" key to enter edge selection mode.
l Select Edge from the pull-down list in Select field in the Draw/Model Ribbon tabs.
Selecting an edge enables the following commands in the View>Extend Selection>... and right-
click Extend Selection>... menus.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
You can also select multiple edges by holding the CTRL key as you click the edges.
Related Topics
Select Edges
Select Vertices
This option allows you to select all edges of an object or face after first selecting the object or face.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
1. Select the object or face with the edges you want to select.
All the edges of the object or face are selected. If you selected multiple objects, all edges of
those objects are selected.
Related Topics
Selecting Faces
Selecting Vertices
If the modeler is in vertex selection mode, simply click an object's vertex in the view window and it
will be selected. To select multiple vertices, hold the CTRL key as you click the vertices.
When the mouse hovers over a vertex in the view window, that vertex is highlighted, which
indicates that it will be selected when you click. Selected vertices become the color specified under
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
the Display tab of the Modeler Options dialog box. All other objects become relatively
transparent.
l Click Edit > Selection Mode>Vertices or right click in the modeler window and click
Selection Mode>Vertices.
l Press the "V" key to enter vertex selection mode.
l Select Vertex from the pull-down list by the Select field in the Draw/Model Ribbon tabs.
Selecting a vertex enables the following options in the Edit>Extend Selections and right-click
Extend Selection menus.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Related Topics
Select Edges
Select Vertices
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Tooltips, as you hover the cursor over an entity, indicate the type/ID of entity (object name in the
case of objects, Face_id in the case of faces, and so on). This feature helps you distinguish
between face-of-sheet-object pick versus sheet-object pick.
By holding down the Ctrl key, you can make multiple selections.
Related Topics
You can control the behavior of this mode by clicking Edit>Selection Mode>Multi Mode
Settings. This displays a dialog with check boxes for Object, Face, Edge, and Vertex. Unchecking
a box cancels the selection behavior for that category.
Related Topics
Select Edges
Select Vertices
Clearing a Selection
Measure Modes
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
If your design contains submodels, you can set the selection mode to Submodel.
Related Topics
Clearing a Selection
To clear an object, face, edge, or vertex selection, do one of the following:
l Click the view window at a point where an object does not exist.
l To clear an object selection, click a point away from the object name in the history tree.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
When there are multiple faces behind, the one selected is relatively close to where
you right-click.
When there are multiple faces behind, the one selected relatively close to the cursor.
l Press Ctrl+B.
This option is useful when you are trying to select a face, edge, vertex, or object that
is in the interior of a model, or when you do not want to change the model view to select
an item.
Related Topics
l Make the objects on the outside of the model invisible using the View>Visiblity>Active
View Visibility... command to open the Active View Visibility dialog. From here you can
control which objects appear and which do not.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Make the objects on the outside of the model invisible using the View>Visibility commands.
This is useful when you want to select objects using the mouse. Since the mouse cannot
select invisible objects, you can select the interior surfaces or objects by clicking on them.
l Use theEdit>Select Objects>By Name command to select objects or surfaces inside the
model.
l Use the Next Behind command on the shortcut menu or Ctrl-B. This selects the object that
lies behind the one you initially selected. This command does nothing if no objects have
previously been selected.
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Select Objects
l Select Faces
l Next Behind: Use this command to select the object or face that lies behind the currently
selected object or face. This command chooses objects or faces depending on the
graphical pick mode. Next Behind does nothing if no object has previously been selected
or if the object you select has nothing behind it. You can also use the keyboard shortcut B.
l All Object Faces
l Faces on Plane
The snap mode defines how items are selected by the mouse. By default, Grid and Vertex snaps
are enabled.
Related Topics
This displays the Select by Variable dialog, which lists the variables in your design. Both
columns are sortable by clicking the header. You can resize and move the dialog. When you
next open it, it uses that size and location.
The dialog closes, and the object affected by the variable is highlighted in the Modeler window.
The Message window contains a reference that you can select and use to go to the affected
object.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
If you execute the command again, without clearing the current selection(s), the additional
object can be highlighted. You can resize and move the dialog. When you next open it, it uses
that size and location.
The Measure Data dialog opens. As you move the cursor over the modeler window, the top line
in the measure dialog shows the coordinates of the current reference point.
2. Move the cursor to the desired reference point and press Ctrl+Click or right click and select
Set Reference Point from the short cut menu.
This moves the reference point marker to the new location. The Measure Data dialog updates.
The coordinates boxes in the Status bar change to accept relative distance information. If you
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
choose, rather than setting the reference point with the cursor, you can press Tab to activate a
text cursor in the status bar fields, and enter coordinates directly.
Related Topics
Drawing Objects
Hint Press Tab to move from one coordinate text box to the next. Press Ctrl+Tab to move
to the previous coordinate text box.
Related Topics
1. After clicking the desired drawing command, select Cylindrical from the pull-down list in the
status bar.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
2. Type the point's r-, theta-, and z-coordinates in the R, Theta, and Z boxes.
Hint Press Tab to move from one coordinate text box to the next. Press Ctrl+Tab to move
to the previous coordinate text box.
Related Topics
Note Even though you are inputting spherical coordinates, all data is internally stored in
Cartesian coordinates.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
1. After clicking the desired drawing command, select Spherical from the pull-down list in the
status bar.
2. Type the point's r-, theta-, and phi-coordinates in the Rho, Theta, and Phi text boxes in the
status bar.
Hint Press Tab to move from one coordinate text box to the next. Press Ctrl+Tab to move
to the previous coordinate text box.
Related Topics
Note When drawing objects other than polylines and helices, by default, the second
point you select is relative to the first point; Relative is automatically selected in
the Absolute/Relative pull-down list in the status bar. Be sure to select Absolute
from the Absolute/Relative pull-down list in the status bar if you want the second
point to be relative to the working coordinate system.
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
When you are in relative mode, the text boxes for a coordinate show an "d" before the
coordinate description, to indicate "distance from" the working reference. For example:
Related Topics
To change the reference point, move the cursor to the desired point and press Ctrl+Click.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Changes you make to the movement mode persist until you change them again.
The next point you select will be on the same plane as the reference point.
l After clicking the desired drawing command, click 3D Model > Movement Mode,>Out of
Plane.
A dashed line is displayed between the reference point and the cursor's location, which is now
perpendicular to the reference point.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
If one of an object's snapping centers is within snapping range, the cursor will snap to the
nearest point in 3D space occupied by the object.
If an object is not within snapping range, 3D movement mode is identical to the in-plane
movement mode.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The next point you select will be on the same plane as the reference point in the positive or
negative x direction.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The next point you select will be on the same plane as the reference point in the positive or
negative y direction.
The next point you select will be on the same plane as the reference point in the positive or
negative z direction.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
location of the mouse. The cursor changes to the shape of the snap mode when it is being
snapped.
To change the snap settings for the active design, you can use either the Modeler menu or the
Draw tab ribbon area icons
If you select the menu command, the Snap Mode window appears.
l If you want the cursor to snap to a point on the grid, select Grid or the icon .
l To snap to a vertex, select Vertex or the icon .
l To snap to the center point of an edge, select Edge Center or the icon . The center point
may be on a 1D, 2D, or 3D object edge.
l To snap to the center of an object face, select Face Center or the icon .
l To snap to the nearest quarter point on an edge, select Quadrant or the icon .
l To snap to the center of an arc, select Arc Center or the icon .
When the cursor snaps to a point, it will change to one of the following snap mode shapes:
Note By default, the mouse is set to snap to the grid, a vertex, an edge center, a face center, and
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
the nearest quadrant. To modify the default snap settings for the active design and all new
designs, modify the selections under the Drawing tab in the Modeler Options dialog box.
Related Topics
In general, select at least one of the snap options in the Snap Mode window. If none of these
options are selected, the software is in "free mode" and selects whatever point you click, regardless
of its coordinates. This can cause problems when you are trying to create closed objects. Although
the point you select may appear to be the vertex point of an open object, you may not have actually
clicked the exact coordinates of the point.
After you select Measure, a cascading menu appears for Position, Edge, Face and Object.
You can also select using the equivalent Draw tab ribbon icons:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
2. Select Position to obtain location and distance information between a specified reference
point and the cursor location.
Note As you move the cursor, the Measure Information dialog displays the current
cursor location and measurement information from the reference. Clicking on a
new vertex updates the reference to the new location.
To Pause the dynamic tracking, either right-click and select Pause, or press P.
While Paused, you can move the cursor without changing the Measure Data. You can also cut
and paste
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
With Measure>Edge, Face, or Object selected, the information displayed for each selected
object is the name and:
For more information on cursor and reference point behavior in this mode, see Measuring
Position and Distance
3. To use Measure>Edge, Face, or Object to measure the distance and angle between two
selected items:
l Select two points. Click the first and Ctrl-click to select the second.
The Measure Information dialog displays the coordinates of each point, the distance
between the points and the angle between Origin-P1, Origin-P2 line.
l Select two faces, the Measure Information dialog displays the angle/distance between
them.
l The function is similar when you select two edges and when you select an edge and a
face.
l You can also measure distance between vertex/face, vertex/edge. In these cases, use the
Select Multi mode.
4. To exit the Measure mode, click Close on the Measure Information dialog.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Related Topics
This enables the Measure Position mode opens the Measure Data dialog. The dialog lists the
coordinates of the current reference point (Position1)and the cursor location (Position2). If you
click, it shows the last position as a red square, and the current position as a black cursor. It also
lists the distance between those points, the X, Y, and Z distances, and the angle between them.
You can Pause dynamic tracking in order to copy text information from the Measure Data
dialog, and then Resume dynamic updating.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The shortcut menu displays the Hints item. When Hints are on (the default), a text display in the
lower right of the 3D Modeler window, explaining how to set the reference point, and ways to
control the movement mode.
l The cursor leads a diamond-shape selection marker that snaps from grid point to grid point.
The Measure Data dialog also provides a text identification of the current grid points. If you
drag the cursor off design objects, by default, it moves in the xy-plane. You can restrict
movement to in a specific plane, out of plane, or z, x, or y. Besides the context menu for
movement, you can also use the X, Y, and Z keys to restrict movement.
If you drag the selection marker over an object, it follows the 3D surfaces of the object, dropping
a dashed reference line to a point on the current plane. The cursor changes shape to provide
information about the object at the corresponding coordinate.:
The reference point display moves to the selected point. This becomes the coordinate for
Position1 in the Measure Data dialog.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The value of the Position2 dynamically changes as you drag the cursor. You do not need to
click. The values shown include:
l Distance.
l X distance
l Y Distance.
l Z Distance.
4. You can click P or right-click and select Pause from the shortcut menu to stop dynamic
tracking. You can then copy text from the Measure Data dialog.
5. To resume dynamic tracking, either press P or right click and select Resume.
6. To close the dialog box and exit Measure mode, click the Close button. You can also use
the ESC key to exit Measure mode.
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Global CS
l Relative CS
l Face CS
l Object CS
Every coordinate system has an x-axis that lies at a right angle to a y-axis, and a z-axis that is
perpendicular to the xy plane. The origin (0,0,0) of every CS is located at the intersection of the x-,
y-, and z-axes.The default Global coordinate system and any additional coordinate systems that
you create for a project appear in the History tree of the modeler window.
l The globalcoordinate system> (CS) is the fixed, default CS for each new project. It cannot
be edited or deleted.
l A relativeCS is user-defined. Its origin and orientation can be set relative to an existing CS.
Relative CSs enable you to easily draw objects that are located relative to other objects. If
you modify a relative CS, all objects drawn on that CS will be affected and change position
accordingly. You can define a relative CS to be offset and/or rotated from an existing CS.
This feature provides a way for objects made of the same anisotropic materials to have
different orientations.
When you set a new relative coordinate system, you specify whether to express the coordinates
as Absolute or Relative Coordinates. Absolute uses the specified values in terms of the global
coordinate system. Relative interprets the values as differences from the current working CS.
You have choices for expressing the coordinates as Cartesian, Cylindrical, or Spherical. These
are evaluated as Cartesian for the coordinate system properties.
l A faceCS is also user-defined. Its origin is specified on a planar object face. Face CSs
enable you to easily draw objects that are located relative to an object's face.
l An object CS is user-defined as attached to a specific object.
Switch between global, relative, object and face CSs by changing the workingCS. Simply click the
CS you want to use in the history tree. The working CS is indicated by a red W that appears at the
lower-left corner of the CS name in the history tree (as shown on Global in the figure above). The
Properties dialog box lists the CS associated with an object as the Orientation. By default, this is
Global, but if you have created the object under a different coordinate system, that will be the
orientation. You can click on the current orientation to see a drop down list of other orientations that
you can assign for an object.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
User-defined CSs are saved with the active project. When you open a project, it uses the CS
designated as working CS when you last saved.
Related Topics
A red W appears at the lower-left corner of the CS name in the History tree, indicating that it is
the working CS. In this following figure the Global is the working CS.
Objects that you draw hereafter will be associated with the CS you selected.
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l You can create an offset relative CS, that is, a relative CS whose origin lies a specified
distance from another CS's origin. By moving a CS's origin, you can enter coordinates
relative to an existing object, without having to add or subtract the existing object's
coordinates.
l You can create a rotated relative CS, that is, a relative CS whose axes are rotated away
from another CS's axes. By rotating the axes of a CS, you can easily add an object that is
turned at an angle relative to another object.
l You can also create a relative CS that is both offset and rotated.
l You can click Tools>General Options to display the Options dialog, and set 3D Modeler
Drawing options for whether to use the cursor and the Measure dialog or the using the
Status bar X, Y, and Z fields and menus to place the new CS (Axis/Position) or a Set
Origin dialog in which you specify X, Y, and Z coordinates and Axis and Angle values.
(Euler Angle).
After you have created a relative CS it appears in the History tree. Selecting the CS in the History
tree causes the Properties window to show the CS Properties.
Related Topics
To create a relative CS with an origin that lies a specified distance from another CS's origin:
1. In the history tree, click the CS upon which you want to base the new relative CS, making it
the working CS.
2. Point to Modeler>Coordinate System>Create>Relative CS.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Use the cursor to click the point. You can see the coordinate information in the Measure
Data dialog.
To select a point that does not lie in the current plane, use the Movement Mode commands
on the shortcut menu.
Or:
l At the lower right of the modeler window, use the drop down menu to select the system for
expressing coordinates (Cartesian, Cylindrical, or Spherical), select either relative or
absolute coordinates, then select the units, and type the CS origin coordinates in boxes.
l In the Set Origin dialog, specify the X, Y, and Z coordinates and units.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The new relative CS is created. Its origin has moved from the previous working CS, but its axes
remain the same. It is listed in the history tree under Coordinate Systems. It automatically
becomes the working CS; objects that you draw hereafter will be based on the coordinates of
this relative CS. Default planes are created on its xy, yz, and xz planes.
Related Topics
To create a new relative CS with its axes rotated away from another CS's axes:
1. In the history tree, select the CS upon which you want to base the new relative CS, making it
the working CS.
Specify the x-axis by selecting a point on the axis in one of the following ways:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Use the cursor to click the point. You can see the coordinate information in the Measure
Data dialog.
Or:
l At the lower right of the modeler window, use the drop down menu to select the system for
expressing coordinates (Cartesian, Cylindrical, or Spherical), select either relative or
absolute coordinates, then select the units, and type the CS origin coordinates in boxes.
To select a point that does not lie in the current plane, use the Movement Mode commands on
the shortcut menu.
Specify the xy plane by selecting any point on it in one of the following ways:
l Click the point. You can see the coordinate information in the Measure Data dialog.
l Type the coordinates of a point that is relative to the previously selected point in the dX,
dY, and dZ boxes, where d is the distance from the previously selected point.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
You do not need to specify the z-axis. It is automatically calculated to be at a right angle to the y-
axis.
l In the Set Origin dialog, select the Euler Rotation convention as ZYZ or ZXZ.
l In the Set Origin dialog, specify the Phi, Theta, and Psi values and select units for each
from the drop down menus.
The new relative CS is created. It has the same origin as the previous working CS, but its axes
are rotated. It is listed in the history tree under Coordinate Systems. It automatically becomes
the working CS; objects that you draw hereafter will be based on the coordinates of this relative
CS. Default planes are created on its xy, yz, and xz planes.
Related Topics
To create a new relative CS that is both offset and rotated from an existing CS:
1. In the history tree, select the CS upon which you want to base the new relative CS, making it
the working CS.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Depending on your choices for the Tools>Options>General Options, for the 3D Modeler
Drawing Options, for Relative Coordinate System Creation mode, you can select the origin in
one of the following ways:
l Use the cursor to click the origin point. You can see the coordinate information in the
Measure Data dialog.
To select a point that does not lie in the current plane, use the Movement Mode commands
on the shortcut menu.
l At the lower right of the modeler window, use the drop down menu to select the system for
expressing coordinates (Cartesian, Cylindrical, or Spherical), select either relative or
absolute coordinates, then select the units, and type the CS origin coordinates in boxes.
Specify the x-axis by selecting a point on the axis in one of the following ways:
Specify the xy plane by selecting any point on it in one of the following ways:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
You do not need to specify the z-axis. It is automatically calculated to be at a right angle to the y-
axis.
l In the Set Origin and Euler Angles dialog, specify the X, Y, and Z coordinates and units
l In the Set Origin and Euler Angles dialog, select the Euler Rotation convention as ZYZ
or ZXZ.
l In the Set Origin and Euler Angles dialog, specify the Phi, Theta, and Psi values and
select units for each from the drop down menus
The new relative CS is created. It is listed in the history tree under Coordinate Systems. It
automatically becomes the working CS; objects that you draw hereafter will be based on the
coordinates of this relative CS. Default planes are created on its xy, yz, and xz planes.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Related Topics
You do not need to specify the y- or z-axes. The modeler assumes that the z-axis is normal to
the object face and the y-axis is automatically calculated to be at a right angle to the z-axis.
The new face CS is listed in the history tree under Coordinate Systems. It automatically
becomes the working CS; objects that you draw hereafter will be referenced to the coordinates
of this face CS. Default planes are created on its xy, yz, and xz planes.
Only operations listed in the history tree before the face CS's creation will affect the face CS, and in
turn, affect objects dependent upon that face CS. A face CS, or objects created on it, is not affected
by operations that occur after it is created. Also see the Move CS to End command.
For example, suppose you create a box, then a face CS on a face of the box, and then a cylinder on
the face CS. If you then edit the box's dimensions in the Properties dialog box, the cylinder will
move accordingly. But if you rotate the box using the Edit>Arrange>Rotate command, the box
will move, but the cylinder will not move because the operation occurs later in the history tree.
Related Topics
Move CS to End
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
You can instruct the modeler to automatically create a new face CS every time you draw on an
object's face.
Now, when you select a face, and then click a drawing command, a new face CS will be created on
the face. The modeler automatically sets the new face CS as the working CS. The object you draw
is oriented according to the new face CS.
Note The modeler will not automatically create a new face CS if a face CS has already been
assigned to the selected face.
Related Topics
Move CS to End
As you drag the selection marker over an object, it follows the 3D surfaces of the object, dropping a
dashed reference line to a point on the current plane. The cursor changes shape to provide
information about the object at the corresponding coordinate:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
For example, in this case, the cursor shows Edge Center triangles as valid selection points for an
Modeler>Coordinate Systems>Create Object CS>Offset command.
Only operations listed in the history tree before the Object CS's creation will affect the Object CS,
and in turn, affect objects dependent upon that Object CS. An Object CS, or objects created on it, is
not affected by operations that occur after it is created. Also see the Move CS to End command.
For example, suppose you create a box, then an Object CS on a face of the box, and then a
cylinder on the Object CS. If you then edit the box's dimensions in the Properties dialog box, the
cylinder will move accordingly. But if you rotate the box using the Edit>Arrange>Rotate
command, the box will move, but the cylinder will not move because the operation occurs later in
the history tree.
Related Topics
Move CS to End
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Related Topics
Move CS to End
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
3. You are prompted to first select X axis. A preview of X axis is shown for valid selections.
4. You are later prompted to select to define the XY plane. Another direction (edge or face
selection) or point (i.e. vertex selection) helps to define the plane.
l During 2nd XY plane selection, a CS preview shows as the cursor hovers over valid
selections. The preview includes the three CS axes and the XY plane.
l In 2D modeler, you are prompted to select only X axis. The Y axis is defined based on 2D
modeler type. This resembles Relative CS behavior. Face picking is not available in 2D
modeler as it defines the direction out of plane.
Related Topics
Move CS to End
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l In 2D modeler, you are asked to select only the origin and X axis. The Y axis is computed as
for Object CS>Rotated. Face picking is not available in 2D modeler as it defines the
direction out of plane.
Related Topics
Move CS to End
If you have at least one History operation after a Face or Object CS in the History tree, selecting a
Face or Object CS enables the Move CS to End command in the Modeler>Coordinate System
cascade menu and the History Tree shortcut menu.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Executing the command moves the selected CreateObject CS to the end position in the History
tree and updates associated items (other CS, object history, any dependent parts etc.).
Related Topics
Move CS to End
There are two ways to modify a coordinate system: you can select the coordinate system in the
history tree in the modeler window, and open its properties dialog. This approach does not also
allow you to change whether the coordinate system is Absolute or Relative, or to change how you
express the coordinates (as Cartesian, Cylindrical, or Spherical).
If you want to also modify the whether the coordinate system is Absolute or Relative, and to change
how your express the coordinate, do the following:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
This selects that coordinate system and enables the editable fields in the status bar at the lower
right of the Modeler window. After you click the cursor in the first field, you can type in values,
and tab to the next fields.
4. You can select Absolute or Relative as the Coordinate system If you selected a relative CS,
follow the directions for creating a relative CS.
If you selected a face CS, follow the directions for creating a face CS.
If you selected an Object CS, follow the directions for creating an object CS.
5. You select the coordinate system from the drop down menus as Cartesian, Cylindrical, or
Spherical.
6. Select the units from the drop down menu.
The value you give here is translated to Cartesian coordinates in the Properties for the
Coordinate system.
Object CS can be edited in the same way they are created. For example, if CS is created in offset
mode, it will be edited in offset mode only.
l You can edit the reference CS of object CS through the property. This will impact object CS
created in offset and rotated mode. It will not impact object CS created in both modes as it
fully depends on object.
l Origin will be editable when object CS is created in rotated mode. Otherwise it will be read
only text.
l X Axis and Y Axis will be editable via the Properties dialog when object CS is created in
offset mode. Otherwise it will be read only text.
l Either of X Axis or Y axis can be reversed through the Properties dialog. When X axis is
reversed, Y axis does not change and vice a versa.
l Some of the examples of origin properties as a text are - Vertex_10, Face_7 center, Edge_9
midpoint, Edge_8 quadrant, Edge_17 arc center.
l Some of the examples of axis properties as a text are - Face_7 normal, Edge_9 direction,
Vertex_10, Face_6 axis
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Cartesian, that is the point's distance from the origin in the x, y, and z directions in the X, Y,
and Z text boxes.
l Cylindrical, that is, the point's radius, measured from the origin, in the R text box, the angle
from the x-axis in the Theta text box, and the distance from the origin in the z direction in the
Z text box.
l Spherical, that is, in the point's radius, measured from the origin, in the Rho text box, the
angle from the x-axis in the Theta text box, and the angle from the origin in the z direction in
the Phi text box.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Related Topics
2. Click Edit>Delete .
l Alternatively, press Delete.
The CS will be deleted and all objects drawn on it will be deleted. Further, any CS that was
dependent upon the deleted CS will be deleted and any objects that were drawn on the
dependent CS will also be deleted.
Related Topics
l Select XY, YZ, or XZ from the Drawing plane pull-down list on the Modeler Draw toolbar.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Click Modeler>Grid Plane, and then select a grid plane: XY, YZ, or XZ.
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
5 - Optimetrics
Optimetrics enables you to determine the best design variation among a model's possible
variations. You create the original model, the nominal design, and then define the design
parameters that vary, which can be nearly any design parameter assigned a numeric value in
HFSS or Q3D. For example, you can parameterize the model geometry or material properties.
You can then perform the following types of analyses on your nominal design:
Optimetrics 5-1
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note Sweeping or using a complex variable is not allowed in any optimetrics setup, including
optimization, statistical, sensitivity, and tuning setups.
The HPC and Analysis Options dialog can be accessed from the setup dialog for each type of
Optimetrics analysis.
You can also Link to ANSYS Design Xplorer. This permits you to manage an Optimetrics
simulation from the ANSYS Workbench.
Related Topics
Tuning a Variable
Parametric Overview
Optimization Overview
Tuning Overview
Parametric Overview
Running a parametric analysis enables you to simulate several design variations using a single
model. You define a series of variable values within a range, or a variable sweep definition, and
HFSS or Q3D generates a solution for each design variation. You can then compare the results to
determine how each design variation affects the performance of the design.
You can vary design parameters that are assigned a quantity, such as geometry dimensions,
material properties, and boundary and excitation properties. (See the online help topic for the
specific parameter you want to vary.) The number of variations that can be defined in a parametric
sweep setup is limited only by your computing resources.
To perform a parametric analysis, you first create a nominal design. A nominal design is created
like any other design, except that variables are assigned to those aspects of the model you want to
change. You can create a parametric setup before defining variables but all variables must be
Optimetrics 5-2
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
defined before you start the parametric analysis. Although you are not required to solve the
nominal design before performing a parametric analysis, doing so helps ensure that the model is
set up and operates as intended. Alternatively, you can perform a validation check on the nominal
design before performing a parametric analysis.
Parametric analyses are often used as precursors to optimization analyses because they enable
you to determine a reasonable range of variable values for an optimization analysis.
Related Topics
You can define more than one parametric setup per design.
Note Once you have created a parametric setup, you can copy and paste it, and then make
changes to the copy, rather than redoing the whole process for minor changes.
Parametric .
l Alternatively, right-click Optimetrics in the project tree, and then click Add>Parametric
on the shortcut menu.
Optimetrics 5-3
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Select the Simulation tab in the ribbon, and select Parametric from the drop down menu
under the Optimetrics icon:
After you define a parametric sweep, a shortcut menu becomes available when you right-click the
setup name.
Note Sweeping or using a complex variable is not allowed in any optimetrics setup, including
optimization, statistical, sensitivity, and tuning setups.
Related Topics
Parametric Overview
Note Sweeping a complex variable is not allowed in any optimetrics setup, including
optimization, statistical, sensitivity, and tuning setups.
Optimetrics 5-4
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Parametric .
l Alternatively, right-click Optimetrics in the project tree, and then click Add>Parametric
on the shortcut menu.
All the independent variables associated with the design are listed in the Variable pull-down list
of the Add/Edit Sweep dialog.
3. Click the variable for which you are defining the sweep definition from the Variable pull-
down list.
If you do not define a sweep definition for a variable in the list, the variable's current value in the
nominal design is used in the parametric analysis.
You return to the Setup Sweep Analysis dialog box. The variable sweep is listed in the top half
of the window.
6. View the design variations that are to be solved in table format under the Table tab. Viewing
the sweep definition in table format enables you to visualize the design variations that are to
be solved and manually adjust sweep points if necessary.
7. Click OK.
Related Topics
Optimetrics 5-5
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
2. If you selected Single value, type the value of the sweep definition in the Value box.
a. Type the starting value of the variable range in the Start text box.
b. Type the final value of the variable range in the Stop text box.
Warning Variable values must be single real numbers, or expressions that evaluate to
single real numbers. Complex numbers cannot be used as the values of
variables in any optimetric analysis.
3. If you selected Linear step as the sweep type, type the step size in the Step box.
The step size is the difference between variable values in the sweep definition. The step size
determines the number of design variations between the start and stop value. The model is
solved at each step in the specified range, including the start and stop values. The step size can
be negative, when the Stop value is less than the Start value
If you selected another sweep type, type the number of points, or variable values, in the sweep
definition in the Count text box. For Decade count and Octave count, the Count value
specifies the number of points to calculate in every decade or octave. For Exponential count,
the Count value is the total number of points. The total number of points includes the start and
stop values.
Related Topics
By default, variable sweep definitions are nested. Alternatively, you can synchronize the variable
sweep definitions if they have the same number of sweep points.
Optimetrics 5-6
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
For example, if you synchronize a sweep definition that includes values of 1, 2, and 3 inches with a
second sweep definition that includes values of 4, 5, and 6 inches, 3 design variations are solved.
The first variation is solved at the variable values of 1 and 4; the second variation is solved at the
variable values 2 and 5; and the third variation is solved at the final variable values 3 and 6.
1. Under the Sweep Definitions tab of the Setup Sweep Analysis dialog box, select the
rows containing the sweep definitions you want to synchronize.
2. Click Sync.
The synchronized sweeps are given a group number, which is listed in the Sync # column.
Optionally, view the design variations that are to be solved in table format under the Table tab.
Related Topics
1. Click the Table tab of the Setup Sweep Analysis dialog box.
The design variations that will be solved for the parametric setup are listed in table format.
Warning Variable values must be single real numbers, or expressions that evaluate to
single real numbers. Complex numbers cannot be used as the values of
variables in any optimetric analysis.
Your modifications are tracked and available for viewing at the bottom of the Setup Sweep
Analysis dialog box under the Sweep Definitions tab. The operations you performed are listed
with descriptions.
Warning If you modify an original sweep definition using the Add/Edit Sweep dialog box after
you have manually modified its table of design variations, your manual modifications
Optimetrics 5-7
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
become invalid and are removed. A warning is displayed to inform you that your
manual values are about to become invalid, so you can decide whether or not to
proceed.
Related Topics
1. In the Setup Sweep Analysis dialog box, click the General tab.
Under Starting Point, all of the current independent design variable values are listed.
2. Click the Override box of the design variable with the value you want to override for the
parametric setup.
3. Type a new value in the Value box, and then press Enter.
The Override option is now selected. This indicates that the value you entered will be used for
the parametric setup. For this parametric setup, the new value will override the current value in
the nominal design.
Note Alternatively, you can select the Override option first, and then type a new variable value in
the Value box.
Warning Variable values must be single real numbers, or expressions that evaluate to single real
numbers. Complex numbers cannot be used as the values of variables in any
optimetric analysis.
Related Topics
Optimetrics 5-8
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
1. In the Setup Sweep Analysis dialog box, click the General tab.
2. Select the solution setup you want the software to use when it solves the parametric setup.
The parametric setup is solved using the solution setup you select. If you select more than one,
results are generated for all selected solution setups.
Related Topics
When you add a parametric setup, you can identify one or more solution quantities to be presented
in the Post Analysis Display dialog box. The solution quantities are specified by mathematical
expressions that are composed of basic quantities, such as output variables. When you view the
results, HFSS or Q3D extracts the solution quantities and lists them in the results table.
1. In the Setup Sweep Analysis dialog box, click the Calculations tab.
This displays a table that will show Solutions and associated Calculations. Below the table, are
control buttons to Setup Calculations... and Delete.
This displays the Add/Edit Calculation dialog. The dialog contains panes to set the Context,
the Trace tab for the Calculation Expression, and the Calculation Range tab for the
Calculation Range.
3. Click Add Calculation to add the expression in the Add/Edit Calculation dialog
Calculation Expression field to the Calculations tab of the Setup Sweep Analysis dialog.
Related Topics
The Setup dialogs for each of the Optimetrics types include a Setup Calculations button. Clicking
this displays the Add/Edit Calculation dialog box. The dialog box contains distinct panes and tabs
to set the Context, the Calculation Expression, and the Calculation Range.
Optimetrics 5-9
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The Context pane contains fields for the Report Type to use, the Solution, and depending on the
Report Type selection, the Geometry.
The Trace tab contains fields for the Calculation expression, and, to build the expression, a
Category list, a Quantity list with a Text Filter field, and a list of Functions available for the selected
Category. The Range function button opens a dialog in which you can define a range function to
apply a function to the expression.
The Category list for the Trace tab includes Variables and Output Variables. An Output Variables...
button lets you open a dialog box to define and edit the Output Variables.
Selecting Fields as the Report type causes the Geometry field to display.
3. In the Solution text box, select from the drop down list of available solutions.
4. If the Geometry field is available, select from the drop down list.
5. In the Trace tab, specify the solution Category, a Quantity, and Functions. The resulting
expression will be displayed in the Calculation Expression field.
a. Select the Category from the list.
The selection appears in the Calculation Expression field, and the Quantity and
Function fields list what is available for the corresponding selection.
If the Quantity list is long, you can filter it for easier selection by typing in the text filter
field. Only quantities that contain those alphanumeric characters anywhere in their
name will remain visible in the list.
If you want to create an output variable that represents the solution quantity, do the
following:
l Add the expression you want to evaluate, and then click Done.
Optimetrics 5-10
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note The calculation you specify must be able to be evaluated into a single, real
number.
6. To apply a Range function to the Calculation Expression, see Setting a Range function.
7. Click Add Calculation to add the expression in the Add/Edit Calculation dialog
Calculation Expression field to the Calculations tab of the Setup Sweep Analysis dialog.
Related Topics
The calculation range of a solution quantity determines the value of intrinsic variables such as
frequency (F) at which the solution quantity will be extracted. For a parametric setup, the
calculation range must be a single value. For a Driven Modal or Driven Terminal design, if you
selected to extract the solution from the last adaptive solution, Optimetrics uses the adaptive
frequency defined in the solution setup. If you selected to extract the solution quantity from a
frequency sweep solution, Optimetrics by default will use the starting frequency in the sweep.
1. In the Setup Sweep Analysis dialog box, click the Calculations tab.
2. Click the Setup Calculations button.
5. In the Value box, click a value at which the solution quantity will be extracted.
6. Click Update, and then click Edit.
Optimetrics 5-11
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
2. Select the parametric setup with the results you want to view from the pull-down list at the
top of the dialog box.
3. If it is not already selected, select Table as the view type.
The results for the selected solution quantities are listed in table format for each solved design
variation. The variation column in the table lists the entries in order. Clicking the Vision header
inverts the order. Clicking other headers sorts the entries by value, and clicking again inverts the
order.
The complete name of the solution for which the results are being displayed will be listed in the
column headings.
5. Optionally, click a design variation in the table, and then click Apply (at the far right side of
the dialog box).
The design displayed in the 3D Modeler window is changed to represent the selected design
variation.
Related Topics
If you do a distributed solve, HFSS launches solver engines on multiple machines, assuming that
you have configured your HPC and Analysis Options correctly. Also see Large Scale DSO for
Parametric Analysis.
1. Under Optimetrics in the project tree, right-click the specific parametric setup.
A shortcut menu appears.
2. Select Analyze from the shortcut menu.
Note After you define a parametric sweep, a shortcut menu becomes available when you
right-click the setup name.
Optimetrics 5-12
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
While the analysis is running, you can access parent and child progress bars. By default, only the
main progress bar is displayed, while the child progress bars (or subtasks) remain hidden. You can
toggle between showing and hiding the child progress bars.
l Right-click the progress window, and select Show Subtask Progress Bars.
l Right-click the progress window, and select Hide Subtask Progress Bars.
Related Topics
These methods open a file brower for a comma delimted file (.csv) or a tab delimited .txt file.
...
Optimetrics 5-13
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The first row lists the Project and Design Variable names, and when followed by parentheses, the
units. The following rows provide the variable values and units. Project or Design variables must be
defined before they are accepted from a file. The characters in variable names are not case
sensitive. Consecutive separators are treated as one separator.
The header row also takes units in ( ) as well as the conventional [ ].
Related Topics
Optimization Overview
Optimetrics interfaces with ANSYS Electromagnetics products to help you optimize a wide variety
of design parameters based on variable geometry, materials, excitations, component values, etc.
Optimization is the process of locating the minimum of a user-defined cost function. Optimetrics
modifies the variable values until the minimum is reached with acceptable accuracy.
Related Topics
Choosing an Optimizer
Choosing an Optimizer
Conducting an optimization analysis allows you to determine an optimum solution for your problem.
In optimization analyses, you have choices of optimizer, though in most cases, the Sequential
Nonlinear Programming (Gradient) optimizer is recommended.
All optimizers assume that the nominal problem you are analyzing is close to the optimal solution;
therefore, you must specify a domain that contains the region in which you expect to reach the
optimum value.
All optimizers allow you to define a maximum limit to the number of iterations to be executed. This
prevents you from consuming your remaining computing resources and allows you to analyze the
obtained solutions. From this reduced range, you can further narrow the domain of the problem
and regenerate the solutions.
Optimetrics 5-14
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
All optimizers also allow you to enter a coefficient in the Add Constraints window to define the
linear relationship between the selected variables and the entered constraint value. For the SNLP
and SMINLP optimizers, the relationship can be linear or nonlinear. For the Quasi Newton and
Pattern Search optimizers, the relationship must be linear.
Cost functions can be quite nonlinear. As a result, during the function evaluations of the algorithm,
the cost function can vary significantly. Also, it is important to understand the relationship between
optimization function evaluation and iteration. Every iteration, depending on the number of
parameters to be optimized, performs several function evaluations. These function evaluations,
depending on how nonlinear the cost function is, could show drastic changes. The presence of
drastic changes has no bearing on whether the optimization algorithm converged or not.
In the case of non-gradient search-based optimization algorithms, such as "pattern search," which
are entirely based on function evaluations, one could see drastic changes in the function
evaluations depending on how nonlinear the cost function is. This could seem misleading as if the
algorithm did not converge since in theory one expects the cost function to decrease from one
iteration to the next. The optimetrics, however, reports function evaluations and not necessarily the
optimizer performance per iteration.
Note The MATLAB optimizer displays function evaluation when the Show all functions
evaluation check box is selected. If the check box is not selected, it displays
iteration.
If the Sequential Non Linear Programming Optimizer has difficulty, and if the numerical noise is
insignificant during the solution process, use the Quasi Newton optimizer to obtain the results. The
Quasi Newton optimizer works on the basis of finding a minimum or maximum of a cost function
which relates variables in the model or circuit to overall simulation goals. The user marks one or
more variables in the project and defines a cost function in the optimization setup. The cost function
relates the variable values to field quantities, design parameters like force or torque, power loss,
etc. The optimizer can then maximize or minimize the value of the design parameter by varying the
problem variables.
Sir Isaac Newton first showed that the maximum or minimum of any function can be determined by
setting the derivative of a function with respect to a variable (x) to zero and solving for the variable.
This approach leads to the exact solution for quadratic functions. However, for higher order
functions or numerical analysis, an iterative approach is commonly taken. The function is
approximated locally by a quadratic and the approximation is solved for the value of x. This value is
placed back into the original function and used to calculate a gradient which provides a step
direction and size for determining the next best value of x in the iteration process.
In the Quasi-Newton optimization procedure, the gradients and Hessian are calculated
numerically. Essentially, the change in x and the change in the gradient are used to estimate the
Hessian for the next iteration. The ratio of the change in cost to the change in the values of x
provides the gradient, whereas, the ratio of the change in the gradients to the change in the values
Optimetrics 5-15
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
of x provides the Hessian for the next step and is know as the quasi-Newton condition. In order to
perform the Quasi-Newton optimization, at least three solutions are required for each parameter
being varied. This can have a significant computational cost depending upon the type of analysis
being performed.
There are numerous methods described in the literature for solving for the Hessian and the details
of the method used by Optimetrics are beyond the scope of this document. However, as the Quasi-
Newton method is, at its heart, a gradient method, it suffers from two fundamental problems
common to optimization. The first is the possible presence of local minima. The figure below
illustrates the problem of local minima.
In this scenario, you can see that in order to find the minimum of the function over the domain, a
number of factors will determine the overall success including the initial starting point, the initial set
of gradients calculated, the allowable step size, etc. Once the optimizer has located a minimum, the
Quasi-Newton approach will locate the bottom and will not search further for other possible
minima. In the example shown, when the optimizer begins at the point labeled "Starting Point 1" the
minima it finds is a local minima and not a good global solution to the problem.
Optimetrics 5-16
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The second basic issue with Quasi-Newton optimization is numerical noise. In gradient
optimization, the derivatives are assumed to be smooth, well behaved functions. However, when
the gradients are calculated numerically, the calculation involves taking the differences of numbers
that get progressively smaller. At some point, the numerical imprecision in the parameter
calculations becomes greater than the differences calculated in the gradients and the solution will
oscillate and may never reach convergence. To illustrate this, consider the figure shown below.
In this scenario, the optimizer is looking for the point labeled "minimum". Three possible solutions
are labeled A, B and C, with each arrow indicating the direction of the derivative of the function at
that point. If points A and B represent the last two solution points for the parameter, then it is easy
to see that the changes in the magnitude and the consistent direction of the derivatives will serve to
push the solution closer to the desired minimum. If, however, points A and C are the last two
solution points respectively, the magnitude indicates the proper direction of movement, but the
derivatives are opposite, possibly causing the solution to move away from the minimum, back in the
direction of point A.
In order to use the Quasi-Newton optimizer effectively, the cost function should be based on
parameters that exhibit a smooth characteristic (little numerical noise) and a starting point of the
optimization should be chosen somewhat close to the expected minimum based on an
understanding of the physical problem being optimized. This becomes increasingly difficult,
Optimetrics 5-17
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
however, when multiple parameters are being varied or when multiple parameters are to be
optimized. In addition, the computational burden of multivariate optimization with Quasi-Newton
increases geometrically with the number of variables being optimized. As a result, this method
should only be attempted when 1 or 2 variables are being optimized as a time.
For more information regarding Quasi-Newton optimization methods, see the following reference:
Schoenberg, Ronald. Optimization with the Quasi-Newton Method. Aptech Systems, Inc. 2001.
Related Topics
If the noise is significant in the nominal project, use the Pattern Search optimizer to obtain the
results. It performs a grid-based simplex search, which makes use of simplices: triangles in 2D
space or tetrahedra in 3D space. A simplex is a Euclidean geometric spatial element having the
minimum number of boundary points, such as a line segment in one-dimensional space, a triangle
in two-dimensional space, or a tetrahedron in three-dimensional space.
The cost value is calculated at the vertices of the simplex. The optimizer mirrors the simplex across
one of its faces based on mathematical guidelines and determines if the new simplex provides
better results. If it does not produce a better result, the next face is used for mirroring and the
pattern continues. If no improvement occurs, the grid is refined. If improvement occurs, the step is
accepted and the new simplex is generated to replace the original one. The figures below illustrate
a triangular simplex mirrored several times to demonstrate the pattern search approach in two
variables and the simplices superimposed on a 2D cost function to demonstrate the convergence
toward a minimum in the cost function.
Cost functions can be quite nonlinear. As a result, during the function evaluations of the algorithm,
the cost function can vary significantly. Also, it is important to understand the relationship between
optimization function evaluation and iteration. Every iteration, depending on the number of
parameters to be optimized, performs several function evaluations. These function evaluations,
depending on how nonlinear the cost function is, could show drastic changes. The presence of
drastic changes has no bearing on whether the optimization algorithm converged or not.
In the case of non-gradient search-based optimization algorithms, such as "pattern search," which
are entirely based on function evaluations, one could see drastic changes in the function
evaluations depending on how nonlinear the cost function is. This could seem misleading as if the
algorithm did not converge since in theory one expects the cost function to decrease from one
iteration to the next. The optimetrics, however, reports function evaluations and not necessarily the
optimizer performance per iteration.
Note The MATLAB optimizer displays function evaluation when the Show all functions
evaluation check box is selected. If the check box is not selected, it displays
Optimetrics 5-18
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
iteration.
The Pattern Search algorithms are extensible to three variable optimization by using tetrahedral
simplices, however, they are not easily represented in graphical form. Generally, Pattern Search
algorithms are not used when more than three variables are used in the optimization.
Optimetrics 5-19
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
When there is no improvement in the cost function regardless of the direction the simplex is
mirrored, then the simplex is subdivided into smaller simplices and the process restarted.
Pattern Search algorithms have several advantages over Quasi-Newton algorithms. First, they are
less sensitive to noise because the cost function is evaluated at all node points on the simplex and
the numerical noise averages out over the simplex. The second advantage is that the number of
initial solutions is generally smaller. However, since the pattern search does not use gradient
information to locate the minimum the process converges more slowly toward the true minimum,
taking more steps to successively divide the simplices as the minimum is approached.
Related Topics
The main advantage of SNLP (Gradient) over Quasi Newton (Gradient) is that it handles the
optimization problem in more depth. This optimizer assumes that the optimization variables span a
continuous space. As a result, there is no Minimum Step Size specified in this optimizer and the
variables may take any value within the allowable constraints and within the numerical precision
limits of the simulator. Like Quasi Newton, the SNLP optimizer assumes that the noise is not
significant. It does reduce the effect of the noise, but the noise filtering is not strong.
Optimetrics 5-20
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The SNLP optimizer approximates the FEA characterization with Response Surfaces (RS). With
the FEA-approximation and with light evaluation of the cost function, SNLP has a good
approximation of the cost function in terms of the optimization variables. This approximation allows
the SNLP optimizer to estimate the location of improving points. The overall cost approximations
are more accurate. This allows the SNLP optimizer a faster practical convergence speed than that
of quasi Newton.
The SNLP Optimizer creates the response surface using a polynomial approximation from the FEA
simulation results available from past solutions. The response surface is most accurate in the local
vicinity. The response surface is used in the optimization loop to determine the gradients and
calculate the next step direction and distance. The response surface acts as a surrogate for the
FEA simulation, reducing the number of FEA simulations required and greatly speeding the
problem. Convergence improves as more FEA solutions are created and the response surface
approximation improves.
The SNLP method is similar to the Sequential Quadratic Programming (SQP) method in two ways:
Both are sequential, updating the optimizer state to the current optimal values and iterating.
Sequential optimization can be thought of as walking a path, step by step, toward an optimal goal.
SNLP and SQP optimizers are also similar in that both use local and inexpensive surrogates.
However, in the SNLP case, the surrogate can be of a higher order and is more generally
constrained. The goal is to achieve a surrogate model that is accurate enough on a wider scale, so
that the search procedures are well lead by the surrogate, even for relatively large steps. All
functions calculated by the supporting finite element product (for example, Maxwell 3D or HFSS) is
assumed to be expensive, while the rest of the cost calculation (for example, an extra user-defined
expression) — which is implemented in Optimetrics — is assumed to be inexpensive. For this
reason, it makes sense to remove inexpensive evaluations from the finite element problem and,
instead, implement them in Optimetrics. This optimizer holds several advantages over the Quasi
Newton and Pattern Search optimizers.
Most importantly, due to the separation of expensive and inexpensive evaluations in the cost
calculation, the SNLP optimizer is more tightly integrated with the supporting FEA tools. This tight
integration provides more insight into the optimization problem, resulting in a significantly faster
optimization process. A second advantage is that the SNLP optimizer does not require cost-
derivatives to be approximated, protecting against uncertainties (noise) in cost evaluations. In
addition to derivative-free state of the RS-based SNLP, the RS technique also proves to have
noise suppression properties.
Related Topics
The Sequential Mixed Integer Nonlinear Programming (Gradient and Discrete) optimizer is
equivalent to the SNLP (Gradient) optimizer with only one difference. Many problems require
variables take only discrete values. One example might be to optimize on the number of turns in a
Optimetrics 5-21
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
coil. To be able to optimize on number of turns or quarter turns, the optimizer must handle discrete
optimization variables. The SMINLP optimizer can mix continuous variables among the integers, or
can have only integers, and works if all variables are continuous. The setup resembles the setup for
SNLP, except that you must flag the integer variables.supporting integer variables. You can set up
internal variables based on the integer optimization variable.
For example, consider N to be an integer optimization variable. By definition it can only assume
integer values. You can establish another variable, which further depends on this one: K = 2.345 *
N, or K = sin(30 * N). This way K has a discrete value, but is not necessarily integer. Or, one can
use N directly as a design parameter.
Related Topics
Genetic Algorithm (Random Search) optimizers are part of a class of optimization techniques
called stochastic optimizers. They do not use the information from the experiment or the cost
function to determine where to further explore the design space. Instead, they use a type of
random selection and apply it in a structured manner. The random selection of evaluations to
proceed to the next generation has the advantage of allowing the optimizer to jump out of a local
minima at the expense of many random solutions which do not provide improvement toward the
optimization goal. As a result, the GA optimizer will run many more iterations and may be
prohibitively slow.
The Genetic Algorithm search is an iterative process that goes through a number of generations
(see picture below). In each generation some new individuals (Children / Number of Individuals)
are created and the grown population participates in a selection (natural-selection) process that in
turn reduces the size of the population to a desired level (Next Generation / Number of Individuals).
Optimetrics 5-22
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
When a smaller set of individuals must be created from a bigger set, the GA selects individuals from
the original set. During this process, better fit (in relation to the cost function) individuals are
preferred. In the elitist selection, simply the best so many individuals are selected, but if you turn on
the roulette selection, then the selection process gets relaxed. An iterative process starts selecting
the individuals and fills up the resulting set, but instead of selecting the best so many, we use a
roulette wheel that has for each selection-candidate divisions made proportional to the fitness level
(relative to the cost function) of the candidate. This means that the fitter the individual is, the larger
the probability of his survival will be.
Related Topics
Cost Function
MATLAB optimizer
The MATLAB optimizer option lets you pass a script to MATLAB to perform the optimization. When
the optimization is analyzed, MATLAB is launched and a script is passed in to MATLAB to perform
the optimization. During the optimization, MATLAB will call back into our application to perform the
solve and compute the cost. The cost will be reported back to MATLAB, and MATLAB's
optimization will determine the next step in the optimization.
The optimization script is specified as part of the optimization setup. By modifying the optimization
script, users can change the optimization parameters and optimization method as well as use the
full power of MATLAB in their optimization.
The MATLAB optimization is launched just like any other optimization. The Message Window will
display status messages when MATLAB is being launched, and status messages will be generated
for each solve that is being performed.
In most cases, MATLAB will terminate when the optimization has been completed. Some reasons
why MATLAB would not terminate are:
l The user has modified the MATLAB script to not terminate MATLAB after the optimization.
l A syntax error or some other has occurred.
l The user has added some other code which runs after the optimization has completed.
System Requirements
Optimetrics 5-23
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
To see if the optimization toolbox is installed, the user can type the "ver" command at the
command prompt of a running MATLAB instance, e.g.:
>> ver
--------------------------------------------------------------------
-----------------------------------
--------------------------------------------------------------------
-----------------------------------
To see if the optimization toolbox is licensed, you can use the "license('test','optimization_
toolbox')" command at the MATLAB command prompt:
>> license('test','optimization_toolbox')
ans =
The Tools>General Options:Miscellaneous tab contains a setting for the MATLAB location. This
setting must to point to the version of MATLAB to be used for performing the optimization. The
platform (32/64 bit or Linux of the specified version of MATLAB must match the platform of this
application).
Optimetrics 5-24
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
MATLAB optimization starts by creating an optimization and selecting MATLAB from the optimizer
dropdown list. If you select MATLAB as the optimizer, the Setup Optimization dialog displays a
Setup... button.
The upper text panel is informative. The Script section drop down lets you select a lower panel
display for Optimization algorithm, Options, or the Full script template.
This screen allows you to modify the script that is passed to MATLAB to perform the optimization.
The complete script contains all the instructions necessary for MATLAB to connect to our
application and perform the optimization, and a lot of that code is unimportant to users. We have
addressed this issue by displaying a dropdown to let you view only the portion of code they are
interested in without having to view the full script. The choices are:
l Optimization algorithm: displays only the line of code invoking the actual optimization
function. By changing this line, the user can use a different MATLAB function for
optimization. By default we use fmincon() which is a derivative based constrained
optimization. By modifying this line, the user could replace the fmincon() call with fminsearch
() to use an unconstrained pattern searching optimizer or another optimization function. See
the MATLAB documentation for details about available optimization functions.
l Options: Each optimization function contains a multitude of options and parameters which
are set in the MATLAB script prior to actually calling the optimization function. By modifying
these options, the optimization can be customized as desired. For instance, options can be
Optimetrics 5-25
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
set for fmincon() to specify the algorithm that it uses internally. See the MATLAB
documentation for details about options available for each optimization function.
l Full script template: This choice displays the full optimization script that is passed to
MATLAB.
The initial Script Section display for the Optimization algorithm shows the following:
% invoke optimization
You can modify the script to extend and customize the optimization to your needs. You must
ensure that the script follows MATLAB syntax. For instance, by modifying the optimization script
you can:
Symbols:
When modifying the MATLAB code, users can use symbols to represent values from the
optimization setup. The symbols and their definitions are listed below.
Optimetrics 5-26
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note The linear constraints as generated for MATLAB have the form [A][x] <= [B], where [A] is
the coefficient matrix, [x] is the variable list matrix (column vector), and [B] is the bounds
matrix (column vector).
Note While modifying the script, please ensure that the script follows MATLAB syntax.
uiwait(h)
exit
end
% set up optimization
Optimetrics 5-27
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
% uiwait(h)
returnempty = @(x)[];
% invoke optimization
[x,fval,exitflag,output] = fmincon(wrapperfunc, startingpoint, $ANS_
A_MATRIX, $ANS_B_MATRIX, [], [], $ANS_MINVAL, $ANS_MAXVAL, nlcon,
options)
Optimetrics 5-28
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Related Topics
Tools>General Options:Miscellaneous
therefore, the cost function is defined over the design space (cost(x): , where n is the
number of optimization variables.
In practice, a solution of the minimization problem is sought only on a bounded subset of the Rn
space. This subset is called the feasible domain and is defined via linear constraints.
Note l You can define more than one optimization analysis setup per design.
l You can create an Optimization setup before defining variables but all variables must
be defined before you start the Optimization analysis.
l Once you have created an optimization analysis setup, you can copy and paste it,
and then make changes to the copy, rather than redoing the whole process for minor
changes.
To provide a broad range of capability, Optimetrics incorporates the following types of numerical
optimizers:
Optimetrics 5-29
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Click on the links above to view the setup procedure for each optimizer. Options for the analysis are
listed in the table. Besides setting up an Optimization analysis from the Optimization menu, you can
also the Simulation tab of the ribbon, and select from the menu under the Optimetrics icon:
The following optional optimization solution setup options can also be used:
Note Sweeping or using a complex variable is not allowed in any optimetrics setup, including
Optimetrics 5-30
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Related Topics
Optimization Overview
Choosing an Optimizer
1. Set up the variables you want to optimize in the Design Properties dialog box.
2. Click HFSS or Q3D Extractor or 2D Extractor>Optimetrics Analysis>Add
Optimization .
3. Under the Goals tab, select the optimizer by selecting Quasi Newton (Gradient) from the
Optimizer pull-down list. Selecting Quasi Newton (Gradient) enables the Acceptable Cost
and Noise fields.
4. Type the maximum number of iterations you want Optimetrics to perform during the
optimization analysis in the Max. No. of Iterations text box.
5. Under Cost Function, add a cost function by selecting the Setup Calculations button to
open the Add/Edit Calculation dialog.
6. Type the value of the cost function at which the optimization process should stop in the
Acceptable Cost text box. Note that for Quasi Newton, if you specify 0 as the acceptable
cost, the simulation stops after the first analysis.
7. Type the cost function noise in the Noise text box.
8. If you want to select a Cost Function Norm Type:
l Check the Show Advanced Option check box.
Optimetrics 5-31
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
For L1 norm the actual cost function uses the sum of absolute weighted values of the
individual goal errors. For L2 norm (the default) the actual cost function uses the
weighted sum of squared values of the individual goal error. For the Maximum norm
the cost function uses the maximum among all the weighted goal errors. (For further
details, see Explanation of the L1, L2, and Max Norms in Optimization.)
The norm type doesn't impact goal setting that use as condition the "minimize" or
"maximize" scenarios.
9. Optionally, click the button for setting HPC and Analysis Options, which allows you to select
or create an analysis configuration.
10. In the Variables tab, specify the Min/Max values for variables included in the optimization,
and the Min/Max Step Size for the analysis.
l You may also override the variable starting values by clicking the Override check box and
entering the desired value in the Starting Value field.
l Optionally, modify the values of fixed variables that are not being optimized.
l Optionally, set Linear constraints.
l Select the View all columns check box to see all columns, including hidden columns.
11. In the General tab, specify whether Optimetrics should use the results of a previous
Parametric analysis or perform one as part of the optimization process.
Enabling the Update design parameters' value after optimization check box will
cause Optimetrics to modify the variable values in the nominal design to match the final
values from the optimization analysis.
12. Under the Options tab, if you want to save the field solution data for every solved design
variations in the optimization analysis, select Save Fields And Mesh.
Note Do not select this option when requesting a large number of iterations as the data
generated will be very large and the system may become slow due to the large I/O
requirements.
You may also select Copy geometrically equivalent meshes to reuse the mesh when
geometry changes are not required, for example when optimizing on a material property or
source excitation. This will provide some speed improvement in the overall optimization
process.
Optimetrics 5-32
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
1. Set up the variables you want to optimize in the Design Properties dialog box.
3. Under the Goals tab, select the optimizer by selecting Pattern Search (Search-based)
from the Optimizer pull-down list.
Selecting Pattern Search enables the Acceptable Cost and Noise fields.
4. Type the maximum number of iterations you want Optimetrics to perform during the
optimization analysis in the Max. No. of Iterations text box.
5. Under Cost Function, add a cost function by selecting the Setup Calculations button to
open the Add/Edit Calculation dialog.
6. Type the value of the cost function at which the optimization process should stop in the
Acceptable Cost text box.
7. Type the cost function noise in the Noise text box.
8. If you want to select a Cost Function Norm Type:
l Check the Show Advanced Option check box.
For L1 norm the actual cost function uses the sum of absolute weighted values of the
individual goal errors. For L2 norm (the default) the actual cost function uses the
Optimetrics 5-33
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
weighted sum of squared values of the individual goal error. For the Maximum norm
the cost function uses the maximum among all the weighted goal errors. (For further
details, see Explanation of the L1, L2, and Max Norms in Optimization.)
The norm type doesn't impact goal setting that use as condition the "minimize" or
"maximize" scenarios.
9. Optionally, click the button for setting HPC and Analysis Options, which allows you to select
or create an analysis configuration.
10. In the Variables tab, specify the Min/Max values for variables included in the optimization,
and the Min/Max Step Size for the analysis.
l You may also override the variable starting values by clicking the Override check box and
entering the desired value in the Starting Value field.
l Optionally, modify the values of fixed variables that are not being optimized.
l Optionally, set Linear constraints.
Select the View all columns check box to see all columns, including hidden columns.
11. In the General tab, specify whether Optimetrics should use the results of a previous
Parametric analysis or perform one as part of the optimization process.
Enabling the Update design parameters' value after optimization check box will cause
Optimetrics to modify the variable values in the nominal design to match the final values from the
optimization analysis.
12. Under the Options tab, if you want to save the field solution data for every solved design
variations in the optimization analysis, select Save Fields And Mesh.
Note Do not select this option when requesting a large number of iterations as the data
generated will be very large and the system may become slow due to the large I/O
requirements.
You may also select Copy geometrically equivalent meshes to reuse the mesh when
geometry changes are not required, for example when optimizing on a material property or
source excitation.This will provide some speed improvement in the overall optimization process.
1. Set up the variables you want to optimize in the Design Properties dialog box.
2. On the Product menu, point to Optimetrics Analysis, and then click Add Optimization
.
Optimetrics 5-34
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
3. Under the Goals tab, select the optimizer by selecting Merit-based Sequential Quadratic
Programming(Gradient) from the Optimizer pull-down list.
4. Type the maximum number of iterations you want Optimetrics to perform during the
optimization analysis in the Max. No. of Iterations text box.
5. Under Cost Function, add a cost function by selecting the Setup Calculations button to
open the Add/Edit Calculation dialog.
6. If you want to select a Cost Function Norm Type:
l Check the Show Advanced Option check box.
For L1 norm the actual cost function uses the sum of absolute weighted values of the
individual goal errors. For L2 norm (the default) the actual cost function uses the
weighted sum of squared values of the individual goal error. For the Maximum norm
the cost function uses the maximum among all the weighted goal errors. (For further
details, see Explanation of the L1, L2, and Max Norms in Optimization.)
The norm type doesn’t impact goal setting that use as condition the “minimize” or
“maximize” scenarios.
7. Optionally, click the button for setting HPC and Analysis Options, which allows you to select
or create an analysis configuration.
8. In the Variables tab, specify the Min/Max values for variables included in the optimization,
and the Min/Max Focus for the analysis.
l You may also override the variable starting values by clicking the Override check box and
entering the desired value in the Starting Value field.
l Optionally, modify the values of fixed variables that are not being optimized.
l Optionally, set Linear constraints.
l Select the View all columns check box to see all columns, including hidden columns.
9. In the General tab, specify whether Optimetrics should use the results of a previous
Parametric analysis or perform one as part of the optimization process.
Enabling the Update design parameters’ value after optimization check box will cause
Optimetrics to modify the variable values in the nominal design to match the final values from the
optimization analysis.
10. Use the Options tab if you want to enable use of a fast calculation-update algorithm to
speed up Optimetrics and report updates during Optimetrics analyses, and to save the
solution data for solved design variations in the analysis.
Optimetrics 5-35
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
1. Set up the variables you want to optimize in the Design Properties dialog box.
2. Click HFSS or Q3D Extractor or 2D Extractor>Optimetrics Analysis>Add
Optimization .
3. Under the Goals tab, select the optimizer by selecting Sequential Nonlinear
Programming (Gradient) from the Optimizer pull-down list.
4. Type the maximum number of iterations you want Optimetrics to perform during the
optimization analysis in the Max. No. of Iterations text box.
5. Under Cost Function, add a cost function by selecting the Setup Calculations button to
open the Add/Edit Calculation dialog.
6. If you want to select a Cost Function Norm Type:
l Check the Show Advanced Option check box.
For L1 norm the actual cost function uses the sum of absolute weighted values of the
individual goal errors. For L2 norm (the default) the actual cost function uses the
weighted sum of squared values of the individual goal error. For the Maximum norm
the cost function uses the maximum among all the weighted goal errors, which means
Optimetrics 5-36
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
that it is always less than zero. (For further details, see Explanation of the L1, L2,
and Max Norms in Optimization.)
The norm type doesn't impact goal setting that use as condition the "minimize" or
"maximize" scenarios.
7. Optionally, click the button for setting HPC and Analysis Options, which allows you to select
or create an analysis configuration.
8. In the Variables tab, specify the Min/Max values for variables included in the optimization,
and the Min/Max Focus for the analysis.
l You may also override the variable starting values by clicking the Override check box and
entering the desired value in the Starting Value field.
l Optionally, modify the values of fixed variables that are not being optimized.
l Optionally, set Linear constraints.
l Select the View all columns check box to see all columns, including hidden columns.
9. In the General tab, specify whether Optimetrics should use the results of a previous
Parametric analysis or perform one as part of the optimization process.
Enabling the Update design parameters' value after optimization check box will cause
Optimetrics to modify the variable values in the nominal design to match the final values from the
optimization analysis.
10. Under the Options tab, if you want to save the field solution data for every solved design
variations in the optimization analysis, select Save Fields And Mesh.
Note Do not select this option when requesting a large number of iterations as the data
generated will be very large and the system may become slow due to the large I/O
requirements.
You may also select Copy geometrically equivalent meshes to reuse the mesh when
geometry changes are not required, for example when optimizing on a material property or
source excitation.This will provide some speed improvement in the overall optimization process.
1. Set up the variables you want to optimize in the Design Properties dialog box.
2. Click HFSS or Q3D Extractor or 2D Extractor>Optimetrics Analysis> Add
Optimization .
Optimetrics 5-37
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
3. Under the Goals tab, select the optimizer by selecting Sequential Mixed Integer
Nonlinear Programming (Gradient and Discrete) from the Optimizer pull-down list.
4. Type the maximum number of iterations you want Optimetrics to perform during the
optimization analysis in the Max. No. of Iterations text box.
5. Under Cost Function, add a cost function by selecting the Setup Calculations button to
open the Add/Edit Calculation dialog.
6. If you want to select a Cost Function Norm Type:
l Check the Show Advanced Option check box.
For L1 norm the actual cost function uses the sum of absolute weighted values of the
individual goal errors. For L2 norm (the default) the actual cost function uses the
weighted sum of squared values of the individual goal error. For the Maximum norm
the cost function uses the maximum among all the weighted goal errors. (For further
details, see Explanation of the L1, L2, and Max Norms in Optimization.)
The norm type doesn't impact goal setting that use as condition the "minimize" or
"maximize" scenarios.
7. Optionally, click the button for setting HPC and Analysis Options, which allows you to select
or create an analysis configuration.
8. In the Variables tab, specify the Min/Max values for variables included in the optimization,
and the Min/Max Focus for the analysis.
l Check the Integer box for integer variables.
l You may also override the variable starting values by clicking the Override check box and
entering the desired value in the Starting Value field.
l Optionally, modify the values of fixed variables that are not being optimized.
Optimetrics 5-38
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Enabling the Update design parameters' value after optimization check box will cause
Optimetrics to modify the variable values in the nominal design to match the final values from the
optimization analysis.
10. Under the Options tab, if you want to save the field solution data for every solved design
variations in the optimization analysis, select Save Fields And Mesh.
Note Do not select this option when requesting a large number of iterations as the data
generated will be very large and the system may become slow due to the large I/O
requirements.
You may also select Copy geometrically equivalent meshes to reuse the mesh when
geometry changes are not required, for example when optimizing on a material property or
source excitation.This will provide some speed improvement in the overall optimization process.
1. Set up the variables you want to optimize in the Design Properties dialog box.
2. Click HFSS or Q3D Extractor or 2D Extractor>Optimetrics Analysis>Add
Optimization .
3. Under the Goals tab, select the optimizer by selecting Genetic Algorithm(Random
search) from the Optimizer pull-down list.
Optimetrics 5-39
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
4. Click the Setup... button to modify the Advanced Genetic Algorithm Optimizer Options.
5. Under Cost Function, add a cost function by selecting the Setup Calculations button to
open the Add/Edit Calculation dialog.
6. If you want to select a Cost Function Norm Type:
l Check the Show Advanced Option check box.
For L1 norm the actual cost function uses the sum of absolute weighted values of the
individual goal errors. For L2 norm (the default) the actual cost function uses the
weighted sum of squared values of the individual goal error. For the Maximum norm
the cost function uses the maximum among all the weighted goal errors. (For further
details, see Explanation of the L1, L2, and Max Norms in Optimization.)
The norm type doesn't impact goal setting that use as condition the "minimize" or
"maximize" scenarios.
7. Optionally, click the button for setting HPC and Analysis Options, which allows you to select
or create an analysis configuration.
8. In the Variables tab, specify the Min/Max values for variables included in the optimization,
and the Min/Max Focus for the analysis.
l You may also override the variable starting values by clicking the Override check box and
entering the desired value in the Starting Value field.
l Optionally, modify the values of fixed variables that are not being optimized.
l Optionally, set Linear constraints.
l Select the View all columns check box to see all columns, including hidden columns.
9. In the General tab, specify whether Optimetrics should use the results of a previous
Parametric analysis or perform one as part of the optimization process.
Enabling the Update design parameters' value after optimization check box will cause
Optimetrics to modify the variable values in the nominal design to match the final values from the
optimization analysis.
10. Under the Options tab, if you want to save the field solution data for every solved design
variations in the optimization analysis, select Save Fields And Mesh.
Note Do not select this option when requesting a large number of iterations as the data
generated will be very large and the system may become slow due to the large I/O
requirements.
Optimetrics 5-40
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
You may also select Copy geometrically equivalent meshes to reuse the mesh when
geometry changes are not required, for example when optimizing on a material property or
source excitation.This will provide some speed improvement in the overall optimization process.
1. Set up the variables you want to optimize in the Design Properties dialog box.
2. On the menu, point to Optimetrics Analysis, and then click Add Optimization.
3. Under the Goals tab, select the optimizer by selecting MATLAB from the Optimizer pull-
down list. Selecting MATLAB enables the Acceptable Cost and Noise fields.
4. Click the Setup... button to modify the MATLAB Optimizer Options.
5. Type the maximum number of iterations you want Optimetrics to perform during the
optimization analysis in the Max. No. of Iterations text box.
6. Under Cost Function, add a cost function by selecting the Setup Calculations button to open
the Add/Edit Calculation dialog.
7. Type the value of the cost function at which the optimization process should stop in the
Acceptable Cost text box.
8. Type the cost function noise in the Noise text box.
9. If you want to select a Cost Function Norm Type:
l Check the Show Advanced Option check box.
For L1 norm the actual cost function uses the sum of absolute weighted values of the
individual goal errors. For L2 norm (the default) the actual cost function uses the
weighted sum of squared values of the individual goal error. For the Maximum norm
the cost function uses the maximum among all the weighted goal errors. (For further
details, see Explanation of the L1, L2, and Max Norms in Optimization.)
The norm type doesn’t impact goal setting that use as condition the “minimize” or
“maximize” scenarios.
10. Optionally, click the button for setting HPC and Analysis Options, which allows you to select
or create an analysis configuration.
Optimetrics 5-41
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
11. In the Variables tab, specify the Min/Max values for variables included in the optimization,
and the Min/Max Focus for the analysis.
l You may also override the variable starting values by clicking the Override check box and
entering the desired value in the Starting Value field.
l Optionally, modify the values of fixed variables that are not being optimized.
l Optionally, set Linear constraints.
l Select the View all columns check box to see all columns, including hidden columns.
12. In the General tab, specify whether Optimetrics should use the results of a previous
Parametric analysis or perform one as part of the optimization process.
Enabling the Update design parameters’ value after optimization check box will cause
Optimetrics to modify the variable values in the nominal design to match the final values from the
optimization analysis.
13. Under the Options tab, if you want to save the field solution data for every solved design
variations in the optimization analysis, select Save Fields And Mesh.
Note Do not select this option when requesting a large number of iterations as the data
generated will be very large and the system may become slow due to the large I/O
requirements.
You may also select Copy geometrically equivalent meshes to reuse the mesh when
geometry changes are not required, for example when optimizing on a material property or
source excitation.This will provide some speed improvement in the overall optimization process.
If the maximum number of iterations has not been reached, the optimizer performs iterations until
the acceptable cost function is reached or until the optimizer cannot proceed as a result of other
optimization setup constraints, such as when it searches for a variable value with a step size
smaller than the minimum step size.
Note The Genetic Algorithm optimizer does not use the Max. No. of Iterations criteria.
l Under the Goals tab of the Setup Optimization dialog box, type a value in the Max. No. of
Iterations text box.
Optimetrics 5-42
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Related Topics
Cost Function
Optimetrics manipulates the model's design variable values to find the minimum location of the cost
function; therefore, you should define the cost function so that a minimum location is also the
optimum location. For example, if you vary a design to find the maximum transmission from Wave
Port 1 to Wave Port 2 (S21=>1), define the cost function to be -mag(S(WavePort2,WavePort1)).
When using the Quasi Newton optimizer, which is appropriate for designs that are not sensitive to
noise, the best cost function is a smooth, second-order function that can be approximated well by
quadratics in the vicinity of the minimum; the slope of the cost function should decrease as
Optimetrics approaches the optimum value. The preferred cost function takes values between 0
and 1. In practice, most functions that are smooth around the minimum are acceptable as cost
functions. Most importantly, the cost function should not have a sharp dip or pole at the minimum. A
well designed cost function can significantly reduce the optimization process time.
The cost function is defined in the Setup Optimization dialog box or the Design of Experiments
setup when you set up an optimization analysis. If you know the exact syntax of the solution
quantity on which you want to base the cost function, you can type it directly in the Calculation text
box. You can also use Setup Calculations to add a solution quantity via the Add/Edit
Calculation dialog box, or to create an output variable that represents the solution quantity in the
Output Variables dialog box.
Related Topics
Acceptable Cost
Linear Constraints
Goal Weight
Step Size
Optimetrics 5-43
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Acceptable Cost
The acceptable cost is the value of the cost function at which the optimization process should stop;
otherwise known as the stopping criterion.The cost function value must be equal to or below the
acceptable cost value for the optimization analysis to stop. The acceptable cost may be a negative
value.
Related Topics
Cost Function
The numerical calculation of the electromagnetic field introduces various sources of noise to the
cost function, particularly because of changes in the finite element mesh. You must provide the
optimizer with an estimate of the noise. The noise indicates whether a change during the solution
process is significant enough to support achievement of the cost function.
where |S11| is the magnitude of the reflection coefficient, at the minimum, |S11| is expected to be
very small, .
From the solution setup, the error in |S11| is expected to be . The perturbed cost
function is therefore
Optimetrics 5-44
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Related Topics
Cost Function
A cost function can include one or more goals for an optimization analysis. Optimetrics manipulates
the model's design variable values to fulfill the cost function. The optimization will stop when the
solution quantity meets the acceptable cost criterion.
Following is the general procedure for adding a cost function with a single goal:
1. Under the Goals tab of the Setup Optimization dialog box or the Design of Experiments
dialog, click Setup Calculations...
2. In the Add/Edit Calculation dialog box, follow these general steps to set up a cost function.
a. Set the Context for the calculation.
b. Choose the Category of available data type depending upon the Solution type of the
design being optimized.
c. Select the Quantity to add to the Calculated Expression field. Available quantities
depend upon the Category selection.
d. You may optionally make a selection from the function list to apply to the calculated
expression.
e. When the Calculation Expression has the desired equation, click Add Calculation to
add the expression to the cost function table.
f. Repeat to add additional calculations to the cost function or click Done to exit the
Add/Edit Calculation dialog box and return to Setup Optimization.
3. To modify the Solution on which the calculation is based, click in the Solution column and
select the solution from which the cost function is to be extracted from the pull-down list.
4. To edit the calculation on which to base the cost function goal, select Edit from the pull-down
list.
5. In the Condition text box, click one of the following conditions from the pull-down list:
6. In the Goal text box, type the value of the solution quantity that you want to be achieved
during the optimization analysis. If the solution quantity is a complex calculation, the goal
Optimetrics 5-45
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
value must be complex; two goal values must be specified. The Minimize and Maximize
options do not require you to specify a Goal value.
When Minimize is used as an optimization condition, the value of calculation is used as the cost
(there is no target value to compare to). For maximize, the negative of calculation value is used
as cost.
7. Optionally, if you have multiple goals and want to assign higher or lower priority to a goal,
type a different value for the goal's weight in the Weight text box. The goal with the greater
weight is given more importance. If the goal is a complex value, the weight value must be
complex; two weight values must be specified. The weight value cannot be variable
dependent.
Note Click the Edit Goal/Weight button to open the Edit Goal Value/Weight dialog box
where you can modify weights for all goals simultaneously; as well as, set the Goal
Values to expressions.
8. Specify other options (such as acceptable cost, noise, and number of passes), and then click
OK.
The optimization stops when the solution quantity meets the acceptable cost criterion.
Related Topics
Cost Function
Acceptable Cost
Goal Weight
When setting up a cost function, you must identify the solution quantity on which to base each goal.
Solution quantities are specified by mathematical expressions that are composed of basic
quantities, such as matrix parameters, and output variables.
b. In the Solution column, click the solution from which the cost function is to be extracted.
2. In the Solution text box, click the solution from which the solution quantity is to be extracted.
3. In the Calculation text box, specify the solution quantity in one of the following ways:
Optimetrics 5-46
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l If you know the syntax of the mathematical expression or the output variable's name, type
it in the Calculation text box.
l If you want to create an output variable that represents the solution quantity, do the
following:
a. Click Edit Calculation.
In the Setup Optimization dialog box, the most recently created output variable
appears in the Calculation text box.
d. To specify a different defined output variable, click the Calculation text box. It becomes
a pull-down list that displays all of the defined output variables. Click an output variable
from the pull-down list.
The calculation range is the range within which you want a cost function goal to be calculated. It
can be a single value or a range of values, depending on the solution or solution quantity selected
for the goal.
1. Under the Goals tab in the Setup Optimization dialog box, click Edit Cal. Range.
2. In the Variable pull-down list, click a variable.
If you chose to solve a parametric setup during the optimization analysis, the variables swept in
that parametric setup are available in the Variable pull-down list. If you sweep a variable in the
parametric setup that is also being optimized, that variable is excluded from the optimization.
3. After you select a variable from the Variable pull-down list, you can select a range of values
for the calculation range as follows:
a. Select Range.
b. In the Start text box, type the starting value of the range.
c. In the Stop text box, type the final value of the range.
4. To select a single value for the calculation range:
a. Select Single Value.
b. In the Value text box, type the value of the variable at which the cost function goal is to be
extracted.
5. Click Update, and then click OK.
Optimetrics 5-47
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The Add/Edit Calculation dialog box allows you to define the mathematical equation for one or
multiple cost functions. It represents the calculation to be performed on the optimization variables
to compare to the goal values. To set up a calculation for a cost function:
Related Topics
A goal is the value you want a solution quantity to reach during an optimization analysis. It can be a
real value or a complex value. If the solution quantity is a complex calculation, the goal value must
Optimetrics 5-48
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
be complex. You can type the goal value in the Goal text box. Alternatively, you can use the Edit
Goal/Value Weight dialog box to specify the goal value as a single value, a mathematical
expression, or a value dependent on a variable such as frequency.
Related Topics
1. Under the Goals tab in the Setup Optimization dialog box, click Edit Goal/Weight.
2. Under the Goal Value tab, click Simple Numeric Value from the Type list.
3. If the goal value is complex, click real/imag in the pull-down list to the right if you want to
specify the real and imaginary parts of the goal value.
Alternatively, click mag/ang if you want to specify the magnitude and angle of the goal value.
If the goal value is complex, type both parts of the goal value in the text box below the Goal
Value heading. For example, type 1, 1 to specify the real part of the goal value as 1 and the
imaginary part as 1.
If the goal value is real, type a real goal value in the text box below the Goal Value heading.
5. Click OK.
The goal value you specified appears in the Goal text box.
1. Under the Goals tab in the Setup Optimization dialog box, click Edit Goal/Weight.
2. Under the Goal Value tab, click Expression from the Type list.
3. If you know the syntax of the mathematical expression or the existing output variable's name,
type it in the text box below the Goal Value heading.
Alternatively, if you want to create an output variable that represents the goal value, do the
following:
Optimetrics 5-49
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
b. Add the expression you want to be the goal value, and then click Done.
The most recently created output variable is entered in the text box below the Goal Value
heading.
4. Click OK.
The goal value you specified appears in the Goal text box.
1. Under the Goals tab in the Setup Optimization dialog box, click Edit Goal/Weight.
2. Under the Goal Value tab, click Variable Dependent from the Type list.
3. Click a variable from the pull-down list to the left of the table.
4. Type the value of that variable in the first column of the table.
Warning Variable values must be single real numbers, or expressions that evaluate to
single real numbers. Complex numbers cannot be used as the values of
variables in any optimetric analysis.
5. Type a corresponding goal value for that variable value in the text box below the Goal Value
heading.
6. Click Add to add another row to the reference curve.
7. Repeat steps 4, 5, and 6 until you have specified the reference curve.
8. Click OK.
The goal value is listed as being variable dependent in the Goal text box.
Goal Weight
If an optimization setup has a cost function made up of multiple goals, you can assign a different
weight to each goal. The goal with the greater weight is given more importance during the cost
calculation.
The error function value is a weighted sum of the sub-goal errors. Each sub-goal, at each
frequency at which it is evaluated, gives rise to a (positive) error value that represents the
discrepancy between the simulated response and the goal value limit. If the response satisfies the
goal value limit, then the error value is 0. Otherwise, the error value depends on the differences
between the simulated response and the respective goal limit. The error function may be defined
as follows:
Optimetrics 5-50
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
where
The value of ei is determined by the band characteristics, target value, and the simulated response
value. The choices for band characteristics are <=, =, and >=.
<=
>=
If the total error value is within the acceptable cost, the optimization stops.
Optimetrics 5-51
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Related Topics
Cost Function
Note If you choose to solve a parametric setup before an optimization analysis, a variable's
starting value is ignored if a more appropriate starting value is calculated for it during the
parametric analysis.
All of the variables that were selected for the optimization analysis are listed.
2. Type a new value in the Starting Value text box for the value you want to override, and then
press Enter.
The Override option is now selected. This indicates that the value you entered is used for this
optimization analysis, and the current value set for the nominal model is ignored.
l Alternatively, you can select the Override option first, and then type a new variable value
in the Starting Value text box.
3. Optionally, click a new unit system in one of the Units text boxes.
Note To revert to the default starting value, clear the Override check box.
Related Topics
Step Size
Optimetrics 5-52
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Warning Variable values must be single real numbers, or expressions that evaluate to single real
numbers. Complex numbers cannot be used as the values of variables in any
Optimetrics analysis.
Related Topics
Override the default min and max variable values for a single optimization setup.
Change the default min and max variable values for every optimization setup.
In the Setup Optimization dialog, you can enter the Calc. Range Sweep Min/Max by directly
editing the Calc. Range field or by accessing an Edit Calculation Range dialog.
l editable sweep, which allows you to customize values (that is a sweep that has an enabled
"edited" radio button in sweep selection dialog):
The min/max is used on top of selected values. For example, if you use the sweep
dialog and choose "0 deg, 60 deg, 180 deg, 240 deg", then [60deg, 240deg] will select
values "60 deg, 180 deg, 240 deg".
Optimetrics 5-53
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
If you click Edit.. on the menu, you see the Edit Calculation Range dialog. Click on the ellipsis [...]
button to select radio buttons for Use all values, Select Values or Specify range.
This example shows that when you specify a range, how the range appears in the Calc. Range
field.
Optimetrics 5-54
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
You could also enter the range directly in the Cal. Range field.
Overriding the Min. and Max. Variable Values for a Single Optimization Setup
All of the variables that were selected for optimization analysis are listed.
2. Type a new value in the Min or Max text box for the value you want to override, and then
press Enter.
The Override option is now selected. This indicates that the value you entered is used for this
optimization analysis; the variable's current Min or Max value in the nominal design is ignored.
l Alternatively, you can select the Override option first, and then type a new value in the
Min or Max text box.
3. Optionally, click a new unit system in one of the Units text boxes.
To revert to the default minimum and maximum values, clear the Override option.
Changing the Min. and Max. Variable Values for Every Optimization Setup
1. Make sure that the variable's minimum and maximum values are not being overridden in any
single optimization setup.
2. If the variable is a design variable, do the following: Click HFSS>Design Properties.
Optimetrics 5-55
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
3. Select Optimization.
4. Type a new value in the Min or Max text box for the value you want to override, and then
press Enter.
5. Click OK.
When Optimetrics solves an optimization setup, it does not consider variable values that lie
outside of this range.
Step Size
To make the search for the minimum cost value reasonable, the search algorithm is limited in two
ways. First, you do not want the optimizer to continue the search if the step size becomes irrelevant
or small. This limitation impacts the accuracy of the final optimum. Second, in some cases you do
not want the optimizer to take large steps either. In case the cost function is suspected to possess
large variations in a relatively small vicinity of the design space, large steps may result in too many
trial steps, which do not improve the cost value. In these cases, it is safer to proceed with limited
size steps and have more frequent improvements.
For these two limitations, the optimizer uses two independent distance measures. Both are based
on user-defined quantities: the minimum and maximum step limits for individual optimization
variables. Since the particular step is in a general direction, these measures are combined together
in order to derive the limitation for that particular direction.
The step vector between the ith and (i+1)th iterate is as follows:
A more general distance measure incorporates some "stretching" of the design space:,
Optimetrics 5-56
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
where the matrix D incorporates the linear operation of the stretching of design space. The
simplest case is when the D matrix is diagonal, meaning that the design space is stretched along
the orthogonal direction of the base vectors.
equal to the inverse of the Min. Step value assigned to the corresponding optimization variable.
Similarly the optimizer truncates steps for which
where Dmax has diagonal elements equal to the inverse of Max. Step values of the corresponding
optimization variables.
Related Topics
Cost Function
For the Quasi Newton and Pattern Search optimizers, the step size is the difference in a variable's
value between one solved design variation and the next. The step size is determined when
Optimetrics locates the next design variation that should be solved in an effort to meet the cost
function.
Optimetrics 5-57
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Related Topics
Step Size
The optimizer seeks optimal values for the optimization variables. These variables are usually
quantities with specified units. The change in one variable could be measured in [mm] and the
change in other variable could be measured in [mA]. Instead of those units, the optimizer uses
internal abstract units, so that a change in one variable changes the design behavior about as
much as the same change in another variable, where changes are measured in the respective
internal abstract units. When you define the focus box, the unit of the abstract internal unit is
Optimetrics 5-58
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
defined as the difference of the upper and lower focus limits. This way you can use the focus box to
equalize the influence of different optimization variables on the design behavior.
If you do not have an initial guess based on your knowledge of the problem, make the focus box
equal to the domain; that is, the physical limits. This tells SNLP to search the entire decision
space.
l In the Min. Focus text box, type the minimum value of the focus range. Optionally, modify
the unit system in the Units text box.
l In the Max. Focus text box, type the maximum value of the focus range. Optionally,
modify the unit system in the Units text box.
3. Click OK.
Note The parametric setup must include sweep definitions for the variables you are
optimizing.
If the parametric setup has not yet been solved, Optimetrics solves it. Optimetrics uses the cost
value evaluated at each parametric design variation to determine the next step in the optimization
analysis. This enables you to guide the direction in which the optimizer searches for the optimal
design variation.
Related Topics
Optimetrics 5-59
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
function goal could then depend on the value of the variable swept in the parametric setup.
When optimization is complete, the current variable value for each optimized variable is
changed to the optimal value.
Related Topics
Cost Function
Optimetrics 5-60
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
When you set multiple goals for an optimization, the question arises as to what is actually going to
drive the optimizer which is not a multi-objective one. The cost function will have a lot to do with it.
The following discussion explains how the cost function is put together when there are multiple
goals.
The general goal setting structure in Optimetrics is a logical sentence with the format:
The cost function that the optimizer uses is built based on the norm setting as long as there are
multiple goals and none of those use the "minimize" or "maximize" conditions. Thus, in this case the
error associated with each individual goal (weighted) is combined in a way that is specific for each
norm type chosen.
For L1 norm the actual cost function uses the sum of absolute weighted values of the individual
goal errors:
For L2 norm the actual cost function uses the weighted sum of absolute values of the individual
goal errors.
For the Maximum norm the cost function uses the maximum among all the weighted goal errors,
which means that cost is always less than zero:
For all the above situations N is the number of individual goals wiεi are individual weighting factors
and residual error respectively. A minimization of the cost function is performed during optimization
since it makes sense to minimize the error in the sense of the chosen norm type.
Optimetrics 5-61
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The graphical representation of the error is possible and depends upon the actual condition being
used. If a "<" condition is used, the error can be represented as below:
If a "=" condition is used, the error is double-sided and can be represented as below:
The norm type doesn't impact goal setting that use as condition the "minimize" or "maximize"
scenarios. Note that when using "minimize" or "maximize" settings for the condition there should be
a single goal setting which in this case coincides with the cost function.
Related Topics
Cost Function
Optimetrics 5-62
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
As an example of a more sophisticated cost function, consider the figure. It belongs to a connector
simulated in HFSS with more than four ports.
The cost function given here concentrates only on a signal sent into port in_1. Suppose the
specifications to be met are: reflection, backward cross talk and forward cross talk all smaller than
or equal to -20 dB, of which the forward cross talk is the most important.
The first three entries in the cost function enforce those specifications, with the weight for the
forward cross talk being a larger number than the other weights. The actual values for the weights
are somewhat arbitrary and serve as examples only. For this cost function, as long as
specifications are not met, the optimizer puts the most effort in getting the forward cross talk close
to its specification. Once the three specifications have been satisfied, their contributions to the cost
function become zero, and only the fourth entry remains. Remember that the connector has more
than four ports, so satisfying the given specs does not guarantee maximum transmission.
The fourth line tries to maximize the transmission by asking for S(out_1, in_1) to be 0 dB. That will
never be reached, but its presence forces the optimizer to improve the connector a bit beyond the
specifications.
The cost function norm type specifies how the four lines are combined into one cost function with
one value. With L1 and L2, all four contribute simultaneously, rather than only the largest of the four
at any one time.
Related Topics
Cost Function
Optimetrics 5-63
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
If you select the Genetic Algorithm for an Optimization analysis, a Setup button is enabled on the
Setup Optimization page.
1. Click the Setup button to open the Advanced Genetic Algorithm Optimizer Options
dialog.
2. Select the Stopping Criteria. Any of the three following, or any combination of these can be
selected.
l Maximum number of generations. If checked, this enables a value field.
l Elapsed time. If checked, this enables a drop down menu with times ranging from five
minutes to two weeks.
l Slow convergence.
3. Specify the Parents.
The first step towards mating is a selection process that determines the participating individuals.
Potential parents are selected from the Current Generation. This is a set of individuals that is
always a subset of the current generation.
l Number of individuals value field -- specify the number of parents for the optimizer to
use. You can set the Number of Individuals to less than or equal to the size of the "Current
Generation". One reason to consider fewer parents than the possible maximum is to steer
the GA towards improvement by selecting the better portion of the current generation to
be able to mate.
l Roulette selection check box -- if checked, this enables the Selection pressure value
field. This number defines how many times more probable is the selection of the best
individual over the worst individual in an elementary spin of the roulette wheel.
4. Specify the Mating pool.
The Mating pool is created by selecting randomly from the parents, but with each selection, the
parent gets "cloned" so it can be selected again and again.
l Number of individuals field -- specify the number individuals to include in the mating
pool.
l Reproduction setup-- this button opens the Genetic Algorithm Optimizer
Reproduction Setup dialog.
5. Click the Reproduction setup button for the dialog to specify the Crossover setup, and the
Mutation setup.
Optimetrics 5-64
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The crossover and mutation operator have different roles: Crossover mixes "features" of the
parents in a new combination, while mutation slightly alters the "features" of the individuals.
Both need to be present in a GA. The crossover is a way to discover new combinations while
the mutation acts as a local search or fine-tuning step. Mutation also keeps diversity in a
population, which is a must for GA.
The crossover operator has two steps. It first alters the variable values of the parents according
to a distribution. This tends to produce one child that looks a lot like one parent, and one child
that looks a lot like the other parent. Next, some of the variable values of the two children can be
exchanged in order to achieve more variation.
a. Individual Crossover Probability determines, for each pair in the mating pool, the
probability that their features will be mixed. Usually, this probability should be close or
equal to one. If you set it to less than one, some parents will produce two children which
are exact clones of the parents. This means that some children inherit all the features of
their parents unchanged.
b. Parents often have multiple variables. If the parent is a candidate for mixing, the
Variable Crossover Probability determines, for each variable, the probability of
mixing. This is usually set high to ensure that most or all variables mix.
c. Variable Exchange Probability: After the slight change in the variable values has
been made, the crossover operation is also able to exchange the values of the variables
between the two children that are being constructed. The Variable Exchange Probability
governs the likelihood of exchange of any variable.
d. Mu is a general parameter defining the sharpness of the distribution that might be used
for the Variable Crossover Probability. Mu should be greater than one. There is no
theoretical upper limit, but we recommend not exceeding 30.
6. Select one of the four Crossover types from the drop-down menu.
Mu
Optimetrics 5-65
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
7. Select the Mutation type--this can be one of three types, which you select from a drop-
down menu.
l Uniform Distribution
l Gaussian Distribution
l Polynomial Mutation.
8. For the selected mutation type, set the following parameters:
l Uniform Mutation Probability: If this is more than zero (recommendation is to have still
a small probability here), then there will be some children whose features are simply a
completely random design (design variables randomly selected over the domain).
l Individual Mutation Probability controls, for each child, the likelihood of a mild
mutation.
l Variable Mutation Probability. If the child will be mutated, this probability controls at the
variable level the likelihood of a mutation of the variables.
l Standard Deviation is the standard deviation of the selected distribution that is being
used for the mutation and it is measured relatively to the optimization-domain.
9. When you have completed the Reproduction setup in the Genetic Algorithm Optimizer
Reproduction Setup dialog, click OK to close it and return to the Advanced Genetic
Algorithm Optimizer Options dialog.
10. In the Advanced Genetic Algorithm Optimizer Options dialog, specify the children as a
Number of Individuals.
11. Set the Pareto Front value.
This is the number of the very best individuals (identified relative to the cost function) to keep for
future generations.
12. Set the Next Generation parameters. The Next Generation is selected from the Parents, the
children, and the Pareto front.
l Number of individuals value field -- specify the number of individuals to survive to form
the next generation for the optimizer to use.
l Roulette selection check box -- if checked, this enables the Selection pressure value
field. This number defines how many times more probable is the selection of the best
individual over the worst individual in an elementary spin of the roulette wheel.
13. Click OK to accept the settings for the Genetic Algorithm and to close the dialog.
Related Topics
Optimization Overview
Acceptable Cost
Optimetrics 5-66
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Choosing an Optimizer
When Optimetrics performs a sensitivity analysis, its goal is to calculate the second-order
regression polynomials for all of the design's output parameters. The algorithm first determines an
appropriate interval for each variable. The intervals are further sub-divided according to the
available number of iterations and variables. If the master output is not used, the specified initial
displacement values define those intervals.
When all of the design calculations are complete, the second-order polynomials are fitted for all the
output parameters. Optimetrics then reports the following quantities:
Related Topics
Related Topics
Optimetrics 5-67
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
1. Before a variable can be included in a sensitivity analysis, you must specify that you intend
for it to be used during a sensitivity analysis in the DesignProperties dialog box.
2. Click HFSS or Q3D Extractor or 2D Extractor>Optimetrics Analysis>Add
Sensitivity . You can also select the Simulation tab in the ribbon, and select
Parametric from the drop down menu under the Optimetrics icon:
3. Under the Calculations tab, type the maximum number of iterations per variable value that
you want the software to perform in the Max. No. of Iterations/Sensitivity Variable text
box.
4. Set up an output parameter calculation and select a Master Output
5. Specify the value of the design point at which the sensitivity analysis should stop in the
Approximate Error in Master Output text box.
6. In the Variables tab, specify the Min/Max values for variables included in the optimization,
and the Initial Displacement (Initial Disp.) for the analysis.
You may also override the variable starting values by clicking the Override check box and
entering the desired value in the Starting Value field.
7. In the General tab, specify whether Optimetrics should use the results of a previous
Parametric analysis or perform one as part of the optimization process.
Optimetrics 5-68
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Checking the Optional Worst Case Analysis option does an extreme value analysis that
focuses on the upper and lower boundaries of all the analyzed parameters. Some setup is
required before performing Worst Case Analysis.
8. Under the Options tab, if you want to save the field solution data for every solved design
variations in the optimization analysis, select Save Fields And Mesh.
Note Do not select this option when requesting a large number of iterations as the data
generated will be very large and the system may become slow due to the large I/O
requirements.
You may also select Copy geometrically equivalent meshes to reuse the mesh when
geometry changes are not required, for example when optimizing on a material property or
source excitation.This will provide some speed improvement in the overall optimization process.
The following optional sensitivity analysis setup options can also be used:
Note Sweeping or using a complex variable is not allowed in any optimetrics setup, including
optimization, statistical, sensitivity, and tuning setups.
Related Topics
Optimetrics 5-69
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
result of other sensitivity setup constraints, such as when it searches for a variable value that is
larger than the maximum value.
l Under the Calculations tab of the Setup Sensitivity Analysis dialog box, type a value in
the Max. No. of Iterations/Sensitivity Variable text box.
Related Topics
1. Under the Calculations tab of the Setup Sensitivity Analysis dialog box, click Setup
Calculations to open the Add/Edit Calculations dialog box.
2. In the Add/Edit Calculations dialog box, set up output parameter calculations to be
evaluated for sensitivity.
3. To modify the solution from which the output parameter is to be extracted, click in the
Solution column and select from the options in the pop-up list.
4. You can modify the Calculation specified by clicking on the output parameter in the table and
selecting Edit.
5. For output parameters based on swept variable, you must choose a single value in the
Calculation Range at which to evaluate the output parameter.
6. If the output parameter is based on a swept variable, in the Calculation Range column, set
the value of the variable at which the output parameter is to be computed.
7. If you have more than one output parameter, select Master Output if you want Optimetrics
to use the output parameter to base its selection of solved design variations.
Note During a sensitivity analysis, the design variations that Optimetrics selects to solve
are close to the design point, but not so close that numerical noise (from the finite
element mesh) affects the analysis. The algorithm that Optimetrics uses to determine
the design variations to solve must be based on only one output parameter and that
output parameter's numerical noise. If you have defined more than one output
parameter, be sure to select Master Output for the output variable on which you
want the selection of design variations to be based.
Related Topics
Optimetrics 5-70
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
When setting up an output parameter, you must identify the solution quantity on which to base the
output parameter. Solution quantities are specified by mathematical expressions that are
composed of basic quantities, such as matrix parameters; and output variables.
The Add/Edit Calculation dialog box allows you to define the mathematical equation for one or
multiple output parameters. To set up an output parameter:
Note The solution quantity you specify must be able to be evaluated to a single, real
Optimetrics 5-71
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
number.
Related Topics
The calculation range of a solution quantity determines the intrinsic variable value at which the
solution quantity is to be extracted. For a sensitivity setup, the calculation range must be a single
value. If you specified that the solution quantity be extracted from a frequency sweep solution, by
default, Optimetrics uses the starting frequency in the sweep. If you specified that the solution be
extracted from the last adaptive solution, Optimetrics uses the adaptive frequency defined in the
solution setup.
1. Under the Calculations tab of the Setup Sensitivity Analysis dialog box, click in the
Calculation Range column of the table for the calculation to be modified.
If you choose to solve a parametric setup during the sensitivity analysis, the variables swept
in that parametric setup are available in the pop-up list dialog box. If you sweep a variable in
the parametric setup that is also a sensitivity variable, that variable is excluded from the
sensitivity analysis.
3. Click on the value for the calculation range in the list and dismiss the pop-up dialog box.
4. Click OKin the Edit Calculation Range dialog box to accept the new value for the intrinsic
variable, and return to the Setup Sensitivity Analysis dialog box.
Related Topics
Warning Variable values must be single real numbers, or expressions that evaluate to single real
numbers. Complex numbers cannot be used as the values of variables in any
optimetric analysis.
Optimetrics 5-72
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
1. In the Setup Sensitivity Analysis dialog box, click the Variables tab.
All of the variables that were selected for the sensitivity analysis are listed.
2. Type a new value in the Starting Value text box for the value you want to override, and then
press Enter.
The Override option is now selected. This indicates that the value you entered is to be used for
this sensitivity analysis; the current value set for the nominal model will be ignored.
l Alternatively, you can select the Override option first, and then type a new variable value
in the Starting Value text box.
3. Optionally, click a new unit system in one of the Units text boxes.
Related Topics
Warning Variable values must be single real numbers, or expressions that evaluate to single real
numbers. Complex numbers cannot be used as the values of variables in any
optimetric analysis.
Related Topics
Override the default minimum and maximum variable values for a single sensitivity setup.
Change the default minimum and maximum variable values for every sensitivity setup.
Overriding the Min. and Max. Variable Values for a Single Sensitivity Setup
1. In the Setup Sensitivity Analysis dialog box, click the Variables tab.
All of the variables that were selected for sensitivity analysis are listed.
2. Type a new value in the Min or Max text box for the value you want to override, and then
press Enter.
Optimetrics 5-73
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The Override option is now selected. This indicates that the value you entered is to be used for
this sensitivity analysis; the variable's current Min or Max value set in the nominal design is
ignored.
l Alternatively, you can select the Override option first, and then type a new value in the
Min or Max text box.
3. Optionally, click a new unit system in one of the Units text boxes.
To revert to the default minimum and maximum values, clear the Override option.
Related Topics
Changing the Min. and Max. Variable Values for Every Sensitivity Setup
1. Make sure the variable's minimum and maximum values are not being overridden in any
sensitivity setup.
2. If the variable is a design variable, do the following: Click HFSS>Design Properties.
3. Select Sensitivity.
4. Type a new value in the Min or Max text box for the value you want to override, and then
press Enter.
When Optimetrics solves a sensitivity setup, it does not consider variable values that lie outside
of this range.
Related Topics
1. In the Setup Sensitivity Analysis dialog box, click the Variables tab.
2. Optimetrics displays the Initial Disp. column, with default values for each sensitivity
variable.
3. In the Initial Disp. text box, type the initial displacement value. Optionally, modify the unit
system in the Units text box.
Optimetrics 5-74
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Related Topics
1. In the Setup Sensitivity Analysis dialog box, click the General tab.
2. Click the parametric setup you want Optimetrics to solve before the sensitivity setup from the
Parametric Analysis pull-down list.
Note The parametric setup must include sweep definitions for the sensitivity variables.
If the parametric setup has not yet been solved, Optimetrics solves it. Optimetrics uses the results
(of the solution calculation you requested under the Goals tab of the Setup Sensitivity dialog box)
to determine the next design variation to solve for the sensitivity analysis.
Related Topics
1. In the Setup Sensitivity Analysis dialog box, click the General tab.
2. Click the parametric setup you want Optimetrics to solve during the sensitivity analysis from
the Parametric Analysis pull-down list.
3. Select Solve the parametric sweep during analysis.
Related Topics
Optimetrics 5-75
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Some setup is required before performing worst case analysis. First, identify uncertainties in
design and create a local or project variable for each of them. Second, determine the variation
range of each variable (Min and Max) - its statistical distribution is optional. Third, determine a
measurement of performance, especially for extreme value analysis.
This is one of the most popular methods to estimate worst-case performance. To start, a
sensitivity analysis is performed. The results (sensitivities/first derivative) allow us to pick an
extreme value (upper or lower bound) for each variable. The corresponding simulation result is
used to predict upper and lower bound of performance. The assumption is that extreme
performance is reached at boundary value (note that in certain cases, making such an
assumption is not valid).
To perform an extreme value analysis in ANSYS Electronics Desktop, create a new analysis
under Optimetrics>Sensitivity.
l Setup:
Second, follow Setting up a Sensitivity Analysis in the online help. During this
procedure, set your performance measurement in Calculations tab; check all
variables in Variables tab; check Perform worst case analysis in General tab.
Optimetrics 5-76
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note: Checking Perform worst case analysis calculates 1st derivatives for each variable.
If we have three variables and for Var1 first derivative is negative, Var2 1st derivative is
positive, Var3 1st derivative is positive, then for Worst Case Analysis, we request two more
variations:
Create a Data Table report. Note: under the Context pane in the Report dialog, select
matching Solution and Optimetrics setup. Under the Families tab, change the setting to 'All'
under 'Value' of each variables.
Under the Families Display tab, select Statisticsand then check Max.
Optimetrics 5-77
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
To see the corresponding variable values, select 'All Families' under the Families Display
tab, and locate the max value to see value of variables.
Tip: Transpose the table for an alternate view (double-click on data table to view the
Properties window, and on the Data Table tab check Transpose).
First, see the sensitivity of performance to the respect of each variable. (Follow the
documentation for Viewing Output Parameter Results for a Sensitivity Analysis). Identify the
variables that have major influence over performance.
Optimetrics 5-78
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Second, in your project, manually change these variables to the corresponding bounds:
choose Min for positive 1st derivative and Max for negative 1st derivative.
This method does not assume a circuit is linear - better accuracy is achieved with more
iterations. The cost is computing time and resources.
To perform Monte Carlo Analysis in ANSYS Electronics Desktop, create a new analysis under
Optimetrics>Statistical. Follow the documentation on Statistical Analysis to set this up. The
upper and lower bound of performance can be found on the edge of performance distribution.
Tip: if distribution of performance is not of interest, set all variables as uniformly distributed.
In addition to specifying the variables to be used in the statistical analysis and the parameters of the
chosen distribution, the output quantities of interest also need to be specified. These quantities can
be global ones such as previously defined parameters (Force/torque, inductance / capacitance,
etc), other named quantities, quantities defined in the field calculator as global (such a domain
integral of a certain field quantity) or local (such as field value at a certain location). The calculations
to be performed during the statistical analysis are specified during setup, in a manner similar to
other types of analysis in Optimetrics.
Optimetrics 5-79
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Following the analysis the statistical distribution of the output quantities can be visualized in
histogram format. To access available reports, after the statistical analysis is complete, right click
the respective Statistical analysis setup and select View Analysis Result.
Related Topics
1. Before a variable can be included in a statistical analysis, you must specify that you intend for
it to be used during a statistical analysis in the Properties dialog box.
2. Click HFSS or Q3D Extractor or 2D Extractor>, or Optimetrics Analysis>Add
Statistical , or select the Simulation tab for the ribbon and under the Optimetrics icon,
select Statistical from the drop down menu:
Optimetrics 5-80
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Modify the values of fixed variables that are not being modified during the statistical
analysis.
l Request that Optimetrics solve a parametric sweep during a statistical analysis.
Note Sweeping or using a complex variable is not allowed in any optimetrics setup,
including optimization, statistical, sensitivity, and tuning setups.
8. If you want to save the field solution data for the design variations solved during analysis,
select Save Fields.
Related Topics
l Under the Calculations tab of the Setup Sensitivity Analysis dialog box, type a value in
the Maximum Iterations text box.
Related Topics
1. In the Calculations tab of the Setup Statistical Analysis dialog box, click
SetupCalculations.
The Add/Edit Calculations dialog box is displayed, allowing you to define one or more
mathematical expressions for statistical evaluation.
Optimetrics 5-81
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Select the Geometry from the drop down selection list or select none (the default). This
modifies the list of quantities available to the ones that apply to the specific geometry.
l When selecting a geometry, you may also be required to specify a point within the
geometry where the calculation is to be performed.
3. The Output Variables button opens the Output Variables dialog box allowing you to create
special output variables to be used in the output parameter.
4. The Calculation Expression field in the Trace tab is used to enter the equation to be used
for the solution quantities. To enter an expression, you may type it directly into the field or use
the Category, Quantity, and Function lists as follows:
l Select the Category, these depend on the Solution type and the design. This lets you
specify the category of information to be used in the output parameter.
l Select a Quantity from the list. Available quantities depend upon the Solution type, as
well as the Geometry and Category selection. Selecting a Quantity automatically enters it
into the Calculation Expression field.
l Select a Function to apply to the value in the calculated expression.
l For swept variables, the Range Function button opens the Set Range Function dialog
to apply functions to the expression that apply over the sweep range.
5. The Calculation Range tab applies to swept variables and allows you to specify the range
of the sweep over which to apply the calculation.
6. When the desired Calculation Expression has been obtained, click the Add Calculation
button to add the entry to the calculation table in the Setup Statistical Analysis dialog box.
You may add multiple entries to the table simply by changing the Calculated Expression
and using the Add Calculation button.
7. To update or edit a selected cost function, enter the desired Calculation Expression and click
the Update Calculation button.
8. Click Done to return to the Setup Statistical Analysis dialog box.
Note The solution quantity you specify must be able to be evaluated to a single, real
number.
Related Topics
Optimetrics 5-82
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Optimetrics will use the starting frequency in the sweep by default.The calculation range should be
set during the setup of the solution quantity for statistical evaluation. In order to modify the
calculation range, do the following:
1. Under the Calculations tab of the Setup Statistical Analysis dialog box, click in the
Calculation Range column of the table for the calculation to be modified.
If you choose to solve a parametric setup during the statistical analysis, the variables swept in
that parametric setup are available in the pop-up list dialog box. If you sweep a variable in the
parametric setup that is also a statistics variable, that variable is excluded from the statistics
analysis.
3. Click on the value for the calculation range in the list and dismiss the pop-up dialog box.
4. Click OK in the Edit Calculation Range dialog box to accept the new value for the intrinsic
variable, and return to the Setup Statistical Analysisdialog box.
Related Topics
Related Topics
1. In the Setup Statistical Analysis dialog box, click the Variables tab.
All of the variables that were selected for statistical analysis are listed.
2. Check or clear the Include check box for each variable to define the specific variables to be
varied in the statistical analysis setup.
Optimetrics 5-83
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
3. For each included variable, select Uniform, Gaussian, Lognormal, or User Defined in
the Distribution column for the variable you want to override.
If you changed the distribution type, the Override option is now selected. This indicates that the
distribution type you selected is to be used for this optimization analysis; the current distribution
type selected for the variable in the nominal design is ignored in this statistical analysis.
l Alternatively, you can select the Override option first, and then select a different
distribution type in the Distribution text box.
4. Optionally, if you want to change the distribution criteria, click in Distribution Criteria
column for the variable you want to override.
The design variations are solved using a Gaussian distribution within the specified
mean and standard deviation values.
The design variations are solved within the tolerance range of the starting value,
using an even distribution.
Optimetrics 5-84
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Related Topics
Statistical Cutoffs
1. Make sure that the variable's distribution criteria are not being overridden in any statistical
setup.
2. If the variable is a design variable, do the following: On HFSS or Q3D Extractor or 2D
Extractor>Design Properties, select Statistics.
3. Click in the Distribution column for the variable you want to change, and then select
Uniform, Gaussian, Lognormal, or User Defined.
4. Optionally, if you want to change the distribution criteria, click in the Distribution Criteria
column for the variable you want to change.
If the distribution type is Gaussian, the Gaussian Distribution dialog box appears. If the
distribution type is Uniform, the Uniform Distribution dialog box appears.
The design variations are solved using a Gaussian distribution within the specified
mean and standard deviation values.
Optimetrics 5-85
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The design variations are solved within the tolerance range of the starting value, using an
even distribution.
Related Topics
The cutoff probability values affects the Gaussian distribution criteria. This is a value =>0 and < 0.1.
The design variations are solved using a Gaussian distribution using a lower limit cutoff probability
and specified mean and standard deviation values.
Optimetrics 5-86
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Uniform distributions such as variable "length" above use only the Tolerance value, and do not
have a cutoff probability.
Edit Distribution
When setting the distribution type for a variable, you have the option of changing the distribution
parameters from the default values.
The design variations are solved using a Gaussian distribution within the specified
mean and standard deviation values.
The design variations are solved within the tolerance range of the starting value,
using an even distribution.
Optimetrics 5-87
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The design variations are solved with a logarithmic distribution using the shape, scale
and location parameters provided.
Related Topics
Adding Datasets
Warning Variable values must be single real numbers, or expressions that evaluate to single real
numbers. Complex numbers cannot be used as the values of variables in any
Optimetrics 5-88
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
optimetric analysis.
1. In the Setup Statistical Analysis dialog box, click the Variables tab.
All of the variables selected for the statistical analysis are listed.
2. Type a new value in the Starting Value text box for the value you want to override, and then
press Enter.
The Override option is now selected. This indicates that the value you entered is to be used for
this statistical analysis; the current value set for the nominal model will be ignored.
l Alternatively, you can select the Override option first, and then type a new variable value
in the Starting Value text box.
3. Optionally, click a new unit system in one of the Units text boxes.
Related Topics
1. In the Setup Statistical Analysis dialog box, click the General tab.
2. Click the parametric setup you want Optimetrics to solve during the statistical analysis from
the Parametric Analysis pull-down list.
3. Select Solve the parametric sweep during analysis.
Related Topics
Optimetrics 5-89
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Design of Experiments describes the relationship between the design variables and the
performance of the product by using Design of Experiments (DOE), combined with response
surfaces. DOE and response surfaces provide all of the information required to achieve Simulation
Driven Product Development. Once the variation of the performance with respect to the design
variables is known, it becomes easy to understand and identify all changes required to meet the
requirements for the product.
The goal is to create a response surface by interpolating through calculated points (a best curve fit).
For each design, you can create a response surface for each output parameter. Once the response
surfaces are created, you can share the information can in easily understandable terms: curves,
surfaces, sensitivities, etc. They can be used at any time during the development of the product
without requiring additional simulations to test a new configuration.
The Design of Experiments feature is integrated inside Electronics Desktop. Combined with
Electronics Desktop‘s distributed solve feature, you can build the response surfaces from the DOE
Optimetrics 5-90
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Selecting a Design of Experiments under Optimization opens a dialog with several tabs:
In the Design of Experiments setup, you select the DOE type, select the Response Surface,
specify goals, view and include variables.
There are a wide range of DOE algorithms or methods available in engineering literature. These
techniques all have one common characteristic: they try to locate the sampling points such that the
space of random input parameters is explored in the most efficient way, or obtain the required
information with a minimum of sampling points. Sample points in efficient locations only reduce the
required number of sampling points and increases the accuracy of the response surface
generated. For more information on the available types of DOE, see Design of Experiments Types.
Once you have set up your input parameters, you can update the DOE, which submits the
generated design points to the analysis system for solution. Design points are solved
Optimetrics 5-91
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
simultaneously if the analysis system is set up to do so; sequentially, if not. After the solution is
complete, you can update the Response Surface cell, which generates response surfaces for each
output parameter based on the data in the generated design points.
Note Requirements and recommendations regarding the number of input parameters vary
according to DOE type. For more information, see Number of Input Parameters for DOE
Types.
If you change the Design of Experiments type after doing an initial analysis and preview the Design
of Experiments Table, any design points generated for the new algorithm that are the same as
design points solved for a previous algorithm will appear as up-to-date. Only the design points that
are different from any previously submitted design points need to be solved.
You should set up your DOE Properties before generating your DOE Design Point matrix. The
following topics describe setting up and solving your Design of Experiments, and viewing the
results.
Related Topics
You must define local or project variables as Optimization /Design of Experiments variables for the
Design of Experiments setup to include the variable.
Right-click on the Optimetrics icon in the Project tree and select Add>Design of Experiments.
You can also use <solver>>Optimetrics Analysis>Add Design of Experiments.
Optimetrics 5-92
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
You can also select the Simulation tab and under the Optimetrics icon, select Design of
Experiments from the drop-down menu:
Optimetrics 5-93
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Design of Experiments, where you specify the sampling points and associated
parameters.
l Table, which shows the sampling points defined by the Design of Experiments settings
you provide. If you select Custom and the Design of Experiments type, you can import
data files as well as add or edit rows. You can also Export files of DOE sampling points
you have defined by any method.
l Response Surface, which specifies the Response surface type, and Refinement
parameters.
l Calculations, which accesses Optimetrics calculations.
l Goals, including cost functions calculations and norm type.
l Variables, previously defined for Optimization/Design of Experiments as Project or
Design variables, and whether to include them, treat as discrete, whether to Use
Manufacturable Variables, and the available Levels.
l Options, to Save Fields and Mesh, and whether to copy geometrically equivalent meshes.
Once you have set parameters and click OK, the Design of Experiments setup appears under the
Optimetrics icon in the Project tree.
Optimetrics 5-94
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
From here you can right click on the DesignOfExperiments setup for the shortcut menu to run
Analyze, Submit Job... or Validate for Large Scale DSO.
Stand alone and distributed simulation will have the same behavior as the parametric setup.
Related Topics
The Design of Experiments tab in the DOE Setup includes selections for defining the sampling
points that define your experiment. Each selection for Design of Experiments type has a different
set of associated parameters so the appearance of the dialog changes to show the parameters for
Optimetrics 5-95
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
your selection.
The goal in Design of Experiments is to determine the smallest sufficient set of points required to
calculate a response surface. Therefore, you choose the type depending on the parametric
problem and targeted response surface. The number of points depends on the number of input
parameters, or is user defined
The Design of Experiments Types available in the Desktop include the following:
Design of
Brief Description (see links for more details)
Experiments Types
An optimized Latin Hypercube Sampling maximizing distance between
experiments.
l Max-Min Distance
l Centered L2
l Maximum Entropy
Optimal Space Several sampling types available which determine the number of
Filling (Default) samples in the design:
Optimetrics 5-96
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Design of
Brief Description (see links for more details)
Experiments Types
You also specify a Maximum Number of Cycles and a Random
Generator Seed.
Several design types available:
l Face-Centered
l Rotatable
Central Composite
l VIF-Optimality
Design
l G-Optimality
l Auto-defined
l CCD Samples
Latin Hypercube l Linear Model Samples
Sampling l Pure Quadratic Model Samples
l Full Quadratic Model Samples
l User-Defined Samples, for which you also specify the Number of
Samples.
For each samples type you also specify a Random Generator Seed.
The Table tab provides a preview view of the design points defined by your selections.
Related Topics
Optimetrics 5-97
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The goal in Design of Experiments is to determine the smallest sufficient set of points required to
calculate a response surface. Therefore, you choose the type depending on the parametric
problem and targeted response surface. The number of points depends on the number of input
parameters, or is user defined.
Optimal Space-Filling Design (OSF) creates optimal space filling Design of Experiments (DOE)
plans according to some specified criteria. Essentially, OSF is a Latin Hypercube Sampling Design
(LHS) that is extended with post-processing. It is initialized as an LHS and then optimized several
times, remaining a valid LHS (without points sharing rows or columns) while achieving a more
uniform space distribution of points (maximizing the distance between points).
To offset the noise associated with physical experimentation, classical DOE types such as CCD
focus on parameter settings near the perimeter of the design region. Because computer simulation
is not quite as subject to noise, though, the Optimal Space-Filling (OSF) design is able to distribute
the design parameters equally throughout the design space with the objective of gaining the
maximum insight into the design with the fewest number of points. This advantage makes it
appropriate when a more complex meta-modeling technique such as Kriging, Non-Parametric
Regression, or Neural Networks is used.
OSF shares some of the same disadvantages as LHS, though to a lesser degree. Possible
disadvantages of an OSF design are:
l When the CCD Samples sample type is selected, a maximum of 20 input parameters is
supported.
l Extremes, such as the corners of the design space, are not necessarily covered.
l The selection of too few design points can result in a lower quality of response prediction.
The following properties are available for the OSF DOE type.
Optimetrics 5-98
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Maximum Number of Cycles: Determines the number of optimization loops the algorithm
needs, which in turns determines the discrepancy of the DOE. The optimization is essentially
combinatorial, so a large number of cycles slows down the process. However, this makes
the discrepancy of the DOE smaller. For practical purposes, 10 cycles is generally good for
up to 20 variables. The value must be greater than 0. The default is 10.
l Samples Type: Determines the number of DOE points the algorithm should generate.
This option is suggested if you have some advanced knowledge about the nature of the
metamodel. The following choices are available:
l CCD Samples (default): Supports a maximum of 20 inputs. Generates the same
number of samples a CCD DOE would generate for the same number of inputs. You can
use this to generate a space filling design that has the same cost as a corresponding
CCD design.
l Linear Model Samples: Generates the number of samples as needed for a linear
metamodel.
l Pure Quadratic Model Samples: Generates the number of samples as needed for a
pure quadratic metamodel (no cross terms).
l Full Quadratic Samples: Generates the number of samples needed to generate a full
quadratic model.
l User-Defined Samples: Specify the desired number of samples.
l Seed Value: Set the value used to initialize the random number generator invoked internally
by the LHS algorithm. Although the generation of a starting point is random, the seed value
consistently results in a specific LHS. This property allows you to generate different
samplings by changing the value or regenerate the same sampling by keeping the same
value. The default is 0.
l Number of Samples: Enabled when Samples Type is set to User-Defined Samples.
Specifies the default number of samples. The default is 10.
Related Topics
The goal in Design of Experiments is to determine the smallest sufficient set of points required to
calculate a response surface. Therefore, you choose the type depending on the parametric
problem and targeted response surface. The number of points depends on the number of input
parameters, or is user defined.
Central Composite Design (CCD) provides a screening set to determine the overall trends of the
metamodel to better guide the choice of options in Optimal Space-Filling Design. The CCD DOE
type supports a maximum of 20 input parameters.
The following properties are available for the CCD DOE type.
Optimetrics 5-99
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Design Type: By specifying the Design Type for CCD, you can help to improve the
response surface fit for DOE studies. For each CCD type, the alpha value is defined as the
location of the sampling point that accounts for all quadratic main effects. The following CCD
design types are available:
l Face-Centered: A three-level design with no rotatability. The alpha value equals 1.0. A
Template Type setting automatically appears, with Standard and Enhanced options.
Choose Enhanced for a possible better fit for the response surfaces.
l Rotatable: A five-level design that includes rotatability. The alpha value is calculated
based on the number of input variables and a fraction of the factorial part. A design with
rotatability has the same variance of the fitted value regardless of the direction from the
center point.
l VIF-Optimality: A five-level design in which the alpha value is calculated by minimizing a
measure of non-orthogonality known as the Variance Inflation Factor (VIF). The more
highly correlated the input variable with one or more terms in a regression model, the
higher the VIF.
l G-Optimality: Minimizes a measure of the expected error in a prediction and minimizes
the largest expected variance of prediction over the region of interest.
l Auto-Defined: Design exploration automatically selects the Design Type based on the
number of input variables. Use of this option is recommended for most cases as it
automatically switches between the G-Optimality if the number of input variables is 5 or
VIF-Optimality otherwise.
However, you can use the Rotatable design if the default option does not provide good
values for the Goodness of Fit from the response surface plots. Additionally, you can use
the Enhanced template if the default Standard template does not fit the response
surfaces well.
l Template Type: Enabled for the Rotatable and Face-Centered design types. The following
options are available:
l Standard
l Enhanced: Choose this option for a possible better fit for the response surfaces
Related Topics
The goal in Design of Experiments is to determine the smallest sufficient set of points required to
calculate a response surface. Therefore, you choose the type depending on the parametric
problem and targeted response surface. The number of points depends on the number of input
parameters, or is user defined.
A Box-Behnken Design is a three-level quadratic design that does not contain fractional factorial
design. The sample combinations are treated in such a way that they are located at midpoints of
edges formed by any two factors. The design is rotatable (or in cases, nearly rotatable).
Optimetrics 5-100
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
One advantage of a Box-Behnken design is that it requires fewer design points than a full factorial
CCD and generally requires fewer design points than a fractional factorial CCD. Additionally, a
Box-Behnken Design avoids extremes, allowing you to work around extreme factor combinations.
Consider using the Box-Behnken Design DOE type if your project has parametric extremes (for
example, has extreme parameter values in corners that are difficult to build). Since the Box-
Behnken DOE doesn’t have corners and does not combine parametric extremes, it can reduce the
risk of update failures.
l Prediction at the corners of the design space is poor and that there are only three levels per
parameter.
l A maximum of 12 input parameters is supported.
No additional properties are available for the Box-Behnken Design DOE type.
Related Topics
The goal in Design of Experiments is to determine the smallest sufficient set of points required to
calculate a response surface. Therefore, you choose the type depending on the parametric
problem and targeted response surface. The number of points depends on the number of input
parameters, or is user defined.
The Custom DOE type allows for definition of a custom DOE Table. You can manually add new
design points, entering the input and (optionally) output parameter values directly into the table. If
you previously solved the DOE using one of the other algorithms, those design points are retained
and you can add new design points to the table. You can also import and export design points into
the custom DOE Table from the Parameter Set.
You can change the edition mode of the DOE table to edit the output parameter values. You can
also copy and paste data and import data from a CSV file by right-clicking and selecting Import
Design Points.
Related Topics
The goal in Design of Experiments is to determine the smallest sufficient set of points required to
calculate a response surface. Therefore, you choose the type depending on the parametric
problem and targeted response surface. The number of points depends on the number of input
parameters, or is user defined.
Optimetrics 5-101
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
In the Latin Hypercube Sampling Design DOE type, the DOE is generated by the LHS
algorithm, an advanced form of the Monte Carlo sampling method that avoids clustering samples.
In a Latin Hypercube Sampling, the points are randomly generated in a square grid across the
design space, but no two points share the same value. This means that no point shares a row or a
column of the grid with any other point.
l When the CCD Samples sample type is selected, a maximum of 20 input parameters is
supported. For more information, see Number of Input Parameters for DOE Types.
l Extremes, such as the corners of the design space, are not necessarily covered.
Additionally, the selection of too few design points can result in a lower quality of response
prediction.
Note: The Optimal Space-Filling Design DOE type is an LHS design that is extended with post-
processing.
The following properties are available for the LHS DOE type:
l Samples Type: Determines the number of DOE points the algorithm should generate. This
option is suggested if you have some advanced knowledge about the nature of the
metamodel. The following choices are available:
l CCD Samples (default): Supports a maximum of 20 inputs. Generates the same
number of samples a CCD DOE would generate for the same number of inputs. You can
use this to generate a space filling design that has the same cost as a corresponding
CCD design.
l Linear Model Samples: Generates the number of samples as needed for a linear
metamodel.
l Pure Quadratic Model Samples: Generates the number of samples as needed for a
pure quadratic metamodel (no cross terms).
l Full Quadratic Samples: Generates the number of samples needed to generate a full
quadratic model.
l User-Defined Samples: Specify the desired number of samples.
l Seed Value: Set the value used to initialize the random number generator invoked internally
by the LHS algorithm. Although the generation of a starting point is random, the seed value
consistently results in a specific LHS. This property allows you to generate different LHS
samplings (by changing the value) or to regenerate the same LHS sampling (by keeping the
same value). The default is 0.
l Number of Samples: Enabled when Samples Type is set to User-Defined Samples.
Specifies the default number of samples. The default is 10.
Related Topics
Optimetrics 5-102
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The Table tab for the Design of Experiments Setup dialog displays a preview of the design
points designed by your selections on the Design of Experiments tab. There is one column for
each defined variable. The Export button lets you create a file of the table in a format you specify.
If you have specified Custom as the Design of Experiments Type, the table is editable and the
Table tab includes buttons for Add and Delete Rows. All rows are editable. You can add new rows
by entering values in the * row of the table. You enter values in the input parameter columns. Once
you have entered a value in one column in the * row, the row is added to the table and the values
for the remaining input parameters are set to the initial values of the parameters. You can then edit
that row in the table and change any of the other input parameter values if needed. Output
parameter values are then calculated when the design is solved updated.
Optimetrics 5-103
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Depending on the context, the tables are read-only and filled automatically or they are partially or
completely editable. The background color of a cell indicates if it is editable or not:
Output parameter values calculated from a simulation (a design point update) are displayed in
black text.
The Custom Table view also includes an Import button. Import and Export files can be:
The Table updates automatically when you change your selections on the Design of
Experiments tab.
Related Topics
The Response Surface tab for the Design of Experiments Setup dialog lets you select the
Response Surface type as Genetic Aggregation or Standard Response Surface.
Optimetrics 5-104
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The Response Surface type selection specifies the refinement applied to the initial Design of
Experiments. The Genetic Aggregation Response Surface finds the best possible response
surface for each output automatically by combining:
l Metamodels
l Settings
l Kernel Variation
l Polynomial Regression
For each output, a Fitness factor works to minimize error, including cross-validation errors. The
automatic refinement adds design points to the DOE until the response surface accuracy meets
user requirements. You can specify requirements for:
l Maximum Relative Error %: This apply to all output calculations. Empty this field to turn off
Auto refinement. (Note: Workbench does not have this field.)
l Maximum Number or Refinement Points: Determines the maximum number of refinement
points that can be generated for use with the Genetic Aggregation algorithm.
If you check Show Advanced Options at the bottom of the Setup dialog, you can also specify
Crowding Distance Separation Percentage:
Optimetrics 5-105
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Crowding Distance Separation Percentage: determining the minimum allowable distance between
new refinement points, implemented as a constraint in the search for refinement points.
You do have the option of selecting Standard Response Surface- Full 2nd Order Polynomial.
After you have completed an analysis you can view the generated plot.
Related Topics
The Variables tab for the Design of Experiments Setup dialog displays list of the variables
defined for the Design and Project as Optimetrics/Design of Experiments variables.
Optimetrics 5-106
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The columns list the Variable names, the current Min and Max Values and Units, and provides
options for the following:
l Override--check this to override the current design value. Unchecking this causes a dialog to
appear asking you to confirm the return to the design value.
l Include--whether to include the variable in an analysis.
l Discrete--Discrete Variables physically represent different configurations or states of the
model. When checkbox in the Discrete column is checked the button in the “Levels” column
will be enabled.
The Levels show the variable values. For continuous variable, Levels is determined by the
min/max columns. If you check Use Manufacturable values, Levels lists the Manufacturable
values (for example, [ min, va, v2, v3, max]). For Integer variables Levels can be a subset of
the min/max range. The discrete values can be bounded by a min/man range and/or
Optimetrics 5-107
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
manufacturable values.
Click the enabled Levels button for the row to edit the Discrete values. An edit dialog for the
variable appears.
l When you enable the check box in the “Use Manufacturable Values” column the button in
the “Levels” column is enabled. Click the Levels button to edit the values. An edit dialog for
the variable appears.
Optimetrics 5-108
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Related Topics
Optimetrics 5-109
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
From the Response Surface tab, the “View” list box lets you select all available views of the
selected response-surface-setup.
The Update push button is disabled when the response surface is up to date. After the setup, if you
modify a verification point or refinement points, it is enabled. Click this button to re-generate the
Optimetrics 5-110
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
response-surface with new settings. It may start new simulations if any of the design points in the
DOE, refinement points, or verification points has not been solved.
Clicking the ellipsis button [...] by the View for Response Surface opens a dialog that lets you adjust
the variables selected and the values applied.
For the X Axis and Y Axis, you can specify a Resolution, and the variable to use. For the Z Axis you
can select the Cost or calculation. For variables not selected for the X and Y axis, a slider is
enabled that lets you adjust the value to see the effect on the response curve plot. You can enable
or disable Real time mode by using the check box at the lower left.
When it is checked all Axes are set to their maximum ranges, and the ranges won’t be changed
while tuning unless you change the axis variable.
When it is unchecked, the Y(2D)/Z(3D) axis range is auto updated to fit the curve/surface.
You can Export the response curve data as a table in the following formats:
Optimetrics 5-111
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Related Topics
From the Response Surface tab of the Design of Experiments Post Analysis Display dialog,
the “View” list box lets you select all available views of the selected response-surface-setup.
The Min-Max Search view examines the entire output parameter space from a response surface to
approximate the minimum and maximum values of each output parameter. When you select a
Min/Max row the Apply button is enabled, and you can then apply the selected variation variable
values to the variables’ nominal values.
Optimetrics 5-112
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Related Topics
From the Response Surface tab, the “View” list box lets you select all available views of the
selected response-surface-setup. All refinement points are shown in the Refinement Points table:
Refinement points are points added to your model to enrich and improve your response surface.
They can either be generated automatically with the response surface update or added manually,
as described in Performing a Manual Refinement. As with design points, DesignXplorer must
perform a design point update (a "real solve") in order to obtain the output parameters for the
refinement points.
Upon update, the refinement points are used to build the response surface and are taken into
account for the generation of verification points. Along with DOE points, refinement points are also
used as "learning points" for Goodness of Fit calculations.
Performing a Manual Refinement
Manual refinement is a way to force the response surface to take into account points of your choice,
in addition to the points already in the Design of Experiments. You can insert a refinement point in
the Refinement Points table, and do not need to do an initial solve of the response surface (without
the refinement point) before updating your response surface with your manual refinement. Manual
refinement is available for all response surface types except for Sparse Grid.
You can add, delete, or modify refinement points by clicking the Add or Delete buttons, or by
modifying point values directly in the grid.
Optimetrics 5-113
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Manual Refinement Point can be inserted from the Response point table and Verification Points
Table.
Related Topics
From the Response Surface tab, the “View” list box lets you select all available views of the
selected response-surface-setup. All Response points are shown in the Response Points table:
A response point is defined by a snapshot of variable values where output calculation values were
calculated in ANSYS DesignXplorer from a response surface. As such, the output calculation(or
cost) values are approximate and calculated from response surfaces.
You can add, delete, save, or export response points by using the command buttons in the dialog
or you can modify response points manually by modifying point values directly in the grid.
Click Add to Verify or Add to Refine buttons to insert the selected response point to the
verification table or refinement table.
Optimetrics 5-114
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Related Topics
Response Curve
When Continuous Variable is chosen as the X-axis, and Continuous XY plot will be shown.
Discrete Variable
Optimetrics 5-115
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
If you choose Discrete Variable as the X-axis, a bar chart plot is shown:
For the X Axis and Y Axis, you can specify a Resolution, and the variable to use. For the Z Axis you
can select the Cost or calculation. For variables not selected for the X and Y axis, a slider is
enabled that lets you adjust the value to see the effect on the response curve plot. You can enable
or disable Real time mode by using the check box at the lower left.
When it is checked all Axes are set to their maximum ranges, and the ranges won’t be changed
while tuning unless you change the axis variable.
When it is unchecked, the Y(2D)/Z(3D) axis range is auto updated to fit the curve/surface.
It always be unchecked when the tuning dialog started, and won’t restore it last check/uncheck
state. When it is checked, it will retaining the existing curves, and add new curve to the plot.
Uncheck the checkbox won’t clear the accumulated curves, just stop to accumulate new curve.
When the Axis variable is changed, all accumulated curves will be cleared.
You can Export the response curve data as a table in the following formats:
Optimetrics 5-116
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Related Topics
If you have included more than one variable in the setup, the Response Curves (2D) view is
available:
Clicking the ellipsis button [...] by the View for Response Surface opens a dialog that lets you adjust
the variables selected and the values applied.
Optimetrics 5-117
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
For the X Axis and Y Axis, you can specify a Resolution, and the variable to use. For the Z Axis you
can select the Cost or calculation. For variables not selected for the X and Y axis, a slider is
enabled that lets you adjust the value to see the effect on the response curve plot. You can enable
or disable Real time mode by using the check box at the lower left.
When it is checked all Axes are set to their maximum ranges, and the ranges won’t be changed
while tuning unless you change the axis variable.
When it is unchecked, the Y(2D)/Z(3D) axis range is auto updated to fit the curve/surface.
You can Export the response curve data as a table in the following formats:
Optimetrics 5-118
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Related Topics
From the Response Surface tab, the “View” list box lets you select all available views of the
selected response-surface-setup. All Verification points are shown in the Verification Points table:
Verification points enable you to verify that the response surface accurately approximates the
output parameter values; they compare the predicted and observed values of the output
parameters.
Click Add to Refine button to insert the selected response point to the refinement table.
A design point update (that is, a "real solve") calculates each verification point. These verification
point results are then compared with the response surface predictions and the difference is
calculated.
Optimetrics 5-119
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Verification points are useful in validating any type of response surface. In particular, however, you
should always use verification points to validate the accuracy of interpolated response surfaces,
such as Kriging or Sparse Grid.
You can add, delete, save, or export verification points by using the command buttons in the dialog
or you can modify verification points manually by modifying point values directly in the grid.
Related Topics
From the Response Surface tab, the “View” list box lets you select all available views of the
selected response-surface-setup.Response surfaces are built from design points in the Design of
Experiments (DOE) and refinement points (collectively, called "learning points"). The Goodness of
Fit calculations compare the response surface outputs with the DOE results used to create them.
The closer the points are to the diagonal line, the better the response surface fits the points.
You can view Goodness of Fit information for any of the output parameters in a response surface.
To do so click the ellipsis button [...] button to bring up this dialog:
Optimetrics 5-120
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Related Topics
When more than one variable is included in the setup, the Response Surface view is available. You
can choose any two variables as the X, Y axis, and choose an output calculation as the Z axis, by
clicking the “...” button next to the view list box. From the Response Surface tab of the Design of
Experiments Post Analysis Display dialog, the “View” list box lets you select all available views of
the selected response-surface-setup.
Response surfaces are functions of varying natures in which the output parameters are described
in terms of the input parameters. Built from the Design of Experiments (DOE), they quickly provide
the approximated values of the output parameters throughout the design space without having to
perform a complete solution. The accuracy of a response surface depends on several factors: the
complexity of the variations of the solution, the number of points in the original DOE, and the
response surface type. Once a response surface has been generated, you can create and manage
response points and charts. These postprocessing tools help you to understand how each output
parameter is driven by input parameters and how you can modify your design to improve its
performance.
Optimetrics 5-121
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Clicking the ellipsis button [...] by the View for Response Surface opens a dialog that lets you adjust
the variables selected and the values applied.
Optimetrics 5-122
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
For the X Axis and Y Axis, you can specify a Resolution, and the variable to use. For the Z Axis you
can select the Cost or calculation. For variables not selected for the X and Y axis, a slider is
enabled that lets you adjust the value to see the effect on the response surface plot. You can
enable or disable Real time mode by using the check box at the lower left.
When it is checked, all Axes are set to their maximum ranges, and the ranges won’t be changed
while tuning unless you change the axis variable.
When it is unchecked, the Y(2D)/Z(3D) axis range is auto updated to fit the curve/surface.
You can Export the Response surface data as a table in the following formats:
Optimetrics 5-123
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Related Topics
From the Response Surface tab, the “View” list box lets you select all available views of the
selected response-surface-setup. Local Sensitivity Charts allow you to graphically view the impact
that changing each input parameter has on the output parameters. The Local Sensitivity chart can
be a powerful exploration tool. For each output, it allows you to see the weight of the different input.
This chart calculates the change of the output based on the change of each input independently, at
the current value of each input parameter in the project.
Clicking the ellipsis button [...] opens the Local Sensitivity Properties dialog that lets you adjust
the variables selected and the values applied.
Optimetrics 5-124
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Related Topics
From the Response Surface tab, the “View” list box lets you select all available views of the
selected response-surface-setup. Local Sensitivity Curves allow you to graphically view the impact
that changing each input parameter has on the output parameters. The Local Sensitivity Curves
chart helps you to focus your analysis by allowing you to view independent parameter variations
within the standard Local Sensitivity chart. This multi-curve chart provides a means of viewing the
impact of each input parameter on specific outputs, given the current values of the other
parameters. The Local Sensitivities Curves chart shows individual local sensitivities, with a
separate curve to represent the impact of each input on one or two outputs.
Optimetrics 5-125
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Clicking the ellipsis button [...] opens the Local Sensitivity Properties dialog that lets you adjust
the variables selected and the values applied.
Optimetrics 5-126
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Related Topics
A typical dialog to SetupSweep Analysis is shown below with the Options tab selected.
Optimetrics 5-127
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
2. Check Use fast calculation-update algorithm to enable use of the algorithm. (See also,
Fast Calculation-Update Algorithm Limitations.)
l You can enable some reports to be updated automatically during the optimetrics analysis
if you Set All Variables To Nominal in the Report/Trace setup dialog:
Optimetrics 5-128
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l You can see each trace (overwriting the previous), by setting the Optimetrics setup in
the Report dialog to None in addition to having all variables set to Nominal. At the end of
the analysis, the user will see the last calculated value.
3. If you have enabled Use fast calculation-update algorithm and want to save the solution
data for every solved design variation in the Optimetrics analysis, select Save solutions to
database as shown below. Selecting Save solutions to database has no effect without
enabling Use fast calculation-update algorithm.
Note Do not select this option when requesting a large number of iterations as the data
generated will be very large and the system may become slow due to the large I/O
requirements.
l When the Save solutions to database option is checked, a plot with traces based on the
Optimetrics Setup just run can be updated through a menu command (right-click on the
desired report in the Project Manager Results folder and select Update Report) and will
show results as appropriate (family, if chosen).
l Without the Save solutions to database option checked, you can examine analysis data
in the Post Analysis Display dialog, available by right-clicking on the Optimetrics Setup
and choosing View Analysis Result.
The fast calculation-update algorithm cannot be used if any optimetrics calculation uses:
Similarly, when the fast calculation-update algorithm is enabled, a trace cannot be updated during
an analysis if the trace expression uses:
Optimetrics 5-129
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Project/Design variables. (However, you can use the same workaround described
above.)
l Any range function.
Tuning Overview
Tuning a variable is useful when you want to manually modify its value and immediately perform an
analysis of the design. For example, it is useful after performing an optimization analysis, in which
Optimetrics has determined an optimal variable value, and you want to fine tune the value to see
how the design results (for example, traces in a report) are affected.
A design can be updated after a tuning analysis to reflect a design variation solved during a tuning
analysis and the results, including field solutions if you select Save Fields and Mesh on the
Options tab of the setup.
Related Topics
Tuning a Variable
Tuning a Variable
If you want to ensure that tuning does not resolve variations already solved by an optimization
setup, you must check Save Fields and Mesh in the Options tab of that setup.
1. Before a variable can be tuned, you must specify that you intend for it to be used during a
tuning analysis in a Project or Design Properties dialog box.
The Tune dialog box appears, listing the variables which have been included for tuning.
Optimetrics 5-130
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Clearing the Real Time option enables the Tune button. If this option is selected, a simulation
begins immediately after you move the slider. Otherwise, you use the Tune button to apply the
current values to a simulation.
4. If you want to see updates to an open Report plot while tuning a post processing variable,
you must select the Browse available variations check box. Selecting Browse available
variations disables the sweep check box, and the fields for minimum and maximum variable
values. This feature lets you see the effect of changes to the post processing variables on
plotted results.
Clearing Browse available variations enables the Sweep check box, the minimum and
maximum fields, and changes the Nominal field to Step. See step 6.
5. In the Sim. Setups column, select the solution setup you want to use when it solves the
specified design variation.
The analysis is solved using the solution setup you select. If you select more than one,
results are generated for all selected solution setups.
Checking the Tune box for a Sim Setup enables the Real Time check box, the Browse
available variations check box, and the Snap radio buttons. Clearing the Tune box disables
those selections.
Optimetrics 5-131
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
6. In the Nominal text box for the variable you want to tune, type the value of the variable you
want to solve, or drag the slider to increase or decrease its value.
Warning Variable values must be single real numbers, or expressions that evaluate to
single real numbers. Complex numbers cannot be used as the values of
variables in any optimetric analysis.
Alternatively, if you want to solve a range of values, specify a linear range of values with a
constant step size:
a. Select the Sweep check box. (You must have cleared the Browse available
variations check box).
b. In the text box below the Step value, type the starting value in the variable range.
c. Type the step size, or difference between variable values in the sweep definition, in the
Step text box. The step size determines the number of design variations between the
start and stop values.Tthe model is solved at each step in the specified range, including
the start and stop values.
d. In the text box just below the variable name, type a stopping value in the variable range.
7. If you have cleared the Real Time check box, click Tune to apply the changes you have
made to the variable values.
Note Sweeping or using a complex variable is not allowed in any optimetrics setup,
including optimization, statistical, sensitivity, and tuning setups.
8. Changing a variable value with the sliders of by typing in the text field enables the Save and
Reset buttons.
Clicking Save opens a Save As dialog with a name field, and an Apply tuned values to
design check box.
Clicking Reset changes the variable values back to what they were originally.
9. If you have changed one or more included variables, clicking Close on the Tuning dialog
opens the Apply Tuned Variation dialog. This lists the included variables and the values
for each tuning. If you have tried multiple values, they are listed, and the current value is
highlighted. Select another value to change the highlight. Click OK to apply the highlighted
values to the design, or Don't Apply to ignore the changes from the original variable values.
If you have applied variant values, you should see the new values listed in the relevant Design
or Project Properties lists of variables and values, and if the changes affect plots or physical
features of a model, those changes should also appear.
Click Cancel to close the dialog and go back to the Tune dialog.
Related Topics
Optimetrics 5-132
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Tuning Overview
2. Click the design variation you want to apply, and then click OK.
The variable values from the solved design variation become the current variable values for
the nominal design. If you have applied variant values, you should see the new values listed
in the relevant Design or Project Properties lists of variables and values, and if the changes
affect plots or physical features of a model, those changes should also be apparent.
Optimetrics 5-133
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Related Topics
2. Type the name of the tuned state you want to apply or click a name in the pull-down list.
3. Select Apply tuned values to design if you want to update the model to the selected
tuned state's variable values.
4. Click OK to return to the Tune dialog box.
Related Topics
Solutions for the design variations solved during tuning analyses remain available for post
processing.
To save the fields for all design variations, change the default setting for all projects:
Save Fields is selected by default when you create a new Optimetrics setup.
Optimetrics 5-134
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Related Topics
To save the fields for all design variations solved during a parametric analysis:
1. Either Add Sweep or right click on an existing sweep to open the Setup Sweep Analysis
dialog box.
2. Select the Options tab.
3. Click the Save Fields And Mesh check box. Optionally, select Copy geometrically
equivalent meshes.
ANSYS Electronics Desktop will save the field solution data for every solved design variation in
the parametric setup.
Related Topics
To save the fields for all design variations solved during an optimization analysis:
Optimetrics 5-135
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
1. Open an Edit Sweep dialog by either adding a sweep or right-click on a an existing sweep to
view the short cut menu and selecting Properties.
2. Select the Options tab.
3. Click the Save Fields And Mesh check box. Optionally, select Copy geometrically
equivalent mashes.
ANSYS Electronics Desktop will save the field solution data for every solved design variation in
the optimization setup.
Related Topics
To save the fields for all design variations solved during a sensitivity analysis:
ANSYS Electronics Desktop will save the field solution data for every solved design variation in
the sensitivity analysis.
Related Topics
To save the fields for all design variations solved during a tuning analysis:
Optimetrics 5-136
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
ANSYS Electronics Desktop will save the field solution data for every solved design variation in
a tuning analysis.
Related Topics
To save the fields for all design variations solved during a statistical analysis:
ANSYS Electronics Desktop will save the field solution data for every solved design variation in
the statistical setup.
Related Topics
To save the fields for all design variations solved during a Design of Experiments analysis:
ANSYS Electronics Desktop will save the field solution data for every solved design variation in
the Design of Experiments setup.
Optimetrics 5-137
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Related Topics
1. Define a variable for the kind of Optimetrics sweep you intent to setup.
2. Select ANSYS Electronics Desktop and then select the appropriate Optimetrics>Add
command to display a Setup dialog box.
3. Click the Options tab in the Setup dialog box.
4. Select Copy geometrically equivalent meshes.
l This lets you select Solve with copied meshed only or Solve with copied meshes and
continue adaptive passes. The Solve with copied meshes only option is not available
for Maxwell 3D/2D magnetic and electric transient designs. It is available for HFSS
Transient but will not apply for a Transient solve setup with a mesh link.
ANSYS Electronics Desktop will copy the mesh for a particular parametric sweep for reuse on
each geometrically-equivalent sweep variation.
Note This option is available with all Optimetrics setups, and is applied when these
analyses generate geometrically-equivalent values. However, it is most relevant to
parametric sweep, where such equivalences are more likely to occur.
The Copy geometrically equivalent mesh option is not recommended for use when the
frequency is varying, since meshing is frequency-dependent. You may wish to turn this option off
when the first geometrically equivalent variation requires numerous passes after the initial mesh,
but the other geometrically-equivalent variations require fewer additional passes, so that it is
cheaper to start with the initial mesh each time.
Optimetrics 5-138
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
a. Select the Report Type and Solution from the pull-down lists.
b. Select a Category, Quantity, and Function from the lists, and click Insert Quantity
Into Expression.
c. If you want to insert a specific pre-defined function, select one from the Function pull-
down list, and click Insert Function.
3. You can also type numbers or expression by hand directly into the Expression area.
All of the independent variables that were selected for the optimization analysis are listed.
2. Clear the Include option for the variable you want to exclude from the analysis.
The Override option is now selected. This indicates that, for this optimization analysis, the
variable is not included.
Note Alternatively, you can select the Override option first, and then clear the Include option for
the variable you want to exclude.
3. Click OK.
The Setup Fixed Variables dialog box appears. Under Fixed Variables, all of the current
independent variable values are listed.
3. Click the Value text box of the variable with the value you want to override.
4. Type a new value in the Value text box, and then press Enter.
Optimetrics 5-139
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The Override option is now selected. This indicates that the value you entered is used for this
Optimetrics setup; the current variable value set for the nominal design is ignored.
Note Alternatively, you can select the Override option first, and then type a new value in the
Value text box.
Linear Constraints
Once the optimization variables are specified, the optimizer handles each of them as an n-
dimensional vector x. Any point in the design space corresponds to a particular x-vector and to a
design instance. Each design instance may be evaluated via Finite Element Analysis and assigned
a cost value; therefore, the cost function is defined over the design space , where
n is the number of optimization variables.
In practice, a solution of the minimization problem is sought only on a bounded subset of the Rn
space. This subset is called the feasible domain and is defined via linear constraints.
You may constrain the feasible domain of a design variable by defining linear constraints for the
optimization process. The feasible domain is defined as the domain of all design variables that
satisfy all upper and lower bounds and constraints. Linear constraints are defined by the following
inequalities:
where
Related Topics
Optimetrics 5-140
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
3. Click Add.
4. Click a Coeff text box and type a positive or negative coefficient value.
5. Click a condition, < (less than) or > (greater than), from the pull-down list.
6. Type the inequality value, which should be a constant value, in the text box to the right of the
condition.
7. Click OK.
You return to the Linear Constraint dialog box. The left-hand side of the constraint appears in
the LHS (left-hand side) column. The condition is listed in the Condition column, and the
inequality value is listed in the RHS (right-hand side) column.
Related Topics
Linear Constraints
3. Click the row listing the constraint you want to modify, and then click Edit.
4. Optionally, click a Coeff text box and type a new coefficient value.
5. Optionally, click a different condition, < (less than) or > (greater than), in the pull-down list.
Optimetrics 5-141
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
6. Optionally, type a different inequality value in the text box to the right of the condition, and
then click OK.
You return to the Linear Constraint dialog box. The new coefficient value, the condition, and
the inequality value appear in the LHS (left-hand side), Condition, and RHS (right-hand side)
columns, respectively.
3. Click the row listing the constraint you want to delete, and then click Delete.
l To use the Analyze All command at the Project or design level to simulate the nominal
problem and subsequently run all Optimetrics setups, do the following:
1. In the Project Manager window, right-click on the project or design name.
2. Click Analyze All from the shortcut menu.
l To use the Analyze All command from the Optimetrics menu to simulate only the
Optimetrics based setups, do the following:
1. In the Project Manager window, right-click on Optimetrics.
2. Click Analyze>All from the shortcut menu.
l You can choose to analyze only the setups related to a specific Optimetrics type of analysis.
In order to simulate setups of a specific type, do the following:
1. In the Project Manager window, right-click on Optimetrics.
2. Click Analyze>All{TYPE} from the shortcut menu where TYPE is the specific
analysis type of interest, Parametric, Optimization, Sensitivity, or Statistical.
Optimetrics 5-142
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l In the project tree, right-click the Optimetrics setup for which you want to view the results,
and then click View Analysis Result on the shortcut menu.
l Select the Results tab to view results in plot or table form. When you view results in Table
form you can resort the results based on each column. Click the Iteration column head to
invert the sort from lowest to highest setup number. Click the variable name column to resort
the results by step value. Click the Cost column head to sort the results from lowest cost to
highest cost. Clicking a column again inverts the current sort.
l Click the Options... button to open a dialog that permits you to specify the Maximum number
of significant digits to display when showing the analysis result The default is 4.
l Select the Profile tab to view start, stop, and elapsed times for each variable, and the
analysis machine for each variation. You can click the column heads to sort the table by
variation number, variable value, start, stop, or elapsed time, or (if you have run a distributed
analysis) machine.
See the help topics in this section for more details about viewing Optimetrics analysis results.
Related Topics
Optimetrics 5-143
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Related Topics
1. In the project tree, right-click the Optimetrics solution setup of interest, and then click View
Analysis Result on the shortcut menu.
The Solutions dialog box appears with the profile data for the selected design variation.
The profile line for the matrix solver is in the following format:
Solver 123
where:
Optimetrics 5-144
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Related Topics
2. Select the parametric setup with the results you want to view from the pull-down list at the
top of the dialog box.
3. If it is not already selected, select Table as the view type.
The results for the selected solution quantities are listed in table format for each solved design
variation. The variation column in the table lists the entries in order. Clicking the Vision header
inverts the order. Clicking other headers sorts the entries by value, and clicking again inverts the
order.
The complete name of the solution for which the results are being displayed will be listed in the
column headings.
5. Optionally, click a design variation in the table, and then click Apply (at the far right side of
the dialog box).
The design displayed in the 3D Modeler window is changed to represent the selected design
variation.
Related Topics
To plot solution quantity results versus a swept variable's values on a rectangular (x - y) plot:
1. In the project tree, right-click the parametric setup for which you want to view the results, and
then click View Analysis Result on the shortcut menu.
Optimetrics 5-145
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Optionally, to modify the constant values of other swept variables, do the following:
The Setup Plot dialog box appears. All of the other solved variable values are listed.
b. Click the row with the variable value you want to use as the constant value in the plot,
and then click OK.
5. Select the solution quantity results you want to plot on the y-axis from the Y pull-down list.
6. Right-click in the plot area to get the shortcut menu where you can set modify the plots
display properties, print, copy to the clipboard, or export the data to a file.
1. In the project tree, right-click the optimization setup for which you want to view the cost
results, and then click View Analysis Result on the shortcut menu.
2. Under the Result tab, select Table as the view type, if it is not already selected.
The cost value at each solved design variation is listed in table format.
3. Optionally, click a design variation in the table, and then click Apply.
The software now points to the selected design variation as the nominal solution and as a result,
the design displayed in the Modeler window is changed to represent the selected design
variation.
Click Revert to return the design in the view window to the original value.
Related Topics
To view cost values versus completed iterations in rectangular (x-y) plot format:
Optimetrics 5-146
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
1. In the project tree, right-click the optimization setup for which you want to view the cost
results, and then click View Analysis Result on the shortcut menu.
1. In the project tree, right-click the sensitivity setup for which you want to view the parameter
results, and then click View Analysis Result on the shortcut menu.
2. Under the Result tab, select Table as the view type, if it is not already selected.
l The regression value of the output parameter at the design point is listed in the Func.
Value column.
l The first derivative of the regression is listed in the 1st D column.
l The second derivative of the regression is listed in the 2nd D column.
3. Click Apply.
The software now points to the selected design variation as the nominal solution and as a result,
the design displayed in the Modeler window is changed to represent the selected design
variation.
Click Revert to return the design in the view window to the original value.
Related Topics
To plot output parameter results versus sensitivity variable values on a rectangular (xy) plot:
1. In the project tree, right-click the sensitivity setup for which you want to view the output
parameter results, and then click View Analysis Result on the shortcut menu.
Optimetrics 5-147
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The plot displays actual output parameter results for each solved design variation. It also
displays a parabola that best fits these results. The parabola is a more accurate representation
of sensitivity around the design point than any individual solved design variation.
2. Select the statistical setup with the results you want to view from the pull-down list at the top
of the dialog box.
3. To view the results in tabular form, select Table as the view type.
The distribution results for the selected solution quantities are listed in table format for each
solved design variation.
4. Optionally, click a design variation in the table, and then click Apply (at the far right side of
the dialog box).
The design displayed in the 3D Modeler window is changed to represent the selected design
variation.
5. To view the results in graphic format, select Plot as the view type.
6. Type the number of bins you want to plot on the x-axis.
7. Select the solution quantity for which you want to plot distribution results on the y-axis from
the Y pull-down list.
A histogram plot appears in the Post Analysis Display dialog box. It displays the distribution of
the selected solution quantity.
8. Optionally, click a design variation in the table, and then click Apply (at the far right side of
the dialog box).
The software now points to the selected design variation as the nominal solution and as a result,
the design displayed in the Modeler window is changed to represent the selected design
variation.
Click Revert to return the design in the view window to the original value.
Optimetrics 5-148
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Related Topics
1. In the project tree, right-click the statistical setup for which you want to view the distribution
results calculated for the solution quantities, and then click View Analysis Result on the
shortcut menu.
2. Select the statistical setup with the results you want to view from the pull-down list at the top
of the dialog box.
3. If it is not already selected, select Plot as the view type.
4. Type the number of bins you want to plot on the x-axis.
5. Select the solution quantity for which you want to plot distribution results on the y-axis from
the Y pull-down list.
A histogram plot appears in the Post Analysis Display dialog box. It displays the distribution of
the selected solution quantity.
Link to DesignXplorer
You can export a .xml file containing information on an HFSS or Q3D setup, optimization variables,
and output variables that enables ANSYS Design Xplorer to manage the simulations, for example,
for design of experiments and optimization. Design Xplorer will launch ANSYS Electronics
Desktop simulations of design variations and evaluate the outputs.
To do so:
1. Click your product on the menu bar and then Optimetrics Analysis>Add Design Xplorer
Setup... or right-click on Optimetrics in the Project window, and select Add Design
Xplorer Setup... from the short-cut menu.
This opens the Design Xplorer dialog with the General tab selected. it lists the setups
available in the current project, and the input variables it contains.
Optimetrics 5-149
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
This opens the Add/Edit Calculation dialog. Here you can define the simulation results of
interest. The dialog box contains distinct panes and tabs to set the Context, the Calculation
Expression, and the Calculation Range. See Setup Calculations for Optimetrics for details.
Use the Add Calculation button to add expressions to the Calculations table of the Design
Xplorer Setup dialog, Calculations tab.
5. When you have added the calculations of interest, click OK to save the setup.
An icon for the Design Xplorer setup appears under Optimization in the Project tree.
Optimetrics 5-150
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
6. To create a .xml file with the setup information for Design Xplorer, first Save your project.
7. Then right-click on the setup and select Export External Connector Addin
Configuration.
This displays a browser dialog that you can use to navigate your file system, and name and
saves the .xml file. The .xml file contains information regarding the path along with the setup,
variables, and simulation results that you specified.
8. If you have an ANSYS Workbench installation you can perform additional steps. You should
have provided a path to the Workbench installation in the Tools>General Options dialog
Miscellaneous tab, to provide a path.
9. Then click Create Workbench Project.
This lets you name a Workbench project containing the information in the setup. The ANSYS
Workbench will be launched with the connection to the project established. To this connection,
you can add a Design Xplorer Setup. See the documentation of ANSYS Workbench for details
on Design Xplorer.
Optimetrics 5-151
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Related Topics
Also note the ANSYS Electromagnetics HPC Administrator’s Guide included in the
<path>AnsysEM\AnsysEM19.0\Win64\Help directory of your ANSYS Electronics Desktop
installation as HPC_Admin.pdf.
Remote Analysis
It is possible to solve a project on a different machine from the one on which you are running
ANSYS Electronics Desktop. This is particularly useful when you want to take advantage of a more
powerful machine but it is not convenient to access that machine. This process involves configuring
the machine that is to perform the solving (the remote machine), as well as the machine from which
the simulation is to be launched (the local machine). This can also be extended into distributed
analysis, where a specified analysis, if supported, is concurrently solved on multiple machines.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note Communication between machines in remote analysis and distributed analysis can
drastically affect performance. Use of a high-speed network system, like Gigabit or
Infiniband, is recommended for optimal performance.
Note For Icepak designs, you cannot submit jobs from a Windows or Linux machine to a Linux
cluster.
l Prerequisites for Remote and Distributed Analysis
l Configuring the Local Machine to Solve Remotely
l Remote Analysis Options
l Running Remote Analysis
The Tools>Options>Export Options Files command writes xml files containing the Options settings
at all levels to the specified directory. The Tools>Options>Export Options feature is intended to
make it easier for different users to use ANSYS EM tools installed on shared directories or network
drives. The Example Uses for Export Options Features section outlines some use cases enabled
by this feature.
1. You must have ANSYS EM's Remote Simulation Manager (RSM) or a supported High
Performance Computing (HPC) management software program. (See High Performance
Computing (HPC) Integration). The list of currently-supported HPC software includes
l Platform's Load Sharing Facility or LSF
l Altair's PBS
l Sun GridEngine
l Microsoft® Windows® Compute Cluster Server 2003
l Microsoft® Windows® HPC Server 2012 R2
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
2. ANSYS Electronics Desktop must be accessible from all remote machines as well as
accessible on the local machine.
3. If you use RSM, it must be accessible from all remote machines. In addition, the ANSYS
Electronics Desktop engines must be registered with each initialization of RSM. To do this,
on each remote machine:
l On Windows on the local and remote machines, click
Start>Programs>ANSYS Electromagnetics Suite 19.0>>Register with RSM. You
can also run
RegisterEnginesWith RSM.exe, located in the product subdirectory (for example,
C:\Program Files\AnsysEM\AnsysEM19.0\Win64\RegisterEnginesWithRSM.exe).
In each case, you see a dialog confirming the registration. OK the dialog.
If the RSM service cannot run due to permission issues for the configuration file, it issues an error
message and exits. If your product is not registered with RSM, the analysis will run locally.
You also set the Remote Analysis Options in the General options dialog, RSM Analysis
Options tab.
Select whether to run simulation processes as the user running RSM (Service User), or a
Specified User. If you select Specified user, you must provide the User Name, Password, and any
Domain/Workgroup on which this user is defined. If the name or password is incorrect, the
Message window issues a warning message, and the solver attempts to perform the analysis as
the Service User.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
When you run a simulation remotely, you should see a message in the Progress window identifying
the design name, and the specified remote machine. You will see Progress messages as the
simulations continues. When the simulation is complete, you will see a message in the Message
window.
Related Topics
Distributed Analysis
Troubleshooting
Troubleshooting
Problem: When you try to solve from local to remote machine, an HFSSCOMENGINE process
starts on the remote machine, but the HFSS user interface hangs indefinitely.
This occurs if the remote solve option is enabled after the COM daemon is started, or when the
option "Don't allow exceptions" is selected for the Windows firewall.
Problem: When you try to solve from a local to a remote machine, you receive the following error
message:
[error] Unable to locate or start COM engine on 'nomachine' : Unable to reach AnsoftRSMService.
Check if the service is running and if the firewall allows communication. (10:57:13 PM Aug 13,
2009)
Resolution: This message can happen if the machine is not present, the network connection is
down, if there are firewall issues or if the service is not running.
Error: "Unable to locate or start COM engine on <remote node> : Unable to reach
AnsoftRSMService. Check if the service is running and if the firewall allows communication."
1. Try disabling the firewall. If this fixes the problem, please contact at [email protected]
2. Confirm that you have not changed the Ansoft Service Port in Tools > Options > General
Options > Remote Analysis Options from the default 32958. If you have, change it back
to 32958, restart ANSYS Electromagnetics Desktop, and try to solve again.
3. Make sure that the local machine is able to contact the RSM port on the remote node. Open
a command prompt on the local machine and type telnet <remote node name> 32958. If the
terminal appears to be hanging then the connection was successful.
4. Check to make sure the Ansoft Communication Service is running. To do this, go to the
Windows Control Panel and choose Administrative Tools > Services. Find the Ansoft
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
RSM Service and make sure its status says Started. If it is not running, try to start it by right-
clicking on the service and choosing Start. If it still does not start, then check the
username/password combination listed in the Log On tab of the service properties.
5. Make sure the user listed in the service is an administrator.
6. Make sure the COM engine is registered with the Ansoft RSM Service. From the Windows
menu, choose Start>All Programs >ANSYS Electromagnetics Suite 19.0 >Register
with RSM to register the engines.
Error: "Unable to locate or start COM engine on <remote node>: Engine is not registered with the
Ansoft RSM service which is running on this machine."
a. To register the engine, from the Windows menu, select Start >All Programs >ANSYS
Electromagnetics Suite 19.0 > Register with RSM
Error: "Unable to locate or start COM engine on <remote node>: Unable to reach
AnsoftRSMService. Check if the service is running and if the firewall allows communication."
1. Try disabling the firewall. If this fixes the problem, please contact at [email protected]
2. Confirm that you have not changed the Ansoft Service Port in Tools >Options >General
Options >Remote Analysis Options from the default 32958. If you have, change it back
to 32958, restart the ANSYS Electromagnetics product, and try to solve again.
3. Make sure that the local machine is able to contact the RSM port on the remote node. Open
a command prompt on the local machine and type telnet <remote node name> 32958. If the
terminal appears to be hanging then the connection was successful.
4. Check to make sure Remote Simulation Manager is running. To do this:
a. Go to the 'rsm' subdirectory of the Remote Simulation Manager installation directory,
<RSM installdir>/rsm.
b. Type ./ansoftrsmservice status.
c. If the status query indicates that the service is stopped, type ./ansoftrsmservice start.
5. Make sure the COM engine is registered with RSM. Type ./RegisterEnginesWithRSM.pl
status from within the HFSS installation directory. If the status query indicates "Not
registered", type:
./RegisterEnginesWithRSM.pl add.
Error: "Unable to locate or start COM engine on <remote node>: Engine is not registered with the
Ansoft RSM service which is running on this machine."
1. To register the engine, go to the ANSYS Electromagnetics product installation directory and
type:
./RegisterEnginesWithRSM.pl add.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Distributed Analysis
Distributed analysis allows users to split certain types of analyses and solve each portion of an
analysis simultaneously on multiple machines. Simulation times can be greatly decreased by using
this feature.
HFSS, HFSS-IE, Q3D, and Icepak support different forms of distributed analysis:
l Distributing rows of a parametric table, either as a regular DSO, or as Large Scale DSO
performed through command line. Large Scale DSO generates a reduced set of outputs.
l Distributing array solves.
l Distributing domain solves.
l Distributing a single or discrete interpolating sweep.
Note Communication between machines in remote analysis and distributed analysis can
drastically affect performance. Use of a high-speed network system, like Gigabit or
Infiniband, is recommended for optimal performance.
Related Topics
1. Click the Analysis settings icon on the Toolbar or click Tools>HPC and Analysis Options.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
This opens the HPC and Analysis Options dialog. You can define and select configurations
ANSYS Electronics Desktop design types separately. You can view a list of Available
configurations, and a report of the configuration details. From the current, list, you can select a
configuration to Make Active. You can also Add a new configuration, Edit an existing one, or
Export as an ANSYS Configuration file (*.acf). You can also Import a configuration file. This
lists existing configurations, and shows all machines in the selected configuration, enabled or
not. You can Copy an existing configuration, typically to edit the name and contents for other
purposes.
The Analysis Options tab lets you choose to Queue all simulations, You define configurations
defined for all ANSYS Electronics Desktop design types separately. In the Options tab you can
enable queuing, set the design type, specify the Distributed Memory vendor, set licensing
options and Enable GPU. You can also specify default process priority.
For a more detailed discussion of this dialog, see Setting HPC and Analysis Options.
2. To define a new configuration, on the Analysis Settings dialog, click the Add button to
open the Analysis Configuration dialog. See Editing Distributed Machine Configurations..
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The Tools>Export Options Files command writes xml files containing the Options settings at all
levels to the specified directory (default, ~\Documents\Ansoft\). The Tools>Options>Export
Options feature is intended to make it easier for different users to use ANSYS EM tools installed
on shared directories or network drives. The Example Uses for Export Options Features section
outlines some use cases enabled by this feature.
This opens the Analysis Configuration dialog. directly. You can also access this dialog from
the HPC and Analysis Options dialog by clicking the Add..,, Edit..., or Copy... buttons.
If you have selected Add... from the HPC and Analysis Options dialog , the fields are empty.
If you have selected Edit... or used Tools>Edit Active Analysis Configuration or clicked
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Copy from the HPC and Analysis Options dialog, the fields show the selected
configuration.
1. If you Add a new configuration, you must specify the name of the new or edited
configuration. It cannot be empty and cannot be a previously used name or a reserved word.
2. If the solver supports automatic settings, you can select the Use Automatic Settings check
box assign resources automatically, or you can uncheck the box to specify job distribution
manually in the Job Distribution tab, as discussed below. HFSS, HFSS-IE, and HFSS-3D
Layout have Use automatic settings selected by default.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Selecting Use Automatic Settings disables the Job Distribution tab, and sets those
parameters automatically, based on the best use of available resources for the current analysis.
It also enables the Num variations to distribute field and its value can be edited. Depending on
the resources available, and whether the simulation defines optimetrics variations and other
distributed types, the simulation can include up to three levels of distribution.
Variations will not be distributed when the number of variations to distribute is set to 1. In this
case when you close the Analysis Configuration dialog, the HPC and Analysis Options
dialog, Configuration tab provides details of the Job Distribution that does not use 3 level
distribution.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
For Transient problems, the Use Automatic Settings option distributes one excitation to each
machine listed in the configuration. Each machine uses all cores assigned to it while solving its
excitation. Unlike automatic frequency setup, the machines are assigned sequentially without
regard to machine capability and there is no automatic restart of failed solves.
The Enable GPU option is honored for all distributed machines have the necessary hardware.
Machines Tab
3. This tab contains the machine list for the analysis configuration.
Here you can provide machine information, either by specifying Remote machine details, or by
importing a list of machines from a file. You can then remove, order, test, and enable machines
on the list. Control buttons let you Add machine(s) to list or Remove machines from the list.
If automatic settings are either not used or not available, note that each machine has an
associated number of tasks and number of cores.
The number of tasks specifies the total number of compute jobs that will be run on that machine
simultaneously. Each separate solver or engine instance is one task. The Total Cores specifies
the total number of cores that will be used on the given machine. This is how you specify
multiprocessing. For instance, if you want to run two threads for each task, you specify Total
Cores = 2 x Total Tasks. The Total Cores must always be greater than or equal to the Number
of Tasks. If the number of cores is not an exact multiple of the number of tasks, some tasks will
use more cores than others. For instance, if Number of Tasks is 4 and Total Cores is 10, 2 tasks
will use 3 cores, and 2 tasks will use 2 cores.
You can import a machine list from a file, and an enhanced the file format handles the new
flexibility. Each line of the file can contain a machine specifier of the form:
<MachineName>:<NumTasks>:<NumCores>.
Note: this same format is used with the "-machinelist file=" command line option.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
To streamline the common case of running jobs on the current machine, use the dedicated radio
button to specify the local machine.
4. For each machine to manually add to the list, under Remote Machine Details, specify an IP
address, a DNS name, or a UNC name.
The remote machines must have the same ANSYS Electromagnetics Suite version installed in
the same OS and version, and have the RSM service active.
Once you have specified the remote machine details, either directly or by Importing Machine
from a File, you select a machine from the table to enable the buttons to Remove a machine,
or to Move a machine up or down on the list.
The displayed list always shows the order in which you entered them irrespective of the load on
the machines. If you have selected Use Automatic Settings, the Tasks column field is
disabled because you no longer need to make those assignments. To control the list order,
select one or more machines, and use the Move up or Move down buttons. Move up and
Move down are enabled when you select one or more adjacent machine names.
Enabled Machines
Each machine on the current list has an Enabled check box. Here you can enable or disable the
listed machines according to circumstance. Above the table, the dialog gives a count of the total
enabled tasks, and the total enabled cores.
For distributed tasks, the software will allocate the total cores on a given machine to that
machine's tasks. If a machine with 8 cores is running 2 distributed tasks, the software will
automatically allocate 4 cores to each task. If it is running 4 distributed tasks, each gets 2 cores.
And if it is running 3 distributed tasks, the first two tasks get 3 cores and the last task gets 2
cores.
For a given variation (for example, frequency or geometry), you should make assignments so
that each task has the same number of cores. This is because the solvers attempt to make each
task computationally balanced. For example, with two machines, one with eight cores, and
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
another with four, assuming that the memory is proportionally equivalent, you could assign two
tasks for machine 1, and one task for machine 2, giving all tasks the same number of cores.
In general, ANSYS Electromagnetics Suite solvers use machines in the distributed analysis
machines list in the order in which they appear. If you select a distributed configuration (rather
than Local) from the Toolbar menu and you launch multiple analyses from the same UI, ANSYS
Electromagnetics Suite solvers select the machines that are running the fewest number of
engines in the order in which the machines appear in the list. For example, if the list contains 4
machines, and you launch a simulation that requires one machine, the solver chooses the first
machine in the list. If another simulation is launched while the previous one is running, and this
simulation requires two machines, the solver chooses machines 2 and 3 from the list. If the first
simulation then terminates and we launch another simulation requiring three machines, the
solver chooses 1, 4, and 2 (in that order).
Test Machines
Test Machines- When multiple users on a network are using distributed solve or remote solve,
they should check the status of their machines before launching a simulation to ensure no other
ANSYS EM processes are running on the machine. To do this, you can select one or more
machines and click the Test Machines button. A Test Machines dialog opens.
The test goes through the current machine list and gives a report on the status of each machine. A
progress bar shows how far testing has gone. An Abort button lets you cancel a test. When the test
is complete, you can OK to close the dialog. If you need to disable or Enable machines from the list
based on the report, you can do so in the Distributed Analysis Machines dialog.
Use this tab to manually enable specific types of job distribution and to enable multi-level solves.
The Job distribution tab is disabled if you select Use Automatic Settings. The Job distribution
types listed are design type specific and will differ between solvers. HFSS, HFSS-IE, and HFSS-
3D Layout have User automatic settings selected by default. With Use automatic settings selected,
the Job distribution field is removed.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Use the check boxes enable/disable available distribution-types. The job distribution list box allows
you to specify which job distribution types to allow for the current analysis configuration. At solve
time, the ANSYS Electromagnetics software automatically select the best distribution type from the
enabled distribution types. By enabling/disabling distribution types, you can control the job
distribution.
Just because you enable a distribution type does not mean it will be used. It must be also allowed
by the solve setup. Note that the enabled distribution types will apply to all setups of the given
design type, so it is possible for different setups in a design to be solved using different distribution
types.
The distribution types that you enabled here are listed on the Analysis Settings dialog in the
Configuration details pane when select that configuration from the list.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
If your solver permits, and you have selected Use Automatic settings, the Job Distribution notes
that Optimetrics Variations will be solved sequentially, and other distribution types will be
distributed automatically.
For products that support two-level distribution, when the design is appropriate, you can turn on
two level distributed solves, and specify the number of engines to use for level 1. An example
design that could use two level distribution would be an array with frequency sweeps.
Distribution Levels
The radio buttons let you specify Single level or Enable two level distribution.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
If you select single level, one distribution type will be applied at each stage of the solution process. If
multiple types are available, the higher level solution will generally be distributed. All machine tasks
will be used by the single-level distribution.
One distribution type will be applied at each stage of the solution process. Common stages include
"LastAdaptive," "Sweep," and "Parametric." All machine tasks will be used by the single-level
distribution.
Parallel distribution types such as Optimetrics Variations, Frequencies, and Excitations are
considered as not required - if these types are not able to distribute, the simulation can be run
sequentially. Memory distribution types such as Direct Solver Memory and Domain Solver are
considered as required - if these types are enabled the software will assume that distribution is
necessary to extend the simulation scale or add fundamental solution capabilities.
When multiple distribution types are available, the higher level solution will generally be distributed.
For example, Optimetrics Variations will be distributed when both Optimetrics Variations and
Iterative Solver Excitations are enabled. Domain solver and Direct Solver Memory are exceptions
because they are required. Even though they are lower level, these types are distributed instead of
parallel distribution types.
An analysis setup distributes Iterative Solver Excitations during adaptive, then distributes
Frequencies during the sweep.
Two-level Distributions
Selecting Enable two-level enables the Distributed Solutions at first level selection box.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The first level will distribute the specified number of solutions. Each solution will use a subset of
machine tasks to distribute the second level. A solver distribution type must be available for the
second level; otherwise single-level distribution will be applied.
Domain solver requires a minimum of 3 to 4 tasks. When there are not enough tasks, the simulation
will fall back to a single level distribution. For example, the total number of machine tasks is 8 an
"Distributed solutions at first level" is 3. Since the 3rd solution at first level is only allowed 2 tasks,
the simulation will fall back to a single level distribution of Domain Solver.
Types that can be distributed at Level 1 are Optimetrics Variations and Frequencies. All Solver
distributions can be distributed as Level 2.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
HFSS Frequency Distribution can be treated as both of first and second level distribution. The
following bullets described the cases for an HFSS design with frequencies sweep setup and
parametric solve setup (for non transient solution).
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l In the Analysis Configuration dialog, if you select “Frequencies”, and “Iterative Solver
Excitations“( or “Direct Solver Memory“, or “Domain Solver”) with two-level distribution
enabled and if you select “Direct Solver Memory“ option (or corresponding solver option) in
the solve setup, HFSS only does two level distribution: first level, “Frequencies”; second
level, “Iterative Solver Excitations“ (or corresponding solver. We can see this in the “Preview
Job Distribution” in the same dialog. See the following two examples. The first shows Enable
Job Distribution Types for “Frequencies” and “Direct Solver Memory”.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The next shows Enable Distribution Types selections for “Frequencies” and “Iteration Solver
Excitations”.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
All machine tasks are used in a single-level distribution. For example, 10 frequencies will be solved
in parallel when there are 10 machine tasks. In two-level distributions, machine tasks are generally
distributed evenly between the first-level solutions.
The Preview Job Distribution Setup menu and Field lets you set how the selected setup will be
distributed.
Use the Options tab to specify options for the current analysis configuration. Different design
types may have different options available in their analysis configurations.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
These options settings will be in effect only when all the following are true:
l A design is being solved whose design type matches this analysis configuration's
l This analysis configuration is the active configuration for its design type
l You have not specified corresponding batch options on the command line. Command line
batchoptions can be used to override the options specified by the active configuration.
Relation to Batchoptions
Analysis configuration option settings can be overwritten by specifying the option name and value
inside a -batchoption string. See -batchoptionhelp for a list of batchoption names and possible
values. You can also view all available and frequently used batchoptions in the Job Management
Submit Job To: dialog, by clicking the Add... button under Analysis Options. This opens the Add
Batchoption dialog, which gives access to all batchoptions.
Click OK to accept the changes and close the Analysis Configuration dialog. Only machines
checked as Enabled appear on the distributed machines Configuration Details Machine list.
Regardless of the machine(s) on which the analysis is actually run, the number of processors and
RAM Limit (%) settings, and the default process priority settings are now read from the machine
from which you launch the analysis. See Setting HPC and Analysis Options.
Note The option is only active if there are multiple rows listed in the parametric table, there are
multiple frequency sweeps listed under a given analysis setup, and the number of
distributed analysis machines is two or greater.
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
This opens the Analysis Configuration dialog box directly. You can also access this dialog
from the HPC and Analysis Options dialog box by clicking the Add..,, Edit..., or Copy...
buttons.
If you have selected Add... from the HPC and Analysis Options dialog box, the fields are
empty. If you have selected Edit... or used Tools>Edit Active Analysis Configuration or
clicked Copy from the HPC and Analysis Options dialog box, the fields show the selected
configuration.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
2. Specify the name of the new or edited configuration. It cannot be empty and cannot be a
previously used name or a reserved word.
3. Optionally, click the Use Automatic Settings . The Job distribution tab and Tasks
column are no longer available.
Machines Tab
This tab contains the machine list for the analysis configuration. Here you can provide machine
information, either by specifying Remote machine details, or by importing a list of machines from
a file. You can then remove, order, test, and enable machines on the list. Control buttons let you
Add machine(s) to list or Remove machines from the list.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
You can import a machine list from a file, and an enhanced the file format handles the new
flexibility. Each line of the file can contain a machine specifier of the form:
<MachineName>:<NumTasks>:<NumCores>.
Note: this same format is used with the "-machinelist file=" command line option.
To streamline the common case of running jobs on the current machine, use the dedicated radio
button to specify the local machine.
4. For each machine to manually add to the list, under Remote Machine Details, specify an IP
address, a DNS name, or a UNC name.
The remote machines must have the same ANSYS Electromagnetics Suite version installed in
the same OS and version, and have the RSM service active.
Once you have specified the remote machine details, either directly or by Importing Machine
from a File, you select a machine from the table to enable the buttons to Remove a machine,
or to Move a machine up or down on the list.
The displayed list always shows the order in which you entered them irrespective of the load on
the machines. To control the list order, select one or more machines, and use the Move up or
Move down buttons. Move up and Move down are enabled when you select one or more
adjacent machine names.
Enabled Machines
Each machine on the current list has an Enabled check box. Here you can enable or disable the
listed machines according to circumstance. Above the table, the dialog gives a count of the total
enabled tasks, and the total enabled cores.
For distributed tasks, the software will allocate the total cores on a given machine to that
machine's tasks. If a machine with 8 cores is running 2 distributed tasks, the software will
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
automatically allocate 4 cores to each task. If it is running 4 distributed tasks, each gets 2 cores.
And if it is running 3 distributed tasks, the first two tasks get 3 cores and the last task gets 2
cores.
For a given variation (for example, frequency or geometry), you should make assignments so
that each task has the same number of cores. This is because the solvers attempt to make each
task computationally balanced. For example, with two machines, one with eight cores, and
another with four, assuming that the memory is proportionally equivalent, you could assign two
tasks for machine 1, and one task for machine 2, giving all tasks the same number of cores.
If you select a distributed configuration (rather than Local) from the Toolbar menu and you
launch multiple analyses from the same UI. Q3D selects the machines that are running the
fewest number of engines in the order in which the machines appear in the list. For example, if
the list contains 4 machines, and you launch a simulation that requires one machine,Q3D
chooses the first machine in the list. If another simulation is launched while the previous one is
running, and this simulation requires two machines, Q3D chooses machines 2 and 3 from the
list. If the first simulation then terminates and we launch another simulation requiring three
machines, Q3D chooses 1, 4, and 2 (in that order).
Test Machines
Test Machines- When multiple users on a network are using distributed solve or remote solve,
they should check the status of their machines before launching a simulation to ensure no other
ANSYS EM processes are running on the machine. To do this, you can select one or more
machines and click the Test Machines button. A Test Machines dialog box opens.
The test goes through the current machine list and gives a report on the status of each machine. A
progress bar shows how far testing has gone. An Abort button lets you cancel a test. When the test
is complete, you can OK to close the dialog. If you need to disable or Enable machines from the list
based on the report, you can do so in the Distributed Analysis Machines dialog box.
Use this tab to enable specific types of job distribution and to enable multi-level solves. The Job
distribution types listed are design type specific and will differ between products.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Use the check boxes enable/disable available distribution-types. The job distribution list box allows
you to specify which job distribution types to allow for the current analysis configuration. At solve
time, the ANSYS Electromagnetics software automatically select the best distribution type from the
enabled distribution types. By enabling/disabling distribution types, you can control the job
distribution.
Just because you enable a distribution type does not mean it will be used. It must be also allowed
by the solve setup. Note that the enabled distribution types will apply to all setups of the given
design type, so it is possible for different setups in a design to be solved using different distribution
types.
The distribution types that you enabled here are listed on the Analysis Settings dialog in the
Configuration details pane when select that configuration from the list.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
For products that support two-level distribution, when the design is appropriate, you can turn on
two level distributed solves, and specify the number of engines to use for level 1. An example
design that could use two level distribution would be an array with frequency sweeps.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
If you select single level, one distribution type will be applied at each stage of the solution process. If
multiple types are available, the higher level solution will generally be distributed. All machine tasks
will be used by the single-level distribution.
Selecting Enable two level enables the Distributed Solutions at first level selection box.
If you select Enable two level, the first level will distribute the specified number of solutions. Each
solution will use a subset of machine tasks to distribute the second level. A solver distribution type
must be available for the second level, otherwise single-level distribution will be applied.
The Preview Job Distribution Setup menu and field lets you view how the selected setup will be
distributed.
This control determines how many level 1 tasks to create during a two level distribution. This
indirectly determines how many level 2 tasks for each level 1 task are used: the total number of
tasks is specified by the list of enabled machines on the first tab, and the software evenly distributes
resources among the L1 tasks which then are used to spawn off level 2 tasks.
Example 1:
For the parametric analysis, the level 1 distribution type is Variations and the level 2 distribution
type is Solvers Nets/Sources. Since the number of level 1 tasks = 3, three variations are launched
simultaneously. The number of enabled tasks is 20. Those 20 tasks will be split as evenly as
possible over the 3 variations. For the CG simulation, Variations 1 & 2 will each get 7 tasks and
Variation 3 will get 6 tasks to use for Solver distribution. The AC RL simulation will behave the
same way: Variation 1 = 7 tasks, Variation 2 = 7 tasks and Variation 3 = 6 tasks. For the DC RL
simulation, Variations 1 through 3 will each use 1 task as the DC RL solver is not distributable.
Example 2:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The CG, AC RL and DC RL simulation will start solving simultaneously because three level 1 tasks
have been specified. The tasks for the level 2 distribution, Solver Nets/Sources, will be assigned
proportionally according to the number of nets and sources in the design.
If Auto HPC is enabled for AC LR/ DC RL problem type in a machine with n cores, the adaptive
passes and frequency sweeps will use 1 task n cores only in one machine. If Auto HPC is enabled
for parametric solve, each variation will be solved sequentially and frequency sweep will be
distributed automatically.
For multiple DSO simulations on a single machine the total memory needed is the sum of the
memory used by each simulation. For example, assume we are running discrete frequency sweep
and each frequency point needs 3.5GB. Our computer has only 8GB of RAM but is a quad core
system. To keep the computer from going heavily into swap, which is highly inefficient, we would
only want to assign this computer twice to the list of machines in the DSO setup. To take advantage
of the remaining 2 CPUs then it would make sense to set the number of distributed processors to 2.
This would be the optimum for this setup. In addition one would need to be sure that the amount of
disk space available is also sufficient to fit all the requested simulations - typically hard drive space
is not the limiting factor.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Related Topics
HFSS frequency domain solvers can distribute in a two-level fashion, with variations or frequencies
as the first level, and solvers as the second level. You specify the number of solutions (variations or
frequencies) to distribute at level one, and each solution is given a subset of the total tasks to use
for the distributed solver at level two.
For example, suppose you want to solve a frequency sweep using the distributed direct solver. In
the Analysis Configuration, you specify 12 total tasks with 4 distributed solutions at the first level.
HFSS will solve 4 frequencies in parallel, with 3 tasks for solver distribution in each frequency
solution. If the tasks cannot be allocated equally, some solutions may be given one additional task.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Related Topics
For example, suppose that a given model requires at least 100 GB of memory to solve using DDM.
Assume that you have 10 machines each with 60 GB and 8 cores. One solution will require two
machines for the DDM solver. This means that, at most, 5 frequencies can be distributed. Each
DDM solution requires at least 3 tasks, but since more cores are available you should set 4 tasks
per machine, resulting in 2 cores for each Domain (see Domain Solver Guidelines for HPC
Configuration for more details. A machine configuration based on the machines and number of
tasks described above is shown in Figure 1.
Figure 1
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Figure 2
The domain decomposition solver supports two types of domains: solver domains and finite array
domains. For problems with solver domains, we could have either FEM domains alone or FEM
domains with FE-BI domain and possibly IE region domain. The following cases offer basic
guidelines for choosing number of tasks and number of cores per task for each.
In this case, total memory requirement will typically decrease with more tasks. But for optimal
speed, we advise that you have 2-3 cores per task.
If FEM portion is dominant geometrically, the rule of case1 also applies here. Otherwise more task
input will trigger distributed IE solver in IE and BI domains. Distributed IE solver will reduce
memory requirement in each BI/IE domain with modest speed improvement for some cases.
For most arrays, speed is optimal with 8-16 tasks. If you have more than 16 cores available,
assigning 2-3 cores per task would most likely be better than if you assign more tasks. For
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
example, if you have a total of 24 cores, you should assign 12 tasks with 2 cores per task rather
than assign 24 tasks with 1 core per task.
1. If memory usage is critical, 1 task per machine is recommended using all cores.
2. If memory usage is not critical, then using 4 cores per task is recommended for optimal
speed.
The dependence of distributed direct solver on number of tasks is very similar to the HFSS solver.
For distributed direct solver, the number of tasks increases the total memory but typically also
increase the speed of the simulation. We suggest the following guidelines:
The distributed iterative solver distributes excitations for faster simulations and not to access more
memory to solve a large problem. Each task corresponds to a number of excitations and therefore
more excitations are solved in parallel when the number of tasks increases.
The first consideration for the number of tasks is the memory requirement. Each task uses a similar
amount of memory, and the total memory usage doubles as the number of tasks doubles. Thus the
number of tasks on each compute node should be restricted to avoid "Out of Memory" failure.
The second consideration for the number of tasks is the number of excitations. HFSS designates
one of the tasks as the master, which does not participate in the iterative process. Thus the number
of tasks should be no more than the Total Number of Excitations + 1.
In summary, assuming that you have enough memory, if the number of excitations N is less than
the total number of cores M and you choose 4 cores per task, then the number of tasks is ceil(N/4)
+ 1, where ceil() stands for the ceiling function and the extra "1" is dedicated to the master task; if
the number of excitations N is more than the total number of cores M and you choose 4 cores per
task, then the number of tasks is ceil(M/4). For example, if you have a design with 64 excitations
and you have 32 cores available, you could define a possible setup having 8 tasks with 4 cores per
task.
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Large Scale DSO is used for 'large scale parallel' jobs, which either fail or scale poorly as Regular
DSO jobs. A Large Scale DSO job does not support the output of full parametric results, but
produces 'reduced' datasets corresponding to predefined Rectangular plots. The extracted
columns of data are saved as .csv files. Typically, there is one .csv file per-trace, per-variation.
These .csv outputs can be used directly in downstream applications (for example, Excel, or custom
programs that parse .csv files). They can also be Imported as Dataset Solutions for post
processing. Non-Rectangular plots of the design (such as statisticaleye or digital plot) are not
extracted. In order to produce a new output you must re-run the analysis.
Related Topics
Distributed Analysis
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l The ANSYS Electronics Desktop must be installed on the cluster which runs either a
supported scheduler or ANSYS RSM.
l The cluster is compatible with Large Scale DSO Requirements
l For releases before 19.0, the input projects for Large Scale DSO jobs distributed to multiple
hosts are normally required to be on a shared drive. With the 19.0 release, this requirement
is eliminated for most cases. For the RSM scenario, the shared drive requirement is
eliminated, but the project must be accessible on the local host, which must be the first host
for the job. For scheduler scenario, because the job can get started on any of the compute
nodes based upon what is allocated to the job by scheduler, users may still need to have the
project on shared drive. However some customers have their own job scripts for job
spooling, which copy the project from the source location to a local folder on the first
execution host of the job. Such customers will no longer need shared drive for their projects.
l Every node of the cluster supports the disk space (in temp directory) and memory
requirements of multiple engines that un in parallel.
l All the machines allocated to Large Scale DSO job must all come from the same platform,
Windows or LINUX.
On the Windows platform, RSM is started as an 'admin' account, rather than as a 'system'
account.
Note Large Scale DSO does not support RSM Service running with 'system login' credentials.
l On each machine of the cluster, 'desktopjob' application is registered with Ansoft RSM
service using the command shown below:
Scheduler Environment
Related Topics
Distributed Analysis
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
What’s supported?
l Frequencies (MPI)
l Variations (engine)
l Transient excitations (MPI)
l Domain solver (MPI)
l Direct solver (MPI)
l Iterative solver (MPI)
If Optimetrics variations are not distributed, we might distribute frequencies. Discrete and
interpolating sweeps are distributable. Fast sweeps are not. As with Optimetrics, if MPI is required
it takes precedence over variations. So we need to be able to distribute enough MPI machines for
each frequency.
Next, we look whether the setup is requesting the iterative solver. If we are not distributing
Optimetrics, we will distribute iterative solvers via MPI. If we are distributing Optimetrics and 2 level
is enabled, then we need enough MPI solvers for each variation in order to distribute iterative
solvers.
Note MPI distribution of domain and direct solvers is of higher precedence than Optimetrics. But,
Optimetrics is of higher precedence than iterative solvers.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Finally, if we are a transient network problem there is no MPI. So, we will distribute transient
excitations unless we are already distributing variations.
If the current solve setup (for example. “Setup1”) has domains enabled, MPI is required if any of
these are true:
l If there is an array.
l If there are no FE-BI or IE regions.
l If the DSO configuration enables domain distribution and we have a FE-BI or an IE region.
If the current solve setup does not enable domains, MPI is required if the Setup selected the direct
solver and the configuration enables Direct solver distribution
3. Otherwise 2
HFSS-IE
What’s supported?
l Frequencies (engine)
l Variations (engine)
l IE Solvers (MPI)
As with HFSS, MPI solves take precedence over engine solves. We will always distribute IE
solvers if enabled and there are enough machines to use.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
If we are not distributing variations, we will distribute frequencies if the above criteria are met.
What’s supported?
l Frequencies (engine)
l Variations (engine)
l Transient excitations (engine)
l Domain solver (MPI)
l Direct solver (MPI)
l Iterative solver (MPI)
If Optimetrics variations are not distributed, we might distribute frequencies. Discrete and
interpolating sweeps are distributable. Fast sweeps are not. As with Optimetrics, if MPI is required
it takes precedence over variations. So we need to be able to distribute enough MPI machines for
each frequency.
Next, we look whether the setup is requesting the iterative solver. If we are not distributing
Optimetrics, we will distribute iterative solvers via MPI. If we are distributing Optimetrics and 2 level
is enabled, then we need enough MPI solvers for each variation in order to distribute iterative
solvers.
Note MPI distribution of domain and direct solvers is of higher precedence than Optimetrics. But,
Optimetrics is of higher precedence than iterative solvers.
Finally, if we are a transient network problem there is no MPI. So, we will distribute transient
excitations unless we are already distributing variations.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
If the current solve setup (for example. “Setup1”) has domains enabled, MPI is required if any of
these are true:
l if there is an array
l if there are no FE-BI or IE regions
l the DSO configuration enables domain distribution and we have a FE-BI or an IE region
If the current solve setup does not enable domains, MPI is required if the Setup selected the direct
solver and the configuration enables Direct solver distribution
General Notes
In the case of an uneven distribution, the smallest pool is used to determine capability. For
example, if we have 8 machines and the user wants 2 level solve of a frequency sweep with 3
machines at level 1, that would divide the machines into (3,3,2). If this is an array problem, we
would need 3 machines for each pool. So, we would disable 2 level distribution (rather than
reconfigure to only have 2 pools).
The user’s selection of (say) frequency distribution or 2 level does not require that we do so. In the
above example, if we are adapting we might choose to devote all 8 machines to the array solve at
each adaptive pass as there is neither frequency nor 2 level possible.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Click Select Scheduler to display the selection dialog. A drop down lists potential schedulers,
(which can include RSM, lsf, or sge, depending on the environment).
If you select a scheduler that is not supported in your environment, you receive a warning
message.
After selecting a scheduler, you can click Refresh to display information for that scheduler.
Once you have selected a scheduler supported in your environment, you can go through the
following steps to submit a Large Scale DSO job.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
click on the Project name in the Project Manager window, or right-click on the Setup name
for an Analysis or Optimetrics setup.
The panels for LSF and GE have some differences. See separate sections for Job
Management User Interface for LSF and Job Management User Interface for SGE.
l Enter all fields. Make sure to select 'ParametricSetupn' for analysis and check the Use
large scale DSO check box.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l To see the command-line submitted to the scheduler, click Preview Submission. This
opens a dialog showing the command to be sent to the scheduler.
See the discussion on Running ANSYS Electronics Desktop from a Command line for a
discussion of the solve information available through batch extract.
l If you intend to Monitor the job through a user interface, you must check Monitor job. You
can then monitor this job through the Tools>Job Management>Monitor Jobs...
command or by checking the dialog that opens when you submit the job.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
6. The Compute Resources tab displays other parameters. Depending on the resources
available for a scheduler environment, some of the fields may be disabled. HFSS, HFSS-IE,
and HFSS 3D Layout have Use automatic settings selected by default. With Use automatic
settings, the dialog looks like this:
l Specify nodes
l Cores, and RAM Limit (%).
The values you specify here represent minimal requirements for each condition that can interact
in leading to the total resources the Scheduler derives from them. The number of Cores must be
less than or equal to the number of Cores.
Notice that a preview of the Submit Job Results shows the number of resources assigned, and
that the scheduler generated code includes an MPI specification
7. If you uncheck Use automatic settings, the dialog provides choices for Tasks, and Job
Distribution options. For RSM Large Scale DSO jobs submitted from the Job Submission
panel, localhost must be the first node in the resource selection panel. Otherwise, the job will
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
fail.
Click the Modify button in the Job distribution pane to view the Job Distribution dialog.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
You can click the radio button to enable two level distribution.
This gives you the option of specifying the number of distributed solutions at the first level.
8. To submit the command with the specified parameters, click Submit Job.
Note The RSM environment does not support for queuing, so 'Submit Job' will
immediately start running the job.
A dialog displays in which you can check "Begin monitoring this job now."
9. You can monitor this job either automatically (by checking the option) or through the
Tools>Job Management>Monitor Jobs... command. For more details, see Monitor Jobs
window.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The process for submitting and monitoring Large Scale DSO jobs in LSF/SGE environments. is
generally similar.
Close project
2. Copy the input project (or folder, if the project references external files) from personal
workstation to shared-drive on cluster (say project is copied to
/home/projects/spool/test.adsn)
In the scheduler environment, a cluster must have a designated 'postprocessing node'. Open a
remote-desktop session (or equivalent such as vnc session) on the designated 'post-processing
node'. Say the name of this node is 'm1'. Launch Desktop graphically on 'm1'.
Right-click on ParametricSetup1 and run Large Scale DSO/Validate. Fix any validation errors
If you selected the Parametric Setup, and use the shortcut menu to click Submit Job..., the Job
Submission panel has that parametric setup pre-selected.
5. Click on 'Preview' to check (and/or copy to clipboard) job's command-line. Click on Submit
Job.
6. Monitor this job through the Tools>Job Management>Monitor Jobs... command. For
more details, see Monitor Jobs window.
See separate sections for Job Management User Interface for LSF and Job Management User
Interface for GE.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Options:
-preserve: Preserve local storage space of the distributed job for investigation into job's run. If
local storage directory (aka, temp directory) is provisioned by scheduler, ensure it is also
configured to preserve job's local storage. (Note: this storage should be deleted manually)
Example:
-batchoptions <config-file-on-shared-drive>
-machinelist:
Specify machines for distributed analysis. Machine list is specified either inline (as a comma
separated machine names) or through a file. Multiple cores are specified by repeating the name
of machine or by embedding number of cores in the machine name, using a colon separator.
Example 1:
-machinelist "list=m1,m1,m1,m2,m2,m3"
Example 2:
-machinelist "list=m1:3,m2:2,m3"
Example 2:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
-machinelist "file=machines.txt"
Specify the portion of total machines for distributed analysis. Use remaining for overhead or
shared memory multiprocessing.
Example:
-machinelist "Num=10"
-usefolderasinput: Choose this option if the job's input represents the entire folder rather than
just the project file.
-maxfolderInMB: Specify the maximum size (MBytes) of input folder that is allowed for a valid job.
By default, the maximum size allowed for input is 10MB. Specify a value of 0 to remove this size
restriction and enable inputs of any size. Note: this option applies when '-usefolderasinput' is used.
-workdir: Specify the shared drive folder for status and result files generated by analysis. By
default, the results folder of input project is used as the work directory.
-batchsolve: Solve the specified parametric setup. Syntax for the setup:
<design-name>:Optimetrics:<parametric-setup>
Related Topics
The initial header rows of CSV file define the solved variation. For each such row, the first column
has variable name and the second column has variable's value. The row following variation rows
has the name of primary sweep and the name(s) of extracted quantities. Subsequent rows contain
'data' - quantity values as a function of primary sweep. Below examples provide a context for the
CSV file contents:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Traces of S-parameter report: The data portion of CSV file has 2 columns of data: first
column has Freq values and the second column has values for trace's s-parameter
component
l Trace of a far field report: Suppose there is a farfield report with a trace ('magrE'), whose
primary sweep is 'phi' and secondary sweep is 'theta'. Further suppose that two values of
'theta' are chosen and 'all' values of 'phi' are chosen. For this trace, the data portion of CSV
file contains three columns of data: the first column has phi values, the second column has
magrE values for the first value of theta, the third column has magrE values for second value
of theta. The magrE output columns are titled as 'magrE_crv1', 'magrE_crv2' respectively
l (Advanced) 'Special' sweeps: In the case of a trace with 'special' primary sweep (such as
the trace of a time domain quantity), one CSV file is created per curve of trace, per variation.
These CSV files always have two columns, irrespective of the number of values chosen for
secondary/higher sweeps.
Related Topics
This example presumes that your configuration satisfies the Prerequisites for Large Scale DSO.
For this example, pre-suppose that we have a Windows cluster. Further suppose that the shared
drive folder, which contains the input projects and computed results is at the location
\\sjo7na1\hfssprojs.
For this example, start with the standard HFSS OptimTee.aedt example and copy it to the
shared drive.
Copy "<installation-directory>\<platform>Examples\RF_Microwave\OptimTee.aedt" to
"\\sjo7na1\hfssprojs\OptimTee.aedt"
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
For this example, use the existing 'ParametricSetup1' as the parametric setup to solve.
Outputs from Large Scale DSO come from pre-defined rectangular plots that are created
before the Analysis command is issued. Follow the steps below:
a. Because these DSO outputs come solely from Rectangular Plots, delete all other
postprocessing setups, and then turn off Save Fields And Mesh as shown below.
Open ParametricSetup1 for editing. You will see that the OptimTee parametric setup contains
three calculations, as shown below.
b. Delete all three calculations. When you have done so, the Setup Sweep Analysis
Calculations tab looks like this:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
c. Click on the Options tab and uncheck Save Fields And Mesh, as shown below:
For this example, you add six traces that correspond to six csv outputs of the Large Scale DSO
job: mag(S11), mag(S12), mag(S13), Power11, Power12, and Power13.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
b. Click on the Families tab and ensure that all variables are set to Nominal, as shown
below.
Note For Large Scale DSO, outputs are not extracted correctly unless all variables on
the Families tab are set to nominal.
Use the Report to create a Power distribution plot that has three power distribution traces.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
d. To create an S-parameter plot that has three traces, click Results>Create Modal
Solution Data Report>Rectangular Plot.
e. As shown below, select three quantities, Power11, Power21, and Power31.
f. Click on the Families tab and ensure that all variables are set to Nominal.
g. Click the New Report button.
6. Right-click on the parametric sweep, and select Validate for Large Scale DSO.
7. A dialog reports any errors. These may occur if the steps just taken are neglected:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Next
Related Topics
This section includes examples of submitting a Large Scale DSO job using Ansoft RSM and a
Scheduler.
1. Before submitting the job make sure that the input project is not open in any HFSS Desktop
window.
2. For this example, suppose that there are two quad-core machines on your cluster with the
names "m1" and "m2". Further suppose that there are two engines per machine, for a total of
four parallel engines. Let the number of processors allocated to each engine be 1.
3. From a command prompt, issue the following command:
<installation-directory>/<platform>desktopjob.exe -cmd dso -
machinelist "list=m1:2,m2:2" -batchoptions
\\sjo7na\hfssprojs\hfssoptions.txt -batchsolve
"TeeModel:Optimetrics:ParametricSetup1"
\\sjo7na\hfssprojs\OptimTee.aedt
'Desktop/Settings/ProjectOptions/NumberOfProcessors'=1
'HFSS/Preferences/NumberOfProcessorsDistributed'=1
'HFSS/Preferences/NumberOfProcessorsPostProc'=1
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
'HFSS/Preferences/UseHPCforMP'=0
'HFSS/Preferences/SaveBeforeSolving'=0
'HFSS/Preferences/MemLiimitHard'=0
'HFSS/Preferences/MemLimitSoft'=0
'HFSS/Preferences/HPCLicenceType'='pack'
#end 'Config'
1. Suppose you want to solve variations using four parallel engines, each engine being
assigned a single core.
2. From a command prompt, run the following command:
bsub -n 4 <installation-directory>/<platform>/desktopjob.exe -cmd
dso -batchoptions \\sjo7na\hfssprojs\hfssoptions.txt -batchsolve
"TeeModel:Optimetrics:ParametricSetup1"\\sjo7na\hfssprojs\OptimTee.a
edt
where the file \\sjo7na\hfssproj\hfssoptions.txt has the same contents as the RSM example
above.
Next
Related Topics
Once the job is done, output is available in the ~\OptimTee.aedt\jobid\results folder. Each variation
creates a subfolder, which in turn has one csv file per trace of each report. See the detailed
information regarding job monitoring and the location of the analysis logs.
The figure below shows the results for 10 variations as located in 10 folders.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
There are six csv files corresponding to three S-parameter traces and three power distribution
traces, as shown below for the fourth variation.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Related Topics
1. Import solved large scale DSO solution. You can do this in two ways.
In the Project tree. right click on Optimetrics and from the menu click Import Large Scale DSO
Solution.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
This opens the Import Large Scale DSO Dataset Solution dialog.
From here you can browse to the results of a Large Scale DSO job and select a job folder. Click
the ellipsis button [...] to open the browser window Navigate to the results directory to see the
results, organized by the scheduler prefix and job ID number. To select a results dataset,
double-click on the results folder name.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
This shows the selected Directory path, and lists the contents of the selected directory.
Click Open to show the Import Large Scale DSO Dataset Solutions dialog with the Job
Folder path and the Solution name listed.
Click, OK to import the Dataset. If you have selected the solution folder correctly the dialog
closes. If not, an error dialog opens.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
In the Project tree, right click on Results and from the menu click Dataset Solutions....
This displays the Dataset Solutions dialog, listing any existing datasets.
Selecting a listed dataset enables the Delete button. The ImportLarge Scale DSO Solution
button also opens the dialog for importing a dataset solution.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
After you have imported one or more DSO solutions, you can create a Dataset Report. Right
click on Results and from the menu select Create Dataset Report, and the type of report.
This opens a reporter window from which you can create a report. If you have previously
created an eye diagram report and it is included in the DSO solution data extraction, you can
use Create Dataset Report > Eye Diagram to recreate this report.
If you re-open a project that was solved using large scale DSO, you can quickly clone a report
for a solved large scale DSO solution by right-clicking in the Project tree on the report, and
choosing Clone from Dataset Solution..., provided this report is qualified for Large Scale DSO
data extraction. The provides a way that you can reuse the existing report definition and save
the work of creating new report.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Related Topics
The results of a Large Scale DSO job are located in the '<workdir>/<jobid>/results' folder. If
'workdir' is not specified on the job command-line, it is same as the input project's results folder. For
example the default 'workdir' corresponding to '\\shared\projects\tee.aedt' is
'\\shared\projects\tee.aedtresults'. Within this results folder, there is one folder per variation. The
name of the variation's folder is an integer number corresponding to variation's index in the
parametric table. For example, a variation-folder named '4' has results for the fifth row of
parametric table, while a variation-folder named '0' has results for the first row of the table.
Below is a sample results folder showing the contents corresponding to results of first variation.
There are ten CSV files corresponding to ten predefined traces.
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Cluster monitoring tools: The resource usage (CPU, Memory, Network) of Large Scale
DSO jobs is monitored using standard cluster monitoring tools. Such job-neutral resource
monitoring is ideal as it uses negligible network bandwidth, CPU/Memory.
l Detailed monitoring of analysis of a variation: For any detailed monitoring you must examine
the information provided in the job's log files. Specifically, the large-scale-dso job writes
detailed logs conveying information regarding the machines where engines are running and
the local storage location of per-engine distributed database. With such information, you can
login to individual machines for deeper probing of each distributed engine. Following logs
are available:
l Per-node logs:
There is one 'desktopjob.log' file per node assigned to the job. This log contains information
regarding the node such as name, local storage folder, number of engines started on this node,
etc. It is located in <workdir>/<jobid>/r<nodeIndex>. E.g. "<workdir>/<jobid>/r0" has
desktopjob.log corresponding to the engines running on the first node of job, while
"<workdir>/<jobid>/r2" has logs corresponding to engines running on third node
l Per-engine logs:
l Root desktopjob.log:
This is the top-level log that logs job distribution information such as hierarchical activation and
the list of nodes assigned to this job
l GM specific extraction
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Related Topics
l Shared drive for projects: Cluster must provide a shared drive that hosts job inputs - the
submitted project must be located on a shared drive (for e.g. a sub-folder of user's home
directory). The shared-drive must accessible using the same path on every node of cluster
l 'Temp directory' configuration
Temp directory is either on 'local storage' or on storage that has equivalent speed
characteristics i.e. the I/O rates of the storage should be invariant to network traffic
Temp directory on a host has sufficient space to hold results database for the variations that are
solved on it. Note:
The amount of required space depends on the number of engines per node and the cumulative
variations solved on this node
The amount of required space depends on the project's compression-options. For e.g. if 'Save
Fields' of a parametric setup is OFF, the space requirement is smaller by the amount of space
taken up by field solution data
Ansoft RSM must be running on all the nodes of cluster. The credentials of 'RSM service' allow
read/write to shared drive. Reason: the remote engine processes are launched using the
credentials of RSM service
Note LINUX specific critical note: Edit AnsoftRSMService.cfg and replace 'desktopjob.bin' with
'desktopjob'
Major limitation: In the Ansoft RSM environment, Large Scale DSO can only be enabled for one
product.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Troubleshooting hints (Ansoft RSM environment only): "shared drive read/write" requirement is a
new constraint introduced in Large Scale DSO. So if user runs into a situation where Regular DSO
jobs run and Large Scale DSO jobs fail, one possible cause for the failure: RSM service does not
have privileges to read and write to project folder located on shared-drive.
All the above steps apply, except for steps that are stated as LINUX-specific. Additional
instructions:
l Ansoft RSM and ANSYS Electromagnetics products are either installed locally on each
node of cluster (i.e. local installation) OR installed on a single shared-drive available to all
nodes of cluster (i.e. network installation)
l Registration of 'desktopjob.exe' with RSM service:
l Network installation: desktopjob.exe is registered with RSM service once, on any of the
nodes of cluster
l Local installation: Since each node has it's own RSM installation, desktopjob.exe must be
registered with RSM on each node.
Note IMPORTANT! Ansoft RSM service must be started using the credentials of a non-
system 'admin' account, which has read/write permissions to project's shared drive.
If RSM service runs as 'system' user, large-scale-dso jobs will fail
Limitation: Currently heterogeneous cluster (with both linux and windows nodes) is not supported.
This is due to the shared drive requirement.
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Cluster configuration (shared drive requirement): The input files (project, etc.) must be present on
a shared drive that is accessible from every node of the cluster.
Related Topics
Report-based extraction fails mysteriously if traces and parametric-setup are not 'prepared' as per
the Getting Started guides.
Job Abort: When a Large Scale DSO job is aborted, all results are lost (this will be fixed in R14
patch)
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Job re-start: There is no provision for stopping and re-starting a job. A new job does not reuse
solved results - always solves all rows in the table. So an abort or failure of a job re-starts from the
beginning, unless a new parametric table with the unsolved rows is created
Job outcome
Job status: The exit code of job doesn't indicate success or failure correctly. The error messages
from multiple log files needs to be combined to determine the reason for failure. In many situations,
the reason for a failure is apparent only after re-running the job after turning ON the 'debug logging'
In some LINUX scenarios, the analysis appears to finish successfully with valid results, except that
the exit code is '134'. In this case, although the exit is abnormal, the failed exit code can be ignored
Load Balancing: For models with 'unbalanced variations table' (i.e. variations that take
considerably different amount of time to solve are clustered in few regions of table), job will take
longer time to solve than a Regular DSO as the job's overall completion time is determined by the
slowest solving region.
Workaround: rearrange the rows in the parametric table so that each region takes a similar time to
solve
GM Specifics: the model used for 'Report-based extractor' jobs is NOT compatible with the
'ANSYS-extractor-for-GM' jobs. A valid model for ANSYS-extractor-for-GM cannot contain any of:
reports, overlay plots, Optimetrics calculations.
Related Topics
In most cases jobs run under a scheduler run as a batch job. These jobs may be submitted using
the ANSYS Electromagnetics Desktop job submission GUI, using cluster job submission
commands on a command line or using a cluster GUI, if available.
Some customers use an alternative method for submission of scheduler jobs. For convenience, we
call such jobs "interactive scheduler jobs". In this approach, the user submits an interactive job to
the scheduler. From the interactive job prompt, the user launches an ANSYS Electromagnetics
Desktop product, which starts in interactive (GUI) mode, not batch mode. The user selects a
project and then runs one or more analysis commands using the GUI. The intent is that these
analysis commands should use all resources allocated to the job, whether on the same host as the
GUI or on other hosts.
This approach is supported on Linux, where the user may set up an X Window System server for
interacting with the ANSYS Electromagnetics Desktop product GUI. The user needs to configure
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
the cluster environment and/or the interactive environment so that the user may view and interact
with the product GUI. This approach is not supported on Microsoft Windows.
l The UI shows the settings that will be used for analysis, even if they come from the
command line, not the registry.
l If you make changes to the settings in the UI, and the changed settings will be used for the
analysis, even if the changed settings conflict with the command line (including
batchoptions).
l If you makes no changes to the settings in the UI, then the command line settings (including
batchoptions) will be used for analysis.
Batchoptions settings which are automatically generated for batch jobs submitted using the
AnsysEM job submission GUI will need to be manually included in the product command line.
Some use cases require that certain settings be made on the command line when the product is
launched, rather than using the GUI.
For interactive scheduler jobs, only a limited set of batchoptions are supported. These batchoptions
correspond to the DSO configuration options, the batchoptions corresponding the design type
options, and the following additional options for each design type:
l NumCoresPerDistributedTask
l RAMLimitPercent
l RAMLimitPerCoreInGB
l SolveAdaptiveOnly
l TotalNumOfCores
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Any other batchoptions will result in a warning message and will be ignored.
Example
Command Line:
ansysedt -batchoptions " 'TempDirectory'='C:\\TEMP'
'HFSS/SelectedDSOConfiguration'='Local'
'Desktop/Settings/ProjectOptions/DoAutoSave'=1
'LargeScaleDSO/MaxFolderInMB'=100 "
Warning Message:
Because the "Interactive Scheduler Job" configuration is the only configuration accessible for
interactive scheduler jobs and it is not accessible in other modes, there is no sharing of the
"Interactive Scheduler Job" configuration settings with other modes.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
One major difference between interactive scheduler mode and batch mode or normal interactive
mode is:
l In interactive scheduler mode, DSO configuration settings and design type options in the UI
override command line options and batchoptions.
l When not in interactive scheduler mode, DSO configuration settings and design type options
specified on the command line (including batchoptions) override UI settings.
The most obvious changes for interactive scheduler jobs are visible in the Machines tab of the
Analysis Configuration dialog. The grid of machine information is prepopulated with the list of
machines allocated to the job. It also contains an additional column in interactive scheduler mode.
This column, "Allocated Cores", indicates the number of cores allocated to the job by the scheduler
on each host. You cannot add or remove machines from the list, or modify the allocated cores for
any machines. You can modify the tasks, cores or RAM limit for any machine, or specify that a
machine is enabled or disabled.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The Job Distribution tab of the Analysis Configuration dialog only appears if the "Use
Automatic Settings" check box is not checked. The state of this check box, and the settings shown
on this tab are initialized from the command line or from the registry. The command line options that
affect the "Use Automatic Settings" check box or the job distribution settings are:
l -distributed
l -local
l -auto
l -machinelist
The registry contains the last value of these settings for an interactive scheduler job for the same
user on the same host. Settings on the command line override settings from the registry. Any
changes in the GUI will override the initial settings, even if the initial settings are from the command
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
line. Any changes in the GUI also update the registry settings for the "Interactive Scheduler Job"
configuration for the current design type.
Example
Command line:
ansysedt -distributed includetypes=default maxlevels=2 numlevel1=3
You can use the Options tab of the Analysis Configuration dialog to examine or modify the
DSO configuration options. The DSO configuration options are handled like the design type
options, except that the Interactive Scheduler Job configuration settings are not shared with other
modes.
The settings on this tab are initialized from the command line (using the -batchoptions command
line option) or from the registry. The registry contains the last value of these settings for an
interactive scheduler job for the same user on the same host. Settings on the command line
override settings from the registry. Any changes in the GUI will override the initial settings, even if
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
the initial settings are from the command line. Any changes in the GUI also update the registry
settings for the "Interactive Scheduler Job" configuration for the current design type.
Example
Command line:
ansysedt -batchoptions 'HFSS/AllowOffCore'=0
These settings are shared between interactive scheduler mode and other modes.
Example
Command Line:
-batchoptions 'HFSS/HPCLicenseType'='Pack'
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
For both scheduler batch jobs and interactive scheduler jobs, the -MachineList num=<num
distributed tasks> format is the most common way to specify the number of tasks for the job. The
other formats (-MachineList list=... or -MachineList file=...) allow the user to specify the number of
tasks and cores to use on each host. These formats may be useful with clusters of heterogeneous
machines, by allowing the user to specify different numbers of tasks or cores for different hosts. If
either of the latter two formats is used, the user must ensure that the hosts and cores specified on
the product command line are compatible with the hosts and cores allocated to the job.
Batchoptions may be specified in the command line used to launch the product. Any valid
batchoptions specified in the command line will override the associated registry settings.
Batchoptions also override options specified using HPC and Analysis Options dialog or other
dialogs used to specify options.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
When submitting a job using the ANSYS Electromagnetics Desktop job submission GUI, the
number of cores per distributed task for a job is specified using the batchoption with pathname
'DesignType/NumCoresPerDistributedTask', where DesignType is the Design Type to analyze.
The batchoption setting is automatically included in the product command line when the job is
submitted to the scheduler.
For interactive scheduler jobs, the user must include the associated batchoption setting or settings
in the product command line when the product is launched. Multiple batchoption settings are
required if the user analyzes multiple design types using the same product process. Batchoptions
are the only way to specify this setting for batch jobs. For Interactive Scheduler Jobs, there is an
alternative to using the NumCoresPerDistributedTask batchoption. The user may specify the total
number of tasks and the total number of cores for each machine using the Machines tab of the
Analysis Configuration dialog. The Edit button in the HPC and Analysis Options may be
used to open the "Analysis Configuration" dialog for the "Interactive Scheduler Job"
configuration.
When cores and RAM per core are requested, the cores could be allocated in an arbitrary/non-
uniform way across nodes that themselves could be non-uniform/heterogeneous. For example,
nodes could range from 4 cores to 20 cores and from 64 GB to 384 GB. In such environments, the
RAM percentage set in the HPC configuration, Job Submission Compute Resources, or batch
option may not be appropriate. In such cases, you can use the batchoption for
RAMLimitPerCoreInGB. This setting specifies the Maximum amount of RAM used for each core
allocated by the scheduler in GB. This batchoption cannot b e combined with RAM limit percent
and is only valid when solving in a Linux scheduler environment.
The scheduler GUI automatically passes this new batch option instead of percent limit. From a
scheduler GUI, such a request is available only for auto.
You can also use this new batch option for command line submission. The desktop does the
computations and passes the percent limit to product/solver.
When submitting a job using the AnsysEM job submission GUI, the Remote Spawn Command for
an analysis may be specified using the batchoption with pathname
'DesignType/RemoteSpawnCommand', where DesignType is the Design Type to analyze. The
Remote Spawn Command setting is only meaningful when running on the Linux Operating
System. The value 'Scheduler' is valid if the job is a scheduler job running under an LSF or SGE
scheduler, and only if the MPI Vendor is 'Intel'. To specify the value 'Scheduler' for this option for an
interactive scheduler job, the Remote Spawn Command must be specified using the
'DesignType/RemoteSpawnCommand' batchoption in the product command line when the
product is launched. In addition, the 'DesignType/MPIVendor' batchoption must be specified with
value 'Intel' in the product command line when the product is launched. For interactive scheduler
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
jobs, the Remote Spawn Command and the MPI Vendor may be specified with batchoptions or as
design type options in the HPC and Analysis Options dialog.
A job scheduler may also be described as a batch system, a Distributed Resource Management
System (DRMS) or Distributed Resource Manager (DRM). The features supported on each
scheduler are included in the documents for each. For each job scheduler, the versions or revisions
that have been tested are included.
HPC Computing integration for ANSYS Electronics Desktop supports Lustre FS. However,
ANSYS doesn't support having Linux home directories stored on Lustre FS. (This is a limitation
due to the way MainWin writes temporary/config files into the home directory.)
A user may submit jobs using the command line tools or other tools provided by the scheduler. The
Desktop includes a GUI to help the user submit jobs to a job scheduler. This generic Job
Submission GUI is shared across the ANSYS EM products.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The general procedure is to specify the scheduler and head node, describe and submit the job, and
monitor the results.
l Analysis Specification--specify the Product path, Project name, the setups, and analysis
options such as batchoptions, or, for advanced users, Environment variables. The Project
can be an archive. The project file pathname must be a UNC path that is accessible from
each compute host used for ANSYS Electromagnetics jobs.
The Product path and Project fields support mapped drives. This is done through a check box in
the Specify Product Path dialog displayed when you click the ellipsis [...] button. A check box
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
lets you "Use converted UNC path if mapped drive specified." If you select a project or product
on a mapped drive, and check the option, the converted UNC path equivalent to the mapped
drive pathname is used.
There are two ways that the GUI may be used to submit jobs. The first mode requires that the
Desktop (UI) process run on a host which is also a submission host for the job scheduler. This
mode is called local mode or working mode. The second mode is useful for cases in which the
submission hosts are not able to run graphical processes, such as the Desktop.
The second mode is only supported on Linux in the ANSYS Electromagnetics Suite. In the second
mode, an administrator configures the RSM Service to act as an interface to the job scheduler, and
starts the RSM Service on a submission host for the cluster. The user runs the Desktop (UI)
process on another host (which may be called the postprocessing host). To submit a job, the user
specifies the host where the RSM Service is running, and the Desktop process connects to the
RSM Service over the network to submit the job. In this mode, some configuration is required, and
the RSM Service typically must run as a privileged user (e.g., root), so that it can launch processes
as any user.
The bottom of the Job Submission GUI has buttons for Import..., Export..., and Import
Configuration let you save a configuration for each solver type.
l The Export... button exports most of the settings of this dialog (all tabs) to a file.
l The Import... button updates most of the settings in this dialog (all tabs) from a file.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l The Import Configuration button updates the DSO settings in this dialog from any DSO
configuration as shown in the Configurations tab of the HPC and Analysis Options
dialog. The Design Type of the DSO configuration must match the design type of one of the
designs in the project, so the "Project" must be specified before using the Import
Configuration button. The batchoptions are also set from the specified DSO configuration
or from the Design Type options settings, which are shown in the Options tab of the HPC
and Analysis Options dialog.
The Export... and Import... buttons may be used to save and then restore a frequently used
collection of job submission settings. The Save Settings as Default button may also be used to
save the current settings, but it always overwrites any previously saved settings. Using the
Export... button, the user may save multiple sets of settings, or may transfer the settings to another
machine.
The Select Scheduler dialog also has Export... and Import... buttons. These buttons may be
used to save the settings in this dialog to a file or restore them from a file.
An Exported configuration is named Submit_Job_Settings by default and has a .areg suffix. A file
browser window opens in the project folder and lets you name an exported file and location, and
select a .areg files to import. The SubmitJob scripting command uses job submission settings that
have been exported from the Submit Job dialog to a .areg file. The path to this .areg file is thus the
first argument to the SubmitJob scripting command. For further information, see Job Submission
Scripting.
Related Topics
Scheduler Terminology
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Scheduler Terminology
l Core: unit of processing
l Processor: consists of one or more cores
l Machine/Host/Node: consists of one or more processors, memory, disk, etc.
l Resource: Machines, licenses, etc. that are used by a Job
l Job: Application (also called: program, executable), with command line options, that uses
resources to produce useful results. For example, hfss.exe -ng -BatchSolve.
l Serial Job: job that runs on a single core
l Parallel Job: job that runs on multiple cores (belonging to same or different machines)
l Compute Cluster: network of machines on which Jobs run. Typically, consists of head node
(s) and many compute nodes
l Service: Program that runs in the background (e.g. RSM Service). 'Listens' on a 'port'. OS
provides programming interface by which Applications communicate with service, once
machine and port number are known. Launching an executable on remote machine,
requires a service to run on remote machine.
l Desktop: The main application used to accomplish a task, such as hfss. The desktop may
run as a GUI or it may run as a batch command.
l Engine: Application (aka: executable) that is launched during analysis commands, to
generate analysis results
l Multi-processing: A single engine uses multiple cores on the same machine
l Distributed-processing: Multiple engines are launched simultaneously (on same machine or
different machines). Uses ansoft_distrib (and related) license.
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Provides a suite of tools or utilities (graphical or command line) for end user to submit jobs,
monitor jobs, abort jobs, suspend jobs, …
l Manages a compute cluster by running various interacting 'services' on head nodes and
compute nodes
l Provides a programming interface to access 'services'
Head node(s) typically maintains queues. Compute nodes are typically on a high speed network, to
improve scalability of parallel jobs. Services running on nodes interact with each other to manage
resources. End user tools communicate with services to submit/abort/suspend/etc. jobs.
Related Topics
l On LINUX platform, ANSYS Electromagnetics Suite may be installed on a shared drive, that
is accessible to all machines in the cluster.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The ANSYS Electromagnetics Suite must be accessible using the same path on each host. All
cluster users running ANSYS Electromagnetics jobs must have permission to read and execute
the files in the installation directory and its subdirectories.
The Temp directory selected during installation must be readable and writable by all user accounts
used to run the ANSYS Electromagnetics Suite. This temp directory path should be the same on all
machines of the cluster and should be local to every machine. For example, c:\temp on Windows,
/tmp on LINUX
Because HPC is offered as a direct integration, you need only install the ANSYS Electromagnetic
Suite software. No additional configuration is required.
Example
Install the ANSYS Electromagnetics Suite in directory C:\Program Files\AnsysEM\ on each node
of the cluster. The same directory pathname must be used on all hosts.
Related Topics
Firewall Configuration
Also note the ANSYS Electromagnetics HPC Administrator’s Guide included in the
<path>AnsysEM\AnsysEM19.0\Win64\Help directory of your ANSYS Electronics Desktop
installation as HPC_Admin.pdf.
Firewall Configuration
If firewall is turned OFF between the machines of the cluster, there is no need for any configuration.
If firewall is turned ON, you, or a system administrator, should perform the steps below.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Related Topics
LINUX Example
Install the ANSYS Electromagnetics Suite in a common directory that is accessible using the path
/opt/ansoft/AnsysEM19.0 on each execution node of the cluster.
Related Topics
Firewall Configuration
ANSYS EM Jobs
For most cluster environments, an ANSYS EM job will consist of an ANSYS EM Desktop running
in non-graphical mode, performing a batch solve. The user will submit the job to the scheduler,
specifying an ANSYS EM Desktop command line to be executed on the cluster. For some
schedulers, the user may or must specify a script to run instead of specifying the ANSYS EM
Desktop command line; in these cases, the script will contain the corresponding ANSYS
Electromagnetics desktop command line. When the resources requested for the job are available
to the job, the scheduler will start the job. In many cases, the user submitting the job will not know
which host or hosts are allocated to the job. With direct integration, if the ANSYS EM job is a
distributed job, the ANSYS Desktop will query the scheduler for the hosts allocated to the job, and
it will use the scheduler facilities to launch the distributed engines.
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Using the Windows HPC GUIs from Microsoft: Job Manager or Cluster Manager
l Using the Windows HPC command line tools (job, etc.)
l Using the Desktop UI commands for Scheduler selection, Job submission and Job
monitoring/control. You specify the Windows HPC Scheduler User Interface for Submit Job
by clicking Tools>Job Management>Select Scheduler...
Once you select a scheduler, you can access the interface for job submission, monitoring and
control.
See the ANSYS Electromagnetics Suite Windows Installation Guide for additional information on
supported schedulers.
A Job submitted to Windows HPC Cluster is defined by Job properties, Task List and Task
properties. Priority, resource requirements, node preferences, etc. come from Job properties. In
the case of ANSYS Electromagnetics jobs, Task List consists of a single task. Properties of this
task specify the command line that runs ANSYS Electromagnetics desktop in non-graphical mode
to perform analysis of a project.
You can either select Use automatic settings on the Compute Resources tab, or you either enter
the number of tasks and total cores per machine, or individual nodes. HFSS, HFSS-IE, and HFSS
3D Layout have Use automatic settings selected by default. This release permits options in setting
whether nodes are exclusive for the submission. See Windows HPC Non-exclusive Jobs.
ANSYS EM Project File and Project Directory for use with Windows HPC Scheduler
ANSYS Electromagnetics Suite tools write their results to a subdirectory of the directory containing
the ANSYS EM project file. The Project Directory (the directory containing the project file) must be
accessible to all of the cluster hosts that may run ANSYS EM jobs. The user account for the job
must have permission to read the project directory, and to create and modify files and
subdirectories of this directory. The pathname of the project file must be accessible to all cluster
hosts using the same path name, which is generally expressed as a UNC pathname.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Example:
The project file is on the user's workstation (with hostname user1_PC) in directory
C:\user1\projects\new\project1.aedt, and the directory C:\user1\projects is shared with sharename
projects.
Correct
When submitting the job, you should use the following pathname to specify the project file:
\\user1_PC\projects\new\project1.aedt
Incorrect
If a local pathname is used, the cluster hosts will not be able to find the user's project on the
workstation
user1_PC: ' C:\user1\projects\new\project1.aedt '
Related Topics
Jobs may be submitted to the Windows HPC Scheduler using any of the following methods:
Client Utilities from the Microsoft HPC Pack, must be installed on the submit host to use any of
these methods to submit a job to a cluster. The Submit HPC Job dialog will be unable to contact
the cluster head node if the client utilities are not installed.
This document covers the first method. See the Microsoft documentation for information on the
other three methods.
Jobs may be submitted from any Microsoft Windows host meeting the following requirements:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l For submitting jobs to the Windows HPC scheduler, the Desktop process must run on a
node that is configured for submission of jobs to the Windows HPC cluster. That is, the
Windows HPC Client Utilities must be installed on the node, and network communication
from the Desktop node to the head node of the cluster must be allowed. For ANSYS
Electromagnetics Suite 19.0, Windows HPC Server 2008 R2 (or later) client utilities are
required. Using a computer on the network is not supported for submission of jobs to the
Windows HPC cluster.
l When submitting jobs to a Windows HPC cluster, the user must also specify the head node
of the cluster to which the jobs will be submitted. When the user selects the "Windows HPC"
scheduler in the "Choose scheduler" list, the Head Node edit control is enabled. The user
may enter the Windows HPC cluster head node name into the edit box. Alternatively, the
head node may be selected using a "Browse for Computer" browser by pressing the ellipsis
[...] button.
l The Windows HPC Pack client utilities are installed on the submission host
l Network communication between the submission host and the Windows HPC Cluster head
node is permitted; there is a network connection between these hosts that is not blocked by
any firewall or the like
l The submission user is permitted to submit jobs to the Windows HPC Cluster
Job Monitoring
1. Windows HPC Jobs may be monitored using the Monitor Job dialog which is brought up by
the Tools > Job Management > Monitor Jobs... command. This dialog may also be
brought up by checking the Begin monitoring this job now check box when a job is
successfully submitting using the job submission dialog. You can monitor this job either
automatically (by checking the option) or through the Tools>Job Management>Monitor
Jobs... command. For more details, see Monitor Jobs window.
In addition to the above requirements to allow job monitoring the following is also necessary:
l Network communication between the submission host and all Windows HPC Cluster nodes
where the job may run is permitted; there is a network connection between these hosts that
is not blocked by any firewall or the like
Cluster Configuration
Any job running on a Windows HPC Cluster that is distributed over multiple compute hosts
requires network communication between processes running on these hosts. The cluster must be
configured to allow this communication. Any firewall or other security software must be disabled or
configured to allow communication between any of the compute hosts were a job could run.
In order for a job to run correctly, the submission user's profile must be accessible and properly
initialized on the cluster compute nodes where the job runs. If the Ansoft/temp subdirectory of the
user's "My Documents" directory does not exist or is not accessible on the compute cluster nodes
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
where a job runs, the batchoptions for the job will not be processed correctly, resulting in job failure.
One way to ensure that this directory is created on each compute host is for the submission user to
login to each compute host and run the product GUI one time.
In order to submit jobs using the Windows HPC, you must click Tools>Job
Management>Select Scheduler to open the Select Scheduler dialog and specify Windows
HPC as the Scheduler.
For Windows HPC, the user must select the "Use this computer" radio button and then specify the
head node of the cluster. If you select the radio button “Use a computer on the network,” then you
may enter a username and password. This username and password are used when the job is
submitted to the Linux scheduler. See Windows to Linux Job Submission.
After specifying the job submission node, you can click Refresh. This verifies that the head node
may be contacted, and displays the scheduler name, a brief description (including the head node
name), and the version of the Windows HPC head node.
Pressing Cancel discards changes made in this dialog. Pressing OK verifies that the head node
can be contacted before accepting the changes. If no problem occurs, the dialog will be closed. If
there is a problem contacting the head node, the dialog will not be closed and the changes are not
accepted.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
After setting the job submission node, select Tools>Job Management>Submit Job... or
Project>Submit Job... or [ProductName]>Submit Job... to open the Submit Job To: dialog.
You can also access Submit Job from the shortcut menus for the Project Name, Design name, or
the Analysis Setup or Optimetrics Setup.
l Analysis Specification--specify the Product path, Project name, the setups, and analysis
options such as batchoptions, or, for advanced users, Environment variables. If you select
the Analysis or Optimetrics setup, the Analysis Specification is pre-populated.
l Compute Resources--this tab can be populated either by automatic settings, by
predefined Analysis Configuration, or specifying parameters in the fields for resource
selection, for job parallelization and enabled forms of parallelization.
l Scheduler Options--contains fields for Job name and priority. The customization options
shown by checking advanced are not used for Windows HPC.
In the Analysis Specification tab, enter the pathnames of the product path and of the project file
in the “Project” edit box. These must be UNC paths that are accessible from each compute host
used for ANSYS Electromagnetics jobs. The Project can be an archive. The submission user must
have permission to write to the directory containing the project file.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
You can select which setups are analyzed in the Analyze Setups section of this dialog. There are
radio buttons to select:
If you specify multiple setups, they will be processed sequentially in the order displayed in the edit
box.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Monitor job. You must enable this option to monitor the job from the user interface.
l Wait for license- whether to wait until a license if available before starting a simulation.
l Batch options. You can optionally specify -batchoptions in the text field. See detailed
discussion of -batchoptions beginning under Running ANSYS Electronics Desktop from a
Command Line.
This dialog provides access to all -batchoption commands. The drop down menu lets you select
specific categories, and you can choose to display only frequently used commands. You can edit
and remove any batch options you specify.
Select a Registry Key in order to show the current Value for the type. The lower field explains the
meaning of the Type Value.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Any batchoptions for which you select Add will be visible in the Submit Job dialog.
If you have the Show advanced options box checked in the Submit Job dialog, the Environment
field and the Use batch extract fields display.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The Environment field lets you specify any Environment variables. Click the ellipsis button [...] to
display the Additional Job Options dialog.
Click the Add... button to open the New Environment Variable dialog.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Here you can provide a Variable name and Variable value. Click OK to display the Variable in the
Additional Job Options dialog. Select a Variable to enables the Remove and Edit... buttons. You
can also click Add Debug Environment Variables.
Any Variables that you add will be displayed in the Environment field of the Submit Job dialog, if
you have also enabled Show Advanced options.
Selecting Show advanced options for Windows HPC also show the Use batch extract fields.
See the discussion on Running ANSYS Electronics Desktop from a Command line for a discussion
of the solve information available through batch extract.
The Preview Submission button opens a window that shows the text commands that will be sent
to the scheduler.
The following figure shows the Compute Resources tab of the Submit Job To dialog.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
For ANSYS Electronics Desktop configurations, the Submit Job dialog includes a Use automatic
settings check box that simplifies the Compute Resources tab.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
HFSS, HFSS-IE, and HFSS-3D Layout have User automatic settings selected by default. With
Use automatic settings selected, the Job distribution field is removed. For Use automatic settings,
you can specify Resource selection parameters. The ellipsis button [...] opens the Compute
Resource Selection Parameters dialog. If you do not specify any parameters, the default is Using
machines from the entire pool.
The Method field of the Submit Job To dialog has a drop down menu with two or three selections,
depending on whether select Use automatic settings.
Note Automatic distribution settings are not available for Icepak designs.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note If you select Use automatic settings, Optimetrics variations will be solved sequentially.
Other distribution types will be distributed automatically. It does distribute frequencies,
domains, and use of multiple level domains.
If you uncheck or cannot access Use automatic settings, these two Methods are listed:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Individual Nodes
l Number of Tasks and Cores ("Use automatic settings" is unchecked for this option.
Checking "Use automatic settings" means that you do not have to specify tasks or core
parameters.):
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
For Windows HPC jobs, you may either specify a node list, or specify job parallelization
parameters, but not both.
If you select the Individual Nodes Method, you may specify a node list, and the Job parallelization
controls are disabled. In this case, the node list should only include cluster nodes that are valid for
the job. For each node, you enter the node name and add the node. In the table, you can specify
the number of cores and the RAM limit as a percentage. You can use the Remove, Move Up and
Move Down buttons to edit and order the list.
By default, you can draw from the entire pool. You can also click the ellipsis button [...] to open a
Compute Resource Selection dialog.
l JobTemplate: Job Template - The JobTemplate may limit the job parameters or specify
defaults values for job parameters
l MinCoresPerNode: Minimum Cores Per Node
l MaxCoresPerNode: Maximum Cores Per Node
l MinMemoryPerNode: Minimum Memory (GB) Per Node
l MaxMemoryPerNode: Minimum Memory (GB) Per Node
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Job Parallelization
For Windows HPC jobs, you may either specify a node list, or specify the job parallelization
parameters, but not both. The Job parallelization fields let you specify
l Total number of tasks: The number of nodes requested for the job is the total number of
tasks divided by limit on the number of tasks per node, rounded up if it is not an integer.
l Cores per distributed task. This determines the amount of multiprocessing per task.
l Whether nodes are for exclusive usage by this job
l Whether to limit the number of tasks per node to a value. If the "Limit number of tasks per
node" check box is not checked, then the job is submitted with a job unit type of "Core".
Job Distribution
l Two level distribution, which may be disabled. Click the Modify button to display the Job
Distribution dialog.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Second level distribution operates within DSO. If available and enabled you can specify the
number distributed solutions for level 1.
In response to a set of minimal constraints, the Scheduler may increase the resources assigned
beyond the minimal values in order to meet the full set of requirements. For example, if you specify
7 distributed engines, with two processors per engine, and also limit the number of engines per
node to 4, the scheduler may increase the number of cores used in order to meet the limit specified
for engines per node. Notice that a preview of the Submit Job Results shows the number of
resources assigned, and that the scheduler generated code includes an MPI specification.
Scheduler Options
In the Scheduler Options tab provides for specifying the job name and/or the job priority. While
the Show advanced options check box enables the display of Job submission options, no job
submission options should be specified for Windows HPC.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Preview Submission
The Preview Submission button opens a window that shows a text description of the job to be
submitted and the task used to start the product on one of the nodes.
The JOB PARAMETERS section contains information on parameter that apply to the job as a
whole.
l The "Job resource parameters" section indicates whether the job has exclusive use of
nodes, the job unit type, and the minimum and maximum number of units requested for the
job, node group, and email notifications.
l The "Job attributes" section displays the job name and job priority.
l The "User Specified Compute Resource Attributes" displays the Resource selection
settings.
The TASK PARAMETERS section contains information on parameters that apply to the Desktop
task, which is the main task of the job.
l The "Desktop task resource parameters" section indicates the job unit type (which is the
same as in the JOB PARAMETERS), and the minimum and maximum number of units
requested for the Desktop task.
l The "Command Line section" displays the desktop task command line, including all
arguments.
l The "Environment variables" section displays the environment variables that are set for the
Desktop task; the same environment variables will also apply to all other tasks of the job.
l The "Working directory" section indicates the working directory in which the Desktop task
will run.
Monitor Job
If you have checked the Monitor Job option on the Submit Job To dialog, AnalysisSpecification
tab, you can invoke the Monitor Job window by clicking Tools>Job Management>Monitor
Jobs... This dialog may also be brought up by checking the Begin monitoring this job now
check box when a job is successfully submitting using the job submission dialog.For more details,
see Monitor Jobs window.
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The job templates are managed by the Windows HPC cluster administrator. Every cluster has at
least one job template, the "Default" job template. Every job has an associated job template. If no
job template is specified, then the "Default" job template is used. The job template controls two
related aspects of the job submission process. When a job is submitted, there are a number of job
parameters which may be specified. Each parameter has a set of valid values. For example, the
Priority parameter has five valid values, Highest, AboveNormal, Normal, BelowNormal, and
Lowest. The job template controls the default value of each parameter; this is the value that the
parameter has if it is not specifically overridden by the submitter. For example, in the Default job
template, the default value of the Priority parameter is Normal. The job template may also limit the
allowed values of each parameter to a subset of the valid values. For example, a job template for
privileged users could allow all five Priority values, which a job template for unprivileged users
could limit the allowed Priority values to Normal, BelowNormal and Lowest.
Each job template is a Windows object with access controlled by an ACL (access control list).
Instead of the usual "Read" or "Read & Execute" permissions, there is a "Submit Job" permission
which corresponds to the right to submit a job with this job template. The cluster administrator may
create job templates to limit or control access to cluster resources. For example, a job template with
limited allowed job run times, or access to a limited set of compute nodes could be created by the
cluster administrator. Specific users or user groups could be forced to use this limited job template
by omitting access to the other job templates or by adding a deny access entry for the specified
user or group to the other job templates. See the Windows HPC Server 2008 Job Templates white
paper from Microsoft for additional details:
http://www.microsoft.com/en-us/download/confirmation.aspx?id=5659
Job templates may also be created to allow users to run jobs with limited knowledge of the
appropriate job parameters. The cluster administrator creates a job template which has reasonable
default values for the type of job to be run, and informs users which job template to use for each
type of job. The template could also limit some parameters to only the subset of all values that are
useful for the type of job associated with the template.
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The Job Unit Type is the smallest unit of processing resources used to schedule the job. This is one
of the most important job properties. There are three options for the Job Unit Type: cores, nodes or
sockets.
l Cores: Jobs are scheduled in units of cores, which may be also described as a CPU cores,
logical processors, or CPUs. This is the smallest unit of granularity available. This selection
allows the scheduler to start multiple tasks on a processor, if the total number of cores
needed by the tasks is less than or equal to the number of cores on the processor. This
selection may also allow the scheduler to distribute more of the computational load to
processors with more cores than to processors with fewer cores.
l Nodes: Jobs are scheduled in units of nodes, hosts or machines. This is the coarsest level of
granularity that may be selected. When this option is selected, only one task will run on any
give node at any given time. This is useful in cases where it is not desirable to run multiple
tasks on a single host. For example, if each task is multi-threaded, running multiple tasks on
the same node may not be needed to fully utilize the computing resources on the node. This
may also be preferred if the tasks are memory intensive, and multiple tasks would be
competing for the limited memory resources.
l Sockets: A socket (which may also be called a NUMA node) is a collection of cores sharing
a direct connection to memory. A socket will contain at least one core, and it may contain
several cores. The socket concept may not necessarily correspond to a physical socket.
Scheduling at the socket level may be useful in cases in which each task requires extensive
use of the memory bus, and scheduling multiple tasks on the same socket would result in
excessive bus contention.
Related Topics
In previous releases, when submitting jobs to a Windows HPC cluster using the Submit Job To
dialog, the exclusive node usage property of the job is on the Compute Resources tab always set
to “true”.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
For many cases, this requirement prevents problems. One type of problem that can occur is related
to processor affinity. In general, EBU jobs manage processor affinity on their own, and request a
single core for each Windows HPC task. If the cluster does set the affinity for the job, then the EBU
job cannot use all of the resources allocated to the job because the cluster sets the affinity to allow
only a single processor for each Windows HPC task.
Recent versions of Windows HPC allow three choices for the Cluster AffinityType setting:
If the AffinityType is set to “No Jobs”, then we can allow non-exclusive jobs in many cases, but non-
exclusive jobs will be disallowed if you specify an explicit host list (because all resources on all
specified hosts are used), if you specify nodes and cores (to ensure that the job has exclusive
access to the specified number of nodes), or if you specify multi-threading (to prevent a single task
from being split across hosts). If the AffinityType is set to “Non Exclusive Jobs”, then exclusive jobs
will be disallowed for all cases, the same as the restrictions for the previous release.
The previous job submission dialog always has the “exclusive” checkbox disabled for Windows
HPC jobs, so that “exclusive” jobs cannot be submitted to a Windows HPC cluster. The “exclusive”
checkbox is now enabled for Windows HPC jobs. This allows you to submit exclusive jobs to a
Windows HPC cluster. If this checkbox is checked, but the submission parameters and Windows
HPC cluster AffinityType do not allow submission of an exclusive job, then an error message is
displayed when you submit or preview the job.
A Windows HPC Cluster administrator is able to modify the Affinity Type setting for the cluster. The
administrator should start the Windows HPC Cluster Manager. The first step is to select the
Configuration button on the lower left pane, then select the Deployment To-do List in the upper left
pane. Then, the upper right pane displays the Deployment To-do List, as shown below.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Next, the "Configure job scheduler policies and settings" should be selected. This is under the
heading "Optional deployment tasks".
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The cluster administrator may now select a radio button to select the desired Affinity Type:
l All jobs
l Non-Exclusive jobs
l No jobs
In order to submit non-exclusive jobs, the "No jobs" option should be selected. The "Non-Exclusive
jobs" option may be selected, but this will not allow non-exclusive ANSYS Electromagnetics jobs to
be submitted to the cluster. The "All jobs" option is not supported for ANSYS Electromagnetics
jobs. The OK or Apply buttons may be used to apply the selected option to the cluster.
Examples with "Submissions with Nodes are for exclusive usage by this job"
Unchecked and Checked
Most of the following screen shots are for the same project file submitted to a Windows HPC
cluster with the AffinityType set to "No Jobs". The scheduler resource selection parameters are the
same for all of these screen shots:
l MinCoresPerNode=4
l MaxCoresPerNode=4
The first set of screen shots show submission of a job to a Windows HPC cluster in which the "Use
automatic settings" checkbox is not checked, and the resource selection method is "Specify
Number of Tasks and Cores". The exclusive setting for the job is controlled by the "Nodes are for
exclusive usage by this job" checkbox. In previous releases, this checkbox was always disabled
and checked for Windows HPC jobs. Now, it is enabled, and the user may select whether it is
checked or unchecked. If it is checked, then the behavior is the same as previous releases. If it is
unchecked, then the job is submitted with the exclusive parameter for the job set to false.
The following screen shot shows this configuration with a Submit Job with Task and Cores
specified and nodes as non-exclusive
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The next figure shows Preview for the job submission indicating that the exclusive parameter for
the job is false.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Jobs may only be submitted using this resource selection method with the exclusive parameter set
to false if all three of the following conditions are met:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
If any of these requirements are not met, then the job is not submitted or previewed, and an error
message appears. The following figure shows this configuration.
The following figure and screen shot ErrorMsgTasksAndCoresNonExMP.png shows the error
message box shown to the user.
The next example shows submission of a job to a Windows HPC cluster in which the "Use
automatic settings" checkbox is checked, and the resource selection method is "Specify Number of
Nodes and Cores". If you select Use automatic settings with Num variations to distribute set to 1,
Optimetrics variations will be solved sequentially. Other distribution types will be distributed
automatically. It does distribute frequencies, domains, and use of multiple level domains. If you set
Num variations to distribute to 2 or more, Optimetrics variations will be solved in parallel. Other
distribution types will be distributed automatically. The exclusive setting for the job is controlled by
the "Nodes are for exclusive usage by this job" checkbox. In previous releases, this checkbox was
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
always disabled and checked for Windows HPC jobs. Now, it is enabled, and the user may select
whether it is checked or unchecked. If it is checked, then the behavior is the same as previous
releases. If it is unchecked, then the job is not submitted or previewed because only exclusive jobs
are allowed when using this resource selection method, and an error message box is shown to the
user in this case. The following figure shows this configuration:
The next example show submission of a job to a Windows HPC cluster in which the "Use automatic
settings" checkbox is checked, and the resource selection method is "Specify Number of Cores
and (Optional) RAM". The exclusive setting for the job is controlled by the "Nodes are for exclusive
usage by this job" checkbox. In previous releases, this checkbox was always disabled and checked
for Windows HPC jobs. Now, it is enabled, and you may select whether it is checked or unchecked.
If it is checked, then the behavior is the same as previous releases. The following figure shows this
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
configuration.
The following figure shows the Job Preview for this case, indicating that the exclusive parameter
for the job is true.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
If the exclusive checkbox is unchecked, then the job is submitted with the exclusive parameter set
to false. The following figure shows this configuration.
The following figurescreen shot PreviewCoresAndRAMNonEx.png shows the Job Preview for this
case, indicating that the exclusive parameter for the job is false.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The last example resembles the previous one, except that the Windows HPC cluster AffinityType is
set to "Non Exclusive Jobs" in this case. The job is submitted with the "Use automatic settings"
checkbox in the checked state, and the resource selection method set to "Specify Number of Cores
and (Optional) RAM". Because the AffinityType is not "No Jobs", only exclusive jobs may be
submitted to this cluster. If the exclusive checkbox is not checked, then the job is not submitted or
previewed, and an error message box is displayed to the user. The following figure shows this
configuration.
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Normally, a user will be prompted for the credentials used to submit a job. One way to simplify this
process is to use the "cluscfg setcreds" command to set the user's credentials in the credentials
cache. If this is done, then no password needs to be supplied for a job submitted for the specified
user. Here is a cluscfg command that may be used to set the user credentials in the credentials
cache:
cluscfg setcreds /password:* /scheduler:cluster_name
/user:domain\user_name
Here:
When this form of the command is used, the user is prompted for the password and also asked if
the password should be remembered (cached).
See the following web page for more information on the cluscfg setcreds command:
http://technet.microsoft.com/en-us/library/cc947669(WS.10).aspx
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Besides the command line interface, you can also use a Job Management user interface to submit
jobs
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The administrator should have this line in the lsb.params file to ensure that memory reservations
are per-slot (per-core):
RESOURCE_RESERVE_PER_SLOT=Y
See the ANSYS Electromagnetics Suite 19.0 Windows Installation Guide and the ANSYS
Electromagnetics Suite 19.0 Unix/Linux Installation Guide for additional information on supported
schedulers.
Windows:
Setup 'temp directory' to a path that is same on all nodes. For example, c:\temp
LINUX:
Setup 'temp directory' to a path that is same on all nodes. For example, /tmp
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ensure that the product is available using the same path on all nodes
Permissions:
All users of the cluster should have read/write permissions to temp directory
When a desktop scheduler GUI is run the same node as the job submission node, no other
configuration is necessary: installation is sufficient. You select the scheduler through the desktop
GUI. You need to ensure that scheduler commands are available in the path before you launch
desktop.
Note There is no need to install RSM unless you are using the scheduler GUI on a post
processing node that is different than the than the job submission node. In this case, RSM
must be configured with the scheduler type and path.
A post processing nodes is a node in the cluster that can run the ANSYS Electromagnetics
desktop in graphical mode. A job submission node is a node in the cluster in which job
submission commands are available.
Set the cluster for per-slot resource allocation if the automatic cores and RAM resource selection
method is to be used. You can check the cluster to see if per-slot resource allocation is configured
by using the "bparams -a" command. Search the output for "RESOURCE_RESERVE_PER_
SLOT" to determine the setting (either "Y" or "N"). If set to "N" then consult the LSF administration
guide on how to change this to "Y".
Scenario 1: The post-processing node and job-submission node roles are served by
distinct machines.
The job-submission node should be configured to run RSM service, which serves as a proxy to
scheduler. The RSM Service should be running as 'root' in order to facilitate jobs running using the
credentials of the job's owner. A configuration file in the RSM installation folder should be
edited to specify information regarding the scheduler that manages jobs on this cluster. A block
labeled 'Scheduler' must be included within the 'AnsoftCOMDaemon' block. This block contains
two string entries:
l SchedulerName: this contains the unique part of the scheduler proxy library name
l ConfigString: this contains a scheduler specific configuration string
The case of the SchedulerName string is significant on Linux because Linux file names are case
sensitive. The case of the SchedulerName string is not significant on Microsoft Windows. In
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
ANSYS Electromagnetics Suite 19.0, the possible scheduler names are: lsf and sge. The
ConfigString entry is a scheduler specific configuration string, described below.
In addition, the AnsoftRSMService must be started with appropriate environment variables set.
Generally, the environment variables must be set the same as they would be set for using the
scheduler via command lines.
LSF Details
For the LSF scheduler proxy library, the ConfigString entry in the ansoftrsmservice.cfg
configuration file is ignored. It may be empty or omitted entirely.
The AnsoftRSMService must be started with the environment set as it would be set for submitting
jobs to the LSF cluster.
l For Linux, the cshrc.lsf or the profile.lsf file may be sourced to set up the environment,
depending on the shell.
l For Microsoft Windows, the PATH environment variable should be set to include the
directory containing the LSF commands; this directory should be before any other directory
containing files with the same name as any LSF commands.
$begin 'Scheduler'
'SchedulerName'='lsf'
'ConfigString'=''
$end 'Scheduler'
$end 'AnsoftCOMDaemon'
Scenario 2: The post-processing node and job-submission node roles are served by the
same machine.
The Select Scheduler... command (as described in the Job Management User Interface for LSF
section) is used to gather details about the scheduler. In this case, the Desktop process should be
started in an environment suitable for submitting jobs to the scheduler. See below for details.
LSF on Linux
The environment should be configured so that the following LSF environment variables are set
appropriately for the LSF cluster in use: LSF_BINDIR, LSF_SERVERDIR, LSF_LIBDIR, and
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
LSF_ENVDIR. In addition, the following LSF commands should be found in the LSF_
BINDIR directory: "bsub", "bjobs", "bkill", "lsid", "lsrun", "lshosts", "bmgroup", "bparams" and
"bqueues".
The environment should be configured so that all LSF commands are found using the PATH
environment variable. In particular, search for the following commands in the PATH should
result in the LSF command being found: "bsub", "bjobs", "bkill", "lsid", "lsrun", "lshosts",
"bmgroup", "bparams" and "bqueues". No other command with the same name should appear
before the LSF command in the PATH.
Desktop talks to Scheduler Proxy which in turn uses Scheduler commands. It is possible to add a
proxy dll to support new schedulers without changing Desktop.
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
With LSF you do not need to setup 'Distributed Analysis Machines' or 'Remote Machine' in the
Tools>General Options>Analysis Options tab. Instead, you submit an HFSS job to LSF,
requesting appropriate resources for this job (number of processors, memory per processor, etc.).
For example:
bsub -n 1 hfss.exe -Batchsolve -ng -local -machinelist num=1
OptimTee.aedt
The HFSS job is queued by LSF until the requested resources are available. Upon resource
availability LSF starts HFSS.exe with the specified command line on one of the allocated
machines. During analysis, HFSS dynamically obtains the allocated 'Distributed Analysis
Machines' from LSF. HFSS interfaces with LSF to launch engines on remote machines without
going through Ansoft RSM.
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l ANSYS EM project should be available in a shared drive that is accessible to all machines in
the cluster
l ANSYS EM project should be available using the same path on all machines of cluster
l Ensure sufficient space in project directory and temp directories
l Ensure sufficient memory per engine
l Choose the number of compute resources (Distributed Analysis machines and Multi
Processing cores) so as to achieve desired scale factor and effective resource utilization
Stop an HFSS job cleanly - ensures that the results obtained until now are preserved
bkill -s TERM <jobid>.
Stop an HFSS job abruptly - results are most likely lost. You have to manually remove the project
lock file
bkill <jobid>
Related Topics
Aborting an Analysis
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Before you can use Submit Job, you must click Select Scheduler as the one-time initial step.
This opens the Select Scheduler dialog.
l Job submission node: this is the node on the cluster where scheduler commands (such as
LSF's bsub) are allowed to run.
Choose Use this computer if scheduler commands are enabled on the post-processing node.
Pre-requisites: For this choice to work, the job-submission node must already be configured with
a running Ansoft RSM service, as documented in 'Installation of ANSYS Electromagnetics Suite
19.0 on LSF Cluster.
l Scheduler: Available choices vary, depending on your configuration. It is possible for you to
integrate their custom scheduler into this UI, through a scheduler proxy. When this is done,
more choices will be available in the combo-box, one per custom scheduler proxy that is
deployed in the installation
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
After specifying the job submission node, you can click Refresh. The scheduler information is then
listed in the Scheduler info text field.
Once you select a scheduler, you can access the interface for job submission, monitoring and
control. For more details on monitoring, see Monitor Jobs window. Click OK to close the dialog.
After setting the job submission node, select Tools>Job Management>Submit Job... or
Project>Submit Job... or [ProductName]>Submit Job... to open the Submit Job To: dialog.
You can also access Submit Job from the shortcut menus for the Project Name, Design name, or
the Analysis Setup or Optimetrics Setup.
l Analysis Specification--specify the Product path, Project name, the setups, and analysis
options such as batchoptions, or, for advanced users, Environment variables. If you select
the Analysis or Optimetrics setup, the Analysis Specification is pre-populated.
l Compute Resources--this tab can be populated either by automatic settings, by
predefined Analysis Configuration, or specifying parameters in the fields for resource
selection, for job parallelization and enabled forms of parallelization.
l The Scheduler Options tab has analysis-independent parameters specific to the job, such
as name, priority.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Project:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
You can use the ellipsis button [...] to use a navigation window to browse. The path should be
visible to all nodes in the cluster.The Project can be an archive.
In the case of Windows to Linux submission, you also specify a Linux path. See Windows to Linux
Job Submission.
Analysis Setups:
Specify All setups in the project, all in a design, or a single setup. If the setup includes a
parametric sweep, the Use large scale DSO check box is enabled.
Analysis Options:
l You have check boxes for whether to Monitor Job through the GUI, and whether to Wait for
license.
l You can also specify Batchoptions. Click the Add... button to open a dialog for selecting the
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Batchoptions.
The lower Value field shows the legal values for the selected registry key. You can type the
desired value into the upper text field under value. Click the Add button to accept the selection
of the registry key with the specified value. Click Done close the Add Batchoption dialog.
At the upper left, a drop down menu lets you specify which registry key categories to display,
whether All, or selected category.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
A check box lets you choose between displaying only frequently used entries (the default), or
by unchecking, all options available for the selected group.
Note that for Large Scale DSO problems, you also have the option to specify predefined
configurations.
The added registry keys and values are listed in the Batchoptions field of the Submit Job
dialog.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Selecting from the list enables buttons for removing or editing registry key values. Selecting a
registry key and clicking Edit... opens the Edit Batchoptions dialog.
Here you can edit the Value field and update the value for the selected registry key.
Environment:
If you check the Show advanced options check box, you can see the Environment field. This
permits specifying Environment Variables.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Click the ellipsis button [...] by the Environment field to open the Additional Job Options
dialog.
The Add button permits you to specify your environment variables. Once, added, you can select
Remove or Edit. The Add Debug Environment Variables button adds variables of use in
working with support.
l The Save Settings as Default button lets you save a current set of values as defaults the
next time you invoke the Scheduler GUI. This can simplify subsequent job submissions.
Selecting Show advanced options for LSF also show the Use batch extract fields.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
See the discussion on Running ANSYS Electronics Desktop from a Command line for a discussion
of the solve information available through batch extract.
This tab lets you provide Resource selection and Job parallelization parameters. You can elect to
User automatic settings for job distribution, specify a Method and resource selection parameters,
or job distribution parameters.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
For LSF, the only non-automatic method is Number of Tasks and Cores. You can specify the
number of tasks, whether they are for exclusive use by the job, cores per distributed task, a limit
number of tasks per node, and RAM limit as percent.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
For LSF, the automatic Method options are Number of Cores and (Optional) RAM or Number of
Nodes and Cores. If you select Number of Cores and Optional RAM, you specify: Total number of
cores, check whether Nodes are for exclusive usage by the job, whether to use a RAM constraint in
GB per core, and the RAM limit as a percentage.
If you chose the Method to Specify the Number Nodes and Cores, the options are Total number of
nodes, and whether they are for exclusive use by the job, total number of cores, and the RAM limit.
Job Distribution
l Two level distribution, which may be disabled. Click the Modify button to display the Job
Distribution dialog.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Second level distribution operates within DSO. If available and enabled you can specify a number
of engines for level 1.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
In response to a set of minimal constraints, the Scheduler may increase the resources assigned
beyond the minimal values in order to meet the full set of requirements. For example, if you specify
7 distributed engines, with two processors per engine, and also limit the number of engines per
node to 4, the scheduler may increase the number of cores used in order to meet the limit specified
for engines per node. Notice that a preview of the Submit Job Results shows the number of
resources assigned, and that the scheduler generated code includes an MPI specification.
Resource Selection:
If you do not specify parameters for resource selection, LSF may submit jobs to any machine in the
entire pool that is available.
Clicking the ellipsis button [...] opens a dialog for parameters specific to LSF. The Specify
Parameter check box in the dialog enables a parameter, and you can select the Value for the
Queue parameter from a drop down menu or specify values for the other LSF parameters.
l Queue - a drop down menu lets you select Normal, chkpn_rerun_queue, idle, license,
night, normal_allow_excl, owners, priorituy, or short.
l MinCoresPerNode - minimum number of cores allowed on a node to be eligible for
selection; translates to bsub -R select[ncpus>=N]
l MaxCoresPerNode - maximum number of cores allowed on a node to be eligible for
selection; translates to bsub -R select[ncpus<=N]
l MinMemoryPerNode - minimum amount of physical memory (specified in integer
GigaBytes) allowed on a node to be eligible for selection; translates to bsub -R select
[maxmem>=M]
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
If you don't specify resource selection parameters, the scheduler handles the situation.
Checking Specify node list enables the field for specifying a node list. In a computing
environment where the available cores are not uniform, you can use this to have control over
which resources your job will use.
In response to a set of minimal constraints, the Scheduler may increase the resources assigned
beyond the minimal values in order to meet the full set of requirements. For example, the scheduler
may indicate that more cores than requested will be used to get the correct node quantity in auto
nodes and cores.
Preview submission
This opens a screen showing the bsub command to be used to submit the job.
Submit job actually sends the batch command to the LSF cluster. A dialog reports a successful
submit and presents a check box for monitoring.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
You continue to have the Save Settings As Default, Preview Submission, and Submit Job
buttons.
The Job submission options permit you to customize a job submission in terms of addition job
submission options, or override a job submission command.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
When the "Override job submission" radio button is checked, the user specified options replace
most of the job submission options, whereas when the "Additional job submission options" radio
button is checked, the user specified options are appended to the bsub command.
You can see the effects of any custom additions by clicking Preview Submission.
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
In response to either invocation, the Monitor Job dialog opens. You can monitor this job either
automatically (by checking the option) or through the Tools>Job Management>Monitor Jobs...
command. For more details, see Monitor Jobs window.
In this dialog, user selects the same project they submitted. You begin by selecting the job to
monitor from a pull down list of recent jobs.
The lower left has corner of the dialog has options for manual refresh or to Automatically refresh
every specified number seconds. After refresh, the messages for the job are displayed. The format
of the text is essentially same as output of the '-monitor' command-line option.
Related Topics
When using direct integration with LSF, the LSF lsrun command is used to launch remote engine
processes. This command does not allow the LSF scheduler to track the resources used by these
processes. As a result, the resource usage reported by the LSF bacct command will not include
resources used by the remote engine processes.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The LSF bsub command may be used to submit ANSYS Electromagnetics jobs. The typical
command format is:
bsub bsub_argsansys_exeansys_args
where:
Related Topics
The current working directory of the ANSYS Electromagnetics Desktop process must exist on all
compute hosts where analysis may be run. This is needed because the ANSYS Electromagnetics
job uses the LSF lsrun or blaunch commands to start the remote analysis engines. When these
LSF commands start a remote process they always change the working directory to the working
directory of the process submitting the command. If the directory does not exist on a remote host,
then the lsrun or blaunch command will fail on that host, and the remote analysis engine will not be
started on that host.
If the ANSYS EM tool executable pathname (ansys_exe) or any of the arguments of the ANSYS
tool command (anssys_args) contain characters which are interpreted by the command shell, then
these special characters must be properly quoted to ensure that the correct command is launched
by LSF. This is very common on Windows systems, where many executable file pathnames
contain embedded space characters. A similar problem may occur on any platform if any of the
ansoft_args require single quote, double quote or space characters. Note that the ANSYS
Electromagnetics desktop command is processed by the shell twice. It is processed by the shell
when the bsub command is processed, and again when the job is started.
bsub Arguments
The LSF bsub command has a large number of options that may be used to control the submission
process. Only a few options which are often used with ANSYS Electromagnetics jobs are
mentioned here. The following options may be used to submit serial or parallel LSF jobs.
-nmin_proc, max_proc or -nmin_proc
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Submits a parallel job, specifying the number of processors (or slots) required for the job. Here,
min_proc is the minimum number of processors, and max_proc is the maximum number of
processors. If no maximum is specified, then exactly min_proc processors are requested. If
PARALLEL_SCHED_BY_SLOT=Y in lsb.params, this option specifies the number of slots
required to run the job, not the number of processors. If the -n command line option is not specified,
then the job is submitted as a serial batch job.
-R "span[ptile=n]"
There are many ways to use the -R "res_req" option to the bsub command. We only cover -R "span
[ptile=n]" here, because this option is very useful for ANSYS Electromagnetics jobs. When this
option is specified, the LSF scheduler will allocate n processors (or slots) on each host to this job,
even if more processors are available on the host.
-x
All hosts running this job operate in exclusive execution mode. The job will only run on a host
having no other jobs running on that host. No other batch jobs will be started on a host while this job
is running on that host.
See the LSF documentation for a complete list of options for the bsub command.
Related Topics
The LSF bpeek command may be used to monitor LSF batch jobs, if the Desktop command line for
the job includes the -monitor command line option. Also see Integrated Job Monitoring for Job
Management Interface for LSF.
The Ansoft -monitor command line option enables batch job output to the standard output and
standard error streams. The warning, info, and progress messages are sent to the standard output
stream. The error and fatal messages are sent to the standard error stream.
The LSF bpeek command may be used to monitor job progress. The command pbeek [ -f ] job_id
displays the standard output and standard error produced by the job with id job_id from the job start
to the current time (the time when the command is executed). This command is only valid for jobs
that have not yet finished. When used with the -f option on Linux, the output of the job is displayed
using the command tail -f, so that ongoing progress may be monitored.
In order to display messages to standard output and standard error, specify the -monitor
command line option on the ANSYS EM tool command line. Then, these messages can be seen
using the LSF bpeek command.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Related Topics
To cancel or terminate an ANSYS EM LSF batch job, we recommend using the Monitoring
Graphical User interface to terminate jobs cleanly, rather than using the bkill commands. Using this
approach will allow the ANSYS EM batch job to shut down in an orderly fashion. Using the LSF
bkill command without the -s SIGTERM option or simply terminating the job processes may cause
some of the following problems:
l Some engine processes are not shut down, and continue to run
l LSF job is not fully removed
l Project lock file is not removed
l Linux only: MainWin core service processes (watchdog, mwrpcss and/or regss) are not
stopped
Some of these may interfere with submission of additional LSF batch jobs. For example, it may be
necessary to manually remove the project lock file to submit another batch job for the same project.
On Linux, MainWin core service processes may also interfere with starting subsequent Ansoft
batch jobs. Normally, these processes should timeout and end 15 seconds after the ANSYS
Electromagnetics product shuts down. Any MainWin core service processes (watchdog, mwrpcss
and/or regss) that continue to run for more than 15 seconds after the product has stopped may be
hung. The hung processes may need to be manually killed, after ensuring that these processes are
associated with an ANSYS EM job that has finished or terminated.
Related Topics
The following Linux and Windows examples all use HFSS as the ANSYS EM product, but similar
command lines will work for all ANSYS EM products.
If the hfss command is included in the bsub command line, then the entire hfss command will be
processed by the command shell two times. The hfss command is processed when the bsub
command is processed by the shell. It will be processed again when the hfss command is started
by the scheduler.
Several examples show the entire hfss command line enclosed in double quotes ("), while the
double quote (") characters within the hfss command line are replaced by escaped double quotes
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
("\""). This ensures that the quoted arguments of the hfss command are processed correctly. The
last example shows how to use a shell script so that the hfss command line will be processed by the
command processor only once. The hfss command is placed in the shell script, and then the shell
script pathname is placed in the bsub command line. Then, the hfss command is only processed
by the command processor when the job is started. When using this approach, the shell script
should be accessible from all of the cluster hosts.
Serial job:
bsub -n 1 /Program Files/AnsysEM/AnsysEM19.0/Win64/ansysedt -ng
l The -R "span[ptile=4]" option indicates that the four cores need to be on the same machine.
l The -batchoptions option indicates that HFSS should use four cores for multi-processing.
l The entire hfss command is in double quotes, and the double quotes enclosing the -
batchoptions value are escaped. Each of these double quotes is replaced by the sequence
"\"".
l The -n 4 option indicates that the four cores are needed for the job.
l The -Distributed option indicates that this is a DSO job, so that multiple engines will be
started. Because 4 cores are allocated to the job, the job will run 4 engines. The -Distributed
option can have additional options, such as includetypes=xxx, excludetyeps=xxx,
maxlevels=n, and numlevel1=n, where n indicates and integer, and xxx indicates a list of
distribution types or "default".
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Distributed processing and multi-processing job using 4 cores, with 2 cores for multi-
processing:
bsub -n 4 -R "span[ptile=2]" ~/projects/OptimTee.csh
~/projects/OptimTee.aedt
l The -n 4 option indicates that the four cores are needed for the job.
l The -R "span[ptile=2]" option indicates that the cores must be allocated in groups of two
cores on the same machine.
l The -machinelist num=2 option indicates that this is a DSO job and that a total of two
engines will be started.
l The hfss command is placed in the shell script (~/projects/OptimTee.csh). In the bsub
command line, the hfss command is replaced by the shell script pathname.
If the hfss command is included in the bsub command line, then the entire hfss command will be
processed by the command processor cmd.exe two times. The hfss command is processed when
the bsub command is processed by the command processor. It will be processed again when the
hfss command is started by the scheduler.
The first three examples show the entire hfss command line enclosed in double quotes ("), while
the double quote (") characters within the hfss command line are replaced by escaped double
quotes (\"). This ensures that the quoted arguments of the hfss command are processed correctly.
The remaining examples show how to use a batch file so that the hfss command line will be
processed by the command processor only once. The hfss command is placed in a batch file, and
then the batch file pathname is placed in the bsub command line. Then, the hfss command is only
processed by the command processor when the job is started. When using this approach, the
batch file should be accessible from all of the cluster hosts.
Serial job:
bsub -n 1 "\"C:\Program
Files\AnsysEM\AnsysEM19.0\Win64\ansysedt.exe\"
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
"\"C:\Program Files\AnsysEM\AnsysEM19.0\Win64\ansysedt.exe\"
"\"C:\Program Files\AnsysEM\AnsysEM19.0\Win64\ansysedt.exe\"
\\host\share\projects\OptimTee.aedt"
l The -R "span[ptile=4]" option indicates that the four cores need to be on the same machine.
l The -batchoptions option indicates that HFSS should use four cores for multi-processing.
l The entire ansysedt command is in double quotes, and the double quotes enclosing the
ansysedt pathname and the -batchoptions value are escaped. Each of these double quotes
is replaced by the sequence \".
-Ng -BatchSolve
-Distributed \\host\share\projects\OptimTee.aedt
l The -n 4 option indicates that the four cores are needed for the job.
l The -Distributed option indicates that this is a DSO job, so that multiple engines will be
started. Because 4 cores are allocated to the job, the job will run 4 engines.
l The hfss command is placed in the batch file \\host\share\projects\OptimTee.bat. In the bsub
command line, the hfss command is replaced by the batch file pathname.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Distributed processing and multi-processing job using 4 cores, with 2 cores for multi-
processing:
bsub -n 4 -R "span[ptile=2]" \\host\share\projects\OptimTee.bat
\\host\share\projects\OptimTee.aedt
l The -n 4 option indicates that the four cores are needed for the job.
l The -R "span[ptile=2]" option indicates that the cores must be allocated in groups of two
cores on the same machine.
l The -machinelist num=2 option indicates that this is a DSO job and that a total of two
engines will be started.
l The hfss command is placed in the batch file \\host\share\projects\OptimTee.bat. In the bsub
command line, the hfss command is replaced by the batch file pathname.
The major concern for job success is to provide sufficient resources given to the job
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Run HFSS interactively on the machine, outside of the scheduler, and see if it comes up and
analyzes.
l Output of LSF batch job corresponding to the analysis of the ANSYS EM project: You can
obtain this using LSF commands: use bacct if job's output is not redirected to a file. For
example,
"bacct -l <jobid>"
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Set ANSOFT_DEBUG_LOG_SEPARATE to 1.
l For each pair of the machines, between which the remote analysis fails, run "ping remote-
machine" and note the output
l For each machine in the network, dump the network interfaces (for example, run "ifconfig -
a") and note the output
l Email all 5 logs to development
Related Topics
Aborting an Analysis
l Some users reported 'core' dumps during ANSYS Electronics Desktop analysis, though
analysis results are fine. Workaround: Limit size of core dumps to 0 through the following job
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
submit option:
bsub -C 0 -n <number-of-cores> -q <queue-name>
Related Topics
See the ANSYS Electromagnetics Suite 19.0 Unix/Linux Installation Guide for additional
information on supported schedulers.
Before launching the product, the environment should be set for submitting a job to the scheduler.
You select the PBS scheduler using the Select Scheduler dialog box. Click Tools >Job
Management>Select Scheduler to display the Select Scheduler dialog box.
Before you can use Submit Job, you must click Select Scheduler as the one-time initial step.
This opens the Select Scheduler dialog.
You then select “pbs” from the menu, and the software detects and reports whether PBSPro or
PBS/Torque scheduler is configured, as shown below:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Pressing the “Refresh” button connects to the scheduler and loads information from the scheduler,
including the variant (PBSPro or PBS/Torque) and version information.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Related Topics
qsub Arguments
After setting the job submission node, select Tools>Job Management>Submit Job... or
Project>Submit Job... or [ProductName]>Submit Job... to open the Submit Job To: dialog.
You can also access Submit Job from the shortcut menus for the Project Name, Design name, or
the Analysis Setup or Optimetrics Setup.
l Analysis Specification--specify the Product path, Project name, the setups, and analysis
options such as batchoptions, or, for advanced users, Environment variables. If you select
the Analysis or Optimetrics setup, the Analysis Specification is pre-populated.
l Compute Resources--this tab can be populated either by automatic settings, by
predefined Analysis Configuration, or specifying parameters in the fields for resource
selection, for job parallelization and enabled forms of parallelization.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Scheduler Options--contains fields for Job name and priority. The customization options
shown by checking advanced are not used for Windows HPC.
In the Analysis Specification tab, enter the pathnames of the product path and of the project file
in the “Project” edit box. These must be UNC paths that are accessible from each compute host
used for ANSYS Electromagnetics jobs. The submission user must have permission to write to the
directory containing the project file. The Project can be an archive. For Windows to Linux Job
submission, see Windows to Linux Job Submission.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
You can select which setups are analyzed in the Analyze Setups section of this dialog. There are
radio buttons to select:
If you specify multiple setups, they will be processed sequentially in the order displayed in the edit
box.
l Monitor job. You must enable this option to monitor the job from the user interface.
l Wait for license- whether to wait until a license if available before starting a simulation.
l Batch options. You can optionally specify -Batchoptions in the text field. See detailed
discussion of -Batch Options beginning under Running ANSYS Electronics Desktop from a
Command Line.
This dialog provides access to all -Batchoption commands. The drop down menu lets you select
specific categories, and you can choose to display only frequently used commands. You can edit
and remove any batch options you specify.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Select a Registry Key. in order to show the current Value for the type. The lower field explains the
meaning of the Type Value.
Any batchoptions for which you select Add will be visible in the Submit Job dialog.
If you have the Show advanced options box checked in the Submit Job dialog, the Environment
field and the Use batch extract fields display.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The Environment field lets you specify any Environment variables. Click the ellipsis button [...] to
display the Additional Job Options dialog.
Click the Add... button to open the New Environment Variable dialog.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Here you can provide a Variable name and Variable value. Click OK to display the Variable in the
Additional Job Options dialog. Select a Variable to enables the Remove and Edit... buttons. You
can also click Add Debug Environment Variables.
Any Variables that you add will be displayed in the Environment field of the Submit Job dialog, if
you have also enabled Show Advanced options.
Selecting Show advanced options for PBS also show the Use batch extract fields.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
See the discussion on Running ANSYS Electronics Desktop from a Command line for a discussion
of the solve information available through batch extract.
The Preview Submission button opens a window that shows the text commands that will be sent
to the scheduler.
This section outlines how users will be able select compute resources for PBSPro and
PBS/Torque jobs using the GUI. Selections include:
l Use automatic settings. If you do not select this, you specify task and/or core parameters. If
you do, these task/core assignments are made automatically. HFSS, HFSS-IE, and HFSS
3D Layout have Use automatic settings selected by default.
l Resource selection parameters.
l Method - drop down list with selections for Number of tasks and cores, or Number of cores
and (optional) RAM, or Node List. Each method has a different set of associated
parameters.
l Task and Core parameters. The parameters offered depend on Method selection.
l RAM parameters
l Job distribution, including two level distribution setting.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
If you select Use automatic settings with the Number of Cores and (Optional) RAM, the
parameters include Total number of cores, exclusive usage option, and RAM parameters. HFSS,
HFSS-IE, and HFSS 3D Layout have Use automatic settings selected by default.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note If you select Use automatic settings with Num variations to distribute set to 1, Optimetrics
variations will be solved sequentially. Other distribution types will be distributed
automatically. It does distribute frequencies, domains, and use of multiple level domains. If
you set Num variations to distribute to 2 or more, Optimetrics variations will be solved in
parallel. Other distribution types will be distributed automatically.
If you select Use automatic settings and Number of Cores and (Optional) RAM, and do not select
Use RAM constraint, the text field is disabled
If you check Use RAM Constraint, you can specify a GB RAM constraint. You can also specify a
RAM Limit as a percent.
In response to a set of minimal constraints, the Scheduler may increase the resources assigned
beyond the minimal values in order to meet the full set of requirements. Notice that a preview of the
Submit Job Results shows the number of resources assigned, and that the scheduler generated
code includes an MPI specification.
If you select Use automatic settings and Number of Nodes and Cores as the Method, the choices
are for Number of Nodes and Cores. In this Case, RAM Limit (%) is the only parameter.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
If you do not specify the "Individual nodes” method, then the node list edit control is disabled. The
user must specify resource selection parameters for nodes, cores, and tasks, depending on the
method selected. If the server is the default server, then an attempt is made to determine if
sufficient resources to run the job are up and available to the job on the server before it is
submitted. If the server is the default server, and the queue is an execution queue, then an attempt
is made to determine if sufficient resources to run the job are up and available to the job in the
queue before the job is submitted. If either check fails, the job is not submitted and an error
message is returned. If the server is not the default server, then there are no checks for sufficient
resources before attempting to submit the job.
For PBSPro and PBS/Torque, a user specified explicit node list is supported when you select
Individual nodes method.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
With Individual nodes selected, then you may enter a list of nodes with the number of cores and
RAM limit percentage. In this case, the qsub command requests exclusive access to each of these
nodes for the job. If the server for the job is the default server, then the node names are validated
against the execution nodes for the default server. If any of the requested nodes are not available
for new jobs, then the job is not submitted and an error message is returned. If the specified (or
default) queue is an execution queue, and any of the requested nodes are not available to this
queue, then the job is not submitted and an error message is returned. If the server is not the
default server, then the node names are not validated by the scheduler proxy. The total number of
tasks and the cores per distributed task may not be specified in this case.
If you specify multiple individual nodes, you can use the Move Up and Move Down buttons to
control the order. Use the Remove button to delete the selected node.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
On the Scheduler options tab, you can specify a job name, and set a priority.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Related Topics
Integration with PBS (Portable Batch System) Professional from Altair Engineering
The user may specify the following compute resource selection parameters using the grid control in
the GUI:
l Queue
l QueueAtServer
Queue
The user may select a queue for the job from the list of queues configured for the default server.
Only queues which are enabled and which do not have the from_route_only attribute set to true are
listed.
The image below shows the Compute Resource Selection Parameters dialog with no parameters
specified:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The image below shows the user selecting the queue “batch” from a dropdown list containing all of
the queues available at the default server.
Either the Queue or the QueueAtServer parameter may be specified, but both may not be
specified. If neither the Queue parameter nor the QueueAtServer parameter is specified, then the
job is submitted to the default queue at the default server.
QueueAtServer
The user may specify a queue at the default server or at another server. The user may enter any
text into this field. The user may enter a string of format 1) queue_name, 2) @server_name, or 3)
queue_name@server_name. For the case 1, the job is submitted to the queue with name queue_
name at the default server. For case 2, the job is submitted to the default queue at the server with
name server_name. For case 3, the job is submitted to the queue with name queue_name at the
server with name server_name. The destination value of the -q destination option on the qsub
command line is the user specified string. This string will not be validated by the scheduler proxy
library.
The image below shows how to enter a destination in which only a queue is specified:
The image below shows how to enter a destination in which only a server is specified:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The image below shows how to enter a destination in which both the queue and server are
specified:
Either the Queue or the QueueAtServer parameter may be specified, but both may not be
specified. If neither the Queue parameter nor the QueueAtServer parameter is specified, then the
job is submitted to the default queue at the default server.
Related Topics
Integration with PBS (Portable Batch System) Professional from Altair Engineering
PBSPro
If the environment variable PBS_DEFAULT is set, then the value of this environment variable will
be used as the name of the default server, instead of obtaining the default server name from the
PBSPro configuration file. The default pathname of the PBSPro configuration file is /etc/pbs.conf.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The environment variable PBS_CONF may be used to specify a different pathname for the
PBSPro configuration file.
PBS/Torque
If the environment variable PBS_DEFAULT is set, then the value of this environment variable will
be used as the name of the default server, instead of obtaining the default server name from the
PBS/Torque server file. The name of the PBS/Torque server file is server_name, and it is installed
in the TORQUEHOME directory. By default, TORQUEHOME is /var/spool/torque. To specify a
different TORQUEHOME directory, the environment variable ANSOFT_TORQUEHOME should
be set to the pathname of the desired directory.
Related Topics
Integration with PBS (Portable Batch System) Professional from Altair Engineering
This section outlines some of the limitations or restrictions when submitting jobs.
Before starting the ansoftrsmsevice as a daemon on a job submission host, the 'Scheduler' section
of the ansoftrsmservice.cfg must be specified.
This section contains two settings, 'SchedulerName', which must be set the string 'pbs', and
'ConfigString', which must be set to the pathname of the directory containing the PBSPro or
PBS/Torque commands.
Here is an example ansoftrsmservice.cfg file, showing the format of this file and an example
'ConfigString' setting:
$begin 'AnsoftCOMDaemon'
$begin 'Scheduler'
'SchedulerName'='pbs'
'ConfigString'='/share/pbs/default/bin'
$end 'Scheduler'
$end 'AnsoftCOMDaemon'
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l There is no support for GPUs when submitting jobs via the GUI.
l Support for PBSPro and PBS/Torque is only available on Linux; Windows is not supported.
l Staging of input or output files is not supported for jobs submitted using the GUI.
l All jobs submitted via the GUI are independent jobs. Neither job dependencies nor job
arrays are supported.
l If the user specified server is not the default server, then there is no check for sufficient
resources before submitting the job.
l If the user specified server is not the default server, then the limit on the number of tasks per
node is ignored for both PBSPro and PBS/Torque. For PBS/Torque, only one task will be
allocated for each node. For PBSPro, the scheduler may allocate any number of tasks to a
node, provided that the node has sufficient cores for all of the tasks.
l For jobs submitted to a routing queue, the check for sufficient nodes and cores only verifies
that there are sufficient nodes and cores associated with the server.
l The queue attributes “resources_max” and “resources_min” are not checked when
determining whether there are adequate resources to run the job.
PBSPro Limitations
l The PATH in the submission user’s default environment must include the directory
containing the PBSPro commands.
l Failover is not supported.
l HPC Basic Profile Jobs are not supported.
l Globus vnodes are not supported. When checking for sufficient nodes and cores for the job,
only nodes of type PBS are considered.
l For jobs submitted to an execution queue, the only vnode attribute used to determine if a
vnode is available to the job is the “queue” attribute.
PBS/Torque Limitations
l When checking for sufficient nodes and cores for the job, only nodes of type cluster are
considered.
l The “exclusive” check box has no effect for PBS/Torque.
l For PBS/Torque, even if a job is submitted to an execution queue at the default server, there
is no check for sufficient nodes and cores available to the queue. All of the server’s execution
nodes are assumed to be available for the job.
l For PBS/Torque, there are significant limitations when submitting a job in which the number
of tasks and number of cores per task are specified. Unlike PBSPro, there is no capability to
specify that the cores should be allocated in “chunks”. Instead, the submission command
includes the number of groups of nodes and the number of processors per node (ppn) for
each node in the group. To determine the size of each group and the ppn setting for each
group, the server nodes are examined from largest number of cores to smallest. This may
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
not be optimal because some of these nodes may not be usable by the queue specified for
the job, or because the nodes with the largest number of cores may be busy. Similar issues
could occur for PBSPro, but they should be less likely, because only the nodes usable by the
queue are considered.
Related Topics
Integration with PBS (Portable Batch System) Professional from Altair Engineering
If you have checked the Monitor Job option on the Submit Job To dialog, AnalysisSpecification
tab, you can invoke the Monitor Job window by clicking Tools>Job Management>Monitor
Jobs... This dialog may also be brought up by checking the Begin monitoring this job now
check box when a job is successfully submitting using the job submission dialog. For more details,
see Monitor Jobs window.
Check boxes above the message field let you filter the messages to include/exclude Errors,
Warnings and Info. You can choose to Clear Progress Messages.
You can use check boxes at the lower left to Refresh manually, or automatically at a specified
interval.
You also have command buttons to perform a Clean Stop of a simulation between time steps, or
to Abort Job for a simulation.
Related Topics
Integration with PBS (Portable Batch System) Professional from Altair Engineering
The PBS qsub command may be used to submit ANSYS EM batch jobs. The typical command
format is:
qsub qsub_argsscript
where:
The job script is a shell script containing the ANSYS batch command or commands to be run. If a
batch command line contains any characters that are special to the shell running the script, then
these special characters should be quoted, as needed. The job script may also contain PBS
directives on lines before the first executable line of the script. Any qsub options on the command
line will take precedence over the PBS directives in the job script.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
When a PBS batch job is started, the job script runs as the job user in a new shell. In this shell
environment, the path must include the directory containing the PBS commands.
Note You should ensure that the PATH variable set in the shell startup script, i.e., .cshrc, .profile,
.bashrc, etc. includes the directory containing the PBS commands. For example:
export PATH=/opt/pbs/default/bin:$PATH
If the PATH variable is not set correctly, the job runs only locally, the batch log file shows
the list of allocated hosts as empty, and the error file shows an error (sh: qstat: command
not found.)
Further PBS directives need to be on top of the job script file. This is discussed in the PBS
documentation.
In the PBS documentation, serial batch jobs are also called single-node jobs. In general, any job
submitted without specifying the -l nodes=value command line argument, will run as a serial or
single-node job.
See the section on Monitoring ANSYS EM PBS Batch Jobs for options that can facilitate
monitoring of ANSYS Electromagnetics batch jobs.
In the PBS documentation, parallel batch jobs are also called multi-node jobs. When an ANSYS
Electromagnetics batch job is run as an PBS parallel job, the PBS scheduler will select the hosts
for the distributed analysis job based on the qsub command line arguments, the PBS resource
directives from the job script, and the status of the hosts when the job is run. The desktop process
will be started on one of these hosts. The desktop process will obtain the list of hosts allocated to
the job from the PBS scheduler, and start analysis processes on these hosts, as needed, using the
PBS scheduler facilities. To run a PBS parallel job, the job must be submitted with a -l nodes=value
qsub command line argument or with a -l nodes=value PBS directive in the job script.
See the section on Monitoring ANSYS EM PBS Batch Jobs for options that can facilitate
monitoring of Ansoft batch jobs.
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
qsub Arguments
The PBS qsub command has a large number of options for control of the submission process. In
this section, we review the -l nodes=value command line option with Ansoft parallel batch jobs.
Host name of the specified node, followed by optional ppn or cpp specifiers.
[N][:property[:property...]][:pc_spec[:pc_spec...]]
Optional number of nodes, followed by optional node properties, followed by optional ppn or
cpp specifiers. If the number N is omitted, then the default value of 1 host is used.
The optional global suffix, #suffix, which applies to all hosts has one of the following values:
#excl
This suffix requests shared (i.e., non-exclusive) access to the allocated nodes.
The total number of requested processes is determined by adding up the product of the number of
nodes and the number of processes per node for each node_spec. In general, this should match
the number of distributed engines specified in the ANSYS Electromagnetics desktop -Machinelist
num=num_distributed_engines command line option.
The number of CPUs per process (cpp) specified in the PBS qsub command line or in the PBS
directives in the script file should generally match the number of processors per engine specified in
the Desktop -batchoptions value.
See the PBS documentation for a complete list of options for the bsub command, and further
information on running multi-node jobs.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Related Topics
Integration with PBS (Portable Batch System) Professional from Altair Engineering
The suggestions below may be used for ANSYS Electronics Desktop Batch jobs run under PBS.
The PBS qstat command may be used to display information on jobs and queues. In this section,
several qstat command line options that may be used to monitor job progress are described.
The qstat -a command displays information about all jobs in the system.
The qstat -r command displays information about all running jobs in the system.
The qstat -s command resembles the qstat -r command; the only difference is that a comment
from the scheduler or batch administrator is also shown for each job.
The qstat -au userid command displays information about all jobs owned by user userid.
The qstat -f jobid command displays all available information about the job with id jobid.
The ANSYS EM -monitor command line option enables batch job output to the standard output
and standard error streams. The warning, info, and progress messages are sent to the standard
output stream. The error and fatal messages are sent to the standard error stream.
The PBS scheduler redirects the standard output and standard error streams of batch jobs to files
specified in the qsub -o [hostname:]pathname and the -e [hostname:]pathname command line
options, respectively. If either option is not specified, then the associated stream is redirected to the
default file pathname for that stream.
The qsub -j join option controls whether the standard error stream for the job will be merged with
the standard output stream for the job. A join value of oe indicates that the interleaved standard
output and standard error will be sent to the standard output file or stream. A join value of oe
indicates that the interleaved standard output and standard error will be sent to the standard error
file or stream. A join value of n indicates that the standard output and standard error streams will
not be joined. If the qsub -j join option is not specified, then the standard error and standard
output streams will not be joined.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
A user can monitor the progress of a job by checking the standard output file for progress, info and
warning messages, and checking the standard error file for error and fatal messages.
Related Topics
Integration with PBS (Portable Batch System) Professional from Altair Engineering
qsub Arguments
All of the following examples show how to submit Linux hfss jobs on PBS, but similar command
lines and job scripts will work for all ANSYS EM products. Most of the following examples are PBS
"Single-node jobs." The last example is a PBS "multi-node jobs"; this example demonstrates how
to specify the allocation of threads, tasks and nodes to a job.
Serial job:
qsub ~/pbs_scripts/OptimTee.sh
~/projects/OptimTee.aedt
Serial job that needs a minimum of 4GB memory and two hours of real (wallclock) time:
qsub ~/pbs_scripts/OptimTee.sh
#PBS -l walltime=2:00:00
#PBS -l mem=4gb
~/projects/OptimTee.aedt
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
#!/bin/sh
#PBS -l ncpus=4
~/projects/OptimTee.aedt
l The #PBS -l ncpus=4 directive indicates that four cores or CPUs are allocated to this job.
l The -batchoptions option indicates that ANSYS Electronics Desktop should use four cores
for multi-processing.
#PBS -l ncpus=4
~/projects/OptimTee.aedt
l The #PBS -l ncpus=4 directive indicates that four cores or CPUs are allocated to this job.
l The -Distributed option indicates that this is a DSO job, so that multiple engines will be
started. Because 4 cores are allocated to the job, the job will run 4 engines. The -Distributed
option may now have additional options, such as includetypes=xxx, excludetyeps=xxx,
maxlevels=n, and numlevel1=n, where n indicates and integer, and xxx indicates a list of
distribution types or "default".
Distributed processing and multi-processing job using 8 cores on two nodes, running 4
engines (two per node) with 2 cores for multi-processing:
qsub ~/pbs_scripts/OptimTee.sh
#PBS -l nodes=2:ppn=2:cpp=2#excl
l The PBS directive #PBS -l nodes=2:ppn=1:cpp=2#shared indicates that two nodes are
requested [2], two processes (engines) run on each node [ppn=2], and each process will
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
use two cores [cpp=2]. The hosts allocated to this job may not be used for any other jobs
while this job is running [#excl].
l The -machinelist num=4 option indicates that this is a DSO job and that a total of four
engines will be started. This option is required for all batch jobs.
Related Topics
Integration with PBS (Portable Batch System) Professional from Altair Engineering
qsub Arguments
The Grid Engine scheduler is only supported on Linux. With GE, jobs may be submitted in any of
the following ways:
See the ANSYS Electromagnetics Suite 19.0 Unix/Linux Installation Guide for additional
information on supported schedulers.
ANSYS Electromagnetics products support Grid Engine (GE) for Serial analysis, Multi Processing
and Distributed Analysis. Models with parametric sweeps can use Large Scale DSO. With GE, the
ANSYS EM job doesn't require graphics. ANSYS EM job's progress can be monitored through
SGE commands or through the dialog opened through Tools>Job Management>Monitor
Jobs....
Besides the command line interface, you can also use a Job Management user interface to submit
jobs.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Windows:
Setup 'temp directory' to a path that is same on all nodes. For example, c:\temp
LINUX:
Setup 'temp directory' to a path that is same on all nodes. For example, /tmp
Ensure that the product is available using the same path on all nodes
Permissions:
All users of the cluster should have read/write permissions to temp directory
When a desktop scheduler GUI is run the same node as the job submission node, no other
configuration is necessary: installation is sufficient. You select the scheduler through the desktop
GUI. You need to ensure that scheduler commands are available in the path before you launch
desktop.
Note There is no need to install RSM unless the you are using the scheduler GUI on a post
processing node that is different than the than the job submission node. In this case, RSM
must be configured with the scheduler type and path.
A post processing nodes is a node in the cluster that can run the ANSYS Electromagnetics
desktop in graphical mode. A job submission node is a node in the cluster in which job
submission commands are available.
Scenario 1: The post-processing node and job-submission node roles are served by
distinct machines.
The job-submission node should be configured to run RSM service, which serves as a proxy to
scheduler. The RSM Service should be running as 'root' in order to facilitate jobs running using the
credentials of the job's owner. A configuration file in the RSM installation folder should be
edited to specify information regarding the scheduler that manages jobs on this cluster. A block
labeled 'Scheduler' must be included within the 'AnsoftCOMDaemon' block. This block contains
two string entries:
l SchedulerName: this contains the unique part of the scheduler proxy library name
l ConfigString: this contains a scheduler specific configuration string
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The case of the SchedulerName string is significant on Linux because Linux file names are case
sensitive. The case of the SchedulerName string is not significant on Microsoft Windows. In
ANSYS Electromagnetics Suite 19.0, the possible scheduler names are: lsf and sge. The
ConfigString entry is a scheduler specific configuration string, described below.
In addition, the AnsoftRSMService must be started with appropriate environment variables set.
Generally, the environment variables must be set the same as they would be set for using the
scheduler via command lines.
SGE Details
For SGE, the ConfigString entry must contain the search path for the SGE commands. It may
contain a single directory, the directory containing the SGE commands. Alternatively, it may be a
path, with directories separated by the colon character ":", where the SGE command directory
appears before any other directory containing files with the same name as any SGE commands.
$begin 'Scheduler'
'SchedulerName'='sge'
'ConfigString'='/opt/sge6.2u4/bin/lx24-amd64'
$end 'Scheduler'
$end 'AnsoftCOMDaemon'
Scenario 2: The post-processing node and job-submission node roles are served by the
same machine.
The Select Scheduler... command (as described in the Job Management User Interface for SGE
section) is used to gather details about the scheduler. In this case, the Desktop process should be
started in an environment suitable for submitting jobs to the scheduler.
The environment should be configured so that all SGE commands are found using the standard
search path. In particular, search for the following commands in the search path should result in the
SGE command being found: "qsub", "qdel", "qstat", and "qconf". No other command with the same
name should appear before the SGE command in the search path.
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Before you can use Submit Job, you must click Select Scheduler as the one-time initial step.This
opens the Select Scheduler dialog.
l Job submission node: this is the node on the cluster where scheduler commands (such as
SGE's qsub) are allowed to run.
Choose Use this computer if scheduler commands are enabled on the post-processing node.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Pre-requisites: For this choice to work, the job-submission node must already be configured
with a running RSM service, as documented in Installation of ANSYS EM Tools on GE.
l Scheduler: Available choices, depending on your installations, are: RSM, lsf, Windows
HPC, and GE. It is also possible for you to integrate their custom scheduler into this UI,
through a scheduler proxy. When this is done, more choices will be available in the combo-
box, one per custom scheduler proxy that is deployed in the installation
After specifying the job submission node, you can click Refresh. The scheduler information is then
listed in the Scheduler info text field.
Once you select a scheduler, you can access the interface for job submission, monitoring and
control. For more details on monitoring, see Monitor Jobs window. Click OK to close the dialog.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
After setting the job submission node, select Tools>Job Management>Submit Job... or
Project>Submit Job... or [ProductName]>Submit Job... to open the Submit Job To: dialog.
You can also access Submit Job from the shortcut menus for the Project Name, Design name, or
the Analysis Setup or Optimetrics Setup.
l Analysis Specification--specify the Product path, Project name, the setups, and analysis
options such as batchoptions, or, for advanced users, Environment variables. If you select
the Analysis or Optimetrics setup, the Analysis Specification is pre-populated.
l The Compute Resources tab specifies whether to use automatic settings (if available for
the design type), and how to select specific resources from the available pool (for example,
ParallelEnvironment is an SGE parameter).
l The Scheduler Options tab has analysis-independent parameters specific to the job, such
as name, priority.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Product Path:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Project:
You can use the ellipsis button [...] to use a navigation window to browse. The path should be
visible to all nodes in the cluster. The Project can be an archive.
In the case of Windows to Linux submission, you also specify a Linux path. See Windows to Linux
Job Submission.
Analysis Setups:
Specify All setups in the project, all in a design, or a single setup. If the setup includes a
parametric sweep, the Use large scale DSO check box is enabled.
Analysis Options:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l You have check boxes for whether to Monitor Job through the GUI, and whether to Wait for
license.
l You can also specify Batchoptions. Click the Add... button to open a dialog for selecting the
Batchoptions.
The lower Value field shows the legal values for the selected registry key. You can type the
desired value into the upper text field under value. Click the Add button to accept the selection
of the registry key with the specified value. Click Done to close the Add Batchoption dialog.
At the upper left, a drop down menu lets you specify which registry key categories to display,
whether All, or selected category.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
A check box lets you choose between displaying only frequently used entries (the default), or by
unchecking, all options available for the selected group.
Note that for Large Scale DSO problems, you also have the option to specify predefined
configurations.
The added registry keys and values are listed in the Batchoptions field of the Submit Job
dialog.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Selecting from the list enables buttons for removing or editing registry key values. Selecting a
registry key and clicking Edit... opens the Edit Batchoptions dialog.
Here you can edit the Value field and update the value for the selected registry key.
Environment
If you check the Show advanced options check box, you can see the Environment field. This
permits specifying Environment Variables.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Click the ellipsis button [...] by the Environment field to open the Additional Job Options
dialog.
The Add button permits you to specify your environment variables. Once, added, you can select
Remove or Edit. The Add Debug Environment Variables button adds variables of use in
working with support.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l The Save Settings as Default button lets you save a current set of values as defaults the
next time you invoke the Scheduler GUI. This can simplify subsequent job submissions.
Selecting Show advanced options for Grid Engine also show the Use batch extract fields.
See the discussion on Running ANSYS Electronics Desktop from a Command line for a discussion
of the solve information available through batch extract.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
This tab lets you provide Resource selection and Job parallelization parameters. Once you have
specified parameters, you can Save Settings as Defaults, Preview a Submission, and Submit a
job.
This tab lets you provide Resource selection and Job parallelization parameters. You can elect to
Use automatic settings for job distribution, specify a Method and resource selection parameters,
or job distribution parameters. HFSS, HFSS-IE, and HFSS 3D Layout have Use automatic
settings selected by default.
Note If you select Use automatic settings with Num variations to distribute set to 1, Optimetrics
variations will be solved sequentially. Other distribution types will be distributed
automatically. It does distribute frequencies, domains, and use of multiple level domains. If
you set Num variations to distribute to 2 or more, Optimetrics variations will be solved in
parallel. Other distribution types will be distributed automatically.
You can also uncheck Use Automatic settings. Doing so requires you to also specify Cores per
distributed task and enables the Job distribution fields.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Resource Selection:
If you do not specify parameters for resource selection, GE may submit jobs to any machine in the
entire pool that is available.
Clicking the ellipsis button [...] opens a dialog for parameters specific to GE, in this case,
ParallelEnvironment. The Specify Parameter check box in the dialog enables a parameter,
and you can select the Value for the ParallelEnvironment parameter from a drop down menu.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Checking Specify node list enables the field for specifying a node list. In a computing
environment where the available cores are not uniform, you can use this to have control over
which resources your job will use. If your Analysis configuration contains a node list, you can
use Populate this Page from Analysis Configuration.
Memory resource behavior is dependent on the Grid Engine version as well as the particular
scheduler settings. The output of the “qconf -sc” command shows all of the complexes available to
the Grid Engine schedulers. For a complex to be considered valid for memory resource selection, it
must be of type “MEMORY”, have relop “<=”, be request-able (could be “forced” as well, instead of
“YES”), and be consumable. At least one valid memory complex must be available to submit jobs
using the Automatic Cores and RAM method.
Univa 8.3 introduced a new column to the complexes listing. For Univa 8.3 and later, there is an
additional column for whether resources are available to a preempting job after preemption of a
running job. It is up to the cluster administrator to determine the appropriate Available After Pre-
Emption (aapre) setting for memory complexes. This setting is ignored for memory complex
validation.
Determining the correct memory complex by default is error-prone. Because the correct choice of
memory complex can vary from cluster to cluster, the memory complex selection is now exposed
by default under the compute resource selection parameters, allowing the user to make the
selection without having to set an environment variable. Only complexes that have been validated
(meeting the requirements specified above) can be selected. The cluster administrator (or
someone who has knowledge of the specifics of the cluster in use) should be able to determine the
correct memory complex to use for ANSYS Electronics jobs. To disable exposure of this selection
option, the following environment variable can be set to “0”:
ANSOFT_SGE_ENABLE_MEM_RES_ATTRIB
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Method
For the Method, use the drop down to select Number of Cores and (Optional RAM) or Number of
Nodes and Cores.
You can specify a Total number of cores, and whether the Nodes are exclusive to the job.
If you check Use RAM Constraint, you can specify a GB RAM constraint. You can also specify a
RAM Limit as a percent.
In response to a set of minimal constraints, the Scheduler may increase the resources assigned
beyond the minimal values in order to meet the full set of requirements. Notice that a preview of the
Submit Job Results shows the number of resources assigned, and that the scheduler generated
code includes an MPI specification.
Job Distribution
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Second level distribution operates within DSO. If available and enabled you can specify a number
of engines for level 1.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
In response to a set of minimal constraints, the Scheduler may increase the resources assigned
beyond the minimal values in order to meet the full set of requirements. For example, if you specify
7 distributed engines, with two processors per engine, and also limit the number of engines per
node to 4, the scheduler may increase the number of cores used in order to meet the limit specified
for engines per node. Notice that a preview of the Submit Job Results shows the number of
resources assigned, and that the scheduler generated code includes an MPI specification.
Preview submission
This opens a screen showing the qsub command to be used to submit the job.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Submit job actually sends the batch command to the SGE cluster. A dialog reports a successful
submit and presents a check box for monitoring.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
If you check Show advanced options, you can also specify Job submission options.
When the "Override job submission" radio button is checked, the user specified options replace
most of the job submission options, whereas when the "Additional job submission options" radio
button is checked, the user specified options are appended to the bsub command.
Text in the enabled field is appended to the bsub command. You can see the effects of any custom
additions by clicking Preview Submission.
You continue to have the Save Settings As Default, Preview Submission, and Submit Job
buttons.
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
In this dialog, user selects the same project they submitted. You begin by selecting the job to
monitor from a pull down list of recent jobs.
The format of the text is essentially same as output of the '-monitor' command-line option.
Related Topics
The following SGE commands are especially useful for getting information about the cluster
configuration or for getting information about running or completed jobs. This list only contains a
few of the most common commands. Consult the SGE man pages for a complete list and more
details.
qacct -j job-id : Displays a log of the completed job with id job-id (if accounting is enabled)
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The SGE qsub command may be used to submit ANSYS EM jobs. Typical command formats are:
qsub qsub_argsansysEM_exeansys_args
qsub qsub_argsjob_script
qsub qsub_args[ -]
where:
In the first format, the ANSYS EM desktop command and its arguments are specified on the qsub
command line. In the second format, the pathname of a shell script containing the ANSYS EM
desktop command and its arguments is specified on the qsub command line. In the third format,
the command is omitted or replaced with a hyphen; this indicates that the command or script will be
taken from stdin.
If the ANSYS EM tool executable pathname (ansysEM_exe) or any of the arguments of the
ANSYS EM tool command (ansysEM_args) contain characters which are interpreted by the
command shell, then these special characters must be properly quoted to ensure that the correct
command is launched by SGE. This is especially important when using the first form of the qsub
command, as the ANSYS EM desktop command is processed by the shell twice in this case. It is
processed by the shell when the qsub command is processed, and again when the job is started.
In general, ANSYS EM batch jobs may be submitted as SGE serial jobs without any special
considerations.
See Monitoring ANSYS EM SGE Batch Jobs for options for monitoring ANSYS EM batch jobs.
When an ANSYS EM batch job is run as an SGE parallel job, the SGE scheduler will select the
hosts for the distributed analysis job, and start the desktop process on one of these hosts. The
desktop process will obtain the list of hosts from the SGE scheduler, and start analysis processes,
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
as needed, using the SGE scheduler facilities. To run an SGE parallel job, the job must be
submitted to an SGE parallel environment (PE).
If the qmaster tcp port is not configured as a service, but rather via the environment variable SGE_
QMASTER_PORT, this variable must be set in the ANSYS EM batch job environment. This is
needed because the ANSOFT EM desktop uses the "qrsh -inherit" command to launch engine
processes.
See Monitoring ANSYS EM SGE Batch Jobs for options for monitoring Ansoft batch jobs.
To allow ANSYS EM batch jobs to distribute analysis engines to multiple hosts, the job must be run
in a parallel environment (PE) in which the control_slaves parameter is set to TRUE. This setting is
required to allow the ANSYS EM desktop to start analysis engines on hosts other than the local
host, i.e., the host where the ANSYS EM desktop is running.
slots 999
user_lists NONE
xuser_lists NONE
start_proc_args /bin/true
stop_proc_args /bin/true
allocation_rule $round_robin
control_slaves TRUE
job_is_first_task FALSE
urgency_slots min
accounting_summary TRUE
The user_lists and xuser_lists parameters are ACLs (access control lists) used to control which
users have permission to use the parallel environment. The user_lists setting gives permission to
use the PE. The xuser_lists setting denies permission to use the parallel environment. The xuser_
lists settings override the user_lists settings.
The start_proc_args and stop_proc_args parameters contain the pathname and arguments for the
parallel environment startup and shutdown scripts. No startup or shutdown scripts are needed for
parallel ANSYS Electromagnetics batch jobs. The setting /bin/true may be used as the value for
these scripts; this utility does nothing and returns an exit code indicating success (0).
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The parallel environment allocation_rule parameter will affect how the analysis engine tasks are
distributed across the hosts allocated to the job. The $round_robin setting distributes the tasks
across the hosts in a round robin fashion, resulting in the load being relatively evenly distributed
over all of the hosts. The $fill_up setting allocates all slots on a host before distributing the tasks to
another host; the result is that most hosts are either fully utilized or completely unused. See the
sge_pe man page for other settings for this parameter.
The job_is_first_task parameter also affects how tasks are allocated. When submitting a job to run
in a parallel environment, the number of parallel tasks, n, is specified on the command line. If this
setting is TRUE, then the job process is considered one of the tasks, and only (n-1) additional tasks
are allocated to the job. If the setting is FALSE, then the job process is not considered to be one of
the tasks, and n additional tasks are allocated for the job.
See the sge_pe man page for more information about these and other PE parameters.
A parallel environment does not run tasks directly. Instead, the tasks are distributed to queues
associated with the parallel environment. In order to complete the setup of a parallel environment,
one or more queues need to be associated with the parallel environment. The queue pe_list
parameter is used to specify the parallel environments (PEs) supported by the queue. This is an
important step; if no queues support a given PE, then jobs submitted to that PE will not
run.
The number of engines run on a host will depend on the total number of distributed engines, and
the number of hosts allocated to the job. The memory required on a host depends on the number of
engines running on the host and on the memory needed for each engine. The qsub command -l
resource=value,... or -q queue_list >command line options specify that the parallel batch job run
on machines with sufficient memory and other resources.
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The suggestions below may be used for SGE serial jobs and for SGE parallel jobs.
The SGE qstat command may be used to display information on jobs and queues. If the -j [job_list]
option is included, then information on jobs is displayed. If the -j [job_list] option includes a job list,
then the displayed information is limited to the jobs in the job list.
The -uuser,... option limits the output to jobs associated with users in the user list. If the -uuser,...
option is not specified, then information on queues or jobs of the current user are displayed.
The -t option displays extended information about the subtasks of each displayed job. This is
equivalent to the -g t option. The -r option displays extended information about the resource
requirements of the displayed jobs.
Related Topics
The -monitor command line option enables batch job output to the standard output and standard
error streams. The warning, info, and progress messages are sent to the standard output stream.
The error and fatal messages are sent to the standard error stream.
The SGE scheduler redirects the standard output and standard error streams of batch jobs to files
specified in the qsub -o [[hostname]:]path,... and the -e [[hostname]:]path,... command line
options, respectively. If either option is not specified, then the associated stream is redirected to the
default file pathname.
The qsub -j y[es] | n[o] controls whether the standard output and standard error streams are
merged. If the y or yes value is specified, then the standard error stream is merged into the
standard output stream. If the -e host_and_path option is also specified in this case, the host_and_
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
path setting is ignored. If the n or no value is specified, or if this option is not specified, then the
standard error stream and standard output stream are not merged.
You can monitor the progress of a job by checking the standard output file for progress, info and
warning messages, and checking the standard error file for error and fatal messages.
Related Topics
All of the following examples show how to submit Linux HFSS jobs on SGE, but similar command
lines will work for all ANSYS Electromagnetics products.
l The -b y option indicates that hfss is launched directly from the command line, instead of
using a script.
l No queue is specified, so the default queue will be used
l The -l h_rt=00:15:00 option indicates that this job has a "hard" runtime limit of 15 minutes.
Serial job using a script, with a runtime limit specified in the script:
qsub ~/sge/scripts/OptimTee.csh
l The -b y option is absent, so the script ~/sge/scripts/OptimTee.csh will be run when the job
starts.
l The script file OptimTee.csh may contain SGE directives in addition to the command(s) to
run. In this example, a directive with a hard runtime limit if 15 minutes is included in the script.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
#$ -l h_rt=00:15:00
l The SGE directive #$ -l h_rt=00:15:00 is equivalent to including -l h_rt=00:15:00 on the qsub
command line.
l The -b y option indicates that hfss is launched directly from the command line, instead of
using a script.
l The -pe pe1 4 command_line option indicates that this is a parallel job running under the
pe1 parallel environment, and that 4 cores or processors are allocated to this parallel job.
l The "-machinelist num=n" option is now required for batch jobs.
l The -Distributed option indicates that this is a DSO job, so that multiple engines will be
started. Because 4 cores are allocated to the job, the job will run 4 engines. The -Distributed
option may now have additional options, such as includetypes=xxx, excludetypes=xxx,
maxlevels=n, and numlevel1=n, where n indicates and integer, and xxx indicates a list of
distribution types or "default".
Related Topics
The following subsections contain recommendations on how to set up an GE cluster for efficiently
running ANSYS Electromagnetics Suite serial and parallel jobs. These recommendations require
the cluster administrator to make configuration changes.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
In many cases, clusters are used to run "large" ANSYS Electromagnetics Suite batch jobs. That is,
these are jobs that may require a large quantity of resources, such as processors, memory, disk
space, or run time. One way to ensure that the resources needed by the batch job are available to
the job is to run the job in an "exclusive" mode. That is, any host running the job is not available for
use by any other jobs. There is no GE built in mechanism for specifying that a job is "exclusive". GE
is extensible, and it is not difficult to configure the cluster to allow exclusive jobs. The steps below
show one way to do this. This example requires GE 6.2u3 or later. Note that specifying a job as
"exclusive" may delay the start of the job if there are not enough hosts available to run the job
exclusively.
1. Use the command qconf -mc to add a new complex to the table of complexes.
Recommended attributes are:
l name : exclusive
l shortcut : excl
l type : BOOL
l relop : EXCL
l requestable : YES
l consumable : YES
l default : 0
l urgency : 0
2. Set the value of "exclusive" to TRUE for each execution host using the command qconf -me
hostname, where hostname is the name of the host. The values of all host configuration
parameters may be displayed using the command qconf -se hostname. The "complex_
values" line should look similar to:
3. When submitting a job, the job will be "exclusive" if the value "excl" is included in the resource
list specified by the qsub -l option. If the resource list does not include "excl" then the job will
not be exclusive, and other jobs may run on the same host or hosts as this job.
4. Example qsub command line for exclusive serial job:
qsub -b y -l excl /opt/AnsysEM/AnsysEM19.0/ansysedt -ng -BatchSolve
-machinelist num=1 ~/projects/OptimTee.aedt.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Although serial jobs use only one slot, no other jobs will run on the host where this job is running,
even if additional slots are present.
5. Example qsub command line for exclusive parallel job using eight engines, each using a
single thread of execution:
qsub -b y -l excl -pe pe1 8 /opt/AnsysEM/AnsysEM19.0/ansysedt -ng -
BatchSolve -Distributed -machinelist num=8 ~/projects/OptimTee.aedt
None of the hosts used for this job will be allowed to run other jobs while this job is running.
GE contains several built-in complexes related to memory, including mem_total, for example, but
none of these are "consumable". If a job is submitted with resource list including one of these non-
consumable memory complexes (such as mem_total), then the job will run on a host or hosts only if
sufficient memory is available. If a second job is submitted, the memory request for the second job
is compared to the original total when determining if the job may run on a host. This may result in
both jobs running out of memory. For example, if host A has mem_total=16G of memory, and two
jobs are submitting with option "-l mt=16G", then both jobs could run on host A, if sufficient slots are
available on host A.
We do not recommend changing the behavior of the built-in complexes (such as mem_total)
because other scripts may expect normal behavior of the built-in complexes.
Note Recent versions of UGE (Univa Grid Engine) come with "m_mem_free" and "mem_free"
complexes already configured, and if so then there is no more configuration required. You
can just use mem_free when per-host memory request is desired, and m_mem_free when
per-core (per-slot really) memory request is desired. SGE may already have "mem_free"
which can be used for per-host memory request.
l name : mem_free
l shortcut : mf
l type : MEMORY
l relop : <=
l requestable : YES
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l consumable : YES
l default : 0
l urgency : 0
Note ANSYS Electronics Desktop has the capability in auto cores and RAM to automatically
select the memory complex (if one is available) and create this command line option for the
user, if you check the "Use RAM constraint" and enter a non-zero amount of GB to use per
core.
Serial Jobs in GE
If a serial job is submitted with the option -l phys_mem=mem_neededincluded, then the job may
only run on a host in which the remaining physical_memory is equal to or greater than the mem_
neededvalue.
Parallel Jobs in GE
Because the consumable setting for physical_memory is YES (and not JOB), each slot of the job
requires a physical_memory of mem_needed. The number of slots on a host assigned to the job is
limited by the number of available slots on the host. It is also limited by the physical_memory
available on the host; the number of slots assigned to the job cannot exceed the available physical_
memory on the host divided by the mem_neededspecification.
Example 1: Execution host A and execution host B both have 4 slots per host (configured in the
queue associated with the parallel environment). Host A has physical_memory=16G and host B
has physical_memory=8G (shown by commands qconf -se Aand qconf -se B). If a a job is
submitted that requires 6 slots and 4G per slot, it will be able to run, with 4 slots on host A and 2
slots on host B. The qsub command might look like: qsub -l phys_mem=4G -pe pe_name 6
command args
Example 2: Same as example 1, except that 7 slots are requested. In this case, the job will never
run. Although there are 8 slots available on hosts A and B, only two of the slots on host B are
usable by this job because it only has physical_memory of 8G. With only 6 slots total available to
this job (4 on host A and 2 on host B), the job can not start. In this case the command might look
like: qsub -l phys_mem=4G -pe pe_name 7 command args
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
For large jobs it may be useful to combine multiprocessing with distributed processing. Distributed
processing refers to starting multiple processes, in which each process performs a portion of the
analysis. These processes may run on the same host or on different hosts. The number of
processes running at the same time is known as the number of "analysis engines". Multiprocessing
refers to using multiple threads within a single process to decrease the run time of the process.
Multiprocessing may also be called multi-threaded processing.
This section describes how to set up a GE cluster so that a specified number of slots per host may
be requested when a job is submitted. This procedure will require the cluster administrator
privileges. This capability may be used to submit parallel jobs in which one engine runs on each
host, and the number of slots per host matches the number of threads used by each engine.
1. Let n be the largest number of slots available on any host used for the jobs. Create a
separate parallel environment for each value of the number of slots per host from 1 to n. For
example, pe_sph1 is a parallel environment in which one slot is allocated to the job per host,
and pe_sph2 is a parallel environment in which two slots are allocated to the job per host,
etc. The command qconf -ap pe_name may be used to create each new parallel
environment. The allocation_rule parameter should be set to the number of slots per host, an
integer from 1 to n. The control_slaves parameter should be set to TRUE, as described
above. The slots parameter should be set to the maximum number of slots managed by this
parallel_environment, which is typically set to a large number, such as 999. The other
parameters should be set to values appropriate for the cluster. For example, the pe_sph2
parallel environment might have the following parameters:
l pe_name : pe_sph2
l slots : 999
l user_lists : NONE
l xuser_lists : NONE
l start_proc_args : /bin/true
l stop_proc_args : /bin/true
l allocation_rule : 2
l control_slaves : TRUE
l job_is_first_task : FALSE
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l urgency_slots : min
l accounting_summary : TRUE
2. When submitting a job, use the parallel environment where the slots per host matches the
number of threads per engine.
The batchoptions setting -machinelist num=n is required. This should be set to match the number
of slots per host. With any analysis, a portion of the analysis may not be distributed across multiple
engines.
Example qsub command line for running distributed processing with four engines and
multiprocessing with two threads per engine:
qsub -V -b y -pe pe_sph2 8 "/opt/AnsysEM/AnsysEM19.0/ansysedt -ng -
BatchSolve -Distributed -machinelist num=4 -batchoptions
"projects/OptimTee.aedt"
The -Voption indicates that the all environment variables in the submission environment should be
copied to the job environment.
l The -b y option indicates that hfss is launched directly from the command line, instead of
using a script.
l The -pe sph2 8 command_line option indicates that this is a parallel job running under the
pe_sph2parallel environment so that two slots are allocated to this job from each host, and
that 8 slots in total are allocated to this parallel job.
l The -Distributed option indicates that this is a DSO job, so that multiple engines will be
started. The -Distributed option may now have additional options, such as includetypes=xxx,
excludetypes=xxx, maxlevels=n, and numlevel1=n, where n indicates and integer, and xxx
indicates a list of distribution types or "default".
l The -machinelist num=4option indicates that a total of four engines will be started.
l The entire hfss command is in double quotes, and the double quotes enclosing the -
batchoptions value are escaped. Each of these double quotes is replaced by the sequence
"\"".
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
ANSYS EM parallel batch jobs use the SGE qrsh command to launch engine processes on
remote hosts. If the qrsh command is not working correctly, then the parallel job is unable to launch
engine processes on remote hosts. If this problem occurs, the batch log for the job typically includes
one or more error messages indicating that a COM engine was unable to be started on a remote
host. If this occurs, the user or cluster administrator should verify that the SGE qrsh command is
working correctly, and correct the problem if the SGE qrsh command is not working correctly.
The qrsh command may be tested by running a simple command on a specified host, such as
qrsh -l hostname=host1 hostname or qrsh -l hostname=host1 ls /tmp, where host1 is the
remote host name. The first test should simply echo back the hostname of the remote machine.
The second test should list the contents of the /tmp directory on the remote machine.
The failures of the SGE qrsh command are associated with the following global sge configuration
parameters, listed below with values that may cause the failures:
qrsh_command /usr/bin/ssh -t
rsh_command /usr/bin/ssh -t
rlogin_command /usr/bin/ssh -t
If these parameter settings are removed, then the SGE built-in mechanisms are used for qrsh, rsh,
and rlogin. No problems with the built-in versions have been reported. The SGE qconf -sconf
global command may be used to view these parameter settings. The SGE qconf -mconf global
command may be used to modify or remove these parameter settings.
By default, SGE creates a temporary directory for each SGE batch job, and deletes this temporary
directory and its contents when the job finishes. SGE sets the TMP and TMPDIR environment
variables of the job environment to point to this temporary directory. ANSYS EM desktop software
starts the MainWin Core Services on startup, if they are not already running. After the ANSYS EM
desktop software finishes, the MainWin Core Services time out and automatically shut down. The
MainWin Core Services use the TMP and/or TMPDIR directories to store temporary data. If this
temporary data is removed before the services shut down, then the services do not shut down
automatically. Normally, SGE will remove the temporary directory and its contents before the
services time out. The result is that these extraneous service processes run forever. If this problem
occurs, each Ansoft batch job starts an additional set of these services that never shut down. This
can result in an excessive number of processes running on the host where the ANSYS EM desktop
is started. The names of the service processes are:
l watchdog
l regss
l mwrpcss
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
One way to avoid this problem is to modify the environment in which the ANSYS EM desktop runs
so that the TMP and TMPDIR environment variables do not point to the directory which will be
immediately removed by SGE when the job finishes. This can be done by copying the value of the
TMPDIR environment variable to the ANS_SGE_TMPDIR environment variable, and unsetting
the TMPDIR and TMP environment variables. The services ignore the ANS_SGE_TMPDIR
environment variable, but if this variable is set, then it will be used as the temporary directory for the
rest of the ANSYS EM software.
Here is an example bash wrapper script that may be used to work around this issue. In this
example, the product is hfss, but the same approach will work for any ANSYS EM product. In this
example, the script is named sge_hfss and is in the AnsysEM software installation directory. When
an ANSYS Electromagnetics desktop job is submitted to the SGE scheduler, the script (sge_hfss,
in this example) should be submitted instead of hfss. The script will modify the environment, as
needed, then start hfss. When the analysis finishes, the script returns the exit status of hfss.
An alternative is to place the script in an arbitrary directory, and modify the script to include an
absolute path to the product (hfss in this example).
Script contents:
#! /bin/bash
cmd0=$0
cmd="${cmd0/%sge_hfss/hfss} $@"
export ANS_SGE_TMPDIR=${TMPDIR}
unset TMPDIR
unset TMP
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
${cmd}
exit $?
Related Topics
The ANSYS RSM Cluster (ARC) scheduler may be used as alternative to third party job
schedulers, such as Microsoft HPC or LSF. The ARC scheduler may be used to submit jobs to a
single machine or to run on a group of machines. Every ANSYS RSM installation has one
predefined cluster configuration, localhost, that allows the ARC scheduler to submit jobs to the
local machine. This configuration may be used without requiring additional setup beyond what is
needed for ANSYS RSM installation.
The ARC scheduling system operates in two distinct modes: basic and advanced. In basic mode,
jobs run on a single cluster node only, which can be the local machine or a single remote machine.
In advanced mode, jobs can run on one or more remote machines. This requires installation and
configuration of the cluster services on each of the cluster machines. See the ANSYS Remote
Solve Manager (RSM) documentation for details on configuring the ARC cluster.
In addition to configuring the ARC scheduling system, the EKM portal must be configured to allow
submission of jobs to the ARC scheduler. EKM queues may be configured for submission of jobs to
a basic or advanced ARC scheduling system.
You can submit jobs to an ARC scheduler using EKM in a manner similar to submitting jobs to any
other cluster supported by EKM.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
2. Select Jobs in the dropdown list box in the upper left corner.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
3. In the Jobs screen, press the Start Job button just below the dropdown list box in the upper
left corner.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
5. In the Create Job popup dialog, select the Tag, Job Name, and Working Directory. Press
the Next button to continue.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
6. In the Add Files popup dialog, specify the files for the job, which may be from the local
system, the server, or the EKM data repository. Press Next to continue.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
7. In the Specify Execution Settings popup dialog, specify the analysis parameters and the
compute resources for the job. Press the Finish button to submit the job.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
For additional details on configuring an ANSYS RSM Cluster, see the ANSYS Remote Solve
Manager (RSM) documentation.
HFSS Examples
ansysedt.exe -batchsolve
"'HFSS/HPCLicenseType'=pool
projectname.aedt
This example demonstrates how to set the same options as the previous example, but here using a
registry.txt file:
ansysedt.exe -batchsolve -batchoptions registry.txt projectname.aedt
Registry.txt contains:
$begin 'Config'-machinelist num=2
'HFSS/HPCLicenseType'=pool
$end 'Config'
Distributed Jobs
An ANSYS EM batch job which distributes the analysis over several hosts may also be called a
distributed job. To submit a distributed job, the following ANSYS EM desktop command line
options should be used:
l The -Distributed option should be present, and the -Local option should be absent. When
running as a batch job under one of the schedulers with direct integration, this option is a
directive to the job to 1) obtain the list of hosts allocated to the job, directly from the
scheduler, and to 2) use the scheduler to launch the analysis engines on the hosts allocated
to the job. The -Distributed option may now have additional options, such as
includetypes=xxx, excludetypes=xxx, maxlevels=n, and numlevel1=n, where n indicates
and integer, and xxx indicates a list of distribution types or "default".
l The -Machinelist num=num_distributed_engines option must be included, where num_
distributed_engines is the total number of analysis engines to be started on the hosts
assigned to the job.
Other examples:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
-monitor \\shared_drive\projs\OptimTee.aedt
Ansoft RSM
C:\Program Files\AnsysEM\AnsysEM19.0\win64\ansysedt.exe -ng -
Batchsolve -monitor -Distributed
LSF
bsub -n 4 C:\Program Files\AnsysEM\AnsysEM19.0\win64\ansysedt.exe -
ng -Batchsolve -monitor
\\shared_drive\projs\OptimTee.aedt
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
This requests 4 cores to come from the same machine, as multi-processing needs cores to be on
the same machine
-batchoptions \\shared_drive\registry.txt
\\shared_drive\projs\OptimTee.aedt
Related Topics
Aborting an Analysis
l Introduction
l Common Requirements for Running Jobs
l Using a Shared Library (Linux) or a DLL (Microsoft Windows)
l Scheduler Proxy Interfaces
l Using an IronPython Program for Scheduler Integration
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Introduction
ANSYS EM Software Tools may be run as serial or parallel jobs on a cluster under control of a
scheduler. Serial jobs are run using a single analysis engine at any one time on a single host. If the
tool performs multiple analyses (for a frequency sweep or a parametric analysis, for example), the
analyses are performed one after the other. Parallel jobs are run using multiple analysis engines
running in parallel on the same host or on separate hosts. For parts of the analysis (such as
meshing), the parallel job may use only a single analysis engine on a single host. Other parts of the
analysis (such as a frequency sweep, parametric analysis or DDM, for example) may be distributed
to multiple analysis engines running in parallel.
l Serial Jobs
l Parallel Jobs
Serial Jobs
When an ANSYS EM batch analysis runs as a serial job, the analysis engines run on the same host
as the desktop process. The desktop process does not need to interact with the scheduler to get
the names of hosts allocated to the job or to start processes on other hosts.
Parallel Jobs
For a parallel job, the desktop process starts multiple analysis engines that run in parallel. These
engines may be started on the host where the desktop process is running, or on other hosts
allocated to the job. The desktop process interacts with the scheduler to obtain information on the
hosts that are allocated to the job, and to start engines on the local host or on other hosts allocated
to the job. This document provides information on how to facilitate this interaction between the
desktop process and the scheduler controlling the cluster.
For some popular job schedulers in a standard configuration, ANSYS EM provides an "out of the
box" integrated solution that will work with the scheduler. In this case, the ANSYS EM installation
includes code that will determine if the analysis is running as a scheduler job and communicate with
the scheduler when needed. For other schedulers, the code to obtain information about the hosts
allocated to a job and to distribute portions of the job to hosts assigned to the job is not provided in
the installation. In order to facilitate using ANSYS EM Software Tools with other schedulers, the
user may provide a way for ANSYS EM Tools to interact with the scheduler. Currently, two general
approaches are available to users.
In the first approach, the user creates a shared library (on Linux) or a dynamically linked library (on
Microsoft Windows) to provide communication between the ANSYS EM Tool and the scheduler.
This library is loaded by the ANSYS EM Tool at runtime, and if the ANSYS EM Tool is running as
part of a scheduler job, the ANSYS EM Tool interacts with the library to get information from the
scheduler, and to start additional processes on specified hosts. Each such library implements the
same set of extern "C" functions needed to mediate the interactions between the ANSYS EM Tool
and the scheduler. The details of these functions are described below.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
In the second approach, the user creates an IronPython program to provide communication
between the ANSYS EM Tool and the scheduler. This program is loaded by the ANSYS EM Tool
at runtime, and if the ANSYS EM Tool is running as part of a scheduler job, the ANSYS EMs Tool
uses the IronPython program to get information from the scheduler, and to start additional
processes on specified hosts. Each python script contains a class implementing a specified
interface, which contains functions needed to mediate the interactions between the ANSYS EM
Tool and the scheduler. The details of the interface are described below. The IronPython interface
is equivalent to the extern "C" functions used in the first approach.
The following requirements must be met for serial and parallel jobs to run successfully. They apply
whether using "out of the box" scheduler integration or scheduler integration using a library or using
an IronPython program. When we refer to host requirements, the requirements apply to all hosts
that may be allocated to an ANSYS EM serial or parallel batch job.
Installation Requirements
The ANSYS EM installation directory tree must be accessible from all cluster hosts using the same
path. One way to achieve this is to place the ANSYS EM installation on a shared drive that is
accessible to the cluster hosts using the same pathname. On Windows, this may require the use of
UNC names to refer to the installation directory. Another option is to install the ANSYS EM tool
locally on each cluster host using the same local directory pathname.
The directory containing the project file must also be available from all cluster hosts using the same
path. The project file and the containing directory must be readable and writable by the user
account used to run the job. The controlling process for a distributed job is called the Desktop
process, and it reads from and writes to the project file and other files in the same directory and its
subdirectories. Although only the Desktop process reads from and writes to this directory, the
Desktop process may be started on any of the hosts allocated to the job, so all hosts should have
access to this directory using the same pathname.
This section describes how to create a dynamically linked library to allow integration of ANSYS
Electromagnetics Suite 19.0 with an arbitrary scheduler environment. Each scheduler proxy library
is used for a single specific scheduler environment. If the library is installed with a valid name and in
the correct location, then it will automatically be loaded and used by ANSYS Electromagnetics
Suite 19.0.
Installation Details
The scheduler proxy library must be installed in the schedulers subdirectory of the Ansoft
installation directory. For example, if the ANSYS EM installation directory is C:\Program
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The scheduler proxy library base name must match "libprefix_scheduler" on Windows and
"liblibprefix_scheduler" on Linux. The extension must be a valid extension for a dynamically loaded
library on the platform where it is used. The scheduler proxy library name prefix libprefix shall be
unique, so it does not conflict with other scheduler proxy libraries in the same directory. To avoid
confusion, the scheduler proxy library name should be all lower case on OSs where file names are
case sensitive.
Related Topics
This section contains the recommended compiler and linker settings for building a scheduler proxy
library.
The proxy library should be compiled and linked as a 64 bit DLL, using the following recommended
compiler and linker options:
Compiler Options
Linker Options:
Linux
The proxy library should be compiled and linked as shared library (*.so) file. The following compiler
and linker options are recommended when building using gcc/g++:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Compiler Options
l Generate position independent code, suitable for use in a shared library: [-fpic]
l Generate code compatible with pthreads library: [-pthread]
Linker Options:
Each exported function will have a scheduler specific function name prefix. The function name
prefix will be the same as the library name prefix, except that it is converted to upper case. For
example, if the library name prefix is "lsf", then the function name prefix is "LSF". In the examples
below, we use FN_PREFIX to denote the function name prefix.
The scheduler proxy library must provide implementations of the following extern "C" functions:
l IsProductLaunchedInYourEnvironment
l GetTempDirectory
l GetMachineListAvailableForDistribution
l GetMessageStringToRegisterForSigTerm
l LaunchProcess
l GetUseRsmForEngineLaunch
l GetThisJobID
l GetSchedulerDisplayName
IsProductLaunchedInYourEnvironment
Purpose
Determine if the program is running in the context of the scheduler for which this library was
written.
Signature
extern "C" bool FN_PREFIX_IsProductLaunchedInYourEnvironment();
Arguments
None.
Return Value
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Returns true if the current process is running as a job of the scheduler. Otherwise, false is
returned.
Notes
For many schedulers, the presence of certain environment variables or their values may be
checked to determine if the current process is running as a job of the scheduler.
GetTempDirectory
Purpose
Get the pathname of the temporary directory provided by the scheduler for the current job. The
pathname is an empty string if the scheduler does not provide a temporary directory for the
current job.
Signature
extern "C" bool FN_PREFIX_GetTempDirectory(char * buffer, unsigned
int* length);
Arguments
buffer: Pointer to a character buffer to contain the temporary directory path name or NULL.
length: Pointer to a location to contain the length of the buffer. Must be a valid pointer to an
unsigned int.
Return Value
If argument buffer is NULL, then then required length of the buffer is stored in the location to
which argument length points, and true is returned.
If argument buffer is not NULL, then the value to which argument length points (the buffer
length) is checked. If it is large enough to contain the pathname of the temporary directory,
including the terminal null byte, then the pathname is copied to the buffer and true is returned. If
the buffer length is insufficient for the pathname of the temporary directory, then the buffer is
unchanged, and false is returned.
Notes
To get the pathname of the temporary directory, the infrastructure first calls this function with a
NULL buffer, and obtains the required length of the buffer for the pathname. After creating a buffer
of the appropriate size, the infrastructure calls this function again, passing the pointer to the buffer
in the buffer argument and a pointer to the size of the buffer in the length argument.
GetMachineListAvailableForDistribution
Purpose
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Get the list of hosts allocated to the current job. A host will appear in the list multiple times if the
scheduler has allocated multiple processors or cores on the host to the job. The number of times
the host appears in the list is equal to the number of processors or cores of the host that are
allocated to the current job. The list is a text string containing a space separated list of
hostnames.
Signature
extern "C" bool FN_PREFIX_GetMachineListAvailableForDistribution
(char * buffer, unsigned int* length);
Arguments
buffer: Pointer to a character buffer to contain the list of machines available for distribution or
NULL.
length: Pointer to a location to contain the length of the buffer. Must be a valid pointer to an
unsigned int.
Return Value
If argument buffer is NULL, then then required length of the buffer is stored in the location to
which argument length points, and true is returned.
If argument buffer is not NULL, then the value to which argument length points (the buffer
length) is checked. If it is large enough to contain the lists of hosts, including the terminal null
byte, then the list is copied to the buffer and true is returned. If the buffer length is insufficient for
the list of hosts, then the buffer is unchanged, and false is returned.
Notes
To get the list of hosts for distribution, the infrastructure first calls this function with a NULL buffer,
and obtains the required length of the buffer for the list. After creating a buffer of the appropriate
size, the infrastructure calls this function again, passing the pointer to the buffer in the buffer
argument and a pointer to the size of the buffer in the length argument.
The hostnames in the list provided by this function shall be used in calls to LaunchProcess(). These
host names must be in a format that is accepted by that function. See the section below on
LaunchProcess.
GetMessageStringToRegisterForSigTerm
Purpose
Signature
extern "C" bool FN_PREFIX_GetMessageStringToRegisterForSigTerm (char
* buffer, unsigned int* length);
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Arguments
length: Pointer to a location to contain the length of the buffer. Must be a valid pointer to an
unsigned int.
Return Value
If argument buffer is NULL, then the required length of the buffer is stored in the location to
which argument length points, and true is returned.
If argument buffer is not NULL, then the value to which argument length points (the buffer
length) is checked. If it is large enough to contain the string, including the terminal null byte, then
the string is copied to the buffer and true is returned. If the buffer length is insufficient for the
string, then the buffer is unchanged, and false is returned.
Notes
To get the string, the infrastructure first calls this function with a NULL buffer, and obtains the
required length of the buffer for the string. After creating a buffer of the appropriate size, the
infrastructure calls this function again, passing the pointer to the buffer in the buffer argument and a
pointer to the size of the buffer in the length argument.
LaunchProcess
Purpose
Launch a local or remote process to run an analysis engine. This function is called by the
ANSYS Electromagnetics desktop application to launch an engine process on a specified host.
The hostname is one of the names in the list provided by the
GetMachineListAvailableForDistribution function. See the
GetMachineListAvailableForDistribution section above. If the hostname does not refer to the
local host, then this function shall use the scheduler to launch the engine on the specified host. If
the hostname refers to the local host, then the engine may be started as a child process, or it
may be started using the scheduler.
Signature
extern "C" int FN_PREFIX_LaunchProcess(const char* hostName, const
char* exePathName, const char* arg1, const char* arg2);
Arguments
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Return Value
Notes
The hostName argument will be one of the hostnames provided by the function
GetMachineListAvailableForDistribution().
If the hostName argument is the same as the current host, then the analysis engine process may
be started as a child process. If the hostName argument is not the same as the current host, then
the analysis engine process will be started on the remote host using the facilities available in the
scheduler environment. The command line of the analysis engine process is exePathName arg1
arg2. The command line arguments arg1 and arg2 may contain newlines, tabs, spaces or other
characters that are interpreted by the command processor, such as single quote (') or double quote
(") characters, or dollar signs ($). Newlines or tabs may be replaced by spaces, if the newline or tab
characters cannot be easily handled. If the analysis engine command is processed by a shell, then
it may be necessary to quote any special characters in the exePathName or in the arguments so
that the special meaning is removed. If a scheduler command is used to request the scheduler to
launch the command to start the engine process, the analysis engine command may be processed
by the shell twice: once when the scheduler command is processed, and a second time when the
analysis engine process is started. If this is the case, then the quoting of special characters needs
to account for two passes through the command processor.
GetUseRsmForEngineLaunch
Purpose
This function is optional. If this feature is not needed, then the function need not be
implemented. Most schedulers should not need this feature.
For some schedulers, it may be desirable for the Ansoft RSM service to launch the engine
processes instead of using the scheduler proxy library. For example, if the scheduler proxy
library is limited to launching one process per host, then the scheduler proxy library may be used
to launch one Ansoft RSM service executable per host, and the Ansoft RSM executable will
launch all of the engine processes.
If the Ansoft RSM service should be used to launch engine processes for this scheduler, then
this function shall be implemented and it shall return true.
If the Ansoft RSM service should not be used to launch engine processes for this scheduler,
then this function is not required. If it is implemented, it should return false. If it is not
implemented, it will be treated the same as if it was implemented and returns false.
Signature
extern "C" bool FN_PREFIX_GetUseRsmForEngineLaunch(void)
Arguments
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
None.
Return Value
Returns true if the Ansoft RSM service should be used to launch engine processes for this
scheduler. Returns false if the Ansoft RSM service should not be used to launch engine
processes for this scheduler.
Notes
This function is optional. If not implemented, then it is treated the same as if it was implemented and
returns false.
GetThisJobID
Purpose
Get a string identifying the job currently running in the scheduler environment. This string is
displayed to the end user to identify the job.
Signature
extern "C" bool FN_PREFIX_GetThisJobID(char * buffer, unsigned int*
length);
Arguments
length: Pointer to a location to contain the length of the buffer. Must be a valid pointer to an
unsigned int.
Return Value
If argument buffer is NULL, then then required length of the buffer is stored in the location to
which argument length points, and true is returned.
If argument buffer is not NULL, then the value to which argument length points (the buffer
length) is checked. If it is large enough to contain the string identifying the current job, including
the terminal null byte, then the job ID is copied to the buffer and true is returned. If the buffer
length is insufficient for the job ID, then the buffer is unchanged, and false is returned.
Notes
To get the job ID, the infrastructure first calls this function with a NULL buffer, and obtains the
required length of the buffer for the job ID. After creating a buffer of the appropriate size, the
infrastructure calls this function again, passing the pointer to the buffer in the buffer argument and a
pointer to the size of the buffer in the length argument.
For many schedulers, the job ID may be obtained from the value of an environment variable.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
GetSchedulerDisplayName
Purpose
Get a string identifying the scheduler associated with the current scheduler proxy library. This
string is displayed to the end user to identify the scheduler.
Signature
extern "C" bool FN_PREFIX_GetSchedulerDisplayName(char * buffer,
unsigned int* length);
Arguments
buffer: Pointer to a character buffer to contain the scheduler display name or NULL.
length: Pointer to a location to contain the length of the buffer. Must be a valid pointer to an
unsigned int.
Return Value
If argument buffer is NULL, then required length of the buffer is stored in the location to which
argument length points, and true is returned.
If argument buffer is not NULL, then the value to which argument length points (the buffer
length) is checked. If it is large enough to contain the scheduler display name, including the
terminal null byte, then the scheduler display name is copied to the buffer and true is returned. If
the buffer length is insufficient for the scheduler display name, then the buffer is unchanged, and
false is returned.
Notes
To get the scheduler display name, the infrastructure first calls this function with a NULL buffer, and
obtains the required length of the buffer for the scheduler display name. After creating a buffer of
the appropriate size, the infrastructure calls this function again, passing the pointer to the buffer in
the buffer argument and a pointer to the size of the buffer in the length argument.
Initialize the proxy library for scheduler interaction. The config argument contains scheduler
specific initialization information.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Returns 0 (success) if the environment is appropriate for submitting jobs to the scheduler.
l Returns a non-zero error code if the environment is incorrect. If a non-zero error code is
returned, an error message to display to the user is written to the msg argument.
This function returns some basic information about the scheduler with which the scheduler
proxy library interacts.
l On success, 0 is returned, and the scheduler name, scheduler description, and scheduler
version are written to the schedulerName, schedulerDescription and
schedulerVersion arguments.
l On failure, a non-zero error code is returned, and an error message to display to the user
is written to the msg argument.
The Compute Resource Selection Parameters dialog allows the user to specify scheduler
specific resources. This function returns the information used to create and populate the
Compute Resource Selection Parameters dialog.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Each line in the dialog is defined by a single attribute definition in the attributeDefs argument.
An attribute definition defines the name and description of an attribute, as well as information
about the allowed values and the default value. In general, only the most commonly specified
job attributes are included in the attributeDefs argument.
l On success, 0 is returned, and the attribute definitions are written to the attributeDefs
argument.
l On failure, a non-zero error code is returned, and an error message to display to the user
is written to the msg argument.
l If the scheduler proxy library does not support any attributes using this approach, the
attributeDefs argument will contain no attribute definitions, and 0 will be returned.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
This function requests the scheduler to abort a job identified by the jobID argument. If the force
argument is true, then errors should be ignored (the exact behavior is scheduler specific). The
submissionUser argument contains information about the client user (the user running the
Desktop process). The request to abort the job should run in the context of this user. If no user is
specified, then the request to abort the job runs as the user of the process or thread running the
function.
l On success, 0 is returned, and the job identifier of the newly submitted job is written to the
jobID argument.
l On failure, a non-zero error code is returned, and an error message to display to the user
is written to the msg argument.
This function is used to submit jobs to the scheduler in which the resources allocated to the job
are uniformly distributed across the nodes allocated to the job. All other arguments are input
arguments, and they are described below:
The cmdLineInfo argument contains the command line arguments. The first argument is the
command name.
The jobParallelization argument contains information on how the job should be parallelized. It
contains the following integral parameters:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
resource attribute value is the value specified for the resource attribute by the user using the
Compute Resource Selection Parameters dialog. If no resource attributes are specified by the
user in this dialog, then the computeResources argument will contain no resource attribute
settings.
The jobOptions argument contains the environment variable settings for the job.
The jobAttributes argument contains job submission attributes which are not necessarily related
to the compute resources allocated to the job. The job name and the requested job priority are
included in this data structure. The SchedulerOptions tab of the Job Submission dialog allows
the user to either specify additional job submission options or to specify all submission options,
replacing the settings from the other Job Submission dialog controls.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The user specified submission options are included in this data structure, as well as a
boolean setting indicating whether the user specified options are in addition to the automatically
generated options, or whether they replace the automatically generated submission options.
The submissionUser argument contains information about the client user (the user running
the Desktop process). The job is submitted to the scheduler to run as this user.
The cmdLineInfo argument contains the command line arguments. The first argument is the
command name.
l On success, 0 is returned, and the job identifier of the newly submitted job is written to the
jobID argument.
l On failure, a non-zero error code is returned, and an error message to display to the user
is written to the msg argument.
This function is used to submit jobs to the scheduler in which the nodes to use and the number
of engines to run on each node are specified by the user. All other arguments are input
arguments, as for the SubmitUniformJob() function. These input arguments are the same as
for the SubmitUniformJob() function, except that the computeResources argument is a
reference to a NonUniformComputeResourcesStruct, as described below:
This function is similar to the SubmitUniformJob() function, but instead of submitting the job,
text representing how the job will be submitted is written to the preview argument. Typically the
preview text includes the job submission command and the contents of the job script created for
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
the job. For some schedulers, this content may not be meaningful, so the text returned could be
different.
l On success, 0 is returned, and the job preview text is written to the preview argument.
l On failure, a non-zero error code is returned, and an error message to display to the user
is written to the msg argument.
The other arguments are input arguments with the same meaning as for the
SubmitUniformJob() function. The submissionUser argument is ignored for this function.
See the product specific help for details on running the product in batch mode, and for the
command line options to use for distributed analysis.
l Testing IsProductLaunchedInYourEnvironment
l Testing GetSchedulerDisplayName and GetThisJobID
l Testing GetTempDirectory
l Testing GetMachineListAvailableForDistribution
l Testing LaunchProcess
l Testing GetUseRsmForEngineLaunch
Testing IsProductLaunchedInYourEnvironment
This function should be tested first. If the ANSYS EM application is not able to load and run this
function, or if it returns false, then none of the other functions will be called. If the batch analysis
is running in a scheduler environment, and this function returns true, then there will be an "info"
message near the beginning of the batch log indicating that the analysis is running as a
scheduler job. This message will include the scheduler display name returned by the function
GetSchedulerDisplayName, and it will also include the job ID returned by the function
GetThisJobID. If the batch analysis is not running in a scheduler environment, then none of the
messages will include a scheduler display name or job ID.
If this message does not appear when running in a scheduler environment, ensure that the
scheduler proxy library is named correctly, that it is built correctly, that it is installed in the correct
directory, and that the function name prefix is the same is the library prefix converted to upper
case.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
As described above, when running a batch job in a scheduler environment, the scheduler
display name and the job ID will appear in an "info" message near the beginning of the batch
log. The values returned by these functions are copied to this message verbatim, so they can be
directly compared to the expected values.
Testing GetTempDirectory
Many schedulers create a temporary directory for each job and delete the directory after the job
finishes. One way to verify that this function is working correctly is to determine the pathname
that the scheduler uses for the temporary directory and to monitor the contents of the temp
directory as the job is running. If the analysis engines write files to this directory as the job runs,
then this function is working.
Testing GetMachineListAvailableForDistribution
This function is used for distributed analysis. The analysis may be distributed across several
machines if portions of the analysis are independent. For example, frequency sweeps,
parametric analysis and domain decomposition allow different portions of the analysis to be
distributed across machines. The analysis in a batch job will be distributed to multiple
processors or hosts if the analysis includes a setup that may be distributed (e.g., a frequency
sweep or parametric analysis) and the -Distributed option is included in the desktop command
line. The list of machines is displayed in an "info" message near the beginning of the batch log.
The list in the info message can be directly compared to the expected list of machines.
To verify that the machine list is constructed correctly for a variety of cases, it may be necessary
to test several jobs with different resource requirements and verify that the machine list is
correct in each case. For example, one may run batch analyses with the following resource
requirements:
Testing LaunchProcess
This function is used to launch analysis engines in the case where the analysis is distributed across
multiple hosts. The analysis may be distributed across several machines if portions of the analysis
are independent. For example, frequency sweeps, parametric analysis and domain decomposition
allow different portions of the analysis to be distributed across machines. The analysis in a batch
job will be distributed to multiple processors or hosts if the analysis includes a setup that may be
distributed (e.g., a frequency sweep or parametric analysis) and the -Distributed option is
included in the desktop command line. The list of machines is displayed in an "info" message near
the beginning of the batch log. The batch log may also contain info messages when portions of the
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
analysis distributed to different machines start or finish. These messages usually include the name
of the host when the analysis ran or will run. One can verify that the analysis is actually running on
the expected host or hosts using the Linux ps command or the Windows Task Manager.
In general, one analysis engine is started for each occurrence of each host in the list of machines
available for distribution. For example, if the list of hosts is "hostA hostA hostA hostB hostB", then a
total of 5 engines would be started, three on hostA and two on hostB. In some cases, an additional
engine is started to perform the portion of the analysis which is not distributed; if this is the case, the
non-distributed engine is idle during the portion of the analysis which is distributed. If this occurs in
the case where the list of hosts is "hostA hostA hostA hostB hostB", then a total of 6 engines would
be started, but at most 5 engines would be active at any given time. When each analysis engine is
running, it may start additional child processes to do a portion of the analysis, but these are not
counted as additional analysis engines because the parent of the sub-engine is inactive (waiting for
the sub-engine results) when the sub-engine is active.
Testing should be sufficient to demonstrate that the scheduler proxy library can start multiple
engine processes on the desktop host, and can also start multiple engine processes on other hosts.
Testing GetUseRsmForEngineLaunch
In most cases, this function will not be implemented or tested. If this function is implemented and
returns true, then the ANSYS Electromagnetics desktop application will not start the analysis
engines using the LaunchProcess function directly. Instead, the ANSYS Electromagnetics desktop
application will start one AnsoftRSMService process on each host using the LaunchProcess
function, and the engine processes will be started by these AnsoftRSMService processes. One
may check for these processes using the Linux ps command or the Windows Task Manager. One
AnsoftRSMService process should run on each host. These processes will be named
ansoftrsmservice.exe or AnsoftRSMService.exe. These processes will be started on each host
before any analysis engine is started on the host, and will remain running until the job is complete.
There are several problems which could result in none of the proxy functions being called.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The scheduler proxy library must be installed in the schedulers subdirectory of the ANSYS
Electronics Desktop installation directory.
The scheduler proxy library name must match "*_scheduler.dll" on Windows and "lib*_
scheduler.so" on Linux. If the library name does not match this format, then the library will not be
loaded. In addition, the function name prefix must be the same as the library name prefix converted
to upper case. For example, if the library name prefix is "abc", then the function name prefix is
"ABC". In this example, the library name is "abc_scheduler.dll" on Windows, and "libabc_
scheduler.so" on Linux. In this example, the full name of the
IsProductLaunchedInYourEnvironment function is ABC_IsProductLaunchedInYourEnvironment
on Windows and Linux, and it must have extern "C" linkage.
Verify that the compile and link flags follow the guidelines in the section "Build Information", above.
Incorrect compile or link flags may prevent the library from being loaded by the ANSYS
Electromagnetics product.
Verify that the conditions specified in the section "None of the Proxy Functions are Called" are met.
Verify that this function returns true when called in an environment running under the scheduler,
and that it returns false when called in an environment not running under the scheduler.
Troubleshooting GetSchedulerDisplayName
Verify that the IsProductLaunchedInYourEnvironment function returns true when running in the
scheduler environment.
Verify that, if argument buffer is NULL, then the required length of the buffer is stored in the location
to which argument length points, and true is returned. The required buffer length must include
space for the string null terminator.
Verify that, if argument buffer is not NULL and the value to which argument length points (the
buffer length) is large enough to contain the display name, including the terminal null byte, then the
display name is copied to the buffer and true is returned.
Troubleshooting GetThisJobID
Verify that the IsProductLaunchedInYourEnvironment function returns true when running in the
scheduler environment.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Verify that, if argument buffer is NULL, then the required length of the buffer is stored in the location
to which argument length points, and true is returned. The required buffer length must include
space for the string null terminator.
Verify that, if argument buffer is not NULL and the value to which argument length points (the
buffer length) is large enough to contain the job ID, including the terminal null byte, then the job ID
is copied to the buffer and true is returned.
Troubleshooting GetTempDirectory
Verify that the IsProductLaunchedInYourEnvironment function returns true when running in the
scheduler environment.
Verify that, if argument buffer is NULL, then the required length of the buffer is stored in the location
to which argument length points, and true is returned. The required buffer length must include
space for the string null terminator.
Verify that, if argument buffer is not NULL and the value to which argument length points (the
buffer length) is large enough to contain the temporary directory pathname, including the terminal
null byte, then the temporary directory pathname is copied to the buffer and true is returned.
Troubleshooting GetMachineListAvailableForDistribution
Verify that the IsProductLaunchedInYourEnvironment function returns true when running in the
scheduler environment.
Verify that the list of hosts is a valid ASCII string containing a space separated list of host names. A
host name will appear in the list a number of times equal to the number of processors or cores
available to the job on that host.
Verify that, if argument buffer is NULL, then the required length of the buffer is stored in the location
to which argument length points, and true is returned. The required buffer length must include
space for the string null terminator.
Verify that, if argument buffer is not NULL and the value to which argument length points (the
buffer length) is large enough to contain the list of hosts, including the terminal null byte, then the list
of hosts is copied to the buffer and true is returned.
Troubleshooting LaunchProcess
Verify that the IsProductLaunchedInYourEnvironment function returns true when running in the
scheduler environment.
The hostName argument is a host name from the list returned by the
GetMachineListAvailableForDistribution function. Verify that the LaunchProcess function can
accept host names in the format returned by the GetMachineListAvailableForDistribution function.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The exePathName argument is the pathname of the analysis engine executable to be started. This
pathname may contain spaces or other characters special to the shell. Ensure that the
LaunchProcess function is able to handle such cases.
The arg1 and arg2 arguments may contain newlines, tabs, single quotes, spaces, dollar signs, and
other characters which may be special to the shell. Ensure that the LaunchProcess function is able
to handle such cases. If needed, the newline characters may be replaced by other whitespace
characters. One or both of these arguments could also be an empty string; verify that the empty
string is correctly passed to the engine process command line.
If a scheduler command is used to launch the engine process on a remote machine, the engine
command line may be processed by the shell twice, once when the scheduler command is
processed by the shell, and again when the engine command is processed by the shell. In such
cases, the quoting of characters special to the shell will need to be take these two passes through
the shell into account. In some implementations, it may be necessary or convenient to use different
approaches for launching engine processes on the local machine and on remote machines; if this is
done, verify that the approach used to determine whether the hostName argument represents the
local machine is correct.
Troubleshooting GetUseRsmForEngineLaunch
In most cases, this function will not be implemented. If it is implemented, then follow the
suggestions below.
Verify that the IsProductLaunchedInYourEnvironment function returns true when running in the
scheduler environment.
If the RSM should be used for launching engines, verify that this function returns true. Otherwise,
verify that this function returns false.
Installation Details
The IronPython program must be installed in the schedulers subdirectory of the ANSYS EM
installation directory. For example, if the installation directory is C:\Program
Files\AnsysEM\AnsysEM19.0\Win64, then the IronPython program must be installed in directory
C:\Program Files \AnsysEM\AnsysEM19.0\Win64\schedulers.
The program file extension must be ".py". Select the program name so that it does not conflict with
other IronPython programs in the same directory. If the Operating System or file system treat file
names in a case sensitive manner, the file extension ".py" must be lower case.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The scheduler program will be run in the IronPython environment both on Microsoft Windows and
on Linux. There are some differences between IronPython and CPython. The version of
IronPython in use is 2.7.0.40
Implementation Details
Define a class which implements the ISchedulerPluginExtension interface. In this document, this
class is named SamplePluginExtension, but any class name may be used. The class member
functions are described in the next section. The class definition will look similar to the following:
class SamplePluginExtension(ISchedulerPluginExtension):
def GetName(self):
return "SamplePluginExtension"
def GetDescription(self):
. . .
Include the following line in the program so that the class that you have defined,
SamplePluginExtension, is loaded by the infrastructure:
ExtensionRegistrar.RegisterPluginExtension(SamplePluginExtension())
The infrastructure will make the EntensionRegistrar object available in the environment where the
program is loaded.
l GetName
l GetDescription
l IsProductLaunchedInYourEnvironment
l GetSchedulerDisplayName
l GetThisJobID
l GetUseRsmForEngineLaunch
l GetTempDirectory
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l GetMessageStringToRegisterForSigTerm
l GetMachineListAvailableForDistribution
l LaunchProcess
GetName [IronPython]
Purpose
Return a short string containing the name of the plugin extension. This string is used to identify
the scheduler plugin extension in logs or program output.
Signature
GetName(self)
None.
Return Value
Notes
GetDescription [IronPython]
Purpose
Return a string containing the description of the plugin extension. This string is used to identify
the scheduler plugin extension in logs or program output.
Signature
GetDescription(self)
None.
Return Value
Notes
IsProductLaunchedInYourEnvironment [IronPython]
Purpose
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Determine if the program is running in the context of the scheduler for which this program was
written.
Signature
IsProductLaunchedInYourEnvironment(self)
None.
Return Value
Returns True if the current process is running as a job of the scheduler. Otherwise, False is
returned.
Notes
For many schedulers, the presence of certain environment variables or their values may be
checked to determine if the current process is running as a job of the scheduler.
GetSchedulerDisplayName [IronPython]
Purpose
Get a string identifying the scheduler associated with the current plugin extension. This string is
used to identify the scheduler.
Signature
GetSchedulerDisplayName(self)
None.
Return Value
Returns a string containing the description of the scheduler for which this plugin extension was
written.
Notes
GetThisJobID [IronPython]
Purpose
Get a string identifying the job currently running in the scheduler environment. This string is
displayed to the end user to identify the job.
Signature
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
GetThisJobID(self)
None.
Return Value
Notes
For many schedulers, the job ID may be obtained from the value of an environment variable.
GetUseRsmForEngineLaunch [IronPython]
Purpose
For some schedulers, it may be desirable for the AnsoftRSM program to launch the engine
processes instead of using the scheduler plugin extension directly. For example, if the plugin
extension is limited to launching one process per host, then the plugin extension may be used to
launch one AnsoftRSM executable per host, and the AnsoftRSM executable will launch all of
the engine processes.
If AnsoftRSM should be used to launch engine processes for this scheduler, then this function
shall return True.
If AnsoftRSM should not be used to launch engine processes for this scheduler, then this
function shall return False.
Signature
GetUseRsmForEngineLaunch(self)
None.
Return Value
Returns True if AnsoftRSM should be used to launch engine processes for this scheduler.
Returns False if the plugin extension should be used to directly launch engine processes for this
scheduler.
Notes
If this function returns True, then the plugin extension will directly launch only one process on each
host.
GetTempDirectory [IronPython]
Purpose
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Get the pathname of the temporary directory provided by the scheduler for the current job. The
pathname is an empty string if the scheduler does not provide a temporary directory for the
current job.
Signature
GetTempDirectory(self)
None.
Return Value
Returns a string containing the pathname of the temporary directory provided by the scheduler
for the current job. Returns an empty string if no temporary directory is provided by the
scheduler for the current job.
Notes
If the return value is an empty string, then the temporary directory specified on the command line or
in the registry will be used.
GetMessageStringToRegisterForSigTerm [IronPython]
Purpose
Signature
GetMessageStringToRegisterForSigTerm(self)
None.
Return Value
Notes
GetMachineListAvailableForDistribution [IronPython]
Purpose
Get the names of the hosts allocated to the current job. A host name will appear in the output
string multiple times if the scheduler has allocated multiple processors or cores on the host to
the job. The number of times the host name appears in the string is equal to the number of
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
processors or cores of the host that are allocated to the current job. The output is a text string
containing the host names separated by space characters.
Signature
GetMachineListAvailableForDistribution(self)
None.
Return Value
A string containing the names of the hosts allocated to the job, separated by space characterss.
The number of times the host appears in the string is equal to the number of processors or cores
of the host that are allocated to the current job.
Notes
The hostnames in the string provided by this function shall be used in calls to LaunchProcess().
The host names must be in a format that is accepted by that function. See the section below on
LaunchProcess.
LaunchProcess [IronPython]
Purpose
Launch a local or remote process to run an analysis engine. This function is called by the
ANSYS Electromagnetics desktop application to launch an engine process on a specified host.
The hostname is one of the names provided by the GetMachineListAvailableForDistribution
function. See the GetMachineListAvailableForDistribution section above. If the hostname does
not refer to the local host, then this function shall use the scheduler to launch the engine on the
specified host. If the hostname refers to the local host, then the engine may be started as a child
process, or it may be started using the scheduler.
Signature
LaunchProcess(self, hostName, exePathName, arg1, arg2)
Return Value
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Notes
The hostName argument will be one of the hostnames provided by the function
GetMachineListAvailableForDistribution().
If the hostName argument is the same as the current host, then the analysis engine process may
be started as a child process. If the hostName argument is not the same as the current host, then
the analysis engine process will be started on the remote host using the facilities available in the
scheduler environment. The command line of the analysis engine process is exePathName arg1
arg2. The command line arguments arg1 and arg2 may contain spaces or other characters that are
interpreted by the command processor, such as backslash (\), single quote (') or double quote (")
characters, or dollar signs ($). If the analysis engine command is processed by a shell, then it may
be necessary to quote any special characters in the exePathName or in the arguments so that the
special meaning is removed. If a scheduler command is used to request the scheduler to launch the
command to start the engine process, and that command is processed by a command shell, then
the analysis engine command may be processed by the shell twice: once when the scheduler
command is processed, and a second time when the analysis engine process is started. If this is
the case, then the quoting of special characters needs to account for two passes through the
command processor.
The command line arguments arg1 and arg2 may be empty strings. These arguments must be
preserved, even if they are empty strings. In some versions of the IronPython subprocess module,
empty argument strings are discarded, resulting in an incorrect number of command line
arguments. A workaround for this issue is to replace an empty string argument by a string
consisting of a single space character.
RSM is in general required if you want to run remote or distributed simulations. However, if you
have a separate scheduling system that ANSYS Electromagnetics supports, and you plan to run
batchsolve simulations only, then you may not need to install RSM. For details of installation and
configuration of RSM, see the ANSYS Electromagnetics Installation Guides.
You can use the Job Management UI to submit batch jobs to RSM. The Job Management UI is
accessed by running ANSYS Electromagnetics product Desktop on the designated
'Postprocessing node' of the cluster. The Desktop provides UI commands for Scheduler selection,
Job submission and Job monitoring/control. You access the Scheduler User Interface by clicking
Tools>Job Management>Select Scheduler...
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Click Select Scheduler to display the selection dialog. A drop down lists potential schedulers,
(which can include RSM, lsf, Windows HPC, or sge, depending on the environment).
If you select a scheduler that is not supported in your environment, you receive a warning
message.
If your environment has been configured for Windows to Linux submission, you can select Use a
computer on the network.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
If you select the radio button “Use a computer on the network,” then you may enter a username
and password. This username and password are used when the job is submitted to the Linux
scheduler. See Windows to Linux Job Submission.
After selecting a scheduler, you can click Refresh to display information for that scheduler.
Once you have selected a scheduler supported in your environment, you can go through the
following steps to submit a batch job.
l Analysis Specification--specify the Product path, Project name, the setups, and
analysis options such as batchoptions, or, for advanced users, Environment variables. If
you select the Analysis or Optimetrics setup, the Analysis Specification is pre-populated.
l The Compute Resources tab specifies the amount of compute resources and how to
select specific resources from the available pool, and automatic settings, if supported by
the design types.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
5. Use the ellipsis button [...] to open a browser to select the project. The Project can be an
archive.
6. In the Analysis setups field, you can select radio buttons for All setups in the project, All
setups in the design, or a single setup. For instance, the OptimTee example includes setups
for Nominal, Parametric, and Optimization. If you select Submit Job from the right click
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
menus for the Setup or Optimetrics Setup, this field can be pre-populated.
For Parametric setups, you have the option to select Use Large Scale DSO. For details on how
and when you use this feature, see Job Management Interface for Large Scale DSO.
7. The Analysis options include check boxes for Monitoring the job, whether to wait for a
license, and a field for adding Batchoptions. via a graphical interface, or as text.
l If you intend to monitor the job through a user interface, you must check Monitor job. You
can then monitor this job through the Tools>Job Management>Monitor Jobs...
command or by checking the dialog that opens when you submit the job.
l The Batchoptions field allows you to add additional -batchoptions parameters, either as
text, or by using a dialog with selection menus. Click the Add button to view the Add
Batchoption dialog.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The Show registry key entries field lets you filter the entries displayed, by means of drop
down menu selection, and a check box to Display only frequently used entries.
l When you have selected a batchoption, you can type the value in the field, and click the
Add button to add the option to the batchcommand.
l In the Submit Job To: dialog, you can enable Show advanced options to display
additional fields for Environment variables, and whether to Use batch extract.
The Environment field is for environment variables, for instance, for debugging features or other
variable controlled features. Click the ellipsis [...] button to open a dialog for Additional Job
Options.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The Add... button opens a New Environment Variable dialog in which you can include a
variable name and value.
Clicking the Add Debug Environment Variables button automatically adds a set of debug
variables. This can be useful in working with ANSYS Application Engineering support.
Selecting a variable in the dialog enables the Remove and Edit buttons. The Edit button opens a
dialog where you can change the variable and value.
8. To see the command-line to be submitted to the scheduler, click Preview Submission. This
opens a dialog showing the command to be sent to the scheduler.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Selecting Show advanced options for RSM also show the Use batch extract fields.
See the discussion on Running ANSYS Electronics Desktop from a Command line for a discussion
of the solve information available through batch extract.
9. The Compute Resources tab of the Submit Job to: RSM dialog displays other
parameters. Depending on the resources available for a scheduler environment, some of the
fields may be disabled.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
With Use automatic settings selected, the Job distribution field is removed and the Use automatic
settings checkbox and Num variations to distribute field appears.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note If you select Use automatic settings with Num variations to distribute set to 1, Optimetrics
variations will be solved sequentially. Other distribution types will be distributed
automatically. It does distribute frequencies, domains, and use of multiple level domains. If
you set Num variations to distribute to 2 or more, Optimetrics variations will be solved in
parallel. Other distribution types will be distributed automatically.
Otherwise:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Here you can specify a node list. In a computing environment where the available cores are not
uniform, you can use this to control which resources your job will use. For use with Large Scale
DSO for RSM, for jobs that are submitted from job submission panel, localhost must be the first
node in the resource selection node list, other wise LSDSO solve with RSM will fail.
Job Distribution
If you disable User automatic selection, you can modify the Job distribution settings.
l Two level distribution, which may be disabled. Click the Modify button to display the Job
Distribution dialog.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Second level distribution operates within DSO. If available and enabled you can specify a
number of engines for level 1.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
In response to a set of minimal constraints, the Scheduler may increase the resources assigned
beyond the minimal values in order to meet the full set of requirements. For example, if you
specify 7 distributed engines, with two processors per engine, and also limit the number of
engines per node to 4, the scheduler may increase the number of cores used in order to meet
the limit specified for engines per node. Notice that a preview of the Submit Job Results shows
the number of resources assigned, and that the scheduler generated code includes an MPI
specification.
1. To submit the command with the specified parameters, click Submit Job.
Note The RSM environment does not support for queuing, so 'Submit Job' will
immediately start running the job.
A dialog displays in which you can check "Begin monitoring this job now."
2. You can monitor this job either automatically (by checking the option) or through the
Tools>Job Management>Monitor Jobs... command. For more details, see Monitor Jobs
window.
To change the listening port used by the AnsoftRSMService, you need to change the configuration
file, ansoftrsmservice.cfg, as follows:
You must specify the ListenPort within a 'CommDetails' block, which must be within a
'Default:CommDetails' block, which must be within the top level block of the file, the
'AnsoftCOMDaemon' block. The following example shows the listen port changed from 32958 to
32957, with these blocks at the beginning of the file:
$begin 'AnsoftCOMDaemon'
$begin 'Default:CommDetails'
$begin 'CommDetails'
ListenPort='32957'
$end 'CommDetails'
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
$end 'Default:CommDetails'
. . . .
$end 'AnsoftCOMDaemon'
For the second level block, ensure that there is a single colon character and no spaces or tabs
separating the two parts of the block name 'Default:CommDetails'. The third level block, with name
'CommDetails' is also required. Use caution when editing this file by hand, because any typos in
the block or value names may cause the data to be ignored.
For further automation, you can use the SelectScheduler scripting command to determine what
scheduler to use for submission, to include options for head node, username, and whether to
require password entry from the user. (If the username differs from the cached username, or the
force password flag is set, then the Select Scheduler dialog box appears.) If there are any issues
with the scheduler selection (for example, a password is required or the requested host wasn’t
found), then the Select Scheduler dialog box appears. This is the only part of job submission
scripting that may required user intervention. This same mechanism is used if, from within the
SubmitJob command, there is failure to connect to the scheduler. Even though there are
allowances for graphical user intervention if something goes wrong, if the password (if required) is
cached and all settings are correct, the entire submission process can run non-graphically and fully
automated.
Limitations
All settings besides the arguments passed to the SubmitJob command must be stored in the .areg
file containing settings exported from the Submit Job dialog box. These include (but aren’t limited
to) batch options, environment variables, batch extract settings, and compute resource selections.
To run many job submission scripts with variation of these settings, there must be multiple .areg
files available.
Note that the same project can be submitted multiple times with a single script. Care must be taken
in this situation because each time a project is submitted, the state-keeping files used for
monitoring are removed so that the job can create them from scratch to ensure consistency. While
this ensures proper monitoring for a job that is just being submitted, it could interfere with
monitoring (or even correct solving if a lock file is deleted) of a job that is already in progress.
Because of this, if the same project is to be re-submitted from within a single script, the job should
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
be monitored (waiting for completion) before trying to submit it again. This monitoring/waiting can
be done with a combination of a single LaunchJobMonitor command followed by a loop that
checks the result of a RefreshJobMonitor command.
1. Manually select the scheduler. Use the Select Scheduler dialog box to open the Submit
Job dialog box.
2. Choose a representative project (with the desired design type), and select appropriate
analysis settings.
3. Make the required compute resource selections and try to preview the job.
4. If preview is successful, export the dialog settings and record the path to the new .areg file.
5. Create a script containing at a minimum a SubmitJob command with the path to the .areg
file, and the path to the project file. Note that there must be double backslashes for each
backslash of a path, since the backslash is an escape character. When the script is run, and
all is successful, there should be a message in the message windows stating that the job was
submitted, including the job ID(s). There could be multiple job IDs if multi-step submission is
used.
See the Scripting help (click Help>HFSS Scripting Help) for details on the SelectScheduler,
SubmitJob, LaunchJobMonitor and RefreshJobMonitor commands.
Related Topics
For all jobs submitted to a Linux cluster, the project file is required to be in a directory that is
accessible from all execution hosts used by the job. For submission of jobs from a Windows host to
a Linux cluster, the project file must also be accessible from the Windows host where the GUI runs.
There must be a directory shared with both Windows and Linux hosts, and the project file may be in
a subdirectory (at any level) of the shared directory.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The job is submitted to the cluster from a Linux host configured for submission of jobs to the Linux
cluster. We call this Linux host the “Job Management” host. The information about the job to be
submitted is transmitted to the Job Management host over the network. As a result, the Windows
host where the GUI runs must have network access to the Job Management host. If this
communication is blocked, then job submission from a Windows host to the Linux cluster will not be
possible. Communication could be blocked if there is a firewall or if the Linux cluster is only on a
private network, for example.
The ansoftrsmservice must be running on the Linux Job Management host. Before the
ansoftrsmservice is started, it must be configured for submission of jobs to the cluster. The
SchedulerName and ConfigString fields in the Scheduler block of the ansoftrsmservice.cfg
configuration file must be specified. The contents of these fields are described in the table below:
The environment should be configured for job submission before starting the ansoftrsmservice.
The ansoftrsmservice should be run as a non-privileged user; no special privileges are required. It
should be run as a user without login privileges, so that only privileged users have access to this
process.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
running on the Linux cluster execution hosts. If this communication is blocked, then only limited
monitoring information is available.
Supported Schedulers
This feature may be used with all Linux schedulers for which job submission from the GUI is
supported:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
You must enter the Windows path of the project file in the Product path edit control or use the
browse button (labeled “...”) to select the Windows path of the project file. If the Linux path of the
project file can be determined from the specified Windows path and the directories shared between
Windows and Linux, then the Linux path of the project file is shown in the Linux project path edit
control. This edit control cannot be edited directly.
The Options button activates a dialog that you can use to specify archive options for a job. The
lower portion of this dialog allows you to specify one or more directories shared between Windows
and Linux. The mapping of directories between Windows and Linux is shown in a grid which
displays the Windows path and the Linux path for each shared directory. There are also buttons to
add a new shared directory, to edit an existing shared directory, or to delete one or more shared
directories. The Windows path or the Linux path of any shared directory may be selected in the grid
and directly edited, as well.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
If you specify a project in an archive, the dialog activated by the Options button may be used to
specify the Windows pathname of the project to be extracted from the archive. If this is done, the
Linux pathname of the target project is determined from the directories shared between Windows
and Linux and shown in the upper portion of this dialog.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
If you specify a batchextract script, the Linux path of the batchextract script is determined from the
Windows path of the batchextract script and the directories shared between Windows and Linux.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
is submitted from a Windows host using the ansoftrsmservice running on a Linux submission host,
the user credentials are sent over the network in an encrypted format.
Related Topics
Limitations
Multi-step job submission is only allowed for a single setup of a project. Only certain design types
(or setup types for a given design type) offer this functionality. RSM (i.e. Ansoft RSM) does not
support multi-step jobs because it does not have queuing capabilities.
From an open project, right-click a setup in the project tree, and select Submit Job... on the menu.
This pre-populates the Submit Job dialog Analysis Specification tab for the selected setup.
Select the Compute Resources tab. If the designsetup and selected scheduler allow for, and
your computing resource supports multi-step submission, the Compute Resources tab shows
the Use Multi-Step... submission button and checkbox as enabled.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
If the Multi-Step button and checkbox are not enabled it could be because you have not selected a
single setup, the design type of the setup does not support Multi-Step, or the scheduler type (e.g.
RSM) does not support it.
On the Compute Resources tab, check the “Use multi-step submission” box and select the
appropriate submission option, that is:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Then click the Multi-Step… button, which will bring up a “Compute Resources for Multi-Step Jobs”
dialog where there is a tab for each step used, that is for potential for Mesh, Adaptive and Sweeps.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Notice, for example, that the Sweeps tab lists the same resources choices but they can be
assigned differently.
Set the desired compute resources for each step and click OK.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The Summary field of the Compute Resources tab shows a text summary of resource
specifications used for each step.
If desired, set the job name on the Scheduler Options tab. When the jobs are submitted, each will
have a name given by job name (if any) appended with the name of the step for the job. For
example, if the job name entered is “MultiStep”, then the individual jobs might be named
“MultiStep-Adaptive” and “MultiStep-Sweeps”.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
There is a new “Fix job name as necessary” checkbox for the job name. This applies only to certain
schedulers where there are constraints on the job name. It is useful to ensure proper submission in
the case where appending the step name results in an invalid job name.
When you click the Preview Submission button, you see a preview for each step, all in the same
output window. Any errors or warnings for a step, generated during preview validation, are
displayed with the text for the preview of that step.
When you click the Submit Job button, each job is submitted individually, and dependencies are
set with the scheduler so that subsequent jobs wait for the prior step’s job to complete before
starting. Any errors in job submission for any step prevent further steps from being submitted.
The dialog reporting successful submission has been modified slightly for multi-step jobs. It will
show the jobs IDs of all jobs that are part of the multi-step job sequence.
You can monitor the job step in progress. When one job completes, the status shows “Completed”,
but monitoring restarts once the next job step is running.
You can also abort the job step in progress. With multi-step jobs submitted from the Electronics
Desktop GUI, this will also cause remaining jobs (which would otherwise remain queued in the
scheduler) to be canceled.
Note that you can submit archive projects. Monitoring is based on the archive for the first step, then
on the extracted project for subsequent steps.
You can also submit a job without opening the project. This can be done by choosing Tools > Job
Management > Submit Job… and then manually entering the project path. (You can also use
the Browse button can to select the project.) Note that you must also select a single nominal setup
before the “Use multi-step submission” checkbox is enabled on the Compute Resources tab.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
You can select the job to monitor by using the pull-down menu of recently submitted jobs. The job
can be an archive.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The Monitor Job dialog contains fields reporting the job status, job ID, messages, and progress.
With the Show analysis check box enabled (the default), you will see the Profile and
Convergence tabs, similar to the Solution Data dialog.
You can filter the messages for Errors, Warnings, and Info.
By option you refresh the job output manually or automatically at specified intervals.
By clicking on the right arrow menu by the progress bars, you can perform a Clean Stop of the job.
You can also perform Abort Job.
l Supported schedulers
l Running the diagnostics job
l Standard diagnostic job
l Using diagnostics scripts on Linux clusters
l Using Windows HPC job file
l Diagnostic report
l Site-specific diagnostics job
l Environment variables
l ANSYSEM_DIAG_PROD_DIR contents
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l ANSYSEM_DIAG_RESULTS_DIR contents
l How does the diagnostic tool work
Supported schedulers
The tool supports diagnosis of issues on Linux and windows clusters managed by the following
schedulers:
l LSF
l SGE
l PBS/Torque
l Windows HPC
For the above schedulers (see High Performance Computing (HPC) Integration), the tool includes
basic diagnostic scripts. Further, if password-ssh has been enabled, it also supports generic Linux
clusters using ssh. Please note that currently diagnostics tool does not support PBSPro and
LSF/Windows.
The diagnostics are run as a scheduler managed job. Once the job finishes, you locate the resulting
HTML file and provide it to the cluster administrator or to ANSYS support staff. In case, there are
any job or test failures, please also provide the networking*.json files from the Hosts subdirectory
as well.
To run the basic diagnostics, submit a diagnostic job to the scheduler using a provided job
submission script. Each basic diagnostic job is a 12 core job with 4 cores per host. On Linux,
running this script submits a scheduler job to run the diagnostic tool on the cluster. On Windows,
you need to submit a job using a job file.
Basic scripts for each supported scheduler are available in diagnostics subdirectory of schedulers
directory.
Linux:
.../Linux64/schedulers/diagnostics
Windows:
.../Win64/schedulers/diagnostics.
The following basic scripts are provided in the diagnostics directory i.e.
.../Linux64/schedulers/diagnostics.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Basic job
Scheduler submission Comment
script
LSF test_lsf Supports both lsrun and blaunch
SGE test_sge Supports both qrsh and rsh
PBS/Torque test_torque Requires changing the PATH and PBS_BINARY_PATH
environment variable
Generic test_ssh Supports only ssh. Requires password-less ssh. Requires creating
Linux cluster a file with the names of hosts and saving it in ${HOME}/ansysem_
hostfile
To submit this diagnostic job, you must change the job description to suite your environment as
following:
1. Select a directory for saving the diagnostic results. This directory must be accessible at the
same path from all the hosts of the cluster.
2. Locate the directory for ANSYS EM installation. This directory also must be accessible at the
same path from all the hosts of the cluster.
3. Locate the winhpctest.xml in the diagnostics subdirectory of schedulers directory in ANSYS
EM installation.
4. Start Windows HPC job manager, and choose "New job from XML File…" action.
5. Select the winhpctest.xml job file.
6. Change the value of both the following environment variable with the directories located in
the first two steps:
ANSYSEM_DIAG_PROD_DIR
ANSYSEM_DIAG_RESULTS_DIR
Note After making the above changes, you can also save the resulting XML file using "Submit
Job XML File…". Then you can submit the job using the job command as following:
Diagnostic report
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The diagnostic report is an HTML file which (along with other related diagnostics results) is placed
in the following directory
Linux:
${HOME}/Ansoft/HPCDiag/Results/JOBID
Windows:
%ANSYSEM_DIAG_DIR%\Results\JOBID
Report file:
.../HTML/report.html
where JOBID is the job ID assigned by the scheduler. On Windows, the user must specify
ANSSEM_DIAG_DIR directory.
To run a diagnostic job with job submission parameters of your choice, you need to create your
own job submission script. For example, you may want to specify a different LSF queue, or select a
different SGE parallel environment. To run such a job, you need to create your own job submission
script starting from the basic diagnostic scripts with the following steps:
1. Locate the relevant basic diagnostic script in the diagnostics subdirectory of schedulers
directory in ANSYS EM installation.
2. Make a copy of the diagnostics script into a directory that is accessible from a submit host for
the cluster.
3. Edit the script file to change the value of ANSYSEM_DIAG_PROD_DIR environment
variable to point it to the installation directory (See below).
4. Modify the job submission parameters as needed.
5. Optionally, copy any site-specific diagnostic tests provided by ANSYS support staff in the
../Custom directory of ANSYSEM_DIAG_RESULTS_DIR directory.
6. Run the diagnostics script from a submit host for the cluster
Environment variables
The following environment variables are applicable for both Linux and Windows environment.
ANSYSEM_DIAG_PROD_DIR
Environment
ANSYSEM_DIAG_PROD_DIR
variable
Description Location of the ANSYS EM installation. This must be available at the same
path from all the hosts of the cluster.
Windows \\filer\AnsyEM\AnsysEM19.0\Win64
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Environment
ANSYSEM_DIAG_PROD_DIR
variable
example
Linux example /shared/ansysem/AnsysEM19.0/Linux64
Comments Windows: Required.
Linux: Optional. Export this environment variable if you make a copy of the
diagnostic script.
ANSYSEM_DIAG_RESULTS_DIR
Environment
ANSYSEM_DIAG_RESULTS_DIR
variable
Description Location of the diagnostic report and other results on a shared drive. This must be
available at the same path from all the hosts of the cluster
Example \\filer\Home\User\Ansoft\HPCDiag
Linux /shared/home/user/Ansoft/HPCDiag
example
Comments Windows: Required.
Linux: Optional. Export this environment variable if the home directory for the user
is not accessible from the cluster.
ANSYSEM_DIAG_CUSTOM_DIR
Environment
ANSYSEM_DIAG_CUSTOM_DIR
variable
Description Location of the configuration of product tests and other custom site-specific tests.
This location must be on a shared drive that is available at the same path from all
the hosts of the cluster
Example \\filer\Home\User\Ansoft\HPCDiag\Custom
Linux /shared/home/user/Ansoft/HPCDiag/Custom
example
Comments Windows: Optional. You may want to specify it if the path %ANSYSEM_DIAG_
RESULTS_DIR%\..\Custom is not suitable
Linux: Optional. Export this environment variable if the home directory for the user
is not accessible from the cluster.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The diagnostics are run as a scheduler managed job. Running the diagnostic script submits a
scheduler job that runs the diagnostic tool on the hosts allocated to the job. Once the diagnostic job
starts, the tool executes a set of diagnostic tests. These tests run on each host allocated to the job,
and collect diagnostic information relevant for running HPC jobs. The tool combines the diagnostic
information to produce an HTML report. The tool saves HTML diagnostic report and other results in
a shared drive, which must be available at the same path from all the hosts of the cluster. On Linux,
the default is Ansoft/HPCDiag subdirectory under user's home directory. On Windows, the user
must specify this location using ANSYSEM_DIAG_RESULTS_DIR environment variable.
Related Topics
Note The Windows Task Manager does not indicate a reduced priority for the ANSYS
Electronics Desktop solvers. It only lists the priority of the engine manager, which appears
normal, not the actual engine. The actual engine is in a separate thread, whose priority is
not visible in the Windows Task Manager.
1. While a solution is running, right-click the Progress window, and click Change Priority on
the shortcut menu.
l To affect priority for future simulation runs, click the Tools>Options>HPC and Analysis
dialog box, and click the Options tab.
2. From the Change Priority menu (or the Default Process Priority pull-down menu),
select one of the following priorities:
Lowest Priority
Below Normal
Normal The default.
Above Normal
Highest
3. Click OK.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Aborting an Analysis
To end the solution process before it is complete:
The data for the currently solving pass or frequency point is deleted. All previously solved solutions
are retained. For example, if you abort between the third and fourth adaptive pass, the solutions for
the third pass will be available, and any solutions for the fourth pass are discarded.
To abort the solution process after the current adaptive pass or solved frequency point is complete:
l Right-click the Progress window, and click CleanStop on the shortcut menu.
The solver ends the analysis after the next solved pass or frequency point.
If you request a clean stop during the third adaptive pass, the solution for the third pass will be
available once the third pass has finished solving, but the fourth pass will not run.
If you have an ANSYS EM application running as an LSF job, you can use the command "bkill -s
SIGTERM jobid" to terminate that application. Here jobid is the LSF job id. The response will be
"Job <jobid> is being signaled". The response is the same whether the job is actually being
signaled or not.
In cases where the SIGTERM parameter is ignored, the command kills the LSF job, but does not
clean the lock files, and other files may not be in a consistent state. See http://www.vital-
it.ch/support/LSF/programmer/advanced.html for a detailed description under Signal Handling in
Windows.
Unix/Linux
For UNIX/Linux, you can use TERM commands. Sigterm handling for Unix is done in Desktop
library. You can abort a running batchsolve on Unix by sending a TERM signal to hfss.exe
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
To abort a job, run it on a host which has network access to the first execution host of the job, as
well as has access to the directory of the project file. This utility does not abort Large scale DSO
jobs for which you need to use desktopjob utility itself.
Usage:
desktopproxy -abort <projectpath>
-cleanstop <projectpath>
The behavior (for e.g. saving the results computed so far) should be same as if you interactively
aborted AnsysEDT solve. if AnsysEDT is 'busy' (for e.g. doing Optimetrics calculation or computing
a report), abort (using desktopproxy) might take a long time.
The utility exits silently after it requests ansysedt process to abort the job cleanly. After the job ends,
the batch log file may contain a message such as:
[error] Project:TestProject, Design:HFSSDesign1 (DrivenModal),
Simulation was aborted by user on server: sjohpc-lsf-0.ansys.com.
(3:52:30 PM Oct 11, 2013)
Example (Linux):
desktopproxy -abort /home/user/test/Diff_Via.aedt
Example (Windows):
desktopproxy -abort \\server\share\projectfolder\Diff_Via.aedt
Limitations:
l Aborting a job makes a best effort to delete all the temp directories on all the hosts
l For a hung job, a clean shutdown may not be possible. In that case, the user must use
OS/scheduler's facilities to kill the job.
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
You can instruct the solvers to reduce the maximum size of tetrahedral elements on a surface or
within a volume until they are below a certain value (length-based mesh refinement) or you can
instruct solvers to refine the surface triangle length of all tetrahedral elements on a surface or
volume to within a specified value (skin depth-based mesh refinement). These types of mesh
operations are performed on the current mesh, that is, the most recently generated mesh.
In a few circumstances, you may also want to create a mesh operation that modifies a solver's
surface approximation settings for one or more faces. Surface approximation settings are only
applied to the initial mesh, that is, the mesh that is generated the first time a design variation is
solved.
You can also specify Initial Mesh Settings to apply to all objects; however, if you apply separate
surface approximation mesh operations to specific objects, the object settings take precedence
over the general setting.
You can also choose to override automatic choice of which mesher a proudct uses, by using the
[solverName]>Mesh Operations>Initial Mesh Settings command.
See the technical notes for more details about ANSYS Electronics Desktop's application of mesh
operations.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Related Topics
Meshing in HFSS
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
When you set a mesh operation on a selection of objects (more than one) and set a maximum
length, it applies to the whole mesh. Even if you selected just one object, when you refine its
boundary, elements are added both inside and outside of that object.
When there are no more elements to refine or when no more elements can be added, the
refinement process stops because it has either met the growth limit or the element length target.
However, there are more quality improvement swaps, smoothing, matching boundary issues
performed at the finishing stage that might slightly alter the mesh size.
If you restrict the number of elements to say 10000, it will add 10000 elements. If you have multiple
mesh operations each for 10000 elements, each mesh operation will add 10000 elements
(assuming there was no element length targets).
If you set a restriction of say 2000 elements on an object which creates 1100 elements after lambda
refinement without any mesh operation, the starting mesh will contain more than 3000 elements.
Alternatively, select an object if you want to refine every face on the object.
3. Type a name for the mesh operation in the Name text box or accept the default name.
4. To restrict the length of tetrahedra edges touching the faces:
The solver will refine the element edges touching the selected faces until their lengths
are equal to or less than this value.
The default value is set to 20% of the maximum edge lengths of the bounding boxes of
each selected face.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
For first order basis functions, a maximum length of is recommended for radiation
boundary surfaces.
When the mesh is generated, the refinement criterion you specified is used. If the maximum
number of elements is reached, some elements may exceed the requested maximum element
length.
You can also specify Initial Mesh Settings to apply to all objects; however, if you apply separate
surface approximation mesh operations to specific objects, the object settings take precedence
over the general setting.
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
3. Type a name for the mesh operation in the Name text box or accept the default name.
4. To restrict the length of the tetrahedral element edges inside the object:
a. Select Restrict Length of Elements.
b. Type the maximum length of the edges inside the object in the Maximum Length of
Elements text box.
The default value is set to 20% of the maximum edge lengths of the bounding boxes of
each selected object's faces.
The solver will refine the element edges inside the object until they are equal to or less
than this value.
5. To restrict the number of elements added during the refinement inside the object:
a. Select Restrict the Number of Elements.
b. Enter the Maximum Number of Elements to be added.
c. Click OK.
When the mesh is generated, the refinement criterion you specified will be used. If the maximum
number of elements are reached, it may result in some elements exceeding the requested
maximum element length.
You can also specify Initial Mesh Settings to apply to all objects; however, if you apply separate
surface approximation mesh operations to specific objects, the object settings take precedence
over the general setting.
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note It is possible to select a body and convert it to selecting all faces of the body. The user
can use this method to select all faces and toggle a few faces out of selection.
Selecting the whole body might select very large regions for refinement and increase
the element count a lot.
3. Type a name for the mesh operation in the Name text box or accept the default name.
4. Type the skin depth within which to refine the mesh in the Skin Depth text box.
Alternatively, calculate the skin depth based on the object's material permeability and
conductivity and the frequency at which the mesh will be refined:
The solver calculates the skin depth and enters its value in the Skin Depth text box.
5. In the Number of Layers of Elements text box, type the number of layers to add
perpendicular to the object's surface.
The solver will add an equivalent number of mesh points to each layer. For example, if HFSS
added 10 points to satisfy the Surface Triangle Length, it will add 10 points to each layer.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
6. Type the maximum edge length of the surface mesh in the Surface Triangle Length text
box.
The default value is set to 20% of the maximum edge lengths of the bounding boxes of each
selected face.
The solver will refine the surface triangle mesh (the faces of the tetrahedra touching the
surface) until their edge lengths are less than or equal to the specified value.
When the mesh is generated, the refinement criteria you specified will be used. This operation will
be approximately the same as having slabs of tetrahedra, but it is not guaranteed to prevent
tetrahedra from crossing slab interfaces. Caution should be used with this mesh operation, as very
thin layers may cause a reduction in mesh quality or unnecessarily cause the generation of a very
large mesh. Further regions refined under this operation and its close neighbors do not participate
in solution adaptive refinement. This is another reason to use this seeding operation with caution.
You can also specify Initial Mesh Settings to apply to all objects; however, if you apply separate
surface approximation mesh operations to specific objects, the object settings take precedence
over the general setting.
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
1. Select the faces for which you want to modify the surface approximation settings.
Alternatively, select an object if you want to modify the surface approximation settings of every
face on the object.
The Surface Approximation dialog box appears with the Surface Approximation tab
select.
3. Type a name for the group of settings in the Name text box or accept the default name.
4. Under Curved Surface Meshing, you can select Use Slider or specify Manual Settings.
The slider includes a visual representation of the resolution you choose as ranging from
Coarse resolution with a Small Mesh Size through a nine position scale to a fine resolution
with a Large Mesh Size.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
For example moving the slider to the left changes the figure as follows:
5. If you choose Manual Settings, the dialog box changes to show text fields.
6. Under Surface Deviation, select surface deviation (length), and then type the distance
between the true surfaces of the selected faces and the meshed faces in the text box.
7. Under Normal Deviation, select normal deviation (angle), and then type the angular
distance between the normal of the true surface and the corresponding mesh surface in the
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
text box.
8. Under Aspect Ratio, select Set aspect ratio, and then type a value in the text box. This
value determines the shape of the triangles. The higher the value, the thinner the triangles.
Values close to 1 will result in well-formed, wide triangles.
9. To make your choice the default, use the Save as default check box.
10. Click OK.
The settings will be applied to the initial mesh generated on the selected surface. The group of
settings is listed in the project tree under Mesh Operations.
You can also specify Initial Mesh Settings to apply to all objects. However, if you apply separate
surface approximation mesh operations to specific objects, the object settings take precedence
over the general setting.
Related Topics
1. Select the object or face to which you want to apply curvilinear elements.
2. Select Mesh Operations in the Project Tree, and right-click for the short cut menu and select
Assign>Apply Curvilinear Elements.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
3. You can accept the default name or provide one of your own.
4. Check the box and click OK to apply a mesh operation.
Related Topics
Important! Use this mesh operation with caution. Use this option only if the model has tiny
elements or critical boundary conditions since the solver performs several additional strict mesh
verification steps on the selected objects. For a discussion, see Surface Representation Priority for
Tau Mesh.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
While removing small details, if the meshmaker finds that the representation of the model is not
accurate enough, it returns an error condition. The meshmaker then starts with the most accurate
representation and prunes away the details smaller than the model resolution length. It returns an
error if the specified model resolution length forces the final representation to deviate too greatly
from the model.You can set Model Resolution on one or more objects to remove unnecessary
details from the mesh representation. This can be used to reduce the mesh complexity of the
selected objects.
A cautionary note is needed concerning the use of model resolution. It can sometimes make model
faces fail to be represented in the mesh, which can effectively remove some of your boundary
conditions. This can only happen if faces are closer together than the model resolution distance you
specify.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The Model Resolution Mesh Operation dialog contains text fields for the mesh operation
Name and radio buttons with choices for the following
The mesher calculates the resolution length based on each object's effective thickness. One
mesh operation can be assigned to many objects, and each will be simplified based on its
own dimensions. Use the Auto Simplify selection:
l To remove many details while retaining an object's overall shape and size.
l For objects of generally uniform thickness.
l To assign one mesh operation to many objects.
l Use Model Resolution length
This enables fields for you to specify the resolution value and units. Use this selection for:
This adds the named Model Resolution operation under the Mesh Operations icon in the
Project Tree.
When two objects in contact have different model resolution lengths, the smaller length will
apply for the common regions.
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
If you have modified the design setup, and do not want to use the existing current mesh, revert to
the initial mesh prior to solving.
Reverting to the initial mesh is useful when you want to evaluate how a different solution frequency
affects the mesh generated during an adaptive analysis. You lose all solution data for a solve setup
and all of its sweeps when you revert to the initial mesh for that setup. You can do this for all solve
setups at once by selecting the command through Analysis in the menu system or project tree, or
for a specific solve setup via its right mouse click menu in the project tree.
Related Topics
The same solve machine rules that apply to solving any other setup also apply here. The mesh
operation will be sent to the default solve machine, or the Server Setup dialog may appear to
allow you to interactively specify a solve machine if "Prompt for analysis machine when launching
analysis" is selected under Tools>Options>General Options>Analysis Options tab.
l If a current mesh has been generated, the solver will refine it using the defined mesh
operations.
l If a current mesh has not been generated, the solver will apply the mesh operations to the
initial mesh.
l If an initial mesh has not been generated, the solver will generate it and apply the mesh
operations to the initial mesh.
l If the defined mesh operations have been applied to the selected face or object, the current
mesh will not be altered.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Hint Define a new mesh operation rather than modify an existing mesh operation. the
solver will not re-apply a modified mesh operation.
Applying mesh operations without solving enables you to experiment with mesh refinement in
specific problem regions without losing design solutions. You cannot undo the applied mesh
operations, but you can discard them by closing the project without saving them, or by reverting to
the initial mesh.
Related Topics
Remote Analysis
For most designs, you can let the solver automatically choose which of two meshing approaches to
take. Each solver predicts which one gives the best results, balancing mesh reliability, speed,
quality, size and design characteristics. In most cases, HFSS uses TAU mesh, rather than the
classic mesh. In general, it looks for specific features (for example, stacks of large planar parallel
facets with small gaps) and situations where the initial Tau mesh is 4 times larger than the Classic.
In a few cases, you may decide to override the automatic choice and designate the mesher to use.
To do so:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The Initial Mesh Settings dialog appears with the General tab selected.
For example moving the slider to the left changes the figure as follows:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
5. If you choose Manual Settings, the dialog changes to show text fields.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Select normal deviation (angle), and then type the angular distance between the
normal of the true surface and the corresponding mesh surface in the text box.
8. Under Aspect Ratio, do one of the following:
l Select Set aspect ratio, and then type a value in the text box. This value determines the
shape of the triangles. The higher the value, the thinner the triangles. Values close to 1 will
result in well-formed, wide triangles.
9. To make your choice the default, use the Save as default check box.
10. The Advanced tab lets you specify a Set Length for Model Resolution.
This is for experienced users who have a good understanding of how particular values will affect
their models. In general, the Auto setting provides good results.
Related Topics
Note This will not alter any existing meshes that have already made use of one or more mesh
refinement operations. However, deleted mesh operations will not be used again after
reverting to the initial mesh.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
1. Select the object or objects to which you want to reassign the mesh operation.
2. Under Mesh Operations, right-click the mesh refinement you had previously defined.
A shortcut menu appears.
3. Select Reassign from the shortcut menu.
Note This pertains to mesh setup operations only. However, if you want to see information about
a mesh that has been generated, see Viewing Mesh Statistics.
Related Topics
1. Under Mesh Operations, right-click the mesh refinement you had previously completed.
A shortcut menu appears.
2. Select Properties from the shortcut menu.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Related Topics
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Related Topics
Related Topics
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
You can also use the equivalent View tab ribbon icons shown by clicking the drop-down under
Orient.
Possible orientations are Top, Bottom, Right, Left, Front, Back, Trimetric, Dimetric, and Isometric.
These last three differ as shown below.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
You can also use the right-click View shortcut menu to click Add New Orientation.
The Name that you assign will appear on the Apply Orientation command menu. You can specify
whether to Include Zoom/Pan and whether to Save Global.
Related Topics
Change the model view with Alt-double click on areas in the modeler window
l Model Center
l Current Axis
l Screen Center (default)
l Cursor
When you select one of these as the default, the View>Rotate selection menu changes to
show that the Alt-Drag combination attaches to your selection.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Rotate (default)
l Pan
l Zoom
These settings change the behavior of the middle mouse button drag action.
In 2D plots, Pan is the default behavior for middle mouse button drag.
The 3D Modeler Graphics tab lets you set the following options which are invoked for the next
Project and design created.
Related Topics
Modeler options
When you select one of these as the View>Options default, the View>Rotate selection menu
changes to show that the Alt-Drag combination attaches to your selection.
To rotate the model center from the menus or the View/Draw/Model ribbon icons:
1. Click View>Interaction>Rotate Model Center or click the Rotate Model Center icon on
the View/Draw/Model tab ribbon.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
2. Drag the mouse in the direction you want to rotate the view.
The view rotates until you release the mouse button. The rotate and zoom dropdown ribbon
buttons update dynamically to indicate the current zoom/rotate mode. The rotate and zoom
dropdown ribbon buttons are also sticky: the last active rotate or zoom mode becomes the
button default while the editor is active.
3. To exit Rotate mode, click View>Interaction>Rotate Model Center again, or click the
icon again or press ESC.
Hint Alternatively, rotate the view using one of the following methods:
The view spins continually in the direction and at the speed you dragged the mouse.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note If Rotating is slow, especially for complex models, for some graphics cards, you can
improve performance by setting NVIDIA Control Panel>3D Settings>Manage 3D
Settings Global Settings>Global Presets: Workstation App - Dynamic Streaming.
For more information about graphics card, see the Open GL section under Installation
Prerequisites in the ANSYS EM Installation Guide.
Note If Rotating is slow, especially for complex models, for some graphics cards, you can
improve performance by setting NVIDIA Control Panel>3D Settings>Manage 3D
Settings Global Settings>Global Presets: Workstation App - Dynamic Streaming.
For more information about graphics cards, see the Open GL section under Installation
Prerequisites in the ANSYS EM Installation Guide.
Related Topics
Change the model view with Alt-double click on areas in the modeler window
1. Click View>Interaction>Pan or select View/Draw/Model tab and click the Pan icon on
the ribbon.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
2. Drag the mouse in the direction you want to pan the view.
The view will pan until you release the mouse button.
3. To exit Pan mode, click Pan on the View menu again or press ESC.
Hint Alternatively, pan the view using one of the following methods:
l Press the plus sign (+) or (=) keys or press Ctrl-E keys.
l Press the minus sign (-) key or press the Ctrl-F keys.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Draw/Model tab Ribbon with drop down menu for Zoom, Zoom In, and Zoom Out.
2. To zoom in, drag the mouse towards the top of the view window. The objects in view expand
as you drag.
To zoom out, drag the mouse towards the bottom of the view window. The objects in view
decrease in size as you drag.
When zooming on a view of model objects the absolute size of the model does not change.
When zooming on a 2D report, axis labels and ticks will adjust automatically during the zoom
operation and will rescale to their final value after the zoom operation is complete.
Hint Alternatively, zoom in or out on the view using one of the following methods:
Note If Zooming is slow, especially for complex models, for some graphics cards, you can
improve performance by setting NVIDIA Control Panel>3D Settings>Manage 3D
Settings Global Settings>Global Presets: Workstation App - Dynamic Streaming
For more information about graphics card see the section Open GL under Installation
Prerequisites in the ANSYS EM Installation Guide.
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Or select the Draw/Model tab and select Zoo, or Zoom in or Zoom Out from the
dropdown menu.
2. Use the mouse to draw a rectangle (or square) by selecting two diagonally opposite corners.
When zooming on a view of model objects, the absolute size of the model does not change. The
rotate and zoom dropdown ribbon buttons update dynamically to indicate the current
zoom/rotate mode. The rotate and zoom dropdown ribbon buttons are also sticky: the last active
rotate or zoom mode becomes the button default while the editor is active.
When zooming on a 2D report, axis labels and ticks will adjust after the zoom operation is
complete.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Related Topics
Note If Zooming is slow, especially for complex models, for some graphics cards, you can
improve performance by setting NVIDIA Control Panel>3D Settings>Manage 3D
Settings Global Settings>Global Presets: Workstation App - Dynamic Streaming
For more information about graphics card see the section Open GL under Installation
Prerequisites in the ANSYS EM Installation Guide.
Related Topics
1. Select the port under Excitations in the project tree to highlight it in the geometry.
2. Right-click to generate the short-cut menu as shown below.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Notice that the option instantly increases magnification of the surface excited with the wave port
as shown in the Figure below.
Related Topics
All view windows displaying the active design change to include all model objects.
The view in the active Modeler window changes to include all model objects.
Hint Alternatively, fit all objects in the active view window using one of the following methods:
l Press CTRL+D.
l Right-click in the view window, and then click View>Fit All on the shortcut
menu.
When Fit All is used in a Report view, the window is automatically rescaled to fit all traces in the
window and the axis label and ticks are rescaled.
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
1. When you are working on a model view, select the objects you want to fit in the view. When
you are working on a report, select the traces you want to fit.
l To fit the selection in the active view window: Click View>Fit Selection>Active View.
l To fit the selection in every open view window of the active design: Click View>Fit
Selection>All Views.
Hint Alternatively, fit the selection in the active view window by clicking View>Fit
Selection on the shortcut menu.
1. Select the objects or components of interest, and right click to display the menu.
2. Select View>Fit in Active View or Fit in All Views:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Related Topics
1. Select the object you want to hide from view. This enables the menu commands and
View/Draw/Model ribbon tabs icons for hiding objects.
2. Click View>Visibility>Hide Selection and one of the following commands:
l All Views to hide the selected object in every open view window.
l Active View to hide the selected object in the active view window. You can also use
CTRL-H to hide a selected object.
You can also right-click in the modeler window for a short-cut menu and use the View
commands for Hide Selection, or Show Only Selection.
You can also use the Hide select objects icons in the View/Draw/Model ribbon tabs to hide
selected objects in the active view.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
If there are many objects, you may find it easier to hide objects using the Active View Visibility
dialog. You can also chose to show only selected objects in all or active views, effectively hiding all
unselected objects.
Note Hiding boundaries also turns off a check for boundary overlaps during boundary
assignment. In the case of very large models with many boundaries, hiding boundaries can
prevent delays during boundary assignment. Full model validation will subsequently check
for boundary overlaps.
Related Topics
Showing Objects
Showing Objects
You can show or hide objects in several ways, using the Active View Visibility dialog for
individual objects, or Visibility menu selections for All Objects, Only Selection, Model Objects,
Non-model Objects, Primitive Shapes, or Non-primitive shapes.
The Active View Visibility dialog contains tabs for 3D Modeler, Color Keys, Array Setup,
Boundaries, Excitations, and Fields Reporter. Select the tab for the objects you want to show or
hide, and check or uncheck Visibility.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
You can access the dialog from the View>Visibility>Active View Visibility... or by clicking the
Hide/Show visualization icon in the Ribbon area for the View/Draw/Model tabs.
The Visibility menus are available on the View menu and as short-cut menus in the modeler
window and in the history tree when you select the Model icon:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
To show one or more objects that are currently hidden by using the Active View Visibility dialog:
2. Select the tab for the objects you want to show or hide. The dialog contains tabs for 3D
Modeler objects, Color Key objects, Boundaries, Excitations, and Fields Reporter objects.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
3. Under the tab you need, select the Visibility option for the objects you want to show in the
active view window.
l For designs with large numbers of objects, you can resize the dialog for easier selection.
l By default, objects are listed in alphabetical order. You can invert the order by clicking the
Name bar above the Name fields. A triangle in the bar indicates the direction of the listing.
l You can also use the Name field to type in an object name and apply the visibility via the
Show and Hide buttons.
The objects you select and designate as Visible (by selecting the property or using Show)
reappear.
Note Hiding boundaries also turns off a check for boundary overlaps during boundary
assignment. In the case of very large models with many boundaries, hiding boundaries can
prevent delays during boundary assignment. Full model validation will subsequently check
for boundary overlaps.
To show all objects that are currently hidden by using the Visibility Menu:
1. Click View>Visibility>Show All or use the short cut menu for the Modeler window or
History tree and one of the following commands:
l All Views to show all objects in every open view window
l Active Views to show all objects in the active view window.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
1. Select the object. Hidden items are selected once the node corresponding to them is clicked
in the history tree.
2. Click View>Visibility>Show Selection and one of the following.
l All Views to show selected objects in every open view window
l Active Views to show selected objects in the active view window.
You can also use the View tab ribbon icons to Show selected objects in active views or
open the Active View Visibility dialog.
1. In the history tree, select one or more 3D components. This activates the View/Draw/Model
tab Hide/Show icons in the ribbon and the View menu selections.
2. You can right click to display the shortcut menu and select View>Show All
Related Topics
Hiding Objects
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
1. Select the object from the Project tree or history tree. Hidden items are selected once the
node corresponding to them is clicked in the history tree.
2. Click View>Visibility>Show Selection and one of the following.
l All Views to show selected objects in every open view window
l Active Views to show selected objects in the active view window.
You can also right click, and use the shortcut menu:
3. You can right click to display the shortcut menu and select View>Show in Active View or
Show in All Views or Show Only Selection In Active View.
You can also use the View/Draw/Model ribbon icons to Show selected objects in all views
and Show selected objects in active views.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
1. Click View>Visibility>Active View Visibility, or click the Hide/Show icon on ribbon tabs
for View/Draw/Model.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
2. Select the tab for the objects you want to show or hide. The dialog contains tabs for 3D
Modeler objects, Color Key objects, Boundaries, Excitations, and Fields Reporter objects.
l For designs with large numbers of objects, you can resize the dialog for easier selection.
l By default, objects are listed in alphabetical order. You can invert the order by clicking the
Name bar above the Name fields. A triangle in the bar indicates the direction of the listing.
l You can also use the Name field to type in an object name and apply the visibility via the
Show and Hide buttons.
3. Under the tab, clear the Visibility option for the objects you want to hide in the active view
window.
Note Hiding boundaries also turns off a check for boundary overlaps during boundary
assignment. In the case of very large models with many boundaries, hiding boundaries can
prevent delays during boundary assignment. Full model validation will subsequently check
for boundary overlaps.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Related Topics
Showing Objects
Hiding Objects
The objects in the view window are displayed as skeletal structures, enabling you to see all
sides of the objects at one time.
You can also use the F6 key or the shade icon to toggle the display to wireframe.
l Smooth Shaded.
The objects in the view window are displayed as shaded objects with smooth edges.
You can also use the F7 key or the shade icon to toggle the display to smooth shaded.
Hint You can also press F6 (Wire Frame) and F7 (Smooth Shaded) to toggle between
these two views.
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The objects in the view window will be displayed as skeletal structures, enabling you to see
all sides of the objects at one time.
l Smooth Shaded.
The objects in the view window will be displayed as shaded objects with smooth edges.
4. Click OK.
The rendering mode will be applied to all new objects you create.
Related Topics
Enhanced Display overrides part color and transparency properties with material settings for all the
parts visible in the active view. By default it is off (unchecked on the View>Render menu) and part
attribute color and transparent values are applied.
It is possible for view to be “Enhanced Display” mode but some of the parts in model could have
“Use Material Appearance” unchecked. In this case you can edit color or transparent values or Use
Material Appearance in the Property window but they are not applied to active view visualization.
This resembles how Wire Frame setting is handled currently.
Sheet objects in 3D modeler do not have material assignment, but they could have boundary
assignment with material assigned to the boundary. In this case sheet object visualization
resembles solid object visualization where material appearance from assignment is used.
When you are working with a legacy project and use View>Render>Enhanced Display, if there
are updates to the materials definitions for appearance, you will receive an info message informing
you that updated material definitions.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
If you want to update, click Tools> Project Tools Update Definitions to open the Update
Definitions dialog.
Here you can multi-select rows of materials to update them. In case of updates available from
multiple libraries, you can choose library location. Selecting material rows enables the Update
button. Selecting Update then produces a message on a successful update.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Related Topics
This release moves to an ACIS R21 faceting algorithm and has new defaults:
l Relative 0.002mm surface deviation and 30 degree normal deviation for 3D design
l Relative 0.002mm surface deviation and 2 degree normal deviation for 2D design
Legacy projects with non default settings are approximately converted to new settings with
warning. Overall faceting time may be around 20% more but number of triangles should reduce.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The default gives satisfactory results (i.e. cpu/memory consumption vs. graphical display) for
various model complexities.
When you change Curved Object Visualization settings and apply them to a design, those settings
are saved with design unless you change it again. That means when you open the design again, it
will apply saved visualization settings and NOT the default settings. Because this affects the CPU
and memory required to open the project, typically, you should not save a project with other than
the default settings.
To set the Curved Object Visualization for the active modeler window:
This command displays the Curved Object Visualization dialog for the active modeler
window. The dialog contains areas for setting the Maximum Deviation, and the Maximum
Normal deviation.
2. Set the Maximum Deviation by first selecting from the radio buttons for Ignore, set as
Relative Deviation or set as Absolute Deviation. Selecting the later two radio buttons
enables the value field.
When set as Relative Deviation, the actual surface deviation depends on the model size. For
example, sphere with a radius of 10 has same number of facets as a sphere with a radius of 1.
This means that CPU cost does not increase based on the model dimension.
When set as Absolute Deviation, the maximum surface deviation for both the spheres will be
approximately same since a bigger sphere has more facets than a smaller one. This means that
the most CPU cost applies to the larger objects.
3. If you selected the radio buttons for Relative or Absolute Deviation for Maximum Deviation,
enter a value in the field.
4. To change the Maximum Normal Deviation, enter a value in the text field. Units are
degrees.
Note Wire bodies cannot be rendered with a Maximum Normal Deviation value less than 1
degree. When using a setting less than 1 degree all wire bodies will be rendered with
a setting of 1 degree and all closed bodies will be rendered with the dialog box
setting.
5. The Save As Default button lets you Save any values you change to the drop down menus
for the fields.
6. The Restore Defaults button lets you return to the original values. Any values you provided
through Save As Default remain on the drop down menus for the fields for surface and
normal deviations
7. Click Apply to apply the current values to the active modeler window, and Close or Cancel
to close the dialog without changing settings.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Related Topics
UsingClipPlanes
The View>Clipping>Clip Plane command lets you define a clip plane that you can use to
interactively make any desired cut-away view of a model. If you use Edit>Copy Image or
Modeler>Export>image format with the clip plane active, the image shows the clipped plane.
When parts of the model are hidden by a clip plane, model selection works as though only the
visible parts are present.
This displays the Clip Plane dialog with the Plane tab selected.
2. The Add button contains a drop down menu with choices for Specify center, normal, and
Use selection. Of you want to use selection, you must first select a face or a cut plane.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l If you first select a face or cut plane, and then click Add>Use Selection, the clip plane is
added on that face.
a. If you select Add>Specify center, normal, this launches a Measure dialog and enters
a mode for you click to first define the start location, shown as a triad. When you move
the cursor, a rectangle represents the clip plane, and a vector the current direction.
After the second click, the clip plane is active. The handle is visible as a circle with a
sphere at the center, and an arrow pointing the normal for the plane. The Clip Planes
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
dialog shows the clip plane name, that it is enabled, shows the cap (which is the plane
surface), and shows the handle. The Flip selection lets you reverse the direction of the
clip plane. If you uncheck Show cap and/or show handle, they disappear from the
display.
3. With Show Handle enabled, you can use the handle to manipulate the location and
orientation of the clip plane. The handle changes appearance and function relative to the
position of the cursor. Dragging the cursor makes use of the current function.
4. The Options tab for the Clip Planes dialog contains four options.
l Force opaque for the unclipped portion.
l Disable clip plane when drawing a new clip plane.
l Plane handle color
The button shows the current color. Click the button to display a color selection dialog. Select
a default or custom color and click OK.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
This slider lets you resize the radius of the handle to the most convenient size. The radius
resizes dynamically. When you close and reopen the modeler window, the last selected size
persists.
Related Topics
Copy Image
A dialog box with orientation settings appears. It includes a table of names of six basic
orientations (Top, Bottom, Right, Left, Front, Back), any additional orientations that you have
added, and a section for adding new orientations. The table includes columns that show the
input angles, and the equivalent vector components.
2. Apply a default orientation to the view or create and apply a new orientation.
3. Click Apply to View for the selected view to appear in the view window.
You can use the Reset View Orientation button to restore the view to the original angle.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
4. Click Make Default if you want the selected viewing direction to be the initial viewing
direction when a 3D Modeler window is opened, either in the current project or future
projects.
5. Click Close to dismiss the dialog box.
The orientation you set will be saved with the design. New orientations assigned to other
designs after this point will not affect this orientation.
Related Topics
Removing an Orientation
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
2. Click one of the orientation names listed in the viewing directions list.
3. Click Apply.
You can use the Reset View Orientation button to restore the view to the original angle.
4. Click Close.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Related Topics
Removing an Orientation
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
2. To create a viewing direction that is based on a default viewing direction, click the existing
orientation name in the viewing directions list.
To create a viewing direction based on the current view in the 3D Modeler window, click Get
Current View Direction.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
5. Click Make Default if you want the new viewing direction to be the initial viewing direction
when a 3D Modeler window is opened in the current project or future projects.
6. Click Close.
Related Topics
Removing an Orientation
Removing an Orientation
To remove a viewing direction from the list in the orientation settings dialog box:
2. Click the viewing direction you want to delete from the list of names.
3. Click Remove.
Related Topics
l Ambient lighting surrounds the model evenly with light. All objects are lit evenly in every
direction by a color of light that you specify.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Distant lighting directs a ray of light at the model in a direction you specify. By default, two
distant light vectors are in effect for every new view window.
2. Select Do Not Use Lighting to turn off ambient and distant lighting.
3. To surround the model with light, click the Ambient Light Properties color button, and then
select a color for the surrounding light from the Color palette.
4. To modify the distant light on a model, do one of the following:
a. Add a new distant light by clicking Add.
b. Copy an existing distant light that you intend to modify by first selecting it in the Distant
Light Vectors table, and then clicking Clone.
c. Select a default distant light to modify by selecting it in the Distant Light Vectors table.
5. For the selected distant light vector, specify the vector direction:
a. To modify the direction by specifying Cartesian coordinates, do one of the following:
l Enter the new Cartesian coordinates in the X, Y, and Z boxes.
l Use the Vx, Vy, and Vz sliders to specify the Cartesian coordinates dynamically.
b. To modify the direction by specifying the spherical coordinates, do one of the following:
l Enter the new spherical coordinates in the φ and θ boxes.
l Use the φ and θ sliders to specify the spherical coordinates dynamically.
6. To revert to the default ambient and distant light settings, click Reset.
7. Click Save As Default if you want the new lighting settings to be the defaults for all 3D
Modeler windows, either in the current project or future projects.
8. Click OK to dismiss the dialog box.
The lighting settings will be saved with the design. New lighting applied to other designs after this
point, including new default settings, will not affect these lighting settings.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
2. Select Perspective to enable the slider to change the angle of the view.
l Move the slider to the right to increase the proximity, or widen, the view. Move the slider to
the left to decrease the proximity, or flatten, the view.
Objects that are closer appear larger relative than objects that are farther away.
The Select Projection Type window closes. The last view you specified in the projection
window remains visible in the view window.
The projection view you set will be saved with the design. New projection views assigned to other
designs after this point will not affect this projection setting.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The background color you set will be saved with the design. New background color settings
assigned to other designs after this point, including new default settings, will not affect this design.
By option, you can also use a triad which is a secondary depiction of the coordinate system that
appears at the lower right of the Modeler window. It shows the orientation of the currently selected
working coordinate system.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
For Cartesian grids, the location of points on the grid are defined by intersections of planes that are
perpendicular to and along the x-, y-, and z-axes. The division (the distance between neighboring
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
For polar grids, the location of points on the grid are defined by intersections of planes that are
perpendicular to the local radius and angle coordinates. The division (the distance between
neighboring parallel planes perpendicular to the same radius and angle) can be set.
Grid spacing is set according to the current project's drawing units. You can control the following
aspects of the grid:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Related Topics
2. Select a grid type for the active view window: Cartesian for a rectangular grid or Polar for a
circular grid.
The grid in the active view window is centered at the origin of the working coordinate system.
For Cartesian grids, you a coordinate by specifying its distance from the origin along each axis in
the X, Y, and Z text boxes or its relative distance from the previously selected point in the dX, dY,
and dZ text boxes.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
For polar grids, you define a coordinate by specifying its radius from the origin in the R text box and
its angle from the x-axis in the Theta text box or its relative distance from the previously selected
point in the dR and dTheta text boxes.
Related Topics
2. Select one of the following grid styles for the active view window:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
3. To show a Minimal grid around existing objects, check Auto adjust grid extends. To display a
grid as a plane, uncheck Auto adjust grid extends.
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
2. If you want to change the density of the grid in the active view window as you zoom in or out
on objects, do the following:
a. Select Auto adjust density to.
b. Specify a distance between grid points by typing a value in the pixels box.
The default is set to 30 pixels, which is generally the best setting for displaying objects.
3. If you do not want the grid density to change when you zoom in or out, but instead want to
specify a constant grid spacing, do the following:
a. Clear the Auto adjust density to option.
b. Specify the grid's spacing in the active design's units.
If you selected a Cartesian grid type, type the values of dX, dY, and dZ. These values
represent the difference between one grid point and the next in the x, y, and z directions,
respectively.
If you selected a polar grid type, type the values for dR and dTheta. dR represents the
difference between each radius. dTheta is the difference between angles.
The distance between grid points will increase and decrease proportionately as you zoom in
and out in the active view window.
4. Click OK.
Related Topics
To hide the grid, click the Grid toolbar icon: . Click it again to show the grid.
Alternatively:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
2. Select to make the Show to make the grid always visible in the active 3D Modeler window.
Select Hide to make the grid always invisible in the active 3D Modeler window. Select Auto
so the grid appears only while you are drawing an object in the 3D Modeler window.
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Click Modeler>Grid Plane, and then select a grid plane: XY, YZ, or XZ.
l Click a grid plane on the pull-down list on the 3D Modeler Draw toolbar:
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
9 - Example Toolkits
The Toolkit command in the HFSS menu provides access to a design type specific IronPython
script, such as the Hearing Aid Compliance Test, MIMO calculation or a module specific task, such
as for Boundary, Excitation, or Solve Setup. Toolkits implemented in ANSYS ACT can be
accessed through the View>Extensions command.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
designers to efficiently analyze common antenna types using HFSS and HFSS-IE and also assists
new users in learning to use HFSS for antenna design. All antenna models created by the design
kit are ready to simulate in HFSS or HFSS-IE. Simulations, sweeps, and 2D and 3D post-
processing reports are automatically defined.
l Automatically generates physical dimensions for desired frequency when you use the
Synthesis button.
l Provides starting point for new designs.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The HFSS Antenna Wizard contains areas for selecting the design type, selecting the category
and type of antenna, and a help section that illustrates the selected antenna.
1. Select the type of antenna as HFSS or HFSS-IE from the drop-down menu.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
2. You then select the Antenna type and category from the library list. You can show or hide the
categories under each antenna type by clicking the arrow icons.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The Settings for each antenna include frequency and various parameters. For HFSS Design
types (not HFSS-IE), you can specify the Outer Boundary and check Huygens box. Antenna
dimension parameters vary depending on antenna selected. Other dimension parameters for
Feed, Slot, Ground plane, Substrate dimensions and such vary somewhat depending on the
antenna Type selections. Depending on your window size, you may need to use scroll bars, or
resize the window to see all the selections. The Help figure will help you visualize how each
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
parameter applies.
4. If you change the Center Frequency parameter and select the Synthesis button, the
antenna dimensions are automatically updated in order to operate at that frequency.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The Antenna Toolkit then creates a project with the antenna design. It displays a message that it
is "Executing current step" and some animation indicates progress. As the synthesis completes,
the Project tree shows the added Boundaries, Excitations, Hybrid Regions (if specified). It also
generates a Solution setup and sweeps specific to the antenna type, as well as a range of
predefined 2D and 3D plots, a Port Field Display, and 2D and 3D Radiation Spheres. The
Design Properties lists all of the local variables. And the History tree shows the objects created .
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The Add Antenna button opens a dialog that lets you browse and select from antennas in the 3D
Component library (that is, with a *.a3dcom suffix), including example antennas provided and
those design you may have created or imported and convert to 3D components.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
When you select a 3D component file and click Open in the browser, the component is temporarily
displayed in the Modeler window, and the Add Antenna dialog displays. Here you can see settings,
properties, and documentation, and can click OK to continue.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
After you click OK, the antenna is listed under PersonalLib>Custom at the bottom of the Antenna
Type list:
One advantage for adding antennas to the Antenna Design Toolkit PersonalLib is that when you
then select the antenna from the toolkit library, you get the automated the geometry creation,
solution setup, and post-processing reports for over 40 antenna elements.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The HFSS-EMIT ACT wizard simplifies the export of coupling data and antenna patterns from a
suitable HFSS or Circuit design by exporting available coupling, antenna pattern, geometry and
port data for use in the EMIT model. The HFSS-EMIT ACT wizard can launch EMIT with the new
model created, or the exported data can be manually loaded into a new or existing EMIT model.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
1. Use the View>ACT Extensions command to open the Wizard window for toolkit
extensions implemented via ANSYS ACT.
2. Double-click on the Wizards box to load all toolkits.
3. Return to the main menu by clicking on the back arrow.
1. Create or open a multi-port project with one or more HFSS,HFSS-IE or Circuit designs. To
be used, a design should have at least one solved sweep (for HFSS and HFSS-IE designs)
or a linear network analysis (Circuit design). If antenna patterns are to be exported, there
should also be at least one solved discrete sweep. Each excitation/port in the selected
design will be treated as an antenna in EMIT. The position of each antenna in EMIT for an
HFSS or HFSS-IE design is defined as the center of the face(s) assigned to the
corresponding excitation. Only discrete sweeps are supported, and the setup must have
been solved with the save fields option enabled. The far-field analysis setting is only
available if far-field patterns are enabled in the HFSS or HFSS-IE design. For Circuit
designs the antennas associated with each circuit port are created as “position-less”
antennas in EMIT.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
3. If there is more than one project open in HFSS, select the project of interest from the Project
dropdown menu in the wizard panel. If the selected project has more than one design, select
the desired design from the design dropdown menu.
4. Far field pattern export is optional and not available for Circuit designs, or for HFSS and
HFSS-IE designs without at least one discrete sweep defined. Select ‘Yes’ to include the far
field patterns in the export package or ‘No’ to exclude them. Antenna patterns can be useful
for visualizing the antenna behavior in EMIT, even when S-parameter data is available.
However, the far field pattern files can be large and take a long time to generate.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
a. If antenna patterns are enabled, one discrete sweep must be chosen for each
antenna.
b. If antenna patterns are enabled, the angular sampling for the far field patterns can be
customized. Smaller angular sampling values increase the pattern fidelity but also
increase the file size.
5. Choose which coupling analysis to export. By default, all coupling data is exported (fast,
interpolating, and discrete sweeps). Alternatively, a single sweep can be selected for export.
If you have loaded a Circuit design with a Linear Network Analysis, that appears as a
selectable Design, and a selectable Coupling Analysis.
6. Choose to export each object from the model as a separate CAD file or export as a single
merged CAD model. Individual objects gives the user more flexibility with the model in EMIT
and also preserves the model coloring. This option is not available for Circuit designs.
7. After Export, Launch EMIT: By default, EMIT is launched after the export completes. The
exported HFSS data is imported into a new EMIT project. Optionally, the EMIT launch can
be disabled by selecting No from the drop-down menu. You can view EMIT help from EMIT.
8. Click the Finish button to generate the export package. The export data is written within the
directory containing the ANSYS Electronics Desktop project file. The path to this directory is
printed in the message manager after the export completes.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
9. In EMIT, if you have not specified, after Export, Launch EMIT, select Import HFSS Files
from the File menu. Browse to the export data directory and select it. The data will be
imported to EMIT and ready to use. Assign the antennas to their appropriate RF System
models and run the analysis.
In the case that you included a Circuit Design in the project, the named antennas are linked
to the coupling data ports (that is, the antenna names match the port names from the Circuit
design).
Note: If export data has been generated for multiple designs from the same project, EMIT will
provide a dialog allowing the design of interest to be selected.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The HFSS-Savant ACT Toolkit exports antenna geometry, near-field and far-field representation
from HFSS. A directory is created so that it can be imported to Savant.
1. Use the View>ACT Extensions command to open the Wizard window for toolkit
extensions implemented via ANSYS ACT.
2. Click on the Wizards box to load the available toolkits.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
3. Load the extension. This can be done with a right-click on the newly added square and later
selecting the Load Extension option.
4. Select the Wizards square from the extension panel. This will open a window with the loaded
extensions. Select the HFSS-Savant Datalink tookit button.
Project/Design
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Project: Select the project. The projects currently open in Desktop are available for selection.
The list of projects can be updated by clicking the Update button.
Select the design. Choose from the designs within the selected project.
Solutions: Selects the analysis setup to export from the different analysis setups available in
the selected Project/Design. Only one analysis can be exported at a time.
NF Source:
This section defines the geometry for the exported near-field data necessary to reconstruct
the antenna in Savant.
Source: The choices for Source are Huygens Box and Radiation Surfaces. In the case of
antenna arrays, especially when the array is non-rectangular, it is very hard to define a
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Huygen’s Box on or inside the solution region. For antenna array design, exporting radiation
surface fields is the only option. For general cases, you can choose between Radiation
Surface and Huygen’s Box
If you choose to export on Radiation Surfaces, the only other options for NF Source are
Sampling and whether to Export Antenna Model. Geometry and Infinite ground plane
selection do not appear. If you have defined an Infinite ground plane, it will be directly taken
from the boundary definition.
HFSS provides the actual geometry for one cell for array problem, so export antenna model
option will only export the geometry for one cell. HFSS has the mesh exported for radiating
surface which could gives an overall outline of the array but not details about every single
cell. The antenna CAD model in Savant is used for display and placement purpose, to the
current on radiation surface achieves similar functionality.
If you select Huygens Box the toolkit exports the E and H fields on the faces of the Huygens
Box described in this section. The toolkit offers a menu with a calculated Region or User
Defined Box. The Huygens Box should be placed close to the antenna, an offset of a λ/10
from the maximum dimensions of the antenna is recommended but larger offsets will work
as well. The sample fields should be at least 8 points per wavelength (ppw) on each face of
the box.
Sampling: Defines the number of samples/points per wavelength (ppw) for each face of the
box. The menu has three options: Quick, Normal and Custom. Quick sets the ppw to 8 and
the field sample density to 4 respectively; Normal sets it to 16 and 8 respectively and Custom
unveils two new property panels (NF Sampling and Field Sampling Density) so you can
customize the value of the properties.
NF Sampling: Defines the number of samples/points per wavelength (ppw) for each face of
the box. A value of at least 8 is required to produce a faithful result later in Savant. Not
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
visible, under when you select Radiation Surfaces, and enabled and visible only when you
select Custom.
Field Sampling Density: Defines the number of samples that will be set by Savant in the
Antenna's property panel. A value of at least half as much as NFSampling is required to
produce a faithful result later in Savant. Visible only when you select Custom.
Inf Ground Plane: Exports the ground plane information for the selected face. When
loaded into Savant, the antenna will present the ground plane information introduced in this
toolkit. This is practical to avoid the integration of the EH field in the selected face which
eases the computation of the current sources. This property is set automatically if the user
picks a specific Geometry. You can change this value at any time.
Geometry: The HFSS-Savant Datalink Toolkit defines a region likely to represent the best
space to define the Huygens Box. The grayed out Min Point and Max Point values apply to
the Region in the Global Coordinate System. If you want to use a customized setting, then
you can select the option User Defined Box ... to enable the Min and Max Point fields,
starting with the dimensions of the default calculated region.
Min Point (x,y,z): The extension of the Huygen Box can be defined through two points with
the maximum and minimum extensions of the box respectively. In this selector, the point with
the minimum values of the box is entered. The value of the points is entered using 3 floating
point numbers separated by a comma ','. The units of the numbers are shown in the panel
descriptor. This property is set automatically if you pick a specific Geometry. You can change
this value using the option User Defined Box ... in the Geometry selector.
Max Point (x,y,z): Defines the point with the maximum values of the box. The value of the
points is entered using 3 floating point numbers separated by a comma ','. The units of the
numbers are shown in the panel descriptor. This property is set automatically if the user
picks an specific Geometry. You can change this value using the option User Defined Box ...
in the Geometry selector.
Export Antenna Model: Specify whether to Export the Antenna Model to Savant.
Far-Field Setup: Selects the setup that will be used to export the far-field data from the
toolkit. The options are populated from the specific project and design selected.
After Export: Launch Savant. By default, Savant is launched after the export completes.
The exported HFSS data is imported into a new Savant project. Optionally, the Savant
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
launch can be disabled by selecting No from the drop-down menu. You can view Savant
Help from within Savant.
6. Set or change the Geometry value. Observe how the Huygens Box extensions change with
the new geometry.
7. The tookit analyzes the different geometries present in the project. In most cases it is more
convenient to define a box using the HFSS aids rather than writing them on entry.
9. The export process begins when you press the Finish button. Once the process finishes, the
HFSS-Savant datalink toolkit closes itself.
10. The exported project can be found on the same folder where the HFSS project is stored.
This path will be used in the following step.
11. In Savant, if you have not automatically launched Savant from the Toolkit, select Add Near
Field Antenna from the File menu under Insert. Browse to the export data directory and
select it. The data will be imported to Savant and ready to use. Assign the antennas to their
appropriate RF System models and run the analysis.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note: If export data has been generated for multiple designs from the same project, Savant will
provide a dialog allowing the design of interest to be selected.
1. Click HFSS>Toolkit>CableModeling>AutomotiveCableBundle.
The Cable Modeling - Automotive dialog box appears with the Cable Parameters listed.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
a. Select the wire Standard. You can choose between the ISO or AWG standard types.
b. Select the Wire Type.
c. Optionally, modify the number of wires.
d. Optionally, modify the Conductor Diameter.
e. Select the Conductor Material.
f. Select the Insulation Type.
g. Optionally, modify the Insulation Thickness.
h. Optionally, modify the Insulation Material.
i. To add additional wire types, click the + button. A new row is added. You can now create
a bundle consisting of several different types of wires.
3. Type the Name of the toolkit, and select the units.
4. If you have previously imported a customized set of parameters, you can click Use Defaults
to use the default values.
5. To export the cross section parameters into a .csv or .tab file, click Export. The Export
Cable Parameters dialog box appears. Specify the File name and type, and click Save.
The file is exported and can be seen in Excel.
6. To read in the excel file and populate parameters in the toolkit panel, click Import. The
Import Cable Parameters dialog box appears. Specify the File name and type, then and
Open.
7. Specify the Outer Jacket Parameters:
a. Specify the Thickness value for the inner diameter.
b. Specify the Material for outer jacket
c. After specifying wires to be included in the bundle, click Compute to calculate the
minimal bundle diameter of the bundle.
Note The wire radii are adjusted downward very slightly (on the order of 0.1%) at the
end of the packing process to eliminate any residual overlaps between the wires
and to make the model easier to mesh.
Note The Circle Packing algorithm is used to compute the values. It tries to automatically pack
the conductors in the bundle tightly with a minimum of empty space between them. It
generates and tests a large number of random variations in the conductor positions and
attempts to minimize the overall diameter of the bundle.
a. Specify the Seeding for wire arrangement value. The value entered here is the seed
value for the pseudo-random number generator used in the conductor packing process.
Changing this value results in different arrangements of the conductors. This can be
useful for performing statistical analysis of the cables.
b. To add new variables, click Variables. This opens the Edit Variables dialog box. All
variables that are already present in the project and design levels are listed. Click Add to
add a new row to create new variables.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
c. Click Draw to draw the 2D cross-section geometry. A validation check is run. This catches
errors like any variable missing a value, or any parameter missing a value.
d. For 3D designs, you can create a 3D geometry. Click Extrude. The Extrude to 3D dialog
box appears.
l Click Sweep Along Vector to extrude along the z axis. Z length is the input parameter.
l Click Sweep Along Path to extrude along a selected path.
Note 3D models of cables are hard to solve if the ratio of extruded length to cross-
section diameter is high.
1. Click HFSS>Toolkit>CableModeling>Oil-GasCableBundle.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
4. To export the cross-section parameters into a .csv or .tab file, click Export. The Export
Cable Parameters dialog box appears. Specify the File name and type, and click Save.
The file is exported and can be seen in Excel.
a. The parameter name is listed in the ParameterName field.
b. The next column displays the Value of the parameters. If you want to create a “menu”
type of parameter to give more than one choice of values, separate the values with semi-
colons. The first string in the menu options must be the current value of the parameter.
c. The next column shows the Section parameters related to different sections of cable.
d. The next column shows the PropType.
5. To read in the excel file and populate parameters in the toolkit panel, click Import. The
Import Cable Parameters dialog box appears. Specify the File name and type, and click
Open.
6. To add new variables, click Variables. This opens the Edit Variables dialog box. All
variables that are already present in the project and design levels are listed. Click Add to
add a new row to create new variables.
7. Click Draw to draw the 2D cross-section geometry. A validation check is run. This catches
errors like any variable missing a value, or any parameter missing a value.
8. For 3D designs, you can create a 3D geometry. Click Extrude. The Extrude to 3D dialog
box appears.
l Click Sweep Along Vector to extrude along the z axis. Z length is the input parameter.
l Click Sweep Along Path to extrude along a selected path.
Note 3D models of cables are hard to solve if the ratio of extruded length to cross-
section diameter is high.
l An interface to calculate the phase shifts along the A and B vectors of the array lattice, given
the scan angles for array elements.
l A script as a template for referencing when writing their own scripts to add functionality and
automations.
l Post processing variables for driven and design variables for composite data types for all the
data fields to allow you to adjust and modify parameters outside the calculator interface and
view corresponding results.
To access the calculator click HFSS>Toolkit>Update Menu. This causes the Toolkit menu to
display the Finite Array Beam Angle.
1. To use the calculator, you must first load a project that includes a finite array. The design
must have at least one port defined in order to apply excitations to Edit Sources. Select a
suitable design and click HFSS>Toolkit>Finite Array Beam Angle.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The Frequency field is automatically populated based on the current frequency value.
2. You enter values for Scan Angle Theta and Phi in degrees.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The Phase shift A and Phase shift B fields display the results.
4. Click Apply to Edit Sources, and then Done to close the toolbox.
5. Click HFSS>Design Properties to view the local variables. Scroll down if necessary to
view the newly created variables.
6. Right-click Excitations>Edit Sources to view the Edit Post Process Sources dialog to
view the expressions for each source:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
7. You can then click Radiation>Insert Far Field setups for 3D or XY Plots as needed, and
then use Results>Create Far Fields Report to define plots.
8. After you run Analyze and evaluate the plots you create. You can then change the
Frequency, the Theta and Phi values, and the ScanMag and ScanPhase variables to see
the effects of your changes.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The python script is installed with the software. The script assumes that you have already created
the phone model and the appropriate relative coordinate system that defines the location and
orientation of the ear piece. You must also assign appropriate boundaries/excitations and any
other required design data, such as solution setup.
The python script provides default but customizable UI and canned automations. The UDD format
can be adjusted/extended as needed. The default UI is a modal dialog.
This allows us to support changing standards, or multiple standards, without necessarily being tied
to the product release cycle. Similarly, users can create new UDD to customize the test report.
UDD are saved in project result directory. This type of reports can be created prior to simulation,
but will only be populated when there is solution.
Once the measurement plane, sweep setup and various reports are created by the Toolkit script,
they become part of the design and users will be able to make modifications. However, that might
cause the HAC test to fail compliance with the standard.
The measurement plane will be parameterized based on the variables used in the RCS definition
of the ear piece. The measurement plane is a non-model object and the automated UI operations
executed by the python script will not invalidate previously simulated results. This means that users
can add the HAC analysis at any stage of their design process.
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The first combo box is populated with user defined relative coordinate systems and the second
is populated with the solve setup in the active design. A sweep will be created within the
selected solve setup.
Users can choose to include simulating the created sweep as part of the automation.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
3. Click Generate.
A measurement plane composed of 9 non-model rectangles are inserted into the design.
These 9 rectangles will be named hac_grid1_1, hac _grid1_2, hac _grid1_3, hac _grid2_1, …
hac _grid3_3. If existing objects in the design that conflict with any of these 9 names, the python
script searches for the next set of names to use, in the format of hac1_grid1_1, hac1 _grid1_2,
hac1 _grid1_3, hac1 _grid2_1, … hac1 _grid3_3, so on and so forth.
4. A discrete sweep is created for the selected solve setup. The frequencies required in the
ANSI standard will be included in the sweep. You can select the testing frequencies. This
sweep will be named “HAC_Sweep”. When there is already a sweep of the same name,
then the next name to use is “HAC1_Sweep”, “HAC2_Sweep”, so on and so forth.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
These field calculator expressions will be available in reporter and Optimetrics and can be
plotted/evaluated on any user defined polyline.
6. PeakE and PeakH Field overlay are plotted on the surface of the measurement plane, using
the sweep solution and at each of the frequency.
If you did not select the correct coordinate system to generate the measurement grid, and
therefore, no solution to populate the plot, there will be an error message.
7. If you select Simulate Sweep, a User Defined Document will be created and inserted into
the Results folder.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Right click and select “View PDF Document” to display the PDF
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
You will need to click HFSS>Toolkit>Update Menu to cause the Toolkit menu to display the
MIMO selection.
You also click Results>Create User Defined Solution>Update Menu to display the MIMO_
Calculation selection.
The use of Multiple Input Multiple Output (MIMO) design in both transmitters and receivers has
become an important technique applied towards improved communication. The MIMO calculations
also illustrate the process that applies towards generating User Defined Reports. In this case, the
Toolkit and User Defined Solutions help you obtain reports of MIMO Calculations of the Envelope
Correlation Coefficient and Diversity Gain. You can also use these MIMO quantities in Optimetrics.
You can use these scripts with any HFSS Modal or Terminal Network Analysis design with at least
two inputs.
Once you have selected a design and have (if necessary) activated the scripts (Update Menu), the
MIMO process includes the following steps.
1. In the Edit Sources dialog, use the Source Contexts tab to specify the sources to use as
context when generating radiated fields.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The Source Contexts tab is only available in HFSS Driven Modal and Terminal Network
Analysis solution types.
It is not available in
To run the MIMO calculations example, you need a driven Modal or Terminal Network Analysis
design with at least two sources. The default for all sources is unchecked (disabled).
Each singly selected source is excited with factory default values. The phase will always be 0
deg and the magnitude will be 1 Watt for modal design and 1 Volt (Total voltage) for terminal
design. These factory default values cannot be changed by users.
Design Edit Source settings such as "Include Port Post Processing Effects" will still be
applicable for these singly excited sources. Thus changing any setups on the Spectral Fields
tab of the Edit Source dialog will invalidate all traces that are defined with source context.
Enabling any source as context will not impact traces that are already defined
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Disabling source as context will invalidate an existing trace that uses that source as context
2. You can scale sources by exciting a single source while using the Reporter. A Sources
combo box appears in the Reporter when you have specified at least one source in the Edit
Sources dialog.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
From here you can select Ports, specify the Theta/Phi resolution in degrees, and select the
Solve Setup. Click Generate to apply the settings.
4. Select Results>Create User Defined Solution to select Input probes in the Editing User
Defined Solution dialog for the MIMO calculation.
From here, you can also make assignments for the sources. Click the ellipses [...] buttons in the
Edit column to open a Select Input dialog for the respective probe.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
If you edit the Probe assignment here, and OK the dialog. You select Probe assignment
category, quantity and function based on the Description in the User Defined Solution. The
Reporter Probe Assignment field restricts the legal values to the Description field. Red text
denotes illegal assignments, and blue, legal. The assignment value for that probe appears in the
Create User Defined Solution dialog.
The created solution “MIMO Calculation1” has 2 output quantities, the “CorrelationCoefficient”
(Envelope Correlation Coefficient) and “DiversityGain”. These quantities can be used in both
reporter and Optimetrics. For the Reporter, you can select Output as the Category to select
CorrelationCoefficent and Diversity Gain as Quantities.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Wavelength Calculator
To use the Wavelength Calculator toolkit, click HFSS>Toolkit>WavelengthCalculator. This
opens the Wavelength Calculator dialog.
l The Frequency field initially displays the adaptive frequency from the first setup. The field is
editable, and you can select the units from a pull down menu.
l The Wavelength field is initially blank, but editable, and you can select the units from the pull-
down menu.
l The Select Material menu includes a list of all materials in the current project
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
If you select <custom material properties>, the fields for material properties become editable.
l The display shows current material values for Permittivity, Permeability, Dialectric Loss
Tangent, and Magnetic Loss Tangent.
To calculate the Wavelength at the given frequency, click the Calculate button adjacent to the
Wavelength units. This updates the field for the wavelength.
Once you wave calculated or entered a wavelength, and selected or specified for material values,
you can use the Calculate button adjacent to the Frequency units to calculate a frequency.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
10 - HFSS Transient
HFSS Transient includes two solution types within HFSS. It employs a time-domain ("transient")
solver. Typical applications include, but are not limited to:
l Simulations with pulsed excitations, such as ultra-wide band antennas, lightning strikes,
electro-static discharge;
l field visualization employing short-duration excitations;
l time-domain reflectometry.
The interface of HFSS Transient is much like the Terminal Driven solution type in the frequency
domain. The geometry creation and the mesh are almost identical. Boundary conditions and
definitions of ports or incident waves are almost the same, except for some restrictions in cases
where certain frequency-domain options do not apply in the time domain. Therefore, you can often
change an existing Terminal Driven design into a Transient design and vice versa. (Note: before
doing so, you must remove the setups and solutions.)
l Materials cannot have arbitrary frequency dependence in a time-domain analysis. For lossy
dielectrics, a Debye model is applied to ensure that the loss remain physical across the
spectrum. For lossy metals, a Padé approximation is used for the same reason.
l When lossy materials touch a port, the port solver will launch an excitation that fits the
lossless case. This is inherent to most time-domain solvers. The 3D part of the simulation will
take losses into account correctly.
l Spatially dependent material properties can be specified through user-defined variables in
HFSS. Spatially dependent materials are usually applied for modeling dielectric lens,
dielectric waveguides, substrates with graded doping profiles, and graded-index fibers.
For example, to set the dielectric permittivity of a Luneburg lens, you would create a variable, as
shown in the following figure:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
You would then assign the variable value to the material in View/Edit Material:
HFSS Transient current design allows ISODIEL and ISODEBYE materials to be spatially
dependent. NPOLEDEBYE (poles and residues input from GUI) materials are NOT allowed to
be spatially dependent because such models assume homogeneous material properties. The
poles and residues are input from the GUI and there is no pole fitting involved. A fixed set of
poles and residues cannot be used for inhomogeneous materials.
l The Analysis Setup for the transient solver is different from that of the frequency domain.
Two types of analysis setup are offered:
a. Transient Network Analysis solution types - excitations are identical on all active ports
and are simulated one at a time to facilitate the data collection. Saved fields can be
visualized, and voltages and currents can be monitored. Your choice in setting the
Transient solution type affects the options for the setup. If you select Transient
Network Analysis the setup includes a tab for the Excitation for the simulation.
b. Transient Composite Excitation solution types - Different ports can have different
excitations. All Active excitations are launched in one simulation. No S-parameters or
TDR results may be available, but saved fields can be visualized, and voltages and
currents can be monitored.
l Fields will only be saved on pre-selected surfaces, because saving all 3D fields for all times
would take more disk space and I/O time than generally desired.
l If you change the size of the radiation boundary for a Transient simulation, you should
expect to see changes in delay for far field results. This is because there are two origins of
system for transient: one for space and one for time. For space, the original is defined the
same way as frequency domain. For time, the original is located a point infinitely far away.
This choice of this time origin is logical because if you place the origin at the original of a
space system (in this case the center of air box) then there will be very very long time delay
for every transient far field. So for the cases we have here, when air box is larger, the
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
distance from the air box (or current source) is shorter to the time origin. Therefore we are
expecting to see different time delays as radiation boundary size changes.
Related Topics
1. Click HFSS>Analysis Setup>Add Solution Setup to open the Transient Setup dialog
with the General tab selected.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Otherwise, the mesh for the transient simulation is generated by a regular frequency-domain
simulation. For that simulation, the software decides on the appropriate frequency at which to
perform the adaptive passes. It uses mixed element orders and the iterative solver.
For Field Visualization solutions, you specify a Maximum Delta Energy for convergence
per pass.
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The Input Signal tab lets you select the Function set and other parameters. The profile
includes two plots. The upper plot shows the excitation of interest given the currently specified
parameters. The lower plot shows the energy spectrum of the upper plot
2. You specify the function to use for the Profile by selecting from the drop down menu.
The wave plots are updated if you select a different function or edit the parameters.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
1. Set the parameters for the selected Broadband Pulse or TDR function.
The following table lists the available functions and the parameters that apply to the upper plot.
The energy spectrum plot parameters are always Frequency and Max Frequency.
Upper Plot
Function Description
Parameters
Broadband Min Freq. A time profile that has as strong spectral content between the Min and
Pulse Max frequencies. This can be used for such purposes as extracting S-
Frequencies
parameters in that frequency range.
extracted
A Min Freq. of 0 Hz. is allowed. This changes the shape of the pulse.
Max Freq.
TDR Rise Time This resembles a Sweep with a Min Freq. of 0 Hz. For convenience,
however, this time profile is specified by the rise time rather than the
Frequencies
frequency range. This also enables TDR output.
extracted
The rise time is defined as from 10% to 90% of the peak signal value.
TDR
Midpoint TDR Midpoint is the time where the input TDR signal is at 50 % of the
peak value.
Sync
The Sync check box lets you automatically synchronize the signal
midpoint and rise time such that minimum allowed midpoint is used for
a given rise time or the maximum rise time for a given midpoint. If you
leave the box unchecked, you can specify a different delay. If the delay
is not valid, the dialog does not close, and you are prompted to provide
a value.
You can utilize the TDR Midpoint feature for consistent results when comparing input signals
with different rise times. One way to do this is to delay the TDR input signals so that the midpoint
of the rise time always occurs at the same time point in the simulation. The major peaks and dips
of TDRz for the different rise times will typically be aligned and the main differences of the
results is the extra resolution obtained with a shorter rise time. For example, if you want to study
the TDRz signal on a device for the rise times 30ps, 40ps, and 50 ps request a TDR Midpoint of
100ps for each signal by unchecking the sync button. Note that 100 ps is the smallest allowed
midpoint for the slowest rise time - 50 ps.
The smallest midpoint allowed is 2 times the rise time to better capture the tails of the gaussian
pulse used for the simulation. When sync has been checked the software automatically selects
the minimum midpoint allowed for a given rise time or the maximum rise time allowed for a given
midpoint.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Changing the delay invalidates solutions for the given solution setup.
Related Topics
1. If you select the Auto Terminate radio button, you can also edit the Steady State Criteria
value. The Transient Solver can run until the steady state criteria is reached. The value is
related to the maximum field remaining in the computational domain at a given time. When
the maximum field has fallen to this fraction of its all-time high, the simulation is considered
complete and the analysis stops.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
2. Optionally, you can also specify and At most limit, given in either a Time or periods, or as an
At least limit, given in either a Time or periods.
Related Topics
Such lists are convenient for specifying the most relevant components.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
If lists exist, you can also choose when to Start saving fields, the save interval, and specify the
Maximum Number of Samples.
Transient solutions support plotting rE, a real vector versus time, in reporter. Patterns and 3D plots
will also be supported.
Related Topics
For wave ports, you specify "Active" using the check box on the General tab for the excitation.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
For an incident wave source, you use the Active or Passive radio buttons on the Transient Tab.
You can also specify Magnitude and Delay..
For excitations in HFSS Transient Composite Excitation solutions (and not HFSS Transient
Network solutions), if you select Active, you can specify additional parameters for the excitation.
The Transient Composite Excitation Solution type has more time profiles. In this case, the time
profiles are defined as part of the excitations, because excitations can have individual profiles in a
Composite Excitation solution analysis. The profile includes two plots. The upper plot shows the
excitation of interest given the currently specified parameters. The lower plot shows the energy
spectrum of the upper plot. The lower plot parameters include the Min and Max frequencies.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The following table describes the parameters for the upper plots.
Upper Plot
Function Description
Parameters
Broadband Min Freq. A time profile that has as strong spectral content between the Min and
Pulse Max frequencies. This can be used for such purposes as extracting S-
parameters in that frequency range.
Frequencies
extracted A Min Freq. of 0 Hz. is allowed. This changes the shape of the pulse.
Max Freq.
Data Set Amplitude See Adding Datasets for a description of how to create a dataset.
Max Freq.
Expression Expression For lightning strike simulation, it is convenient to define the pulse shape
as an equation or algebraic expression. An expression can contain: all
standard expressions containing the intrinsic time variable (time),
HFSS intrinsic function expressions including dataset references, and
any user defined variable and dataset (pwl(ds, time)) for the design.
Max Freq.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Upper Plot
Function Description
Parameters
Magnitude An expression cannot contain spatial variables (that is, x,y,z, phi, rho or
theta).
Delay.
Gaussian T0 The T0 parameter specified the start time of the pulse with the given
Width and Amplitude.
Amplitude
Width
Harmonic Ramped The harmonic displays as a regular sine wave.
Periods
Amplitude
Frequency
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
For Transient:
l Scaling and delay time can be set on the input signal for each excitation. This appears only in
Transient Composite Solution, not Network Analysis. Scaling is a unitless multiplier, and
delay time is in appropriate time units.
l Changing scaling or delay time will invalidate solutions.
l Scaling and time delay are passed to the solver and used for the simulation.
l Legacy projects set the scaling to 1 and time delay to 0. These are also used as the defaults.
Related Topics
In Transient Network, you can solve the single-ended matched terminal problem. HFSS Transient
uses the same post processing algorithms that HFSS uses to compute the differential and common
modes for spectral values. In addition, a separate algorithm computes the differential pairs values
for transient data. You can switch between single-ended and differential views of both spectral and
transient data. Renormalization of spectral data is supported, but renormalization does not apply to
transient data.
The dialog for transient Differential pairs includes columns for Enabled and Matched. Passive ports
are not shown in the diff pairs setup dialog.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The table row shows the check box for the newly defined pair as Enabled. Unchecking the box
disables the definition for that pair. This can be useful if you later want to redefine terminal
normalization, without having to remove the defined pair altogether.
A check box for "Matched" for each differential pair indicates whether to use matched or differential
and common impedances. This Matched check box also appears in driven terminal designs and
uses the same postprocessing semantics. Matched is the "natural" in general frequency dependent
characteristic impedance of the line. For multiple terminals it describes the coupled nature of such
lines and is therefore a dense matrix relating voltages and currents on the line. A matched terminal
project is analogous to an unrenormalized wave port in driven modal where the s-parameter is
referenced to the 'natural impedance' of the port cross section. If you unselect Matched, you
renormalize to a set impedance for the diff or common modes.The transient solver uses the
Matched value when the Design setting "Apply when solving" is selected.
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
If your design contains differential pairs, you can select whether to solve all excitations so that
single-ended data can be converted to differential in post processing, or to solve differential modes
only.
Related Topics
1. To enable the display of transient data on the Transient tab, you must first select Transient
from the Simulation drop down menu.
2. Then selecting from the Show drop down menu, you can select Input, Output, TDRz or Field
Residual to display.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
3. You can select which time step to display from the drop down, or check Show All.
4. To export the transient data, click Export. This opens File browser winder that lets you
specify a File name, location, and data format.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
With Transient selected, the Quantities include Input and Output related to the terminals in your
design, as well as TDRz and Residual.
For Transient Network Solution type designs, if you select Spectral, the Category and Quantity lists
offer different selections:, including Terminal S Parameters, VSWR, and Port Zo.
Related Topics
Creating Reports
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
menu is shown for transient and spectral parameters, and allows you to switch between the two
representations. The menu does not appear if differential pairs are not defined.
If the Design Setting "Apply when solving" is in force, it will be restricted to 'Differential Pairs' if they
are present and 'Single-Ended' otherwise.
For the Transient solution (as opposed to Spectral), selecting "Differential Pairs" will limit the
selected quantities to "input, output, and TDR". For the Spectral solution, all quantities will be
available.
As with single-ended S parameters, post process differential pair values will not be available until
the solve completes. Post process differential transient signals may be available depending on the
method produced by the solver group.
The Transient Display supports the transformation between single-ended and differential transient
signals under the same circumstances as the reporter.
Related Topics
Creating Reports
1. Add a radiation boundary. Radiated field calculations will only be done for designs with
radiation boundaries.
2. If a radiation boundary is present the transient Solve Setup contains the Radiated Fields
tab with a "Save time domain radiated fields" check box. Select this option to make radiated
fields available from a given setup. This applies to Transient with or without Network
Analysis.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
3. Under HFSS>Radiation, you can Insert Far Field Setup> Infinite Sphere. This menu is
enabled for designs with radiation boundaries, even if no setups are saving radiated fields.
The setup dialog resembles the one for frequency domain, but without the Radiation Surface
tab. Use this dialog to set up the Theta and Phi sampling and, if needed, the local coordinate
system. You can create multiple Infinite Sphere setups in a single design.
4. Once you have created a far field setup AND at least one setup has "Save radiated fields"
selected, the Results menu will include Create Far Fields Report, with all submenus as in
Frequency domain.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
For Rectangular Plot, Rectangular Stacked Plot, and Data Table, the default is "Time" as the
primary sweep, with Theta and Phi in Families set to single values corresponding to the first
sample point.
For all other plots, the primary and secondary sweeps will be Theta and/or Phi, as in Frequency
domain, and the Time is set to a single value - the start time.
5. In the Report dialog, the Solution selection includes only setups with "Save radiated fields"
checked. The Geometry selection will include all far field Infinite Sphere setups. The
Categories include rE, Variables, Output Variables, and Design. The rE quantities are as
for frequency domain, but all quantities will be real.
No matter what type of plot is generated, you can access the Time sweep and change the
sampling, as with Field reports in Transient.
For 3D patterns, you can overlay the pattern on the geometry, and to animate versus time, as is
done in frequency domain.
Once plots have been created, the reporter caches the base radiation field calculation. This
means that subsequent plots will be generated more quickly. If you change the radiation setup,
or invalidate solutions, the cache is cleared and the next plot takes longer.
For Transient Network Analysis, the radiated fields are based on the setup in Edit Sources. If
you change the source excitations that forces recomputation of the radiated fields.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Related Topics
Creating Reports
Hardware Requirement
GPU acceleration in HFSS Transient has been developed for Nvidia cards and is officially
supported with the Tesla series. We highly recommend Nvidia Tesla cards for the best
performance when using several cards on one machine to solve either multiple variations (DSO) or
excitations (HPC) in parallel which is referred to in this document collectively as distributed.
Notes: nVIDIA Tesla M2090 (Not supported in Release 17) is previous generation (code Fermi)
GPU card, doesn’t work for Workstation since it has no fan for active cooling but need server with
GPU cooling solution (passive cooling) similar to the nVIDIA Tesla K80.
To get the best performance, the GPU used for running simulation jobs should not be attached to
any display. Only GPU cards with CUDA Compute Compatibility 2.0 and above should be used. To
improve the speedup of transient field visualization, you should install GPU cards on a system with
PCI-E 3.0 slots. A mixture of interface cards with lower PCI-E versions may result in the data not
being transferred from GPU to CPU at the highest speed.
1. After you install GPU cards and Nvidia graphics drivers, you should be able to find the cards
in Windows Display Manager.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
To improve the performance of GPU acceleration, it is recommended that you turn off the Error
Correction Code (ECC) support by the -e 0 option of nvidia-smi. New ECC settings will be
effective only after system reboot.
4. (Optional) For remote execution of GPU accelerated jobs (e.g. through Windows Remote
Desktop Connection or RSM options in HFSS), it is necessary to turn on the Tesla Compute
Cluster (TCC) mode by the -dm 1 option of nvidia-smi. New TCC settings will be effective
only after system reboot. This step is unnecessary if you run HFSS Transient from a local
machine. Please note that only Tesla cards support TCC. You cannot run GPU accelerated
jobs on remote GeForce and Quadro cards.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
5. (Optional) For users who want to run multiple GPU-accelerated jobs on one machine
through distributed mode, it is required to install Nvidia Tesla cards with EXCLUSIVE_
PROCESS support. Using the -c 3 option of nvidia-smi, one can set GPUs in a system to be
Exclusive_Process. HFSS Transient relies on this compute mode to assign each simulation
job to a dedicated GPU card. Please note that GeForce and Quadro cards do not support
EXCLUSIVE_PROCESS. Therefore, they should not be used for GPU-acceleration of
HFSS Transient in distributed mode.
6. (Optional) Using -q option of nvidia-smi, one can check if the compute mode is set properly.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
If the computer system has both Quadro and Tesla cards, please read carefully the next section
for setting up a Maximus platform.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
When both Quadro (600, 2000, 4000, 5000, or 6000) and Tesla (C2075 and above) cards exist in a
machine, the system is an Nvidia Maximus system and GPUs can be dedicated to graphics or
compute tasks.
1. Once Nvidia graphics drivers are installed for a Maximus System, the icon of Nvidia Control
Panel will be available on the Windows Taskbar. Click the icon to launch Nvidia Control
Panel.
2. It is necessary to ensure there are GPUs visible for HFSS Transient. After the following
setting to have both cards visible, HFSS Transient will be able to automatically grab Tesla
K20c for GPU acceleration instead of Quadro K5000, because the latter is attached to a
display and other processes in the system may use it for graphics acceleration. If only Tesla
K20c is visible (Quadro K5000 unchecked), it will be used for GPU acceleration. If only
Quadro K5000 is visible (Tesla K20c unchecked), it will still be used for GPU acceleration
even with a display attached.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
CUDA_VISIBLE_DEVICES=0,1
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
If the variable does not exist, all CUDA devices are visible in a system by default. HFSS
Transient will only run on visible GPUs not attached to displays. However, if only one GPU
exists in a system and it is used for both compute and display, HFSS Transient will still grab it for
acceleration.
2. The Maximus setup is complete through Steps 1 to 3. As an example, the following figure
illustrates one hf3d process running on Tesla K20c and one hfss process using Quadro
K5000 for graphics acceleration.
1. After you install Nvidia GPU cards and graphics drivers, you should be able to find the cards
by the command.
/sbin/lspci | grep -i nvidia
You can also use the following command to check if GPU cards can be recognized by the
system.
/usr/bin/nvidia-smi
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
2. (Optional) The setting of GPUs to disable ECC (for performance), enable TCC (for remote
execution), and enable Exclusive_Process (for GPU-distributed) are similar to Windows.
You need the administrative right to make such changes.
sudo nvidia-smi -e 0
sudo nvidia-smi -c 3
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
License Options
Users with HPC packs can use GPU acceleration for HFSS Transient. The maximum number of
GPUs to be used on a standalone machine or for all machines in a cluster is limited by the number
of HPC packs.
If the number of simulation jobs exceeds the number of GPUs in a system, the excessive jobs will
fall back to CPUs and will be accelerated by up to 8 CPU cores for each job.
To turn on or off GPU acceleration, click Tools>Options>HPC and Analysis Options and select
the Options tab. Click on the value of Enable GPU and toggle it to either True or False.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Enabling GPU-Distributed
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
GPU-DSO in HFSS Transient can be used either for parametric sweep (Variations) or
Transient Network analysis of multiport networks (Transient Excitations).
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
In the following figure two simulation jobs are allowed to run on the local host, or up to two
GPUs can be used for acceleration depending on the availability of licenses and GPU cards.
Whether GPU is used for acceleration can be checked by viewing the Solutions dialog, Profile
tab. If a GPU is successfully locked for the use by an hf3d process, the profile will show the
GPU's CUDA device ID and its name.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Otherwise, the profile will indicate the fallback to CPUs. More information about why GPUs are
not available for acceleration can be found in the HFSS Transient log file. See further
discussion under Step 5 of Setting HPC and Analysis Options.
GPU acceleration of HFSS Transient can be toggled by the -batchoptions command line
argument:
EnableGPU=[0/1].
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
11 - HFSS-IE
HFSS-IE is a fullwave Integral Equation solver that calculates the "currents" on the surfaces of the
objects in the model - both finite conducting and lossy dielectric objects are allowed. HFSS-IE is
designed for large open problems. Application areas include:
HFSS-IE features:
l Works from within the standard ANSYS Electronics Desktop, sharing the GUI and the same
3D modeler and reporting features.
l Naturally open - no air volume or ABC needed.
l Multiple mixed near field and far field links and plane waves are permitted. The only
restriction is that incident waves (NF, FF, or plane) cannot coexist with ports.
l Support for infinite ground plane.
l Supports ground plane apertures.
l Supports lumped gap and incident wave excitations.
l Supports discrete and/or interpolating frequency sweeps.
l Supports mesh link which means you can use the current mesh of different design or project.
HFSS uses the finite element method (FEM) to solve for the electromagnetic fields in the solution
region. It meshes over the entire solution volume and solves for the electric field throughout that
volume.
HFSS-IE 11-1
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
HFSS-IE uses an integral equation (sometimes called method of moments = MoM) and solves for
the currents on surfaces of objects. It creates a triangular surface mesh on all objects - it solves for
the currents or equivalent currents on conducting and dielectric objects. The IE technique is by
default an "open model" technique so no ABCs are needed. It can handle closed spaces, but that is
typically not where it will be used. In addition HFSS-IE includes a true infinite ground plane.
Note that HFSS-IE solutions may not be reliable for the cases with antennas inside a cavity type
structure.
Related Topics
HFSS-IE Options
Assigning Excitations
HFSS-IE 11-2
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note After a period of idleness of 10 minutes, HFSS-IE gives up its license. A renewal of activity
automatically requests a license. Such idle notifications do not occur during solves.
The new design is listed in the project tree. It is named HFSS-IEDesignn by default, where n
is the order in which the design was added to the project.
By option, you can also set General Desktop configuration option to Insert a design of type
HFSS-IE by default when creating a new project. See General Options: Desktop Configuration.
HFSS-IE 11-3
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The 3D Modeler window appears to the right of the Project Manager. You can now create the
model geometry.
Note Click the plus sign to the left of the design icon in the project tree to expand the project tree
and view specific data about the model, such as its boundary assignments.
Related Topics
Perfect E Represents a perfectly conducting surface. This resembles the HFSS Perfect E
boundary, but does offer selecting an infinite ground plane.
Finite Represents an imperfect conductor.
Conductivity
Infinite Represents the effects of an infinite ground plane
Ground
Plane
Half Space Represents a background consisting of a dielectric half-space, for example, an
antenna at sea level.
Aperture Represents holes in the design.
Impedance Represents a resistive surface.
Anisotropic Represents a boundary condition used to replace a surface a planar screen or grid
Impedance with periodic geometry.
Lumped Represents any combination of lumped resistor, inductor, and/or capacitor in
RLC parallel on a surface.
Layered Represents a structure with multiple layers as one impedance surface.
Impedance
Related Topics
Assigning Boundaries
HFSS-IE 11-4
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Modifying Boundaries
Deleting Boundaries
Reassigning Boundaries
Reprioritizing Boundaries
Lumped Represents an internal surface through which a signal enters or exits the geometry.
Port
Terminal Represents a terminal. You can assign terminals manually or automatically.
Plane Represents a wave that propagates in one direction and is uniform in the directions
Incident perpendicular to its direction of propagation. HFSS-IE supports regular propagating
Wave wave, evanescent, and elliptically polarized plane waves.
Far Field A Far field wave is sufficiently far (that is, usually more than a wave length distance)
Wave from an antenna to approximate as a plane wave. Far field waves are mostly
homogeneous.
Near A Near Field wave is close enough to the antenna source for near field effects to occur,
Field typically within a wave length. Near field waves tend to be evanescent, that is, non-
Wave homogeneous.
After assigning an excitation, you can modify it in some of the following ways, if applicable to the
excitation type:
HFSS-IE 11-5
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The Solution Setup dialog box appears. It is divided among the following tabs:
You specify the IE Solver type as ACA (the traditional method) or as MLFMM,
which is superior than ACA for models with large FE-BI surfaces. The MLFMM
solver option provides a more efficient solution to certain classes of scattering
problems. The MLFMM solver is typically more efficient (in memory and speed) than
the ACA solver for problems having electrically large, mostly smooth, scattering
surfaces which are comparable in all three dimensions.
The Enabled check box on General tab permits to you to disable a setup so that it does not run
when you select Analyze All.
HFSS-IE 11-6
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
5. Enter the Solution Frequency and select the frequency units from the pull down list.
6. If you are performing an adaptive analysis, enter 2 or more passes in the Maximum
Number of Passes box.
For driven problems HFSS-IE always requires at least one adaptive pass. Entering 1 will also
bypass adaptive analysis, generating a solution only at the solution frequency you specified.
7. If ports exist, accept or set the Maximum Delta S per pass. If ports do not exist accept or set
the Maximum Residual Error for convergence per pass.
Maximum Residual Error is a stopping criterion for the adaptive solution. If the residual error
is less than this value from one iteration to the next, the adaptive analysis stops. Otherwise, it
continues until the requested number of passes is completed. In HFSS-IE this is an absolute
value that functions like the Maximum Delta Energy, a relative value in HFSS that do not have
ports. The default is 0.001.
8. The lower right corner also contains a button for HPC and Analysis options. Here you can
select or create an analysis configuration.
9. Click the Options tab.
Under the Options tab of the Solution Setup dialog box, you can edit the following settings:
Do Lambda Refinement
Solver Types lets you select one of the following solver options:
You can specify the IE Solver type as ACA (the traditional method) or as MLFMM, which is
superior than ACA for models with large FE-BI surfaces, and also works for HFSS-IE designs,
and IE regions. The MLFMM solver is typically more efficient (in memory and speed) than the
ACA solver for problems having electrically large, mostly smooth, scattering surfaces which are
HFSS-IE 11-7
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
comparable in all three dimensions. For a more detailed discussion, see MLFMM Usage
Guidelines.
Use PO Solver - for designs with a plane incident wave, far field wave, or near field wave.
Use IE Solver optionally uses a distributed memory paradigm to solve large problems by
spreading the memory use across multiple machines in a cluster. Note that shared memory
parallel in combination with distributed IE is supported. That means a distributed solve can use
multiple threads, based on the HFSS-IE solver option, Number of Processors Distributed. For
Linux, you can set the Remote Spawn command to use, RSH, or SSH (the default), on the
HFSS-IE Solver Options.
10. Under the Advanced tab you can specify whether to Import the mesh from another design
or project that has an identical geometry.
11. Under the Expression Cache tab of the Solution Setup, you can edit the following
settings:
Adaptive Options: whether to use Output Variable Convergence (output variables must be
defined for this to be enabled.)
Also use selected expressions for convergence. Checking this enables the radio button and
field for either Max Delta or Max Percent Delta.
For expressions in the cache, you can directly edit the name, and, by clicking the Intrinsics field
for an expression, you can edit the sweep values to which the expression applies.
Related Topics
HFSS-IE Feature
HFSS-IE 11-8
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
To specify the size of wavelength by which HFSS-IE will refine the mesh:
1. Under the Options tab of the Solution Setup dialog box, select DoLambda Refinement.
This enables the Target field and the Use free space lambda check box.
2. Enter a value for the wavelength in the Target field or accept the defaults.
If you want the initial mesh to be refined based on the wavelength in free space, select Use free
space lambda. Material-dependent lambda refinement will be deactivated.
Note Changing the Lambda refinement target invalidates any solutions that were performed with
the previous lambda refinement.
If an object is highly conductive, very little energy will penetrate into it, so it does not need a
dense mesh. In such cases, free space mesh is applied.
Dielectric materials are not allowed with the PO solver. PEC and finite conducting objects yields
the same answers. The design cannot contain an Infinite Ground Plane or an Aperture Boundary
condition. If the design contains any conducting boundary other than PEC, for example: Finite
Conductivity, Impedance, Lumped RLC or Layered Impedance, then a warning message says that
"The PO solver only handles PEC boundaries; all other boundary conditions, including finite
conductivity, will be treated as PEC."
You control the option by using the Use PO Solver radio button on the Options tab of the HFSS-
IE Solution Setup. You can select either Use IE Solver or the Use PO Solver option.
HFSS-IE 11-9
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Related Topics
To use the distributed memory solution in HFSS-IE you will need to install HFSS and MPI software
from one of the supported third party vendors on all the machines you intend to use. You may need
to set passwords depending on the MPI vendor for authentication on the machines. Settings within
HFSS are used to turn on distributed memory solutions and define the list of machines you intend
to use. Detailed instructions about how to get distributed memory HFSS-IE solutions up and
running are outlined in the following sections.
You must install HFSS on all the machines you intend to use during the HFSS-IE distributed
memory solution process. The installation locations for HFSS must be identical and the machines
HFSS-IE 11-10
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
must be uniform: all 64 bit; all Windows or all Linux. The machines must all use the same
interconnect.
In addition, on Windows, you must install one of the supported versions of MPI from either Platform
Computing (default) or Intel. Be sure to install the same version of MPI on all machines in your
cluster. (Solving on a single Windows machine does not require MPI installation. And users
running on Linux do not need to install MPI manually).
You will need to set the password you want to use for your MPI runs on all the machines in the
cluster. You can either use the batch command provided by ANSYS to set your password or refer
to the MPI vendor's documentation.
By default, the MPI vendors use the fastest interconnect by default (typically InfiniBand is faster
than Ethernet). If you want to override the default behavior and force the use of Ethernet, you can
set the ANSOFT_MPI_INTERCONNECT environment variable to “eth” for the job.
Tight Integration of Platform MPI with Windows HPC for MPI Based Solves
Jobs running on a Windows HPC Cluster and using "Platform Computing" as the MPC Vendor,
ANSYS Electromagnetics software now works with Platform MPI to use the Windows HPC cluster
to launch remote processes. (Linux is not affected by this change. For Windows, the change does
not apply if the Windows MPI vendor selection is "Intel.")
Although registration of user passwords with Platform MPI is no longer required in this situation, if a
user's password is registered with Platform MPI, the registered password will be used. This may
result in job failure if the user's password is changed from the registered password. For this reason,
we recommend that user passwords be unregistered from Platform MPI on Windows HPC cluster
hosts.
If the analysis does not run as a Windows HPC job, the same requirements as for the previous
release apply. That is, that Platform MPI must be installed on each cluster node, including the
Platform MPI Remote Launch service, which must be running on each cluster node. The user
password must be registered on each node.
HFSS-IE 11-11
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Related Topics
After setting up your HFSS-IE project normally you will need to set the list of machines used for the
distributed memory solution process and turn on the distributed memory option.
Related Topics
After installing MPI on your machine from a particular vendor such as Platform Computing or Intel
you need to set which type of MPI you are using in HFSS. Go to the Options tab of the
Tools>Options>HPC and Analysis Options dialog to set the MPI Vendor type.
HFSS-IE 11-12
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Related Topics
Running Distributed Memory Solutions from the Command line for HFSS-IE
You can run distributed memory HFSS-IE solutions from the command line using the -BatchSolve
option. Set the distributed memory solve setup option before running the simulation and use the
"BatchSolve" flag with the "Distributed" and MachineList" options. For example:
ansysedt -BatchSolve -Distributed -MachineList list="machine1,_
machine2" TheProject.aedt
Note the distributed memory solve setup option can be turned on via scripting if desired.
HFSS-IE 11-13
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Related Topics
Each machine or "compute node" is connected to the other nodes via a "communication
interconnect" and relies on the message passing library (MPI) to exchange data and synchronize
computational tasks. Ethernet, Myrinet and Infiniband are common communication interconnects.
Each node is identified by a unique integer ID or rank number. The local machine is known as the
"Rank-0 node" and is the master. The Rank-0 machine has many tasks including:
l Management of all communication with the HFSS user interface. None of the distributed
machines communicate directly with the user interface but pass all information through the
Rank-0 machine.
l Mesh generation. The mesh is generated only on the Rank-0 machine.
l Disk access. None of the distributed machines access their local discs. The simulation mesh,
intermediate and solution data are passed to and from the distributed machines using MPI.
l Distribution and control of computational tasks on the distributed machines. The simulation
process is dynamic and the Rank-0 machine will determine which of the distributed
machines has memory available to distribute tasks accordingly.
l Post-processing of the HFSS-IE Distributed Memory Solution
HFSS-IE 11-14
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The algorithms used in the distributed memory version of the HFSS-IE solver engine resemble
those used in the non-distributed memory version. The matrix solution algorithms in the distributed
memory version of HFSS-IE have been adjusted to use slightly more memory so that larger
problems can be simulated in less time.
The MPI enabled HFSS-IE solver engine is now multi-threaded. That means a distributed solve
can use multiple threads, based on the HFSS-IE solver option, Number of Processors Distributed.
For Linux, you can set the Remote Spawn command to use, RSH, or SSH (the default), on the
HPC and Analysis Options dialog..If a particular machine has multiple cores and enough memory
you can define this machine several times in the distributed machine list ("doubling up") to take
advantage of the extra cores.
During the "Matrix Assembly" and "Matrix Solve" steps of the solution process the HFSS-IE engine
attempts to distribute memory use evenly. At various points in the matrix solution process the
software will poll the machines in the cluster and determine which machine has the most memory
available and then reserve a block of memory on that machine. If a particular machine does not
have a large block of memory available the memory use on that machine will grow only slowly. If
none of the machines in the cluster have sufficient memory the solution process will terminate and
an error message will be posted to the HFSS message window.
Note If you list the same machine several times in the Distributed Machine Configuration you can
easily overload that machine. For example, consider a setup with the following machines in
the Distributed Machine Configuration
MachineA
MachineB
HFSS-IE 11-15
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
MachineA
MachineA
If you set "Number of Processors, Distributed = 8" this means that you request 24 (=3*8)
processors on MachineA and 8 on MachineB. If MachineA does not have 24 processors
the simulation will be inefficient.
Many factors affect solution time. In general, the solution time will decrease as the number of
compute nodes increases. However, parallel efficiency decreases as the ratio of communication to
computation increases so to some extent you need to match the size of the problem to the size of
parallel machine. Simulating small structures on a large cluster will not be efficient and may take
longer and use significantly more memory than if the structure was simulated on a single machine.
Network interconnect speed and topology can affect performance significantly in homogeneous
clusters. Performance can degrade if machines are "doubled up" to the point of causing memory
bus contention or if the cluster is significantly inhomogeneous and certain faster machines need to
wait for slower machines to catch up to synchronization points in the solution process.
Related Topics
To obtain the best possible performance we recommend the use of a network interconnect that
supports communication speeds greater than 1000MB/sec or higher. Some high performance
interconnects plug into a PCI (Peripheral Component Interconnect), PCI-X (extended), or PCIe
(PCI Express) slot on the system.
HFSS-IE 11-16
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Platform Interconnects
Win32 Ethernet/GiGE
Win64 Ethernet/GiGE (default), Myrinet, Infiniband
Linux Ethernet/GiGE (default), Myrinet, Infiniband
Ethernet/GiGE is the default interconnect on all platforms. You can choose one of the alternate
interconnects by setting the ANSOFT_MPI_INTERCONNECT environment variable to "myri" for
Myrinet and "ib" for Infiniband.
Related Topics
An important step in using a high performance cluster is setting up authentication across machines
in such a way that the machines can be accessed without a password. By default HFSS-IE uses
SSH authentication on Linux to spawn commands on the remote machines but also supports RSH.
The selection of which to use is made on the Options tab of the Tools>Options>HPC and Analysis
dialog.
Related Topics
HFSS-IE 11-17
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
A number of things can prevent distributed memory solutions from completing successfully. This
section provides suggestions to debug problems.
It is often a good idea to set up and run a small simulation with two processes on a single machine
before moving to a large cluster. Using a single machine will allow you to verify that HFSS and MPI
are installed correctly while eliminating problems arising from remote installation, authentication
and firewall settings.
Many problems occur because the MPI software cannot start and run due to authentication and
firewall issues. Please check with your MPI vendor and their end user documentation for
information about how to verify that authentication and firewall settings are correct.
If you are using MPI on Windows from Platform Computing you can test whether MPI will run by
using the "mpidiag" utility:
The tests need to be run in both directions because firewalls may allow communication in one
direction but not the other.
Platform Computing's implementation of MPI on Windows requires that you enter a password on
each machine in the cluster to run MPI solutions.
l To set the password run "mpidiag -s <name_of_machine> -cache -at" and enter the
password at the prompt.
HFSS-IE 11-18
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Recall that HFSS must be installed in the same directory on all machines in the cluster and that the
cluster must be uniform (i.e. all Linux machines, all 64 bit Windows machines)
Verify that the version of the third party MPI software is identical on all the machines and that it is
listed in the table of supported versions above.
Verify that the machine names are correct and that all the machines can be reached on the
network.
Related Topics
HFSS-IE 11-19
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
12 - Layout Editor
The Layout Editor shows the physical realization of a circuit. Layers are used in the editor to
organize and manipulate sets of geometry and other visual indicators.
The Edit Layers dialog stackup contains additional properties of the physical layers, such as
material, thickness, and elevation. Geometrical information on these layers is used to generate
masks for manufacturing.
Related Topics
Layout Dialogs
Drawing a Model
Layout Components
Coordinate Systems
3D Structures
Dielectric Modeling
Printing a Layout
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Shift: Pan
l Shift-Alt: Zoom
— Double-clicking the left-mouse button with the Shift-Alt keys depressed performs a fit-all
operation.
l Alt: Rotate
Double-clicking the left-mouse button with the Alt-key depressed snaps the view to various
predefined orientations. Double-clicking in the screen region at:
— Right -center: orientates the view down the positive Y axis; positive X is to the left (side-
on view).
— Left-center: orientates the view down the negative Y axis; positive Y is to the right (side-
on view).
— Center-top: orientates the view down the positive Z axis with the X axis facing up (top-
down view).
— Center-bottom: the resulting view looks down the negative Z axis with the X axis facing
down (bottom-up view).
— Center: resets the view to a standard 2D Cartesian orientation with X to the right
and Y up.
All object drawing occurs in the plane of the layer. Object manipulation, such as dragging, occurs in
the plane of the object. Drawing in an oblique view places 2D objects on the active layer, even if a
snap occurs to a point that is off-layer. The background grid is drawn at the layer elevation, unless
the view is too horizontal. To select from several vertically-layered objects, use the 'b' key to cycle
through all the objects that exist directly beneath the cursor.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note Local options for a layout may be changed only from the top level of the layout hierarchy,
not from within a subcircuit.
When a new layout is created, options assume their global values, unless there is an installed
default which overrides the global default. Values for a particular layout option can be set locally to
be different from global/installed defaults. Layout options are changed using the Layout Editor
panel of the Tools>Options>General Options dialog.
Related Topics
The following options are set in the Layout Editor panel of the Tools>Options>General Options
dialog.
No project or layout needs to be open to change global options. Changes to global options affect
layout designs that are opened after the changes are made, but do not affect layouts that were
opened before the changes were made.
Note Saving global defaults is not undoable. When global defaults are saved, HFSS immediately
writes them to the registry and then uses these new default values for all subsequent
applications. The only way to revert to previous global values is to once again modify the
default values and then do another global save.
The following buttons control changes made to the global layout options:
l Reset From Global Defaults is used to change the settings of all the tabs to those of the
current Global settings. The reset affects only the dialog contents.
l Reset From Installed Defaults is used to change the settings of all the tabs to those of
the initial-install defaults. The reset affects only the dialog contents.
l OK saves the currents settings of all the tabs to the Global defaults registry. This action is
not undoable and is not scriptable. A dialog appears to allow you to confirm the changes in
the global options by clicking Yes.
l Cancel closes the dialog without affecting the Global default settings. (Clicking No on the
confirmation dialog also closes all dialogs without changing the settings.)
Both the global and local Layout Options dialogs have six tabs. The options on each panel are
much the same for both global and local settings. The differences are:
l Save as Global Defaults is present only for each of the local options tabs.
l Always Show Layer Merging Dialog on the Other panel is present only for global
options.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Fit to Contents on the Display panel is present only for local options.
l The Set based on page extent button on the Advanced panel is present only for local
options.
Related Topics
The following options are set in the Object panel under Layout Editor in the
Tools>Options>General Options dialog. These options control automatic snapping to objects, grid
points and directions.
Drawing
l Draw connection points — When selected, enables the display of pin symbols in the
layout. Unselected by default.
l Label vertices on selected polygons and lines — When selected, enables the display of
labels (Pt_0, Pt_1, etc.) on vertices of selected polygons and lines in the layout. Unselected
by default.
l Color by net — Color geometry by net rather than layer. Colors are assigned in the net list
dialog.
Symbol
l Auto scale — Use the check box to toggle whether to auto scale the axis.
l Scale factor — Scale factor for symbol footprints placed in the layout. Default is 0.1.
l Specifies the method for describing rectangles. Default is to use Two points. Alternative
method uses Center/width/height.
Measurement distances
l Controls whether measurement displays in layout include a Label with units, and also how
many Significant digits are displayed.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Vias
l Suppress non-functional internal pads — When this option is enabled, padstack pads
are affected in the following ways:
— Pads not connected to fill or to traces from the same net are suppressed; they will not
draw and are not modeled
l Render antipad for center point intersection — When this option is checked, antipads
are only rendered when the via center falls within fill material from another net. A via
placed outside of a fill region will not generate a clearance, even if the antipad would
otherwise reach nearby fill regions. When this option is unchecked, antipads are always
rendered regardless as to the placement of the via. The resulting clearance, however, only
appears in fill geometries from other nets that intersect the antipad.
Other
When creating or placing a component initially in the Layout Editor, it is the cursor that snaps to
the target. As you move and place objects, the shape of the cursor changes to indicate the target
being snapped to. When multiple sources or targets are selected, the closest of these will snap to
each other as you create and move objects.
Sources defines the part of the object you are placing that will snap, and Targets defines what is
snapped to. The options you may select under Targets and Sources are not mutually exclusive,
and you may select none, some, or all of them.
The following options are set in the Snapping panel under Layout Editor in the
Tools>Options>General Options dialog. These options control automatic snapping to objects, grid
points and directions.
Constraints
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Snap To Grid — Targets that are not on the grid are ignored. If there are no usable targets
within the snapping distance, the closest grid location is used.
l Snap Across Hierarchy— Any object within the hierarchy becomes a target for snapping;
this does not affect the sources.
Directional Constraint
Distance
Select the distance in pixels within which snapping will occur. default is 20 pixels.
Targets
Select the types of targets to which objects can snap. By default, all targets are subject to snapping
except Any Edge Location and Edge Intersection.
Sources
Select the types of source points that are to be snapped. When Object Center is selected, it is the
center of an object that will snap to a target. For instance, with an arc, when Object Center is
selected, the center of the arc will snap to the nearest target point. By default, all sources are
subject to snapping except Any Edge Location.
All snapping modes can be controlled via the Layout Snaps toolbar, which are active during an
operation.
Related Topics
The following options are set in the Display panel under Layout Editor in the
Tools>Options>General Options dialog. These options control the grid display, the drawing area,
and the drawing mode.
l Major Divisions — By default, the major grid divisions are spaced 10mm apart, and are a
medium grey color. Reset the spacing by entering a new value in the Size box. Select a new
color from the palette that appears when you click in the color rectangle.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Minor Divisions — By default, the major grid divisions are spaced 1mm apart, and are a
light grey color. Reset the spacing by entering a new value in the Size box. Select a new
color from the palette that appears when you click in the color rectangle.
l Background — By default, the layout editor background is white. Select a new color from
the palette that appears when you click in the color rectangle.
l Show Grid Divisions — Toggles the grid display on and off. Default is on.
l Drawing Extent — Specifies the size and extent of the layout. Defaults are Left, -100mm,
Right, +100mm, Top, +100mm, Bottom, -100mm. Scroll bars indicate the extent of the full
drawing area.
l Drawing — By default, the drawing mode for planar objects is to fill them with a
crosshatched pattern. You can also select Sketch Mode (show outlines only) or Solid
Mode (solid fill color)
Layout Editor Options: Selection Panel
The following options are set in the Selection panel under Layout Editor in the
Tools>Options>General Options dialog. These options control the colors and mode for selected
objects.
l Colors — By default, the first object selected is colored bright red, and subsequent
selections turn dark red. Select new colors from the palettes that appear when the color
rectangles are clicked.
l Preview Selection Changes as the Cursor Moves — Changes the color of an object to
the First Selection color as the cursor moves across it, to indicate that the object will be
selected if clicked.
Layout Editor Options: Other Panel
The following options are set in the Other panel under Layout Editor in the
Tools>Options>General Options dialog. These options control dragging, the Merge layers dialog,
and rotation.
l Allow drag on first click — When selected, holding down the mouse button on an object
selects and attaches the object to the cursor. Drag the object to the desired location and
release the mouse button. When unselected, first click to select the object, then click and
hold down the mouse button to drag the object. Unselected is the default.
l Show pin connectivity dialog on drag to matching component — When selected, the
Pin Connectivity dialog appears during a drag to a matching component.
l Show layer merging dialog — When selected, the Merge Layers dialog appears every
time an object with layers is placed in the layout (or in a schematic). When unselected, the
Merge Layers dialog appears only when automatic layer mapping cannot be performed.
See the Merge Layers Dialog. Unselected is the default.
l Show choose technology dialog on new design — When inserting a new HFSS 3D
Layout or Circuit Design, the user is prompted to Choose Technology. This option will
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
suppress the display of the Choose Technology dialog upon the insertion of a new design.
For more information see Inserting an HFSS 3D Layout.
l Specify default technology — Allows the user to select a default technology from the pull
down menu.
l Naming Convention — Opens a dialog that allows the user to control the generation of
port and pin group names when using the interactive commands.
l Rotation increment — During rotation using handles (View > Rotate), objects are rotated
by multiples of this amount. The default rotation amount is 5 degrees. 2D rotations using
"Draw > Rotate" always rotate 90 degrees counterclockwise.
Layout Editor Options: Advanced Panel
The following options are set in the Advanced panel under Layout Editor in the
Tools>Options>General Options dialog. These options control internal tolerance and resolution
values.
l Tolerance — Specifies the tolerance used internally by the layout editor. Distances are
considered equal if they differ by no more than the tolerance value. Default is 1e-9 mm.
Normally, this tolerance should not be changed.
l Arc Drawing Resolution — By default, arc resolution is dynamically adjusted depending
on the zoom factor. You can instead specify a fixed resolution in the current drawing units
(default units are mm).
To change local layout options for a particular layout, select Settings or Grid Settings under the
Layout menu. This opens the Layout Editor panel of the Tools>Options>General Options dialog.
Local options for a layout may be changed only from the top level of the layout hierarchy, not from
within a subcircuit.
When the dialog is accessed via Grid Settings it opens on the Display panel. When the dialog is
accessed via Settings it opens on the Object panel.
Note Saving global defaults is not undoable. When global defaults are saved, HFSS immediately
writes them to the registry and then uses these new default values for all subsequent
applications. The only way to revert to previous global values is to once again modify the
default values and then do another global save.
The following buttons control changes made to the local layout options:
l Reset From Global Defaults is used to change the settings of all the tabs to those of the
current Global settings. The reset affects only the dialog contents.
l Reset From Installed Defaults is used to change the settings of all the tabs to those of
the initial-install defaults. The reset affects only the dialog contents.
l Save As Global Defaults saves the currents settings under all tabs to the Global
defaults registry. This action is not undoable and is not scriptable. The save takes place
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
immediately and does not close the dialog. Use of the Cancel button after Save As
Global Defaults does not restore the registry.
l OK saves the settings of all the tabs to the current layout to be used locally, and then
closes the dialog. The action is undoable and is scriptable.
l Cancel closes the dialog without affecting the local settings of the layout.
Both the global and local Layout Options dialogs have six tabs. The options on each panel are
much the same for both global and local settings. The differences are:
l Save as Global Defaults is present only for each of the local options tabs.
l Always Show Layer Merging Dialog on the Other panel is present only for global
options.
l Fit to Contents on the Display panel is present only for local options.
l The Set based on page extent button on the Advanced panel is present only for local
options. This button calculates a distance tolerance based on the page extent.
Related Topics
Cut — Delete the selected object, and retain a copy for pasting into a layout in the same
application.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Copy — Create a local copy for pasting into a layout in the same application.
Paste — Put the object from the last cut or copy into the layout.
Cycle Selection — Cycle selection of two or more objects that overlap. Each time you click Cycle
Selection, a different one of the overlapping objects is selected.
Invert Selection — Unselect all objects that are currently selected, and select all the other objects.
Copy Image — Create a global copy of the selected objects on the clipboard for pasting into a
different application.
Copy to HFSS 3D Layout — Copy the selected objects to the clipboard and paste into an HFSS
3D Layout Design.
Paste in Place — Paste object to same location, without any X,Y offset/displacement.
Properties — Opens the Properties dialog to view and edit the properties of the selected object.
Deactivate (Open) — Temporarily converts the component into an open circuit. Activate restores
a deactivated component to the circuit.
Deactivate (Short) — Temporarily converts the component into a short circuit. Activate restores a
deactivated component to the circuit.
Pop Up — Switches the active coordinate system (CS) to the next higher level. Relative CSs can
be created within other relative CSs to form multiple relative levels.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Copy Image — Create a global copy of the selected objects on the clipboard for pasting into a
different application.
EM Design Properties — Set EM Design Properties via the EM Design Properties submenu.
List — opens the Design List dialog, which lists the objects in the layout.
Layers — opens the Edit Layers dialog. Also see Configuring a Stackup.
Nets — opens the Layout Editor Nets submenu; the same submenu is also available via the right-
click context menu of the Layout Editor.
Push Down — allows you to move selected design instances down one level. You can move
between a project’s different designs and design instances at will by double-clicking their icons in
the project tree. To move down one level, in the layout from which you want to move, select the
symbol for the design to which you want to move and select Push Down.
Pop Up — allows you to move selected design instances up one level. You can move between a
project’s different designs and design instances at will by double-clicking their icons in the project
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
tree. To move up one level, in the layout from which you want to move, select the symbol for the
design to which you want to move and then select Pop Up.
Cutout Subdesign — creates a new subdesign from extracted data by cutting out a portion of a
Layout using a selection polygon and/or a net selection. Click on the subdesign name to rename
the new design. The original design is not affected by this operation. See Cutout Subdesign.
Group into Subdesign — creates a subdesign by combining all the selected objects in the
current layout. The Project tree will show the subdesign with a default name. Click on the name to
rename the subdesign.
Cross-Probe Schematic — Allows you to cross-prob selected schematic and layout elements.
When both the Layout editor and the Schematic editor are displaying the same design, you can
select one or more component instances and interface ports in both editors. Select the schematic
elements or layout elements to be cross-probed, then select Cross-Probe Schematic. For more
information, see Cross-Probing Elements and Cross-Probing Selected Elements.
Settings — opens the Settings panel of the Options dialog to configure the local option settings
in the Layout Editor. See Setting Local Layout Options.
Grid settings — opens the Display panel of the Options dialog. The settings on this dialog
control the grid in the drawing area. See Layout Editor Options: Display Panel.
Draw HFSS Air Box — invokes the HFSS Air Box drawing tool.
Via Styles — opens the Select Definition dialog box for Padstacks, with the Planar EMvia
padstack selected. See Using the Padstack Editor for information on adding or modifying padstack
definitions.
Pin Styles — opens the Select Definition dialog box for Padstacks, so that you can add a
stackup definition for pins. See Using the Padstack Editor for information on adding or modifying
padstack definitions.
Line Styles — opens the Line Styles dialog box that specifies the fonts to use on the various
layers.
Text Styles — opens the Text Styles dialog that specifies the fonts to use on the various layers.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Measure — invokes measurement mode. The cursor changes to a small diamond shape. Left-click
on any two grid-points to display the linear distance between the two points in the current units.
List
Layout > List opens the Design List dialog, which lists the objects in the layout.
Layout Tab
Layout objects are listed with descriptive information. The following controls are available:
l Each column may be sorted by clicking on the title; clicking multiple times reverses the
order of the sort.
l Each column may be filtered by typing in the editable cell below the header. There are two
choices of filtering: enhanced wild cards or Perl regular expression.
— Enhanced wild card filtering is used to choose which nets are shown in the dialog by
using wild cards and characters; the two wild cards supported are * and ?. For more
information, see Pattern Matching Based on Wildcards.
— Perl regular expression filtering is used with the .xml control file. For more information,
see ODB++ Control File Part Mapping.
l Selecting a row selects that object in the layout.
l Multiple rows can be selected using the shift or control keys.
l The Delete and Properties buttons apply to the objects in the selected rows.
Nets Tab
Nets are listed with descriptive information. The following controls are available:
l Selecting a row selects all the objects in that net in the layout.
l Visible controls the visibility of each net.
l Checking Highlighted causes the objects in that net to be drawn in a highlight color. This
is independent of the selection. Highlighting is maintained between sessions. Un-
highlighted the net objects through the list dialog or by selecting a single object in the net
and choosing the menu option Layout > Nets > Toggle Net Highlight.
l Color is used when the geometry is colored by net or when a net is highlighted. Each net
has an assigned color.
l Delete removes all the items from the net (it does not delete the objects).
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Properties brings up the property editor; only the properties common to all elements in
the net are displayed.
Note Shift-Ctrl-Select on an object in the Layout editor selects everything that is in the same net
as the object.
You can use pattern matching to search for nets. These searches match a text pattern and use
special constructions to represent strings or single characters. The following searches are
supported:
These match a text pattern and use special constructions to represent strings or single characters.
For example:
net* selects all pins in nets that start with “net” and so forth.
net*:1* selects pins with name that start with “1” in the nets that start with name “net”.
A*:3? Selects pins 31, 32, 33, 34 etc in nets A1, ACC, AGND, AGND2 and so forth.
For more information see Nets Window and Regular Expressions in Perl.
Nets
Layout > Nets opens the Layout Editor Nets submenu; the same submenu is also available via
the right-click context menu of the Layout Editor. Use the commands on the submenu to select
nets and view net violations.
List
Opens the Design List dialog with the Nets tab selected. The dialog lists the name of each net,
along with Color and Highlighting controls. Each net has an assigned color. The color is used when
the geometry is colored by net or when a net is highlighted. Each net has a check box to activate
Highlighting. A highlighted net is displayed opaque in Layout3D when transparency is active.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Selects all primitives, vias and pins physically connected to the currently selected items within the
currently active design instance (selections in Layout cannot cross multiple levels of hierarchy).
Vias and pins with plated holes are followed across layers. Connectivity through primitives in
subcircuits and footprints is also followed (unless the subcircuit is a blackbox, in which case it owns
its own independent stackup).
Selects all items on the same nets as the currently selected items.
Toggles the highlighting for all objects in the same nets as the currently selected items.
Starting at the selected objects, the physically connected objects are checked for net violations. An
error is reported for all physically connected objects belonging to a different net and the item in
error is selected.
Starting at the selected objects, the physically connected objects are checked for net violations. As
soon as a physically connected object belonging to a different net is detected, an error is reported
and the item in error is selected. At this point the check stops.
Line Styles
Line Styles opens the Line Styles dialog box. Use the radio buttons to select a line style:
l Click in the Width field for a line style to change the width for that style, including the units.
Press Enter to complete the change.
l Click in the Bend Type field to change the bend type (Corner or Round).
Press Enter to complete the change.
l Click in the Cap Type field to change the cap or line-ending type (Flat, Extended, or Round).
Press Enter to complete the change.
Since a line has nonzero width, its CapType determines how its ends behave:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Extended — Extends the line by its own width past the endpoint you click.
l Flat — Cuts the line perpendicularly at the endpoint you click.
l Round — Ends the line with a semicircle.
The existing technology files define line/trace styles, including a CapType (typically Flat) for each
style. If you select None as the technology type, you'll automatically get a palette of four styles with
a variety of widths, BendTypes and CapTypes.
Related Topics
The attributes "Corner" and "Round" appear in the BendType menu. In addition, the legacy
attributes "Mitered (Legacy)" and "Curved (Legacy)" will also appear if present in the design.
APDPath
l The "Round" BendType is the same as the bend type used in APDPath.
l The legacy APDPath is replaced by a line with a "Round" CapType and “Round"
BendType.
l The APDPaths imported from Cadence APD/Allegro files via File > Import > Cadence
APD/Allegro/SiP, and the APDPaths stored in old adsn files, are regarded as lines with
"Round" CapType and "Round" BendType.
l To change a path Type to "Cadence APD/Allegro:APDPath", change the path Type to
"line". Then set the CapType and BendType to "Round".
Scripting
l Any scripting command that converts any kind of path to APDPath, will convert the target
path to a line with "Round" CapType and "Round" BendType.
l Any scripting command that converts Bend Type of a line to "Mitered" or "Curved", will
convert the BendType of target line to "Corner".
Specifying Line Ending Types
HFSS offers independent CapType settings for specifying the start and end of lines with new trace
rendering.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l There are two separate properties for specifying the ends of a line: "StartCapType" and
"EndCapType".
l You can set EndCapType as "Same as Start", and the EndCapType is binded to
StartCapType.
l If you change StartCapType to Extended, the end cap type will change to Extended as
well.
Text Styles
Text Styles opens the Text Styles dialog box. The dialog specifies the fonts to use on the various
layers. The next four topics provide guidelines to use when assigning a font.
Related Topics
l System Layers - Text does not have to be capable of being plotted. The stackup, service,
and user layers are system layers.
l Plotter Layers - Text must be capable of being plotted. All layers that are not system layers
are plotter layers.
l Stroke - (Hershey) fonts can be mirrored and rotated. A stroke font can be scalable or
nonscalable. To indicate a Stroke font, select its Stroke Font check box in the Text Styles
dialog.
l TrueType - (Win) fonts cannot be mirrored, rotated, or scaled. To indicate a TrueType font,
leave its Stroke Font check box unchecked in the Text Styles dialog.
l TrueType fonts cannot be scaled (enlarged or shrunk in size). The height of a TrueType
font is always specified in points.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l A Stroke Font can be scalable or nonscalable. To indicate that a stroke font is scalable,
specify its height in the current units (cm in the illustration above). The height of a
nonscalable stroke font is specified in points.
l A text style for System Layers must be nonscalable (height specified in points). The font
can be either a TrueType or a Stroke font.
l A text style for Plotter Layers must be scalable (height specified in the current units).
Scalability is available only with Stroke fonts. Stroke fonts can also be mirrored and rotated
(features which are also required for a font to be plotted).
Cutout Subdesign
Cutout Subdesign can be used to filter nets and/or clip a design by a polygon. To process the
operation within the active design, choose "Use Current". To create a new design choose "Create
new" and, optionally, select whether the result should be created as a sub-design.
l If a polygon is selected before the operation is performed, it becomes the default extent
polygon.
l If the selection is to be entirely by net, then no geometry should be selected before
invoking the operation. If multiple polygons are selected, the union of these polygons
forms the extent.
l If no data is selected (i.e., there is no selection polygon and nothing has been selected in
the net table) then a new design is created with a stackup identical to the source design,
but no geometry is transferred. Note, however, that “filter geometry by net” must also be
selected.
l “Cutout Subdesign” will work on hierarchy and footprints, however, everything is
“flattened” into the sub-design that is created.
Select Layout > Cutout Subdesign to open the cut out dialog:
l Destination parent design: Select "Use Current" to process the cutout in the active
design. Or, from the pulldown list, select an existing top-level design or use "Create new
parent Circuit Design" or "Create new parent EM Design". Only top-level designs with a
stackup that matches the source design appear in the drop-down list. If a new design is
created, it takes its name from the original source design.
l Create the cutout as a sub-design within the parent: When selected, data is copied to
a new sub-design within the parent; otherwise, the extracted data is inserted into the top-
level design.
l Filter geometry by net: When selected, the net data is used to control the data selection
and clipping; otherwise, the data in the net table is completely ignored.
l Nets:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
<no net trace>: Refers to trace geometry (wide-line or plugin) without a net
association.
— Clip at extents: When selected, the net is clipped against the extent polygon.
l Net name filter: Limits the data displayed in the net table. Use the filter to build up a
selection of nets. The filter has no affect on the final outcome of the operation. For example,
if "Y" is entered, only those nets beginning with the letter "Y" are displayed; if "C*0" is
entered, then all nets matching the wild-carded pattern are displayed. Nets that are not
visible retain their "include" and "clip" settings.
l Extent polygon: Name of the extent polygon.
l Reset: Resets the extent polygon back to the original polygon; if there was no original
polygon, then reset clears the auto-generated polygon.
l Create a sub-design for the included region: Only applicable if you are creating a sub-
design within the top-level design and after an extent polygon has been defined. This option
represents the typical use of the Cutout Subdesign tool. The sub-design inserted into the
top-level design consists of the data contained within the extent polygon (and filtered by the
net selection). All geometry within the nets that is designated as "clipped" will be truncated at
the boundary of the extent polygon.
l Create a sub-design for the excluded region: Same as the previous option, however,
the sub-design will contain the data outside of the extent polygon, filtered by the net selection
and clipped as necessary. It is possible to select both options; in which case two sub-designs
are created: one of data within the extent and the other of data outside of the extent.
l Auto Generate Extent: Displays a second dialog that permits one to create an extent
polygon derived either from the non-clipped nets selected or the current extent polygon. The
auto-generated polygon is displayed in the Layout (though it may be difficult to see). It is
possible to execute this option as many times as one wishes, adjusting the parameters as
needed.
— Data source: The auto-generated extent can use either the current polygon selection or
the non-clipped nets as the basis for generating a new extent polygon.
— Cornerstyle: The type of corner to insert in the expanded polygon. Where a "corner" (the
simple intersection of the offset edges) can result in rather poor results if there are acute or
near-acute angles in the source polygon.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Display — Control the display by selecting the check box of the following: Status Bar, Project
Manager, , Message Manager, Project Manager, Properties Window, Progress Window,
Component Manager, Layout Window.
Variables —View the project and design variables with their values in a grid view.
Rotate — Holding down the left-mouse-button and dragging will rotate the view; the same double-
click options hold true for the Alt-drag editor display options. For more information see Layout
Editor Display.
Zoom — Change the zoom display by selecting one of the following: Zoom In, Zoom Out, Zoom
Area, Zoom Previous.
Fit or Pan — Fit or Pan by selecting: Fit Drawing, Fit Selection, Pan.
ResetOrientation — Reset the rotation to a simple top-down view: positive Y up, positive X to the
right.
FasterTransformations — Disable the rendering of padstacks (vias and pins) during panning,
zooming, and screen rotations; this increases the responsiveness of these interactive operations.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Stretch — Selecting Stretch Z opens a dialog that allows you to apply a scaling factor. Dragging
the slider applies a Z scaling factor to the current view. If Dynamic is selected, the scaling happens
in real time otherwise it is applied when OK is chosen.
Primitive — Opens a submenu that allows you to create a primitive object in the Drawing Region
of the Layout Editor.
Void — Opens a submenu that allows you to create a void in the Drawing Region.
Merge Polygons — Opens a submenu that allows you to operates on two or more objects that
overlap.
Port — Opens a submenu that allows you to place a port in the Drawing Region.
Create/Manage Pin Groups — Opens a dialog that allows you to create pin groups for various
components.
3D Structure — Opens a submenu that allows you to create and perform operations on a 3D
structure in the Drawing Region.
Coordinate System — Opens a submenu that allows you to create and perform operations on a
coordinate system in the Drawing Region.
Component — Opens a submenu that allows you to create and remove a component.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Position Relative — When a relative coordinate system (CS) and an object independent of that
coordinate system (CS) are selected, this command will position the CS relative to that object. The
0,0 origin of the relative CS is placed alongside the positioning object. There are three types of
objects you can select and position the CS relative to: an edge port, a pin, or an edge.
Clear Relative Position — When a relative CS and an object are selected, this command will
position the CS unrelative to that object.
Duplicate — Duplicate a selected object in the Drawing Region via the Duplicate submenu.
Split Polygon Region — Split primitives at a polygon boundary; primitives are split and not
clipped.
Geometry Healing — Heal and repair selected objects in the Drawing Region.
Stitch Lines — Stitch together connected/crossing lines into polygons and lines.
Route — Opens a submenu that allows you to establish traces between different circuit elements
and set Automatic Trace Drawing Options.
HFSS 3D Layout Properties — Opens a submenu that allows you to define HFSS 3D Layout
Properties.
Merge Polygons
Merge Polygons operates on two or more objects that overlap. Select the objects you want to
merge, then use the Layout > Merge Polygons submenu to select the operation:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Union joins the objects into one object. See Uniting Objects.
l Intersection creates a new object from the intersection of the objects. See Creating Objects
from Intersections.
l Subtract takes the object that was selected first as the positive object, then subtracts from it
any overlapping areas from the other selected objects. See Subtracting Objects.
Union and Intersection operations support using selected objects on multiple layers, and each
layer object is operated on separately. However, Subtraction is only allowed if the selected
objects are on the same layer. Selected objects may be negative objects.
l If only negative objects are selected, the merge operation is performed the same as with
positive objects, but the resulting objects remain negative objects.
l If both negative objects and positive objects are selected:
— Subtract the negative object result from the positive object result
You can create pin groups for various components. The grouped pins will be treated as if they were
electrically connected during the analysis. You can connect circuit elements (ports, sources, RLCs)
to any generated pin groups.
To group pins:
1. Click Draw>Create/Manage Pin Groups. The Create/Manage Pin Groups dialog box
appears.
2. Select the Part Name from the pull-down list. Select Don’t know to display all the pin
groups in the design.
3. Select the Reference Designator(s).
4. Select the Net Selection or Net Visibility options:
l To select all the nets, click Net Selection and then click Select all nets. The pins
associated with the selected nets will be grayed.
l To show all the nets in the drawing area, click Net Visibility and then click Show All
Nets.
5. To show only the common pins when multiple reference designators are selected, click List
common nets only.
6. If a selected Part Name contains multiple Reference Designators, you can select any or all of
them and click Create pin groups for each part to have identical pin groups created on
each Reference Designator.
7. If multiple nets are selected, click Create pin groups for each net to generate multiple pin
groups; one for each of the nets that are selected.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
8. To specify the grid locations to create pin groups, select Create pin groups per grid cell
and enter the Row # and Col #. The Drawing Area is updated.
9. To create pin groups from a reference designator:
a. Select the nets you want to include in the pin group from the Nets List. All pins
associated with the net(s) are included. When nets are selected from the net list box, the
associated pins will be marked with black mesh boxes.
b. Specify if you want to use the naming conventions. Click the Naming Convention
button to open the Naming Convention dialog box. Select if you want to Use the
Naming Convention for the particular circuit element. Click OK to close this dialog box.
Component
A Layout Component may be created by selecting a group of pins and choosing Draw >
Component > Create.
A Layout Component may be removed by selecting the component and choosing Draw >
Component > Dissolve. This does not remove the component's geometry or pins, it simple
dissolves the grouping.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
After drawing objects in the layout editor, you can control the modeling of those objects by adding
additional properties. These properties are described in the following sections.
Related Topics
Meshing Properties
Precedence Prioritizing
To assign meshing properties, select one or more objects in the layout editor and click Draw >
HFSS 3D Layout Properties > Add Modeling Properties. This assigns meshing-related
properties to the object(s) and adds the Modeling Props tab to the Property Window:
The following controls are available under the Modeling Props tab of the Property window:
l Modeled, when checked, specifies that the object is meshed when the circuit is modeled
l Union, when checked, specifies that selected objects are unioned when modeled if “Form
polygon unions” has been selected in the Planar Setup: Advanced Tab dialog or the HFSS
Setup: Advanced Tab dialog.
l Refined, when checked, causes the object to be refined. When unchecked, the object will
not be refined.
l RefineFactor is a positive integer value that specifies the level of refinement. It may also be
a variable value. The larger the value, the greater the refinement. A value of one specifies
the same refinement relative to other objects. One-half specifies half as much refinement
relative to other objects, and two specifies twice as much refinement, and so forth. If a zero
value is entered, the Refined box will automatically be unchecked. If a value less than zero
is entered, the value will automatically be changed to 1.
l NoEdgeMesh, when checked, specifies that no special rectangular-edge mesh is used
during modeling.
l Use Precedence, when checked, specifies that the mesher will examine the Precedence
Value when deciding object precedence.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Precedence Value may be any integer and is used when Use Precedence is checked.
Where polygons from different layers/materials overlap, the mesher decides precedence on
the basis of Precedence Prioritizing.
l SolveInside — The option enables the HFSS “solve inside” option for that particular mesh
body. All intersecting mesh bodies should have a common set of modeling properties. If a
touching polygon does not have “solve inside” set, the attribute will be ignored (and a
warning is issued).
Note Data with different meshing characteristics cannot overlap. Overlapping objects must
possess the same RefineFactor and NoEdgeMesh values. If the values differ, the
following warning message is displayed: “Data on Layer trace intersects data on the same
layer with different properties.”
Select items one by one in the editor to modify their Modeling Properties in the Property
Window. To remove the Modeling Properties tab from the Property Window, click Draw >
Remove Modeling Properties.
Note Text should be placed in the symbol layer. Text placed in the signal layer, unless part of the
electrical design, must have Modeling Properties added with the “Modeled” option
unchecked — however, this is not the recommended method and may result in the
meshing error “Polygon Meshing Failed”. The preferred method is to locate text in the
nearest symbol layer.
Precedence Prioritizing
Where polygons from different layers/materials overlap, the mesher decides on the material in the
area of intersection based on the following rules:
1. For polygons with precedence numbers, the polygon with lower precedence takes priority
over those polygons with higher precedence.
2. If the mesher cannot resolve the priority using the precedence attribute, it considers
conductivities. The polygon with the higher conductivity takes priority over those polygons
with lower conductivity.
3. If conductivities are the same, the stackup index is used. Objects higher in the stackup table
(i.e. with a lower stackup index) take precedence over objects lower in the stackup table (i.e.
with a higher stackup index).
For example, in the following illustration the blue rectangle (a thin metal) has a lower precedence
value than the green rectangle (a thick metal), so its material (blue) takes priority where the two
come in contact.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
But in this next example, the blue rectangle has a higher precedence value than the green
rectangle, and so now the green material takes priority.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Following is a 3D view of the first example above (where the blue rectangle has the higher
precedence value).
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
To define an object as a Thin Film Resistor, select one or more objects in the layout editor and click
Draw > HFSS 3D Layout Properties > Convert to Thin Film Resistor. This defines the object
(s) as a resistor and adds the Modeling Props tab to the Property Window:
The following meshing controls are available under the Modeling Props tab of the Property
window:
Select items one by one in the editor to modify their Modeling Properties in the Property
Window. To remove the Modeling Properties tab from the Property Window, click Draw >
HFSS 3D Layout Properties > Remove Thin Film Resistor Property.
Selecting the Sweep Type
In the sweep dialog box, select Generate Surface Current and the ANSYS Electronics Desktop
will save the surface current data at every discrete frequency point. This allows you to plot the
current and compute near- and far-field quantities at more than one frequency point. Otherwise,
the surface current data is saved at the adaptive frequency point of the last adaptive pass, if
specified.
Note If Generate Surface Current is not selected and an adaptive solution is not being
performed, surface current data is not saved.
Keep the following things in mind when generating the surface current:
l Gain, axial ratio, far fields, and near fields require the surface current. If you choose not to
save the surface current and do not perform an adaptive solution, commands associated
with these values will not be available.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l The Generate Surface Current option is only available if you select Discrete as the type of
frequency sweep. For a Fast Interpolating frequency sweep, the surface current data is only
saved at the adaptive frequency. Note that if you are simulating over many frequency points,
it is recommended that you do not select Generate Surface Current, since the resulting
surface current file may become very large.
l For problems with plane waves (HFSS 3D Layout only), the Generate Surface Current
option is always selected.
Setting up a Full-Wave SPICE Analysis
To determine a suitable frequency range for a solution that will be used for a Full-Wave SPICE
analysis:
This value represents the time scale that will characterize the rate of change of the input time
signal to be applied in the circuit simulator. By default, this value is set to 1.
3. Type a value in the Time Steps Per Rise Time text box.
The time sampling increment for the entire signal is calculated using
where
By default, this value is set to 500. Note that the input time signal duration is determined using N
´ Dt, where N is the number of time points.
5. Click Calculate.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
6. Click Accept to transfer the new frequency sweep data to the frequency sweep fields in the
sweep setup dialog box.
l Optionally, click Cancel to return to the sweep setup dialog box and maintain previously
entered frequency sweep settings.
When you export S-parameter data from the ANSYS Electronics Desktop to PSpice, HSpice, or
Maxwell Spice software, you are able to perform a Full-Wave SPICE analysis. A Full-Wave SPICE
analysis includes full-wave effects in a circuit simulation. If you plan to perform a Full-Wave SPICE
analysis, use the Setup for Full-Wave Spice dialog box to help determine a suitable frequency
sweep range for the solution - one that will capture the spectral content of a desired impulse
response.
Note The frequency sweep ranges suggested in the Setup for Full-Wave Spice dialog box are
estimates. You may have a pulse with a wider frequency content and the ANSYS
Electronics Desktop recommended frequency sweep range may miss some of the high
frequencies.
The maximum frequency of the frequency sweep range should be at least five times the inverse of
the rise and fall times. If the specified frequency band is too wide, a frequency sweep may have
convergence problems. If this happens, try to decrease the maximum frequency until the solution
converges.
It is recommended, though not required, that the minimum frequency of the frequency sweep be
less than the maximum frequency divided by the number of frequency steps. It is usually
recommended to have at least 500 frequency steps. A higher number will slightly improve the Full-
Wave Spice solution accuracy, but will also increase CPU and memory requirements to solve the
problem. For most cases, using 1000 frequency steps provides a good trade-off between the
accuracy and computational requirements.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Warning Occasionally, the ANSYS Electronics Desktop can fail to solve for the minimum
frequency during a Discrete frequency sweep due to a failure of the port solver to
converge. If this happens, try to increase the minimum frequency until the solution
process completes successfully. However, the minimum frequency should be as low as
possible because the low-frequency response determines the steady-state time
response.
Clip Planes
Clip planes can be used to truncate graphics in the Layout view, including mesh and fields plots.
To define a clip plane for the Layout View, click Draw > Clip Plane. This places a 3D coordinate-
system manipulator into the Layout View. When the clip plane is enabled, graphics are truncated at
the XY-plane in the +Z direction.
l To move the clip plane graphically, grab the manipulator’s origin and drag/snap to the
desired position.
l To rotate the clip plane, grab one of the manipulator’s origin handles and rotate to the
desired plane. The incremental angle of rotation can be set in the Toolbars or the pop-up
menu’s 3D Components > Rotation Step command.
l Position and rotation can also be set explicitly by editing the clip plane's properties directly.
More than one clip plane can be created and, when present, can be selected under the Clip Plane
tree item in the Components Tab, as seen below.
To configure options for converting traces and planes, click the Draw pull down menu, or right-click
in the Layout Editor, and select from the Draw>Convert submenu.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The trace is converted into a plane and you can edit its boundary points.
Related Topics
Sanitize Layout
To configure options for converting traces and planes, click the Draw pull down menu, or right-click
in the Layout Editor, and select from the Draw>Convert submenu.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
If the round endcap of a trace overlaps a plane, but the center line of the trace does not intersect
the plane, select the Extend traces with partial endcap overlap option. This lengthens the
trace so that the center line touches the bound of the plane, and fixes misalignment issues.
However if there is other geometry in the small gap that gets filled, it can introduce DC shorts.
3. In the Draw pull-down menu or the Layout Editor right-click Draw submenu, click
Convert>Planes to Traces.
Related Topics
Sanitize Layout
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Cycle Selection — Cycle selection of two or more objects that overlap. Each time you click Cycle
Selection, a different one of the overlapping objects is selected.
Pop Up — Switches the active coordinate system (CS) to the next higher level. Relative CSs can
be created within other relative CSs to form multiple relative levels.
Deactivate (Open) — Temporarily converts the component into an open circuit. Activate restores
a deactivated component to the circuit.
Deactivate (Short) — Temporarily converts the component into a short circuit. Activate restores a
deactivated component to the circuit.
Copy Image — Create a global copy of the selected objects on the clipboard for pasting into a
different application.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Layout Dialogs
The following sections describe the dialogs available for viewing and editing configuration settings
in the Layout Editor.
Related Topics
l In a mapping, each layer in the component is either merged with an existing layer in the
design or inserted as a new layer in the design.
l The mapping is controlled by the Merge Layers dialog. You can specify (with the “Always
Show Layer Merging dialog” Layout Editor option; see Layout Editor Options) that the
Merge Layers dialog is to be displayed every time a component is placed (the default), or
you can have the dialog display only when mapping of layers cannot be done automatically.
l Automatic mapping can be performed when the design has no layers defined; in this case,
all the layers in the component can simply be inserted as new layers to be added to the
design. Automatic mapping is also possible when there is only one choice available for
merging layers. For example, if you have selected the “Top” signal layers as the active layer
in the layout and then place a microstrip component (which has only one signal layer
associated with it), HFSS maps the object layer to the active layer. If the “Always Show
Layer Merging dialog” option has been turned off, the automatic mapping is performed and
no dialog appears.
l When automatic mapping is not possible or when automatic mapping has been disabled by
turning on the “Always Show Layer Merging dialog” option, the Merge Layers dialog
appears after a component has been selected but before it can be placed in the layout or
schematic.
l The dialog shows the object layers on the left and the design layout layers on the right. In the
example above, the object has just one layer (Top) while the layout has three layers (Trace,
Dielectric, and Ground).
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l When an object layer is adjacent to a layout layer (the Top and Trace layers in the example
above), the M button is displayed, and the layers will be merged.
l When an object layer is adjacent to a blank cell on the layout, the I button is displayed, and
the object layer will be inserted.
l Clicking on an M or I button toggles the layer between the Merge state and the Insert state.
An error occurs if you try to change an Insert layer to a Merge layer when no layers are free
for merging.
l Click and drag an object layer to a different vertical position. Changing position retains the
Merge or Insert state. If an Insert layer is dragged, the layout layers rearrange to leave an
empty cell adjacent to the Insert layer. If a Merge layer is dragged, it snaps adjacent to the
nearest free layout layer.
l Check the Flip Source Layers box to invert the order of the object layers (the order of the
layout layers in not changed). This operation can be used, for example, to match the layers
of a soldered-on object (signal, solder, assembly) from the top to the bottom of a two-sided
board.
l When the layer mapping is set up as desired, click the Merge Layers button to execute the
mapping. The component is now attached to the cursor for placement in the layout or
schematic.
l Clicking the Cancel button cancels the placement of the component.
With a subdesign selected, and optionally a specific component, click Layout > Place Design.
You can also use the right-click context-menu entry "Place Design".
You can use the Place Design dialog to capture/merge the relative positioning of one design to
another. One or two pairs of pins are selected in the dialog to place the subdesign.
Both ECAD and MCAD subdesigns can be placed with this dialog.
Filters
The subdesign "From" and component "To" panes contain combo boxes that allow you to filter
components. All combo-box filters can be left blank in order to see all components. The following
controls are available.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
HFSS 3D dynamic link subdesigns don't have components, so a Port Plane dropdown is showed
instead of these component filter controls. A listbox is displayed showing the port instances in the
selected port plane. The Port Plane dropdown can be used to filter port instances to a specific z
plane (or "Any" can be selected to show all port instances). Port instances may be selected in the
listbox or graphically selected in the previewer.
Preview
A preview of the subdesign placement is displayed. As pin pairs are selected, the preview is
updated to show the new placement.
l Shift-drag to move
l Ctrl-Shift drag to zoom in/out
l Ctrl-drag to rotate
l Ctrl-click to rotate to predefined angles
The “From” subdesign can be dragged. When selected in plane, it can also be rotated with the
handle that appears. Manual dragging/rotating is only used to assist pin pair selection in the
previewer and doesn’t actually impact placement once the dialog is closed.
Map By Name
Upon opening the Map by Name dialog with the corresponding button, the design is automatically
placed by any matching pin pair names (using the full name, net name, and/or suffixes). You may
also manually select pin names from the list boxes. The preview in the main dialog updates as pins
are selected in the Map by Name dialog.
Related Topics
Connectables (port instances, pins, and pin groups) are connected between the two selected
objects; the first selected object is displayed on the left and the second on the right. When a
connection is formed, the left side of the connection's net is updated to the net of the right side of
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
the connection. The net connections are shown as lines drawn on the Rats layer. Connections can
be automatically formed by proximity and/or by name. The Place Design dialog can be used to
place a subdesign so that many connections can automatically be formed by proximity.
Basic Usage
1. Open the Pin Connectivity dialog using one of the following methods:
l Make two selections (e.g. a subdesign and a component), then select Connect Pins from
the Layout menu or the right-click context menu
l Select a subdesign that has already been placed onto a component. The Connect Pins
dialog will automatically open if a component is sufficiently close.
2. Manually connect using the --> and <-- arrow buttons:
l After making a left and right selection, click --> to connect them.
l Select a grid row and click <-- to disconnect.
l Multiple rows can be selected in the grid to connect/disconnect multiple at once.
Controls
Previewers — Multiple preview panes graphically show the selections being connected:
l The left previewer is for the first selection and the right previewer is for the second selection.
l Clicking a port instance, pin, or pin group highlights the corresponding item in the list box or
grid (and vice versa).
l Mouse operations are supported in a manner similar to the main layout window:
l Shift-drag to move
l Ctrl-Shift-drag to zoom in/out
l Ctrl-drag to rotate dynamically linked HFSS 3D subdesigns
l Ctrl-click to rotate to predefined angles for dynamically linked HFSS 3D subdesigns
l Ctrl-click to select multiple pins in the component
l Right-click context menu to Zoom In, Zoom Out, or Fit All
l In general, visibility/display settings from layout transfer to the previewer, except:
l HFSS 3D subdesign symbols layer is always displayed.
l 2.5D subdesigns and components are always drawn in solid mode.
List at Left — Shows the left-preview connectables:
l Connectables that are used in one or more connections are displayed in gray.
Connection grid at right — Shows the left-right connections:
l Any connectables in the <Power/Ground> net classification are displayed in red.
Connect by Proximity button — automatically connects overlapping connectables:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Connectables overlapping tolerance depends on the zoom level and the snapping pixel
setting. They must also be close in z/layer positions.
l If only a subset of the connections is desired, it may be useful to first use the Connect by
Proximity button, then multi-select those rows not desired to be connected and click the
<-- button to disconnect them.
Connect by Name button — forms connections between left and right connectables that have
a matching name or suffix.
l Automatic Pop Up
l If automatic pop-ups are enabled:
o When dragging a subdesign onto a component, the Pin Connectivity dialog will
automatically pop-up (if a component is sufficiently close)
o After placing a subdesign with the Place Design dialog, the Pin Connectivity dialog will
automatically pop up.
o Whether or not a component is considered "sufficiently close" depends on whether
pins/ports overlap.
l By default, the Pin Connectivity dialog will never pop up.
l For new designs, the setting is specified via Tools > Options > General Options >
Layout Editor > Other > Show Pinconnectivity dialog on drag to matching
component.
l For the current design, the setting is specified in Layout > Setting > Layout Editor >
Other > Show Pin connectivity dialog on drag to matching component.
l If the Pin Connectivity dialog automatically pops up, the "Connect by Proximity" feature is
automatically triggered.
l Double-clicking a port instance row connects it to the selected connection grid pin.
l Double-clicking a connection grid row highlights any connected port instance.
l [Net]: the net shows in brackets.
l To disconnect all:
o In the Pin Connectivity dialog, select all the rows in the grid (select the first row then hold
the shift key while selecting the bottom row). With all grid rows selected, click the <--
button.
o In layout (outside of the Pin Connectivity dialog), select a subdesign then click Draw >
Disconnect from Net.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
boxes, then click the Solver button to open the Solver Options dialog,
The Solver Options dialog contains two tabs: Planar EM and HFSS with the following controls
available.
l Treat as infinite ground — For Planar EM analysis (signal layers only), will cause the
selected signal layer to be modeled as an infinite ground in the Planar EM field solver.
l Via layer — For Planar EM analysis (signal layers only), will treat any objects on the layer
as vias: objects that are meshed differently than other objects in the design for improved
simulation efficiency. You can control how objects on via layers are meshed by using the
Advanced tab of the EM Simulation Setup dialog. For example, after importing a GDSII
or DXF file that contains a layer with many small circles that define a large number of vias,
you may wish to define a via layer so that the vias are meshed in an efficient manner. To
do this, first set the following properties on the Edit Layers dialog for the layer: layer
thickness, material properties, and the "via layer". Next, go to the Advanced simulation
options on the EM Simulation Setup dialog for the design, and select whether to mesh
these objects as wirebonds, simplified 3D objects, or as thinned via fields.
l Solve inside — Enables all the objects in the layer to have "solver inside" attribute for
HFSS solver. It is possible to perform solve-inside on an object-by-object basis. For more
information, see HFSS 3D Layout Properties.
l DC Thickness — Controls how DC thickness will be calculated for the conductor lumps
on the layer.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Non-Laminate Mode
The dialog opens in a mode that reflects the current stackup: laminate, non-laminate, stackup
layers visible, etc.
Display Pane
The user can choose which types of layers to view with the Display radio buttons: Stackup layers,
Non-stackup layers, or All layers.
Stackup Pane
The Stackup pane controls affect all layers. The Laminate mode check box is used to specify how
the stackup is constrained. It is not always possible to change a stackup from non-laminate to
laminate mode; the check box is disabled if the switch is not possible. With laminate mode off, the
dielectrics stack one on top of the other, and signal layers are positioned using lower elevation and
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
thickness. With laminate mode on, all stackup layers stack one on top of the other — both dielectric
and signal layers. The Units control is used to change the display of thickness and elevations to the
new units.
The grid control displays the layers indicated by the Display radio buttons. The active layer is
highlighted in green. Any layers that are locked are highlighted in gray. A variety of columns allow
the user to see and/or edit information about the layer. What can be seen/edited varies with the
type of layer and the stackup mode (laminate or non-laminate). Some columns default to not being
shown. The user has control over columns shown via the right click menu in the grid control. The
right-click menu in the grid control allows actions based on the selected layers. A layer may be
activated with the right click menu item SetActive.
Visibility can be set by object type on a layer. Material choices are given in a drop down list as well
as giving the user access to the Materials tab of the SelectDefinition dialog. Materials may be
parameterized with project variable text array references.
Laminate Mode
A stackup in laminate mode shows each layer stacked on top of the one below.
The lower and upper elevation columns are not visible by default but can be turned on by the user.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The thickness of layers may be edited but not the lower elevation. Layers may be reordered by
dragging a layer to a new position in the grid control.
The Dielectric Fill column specifies the material to use to fill in around geometry on the layer. The
dielectric material can be chosen in the same way that layer material is chosen. Laminate mode
stackups have dielectric fill specified for signal layers.
The panes beneath the grid control pane — Layer and EditSelected — operate upon the layers
selected in the grid control. Multiple layers may be selected.
Layer Pane
The Layer pane controls allow the user to insert a layer, remove layers, and to select layers based
on layer type.
The Edit Selected pane controls operate on all of the selected layers at once. Controls are
enabled/disabled according to which layers are selected. Most controls have a corresponding grid-
control cell. Controls are visible even if the corresponding column is hidden. The locked check box
and right-click menu can be used to set the layer locked state. Analysis pane controls allow the user
access to set the etch factor, roughness, and solver options, including Solve Inside Solver.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
A pink row separates the stackup layers from the non stackup layers. Many of the columns do not
apply to non stackup layers and are empty.
Column Controls
l Row Color/Type Icon: This matches what is shown for the layer in the Layout window.
Clicking in this cell is one way to select the row.
l Wireframe: Check box to set drawing on the layer as wireframe outlines or solid.
l Visibility settings: Visibility setting allows for the setting of visibility by object type on a
layer.
Component visibility - sets visibility for components and black boxes placed on the
layer
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Negative: The type of geometry being drawn on the layer. Geometry on a negative layer
cuts away from the layer. Geometry on a positive layer adds to it. This setting is used in
conjunction with signal type to create a layer used as a ground layer. This column is only
visible if the stackup contains a layer set to negative or if the user sets the column visibility
to on with the column header right click menu.
l Material: Editable choice of material for the layer. The drop down menu contains names
of materials already in the project that are allowed for the given type of layer. The first
choice in the menu is Edit.This allows the user to open the Materials tab of the Select
Definition dialog. The user may also type in a project variable that is a text array reference.
This allows parameterization of the material. For example: There is a project array
variable $mat that is defined to have the strings "copper" and "Cu_Pkg" and there is a
project array $i that is defined to be 1. The user may set the material for a layer to be $mat
[$i]. The material used will be copper.
l Thickness: Editable thickness of the layer
l Etch: Signal layers can be set to use etching.
l Rough: Signal layers can be set to use roughness.
l Solver: Enables the use of solver options that have been specified. Solver options can be
enabled for both signal and dielectric layers. The Solver Options Dialog is opened when
the Solver button in the Analysis group box is clicked; the button is enabled when the
selected layer(s) have the Solver check box clicked.
l Lower elevation: With laminate mode off, the lower elevation of signal layers may be
edited. The lower elevation of dielectrics is displayed, but not editable.
l Upper elevation: Display of the upper elevation of the layer, not editable.
l Transparency: Transparency values lie between 0 (completely opaque) and 100
(completely transparent). Values may be entered directly into the column or using the
Attributes slider bar. The slider bar may be used to adjust the transparency for multiple
layers. Select multiple rows either directly or through the selection pull-down.
Dialog Menus
The Edit Layers dialog has two menus: Stackup and Layer.
l The Stackup menu allows the user to import a stackup from an XML file and to export the
stackup in the dialog to an XML file.
l The Layer menu gives users another way to insert and remove layers - based on layers
selected in the grid control.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The Etch Factor is specified using the Edit Layers dialog. If the Etch column check box for a layer
is checked, then the etch factor for that layer will be used when the mesh is created. The Etch
button opens the following dialog that can be used to calculate an etch factor based on layer
thickness.
The purpose of the Etch Factor calculator is to give you a way to calculate an etch factor based on
the layer thickness.
l When the calculator opens, it is populated with top and bottom dimensions that
correspond to the default etch factor, however, the dimension values are representational
and do not correspond to a particular geometry in the layout.
l The etch factor value may be entered as a number or may be parameterized as a project
variable — if the input to that control is a number, the calculator controls are available,
otherwise the calculator controls are disabled. The top and bottom dimensions can be
changed directly using their edit controls or they can be modified using the slider. The
slider sets the value of one dimension to a percentage of the other. As the top and bottom
dimensions are changed, both the etch factor and the layer drawing are modified to reflect
the change.
When the dialog closes, the etch factor is applied to the selected layer.
Surface roughness is specified in the Edit Layers dialog. By default, layers do not have roughness
— but if the Rough column check box for a layer is checked, the surface roughness for that layer
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
will be used when the mesh is created. The Roughness button opens the following dialog that can
be used to select a surface roughness model.
Use the Surface Roughness Model controls to choose between Groisse Surface roughness
and Huray. When Huray is selected, you may set the Nodule radius and Hall-Huray surface
ratio.
Related Topics
Configuring a Stackup
Setting Elevations
Layout Technology
Configuring a Stackup
After adding a design to a project, the next step is to create the design’s dielectric and signal layers
using the Layout Editor. Layers are defined and modified in the Edit Layers dialog; you can use the
dialog to import a stackup defined in an XML file. The XML file that defines the stackup is typically
created using a third party text editor such as Microsoft Notepad or VI on Linux. For more
information see Importing a Stackup.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
A signal layer can be assigned a dielectric material. And since signal layers are permitted to overlap
other layers, you can create a stackup with dielectric materials embedded within other layers.
Planar EM Analysis
Planar EM ignores all geometry on both dielectric layers and on signal layers with dielectric
materials. A warning is issued during validation. Note: “Layer <layer name>” with a dielectric
material will be ignored by the Planar EM solver.
HFSS Analysis
Meshes correct modeling, and the dielectric materials are sent to the HFSS solver.
To configure a stackup:
Note Click Apply in the Edit Layers dialog to apply the changes you make; click Close to close
the dialog
The following sections describe the tools and operations available for working with layers in the
Edit Layers Dialog.
Related Topics
Drawing on a Layer
Activating Layers
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Default Layers
Working with the Layers Window
The Layers Window is a dockable window that can be resized and relocated, and can be used to
view and configure various layer settings. The displayed nets may be filtered using Perl Regular
Expression syntax.
To show or hide the Layers window on the desktop, do one of the following:
A check box appears next to this command if the Layers window is visible.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Right-click in the toolbars area at the top of the desktop, and then click Layers on the
shortcut menu.
A check box appears next to this command if the Layers window is visible.
Use the check boxes to control the display. Check boxes at the top of each column control the
entire column. Hover over the check boxes at the top of each column to display a tool tip that
indicates its function:
l Fill/Unfill All
l Shapes
l Lines
l Pads
l Holes
l Components
When a pre-process mesh is displayed, the mesh layer visibility can be separately controlled from
the non-mesh visibility.
An additional pre-process mesh section will appear below the non-stackup layer section control
design-wide (not restricted to layer) visibility.
You can use the Layers Window to alter the following controls for setting visibility by layout-object
type.
l Control the visibility of shapes, lines (paths), pads, holes, and components
l Change the status of layers and the visibility of nets
The “Show Dielectrics” check box controls whether dielectric stackup layers are shown. If
unchecked, dielectric layers are hidden and holes (vias/pins) are rendered continuously visible
from the top most visible signal layer to the bottom most visible layer. If checked, dielectric layers
are shown and hole visibility is more finely controlled by each layer (not necessarily continuously
visible).
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The View Name drop-down list shows the defined views that are available. Select a layout view in
the drop-down list to set how layers and nets are displayed. The following controls are available:
l <Surface> is the default layout view and shows the top and bottom conducting layers of
the layer stackup and hides all other layers.
l Save Current opens a dialog that allows you to save the current setting of layers and
nets to a new layout view.
l Delete opens a dialog that allows you to select which saved layout views to delete.
Related Topics
The Edit Layers dialog has two menus: Stackup and Layer.
The Layer menu gives users another way, besides the right-click menu, to insert and remove
layers — based on layers selected in the grid control.
1. In the Grid Control pane, open the right-click menu to select an Insert command.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
2. Selecting Insert above or Insert below opens a pop-up dialog used to specify the name
and type of the layer to be added.
3. In the pop-up dialog type a name for the new layer in the Name text box.
4. In the pop-up dialog, select one of the layer types from the Type pull-down list.
5. Click OK. The layer is added above or below the selected layer — depending on the right
menu choice picked.
1. In the Grid Control pane, open the right-click menu to select an Insert command.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Removing a Layer
1. In the Edit Layers dialog, select the layer(s) you want to remove from the stackup.
2. Click Remove from the right-click menu.
Drawing on a Layer
l Select the layer you want to draw upon from the Active Layer pull-down list on the Layout
toolbar.
1. In the Edit Layers dialog, in the column with the pencil icon, select the layer on which you
want to draw.
2. Click OK.
You return to the Layout window. Any objects you draw will be on the layer you selected.
Activating Layers
Only activated layers may be drawn upon. The action of activating a layer is done either in the Edit
Layers dialog or through the layout toolbar combo box control or using the Layout Window.
1. To activate a layer using the Edit Layers dialog, use the right click menu item SetActive.
A layer’s thickness is measured from the point of elevation. For example, if the elevation of a signal
layer is 2 microns and the thickness is 4 microns, the layer begins at 2 microns and extends
upwards for 4 microns to a height of 6. In the Edit Layers dialog, the Thickness column indicates
the thickness of each layer.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
1. In the Edit Layers dialog, in the Thickness column, double-click a layer’s Thickness text
box.
2. Type a new value and its units in the text box. The default units are millimeters.
The value can be specified using a number (e.g., 0.5um), a variable (e.g., $H), or an expression
(e.g., $H-0.5um+$W). A message box appears for you to confirm the replacement.
3. Press Enter.
Warning Assigning thickness to signal layers significantly increases the solution time. The
number of unknowns that HFSS software must compute doubles when you increase
the thickness from zero (infinitely thin) to a finite number. Therefore, if possible, model
signal layers as infinitely thin objects.
Specify layer associations if you want to match a Planar EM design to a similar, but not identical
Planar EM design. The outcome of the matched layers depends upon which layer of a structure
(top or bottom) you add the design.
1. In the Edit Layers dialog, the Top Bottom Association is not visible by default; use the
right-click menu in the grid control to make the column visible. Alternately, you may use the
Topbottom control in the Editselected pane.
2. The Top Bottom Association column indicates layer associations. Select one of the
following associations from the pull-down list:
For example, if a subcircuit is added to the top layer of a stackup, the subcircuit’s
top-associated layers are mapped to the stackup’s top-associated layers. The
subcircuit’s neither-associated layers are subsequently mapped to layers of the
same type (e.g., signal to signal,) beginning at the top and moving downward.
For example, if a subcircuit is added to the top layer of a stackup, the subcircuit’s
bottom-associated layers are mapped to the stackup’s bottom-associated
layers. The subcircuit’s neither-associated layers are subsequently mapped to
layers of the same type (e.g., signal to signal,) beginning at the top and moving
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
downward.
For example, if a subcircuit is added to the top layer of a stackup, the subcircuit’s
neither-associated layers are mapped to layers of the same type (e.g., signal to
signal,) beginning at the top and moving downward. If a subcircuit is added to the
bottom layer of a stackup, this mapping is reversed; neither-associated layers
are mapped to like layers, beginning at the bottom and moving upward.
HFSS geometry allows for the presence of an etch factor in the design and modeling of different
substrate layers. The specific etch factor that applies to a particular layer is usually available from
the manufacturer. But in general, the etch factor is calculated by taking the ratio of etch depth to
undercut.
The Analysis section of the Edit selected panel of the Edit Layers dialog allows the user access
to set the etch factor, roughness, and solver options. For more information see HFSS Etch Factor.
Assigning Materials to Layers
In the Edit Layers dialog material choices are given in a drop down list as well as giving the user
access to the Materials tab of the SelectDefinition dialog. Materials may be parameterized with
project variable text array references.
1. In the Edit Layers dialog, click on the row(s) to select the layer(s) you wish to modify.
2. In the Material field of the Edit selected pane, select a material or select Edit from the pull-
down menu in order to open the SelectDefinition dialog.
3. If you chose Edit, select the material you wish to assign and then click OK to close the
SelectDefinition dialog.
4. Click Apply.
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note Overlapping of dielectric layers is allowed in non-laminate mode. For more information, see
the Edit Layers dialog.
The surface roughness model is used to compute conduction losses for surfaces. Surface
roughness increases conduction losses, such as the interface between the conductor and the
substrate for a microstrip line.
1. The Surface Roughness Model dialog is accessed through the Edit Layers dialog. To
access the Surface Roughness dialog, check the Rough box for a selected layer in the Edit
Layers dialog, then click the Roughness button. The Surface Roughness Model dialog
opens.
The surface roughness of top and bottom layers is set independently. There is a separate
tab in the dialog for each.
2. First, select either the Top or Bottom tab. Next, select either Groisse or Huray:
— For the Groisse model, specify a Surface roughness parameter as a value/variable,
then specify the corresponding units. The Groisse model is a traditional-case model. Legacy
projects use the Groisse model by default.
— For the Huray model, also specify the Nodule radius value, which is the radius of copper
spheres used to model the surface roughness. Next, specify the Hall-Huray surface ratio,
which is a unitless quantity. The Huray model is causal.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
3. The surface roughness of top and bottom layers is set independently. To copy the settings
from Top to Bottom or vice versa, set the desired model for one of the surfaces, then click the
tab for the other surface and click the Copy Top/Bottom button.
Related Topics
If you have multiple dielectric layers in your model, they must touch other dielectric layers or
negative signal layers. This prevents “pockets” of air from developing. If you have a signal layer
between two dielectric layers, the dielectric layers must touch. The signal layer may overlap the two
dielectric layers; however, a signal layer may not touch a negative signal layer. You may create an
air gap by defining a dielectric layer as air.
Note HFSS allows you to draw on all three primitive layer types: dielectric, signal, and negative
signal. Objects on dielectric layers are ignored in Planar EM modeling, but they are
displayed in Layout3D and they are exported.
Default Layers
The following sections describe the tools and operations available for configuring color, visibility,
and patterns in the Edit Layers Dialog.
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
When you specify the color of a layer in the stackup, the color is assigned to every object drawn on
the layer.
The color you selected is assigned to every object drawn on the layer.
Setting Layer Visibility
A layer must be visible to be drawn upon. But in each layer, you can set visibility by individual object
types. To control the visibility, do one of the following.
l In the Edit Layers dialog, use the icons available to select the layers you would like to be
visible.
l Use the right-click menu of the Layout Window:
— Set Active: Makes the current layer the active layer
— Show This Layer Only: Makes the current layer the only visible layer
l Use the Layout Window to alter the following controls for setting visibility by layout-object
type.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Related Topics
When you specify the pattern of a layer in the stackup, the pattern is assigned to every object
drawn on the layer.
1. In the Edit Layers dialog, the Pattern column is not visible by default; use the right click menu
in the grid control to make the column visible.
2. In the Pattern column, double-click the pattern of the layer you want to change.
3. Select a pattern from the Select Pattern window.
4. Click OK.
The pattern you selected is assigned to every object drawn on the layer.
Setting Elevations
The following sections describe the tools and operations available for configuring color, visibility,
and patterns in the Edit Layers Dialog.
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Non-Laminate Mode
l In non-laminate mode, dielectric layers must stack on top of one another, they cannot
overlap and there can be no gaps. Throughout an entire stackup, the lower elevation of
each dielectric layer must be the top elevation of the dielectric layer directly below. The
lower and upper elevation columns are present by default for non laminate mode.
l A dielectric layer that rests above another floats down to the next layer below. So, if you
need to configure an air gap between the two layers, you must explicitly add a dielectric
layer between the two that is defined with the material “air”.
l Signal layers and negative signal layers can be embedded within a dielectric layer or
within an interface that exists between dielectric layers, they can also overlap and can
have non-zero thickness.
Laminate Mode
l In laminate mode, all layers stack on the layer below. Signal layers are not embedded in
dielectric layers.
l The thickness of layers may be edited but not the lower elevation.
l Layers may be reordered by dragging a layer to a new position in the grid control.
l The dielectric material can be chosen in the same way that layer material is chosen.
Setting the Layer Lower Elevation
The lower elevation of a layer is the lowest point of the layer. For example, if you create a layer with
a lower elevation of 2 microns, the layer begins at 2 and extends upwards until it reaches the
Upper Elevation value. A signal layer's Lower Elevation value indicates its elevation above zero.
Lower elevation can only be changed on signal layers in non laminate stackups.
1. In the Edit Layers dialog, in the Lower Elevation column, double-click a layer’s Lower
Elevation text box.
2. Type a new value and its units in the text box.
The value can be specified using a number (e.g., 0.5um), a variable (e.g., $H), or an expression
(e.g., $H-0.5um+$W).
3. Press Enter.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The upper elevation of a layer is the highest point of the layer. The upper elevation of a layer
adjusts itself based on the lower elevation and the thickness of the layer. The Upper Elevation is
not directly editable, but it can be seen in the Edit Layers dialog, in the UpperElevation column.
Layout Technology
The following sections describe the tools and operations available for configuring layout technology
in the Edit Layers Dialog.
Related Topics
The ANSYS Electronics Desktop can associate a predefined stackup, (also called the substrate or
technology), with each design. A technology includes stackup layers’ material properties, units,
thickness, elevation, and roughness data, and associated substrate definitions for Nexxim Circuit
or Planar EM simulation. The current technology or substrate is applied to components defined for
a design or copied in from other designs.
When you insert a new design into a project, the Choose a Layout Technology dialog box
opens, allowing you to choose the stackup technology on which your design will be based. You can
choose a technology, proceed to design editing without selecting a technology, or abort adding a
design to your project.
l To use one of Desktop’s predefined technologies, select its entry in the list, and then click
Open.
l To use an existing technology not shown in the list, click Browse. Through the Open dialog
box, browse to and select the ANSYS Technology (.asty) file that contains the technology
you want to use, and then click Open.
l To add a design without choosing a technology, click None.
l To choose not to add a new design to your project, click Cancel.
When you specify a technology or click None, a blank design of the type you selected opens for
editing.
All components that can use a substrate technology will automatically be assigned the technology
you choose for the design. This includes components added from the Components window and
components pasted in from other designs. If no technology has been selected, no substrate is
assigned to components.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
As a result, when a schematic from a project that has a substrate definition is copied into another
project, the pasted schematic will use the substrate that is defined for the second project, if a
substrate has been defined. If no substrate has been defined for the second project, the schematic
elements are copied in with no substrate (“SUB” property is empty).
Creating a Layout Technology
You can create your own layout technology and save it for future use. After you have configured a
technology in the Edit Layers dialog, select the design in the Project Manager window, then select
Save as Technology File from the File menu. This will open a Save As dialog that allows you to
save the technology in one of the Desktop’s library directories.
The technology file (.asty suffix) contains the definitions of substrates, layers, materials, padstacks,
footprints, symbols, and scripts. The technology file also contains the settings of the Layout options
(units, angle units, major and minor grid spacings, snap sources and targets, rotation increment,
and hole size) that are in effect for the selected design.
The layout technology you defined is now available for future use and will be listed in the Choose a
Layout Technology dialog.
Related Topics
Selection Modes
Using Handles
Selecting Handles
Aligning Objects
Selecting Edges
Grouping Objects
Negative Objects
Position Locking
Modifying Objects
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l General Selection Mode — Used primarily to select objects. General mode is the default
section mode. You can activate the General selection mode by selecting Edit > Select or
.
l Edge Selection Mode — Used to select object edges. You can activate the Edge selection
mode by selecting Edit > SelectEdges or by clicking the Select Edges icon .
In General selection mode, the cursor becomes a small cross hair when it is not positioned over a
selectable object:
When the cursor is positioned over a selectable object, or the handle of a selectable object, the
cursor changes to one of the following to indicate what object/handle can be moved:
To give a visual clue as to the current selection mode, the cursor changes in the following manner:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Using Handles
Handles are graphical attachments to objects that allow you to manipulate objects in the Layout
editor. Two general types of handles exist: Implicit and Explicit. Implicit handles are created
automatically, while Explicit handles are created by the user.
Implicit Handles
l In Layout, every primitive object (void, line, polygon) and compound object (via, footprint,
sub-circuit) contains Implicit handles — identified by small red squares — which can be
used to resize the object. There are two kinds of Implicit handles: Edge handles and
Point handles. Edge handles pertain to lines and polygons, and can be used to drag an
edge. Point handles pertain mainly to points, and can be dragged/deleted separately (but
Point handles can also be inserted into the edges of lines and polygons). Edge and Point
handles can be selected by clicking upon them, or by using the Handle Select Tool.
l Every Layout object contains an implicit Center handle — identified by two small red
circles connected by a line — which can be used to rotate or drag the object.
l Selections containing multiple objects have one Implicit handle which is placed at the
geometric center of the data.
Explicit Handles
l In addition to Implicit handles which are created automatically, Footprints may also
contain Explicit handles — identified by small black squares — that are created by the
user, and can be used to drag or resize the footprint.
Selecting Handles
The Select Handles command on the Draw menu allows you to select just the handles of selected
items in the Layout window.
1. On the Draw menu, click Select. Then click the object you want to manipulate.
2. On the Draw menu, click Select Handles. The handles on the selected items appear as
squares.
3. In the Layout window, move over the handle you want to select. A square appears at the
cursor, indicating that you are over the handle.
4. Click the handle to select it.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l No Horizontal Alignment
l Align Left
l Align Right
l Center Horizontally
l Distribute Centers Horizontally will place multiple polygons so that the horizontal
spaces between their centers are equal
l Space Edges Horizontally will place multiple polygons so that the horizontal spaces
between their edges are equal
l No Vertical Alignment
l Align Top
l Align Bottom
l Center Vertically
l Distribute Centers Vertically will place multiple polygons so that the vertical spaces
between their centers are equal
l Space Edges Vertically will place multiple polygons so that the vertical spaces between
their edges are equal
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Auto-Aligning Objects
Auto-alignment of components is available by selecting one or more objects and clicking Ctrl-m.
But auto-alignment only rotates/positions components to match connections — it does not flip or
unflip them. Therefore, the auto-alignment of components which are flipped or have twisted
connections will not align properly.
A negative object on a ground layer does not remove material from the layer itself, but rather,
interacts with other primitives in the same way as on other layers. Negative objects may contain
voids. But a negative always removes material and never adds it. Consequently, a void in a
negative is merely an area where material is not removed.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
To designate an object as a negative in the Layout Editor, in the Properties Window or the
object’s PropertiesDialog (double-click the object) check the Negative selection box.
Position Locking
Primitives, components, vias, and pins can all be locked into place in the Layout Editor. The
locking attribute is accessed through the PropertyWindow or an object’s PropertyDialog.
Locked objects do not move during an Align or Microwave-port Align operation. If multiple
objects are locked, the first pinned object encountered in the selection (based on the selection
order) is used as an “anchor” during an align (if there are none, the first object is used). If there is
only one object locked, that object becomes the origin of the alignment.
To lock an object in the Layout Editor, in the Properties Window or the object’s
PropertiesDialog (double-click the object) check the LockPosition selection box.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Related Topics
You can rotate one or more objects by dragging the red rotation handle at the center of the object.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note To drag more than one object, select the objects and the rotation handle will appear
at the center point between the objects.
Note To rotate without re-wiring (i.e., “rubberbanding”), hold down the <Shift> key as you rotate
the object(s).
To join two or more objects into one object, use the Layout > Merge Polygons > Union
command. The new object has the name, color, boundary, and material assignment of the first
object selected. The objects are united at the point of intersection.
Union and Intersection operations support using selected objects on multiple layers, and each
layer object is operated on separately. However, Subtraction is only allowed if the selected
objects are on the same layer. Selected objects may be negative objects.
l If only negative objects are selected, the merge operation is performed the same as with
positive objects, but the resulting objects remain negative objects.
l If both negative objects and positive objects are selected:
— Subtract the negative object result from the positive object result
Note By default, the objects being joined to the first object selected are not preserved for later
use. If you want to keep a copy of the objects being joined to the first object selected, do the
following:
l Copy the objects, and then paste them back into the design after uniting them.
1. Select the object from which you want to subtract other objects.
2. Select the objects you want to subtract.
3. On the Layout menu, point to Merge Polygons, and then click Subtract.
The new object retains the name, color, and material of the first object selected.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Union and Intersection operations support using selected objects on multiple layers, and each
layer object is operated on separately. However, Subtraction is only allowed if the selected
objects are on the same layer. Selected objects may be negative objects.
l If only negative objects are selected, the merge operation is performed the same as with
positive objects, but the resulting objects remain negative objects.
l If both negative objects and positive objects are selected:
— Subtract the negative object result from the positive object result
Note By default, the objects being subtracted from the first object selected are not preserved for
later use. If you want to keep a copy of the objects being subtracted from the first object
selected, do the following:
l Copy the objects, and then paste them back into the design after subtracting them.
To create a new object from the intersection of two or more objects, use the Layout > Merge
Polygons > Intersection command.
1. Select the objects from which you want to take the intersection.
Warning If the objects you selected do not overlap, the result is a null object and both
objects vanish.
2. On the Layout menu, point to Merge Polygons, and then click Intersection.
The original objects vanish, leaving only the new object that was formed from their intersection.
Union and Intersection operations support using selected objects on multiple layers, and each
layer object is operated on separately. However, Subtraction is only allowed if the selected
objects are on the same layer. Selected objects may be negative objects.
l If only negative objects are selected, the merge operation is performed the same as with
positive objects, but the resulting objects remain negative objects.
l If both negative objects and positive objects are selected:
— Subtract the negative object result from the positive object result
Note By default, the original intersecting objects are not preserved for later use. If you want to
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
keep a copy of the objects that intersect the first object selected, do the following:
l Copy the objects, and then paste them back into the design after creating the new
object from the intersection.
Duplicate In XY
Objects in the Layout Editor can be easily replicated (“step and repeat”) using the Duplicate > In
XY command which duplicates objects to the same layer at the same location. The same
command is available in the right-click popup menu.
Types that cannot be duplicated include: measurements, subcircuits, cavities, and array cells.
Layout property displays and port instances are not duplicated directly but will duplicate with their
owner. Voids may be duplicated either directly or with their owner. If a void’s owner is duplicated,
all of its voids will also be duplicated (whether or not the voids are selected). If a void is duplicated
without its owner, the duplicate voids become voids of the original owner.
To duplicate an object:
A copy of the selected objects drags with the cursor. As with other tracking (move, paste,
etc.) the copy snaps on hover. The copy may also be moved with the coordinate bar. All the
coordinate bar fields are available. This includes the delta. Note that this is different from
paste, where deltas may not be used. As with other operations, locations given from the
coordinate bar are not snapped.
3. Position the copied selection using either the cursor or coordinate bar, then left-click or press
Enter. The Duplicate dialog opens.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Use the General radio button to indicate if the duplication is between the selected and
placed copy or along their direction.
l Specify the TotalCount, including the selected and placed objects. You can specify an
integer value, a variable, or a parameter name. The current value of the
variable/parameter is used to perform the duplicate operation.
l If duplicating along a direction, ItemOffset can be edited to change the distance between
each. The distance between the selected object(s) and the placed copy is used to initialize
the value in ItemOffset. You can specify an integer value, a variable, or a parameter
name. The current value of the variable/parameter is used to perform the duplicate
operation.
l If filling between objects, TotalOffset can be edited to change the distance between the
first and last objects duplicated. It is initialized with the distance between the selected
object(s) and the placed copy. You can specify an integer value, a variable, or a
parameter name. The current value of the variable/parameter is used to perform the
duplicate operation.
l Clicking OK executes the duplication. The operation is undoable.
If none of the selected objects can be duplicated, due to type or other restrictions, an error window
opens. If some of the selected objects cannot be duplicated due to type or other restrictions,
messages are posted in the message window.
Note The duplicate operation does not define the duplicated object as an array that can later be
manipulated. Consequently, after a variable/parameter value is used to define the Total
Count, Item Offset, or Total Offset, a change to the variable/parameter value will not
also change the object that was duplicated.
The Duplicate Across Layers command supports duplicating layout objects to other layers at the
same location. It will work for both layout editing and footprint editing. The same command is
available in the right-click popup menu. The following layout objects are eligible for duplication:
l Primitives: Arc, Circle, Line, Rectangle, Polygon. A void cannot be duplicated alone;
instead, a void will be duplicated along with the selected object to which it belongs.
l Edge port: If an edge port is selected and all its edges are attached to primitives on the
same layer and all those primitives are also selected, then the edge port will be duplicated.
When you have layout objects selected and click Draw > Duplicate > Across Layers, a dialog
opens for target layer selection. (If no suitable items are selected for duplication, a warning
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Only stack-up layers are listed as valid target layers. Locked layers are not eligible as
target layers and will be grayed out. If all items are on the same layer, that layer will also
be grayed out.
l A right-mouse button click on the layer selection grid will popup a menu to allow selecting
all signal, ground, or dielectric layers.
l After you select target layers and click OK, the eligible items will be duplicated to the layer
(s) you select. All duplicated items remain selected if they are on layers that are selectable
and visible. Selected items that are not eligible for duplication will be listed in the message
window.
You can “expand” objects in Layout using the Draw > Expand command. When you click Draw >
Expand, the Expand Polygon dialog opens.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Expansion value can be positive or negative (e.g., “2mm” or “-2mm”). The object is
expanded or shrunk by the distance specified.
l The Corner Style (where expanded sides meet) can be specified as Round, Miter, or
Corner. When Corner is chosen, if the corner extension results in a projection greater
than 8 times the expansion value (which corresponds to angles approximately 15 degrees
or less), then the two meeting sides are truncated to reduce the corner projection.
l You may either Replace the existing object with the expanded object or, by default,
create a new object.
Sometimes it is convenient to copy an object and paste it without an X,Y offset or displacement. For
instance, when creating copies of parameterized objects, or when copying an object to the same
location but in a different layer.
The object is pasted onto the active layer using the same X,Y coordinates from which it was copied.
General
l It provides various geometry healing operations which may be interactively applied to:
Note: For Floating body and Void cleanup, all the geometry is inspected to determine if
the criteria for cleanup is met.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Point Snapping
Arc alignment
l Only arcs with centers or radii within the tolerance are adjusted.
l Will also align the start/end points of traces and bondwires with circles and vias.
l Vias are treated as fixed objects – they are not moved but other arcs may align to them.
l The operation attempts to align arcs but does not guarantee alignment, especially when
multiple arcs are connected in a polygon.
Grid
Snaps all geometry points to a grid defined by the tolerance. One may also view this as a rounding
operation: coordinates are rounded to the tolerance value supplied.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Feature Cleanup
Voids
Floating bodies
Removes small islands of metal with an area less than the tolerance.
l If attached to other bodies, the total connected area is considered (takes into account vias).
l When making the determination, all geometry (whether selected or visible) is included.
l Does not remove bodies with ports attached.
Repair
Colinear points
l A point is considered collinear if it deviates from the chord connecting the adjacent points by
less than the tolerance.
l This operation also removes very narrow intrusions and spikes from a polygon.
Self-intersecting
You can edit an arc by changing its properties in the Property Control window or using the mouse
as follows.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l On the Draw menu, click SelectHandles. Then select the start or end point handle, and
drag it to the desired point.
l On the Draw menu, click SelectHandles. Then select the start or endpoint and type the
point’s new coordinates in the X and Y text boxes.
l Press Ctrl and drag the midpoint handle to the desired point.
l On the Draw menu, click Select Handles. Then select the midpoint handle and type the
point’s coordinates in the X and Y text boxes.
Add a new vertex to a line segment or polygon using the Alt key.
1. Select the object. The object handles become visible as squares on the object edges.
2. On the Edit menu, click Select Handles. The cursor becomes a square.
3. Hold down the Alt key.There are two possible cursor shapes when the Alt key is held down:
— When you hold down the Alt key and move the cursor over a polygon edge, the cursor
changes to a diagonal line with a hollow circle. This indicates that the cursor is in a valid location
to insert a vertex.
— When you hold down the Alt key and move the cursor to a position that is not over a polygon
edge, the cursor changes to a diagonal line segment. This indicates that the cursor is not in a
valid location to insert a vertex.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Related Topics
Voids in Layout
Directional Drawing
Routing Traces
Measurement Mode
Dielectric Modeling
Importing a Stackup
Defining the size of the region in which you are interested helps to conserve computing resources.
HFSS does not attempt to compute a solution outside the drawing region.
Drawing region settings can be changed for the local layout design, or for all layout designs. See
The Display Tab under Layout Options for details on changing the drawing region settings
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
If the drawing region is too large to fit in the viewing area of a Layout window, scroll bars
automatically appear on the bottom and left side of the window. Use them to scroll across the
drawing region. Alternatively, click View > Fit Drawing to rescale the viewing area of the window
to display the entire drawing region.
The grid displayed in the Layout window is a drawing aid that helps to visualize the location of
objects. By default a cartesian (rectangular) grid is displayed in the active Layout window. The grid
is centered at the origin of the local coordinate system (x = 0, y = 0). Grid spacing is set according to
the current project’s drawing units.
Grid settings can be changed for the local layout design, or for all layout designs. See The Display
Tab under Layout Options for details on changing the grid settings
By default, the selection point and graphical objects are set to “snap to” a point on the grid when the
cursor hovers over it. The coordinates of the selection point are used, rather than the exact location
of the mouse.
Snap settings can be changed for the local layout design, or for all layout designs. See The
Snapping Tab under Layout Options for details on changing the snap settings
When a sub-circuit is selected, it is drawn shadowed. The shadowing can be controlled through a
property on the sub-circuit. Shadow Percent: a low number means less shadowing, a high number
means more. A low number also means that the sub-circuit will be drawn with colors closer to the
original intensity.
Treat each conductor or material in the structure as a separate object. When drawing signal
layers, note that the view is top-down.
4. If necessary, use the commands on the Draw and Layout menus to modify the geometry
that you created.
5. Periodically save the geometry.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
1. Click Zoom In on the View menu, or right-click in the schematic window and select Zoom In
from the popup menu.
2. The view zooms in to a larger magnification. The absolute size of the model does not
change.
3. Repeat the operation until the desired magnification is achieved.
1. Click Zoom Out on the View menu, or right-click in the schematic window and select Zoom
Out from the popup menu.
2. The view zooms out to a smaller magnification. The absolute size of the model does not
change.
3. Repeat the operation until the desired magnification is achieved.
1. On the View menu, click Zoom Area, or right-click in the schematic window and select
Zoom Area from the popup menu.. The cursor changes to a magnifying glass.
2. Draw a rectangle (or square) by selecting two diagonally opposite corners. This is the area
where magnification will be increased.
The rectangular area is magnified in size and the cursor returns to normal. The absolute size of the
model does not change.
You can also zoom the Layout editor display using the mouse wheel:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
1. Shift, plus mousewheel gives a coarse zoom about the current cursor position.
2. Shift-Alt, plus mousewheel gives a finer zoom about the current cursor position.
After executing a zoom in or zoom out operation, you can return to the previous magnification by
selecting Zoom Previous from the View pulldown or from the right-click popup in the layout
window.
To pan (scroll) the view in any direction, hold down the SHIFT key while holding down the left
mouse button. The view is attached to the cursor. While holding down the SHIFT key and left
mouse button, move the cursor to pan the view in any direction. Release the mouse button to end
the panning operation.
The corresponding elements in the related editor will be selected and that editor window will be
brought to the front. If you select only component instances or only interface ports, then cross-
probing will make the primary selection in the first editor the primary selection in the related editor.
Note that all previous selections in the related editor will be cleared and only the cross-probed
elements will be selected when the command is invoked.
Note Changes to a design should be made from the editor that was used to create the design.
For example, if a design was created using the schematic editor, it should not be modified
from the layout editor. In some cases, attempts to change a schematic design from the
layout editor will result in a warning such as:
[warning] Port Port2, ID %2, was disconnected from net 98, but
it was not possible to unwire it. This must be done manually.
Similarly, a layout editor design can be viewed as a schematic using the cross-probing
feature, but the schematic view should not be used to make changes to the design.
Although an operation such as deleting a port in the schematic may successfully delete the
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
cross-probed layout port, the operation cannot be undone in the layout editor after the
schematic window has been closed (the undo attempt may cause an error).
Voids in Layout
For both copy/paste and copy to Planar EM, if a void’s owner is selected, all of its voids are copied
and pasted as voids. Any voids that are not wanted can then be deleted after the paste.
If a void is selected but its owner is not, the void is copied as a primitive. If desired, the boolean
subtract functionality can be used to notch or add a void, based on the overlap between the
primitive and another selected primitive.
Rather than configuring a universal directional drawing constraint using the Snapping options tab
of the Layout Options dialog, alternately you may temporarily modify the current constraint using
a simple keystroke. The following keys will modify the current directional drawing/snapping
constraint as you manipulate objects and primitives in the Layout Editor:
Both the move and duplicate operations will use the currently configured directional constraint. The
default for directional drawing is none. In the Layout Editor, the directional drawing mode is
indicated by a dotted-cross cursor.
The reference point for directional drawing — the (0,0) point for the current movement — is
marked with a dotted cross:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The following directional drawing rules apply when creating primitives, voids, and measurements:
l The first hover after initiating directional drawing sets the reference point for the current
movement.
l The cursor moves freely, but when a snapped-on-hover event occurs, the directional
constraint is applied.
l Each click resets the reference point for the next movement.
l One-dimensional (1D,) or open objects are zero-width arcs, lines, or any combination
thereof that have not yet been closed to form the boundary of an object. Generally, open
objects are used as temporary objects from which to create complex closed objects.
l Two-dimensional (2D) or closedobjectsare objects with boundaries that enclose a region. All
closed objects are automatically saved as part of the geometric model when you click File >
Save.
l Simple closed objects include thick lines and arcs, circles, and rectangles. A complex closed
object is one created by joining open objects to enclose an area. For example, to turn an
open object into a closed object, draw a line that connects the end points of the open object.
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Draw a circle by selecting a center point and a radius. Circles are drawn as true surfaces.
To delete the selected point and start over, press Esc or right-click and select Cancel.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Draw an image by using the Draw > Primitive > Image command.
1. On the Draw menu, point to Primitive and then click Image. This opens the Select Image
dialog.
2. Select the path, Lib, or Folder you wish to access by clicking one of the following buttons:
Use path, SysLib, PersonalLib, UserLib, Project Folder.
l Within the PersonalLib, UserLib, or SysLib folder, select the file from those listed, or
type the name of the file in the File Name box. Note that SysLib is reserved for libraries
supplied with HFSS.
l If you select Use path, type the name of the file in the File Name box, or use the Look in
field to navigate to the file and record its name. Note that objects imported with Use Path
may not be portable if the design is moved to a different machine.
l When the In project folder button is selected, references to the file in the design are
relative to the directory where the project resides. In this case, the path is saved in the
project .adsn file as a variable such as:
.lib '$PROJECTDIR/x_113854.lib'
The variable $PROJECTDIR will be expanded to the current location of the project when the
design is converted to a netlist and run by an analysis tool. Otherwise, an absolute path is
saved. If you move a project and its library files together to a new directory, you can preserve
the file references by selecting the Project Folder option.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Draw an arc by selecting a center point, start point, and endpoint. Arcs are drawn counter-
clockwise and as true surfaces.
Note Arcs are drawn as true circles in the Layout Editor, but they are segmented for mesh
generation.
1. After clicking the arc toolbar icon or the arc menu item, the cursor changes to indicate arc
creation. The first mouse-click location in the editor specifies the center point for the arc.
Alternatively, rather than clicking in the editor, you can always enter an equivalent value in
the coordinate bar to indicate a location.
2. Cursor movements draw an arc showing the radius and starting angle based on cursor
position. Both the radius and starting angle may change as the cursor is moved.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
3. The next mouse-click in the editor specifies both the radius and the starting angle for the arc.
In the following figure, point A is the location of the first click. Point B is the location of the
second click.
4. Cursor movements change the ending angle only; the radius is fixed. During a mouse hover,
the cursor is moved to the radius. The end angle indicated by the cursor position remains
unchanged. Grid snapping is relative to the moved position and the snap is constrained to
remain at the defined radius. Only end angles at 0, 90, 180, and 270 degrees from the start
angle will grid snap; other end angles do not intersect a grid intersection. In the following
figure, the cursor hovers at C. The line from A to C indicates the end angle position. D is the
location to which the cursor is moved.
5. The next click specifies the end angle for the arc. Note that this location may NOT be the end
point of the arc. The end point of the arc is the position along the ending angle at the defined
radius. If the cursor is clicked at C, the arc will be created with D as the end point. If the
cursor is clicked at D, the arc is created with D as the end point.
Related Topics
Draw an object with one or more straight segments using the Draw > Primitive > Line command.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
3. Select the next point of the line using the mouse or the keyboard. Notice that HFSS draws a
line between the two points.
l To delete the last point that was entered, press Backspace or right-click and select Back
Up.
l To delete all selected points and start over, press Esc or right-click and select Cancel.
4. Repeat step 3 for each point to be entered.
5. Complete the line in one of the following ways:
l Double-click the final point of the line.
l Press Enter or right-click and select Finish.
You can edit the line’s properties in the Property Control window to change the line’s width, bend
type, and end type in the Line Styles window.
Note HFSS no longer displays the "Linewidth" property for primtives in the Properties Window.
In order to make modifications to the linewidth, you must use the "Expand" function. Note
that a zero-width line is ignored by the Meshmaker.
Stitch Lines
Use the Layout > Stitch Lines command to stitch together connected/crossing lines into
polygons and lines. Selected lines with zero width will be united to form polygons when the
segments close. Selected zero-width lines are first split at all points of intersection. Then lines are
stitched together into polygons. Stitching is done in such a way as to avoid forming lines that cross.
HFSS no longer displays the "Linewidth" property for primtives in the Properties Window. In order
to make modifications to the linewidth, you must use the "Expand" function. Note that a zero-width
line is ignored by the Meshmaker.
The following apply to opening legacy adsn files or importing files of other formats that contain
polygons, circles, and rectangles with linewith specifications:
l Polygons with linewidth are converted to non-linewidth polygons of the same shape.
l Rectangles with linewidth are converted to non-linewidth polygons of the same shape.
l Circles with linewidth are converted to non-linewdith circles. Circle diameters will be equal
to the diameters of the legacy circles plus the linewidth.
The following apply to executing legacy script commands that operate on polygons, circles, and
rectangles with linewidths:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l All linewidth properties of rectangles are ignored and warnings are posted in the Message
Manager window.
l All polygons and circles are converted to corresponding non-linewidth polygons and
circles, but the same shapes are generated.
The Reverse Line command reverses the direction of selected Bond Wires, Lines and Arcs.
The command is accessible from the Draw menu, the Toolbar, and the right-click Draw submenu
when an object is selected. Invalid objects will be ignored.
Note HFSS no longer displays the "Linewidth" property for primtives in the Properties Window.
In order to make modifications to the linewidth, you must use the "Expand" function. Note
that a zero-width line is ignored by the Meshmaker.
Related Topics
Create a void, or remove material from an object, in the shape of a circle, rectangle, polygon, or line
using the Draw > Void commands. One object can have multiple voids, but each void can only be
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
associated with one “parent” object. For example, to create two concentric rings, first draw the
outer circle, then add a circular void to it. Then draw the inner circle and add a circular void to it.
l On the Draw menu, point to Void, and then click Rectangle. Then follow the procedure
for drawing a rectangle.
l On the Draw menu, point to Void, and then click Polygon. Then follow the procedure for
drawing a polygon.
l On the Draw menu, point to Void, and then click Line. Then follow the procedure for
drawing a line.
You cannot create a void in the shape of a line upon an existing line object. Material is removed
from the object in the shape and dimensions you drew.
Repeat these steps to create additional voids in an object. View or edit a void’s properties in the
Property Control window or use the mouse to drag the void’s handles.
Note 3D vias may contain voids. Voids in 3D vias can be placed entirely or partially within the
outer contour. No attempt is made to geometrically align voids in the upper polygons with
those in the lower. Rather, the order in which voids on different layers were created is used
to control their alignment.
A hole is a placeholder while creating a via. See Drawing a 2.5D Via or Create 3D Structures.
A via is an object that extends in the z direction and connects two signal layers, allowing a signal to
travel from one layer to another. Unlike cross-layer plates, vias have volume, can be electrically
large, and vary in shape. For these reasons, they use greater computational resources.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Vias are created from two 2D objects. Each 2D object is located on a trace layer. The via is
extruded between the 2D objects when the mesh is generated, thereby connecting the layers. Vias
can be 2.5D or 3D.
2.5D Vias
2.5D vias must have a circular cross-section and be strictly vertical. A 2.5D via has a finite radius
and the current is assumed to be flowing along the surface of the via. The current flow is assumed
to be strictly vertical; HFSS treats it as a 1D wire connecting the two layers.
3D Vias
3D vias can be any shape, but the 2D objects they connect must have the same number of edges.
The current is assumed to be flowing from the surface of the via in all directions.
Note 3D vias may contain voids. Voids in 3D vias can be placed entirely or partially within the
outer contour. No attempt is made to geometrically align voids in the upper polygons with
those in the lower. Rather, the order in which voids on different layers were created is used
to control their alignment.
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
To open the above dialog, you can also select one or more vias and then right-click on the
Model/Vias folder in the Project Manager and then select Planar EM Properties for Selected
Vias.
You may only define a load at one end of the via. The load on the other end is then set to zero.
c. If you selected complex, type the real portion of the complex load in ohms in the Real
text box. Then type the imaginary portion of the complex load in ohms in the Complex
text box.
d. If you selected any RLC combination, do the following:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Type the resistance value in ohms in the R text box. It must be a positive or zero
value.
l Type the inductance value in nanohenries in the L text box. It must be a positive or
zero value.
l Type the capacitance in picofarads in the C text box. It must be a positive value.
a. Specify the bottom layer — a signal or ground layer — at which the via terminates
b. If the bottom layer contains the load, select a load type from the Excitation/Load
c. If you selected complex, type the real portion of the complex load in ohms in the Real
text box. Then type the imaginary portion of the complex load in ohms in the Complex
text box.
d. If you selected any RLC combination, do the following:
l Type the resistance value in ohms in the R text box. It must be a positive or zero
value.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Type the inductance value in nanohenries in the L text box. It must be a positive or
zero value.
l Type the capacitance in picofarads in the C text box. It must be a positive value.
Note When working with a Via, you can select Draw > Toggle Between Via and Pin to convert
the Via to a Pin and then reconfigure the Pin settings using the options described in
Creating a Probe Port.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
When defining the properties of a 2.5D via, you must specify the type of load being applied to the
signal or negative signal layer. This is done in the Via Properties window, under the Upper Layer
or Lower Layer tab, depending on which layer contains the load. You may only define a load at
one end of the via. The load on the other end is then set to zero.
Select one of the following load types from the Excitation/Load Type list:
If you select complex, you will specify the real and imaginary portions of the load in ohms.
If you select any RLC combination, you will specify the resistance value in ohms, the inductance
value in nanohenries, and the capacitance in picofarads.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
If you select coaxial excitation, you will specify the desired current in amps, the phase in degrees,
and the coaxial source impedance in ohms.
When two or more objects on different layers are selected, the Draw > Create 3D Structure
command will connect the objects to create a single 2D or 3D object. Objects being connected
must possess the same number of points. If the objects selected contain open lines, the created
structure will be a two-dimensional face (cross-layer plate) that spans the different layers. If the
selected objects contain closed lines, the created structure will be a three-dimensional solid (3D
Via) that spans the different layers. These 3D surfaces are included in the Planar EM model. And in
addition to a color attribute, 3D structures also possess a material attribute.
HFSS can model infinite, periodic structures where geometry drawn in a “unit cell” is repeated
infinitely in the x and y directions. If you excite the infinite array with an edge port, the excitation will
radiate into free space. If you excite the array with a plane wave, the structure will act as a
frequency-selective surface (FSS) or filter receiving the excitation.
1. Right click on the design in the project tree and select Infinite Array.
2. The array is drawn using a rectangular unit cell. Select the center point of the unit cell by
typing its coordinates in the X and Y text boxes.
3. Specify the dimensions of the unit cell by typing its width in the a text box and its height in the
b text box.
l Alternatively, click Autosize to give the rectangle the same dimensions as the model
geometry.
Note You may draw geometry outside the unit cell. The mesh will automatically be
generated in a way that assures current continuity across the boundaries of the
unit cell.
5. Type a Skew Angle (gamma) that represents how the array lattice is repeated between
rows of cells.
6. If the infinitely periodic structure represents an infinite array, type the array’s Scan Angle
values in the Theta and Phi text boxes.
The scan angle determines how the different cells of the array are excited periodically. Theta is
the angle measured from the z-axis, which is the axis perpendicular to the plane of the work
space, and must be from 0 to 180 degrees. Phi is the angle measured from the x-axis and can
be from 0 to 360 degrees.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
If the periodic structure represents an FSS filter, these values are not necessary. The incident
angle of the plane wave is defined in the Setup Plane Wave Excitation dialog box.
Note The solution will be invalid when an incident angle for FSS is close to 90 degrees. As a
result, the solver will indicate an invalid field for any angle that is between 88 and 92
degrees.
The rectangular structure you drew and its associated excitation will be repeated infinitely.
Drawing a Cavity
By default, the nearest negative signal layer above the current signal layer is selected.
5. Select a bottom negative signal layer from the Bottom Layer list.
By default, the nearest negative signal layer below the current signal layer is selected.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Cavities cannot be defined between two negative signal layers when there is an
intervening negative signal layer between them. However, you can create two cavities
stacked on top of one another.
l Edge ports must touch the cavity wall. To place sources inside a cavity, use gap sources
or probe ports.
l Only gap sources and probe ports can be defined both inside and outside cavities at the
same time.
l Cavities and finite negative signal planes cannot be defined in the same model.
1. On the Project menu, point to Add Model and click Add NPortModel.
2. Under the N-Port Data tab, type a name for the N-port in the Name text box.
3. Select an interpolation method - Linear interpolation, interpolation using a Cubic spline, or
interpolation using a Rational polynomial - from the list. Your selection determines how S-
parameters between frequency points in your N-port file, if needed, are calculated.
4. Specify the data source:
l Select Enter data in spreadsheet if you want to manually enter the S-, Y-, or Z-matrix
data for the N-port. Then see Manually Entering N-Port Data.
l Select Import data if you want to import the N-port data file into the active project. Then
see Importing or Linking to N-Port Data.
l Select Link to file if you want to refer to an N-port data file during the solution process.
This is useful when you want to avoid importing an N-port data file into the project every
time it is updated. Then see Importing or Linking to N-Port Data.
5. Click the Port Impedance tab. If desired, change the reference impedance for the S-
parameter data.
6. If desired, specify a phase rotation for the S-parameter data.
7. Click OK.
You return to the Layout window. The N-port is represented by the following symbol, which
varies depending upon the number of ports.
8. Click an arbitrary point in the Layout window to place the N-port data in the project.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
After inserting the N-port into the project, you must draw the connection from your model to the N-
port.
Related Topics
Drawing a Connection
l The S-parameter file for the N-port must be in one of the following formats:
.szg Planar EM and ANSYS HFSS version 6 and later and Maxwell Strata from
version 1.1.
.snp, Touchstone .snp, .tou, .y*p, and .z*p format files. For .snp files, the number of
.tou, ports in the S-parameter file is indicated by n. For example, a Touchstone file with
.y*p, one port would have the extension .s1p. If the S-parameter file has more than 10
.z*p ports, the .tou extension is used.
.flp HFSS version 2014.
.cit CITIfile version 1
l N-ports are assumed to be non-radiative. The coupling between the N-ports and the rest
of the circuitry is also ignored. Therefore, if you generate an output far-field or near-field
file for a structure containing N-ports, the results will not contain the radiation from the N-
ports.
l Be aware that the order in which you connect the model ports to the N-port ports affects
the solution. When you select the ports to connect to the N-Port in the Layout window,
the order in which you select them determines the order of port connection. It is very
important to connect the right ports since most active device S-parameters are not
symmetrical.
l If your N-port is an active or nonlinear device and you are inserting the device along a
section of microstrip line, it is very important that the dimensions of the microstrip are as
precise (as close to the actual, physical model) as possible. This precision increases the
solution’s accuracy when connecting the complex S-parameters of the N-port to the
overall circuit.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l The simulation frequency must be within the range of frequency specified in the N-port S-
parameter file. If the simulation frequency is out of range, an error message appears and
the simulation is terminated. You need to either change the simulation frequency or
update the N-port S-parameter file to include new frequency data.
If the simulation frequency does not coincide with any of the N-port frequencies, HFSS
approximates the N-port S-parameters at the simulating frequency by interpolating them.
The accuracy of the interpolation may deteriorate if the S-parameters contain sharp nulls or
peaks. So for N-ports that resonate, make sure there are enough data points in the N-port S-
parameters near the resonance.
If you want to refer to an N-port data file during the solution process, you can import an N-port data
file into the active project or link to an N-port data file. The latter method is useful when you want to
avoid importing an N-port data file into the project every time it is updated.
1. On the Project menu, point to Add Model and click Add NPortModel.
2. Under the N-Port Data tab, select one of the following data sources:
l Import data
l Link to file
3. Select one of the following options in the File area:
l Use Path if you want to specify the exact location of the N-port data file.
l In PersonalLib folder if the file is located in the program’s PersonalLib folder.
l In userlib folder if the file is located in the program’s userlib folder.
l In syslib folder if the file is located in the program’s syslib folder.
4. Click the “. . .” button and use the file browser to select the desired N-port data file.
5. Click OK.
You return to the N-Port Data tab of the N-Port Data dialog box.
You have the option to manually enter S-, Y-, or Z-matrix data in the N-Port Data dialog box,
rather than importing or linking to an existing N-port data file.
1. On the Project menu, point to Add Model and click Add NPortModel.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note If the N-port data file contains complex propagation constant or characteristic
impedance values, you can select Gamma or Zo, respectively, to view the data,
but the information is not necessary to run a simulation.
5. Enter the number of ports to which the N-port is connected in the Ports box.
6. Select the format in which you want to enter the data - (magnitude, phase), (real, imaginary),
or (dB/, phase) - from the list. Then enter the data for each frequency point in the
spreadsheet.
l Click Add Frequency to add information for an additional frequency point.
l Click Clone to create a copy of the selected set of frequency data and place the copy
at the end of the spreadsheet. Cloning can save data entry time.
l Click Delete to delete the selected set of frequency data.
7. Follow the general procedure for inserting N-Port data.
You can change the reference impedance for the S-parameter data in an N-port data file. This is
done under the Port Impedance tab in the N-Port Data dialog box. You can apply the same
impedance to all ports or a different impedance to each port.
1. Click the Port Impedance tab in the N-Port Data dialog box.
2. To apply the same reference impedance to all ports, do the following:
a. Select Simple Port Impedance.
b. Type the impedance value in ohms.
c. Select Admittance if you want to calculate the admittance matrix, the inverse of the
impedance matrix, based on the value entered.
d. Click Update.
3. To apply a different reference impedance to each port, do the following:
a. Select Set impedance for each port.
b. Select a port from the list.
c. Select Impedance or Admittance, then type the real and imaginary parts of the
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
You can rotate the phase of an N-port’s S-parameter data. This is done under the Network Data
tab in the N-Port Data dialog box.
1. Click the Network Data tab in the N-Port Data dialog box.
2. Click Phase Rotation.
3. If you select Specify Distance and Effective Dielectric Constant, enter a distance in the
Length text box and a dielectric constant value in the Keff text box.
4. If you select Time Delay, enter the delay time in the Time text box and select a unit in
seconds from the list.
5. Click Update.
6. Click OK.
Phase rotation is calculated for the N-port data and you return to the Network Data tab.
After inserting an N-port into your project, you must connect it to your model. A new port is created
upon connection and is automatically defined as a pad port. The order in which you select the ports
determines the order of port connection and the solution. So it is important to connect the ports in
the right order, since most active device S-parameters are not symmetrical.
1. Select the edge of the model to which you want to connect the N-port.
2. Select the port on the N-port that you want to connect to the edge.
3. On the Draw menu, click Connection.
l The edge you selected is connected to the N-port and creates a new internal port upon
connection. The N-port data will be used during the solution process.
l Make sure to connect all the ports of an N-port to the model.
Note To remove a connection so that objects can be easily removed and/or reinserted
elsewhere, select one or more objects and click Disconnect from Net from the Draw
menu.
Multiple Connections
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Additionally, the Connection command is an interactive mode that can be used to make multiple
connections, one after another. When nothing is selected, and Draw > Connection is chosen, the
layout changes to connect mode and the cursor changes to the following:
Then, when the cursor is close enough to choose an object that can be connected, the object is
graphically highlighted and the cursor changes to the following:
Click on an object to connect. Moving the cursor now extends a feedback segment from the
connected object. Click on a second object and the two are connected in the same net.
Related Topics
Components that do not have footprint geometry are initially rendered on the Symbol layer. When
the component is first wired to an object on a physical layer, it will then render on that physical layer.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
If the component has any pins wired to an object on a physical layer, a new property called Auto
Layer Placement appears. It is populated with all the pins that are connected to physical layers,
plus an additional override option: use placement layer.
When the Auto Layer Placement is set to use placement layer, the PlacementLayer property
is editable and the user may override the layer placement for the component rendering.
You can assign reference ports using any of the following scenarios.
Padstack/Padstack
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
3. The first padstack selected becomes the port, and the second becomes the reference.
Edge/Edge
3. The first edge selected becomes the port, and the second becomes the reference.
Edge/Padstack
3. The first edge becomes the port, and the second becomes the reference.
Port/Padstack
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
OR
OR
Modes of Operation
l With no active selection, the command activates the circuit port drawing tool.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
A circuit port is created between the two points and the tool remains active until it is canceled or
until a new tool is selected.
l With an active selection, the command creates a circuit port between the selected edges or
pins, or in the case of a single edge, from the edge to the ground.
General Rules
l The start/end points of a circuit port must lie on metal (a negative ground layer is
acceptable).
l Circuit ports are not recognized by the Planar EM solver.
l The HFSS/Planar EM port type can be toggled between gap and circuit if the port geometry
represents a valid gap port.
l Pin
l Edge
l Edge Port
The following sections describe the required inputs and expected outputs for Automatic and
Manual trace generation.
Related Topics
Regenerate Auto-Trace
Unfix Auto-Trace
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
To set the configuration options for Automatic Trace Generation, select Draw > Route >
Settings. This opens the Automatic Trace Drawing Options dialog:
l Auto-select width from geometry will define the line style by bend type, cap type, and the
minimum width of the geometry that is being connected.
l Used fixed line style will define the line style from the named line style, which explicitly
gives a width as well as bend and cap types.
l Enable Clearance causes auto-trace to attempt to keep a minimum distance from all
geometry, either as a proportion of line width or as an absolute distance.
l LineWidth causes auto-trace to attempt to keep a minimum distance, equal to Line Width
multiplied by the <number entered>, from all geometry in the layout.
l Distance causes auto-trace to keep the defined distance from all geometry in the layout.
l Via Options specifies that the selected via type will be used when vias are placed (which
occurs when the trace start and end are not on the same layer).
l To set additional options, select the Advanced Settings button. This opens the Advanced
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Preferred number of steps to goal is divided into the distance from start to end in order to
calculate the step size for the trace grid. In general, smaller step sizes (that is, larger
numbers of steps) mean slower performance but better solutions, due to the finer control of
the trace path. Note, however, that the step size can never be less than the line width of the
generated path.
l Step size reduction factor per attempt is divided into the step size, if a path avoiding
obstacles is not found. Then the algorithm is attempted again. Attempts will continue until the
step size is less than the line width or until Maximum number of steps is reached.
l Maximum number of attempts specifies the upper limit of retry attempts for the trace.
l Search box size factor is multiplied by the distance from the start to end in order to set the
maximum search box size for the trace. As a result, the auto-generated path stays inside the
dimensions of the calculated search box.
After configuring options for Automatic routing, begin the trace by selecting two pins, edges, or end
points and clicking Draw > Route > Automatic. Outputs from the trace are generated and include
lines and vias that connect input while avoiding obstacles. Note that vias are added when start/end
points do not lie on the same layer, and via positions are chosen so they do not intersect metal. As a
result, vias will lie over geometry on ground layers (which are negatives).
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
To set the configuration options for Manual Trace Generation, select Draw > Route > Manual.
This opens the model’s Trace Drawing Options dialog:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Auto-select width from geometry will define the line style by bend type, cap type, and the
minimum width of the geometry that is being connected.
l Used fixed line style will define the line style from the named line style, which explicitly
gives a width as well as bend and cap types.
l Padstack definition displays the type of via to use that is specified when you click Select.
l Via start layer specifies the start layer for the via.
l Via end layer specifies the end layer for the via.
Start and end layers automatically switch as vias are placed during manual routing. For example, if
the first via leads from trace to ground, the second via, by default, would lead from ground to trace.
Begin the trace by selecting two pins, edges, or end points and clicking Draw > Route > Manual.
Outputs from the trace are generated as the user clicks on the screen and “grows” the trace from
subsequent click-point to click-point. During the trace building process, the user can modify values
in the Trace Drawing Options dialog to change the trace that is being generated.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
You can switch layers by selecting Add Via from the right-click pop-up menu, and can also use this
operation to add a via under the current mouse location.
After modifying a layout (change geometry location, move an obstacle) you can regenerate the
automatic trace by choosing any object in the trace and selecting Draw > Route > Regenerate.
This will regenerate the automatic trace while avoiding geometry that was moved or added since
the original trace.
Trace geometry that is placed as a manual trace segment, or modified since the original auto-
routing, is "fixed" in place. After part of a trace is fixed, additional modifications to the trace start/end
causes traces to be rerouted to the newly fixed geometry — the fixed geometry does not move.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
To "unfix" these portions of the trace and allow them to be automatically rerouted, select the fixed
geometries to be rerouted and select Draw > Route > Unfix. All the selected portions of the trace,
along with all other non-fixed segments of the trace, will be replaced with new auto-routed trace
segments.
Measurements and their properties are also displayed as values in the Properties window.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
In Measurement mode, you can also click on multiple points to define multiple segments, and the
distance between each point will be measured. The individual distances of multi-segments are
displayed as property displays on the layout.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
To turn Measurement mode on, select Layout > Measure; the cursor changes to a small diamond
shape. Each time you left-click a new point in the layout, a new segment is defined, and when you
end the measurement, the distance of each segment is displayed. To end the measurement select
Right-Click > Finish Measurement, which ends the particular measurement, but not the
measurement mode session. To complete a measurement and also terminate measurement
mode, select Right-Click > Finish.
To clear the measurement lines from the layout, select Layout > Erase Measurements.
Measurement mode supports the creation of multiple measurements, until the mode is terminated.
To terminate measurement mode, select Right-Click > Finish. To complete a measurement
without terminating measurement mode, select Right-Click > Finish Measurement.
To cancel a measurement without terminating measurement mode, select Right-Click > Cancel
Measurement. You can also finish a measurement without terminating the mode by double-
clicking a location. Right-Click > Backup will backup to the last measurement segment. Right-
Click > Cancel will terminate the measurement mode.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Measurements displayed in the layout can be moved, rotated, or flipped. Measurement handles
may be edited. But measurements displayed in the layout may not be copied or pasted.
Summary
Dielectric Modeling
HFSS supports finite dielectrics. Dielectric layers will always be truncated according to the HFSS
Model Extents. Using the extents settings, you can define how the polygon dielectric and negative
signal layers will be generated relative to the base polygon. By default, the HFSS Model Extents
setting for “Honor primitives on dielectric layers” is selected, but when the check box is unselected,
dielectric layers use the extents settings regardless of whether or not you draw polygons on them.
For more information, see HFSS Model Extents.
In contrast, Signal layers can be made of either dielectric or conducting materials and can have
internal, user-drawn shapes to create what are sometimes called "dielectric bricks" or "dielectric
inclusions”. While sometimes called "bricks", there are no limitations on the dielectric shapes.
Signal layers that are assigned a dielectric material will create objects corresponding to whatever
shapes exist on the layer. Signal layers may overlap other Signal layers in elevation, and this
provides a great deal of flexibility for representing dielectric object.
In the event that dielectrics on different Signal layers overlap, the Precedence Value on the EM
Modeling Properties can be used to resolve ambiguities with lower values having priority. If EM
Modeling Properties have not been added or cannot be used to resolve overlaps, precedence is
assigned according to material properties.
Importing a Stackup
In certain instances it may be easier to define your dielectric and signal layer stackup by importing
an XML based “control file" using the Edit Layers dialog. For example, if you have a standard
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
technology process, and you want to assure that all the designs you create use this process, you
can import a control file to guarantee that all the stackups are identical.
The XML control file can be created using a third party text editor or a script. In some cases,
extremely complex stackups can be more easily created outside of HFSS and then imported,
rather than creating the stackups using the HFSS interface. For more information on the format of
the XML layer control file, see Layout and ODB++ Control File.
The Edit Layers dialog has two pull-down menus: Stackup and Layer.
The Stackup menu allows the user to import a stackup from an XML file and to export the stackup
in the dialog to an XML file.
To import a stackup, open the EditLayers dialog by clicking its toolbar icon or by selecting Layout
> Layers. Next, click on Stackup > Import XML. A series of dialogs will open that allow you to
browse to the XML control file and import the stackup. The exact series of steps will depend on
whether the design has existing layers and whether the layers contain geometry. In certain
instances the import mechanism will add additional dielectric/signal layers to create the pancake
stackup.
The Layout/ODB++ Control file can be imported directly. A FileOpen dialog will appear that allows
you to browse to the XML layer control file.
After clicking the ImportStackup button, a warning may display that indicates at least one of the
existing layers contains geometry. A dialog then offers the option of replacing or updating the
existing layers. After choosing to update or replace existing layers, a FileOpen dialog appears that
allows you to browse to the XML layer control file.
l Replace existing layers — All existing layers in the design are discarded and layers
from the Layout/ODB++ Control File are inserted into the design. Geometry on any of the
existing layers may be moved to different layers. After importing a stackup into a design
with existing geometry, it is important to recheck your design.
l Update existing layers — The import mechanism will attempt to merge the existing
design layers with those in the Layout/ODB++ Control File. In some cases the import
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
mechanism cannot merge the layers and you will not be able to import the Layout/ODB++
Control file. The following examples illustrate the results when a one-to-one match does
not exist between existing and imported layers. The XML file and existing stackup contain
layers of type signal ("S") and dielectric ("D") — i.e., the name "S1" signifies a signal layer
(but the layer names you choose can be arbitrary).
Example 1: One to one mapping. This is the simplest case where existing layers are updated
with new material properties and thicknesses. The matching of layer names is case insensitive.
Example 2: Merge not possible. In this case the layers in the XML file are very different from
the layers in the existing stackup and the import mechanism cannot create a merged stackup.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Example 3: Additional layers. In this case the XML file has one or more additional layers. The
import mechanism will update existing material properties and thicknesses and add the
additional layers.
Example 4: Automatic layer addition. The import mechanism will add dielectric or signal
layers to create a strict pancake stackup.
Layer "S0_DIEL" is a dielectric layer added by the import mechanism with defaults for the
material and thickness.
Layout Components
Layout based component encapsulation allows you to efficiently configure and manipulate HFSS
3D Layout objects by using coordinate system groupings that employ a Component Model
Configuration. You can select an individual pin in layout, or select a component, and then click the
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
ModelInfo bar of the Properties Window to open the Component Model dialog.
Different options will appear in the Component Model dialog depending on the part type. The
above figure shows a Connector and IO class, but in general, you can use the Component Model
dialog to set up the configuration for all the pins of a component and/or all pins for components of
the same class.
For instance, you can still configure pins individually, but since Solder Balls are often likely to be
identical across the entire component interface, you can use the Component Model dialog to
configure Solder Balls properties across component scope. After which, every pin on the
component is configured with the same type Solder Ball, positioned correctly either above or
below, and also generates the common reference for HFSS simulation.
Next, you can then use the Components Window to select the component or a component class,
and in combination with the right-click Create Ports option and the Use Net option of the Create
Ports dialog, configure multiple ports across components in just the same manner. You can also
select multiple components in the layout simultaneously to configure pins and ports for each, all at
once.
For resistor, inductor, and capacitor component classes, an electrical model can be directly
assigned to characterize the behavior of the passive device. Available model types include:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Related Topics
1. Select a capacitor in the Components window, click the Model Info for the capacitor in the
Properties window, then in the Component Model dialog that appears, click the Library
Browser button.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The Capacitor/Inductor Library Browser dialog box appears. You can sort the values in
each column by clicking the column title.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
2. To automatically select the capacitors that match the defined impedance profile, click the
icon.
3. To manually select the capacitors, click the Plot check box. To plot all the capacitors, click
the Plot column title.
4. Specify filters for the options that you want to show. You can save these options to a .cff
(capacitor filter criteria) file. You can also load an existing filter.
5. To update the value for multiple capacitors, select the value from the pull-down list, enter a
new value for all the selected capacitors in the text box, and then click Update.
6. To import a capacitor model from a Touchstone file: click the icon. The Import S-
parameter Component dialog box appears. Specify the component details, and click OK.
7. To remove all capacitor impedance curves that have been selected, click the icon.
8. To define the impedance requirements, click the icon. The Define Impedance Mask
dialog box appears. You can create and save the existing profile, or load a saved profile.
9. To define VRM parameters, click the icon. The Define VRM Parameters dialog box
appears. Specify the ESL and ESR parameters, along with the plot color, and click OK.
10. To change the display options, click the corresponding icons to display
impedance mask, VRM output impedance curve, or aggregate output impedance curve.
11. To update the value for multiple capacitors, select the value from the pull-down list, enter a
new value for all the selected capacitors in the text box, and then click Update.
Coordinate Systems
Each Coordinate System (CS) possesses an X-axis that lies at a right angle to a Y-axis. The origin
(0,0) of each CS is located at the intersection of the x- and y-axes. HFSS has two types of
coordinate systems: global coordinate systems, and relative coordinate systems.
l A globalcoordinate system is the fixed, default coordinate system (CS) for each new project.
The global CS cannot be edited or deleted.
l A relative coordinate system is one which you create within the global CS, or within another
relative CS. Multiple relative CSs can be created. A relativeCS is user-defined, and its origin
and orientation can be set relative to an existing object or relative to another existing CS.
Relative CSs enable you to draw objects that are positioned relative to other objects. If you
modify a relative CS, all objects drawn in that CS will be affected and all objects will change
their relative positions accordingly. You can choose to set a relative CS that is offset from an
existing CS, rotated from an existing CS, or bothoffset and rotated from an existing CS.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
You can switch between global and relative CSs by changing the activeCS. Objects in the active
CS possess a color attribute that overrides the default layer color for objects displayed in the layout
editor. User-defined CSs are saved with the active project.
Related Topics
With nothing selected in the layout editor, the Draw > Coordinate System > Create command
creates a new relative CS and will group together subsequently created objects and position them
relative to the 0,0 origin point of the new CS. When you select the Create command with no object
selected, the cursor changes to positive X-Y crosshairs to indicate that a new CS is being created.
The cursor also displays the name assigned to the CS, in the form CS_n, where n is a unique
integer. Left click in the editor to position the new relative CS. After positioning, all objects you now
create are automatically grouped together with, and positioned relative to, the 0,0 origin point of the
new CS. This is indicated by each object's positional values that are displayed in the Properties
window.
With an object selected in the layout editor, the Draw > Coordinate System > Create command
creates a new Coordinate System and will group together and position subsequently created
objects relative to the selected object. When you select the Create command with an object
selected, positive X-Y crosshairs are positioned next to the object to indicate that a new CS is being
created relative to that object. Objects you now create are automatically grouped together with,
and positioned relative to, the 0,0 origin point of the new CS. This is indicated by each object's
positional values that are displayed in the Properties window. There are three types of objects you
can associate with a new relative CS: an edge port, a pin, or a selected edge.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Draw > Coordinate System > Group Into CS groups all selected objects into a new
relative CS.
l Draw > Coordinate System > Ungroup ungroups all selected objects and deletes the
relative CS. Ungrouping a structure removes the connecting surface between the objects
that make up the structure, but without removing the objects.
The coordinate system Push and Pop commands allow you to move between different CS levels.
l Draw > Coordinate System > Push Down switches the active CS to the next lower level.
l Draw > Coordinate System > Pop Up switches the active CS to the next higher level.
Relative CSs can be created within other relative CSs to form multiple relative levels.
l When you click Draw > Coordinate System > Edit the Select Coordinate System window
appears. You may now select the CS you wish to edit.
l As you select a coordinate system in the list, the coordinate system you have chosen
becomes temporarily activated in the layout to show which objects are affected.
l When you have finished choosing a coordinate system to edit, click Select and that CS now
becomes the active CS in the layout editor.
3D Structures
You can manipulate 3D structures in the Layout Editor using the Draw > 3D Structure submenu
commands described in this section.
Related Topics
Create 3D Structures
3D Ungroup
Create 3D Structures
When two or more objects on different layers are selected, the Draw > 3D Structure> Create
command will connect the objects to create a single 2D or 3D object. Objects being connected
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l If the objects selected contain open lines, the created structure will be a two-dimensional
face (cross-layer plate) that spans the different layers.
l If the selected objects contain closed lines, the created structure will be a three-dimensional
solid (3D Via) that spans the different layers. These 3D surfaces are included in the Planar
EM model. And in addition to a color attribute, 3D structures also possess a material
attribute.
l If Create 3D Structure is clicked when no objects are selected, you will be required to
interactively place the structure, and the current CS will be set to the new 3D structure.
Note When you use Draw > 3D Structure> Create to create a structure using a selection of
closed polygon lines, the order in which you select the lines is not significant — lines are
automatically ordered according to elevation before being connected by the closed surface.
But when you use Draw > 3D Structure> Create to create a structure using open lines,
the selection of lines is order-significant — lines will be connected in the order in which they
were chosen.
3D Ungroup
The following group/ungroup commands are available when working with 3D structure objects.
l The Draw > 3D Structure > Ungroup command ungroups all selected objects and
deletes the relative CS. Ungrouping a 3D structure will remove the connecting 3D surface
between the objects that make up the structure, but without removing the objects.
l Draw > 3D Structure > Push Down switches the active CS to the next lower level.
l Draw > 3D Structure > Pop Up switches the active CS to the next higher level. Relative
CSs can be created within other relative CSs to form multiple relative levels.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
formats. A text summary of the results is also available and can be viewed in the Layout Editor or
exported to a file.
Related Topics
Rule Checking
Rule Checking
Design Verification employs layout-constraint rules which ensure that the IC/PCB will operate as
designed, given the manufacturing process. Using DV, layers have restrictions on size, aspect
ratio, and separation that result from different physical, chemical, and lithographic process
limitations, as well as the electrical properties of the device.
DV rules to enforce these restrictions can be complex and involve layer and connectivity
interactions. Before sending the IC/PCB layout to be manufactured, you should first verify the
layout using the DV software:
l For IC, the manufacturing foundry specifies the restrictions. IC foundries require checking
with an authorized DV rule set to guarantee the manufacturing.
l For PCB, companies that create the board design often have their own restrictions that
also incorporate additional restrictions which come from the board manufacturer.
Vendors of DV software work with foundries to provide authorized sets of design rules to meet the
process requirements.
It is common for the design verification of a full layout to take hours to run. Since it is not practical to
do such a check often, DV tools also provide partial design testing. Using a combination of
complete and partial testing speeds up development time. Another time saver is using DV tools that
can run directly from the layout editor database to avoid data translation.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Graphical Data
The execution of a DV rule produces graphical data (polygon or edge/vector) showing location and
explanatory error messages. The error messages may be output on the screen and/or included in
the file of a generated report. One or more reports are created during a design verification run. The
graphical data can be stored with the layout data or separately. Both the textual and graphical
results can be used to locate and fix errors, but it is faster and more convenient to work with the
graphical results accessed by a layout editor.
Hierarchical Checking
Layouts that use hierarchy to partition segments of the layout enable DV programs to check
identical segments only once and use the results for each placement. Note that the advantage of
hierarchy is greatly reduced if there is interaction with other objects at other levels of hierarchy.
Some DV tools analyze the actual layout hierarchy/geometry and then synthesize a hierarchical
view that works best for design verification. Users can also modify portions of the layout hierarchy
to “flatten” or ignore portions for checking. The verification view of the hierarchy does not change
the actual hierarchy used in the layout.
Generated Results
Rule sets, runs, scripts, and generated results are all persistent, and are contained in the project
file. Results are stored as solution data in the results file associated with the project file. Rule sets,
runs, and scripts may be part of technology files to jump start new projects with existing DV checks.
To define a rule set, right-click Design Verification in the Project Tree and choose Add Rule
Set. This opens the Design Verification Rule Set Dialog.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The Design Verification Rule Set Dialog is used to access pre-existing legacy scripts and to
define new rule sets. Rule sets contain the scripts that specify DV checks. Scripts may be Java
Script, VB Script or Python Script. The Tree View on the left of the dialog shows the names of
available scripts. The names of pre-existing Java and VB Scripts already supported are listed at the
top of the Tree View.
Python Scripts are also supported and are listed in the Tree View below Java and VB Scripts in
non-leaf nodes. Python Scripts are stored in sub-folders in \syslib\DesignVerification. To edit a
Python Script, you must open the script file and edit it manually in the DesignVerification folder.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l To access a pre-existing Java or VB script in the Design Verification Rule Set Dialog,
right-click on the script name and select Add, Remove, or Edit.
l To add a new rule script, change the Rule Set Name as desired and click the Add Rule
Script button.
This opens the Select Definition dialog where you can right-click to Add, Clone, Export, Edit,
and Remove a script.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Script properties listed in the Grid Control to the right of the dialog are defined in the Python Scripts,
and their values can be changed for the current project.
Any number of additional scripts may be added to the rule set. When you have finished making
additions and selections in the Design Verification Rule Set Dialog, click OK to add the new
rule set. The Verification item in the Project Tree now contains the new rule set item.
To select a script to be part of a design verification run, select the check box of its node in the Tree
View. All selected scripts will be run for the current Rule Set. For more information, see Design
Verification Runs.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
This opens the Design Verification Run Dialog. This dialog is not modal.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note Design Verification allows selected target objects to be at or below the active level of the
hierarchy.
Change the Run Name as desired and choose from the following options:
Target
l Select the first Target radio button to specify that the entire layout is to be checked.
l Select the second Target radio button to specify that only selected objects are to be
checked.
l Click Choose Objects Currently Selected in Layout to choose objects for this run; the
run message updates to show the number of objects in this run.
Objects to ignore
l Click Choose Objects Currently Selected in Layout to choose objects to ignore for
this run; the run message updates to show the number of ignored objects in this run.
Tolerance
l Set the tolerance value for segmenting arcs and circles, or set the tolerance to the value
used by Layout.
Click OK to save your changes and close the dialog. Click Run DV to run the design verification.
Alternately, you can run the design verification by opening the Project Tree and clicking the Run
Name that resides beneath the corresponding Rule Set.
In the project tree, the rule set item now contains a run item. The current icon for the run has no
color, which indicates that the run has not been executed. Once executed the icon will have color.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
This re-opens the Design Verification Run Dialog. This time, change the Run Name to “Run on
Selection” and select the second Target radio button. The dialog message updates to show the
number of objects checked by the run. Click OK.
The Project Tree now indicates that there are two runs for this rule set, although neither has been
executed.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
To run the design verification and populate a run with results, in the Project Tree right-click on the
desired Run Name, such as “Entire Layout” or “Run on Selection” and choose Run. This will
execute the design verification on the rule set you have chosen.
While the run is executing, a progress bar appears which indicates the rule set, run, script, and
command, and how long the run has been executing. The run may be aborted using the arrow
button.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Results are invalid if the layout, rule set, or run was changed after it was last executed.
After a design verification run has been executed and contains valid results, you can view those
results by selecting the run set in the Project Tree and choosing View Results from the right-click
menu. This opens the Design Verification Results window. The dialog is not modal.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The Results dialog contains two tabs: Results and Profile. The Results tab is used to display
results graphically and interactively, while the Profile tab contains a summary of information about
the run.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
To write the Profile to a specified text file, click the Export button. This will write the summary to a
specified text file with the following format:
To view the actual results of the verification, in the Results tab, select either All results or Only
selected results and then click ShowResults. The results are displayed in heavy red lines in the
Layout Editor.
This example shows the result of line 5. The result for this check is a pair of thick line segments,
drawn in red on layer "DV sep results". The check was done in the rule script "One Layer
Separation to Errors" and was commented in the script with the description "R1 sep < 0.05 mm".
Results are only displayed in the Layout Editor when the Results dialog is open. Once the dialog
is closed, any results currently being shown in the layout are removed. Multiple Results dialogs for
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
different runs may be open at the same time, but only the results of the active dialog are shown in
the Layout Editor. The Show Results button of each non-active dialog is enabled to allow you to
switch between results. If results are visible in the layout, and at least one result is selected in the
grid control, the Zoom to Selected Results button is enabled. Clicking it will change the layout
view to zoom to the results.
To export the graphical results, display all the results and leave the Results dialog open. Then use
layout Export functionality to export to the desired format and be sure to include the results layers.
The GDSII data exported with this dialog will contain the results geometry and layers, along with
layout geometry and layers.
l Use Copy/Paste in the Project Tree. Rule sets and runs may be pasted within and
between projects. Scripts used by the rule sets are automatically copied.
l Choose Save As Technology File from the File menu.
To re-use a saved technology file when creating a new design, choose the technology file when
prompted for a file to open. The new design will be created with the same rule sets, runs, and
scripts as the design used to create the saved technology file. If any of the saved-technology runs
used selected or ignored objects, the same configuration will be used to set up the new run, but the
object count will be reset to 0 because the new layout is empty.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Error Clusters — Grouped segments that represent the results of a DV check. Usually
a cluster contains two segments, but under certain conditions there may be more or less.
These segments contain no polygon information. Segments may be a single point.
l Polygons — Closed geometric figures that may contain holes. These polygons may be
grouped.
l Edges — Segments that contain some relationship information from previously
belonging to a polygon. An edge, for instance, contains the directions "inside" and
"outside" of the polygon and is able to determine if another edge was part of the same
polygon. This information allows the edges to be used as input to other DV commands.
DV layers containing polygons may be used as input to any command. DV layers containing
polygons or edges support rule "conjunction", using the output of one check/operation as the input
to another. DV layers containing error clusters may only be used as input with the SaveLayer
command. The commands described below return DV layers containing polygons.
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
A Design Verification layer, or simply “layer”, is a collection of geometry. A layer is a term used
internally within DV as input or output for various DV commands. When used as input, the contents
of a DV layer can be imported from layout by the ImportLayer command or created by a DV
command. When used as output, the SaveLayer command can be used to save the contents of a
DV layer as results which can then be viewed in layout.
l Error clusters – Grouped segments that represent the results of a check. Usually a cluster
contains two segments, but under certain conditions there may be a fewer or greater
number of segments. These segments possess no polygon information. Segments may
be a single point.
l Polygons – Closed geometric figures which may contain holes.
DV layers containing polygons may be used as input to any command. Once DV layers containing
edges are supported, they may be used as input to commands. DV layers containing polygons or
edges support rule “conjunction”, using the output of one check/operation as the input to another
check/operation. DV layers containing error clusters may be used as input only with the
SaveLayer command.
Related Topics
Import Commands
Export Commands
Import Commands
Import commands are used to import geometry from the objects being considered for the run. The
geometry imported may be filtered by ImportLayer or ImportNet.
ImportLayer
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Normally, the imported geometry on a DV layer is merged before being used, because
merged geometry more closely represents what will be manufactured. However, some
commands have an option to use the raw (un-merged) data.
l Any arc edges which are imported will be approximated with straight edges before being
used by DV. The faceting will be determined by the value specified for the run in the
Design Verification RunDialog.
l Collinear edges are merged together before being used by DV.
ImportNet
Description: Geometry of objects being considered for the run is added to the returned layer
based on the given net name and argument.
l The argument may be either "Only" or "Not". If the argument is not present it is defaulted
to "Only". "Only" specifies the return of objects belonging to the named net. "Not" returns
objects not belonging to the named net.
l Normally the imported geometry in a DV layer is merged before being used, because
merged geometry more closely represents what will be manufactured. However, some
commands have an option to use the raw (un-merged) data.
l Any arc edges imported will be approximated with straight edges before being used by
DV. The faceting will be determined by the value specified for the run in the Run dialog.
l Collinear edges are merged together before being used by DV.
Related Topics
Export Commands
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Export Commands
Export commands are used to export results from DV to the Layout Editor. The results are later
accessed using the Design Verification Results dialog which is used to display the results
graphically in the Layout Editor, to support export of the graphical results to GDSII or other
formats, to display profile summary information related to the results, and to export the profile
summary information to a text file.
SaveLayer
Description: Creates results that can later be viewed in layout. The geometry is retrieved from the
specified DV layer.
Import Commands
The object-creation commands described in this section use existing geometry as a basis to create
a new DV layer. Even if the same layer-variable name is used in multiple calls to an object-creation
command, a new DV layer is created during each call. The previous DV layer contents are “lost” to
the user. This does not leak internally, but the previous layer does stay in existence taking up
memory until all layers are cleaned up.
Related Topics
And Command
Or Command
Not Command
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Sizing Command
And Command
Description: Creates and returns a DV layer that contains geometry generated from the overlap
of original geometry on the input layer(s). This is a symmetric operation. The order of the input
layers does not change the results.
l Single input layer functionality uses raw (un-merged) geometry so that overlaps are not
removed.
l Two input layer functionality merges geometry of input layers that are imported. In the
following example the two rectangles on layer A are merged into one polygon before doing
the And operation. The result of the And is one polygon.
l If the input layers are not imported (they are created within DV), two input layer functionality
uses the geometry “as is”. In the following example the two rectangles on layer A are not
merged before doing the And operation. The results of the And are two overlapping
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
polygons.
Description: Creates and returns a DV layer that contains geometry generated from the merge of
original geometry on the input layer(s). This is a symmetric operation. The order of the input layers
does not change the results.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
var or
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Description: Creates and returns a DV layer that contains geometry generated from the first layer
geometry areas that are not common to the second layer geometry. This is not a symmetric
operation. The order of the input layers does change the results.
l Not(A, B): Area covered by geometry on layer A that is not also covered by geometry on
layer B.
l Not(B, A): Area covered by geometry on layer B that is not also covered by geometry on
layer A.
l Geometry on input layers that are imported is merged prior to performing the Not operation.
In the following example the two rectangles on layer A are merged into one polygon before
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
doing the Not(A, B) operation. The result of the Not is one polygon.
l If the input layers are not imported (they are created within DV), the geometry is used “as is”.
In the following example the two rectangles on layer A are not merged before doing the Not
(A, B) operation. The results of the Not are a rectangle and a polygon that overlap.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Description: Creates and returns a DV layer that contains geometry generated by performing an
over-size or under-size operation on the specified layer. The size amount may be given with or
without units. If no units are specified the current default length units are used.
l A size operation consists of changing the absolute dimensions of shapes without altering
their dimensions relative to each other. This is not a scaling operation.
l The shape of an object may change. Polygons changed by Sizing may change their original
shape when there are shape features that are less than or equal to twice the size value.
Holes and notches disappear in a positive grow, and narrow sections disappear in a
negative grow
l Objects that grow into one another are merged together. An object may become multiple
objects if a negative grow removes a portion of the original object that connected other
portions.
l The truncation angle is specified in degrees with a number >= 0 and <= 90. If an angle is not
given, 90 degrees is used as the default.
l The expansion of acute angles is truncated to avoid an out of proportion extension (a
“spike”) of an acute corner. Any angle smaller than the angle of truncation will be truncated.
The default angle of truncation is 90 degrees. Any angle less than 90 is truncated to the
maximum extension of the shape at a 90 degree corner. This extension shown by the solid
black arrow in the following diagrams. The length of the extension is the square root of 2
times the size amount. This 90 degree angle-of-truncation matches both Diva® verification
and the corner bend style in layout. For more information on Diva verification, see
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
http://www.cadence.com/products/dfm/diva/index.aspx.
l A different angle may be specified. To match the Calibre default, use 45 degrees. The length
of a 45 extension is the size amount times 1/cos 67.5.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Connectivity Checking commands test the connectivity of objects on provided DV layers. The
connectivity is defined by layout nets; it is not extracted from the physical geometry within DV.
These results may be intermediate to be used as input for other DV commands (i.e., rule
conjunction) and/or saved as final results using the SaveLayer command.
Related Topics
FindNotOwnedByNet
FindShortCircuits
FindNotOwnedByNet
Input: none
Description: Geometry of objects being considered for the run is added to the returned layer if it is
not owned by a layout net.
l Any imported arc edges will be approximated with straight edges before being used by
DV. The faceting will be determined by the value specified for the run in the Design
Verification Run Dialog.
Input: none
Description: Geometry of objects being considered for the run is added to the returned layer if it is
not owned by a layout net.
l Any imported arc edges will be approximated with straight edges before being used by
DV. The faceting will be determined by the value specified for the run in the Design
Verification Run Dialog.
The commands described in this section test the geometry of provided DV layers. Geometry
Checking commands return each type of DV layer; this translates to width and separation checks
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Results are returned for geometry that meets the specified test. These results may be intermediate
and used as input for other DV commands (rule conjunction) and/or saved as final results using
SaveLayer.
Related Topics
EncloseTo Commands
NotchTo Commands
OverhangTo Commands
OverlapTo Commands
SeparationTo Commands
WidthTo Commands
EncloseTo Commands
l EncloseToErrors
l EncloseToPolygons
l EncloseToEdges
Output: DV layer – Type varies with the command. EncloseToErrors outputs a DV layer
containing error clusters. EncloseToPolygons outputs a DV layer containing polygons.
EncloseToEdges outputs a DV layer containing edges.
Description: Enclose is the distance between edges of separate geometry that face each other,
one from the inside and one from the outside AND one of the geometry is completely inside the
other. The single layer version checks the enclosure between different geometries on the same
layer. Enclosure from one to the other, both ways, is checked on each pair of geometry. The two
layer version checks the enclosure of geometry on the second layer by geometry on the first layer.
This is an edge to edge check, not corner to corner, or corner to edge.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
This is not a symmetric operation. The order of the input layers does change the results.
An edge is considered to enclose another edge if the geometry of the first edge contains the other
geometry, and the first edge is inside facing and the other edge is outside facing. Arrows in the
following diagrams indicate edge pairs where an edge of the geometry with dots encloses an edge
of the white geometry:
Edges are considered to face each other for enclosure checking only if the angle between the
inside of one edge and the outside of the other is less than 180 degrees. Collinear edges are not
considered facing. The following diagram illustrates angles between inside/outside edges:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The arrows in the following figures indicate the edge pairs that are checked when considering the
facing requirement and using default orientation and intersecting qualifiers: Acute Also, Not
Obtuse, Parallel Also, Not Perpendicular, and Not Intersecting:
The first layer is white and the second layer has a dot fill pattern. The command looks for the
enclosure of dot geometry by white geometry.
l EncloseToError results are clusters of segments that meet the specified constraint. Each
error segment indicates the portion of the geometry edge that meets the constraint. The
error clusters are returned in a DV layer. The heavy lines in the illustration that follows show
the portions of edges that are returned as one error cluster.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l EncloseToPolygons results are any polygons that have at least one edge that meets the
specified constraints. The polygons are returned in a DV layer. Both polygons in the
following illustration are returned.
l EncloseToEdges results are segments of edges that meet the specified constraints. These
segments retain information about the polygon they were created from. This information
allows the edges to be used as input to other DV commands. The segments are returned in
a DV layer. The heavy lines in the illustration that follows show the segments that are
returned as edges. They are not clustered, and they retain information about the directions
inside and outside of the polygon and sibling relationship.
The constraint amount may be given with or without units. If no units are specified the current
default length units are used.
Supported operators:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
== Equal to
Qualifiers may be specified to constrain the edges checked. The defaults, if qualifiers are not
specified, are Round (measurement region), Acute Also, Not Obtuse, Parallel Also, Not
Perpendicular, Not Adjacent, and Merged (geometry).
Example (JScript):
"Not Perpendicular”));
Measurement region qualifier specifies the construction of the region used to test the constraint.
There exist the following choices:
l Round: Forms a region with quarter-circle boundaries that extend past the corners of the
edge by the constraint distance. Round is the default region, if no region is specified.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Square: Forms a region with right-angle boundaries that extend past the corners of the
edge by the constraint distance.
l Opposite: Forms a region with right-angle boundaries that do not extend past the corners of
the edge.
The following figure displays the returned segment for error or edge output, marked in blue, as well
as the measurement regions, in red and green, that are used to check the constraint.
Orientation Qualifiers
Orientation qualifiers specify edge or angle orientations that qualify edges to be checked against
each other. Up to one choice from each of the following four groups may be used:
l Acute Also
l Obtuse Also
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Not Parallel
l Not Acute
If multiple choices from any of the groups are used, the last choice from the group is used. It
replaces any earlier choices of that group in the command.
EncloseToErrors(Array(“<”, 5), layer, Array(“Acute Also, Obtuse Also, Not Parallel, Not Acute));
is interpreted as:
If a choice contains “Only”, that is the only orientation qualifier recognized. Any other orientation
qualifiers before or after the first “Only” are ignored.
is interpreted as:
Acute filter
l Acute Also – Include the measurement of edges that have an angle between them greater
than 0 and less than 90 degrees. Default if none specified.
l Acute Only – Measure only edges that have an angle between them greater than 0 and less
than 90 degrees.
l Not Acute – Do not measure edges that have an angle between them of greater than 0 and
less than 90 degrees.
Obtuse filter
l Obtuse Also – Include the measurement of edges that have an angle between them of
greater than 90 and less than 180 degrees.
l Obtuse Only – Measure only edges that have an angle between them of greater than 90 and
less than 180 degrees.
l Not Obtuse – Do not measure edges that have an angle between them of greater than 90
and less than 180 degrees. Default if none specified.
Parallel filter
l Parallel Also – Include the measurement of parallel edges in addition to non-parallel edges.
Default if none specified.
l Parallel Only – Measure only parallel edges.
l Not Parallel – Do not measure parallel edges.
Perpendicular filter
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Intersecting Edge qualifier determines if two edges that intersect are checked against each other.
Intersecting edges are edges that share at least one point. This qualifier is used in conjunction with
the orientation qualifiers to determine which edges to check. One of the three choices may be
specified.
Specifying Intersecting Also with Enclose will always results in no results found. One geometry
must be totally contained within the other geometry for edges to be enclosed. If there are
intersecting edges, there is no enclosure and no results.
Raw/Merged Qualifier
The Raw/Merged qualifier applies to a DV layer created using the ImportLayer command. Raw
specifies that the geometry is to be used without first being merged. In contrast, the default setting
of Merged specifies that the geometry is merged prior to its use.
The arrows in the figures below indicate the edge pairs checked using Raw versus Merged with the
other qualifiers defaulted (Acute Also, Not Obtuse, Parallel Also, Not Perpendicular, Not
Intersecting).
NotchTo Commands
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l NotchToErrors
l NotchToPolygons
l NotchToEdges
Output: DV layer – Type varies with the command. NotchToErrors outputs a DV layer containing
error clusters. NotchToPolygons outputs a DV layer containing polygons. NotchToEdges
outputs a DV layer containing edges.
Description: Checks notch width of individual geometry. Notch width is the distance between
facing, outside edges on the same geometry. This is an edge to edge check, not corner to corner,
or corner to edge.
Edges are considered to face each other for notch checking only if the angle between the outsides
of the edges is less than 180 degrees. Collinear edges are not considered facing.
The arrows in the figures below indicate the edge pairs that are checked when using default
orientation and adjacent qualifiers: Acute Also, Not Obtuse, Parallel Also, Not Perpendicular, and
Not Adjacent.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l NotchToErrors results are clusters of segments that meet the specified constraints. Each
error segment indicates the portion of the geometry edge that meets the constraint. The
error clusters are returned in a DV layer. The heavy lines in the illustration that follows show
the portions of edges that are returned as one error cluster.
l NotchToPolygons results are polygons that have at least one edge pair that meets the
specified constraints. The polygons are returned in a DV layer. The entire polygon in the
following illustration is returned.
l NotchToEdges results are segments of edges that meet the specified constraints. These
segments retain information about the polygon they were created from. This information
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
allows the edges to be used as input to other DV commands. The segments are returned in
a DV layer. The heavy lines in the illustration that follows show the segments that are
returned as edges. They are not clustered. They retain information about the directions
inside and outside of the polygon and sibling relationship.
The constraint amount may be given with or without units. If no units are specified the current
default length units are used.
Supported operators:
== Equal to
Qualifiers may be specified to constrain the edges checked. The defaults, if qualifiers are not
specified, are Round (measurement region), Acute Also, Not Obtuse, Parallel Also, Not
Perpendicular, Not Adjacent, and Merged (geometry).
Example (JScript):
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Measurement region qualifier specifies the construction of the region used to test the constraint.
There exist the following choices:
l Round: Forms a region with quarter-circle boundaries that extend past the corners of the
edge by the constraint distance. Round is the default region, if no region is specified.
l Square: Forms a region with right-angle boundaries that extend past the corners of the
edge by the constraint distance.
l Opposite: Forms a region with right-angle boundaries that do not extend past the corners of
the edge.
The following figure displays the returned segment for error or edge output, marked in blue, as well
as the measurement regions, in red and green, that are used to check the constraint.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Orientation Qualifiers
Orientation qualifiers specify edge or angle orientations that qualify edges to be checked against
each other. Up to one choice from each of the following four groups may be used:
l Acute Also
l Obtuse Also
l Not Parallel
l Not Acute
If multiple choices from any of the groups are used, the last choice from the group is used. It
replaces any earlier choices of that group in the command.
NotchToErrors(Array(“<”, 5), layer, Array(“Acute Also, Obtuse Also, Not Parallel, Not Acute));
is interpreted as:
If a choice contains “Only”, that is the only orientation qualifier recognized. Any other orientation
qualifiers before or after the first “Only” are ignored.
is interpreted as:
Acute filter
l Acute Also – Include the measurement of edges that have an angle between them greater
than 0 and less than 90 degrees. Default if none specified.
l Acute Only – Measure only edges that have an angle between them greater than 0 and less
than 90 degrees.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Not Acute – Do not measure edges that have an angle between them of greater than 0 and
less than 90 degrees.
Obtuse filter
l Obtuse Also – Include the measurement of edges that have an angle between them of
greater than 90 and less than 180 degrees.
l Obtuse Only – Measure only edges that have an angle between them of greater than 90 and
less than 180 degrees.
l Not Obtuse – Do not measure edges that have an angle between them of greater than 90
and less than 180 degrees. Default if none specified.
Parallel filter
l Parallel Also – Include the measurement of parallel edges in addition to non-parallel edges.
Default if none specified.
l Parallel Only – Measure only parallel edges.
l Not Parallel – Do not measure parallel edges.
Perpendicular filter
Adjacent Edge qualifier determines if two edges that intersect are checked against each other.
Adjacent edges are edges that share at least one point. This qualifier is used in conjunction with the
orientation qualifiers to determine which edges to check. One of the three choices may be
specified.
The arrows in the figure below indicate the edge pairs checked using Adjacent Only with the other
qualifiers defaulted (Acute Also, Not Obtuse, Parallel Also, Not Perpendicular, and Adjacent Only).
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Raw/Merged Qualifier
The Raw/Merged qualifier applies to a DV layer created using the ImportLayer command. Raw
specifies that the geometry is to be used without first being merged. In contrast, the default setting
of Merged specifies that the geometry is merged prior to its use.
The arrows in the figures below indicate the edge pairs checked using Raw versus Merged with the
other qualifiers defaulted (Acute Also, Not Obtuse, Parallel Also, Not Perpendicular, Not
Intersecting).
OverhangTo Commands
l OverhangToErrors
l OverhangToPolygons
l OverhangToEdges
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Output: DV layer – Type varies with the command. OverhangToErrors outputs a DV layer
containing error clusters. OverhangToPolygons outputs a DV layer containing polygons.
OverhangToEdges outputs a DV layer containing edges.
Description: Overhang is the distance between edges, of intersecting geometry, that face each
other, one from the inside and one from the outside. The single layer version checks the overlap
between different geometries on the same layer. Overhang from one to the other, both ways, is
checked on each pair of geometry. The two layer version checks the overhang of geometry on the
first layer from geometry on the second layer. This is an edge to edge check, not corner to corner,
or corner to edge.
This is not a symmetric operation. The order of the input layers does change the results.
An edge is considered to overhang another edge if the two geometries intersect but neither
contains the other and the first edge is inside facing and the other edge is outside facing. Arrows in
the following diagrams indicate edge pairs where an edge of the geometry with dots overhangs an
edge of the white geometry.
Edges are considered to face each other for overhang checking only if the angle between the
inside of one edge and the outside of the other is less than 180 degrees. Collinear edges are not
considered facing. The following diagram illustrates angles between inside/outside edges:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The arrows in the following figures indicate the edge pairs that are checked when considering the
facing requirement and using default orientation and intersecting qualifiers: Acute Also, Not
Obtuse, Parallel Also, Not Perpendicular, and Not Intersecting:
The first layer has the dot fill pattern and the second layer is empty. The command looks for the
overhang of dot geometry from white geometry.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l OverhangToError results are clusters of segments that meet the specified constraint. Each
error segment indicates the portion of the geometry edge that meets the constraint. The
error clusters are returned in a DV layer. The heavy lines in the illustration that follows show
the portions of edges that are returned as one error cluster.
l OverhangToPolygons results are any polygons that have at least one edge that meets the
specified constraints. The polygons are returned in a DV layer. Both polygons in the
following illustration are returned.
l OverhangToEdges results are segments of edges that meet the specified constraints.
These segments retain information about the polygon they were created from. This
information allows the edges to be used as input to other DV commands. The segments are
returned in a DV layer. The heavy lines in the illustration that follows show the segments that
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
are returned as edges. They are not clustered, and they retain information about the
directions inside and outside of the polygon and sibling relationship.
The constraint amount may be given with or without units. If no units are specified the current
default length units are used.
Supported operators:
== Equal to
Qualifiers may be specified to constrain the edges checked. The defaults, if qualifiers are not
specified, are Round (measurement region), Acute Also, Not Obtuse, Parallel Also, Not
Perpendicular, Not Adjacent, and Merged (geometry).
Example (JScript):
"Not Perpendicular"));
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Measurement region qualifier specifies the construction of the region used to test the constraint.
There exist the following choices:
l Round: Forms a region with quarter-circle boundaries that extend past the corners of the
edge by the constraint distance. Round is the default region, if no region is specified.
l Square: Forms a region with right-angle boundaries that extend past the corners of the
edge by the constraint distance.
l Opposite: Forms a region with right-angle boundaries that do not extend past the corners of
the edge.
The following figure displays the returned segment for error or edge output, marked in blue, as well
as the measurement regions, in red and green, that are used to check the constraint.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Orientation Qualifiers
Orientation qualifiers specify edge or angle orientations that qualify edges to be checked against
each other. Up to one choice from each of the following four groups may be used:
l Acute Also
l Obtuse Also
l Not Parallel
l Not Acute
If multiple choices from any of the groups are used, the last choice from the group is used. It
replaces any earlier choices of that group in the command.
OverhangToErrors(Array(“<”, 5), layer, Array(“Acute Also, Obtuse Also, Not Parallel, Not Acute));
is interpreted as:
If a choice contains “Only”, that is the only orientation qualifier recognized. Any other orientation
qualifiers before or after the first “Only” are ignored.
is interpreted as:
Acute filter
l Acute Also – Include the measurement of edges that have an angle between them greater
than 0 and less than 90 degrees. Default if none specified.
l Acute Only – Measure only edges that have an angle between them greater than 0 and less
than 90 degrees.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Not Acute – Do not measure edges that have an angle between them of greater than 0 and
less than 90 degrees.
Obtuse filter
l Obtuse Also – Include the measurement of edges that have an angle between them of
greater than 90 and less than 180 degrees.
l Obtuse Only – Measure only edges that have an angle between them of greater than 90 and
less than 180 degrees.
l Not Obtuse – Do not measure edges that have an angle between them of greater than 90
and less than 180 degrees. Default if none specified.
Parallel filter
l Parallel Also – Include the measurement of parallel edges in addition to non-parallel edges.
Default if none specified.
l Parallel Only – Measure only parallel edges.
l Not Parallel – Do not measure parallel edges.
Perpendicular filter
Intersecting Edge qualifier determines if two edges that intersect are checked against each other.
Intersecting edges are edges that share at least one point. This qualifier is used in conjunction with
the orientation qualifiers to determine which edges to check. One of the three choices may be
specified.
The arrows in the figure below indicate the edge pairs checked using Intersecting Only with the
other qualifiers defaulted (Acute Also, Not Obtuse, Parallel Also, Not Perpendicular).
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Raw/Merged Qualifier
The Raw/Merged qualifier applies to a DV layer created using the ImportLayer command. Raw
specifies that the geometry is to be used without first being merged. In contrast, the default setting
of Merged specifies that the geometry is merged prior to its use.
The arrows in the figures below indicate the edge pairs checked using Raw versus Merged with the
other qualifiers defaulted (Acute Also, Not Obtuse, Parallel Also, Not Perpendicular, Not
Intersecting).
OverlapTo Commands
l OverlapToErrors
l OverlapToPolygons
l OverlapToEdges
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Output: DV layer – Type varies with the command. OverlapToErrors outputs a DV layer
containing error clusters. OverlapToPolygons outputs a DV layer containing polygons.
OverlapToEdges outputs a DV layer containing edges.
Description: Overlap is the distance between inside edges, of intersecting geometry, that face
each other. The single layer version checks the overlap between different geometries on the same
layer. The two layer version checks the overlap between geometry on one layer and geometry on
the other layer. This is an edge to edge check, not corner to corner, or corner to edge.
This is a symmetric operation. The order of the input layers does not change the results.
Two edges are considered overlapping if the two geometries intersect but neither contains the
other and the edges are inside facing. Arrows in the following diagrams indicate edges that are
overlapping.
Edges are considered to face each other for overlap checking only if the angle between the inside
of one edge and the outside of the other is less than 180 degrees. Collinear edges are not
considered facing. The following diagram illustrates angles between inside edges:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The arrows in the following figures indicate the edge pairs that are checked when considering the
facing requirement and using default orientation and intersecting qualifiers: Acute Also, Not
Obtuse, Parallel Also, Not Perpendicular, and Not Intersecting:
The first layer has the dot fill pattern and the second layer is empty. The command looks for the
overhang of dot geometry from white geometry.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l OverlapToError results are clusters of segments that meet the specified constraint. Each
error segment indicates the portion of the geometry edge that meets the constraint. The
error clusters are returned in a DV layer. The heavy lines in the illustration that follows show
the portions of edges that are returned as one error cluster.
l OverlapToPolygons results are any polygons that have at least one edge that meets the
specified constraints. The polygons are returned in a DV layer. Both polygons in the
following illustration are returned.
l OverlapToEdges results are segments of edges that meet the specified constraints. These
segments retain information about the polygon they were created from. This information
allows the edges to be used as input to other DV commands. The segments are returned in
a DV layer. The heavy lines in the illustration that follows show the segments that are
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
returned as edges. They are not clustered, and they retain information about the directions
inside and outside of the polygon and sibling relationship.
The constraint amount may be given with or without units. If no units are specified the current
default length units are used.
Supported operators:
== Equal to
Qualifiers may be specified to constrain the edges checked. The defaults, if qualifiers are not
specified, are Round (measurement region), Acute Also, Not Obtuse, Parallel Also, Not
Perpendicular, Not Adjacent, and Merged (geometry).
Example (JScript):
"Not Perpendicular"));
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Measurement region qualifier specifies the construction of the region used to test the constraint.
There exist the following choices:
l Round: Forms a region with quarter-circle boundaries that extend past the corners of the
edge by the constraint distance. Round is the default region, if no region is specified.
l Square: Forms a region with right-angle boundaries that extend past the corners of the
edge by the constraint distance.
l Opposite: Forms a region with right-angle boundaries that do not extend past the corners of
the edge.
The following figure displays the returned segment for error or edge output, marked in blue, as well
as the measurement regions, in red and green, that are used to check the constraint.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Orientation Qualifiers
Orientation qualifiers specify edge or angle orientations that qualify edges to be checked against
each other. Up to one choice from each of the following four groups may be used:
l Acute Also
l Obtuse Also
l Not Parallel
l Not Acute
If multiple choices from any of the groups are used, the last choice from the group is used. It
replaces any earlier choices of that group in the command.
OverlapToErrors(Array(“<”, 5), layer, Array(“Acute Also, Obtuse Also, Not Parallel, Not Acute));
is interpreted as:
If a choice contains “Only”, that is the only orientation qualifier recognized. Any other orientation
qualifiers before or after the first “Only” are ignored.
is interpreted as:
Acute filter
l Acute Also – Include the measurement of edges that have an angle between them greater
than 0 and less than 90 degrees. Default if none specified.
l Acute Only – Measure only edges that have an angle between them greater than 0 and less
than 90 degrees.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Not Acute – Do not measure edges that have an angle between them of greater than 0 and
less than 90 degrees.
Obtuse filter
l Obtuse Also – Include the measurement of edges that have an angle between them of
greater than 90 and less than 180 degrees.
l Obtuse Only – Measure only edges that have an angle between them of greater than 90 and
less than 180 degrees.
l Not Obtuse – Do not measure edges that have an angle between them of greater than 90
and less than 180 degrees. Default if none specified.
Parallel filter
l Parallel Also – Include the measurement of parallel edges in addition to non-parallel edges.
Default if none specified.
l Parallel Only – Measure only parallel edges.
l Not Parallel – Do not measure parallel edges.
Perpendicular filter
Intersecting Edge qualifier determines if two edges that intersect are checked against each other.
Intersecting edges are edges that share at least one point. This qualifier is used in conjunction with
the orientation qualifiers to determine which edges to check. One of the three choices may be
specified.
The arrows in the figure below indicate the edge pairs checked using Intersecting Only with the
other qualifiers defaulted (Acute Also, Not Obtuse, Parallel Also, Not Perpendicular).
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Raw/Merged Qualifier
The Raw/Merged qualifier applies to a DV layer created using the ImportLayer command. Raw
specifies that the geometry is to be used without first being merged. In contrast, the default setting
of Merged specifies that the geometry is merged prior to its use.
The arrows in the figures below indicate the edge pairs checked using Raw versus Merged with the
other qualifiers defaulted (Acute Also, Not Obtuse, Parallel Also, Not Perpendicular, Not
Intersecting).
SeparationTo Commands
l SeparationToErrors
l SeparationToPolygons
Qualifiers (optional)
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Output: DV layer – Type varies with the command. SeparationToErrors outputs a DV layer
containing error clusters. SeparationToPolygons outputs a DV layer containing polygons.
Description: Separation is the distance between the outside facing edges of separate geometry.
The single layer version checks the separation between different geometries on the same layer.
The two layer version checks the separation between geometry on one layer and geometry on the
other layer. This is an edge-to-edge check, not corner-to-corner, or corner-to-edge.
For separation checking, edges are considered to face each other only if the angle between the
outsides of the edges is less than 180 degrees. Collinear edges are not considered facing. The
following figure illustrates the various angles between outside edges:
The arrows in the figures in the following sections indicate the edge pairs that are checked when
considering the facing requirement and using default orientation and intersecting qualifiers: Acute
Also, Not Obtuse, Parallel Also, Not Perpendicular, and Not Intersecting.
For a sufficiently large distance, the separation of edges from polygon A to polygon C is measured.
The presence of polygon B between them does not prevent the check.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Checking is based on the separation of edges, not the separation of the polygons. In some cases
shapes that interact are checked.
l The separation between some edges of polygons F and E is checked even though polygon
F overlaps polygon E. Notice that the overlap is not checked by this command.
l Abutting edges are not checked by default. To trigger checking of the abutting edges of D
and E, use the qualifier Intersecting Also or Intersecting Only.
l Polygon I is not checked against polygon H because the outsides of the edges don’t face.
Polygon I is checked against polygon G.
l SeparationToError results are clusters of segments that meet the specified constraint. Each
error segment indicates the portion of the geometry edge that meets the constraint. The
error clusters are returned in a DV layer.
The heavy lines in the following illustration show the portions of edges that are returned as one
error cluster.
SeparationToPolygons results are any polygons that have at least one edge that meets the
specified constraints. The polygons are returned in a DV layer. Both polygons in the following
illustration are returned.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The heavy lines in the illustration that follows show the segments that are returned as edges. They
are not clustered, and they retain information about the directions inside and outside of the polygon
and sibling relationship.
The constraint amount may be given with or without units. If no units are specified, the current
default length units are used.
Supported operators:
== Equal to
Qualifiers may be specified to constrain the edges checked. The defaults, if no qualifiers are
specified, are Round, Acute Also, Not Obtuse, Parallel Also, Not Perpendicular, Not Intersecting,
and Merged.
Example (JScript):
“Not Perpendicular”));
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
layers”);
Measurement region qualifier specifies the construction of the region used to test the constraint.
There exist the following choices:
l Round: Forms a region with quarter-circle boundaries that extend past the corners of the
edge by the constraint distance. Round is the default region, if no region is specified.
l Square: Forms a region with right-angle boundaries that extend past the corners of the
edge by the constraint distance.
l Opposite: Forms a region with right-angle boundaries that do not extend past the corners of
the edge.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The following figure displays the returned segment for error or edge output, marked in blue, as well
as the measurement regions, in red and green, that are used to check the constraint.
Orientation Qualifiers
Orientation qualifiers specify edge or angle orientations that qualify edges to be checked against
each other. Up to one choice from each of the following four groups may be used:
l Acute Also
l Obtuse Also
l Not Parallel
l Not Acute
If multiple choices from any of the groups are used, the last choice from the group is used. It
replaces any earlier choices of that group in the command.
SeparationToErrors(Array(“<”, 5), layer, Array(“Acute Also, Obtuse Also, Not Parallel, Not
Acute));
is interpreted as:
If a choice contains “Only”, that is the only orientation qualifier recognized. Any other orientation
qualifiers before or after the first “Only” are ignored.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
is interpreted as:
Acute filter
l Acute Also – Include the measurement of edges that have an angle between them greater
than 0 and less than 90 degrees. Default if none specified.
l Acute Only – Measure only edges that have an angle between them greater than 0 and less
than 90 degrees.
l Not Acute – Do not measure edges that have an angle between them of greater than 0 and
less than 90 degrees.
Obtuse filter
l Obtuse Also – Include the measurement of edges that have an angle between them of
greater than 90 and less than 180 degrees.
l Obtuse Only – Measure only edges that have an angle between them of greater than 90 and
less than 180 degrees.
l Not Obtuse – Do not measure edges that have an angle between them of greater than 90
and less than 180 degrees. Default if none specified.
Parallel filter
l Parallel Also – Include the measurement of parallel edges in addition to non-parallel edges.
Default if none specified.
l Parallel Only – Measure only parallel edges.
l Not Parallel – Do not measure parallel edges.
Perpendicular filter
Intersecting Edge qualifier determines if two edges that intersect are checked against each other.
Intersecting edges are edges that share at least one point. This qualifier is used in conjunction with
the orientation qualifiers to determine which edges to check. One of the three choices may be
specified.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The arrows in the figure below indicate the edge pairs checked using Intersecting Only with the
other qualifiers defaulted (Acute Also, Not Obtuse, Parallel Also, Not Perpendicular).
Raw/Merged Qualifier
The Raw/Merged qualifier applies to a DV layer created using the ImportLayer command. Raw
specifies that the geometry is to be used without first being merged. In contrast, the default setting
of Merged specifies that the geometry is merged prior to its use.
The arrows in the figures below indicate the edge pairs checked using Raw versus Merged with the
other qualifiers defaulted (Acute Also, Not Obtuse, Parallel Also, Not Perpendicular, Not
Intersecting).
WidthTo Commands
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l WidthToErrors
l WidthToPolygons
Output: DV layer – type varies with the command. WidthToErrors outputs a DV layer containing
error clusters. WidthToPolygons outputs a DV layer containing polygons. WidthToEdges
outputs a DV layer containing edges.
Description: Checks the width of individual geometry. Width is the distance between facing, inside
edges on the same geometry. This is an edge-to-edge check, not corner-to-corner, or corner-to-
edge.
The arrows in the figures below indicate the edge pairs that are checked when using default
orientation and adjacent qualifiers: Acute Also, Not Obtuse, Parallel Also, Not Perpendicular, and
Not Adjacent.
l WidthToErrors results are clusters of segments that meet the specified constraints. Each
error segment indicates the portion of the geometry edge that meets the constraint. The
error clusters are returned in a DV layer. The heavy lines in the illustration that follows show
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l WidthToPolygons results are polygons that have at least one edge pair that meets the
specified constraints. The constraint amount may be given with or without units. If no units
are specified the current default length units are used. The polygons are returned in a DV
layer. The entire polygon in the following illustration is returned.
Supported operators:
== Equal to
Qualifiers may be specified to constrain the edges checked. The defaults if qualifiers are not
specified are Round (measurement region), Acute Also, Not Obtuse, Parallel Also, Not
Perpendicular, Not Adjacent, and Merged (geometry).
Example (JScript):
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Measurement region qualifier specifies the construction of the region used to test the constraint.
There exist the following choices:
l Round: Forms a region with quarter-circle boundaries that extend past the corners of the
edge by the constraint distance. Round is the default region, if no region is specified.
l Square: Forms a region with right-angle boundaries that extend past the corners of the
edge by the constraint distance.
l Opposite: Forms a region with right-angle boundaries that do not extend past the corners of
the edge. The region formed consists of the area just “opposite” the edge.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The following figure displays the returned segment for error or edge output, marked in blue, as well
as the measurement regions, in red and green, that are used to check the constraint.
Orientation Qualifiers
Orientation qualifiers specify edge or angle orientations that qualify edges to be checked against
each other. Up to one choice from each of the following groups may be used:
l Acute Also
l Obtuse Also
l Not Parallel
l Not Acute
If multiple choices from any of the groups are specified, the last choice from the group is used, and
it then replaces any earlier choices of that group in the command.
WidthToErrors(Array(“<”, 5), layer, Array(“Acute Also, Obtuse Also, Not Parallel, Not Acute));
is interpreted as:
If a choice contains “Only”, that is the only orientation qualifier recognized. Any other orientation
qualifiers before or after the first “Only” are ignored.
is interpreted as:
Acute filter
l Acute Also – Include the measurement of edges that have an angle between them greater
than 0 and less than 90 degrees. Default if none specified.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Acute Only – Measure only edges that have an angle between them greater than 0 and less
than 90 degrees.
l Not Acute – Do not measure edges that have an angle between them of greater than 0 and
less than 90 degrees.
Obtuse filter
l Obtuse Also – Include the measurement of edges that have an angle between them of
greater than 90 and less than 180 degrees.
l Obtuse Only – Measure only edges that have an angle between them of greater than 90 and
less than 180 degrees.
l Not Obtuse – Do not measure edges that have an angle between them of greater than 90
and less than 180 degrees. Default if none specified.
Parallel filter
l Parallel Also – Include the measurement of parallel edges in addition to non-parallel edges.
Default if none specified.
l Parallel Only – Measure only parallel edges.
l Not Parallel – Do not measure parallel edges.
Perpendicular filter
Adjacent Edge qualifier determines if adjacent edges are checked against each other. Adjacent
edges are edges that share a start or end point. This qualifier is used in conjunction with the
orientation qualifiers to determine which edges to check. One of the following choices may be
specified:
The arrows in the figures below indicate the edge pairs that are checked when using Adjacent Only
with the default orientation-adjacent qualifiers (Acute Also, Not Obtuse, Parallel Also, Not
Perpendicular, and Not Adjacent).
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Raw/Merged Qualifier
The Raw/Merged qualifier applies to a DV layer created using the ImportLayer command. Raw
specifies that the geometry is to be used without first being merged. In contrast, the default setting
of Merged specifies that the geometry is merged prior to its use.
The arrows in the figures below indicate the edge pairs checked using Raw versus Merged with the
other qualifiers defaulted.
The Launch Geometry Check dialog box appears. Select any checks that you want to
validate:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The following checks are done in all cases, regardless of the selections you make:
Pin Shared By Multiple Pin Groups — Flags pins that belong to more than one ping
group.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The progress bar displays the progress. The Geometry Check Results dialog box appears
and lists errors and warnings. Items that can be fixed automatically contain Auto Fix check
boxes; select a box to have a problem automatically corrected.
The result details can be viewed in the Message Manager. Most geometry check results are
displayed with a magnifying glass that can be clicked to zoom into the relevant area of the
design. It may help to toggle layer and net visibilities when zooming into individual results.
Related Topics
Validating Projects
Printing a Layout
To print the layout that is in the active window:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
2. Use the Print Range, Copies, and Print Zoom controls to specify how much to print and
how you wish the print to appear. In the Layout Options panel, you can specify whether or
not to draw the grid, border/header, the layer and stackup information, and design variables.
In the Filter panel, you can toggle the printing of any layer and selected items.
3. Click OK to print the layout and close the Print dialog.
1. Select Page Setup from the File pulldown on the top menu bar. The Page Setup dialog
box opens.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
2. Use the Paper, Orientation, Margins, and Print Zoom controls to specify how you wish
the print to appear. In the Layout Options panel, you can specify whether or not to draw the
grid, border/header, layer and stackup information, and design variables. In the Filter panel,
you can toggle the printing of any layer and selected items.
3. Click OK to close the Page Setup dialog box with your settings.
4. Select Print Preview from the File menu to see a preview of the print.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
ANSYS provides support for imported models and libraries as components in the schematic editor,
including SPICE/PSPICE components and libraries, IBIS buffer elements, Verilog components,
W-elements, and X-parameter elements. Frequency-dependent network design data can be
imported and used to generate schematic components.
The Linear Network Analysis Circuit solver and the field solver tools produce network design data
that can be exported for use by other tools.
Solution data can be imported into and exported from ANSYS projects
Related Topics
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
ODB++ Translator
Board Outlines
Note If material properties are not provided in the ANF file, the required material properties are
taken from the Electronics Desktop material library database. These properties may be
different from those in the tool used to generate the ANF file.
When geometry is imported from ANF, ports are automatically added, and a subdirectory for the
ANF-based project is configured in the Project directory. When ANF-based projects are saved, the
Save As dialog always opens, regardless of where the ANF file originated. Electronics Desktop
can import both ANFv2 and ANFv4 formatted files.
Related Topics
1. To open an ANFV2-based project, click File > Import > ANF on the top menu bar. The File
Open window opens.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
2. Use the Look in field to locate the directory containing the file with the project you want to
open. Use the Files of type field to display the files with the ANF format.
3. Click on the ANF format file in the window to select it, or type its name into the File name
field. If you choose to open an ANFV2 file, a dialog will appear that allows you to select the
nets to import and then generate ports on. You will also be able to select an associated .cmp
file to import with it.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
4. When you click OK in the ANFV2 Import Options dialog, the file is imported.
Only nets with a check in the Import column are imported. Pins that belong to nets with a check
in the SetupPorts column become ports when imported. The Filter control can be used to
choose which nets are shown in the dialog.
2. Use the Look in field to locate the directory containing the file with the project you want to
open. Use the Files of type field to display the files with the ANF format.
3. Click on the ANF format file in the window to select it, or type its name into the File name
field.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
5. The Current ANF (Components) Map panels list the components from the ANF file and
any associated models. You can enter the names of a model manually in the Model Name
field. The ModelName property for the component will be set to the entry in the Model Name
field in the mapping, and the Netlist property will begin with that name instead of the
component name.
6. Update External Component Map saves any mappings you enter manually to a text file.
Click Save Map File to open a File Open window. Use the window to browse to the
directory where the map file is to reside, then enter the name of the file. The map file is saved
with a .mapping extension. The same mapping file should be used for both component and
property mappings. After the mapping file has been created, Update External Component
Map saves any mappings you enter manually.
7. The Current ANF (Property) Map panels list the mapping of properties in the ANF file to
the properties that will be used when the file is imported. You can enter the mapped name of
a property manually in the Model Name field. The name for the property will be set to the
entry in the netlist.
8. Update External Property Map saves any mappings you enter manually to a text file. Click
Save Map File to open a File Open window. Use the window to browse to the directory
where the map file is to reside, then enter the name of the file. The map file is saved with a
.mapping extension. After the mapping file has been created, Update External
Component Map saves any mappings you enter manually.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
9. Load Map File opens a File Open window. Use the window to browse to the directory
where the map file resides, then select or enter the name of the file. The map file can contain
component and/or property mappings, and must have a .mapping extension. The same
mapping file should be used for both component and property mappings.
10. The External Component Map panel lists the components that have been read from an
external mapping file. The display changes each time the external file is updated from the
dialog.
11. The External Property Map panel lists the properties that have been read in from an
external mapping file. The display changes each time the external file is updated from the
dialog.
12. The Distributed Components panel allows you to specify that imported interconnects will
be converted to distributed components if they fall within a minimum coupling distance
(specify distance), and to select the nets that will be thus converted. The Planar EM tool will
analyze the geometry intact.
13. Click Close. The Planar EM Layout Editor will show the design, and the projects window
shows the imported project.
Using the File > Importcommand, you can read the following files directly into the Layout editor.
l EDB, Cadence APC/Allegro/SiP, ANF, AutoCAD, GDSII, IPC2581a, XFL, Gerber and
ODB++ imports will open directly into a new project.
l ANX import will open directly into a selected project. The user chooses whether to add the
import to a new design or to an existing design.
Split plane layers have not been poured (generated). Unused interior pads are not output. Nets
have not been defined or have been "anonymized" away. Components lack reference designators
or part numbers.
Note ODB++ allows the export of a .copper_weight for signal layers but not an actual thickness.
We will use a conversion factor of 1.4mil per ounce of copper. ODB++ v.8 allows for the
export of .dielectric_constant, .loss_tangent and .bulk_resistivity but no material names.
We generate the name of the layers by prepending ODB_COND_ and ODB_DIEL_
before the first layer the material properties show up in.
Note For the following, designs are imported with only the top and bottom layer visible:
ODB++, Cadence APD/Allegro/SiP, and ANFV2.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
3. Use the Look in field to locate the directory containing the file you want to import. Use the
Files of type field to display the files with the format you want to import.
4. Select the 2D model file you want import from the display.
5. Click Open. A dialog box specific to the requested format appears.
For a detailed description of how to combine exported .xml files, see Layer Stackup dialog.
Related Topics
Importing DXF and DWG Format Files into the Layout Editor
Importing IPC2581 rev.a and IPC2581 rev.b into the Layout Editor
To import an EDB file, select File > Import > EDB which brings up a file open dialog.
Note If the database is already referenced by another Electronics Desktop project, the two
projects will share the same database. No synchronization is provided for edits made
through the independent projects, e.g. if the ports are deleted through one project, then
they will be invalid in the other project, and the behavior will be indeterminate.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
You can initially access the GDSII Import dialog using the File > Import command. For more
information, see the introductory topic Importing Files into the Layout Editor. After you select a
.gds, .sf or .strm file to import, the following dialog opens.
l Import stackup and options allows you to import information from an xml control file or
a layer mapping file into the dialog. Note that the information contained in the control file is
exported from the Layer Stackup Dialog and is not directly usable by the translator — if
layer names are changed. One can, however, combine the records for renaming layers
with the control file exported from the stackup dialog; for more information see Control File
Usage with Renaming. ANSYS Electronics Desktop also supports reading .tech and
.layermap files. If all conductive layers have thickness, the designs three-dimensional
connectivity will be used to generate nets (see GDSII Cell Import and Net Generation for
advanced rules for importing GDSII designs).
l Export control file will create an xml control file using the information imported to the
dialog to the location specified. This file can either be Imported and used through the
dialog or used directly with Anstranslator.exe.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Layers Pane
Options Pane
l Use Property Map — When selected, you will be asked to select a .prop file which will then
be applied during translation. This is an optional input to Anstranslator.exe and is not stored
in the control file. For more information see the Property Mapping File subsection below.
l Flatten hierarchy — Default is selected, which in general, is the best choice for preparing
to simulate. This will make sure that all the component data is moved down and is ready for
simulation.
l Convert via layer polygons to circles — When selected, if via layers are defined, then
via layer polygons with more than 10 vertices (whose areas vary less than 10% of their
circumscribing circle) will be converted to circles.
l Import Only Named Nets — Only applicable when a valid 3D Layer stackup is imported.
When checked this option will set ImportDummyNet=”false”.
If you specify a property mapping file, the GDSII import creates properties with id and object type
combinations found in the map file using the property name specified. The import creates
properties on id and object type combinations not found in the mapping file with the name
STREAM PROPERTY #<strmid>.
Valid objects types are: Dot, Line, Path, Polygon, Rect, Text, ArrayInst, and ScalarInst.
If you do not specify a mapping file, the import interprets properties values as a list of properties
separated by the property separator character with the form:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
For example, height=10, width=20 yields two properties, the first named height with a value of 10,
and the second named width with a value of 20.
Lines in the file that are blank and lines beginning with the comment character # are ignored.
When you have completed selections on both tabs, click OK on either tab and the file is imported
into the active Layout window.
Layermap Support
A .layermap file can be imported into the ANSYS Electronics Desktop by clicking File > Import >
GDSII and then selecting a control file to import. The following example shows the format of a
.layermap file that will create two layers from stream 74: "ap" and "Cu_PPI”:
Similarly, the following example will map items from stream 73 and 74 to the layer "ap":
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Control file support is provided by adding a new GDSDataType attribute that corresponds to the
Data Type in the layer stackup section. Note that while multiple-stream data-attributes can be
combined into a single layer, all other elements should be identical — or one will be chosen at
random.
The following layer stackup will result in vias being constructed between the "new" and "old" layers.
Note that the GDSIIVia = "true" geometries will be removed from the design, but they must still
specify TargetLayer = "via" in order to do the initial translation.
<Layers LengthUnit="mm">
</Layers>
Anstranslator -g Option
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The -g option can be used with any GDS Data File to apply a data type mapping. It is also possible
to use an .xml control file (-c option) but the names specified must correspond to the layer names in
the mapping file, not to the stream numbers. The following example shows the .xml file format and
is equivalent to the first .layermap example shown in Layermap Support above:
Note that Anstranslator will always use “drawing” as the layer purpose when generating a mapping
file.
Only version RS-274X Gerber designs are supported. We assume the files are contained in either
a directory or a directory that has been tar’ed and gzip’ed. On linux use “tar -cvzf gerber.tgz
/home/user/gerber”, where "gerber" is the name of the directory that contains the design. Support
is also included for NC-Drill files (circular holes and drawn slots only).
The dialog is initialized with the name of the files identified as RS-274X or NC-Drill files. Only the
files in the topmost directory will be looked at. NC-Drill files are processed separately and their type
cannot be changed.
l Import stackup and options allows you to import information from an xml control file or
a layer mapping file into the dialog.
l Export control file will create an xml control file using the information imported to the
dialog to the location specified.
Layers Pane
l File Layer Name is name of the file in the directory; it does not include the path.
l Import check box specifies which layers to import.
l Import layer name is the name of the new layer. Note that the information contained in the
control file is exported from the Layer Stackup Dialog and is not directly usable by the
translator — if layer names are changed. One can, however, combine the records for
renaming layers with the control file exported from the stackup dialog; for more information
see Control File Usage with Renaming. The Electronics Desktop also supports reading
.tech and .layermap files.
l Type can be changed and identifies the layer type that will be used to place each layer in the
file. Via and wirebond types are special and will allow the user to select the start and stop
layers by expanding the dialog’s width.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
If your drill holes appear to be out of whack, you will need to expressly describe the format of the
NC Drill file. Many cad systems include a comment in the NC Drill file that will automatically be
processed, but if this does not work the parameters can be set explicitly. Typically, both fields will
need to be set.
l Format(digit.digit) — Unit type is always defined but typically decimal points are not used
in the file and we need to know how many digits are before the decimal and how many are
after (e.g. “2.4”). The period is required and the format is "digit period digit".
l Omit Zeroes — Zeroes can be omitted from the leading or trailing side of numbers.
l Via – By “_Default_”, Start Layer is the top-most signal layer and Stop Layer is the bottom-
most layer. To set up blind and buried vias it is best to start by setting the layer types for all
layers and then reorder by dragging the rows by selecting the filled-in cell on the left.
l Wirebond – By “_Default_”, Start Layer” and “Stop Layer” will be set to the signal layer
directly below the Wirebond. If no signal layer lies below the Wirebond the “Start Layer” and
“Stop Layer” will be set to the bottom-most layer. Wirebond layer rows can be moved up and
down by dragging and dropping.
The ANSYS Electronics Desktop supports importing ODB++ from many platforms. The translator
relies on optional information in the EDA data file and component layer files to integrate the
manufacturing data into PCB level objects such as Padstacks. If this data is missing the design may
not be imported correctly. When first importing a design into the Electronic Desktop, please make
note of any error or warning messages; common issues include:
For initially accessing the dialog below see the introductory topic Importing Files into the Layout
Editor. After you select a .tgz file or a Windows directory to import, the following dialog opens:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The dialog is initialized with the layers and nets from the imported design. Note that while signal
layers can be excluded, they will still be imported if a hole begins or ends on that layer. Excluding
layers can speed up both the translation and import into ANSYS Electronics Desktop. Excluding
nets can also speed up the import of a design into ANSYS Electronics Desktop and make the
design easier to work with.
l Import stackup and options allows you to import information from an xml control file or
a layer mapping file into the dialog. Note that the information contained in the control file is
exported from the Layer Stackup Dialog and is not directly usable by the translator if layer
names are changed. One can however combine the records for renaming layers with the
control file exported from the stackup dialog; for more information see Control File Usage
with Renaming. ANSYS Electronics Desktop also supports reading .tech and .layermap
files.
l Export control file will create an xml control file using the information imported to the
dialog to the location specified. This file can either be imported and used through the
dialog or used directly with Anstranslator.exe.
Layers Pane
l Import check box specifies which layers to import. Note that while signal layers can be
excluded they will always be imported if the signal layer is at the top or bottom of a hole
(padstack).
l Import Layer Name will rename a layer. Note that all layers including drawing layers can
be renamed. Once imported into the Electronics Desktop this mapping will be lost and you
will need to refer to these layers by their new name.
l Type is set based on properties in the ODB++ file and can be changed if needed.
Nets Pane
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Import check box specifies which nets to import. Make sure Dummy is checked if you
want to import the metal not assigned to a specific net.
l Setup Ports will automatically create ports on the nets to be imported when checked.
Options Pane
l Flatten Hierarchy should usually be selected. This will make sure that all the component
data is moved down and is ready for simulation.
Importing a control file into the dialog will preserve not only the layer settings but also the
Component property section of the .xml file. This means that if you import the following control file
C28 will have a value of 4.7nF.
<Components schemaVersion="1.0">
<TypeMap>
</TypeMap>
</Components>
</c:Control>
For details on the TypeMap see ODB++ Control File Part Mapping.
This is the initial release of ANSYS Electronics Desktop support for the IPC2581a format. It has
been tested on “Full” design exports from a limited number of PCB Layout tools. Layout data is
processed from the Content, Bom and ECAD sections. From the ECAD section, ANSYS
Electronics Desktop will use the step data geometry defined by the Padstack, Layer and Drill Layer
information. The goal is to import the metal on the board as accurately as possible.
For information on how to initially access the IPC2581 import dialog (File > Import), see the
introductory topic Importing Files into the Layout Editor. After you select a .cvg or .xml file or a
Windows directory to import, the IPC2581 import dialog opens. The dialog is initialized with the
layers and nets from the imported design.
l Import stackup and options allows you to import information from an xml control file or
a layer mapping file into the dialog. Note that the information contained in the control file is
exported from the Layer Stackup Dialog and is not directly usable by the translator if layer
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
names are changed. One can however combine the records for renaming layers with the
control file exported from the stackup dialog; for more information see Control File Usage
with Renaming. ANSYS Electronics Desktop also supports reading .tech and .layermap
files.
l Export control file will create an xml control file using the information imported to the
dialog to the location specified. This file can either be imported and used through the
dialog or used directly with Anstranslator.exe. Note that this can be used to read in an IPC
Layer Stackup file and export an .xml file that can be used with an IPC2581a file.
Layers Pane
l Import check box specifies which layers to import. Padstacks will be shortened or
removed entirely as appropriate. Type is set based on properties in the imported file and
can be changed if needed. The only exception to this is the “SOLDERMASK” layer which
will be imported as a dielectric layer.
l Layer Name will rename a layer. Note that all layers including drawing layers can be
renamed. Once imported into the Electronics Desktop this mapping will be lost and you
will need to refer to these layers by their new name.
Nets Pane
l Import check box specifies which nets to import. Make sure Dummy is checked if you
want to import the metal not assigned to a specific net.
l Setup Ports will automatically create ports on the nets to be imported when checked.
Importing DXF and DWG Format Files into the Layout Editor
The ANSYS Electronics Desktop AutoCAD import supports AutoCAD version 2.5 through
AutoCAD 2013. See the introductory topic Importing Files into the Layout Editor for the initial steps
in the process of importing 2D data into the Layout Editor. After you select a 2D model file, the
import dialog opens.
The dialog is initialized with the layers from the imported AutoCAD file.
l Import stackup and options allows you to import information from an xml control file or a
layer mapping file into the dialog.
l Export control file will create an xml control file using the information imported to the
dialog to the location specified.
Layers Pane
l File Layer Name is name of layer as stored in the dxf or dwg file.
l Import check box specifies which layers to import.
l Import layer name is the name of the new layer. Note that the information contained in the
control file is exported from the Layer Stackup Dialog and is not directly usable by the
translator — if layer names are changed. One can, however, combine the records for
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
renaming layers with the control file exported from the stackup dialog; for more information
see Control File Usage with Renaming. The Electronics Desktop also supports reading
.tech and .layermap files.
l Type can be changed and identifies the layer type that will be used to place each layer in the
file. Via and wirebond types are special and will allow the user to select the start and stop
layers by expanding the dialog’s width.
Options Pane
l Use Override AutoCAD file units and the Units pulldown to select the units to be used
to interpret the DXF/DWG file contents.
l Import Only Named Nets — Only applicable when a valid 3D Layer stackup is imported.
When checked this option will set ImportDummyNet=”false”.
Objects Pane
— Auto detect closure causes polylines to be checked to see whether or not they are
closed. If a polyline is closed, the Electronics Desktop creates a polygon in the design.
— Self stitch causes multiple straight line segments to be joined to form polylines.
Tolerance is used to decide if two coordinates are the "same" and should be considered for
joining. If the resulting polyline is closed, a polygon is created in the Electronics Desktop. You
have the choice of two different tolerances for self stitching: DefaultTolerance and explicit
Tolerance. Default tolerance is a geometric tolerance based on the extents of the project
being imported. Explicit tolerance allows you to expand the tolerance based on your
knowledge of the dxf project being imported.
— Round coordinates rounds all imported data to the specified number of decimal places.
— Convert closed wide lines to polygons imports wide polylines as polygons. You have
more flexibility to change the shape of such an object when it is imported as a polygon.
The following DXF entities can be imported as 2 dimensional objects from AutoCAD:
l Arc
l Solid
l Circle
l Block
l Ellipse
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
When you have completed selections on both tabs, click OK on either tab and the file is imported
into the active Layout window.
l Via – By “_Default_”, Start Layer is the top-most signal layer and Stop Layer is the bottom-
most layer. To set up blind and buried vias it is best to start by setting the layer types for all
layers and then reorder by dragging the rows by selecting the filled-in cell on the left.
l Wirebond – By “_Default_”, Start Layer” and “Stop Layer” will be set to the signal layer
directly below the Wirebond. If no signal layer lies below the Wirebond the “Start Layer” and
“Stop Layer” will be set to the bottom-most layer. Wirebond layer rows can be moved up and
down by dragging and dropping.
The ANSYS Electronics Desktop supports Extracta Import from Cadence. Note that Extracta.Exe
is a Cadence supplied executable and must be installed on your machine and on your executable
path for this to work. For initially accessing the dialog below see the introductory topic Importing
Files into the Layout Editor. After you select a .brd, .sip or .mcm file, the import dialog opens.
The dialog is initialized with the nets from the imported design.
l Import stackup and options allows you to import information from an xml control file or
a layer mapping file into the dialog. Note that the information contained in the control file is
exported from the Layer Stackup Dialog and is not directly usable by the translator if layer
names are changed. One can however combine the records for renaming layers with the
control file exported from the stackup dialog; for more information see Control File Usage
with Renaming. ANSYS Electronics Desktop also supports reading .tech and .layermap
files.
l Export control file will create an xml control file using the information imported to the
dialog to the location specified. This file can either be Imported and used through the
dialog or used directly with Anstranslator.exe.
Nets Pane
Options Pane
l Import Dummy Net — Causes all metal on the net that matches the specified name to
be imported. This is independent of the list of nets.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Importing a control file into the dialog will preserve not only the layer settings but also the
Component property section of the .xml file. This means that if you import the following control file,
C28 will have a value of 4.7nF.
<Components schemaVersion="1.0">
<TypeMap>
</TypeMap>
</Components>
</c:Control>
For details on the TypeMap see ODB++ Control File Part Mapping.
Layer mapping files specify the mapping of layers when importing or exporting data with the
Electronics Desktop. The imported/exported layer-name or number is mapped to a layer in the
layout. The layers mapped in the file are those that are to be imported or exported.
l Opening a layer mapping file from an import or export dialog sets the dialog controls with the
contained mapping information.
l The layout editor supports two formats of layer mapping files: .layermap and .tech.
l The .tech format allows additional layer information to be supplied when importing.
l If all conductive layers have thickness, the design's three dimensional connectivity will be
used to generate nets.
See GDSII Cell Import and Net Generation for advanced rules for importing GDSII designs).
Layer mapping files are supported with AutoCAD and GDSII import, which also allows for the use
of a control file. For more information see Layout and ODB++ Control File.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l No comment character
l Each layer information entry is specified by a line that contains:
<import layer> — Name of the DXF layer or number of the GDSII layer
<destination layer> — Name of the layout layer in the Electronics Desktop (i.e., the name to
map the imported layer to)
TR trace
S3 signal3
35 trace
3 signal3
<import layer> — Name of the DXF layer or number of the GDSII layer
<destination layer> — Name of the layout layer in the Electronics Desktop (i.e., the name to
map the imported layer to)
<layer color> — A color string choice from those provided below via the Layer Colorslink.
/ ----------------------------------------------------------------
/ ----------------------------------------------------------------
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
/ ----------------------------------------------------------------
/ ----------------------------------------------------------------
Click on the following Layer Colors link to display a listing of the supported color types and their
corresponding RGB values: Layout Editor Layer Colors
Net assignment will occur automatically when all conductive layers have thickness. Connected
metal will be assigned to the same net. Care should be taken to ensure that non-physical geometry
(i.e. outlines) are not imported as metal, as this can produce inadvertent shorts during net
assignment. To facilitate net generation during GDSII import, additional attributes and elements
have been added to the xml control file schema. These elements are valid independently or in
combination.
ImportOptions
<ImportOptions Flatten="true" GDSIIConvertPolygonToCircles="false"
ImportDummyNet="false"/>
ImportDummyNet=”false” deletes all metal that has not been assigned a net. Note, this may result
in all the metal of the design being deleted if conductive layers are set up to assign nets but none
are assigned.
GDS_CELL_RULES
<GDS_CELL_RULES>
<BLACK_BOX_CELLS> Bl* Bad </BLACK_BOX_CELLS>
<GRAY_BOX_CELLS> Gra? </GRAY_BOX_CELLS>
<WHITE_BOX_CELLS>White</WHITE_BOX_CELLS>
</GDS_CELL_RULES>
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The GDS_CELL_RULES allow for control of which cells will be imported. Substitutions are
supported using any number of Wildcard characters (“*”) and any number of single characters
(“?”). Cell names are case-insensitive and are separated by white space (including tabs and end-
of-lines).
BLACK_BOX_CELLS
No geometry will be imported from BLACK_BOX_CELLS. These cells will be deleted prior to net
assignment and flattening.
GRAY_BOX_CELLS
Geometry from GRAY_BOX_CELLS will only be assigned nets if they are connected to other cells.
This assignment could be generated by WHITE_BOX_CELLS or by GDS_NET_DEFINITIONS.
In either case, all geometries not assigned a net will be deleted. If neither WHITE_BOX_CELLS
nor GDS_NET_DEFINITIONS are defined it is assumed that all cells except BLACK_BOX_
CELLS and GRAY_BOX_CELLS can be used to generate net assignments.
WHITE_BOX_CELLS
Geometry from WHITE_BOX_CELLS will be used to generate net assignments, unless GDS_
NET_DEFINITION rules are defined. Metal in other cells may be assigned nets if they connect to
the geometry in the WHITE_BOX_CELLS.
GDS_NET_DEFINITIONS
Note: Though all options are displayed, typically they will not be used together, and they can be
contradictory. Net creations for all GDS_NET_DEFINITIONS stem from text defined in the GDSII
file or from point locations included in VDD_NETS, GND_NETS, and SIGNAL_NETS. If the rules
are self-contradictory or too restrictive it is possible that no nets will be generated.
GDS_NET_DEFINITIONS NET_NAME_CASE_SENSITIVE
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Modifies the behavior of the net matching from VDD_NETS, GND_NETS, and SIGNAL_NETS. If
this is set to “false” all name comparisons will be done as case-insensitive. Wild card matching is
always supported for text.
USE_TOP_LEVEL_TEXT_ONLY
When set to “true”, only text from the top level cell will be used to generate nets. This overrides all
other cell restrictions (USE_TEXT_FROM_HIERARCHY_LEVEL, USE_TEXT_FROM_CELLS,
USE_TEXT_FROM_HIERARCHY_BLOCK).
USE_TEXT_FROM_HIERARCHY_LEVEL
0 is the top. White space denotes a separation. A dash (“-“) indicates all intermediate layers. “MAX”
should always follow “-“ and indicates all hierarchical elements below the previous entry. For the
example above, ANSYS Electronics Desktop would look at text for cells in the top most level, skip a
level, look at text at all cells at level 2, skip another level, and look at all cells embedded at level 4
and below. These restrictions are applied along with the USE_TEXT_FROM_CELLS. That is if
USE_TEXT_FROM_CELLS restrictions are defined both the HIERARCHY level rules and the
CELLS restriction rules will be enforced.
USE_TEXT_FROM_CELLS
Wild cards are allowed. Equivalent to the WHITE_BOX_CELLS above but the text in the cells is
used to generate nets, instead of assigning arbitrary net names to the metal.
USE_TEXT_FROM_HIERARCHY_BLOCK
Allows the specification of exactly placed hierarchy blocks to generate nets. No wild cards are
supported. These cells will always be allowed regardless of cell and hierarchy restrictions from
USE_TEXT_FROM_HIERARCHY_LEVEL and USE_TEXT_FROM_CELLS.
All three allow you to select which nets/texts you want to import (VBA* and RFO), all texts
satisfying the rules above starting with VBA(randomString) will be generate and the net RFO. They
also allow the assignment of netnames based on a location (layer name, x microns, y microns) ,
(the VCC@layer_1 4000.0 3000.0) where VCC will be the new net name, starting with the metal
geometry located on layer_1 at the point (4000.0 microns, 3000.0 microns). The “{}” notation
allows nets to be joined in to one net, both string and point rules are allowed in the subnet
definitions but the net generated will be given by the text prior to the brackets. MODE {MODE?
MODE@ layer_7 5000.0 7000.0} will produce a single net named MODE combining all nets
defined by the Matching rule MODE? (MODE and a single extra character) and the point rule
(MODE@ layer_7 5000.0 7000.0). Note that for the sake of consistency a name is required before
the “@” in subnet definitions even though it will not be seen at the end of processing.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Importing IPC2581 rev.a and IPC2581 rev.b into the Layout Editor
Note that ANSYS Electronics Desktop only supports IPC2581 rev.a and rev.b, and interprets the
default behavior based on the schema. All references to IPC2581 signify only rev.a or rev.b.
IPC2581 rev.a
This is the initial release of ANSYS Electronics Desktop support for the IPC2581a format. It has
been tested on "Full" design exports from a limited number of PCB Layout tools. The goal is to
import the metal on the board as accurately as possible.
IPC2581 rev.b
This is the initial release of ANSYS Electronics Desktop support for the IPC2581b format. It has
been tested on a limited number of designs exported as "User" design with all data selected.
Importing Files
For information on how to initially access the IPC2581 import dialog (File > Import), see the
introductory topic Importing Files into the Layout Editor. After you select a .cvg or .xml file or a
Windows directory, the IPC2581 Import dialog opens. The dialog is initialized with the layers and
nets from the imported design.
l Import stackup and options allows you to import information from an xml control file or
a layer mapping file into the dialog. Note that the information contained in the control file is
exported from the Layer Stackup Dialog and is not directly usable by the translator if layer
names are changed. The Edit Layers Dialog is not used by the translator and will be
ignored.
l Export control file will create an xml control file using the information imported to the
dialog to the location specified. This file can either be imported and used through the
dialog or used directly with Anstranslator.exe. Note that this can be used to read in an IPC
Layer Stackup file and to export an .xml file that can be used with an IPC2581 file.
Layers Pane
l Import check box specifies which layers to import. Padstacks will be shortened or
removed entirely as appropriate. Type is set based on properties in the IPC2581 file and
can be changed if needed. The only exception is the "SOLDERMASK" layer which will be
imported as a dielectric layer.
l Import Layer Name will rename a layer. Note that all layers including drawing layers can
be renamed. Once imported into the Electronics Desktop, this mapping will be lost and
you will need to refer to these layers by their new name.
Nets Pane
l Import check box specifies which nets to import. Make sure Dummy is checked if you
want to import the metal not assigned to a specific net.
l Setup Ports will automatically create ports on the nets to be imported when checked.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
For information on how to initially access the XFL import dialog (File > Import), see the
introductory topic Importing Files into the Layout Editor. After you select a .xfl file the XFL import
dialog opens initialized with the nets from the design to be imported.
l Import stackup and options allows you to import information from an xml control file or
a layer mapping file into the dialog.
l Export control file will create an xml control file using the information imported to the
dialog to the location specified. This file can either be imported and used through the
dialog or used directly with Anstranslator.exe. Note that this can be used to read in an IPC
Layer Stackup file and export a .xml file that can be used with an IPC2581a file.
Nets Pane
The tabular array .csv file should contain the following formatting:
l First row consisting of list of Array Index Variable names separated by tabs or commas
l Remaining rows consisting of a list of string values separated by tabs or commas
l Double quotation marks (“ “) for string values are optional
l If no existing array variables are present in the design, the Import Array From Table: New
Variables dialog opens.
l If one or more existing array variables are present in the design, the Import Array From
Table: Existing Variables dialog opens.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Column (Array Index Variable) Name cannot be modified and is used to create the array
index variable.
l The associated Array Variable Name has the default name “<ColumnName>_Array". You
can modify the Array Variable Name, but variable uniqueness and validity is checked upon
closing the wizard.
l Click the Create check box to specify that the array index variable should be created.
l Use the control buttons at bottom to go Back to the previous wizard dialog, proceed to the
Next wizard dialog, or click Cancel to close the dialog without making changes.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
If one or more existing array variables are present in the design, when you click Next in the above
wizard dialog, the Import Array From Table: Existing Variables dialog opens.
— No Action
If you select Replace existing value, you are then prompted for verification.
You can also use the same .csv tabular array file to setup a parametric analysis. See Optimetrics.
When the parametric analysis is set up, the ArrayIndexVariable is searched and its index is used
to create the table. Whether the ArrayIndexVariable refers to a double array or a string array, you
must use the array element from the imported file — rather than the index value itself — to set up
the Parametric from File analysis.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l *.mcm, *.sip, and *.brd requires a binary installation of the Cadence SPB platform.
Specifically, extracta.exe must be available and executable in the local environment.
l *.anx is a static data source that can be exported from within Cadence SPB and
transported to the local machine. This mechanism allows you to use APDLinks without a
local installation of the Cadence tools.
By default, when importing .mcm, .sip, and .brd files, the ANSYS Electronics Desktop will filter out
all metal on the nets without name. If this behavior is undesirable you will need to create a control
file with the exact same name as the file you are looking at with the type changed to .xml and
located in the same directory. The file should look like the following. If ImportDummyNet is "true"
any metal on the dummy net will be imported . In addition, the Electronics Desktop allows control of
the assignment of default values to components with the EnableDefaultComponentValues. Legal
values for both of these are "true" or "false".
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
<c:Control xmlns:c="http://www.ansys.com/control"
schemaVersion="1.0">
<ImportOptions ImportDummyNet="true"
EnableDefaultComponentValues="true"/>
</c:Control>
ODB++ Translator
ODB++ is an ASCII open-format developed by Mentor Graphics to capture CAD/EDA, assembly,
and PCB fabrication information. It has become the proprietary industry standard for formatting
and transferring PC board data.
The ANSYS ODB++ translator, AnsTranslator, allows you to utilize ODB++ and ANF file formats
to perform analyses of printed circuit boards in support of SIwave and Planar EM. AnsTranslator
takes as input an ODB++ v7.1 job structure and produces as output an ANFv4 file or an ANFv2 file
and an SIWave component file (.cmp).
l The input to AnsTranslator is an ODB++ v7.1 job structure (either as a compressed .tgz
file or an uncompressed top folder) and an optional control file (.xml).
l AnsTranslator can export to an edb directory or to a control file.
l The output from AnsTranslator is either an EDB directory or ANFV2 file and a
component file (.cmp). ANFV4 is also supported. A log file (.log) is also produced.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Related Topics
Board Outlines
The ODB++ translator is a link to an external DLL that can be accessed by clicking File > Import >
ODB++ which opens the import window.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Import control file opens a dialog which allows a user to import a desired control file.
l Export control file will write an xml control file based on the information in the dialog to
the location specified.
Layers Pane
Nets Pane
Options Pane
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Flatten hierarchy allows the user to choose between importing the ODB++ with
components or flattening the components.
When you have completed selections, click OK and the file is imported into the active Layout
window.
You can use regular expressions to search for nets. These match a text pattern and use special
constructions to represent strings or single characters.
To use a regular expression, enter the name of the object you want to select in the field, using wild
cards when appropriate. The following regular expressions are supported:
These match a text pattern and use special constructions to represent strings or single characters.
For example:
net* selects all pins in nets that start with “net” and so forth.
net*:1* selects pins with name that start with “1” in the nets that start with name “net”.
A*:3? Selects pins 31, 32, 33, 34 etc in nets A1, ACC, AGND, AGND2 and so forth.
The format for running AnsTranslator from the DOS command line is:
where:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
-p(ropmap) // Optionally used for GDSII import to specify a property mapping file
-v // Specifies verbose logging (without this option, only warnings and errors are
logged)
1. If <output> is not specified, the translated ANF file is created in the same folder as the
<input> file/folder.
2. If “-c” is not specified, the control file is still used (.xml), as long as it has the same name and
path as the <input> file/folder.
3. If “-i” is not specified, the file type is deduced from the file extension.
4. If “-l” is not specified, the log file is created in the same folder as the <output> ANF file.
5. If “-o” is not specified, the output default is ANFV4.
6. If “-w” is not specified, the directory for the input is used as the working directory.
When bringing in ODB++ and Extracta designs through AnsTranslator, Nets will automatically be
assigned into two distinct Net/Classes: "Power/Ground Nets" or "Non Power/Ground Nets". These
can be overridden through the .xml control file. A sample xml file is included below with an
explanation that follows.
<c:Control xmlns:c="http://www.ansys.com/control"
schemaVersion="1.0">
<Nets>
<Net Name="VCC"/>
<Net Name="Battery"/>
<Net Name="Batt_Sense"/>
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
<Net Name="change"/>
<Net Name="CLK"/>
<Net Name="data[0]">
</Net>
<Net Name="data[1]">
</Net>
<Net Name="data[2]">
</Net>
<Net Name="data[3]">
</Net>
<Net Name="data[4]">
</Net>
</Nets>
</c:Control>
1. If a net is not included in the list of nets it will not be imported into the design. This an
excellent way to look at a small subset of the design.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The following known issues have been found regarding translated ODB++ directories. The
problems occur when the contents of an ODB++ file do not completely conform to the Valor
ODB++ specifications. The ANSYS ODB++ Translator response varies depending on the nature
of the problem, and an informative warning/error message is provided.
The one-word component part-name should be the final text before the terminating semi-colon in a
CMP record (“;”). Any extra text is ignored.
Each toeprint record (TOP) for a component should have a distinct pin number. When a duplicate
is found, the duplicate pin number is changed to an unused number. The user is given a warning.
Example:
...
TOP 14 -0.1284500 0.1181400 90.0000000 N 108 0 15
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The net name specified in the NET line of an eda data file should not contain spaces. If spaces are
present, they are replaced with underscores. A warning is issued. This situation could happen
when net names with spaces are exported without removing the spaces.
Example:
These NET lines from an edata/data file result in nets named JTG_ENA_TOP and JTG_ENA_
PHY.
#NET 973
...
#NET 974
Duplicate pin names within the same component — as defined by a PKG record in an eda data file.
When a pin name is duplicated, the translator forces it to be unique by appending a number. A
warning is issued.
Example with pin names 11 through 18 used twice in the PKG record:
# PKG 2
PKG smnhda18.2_39_ni 0.03937 -0.4084999 -0.24 0.3825 0.24
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
PIN G1 T -0.3959999 0 0 U U
CR -0.3959999 0 0.0125
PIN G2 T 0.37 0 0 U U
CR 0.37 0 0.0125
A property line (PRP) should contain a single-word property-name followed by a quoted string for
the value. Some PRP lines have multiple words that precede the quoted value. In this case, it is
assumed that the extra words are intended to be part of the property name and they are then
concatenated together with underscores. A warning is issued.
Example:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
A property line (PRP) should contain a single-word property-name followed by a quoted string for
the value. Some PRP lines have multiple-quoted values. The text after the first quoted value is
ignored. A warning is issued.
Example:
PRP PART LABEL 'RELE' TN2C'
A property line (PRP) should contain a single-word property-name followed by a quoted string for
the value. Some PRP lines are missing the quoted value. When this occurs, the property is
ignored. A warning is issued.
Example:
PRP Manufacturer
A correlation exists between the toeprints specified in the component file and those specified in the
eda file. If the files are created incorrectly and their indexes do not match, the ODB++ Translator
aborts translating the components file. Overall translation is continued, but components,
padstacks, and nets are not translated. A warning is issued.
Toeprints in a component file should have a positive net index. If the net index is negative, the
ODB++ Translator aborts translating the components file. Overall translation is continued with
padstacks and nets being translated, but components are not translated. A warning is issued.
The eda data file contains a trace subnet with a hole feature
Trace subnets (part of eda data file) should have only copper features as members. If holes are
found as trace members, the hole feature is ignored. A warning is issued.
FID H 6 4717
Features from multiple padstacks are listed in the same toeprint in the eda data file
The features listed for a toeprint in an eda data file are to be from the same padstack. When
features from multiple padstacks are found in one toeprint warnings are issued. The first padstack
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
is translated normally. Pads and hole from the other padstacks are merged into the first when
possible.
Arcs are specified in ODB++ directories with a start point, end point, and center point. The distance
from the start point to the center should be the same as the distance from the end point to the
center. If the two distances are different, an arc can not be created, and instead, the start and end
points are used to create a segment (0 height arc). A warning message is issued.
Padstack via and pin holes are specified in the eda data file of the ODB++ directories. Following is
an excerpt of an eda via specification. FID entries specify each part of a via: holes, pads, and
antipads. Entries containing "C" are pads (copper), and entries containing "L" are antipads
(laminate). Lines containing "H" specify holes, but there are no holes specified in this example
because a known problem exists wherein hole features are not specified in the eda data file.
SNT VIA
FID C 2 8479
FID C 3 10992
FID L 4 1310
FID L 5 2414
FID L 8 1310
FID L 11 1310
FID L 14 2053
FID L 15 1310
FID C 16 5566
FID C 17 3399
If "H" lines were present they would be indicating which feature from which layer is to be used for
the hole. Hole features are found on ODB drill layers. There is a drill layer defined in this ODB
folder and it does have features. But because of a known problem, holes are not specified in the
eda data file, so “H” lines are not present in the file.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The feature file contains lines that list numeric values which specify the setting of various attributes
and options. The following feature line mistakenly contains an attribute with a string value instead
of a numeric value.
P 3.6765000 2.4700000 0 P 0 0;0=0,1=NO,2=1
Feature lines may have attributes specified at the end of the line. The value for an attribute is
omitted for boolean attributes. Otherwise it is an number representing either the numerical value
for integer and float attributes, an option number for option attributes, or an integer referencing a
string from the attribute text string section of the file. The feature line below has a value that is a
string, rather than either being omitted or a number as is correct.
P 3.6765000 2.4700000 0 P 0 0;0=0,1=NO,2=1
The PKG record in the eda data file is missing the required package name. There should be a
package name in the underlined space below.
# PKG 0
A package contour specification for a footprint outline mistakenly specifies a hole (H) before it
specifies the island (I) that could contain it. The hole is ignored and a warning is issued.
# PKG 20
CT
OB 0.0327165 0.040748 H
OS -0.068451 0.040748
OS -0.068451 0.040441
OS 0.0327165 0.040441
OS 0.0327165 0.040748
OE
OB -0.068451 0.0856299 I
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
OS 0.0327165 0.0856299
OS 0.0327165 0.1415828
...
Subnet toeprint features in the eda data file that are on negative layers should be specified as
laminate. Some tools incorrectly export them as copper. When this deviation is supported, the
feature is used as if it is laminate; the feature becomes an antipad. Copper features in a subnet
toeprint are pads. In the FID line below layer 5 is a negative ODB++ layer, the "C" should be an "L".
SNT TOP B 32 0
FID C 5 598
Many ODB++ directories do not contain information that is required by the Electronics Desktop and
SIWave, such as material and layer characteristics (e.g. height). This information is sometimes
exported by the original source program (e.g. Cadence or Mentor Graphics) to the ODB++
directories and can then be used by the ODB++ Translator. But if this information is not present in
the ODB++ directory, or if the information is present but needs to be changed, a separate input
control file can be provided by the ODB++ Translator.
The Electronics Desktop input control file is in XML and can be created using standard third party
text editors such as Notepad in Microsoft Windows or VI in Linux. The associated XML schema file,
"stackup.xsd," is located in the parent Electronics Desktop installation directory. The schema file
can be used with third-party editors or scripting tools that check XML syntax. Specific keywords
that are valid to use in the control file can be found in the "stackup.xsd" schema. The associated
XML schema for the import options information is "ImportOptions.xsd".
You are not required to use a control file when importing OBD++ files. However, if you do not use a
control file, stackup and material definitions may not be defined. If you do use a control file, you can
adjust the stackup either manually or by importing the control file into the design using the stackup
dialog. If you import the control file, the stackup will be modified according to rules described in
Importing a Stackup.
Following is a short example of a control file. The first three lines are heading lines that are required
in all control files used with the ODB++ Translator. In the following example, after the heading
lines, two other sections are present: one for materials and one for layers.
l ODB++ import
l Import using the stackup dialog
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l AutoCAD import — AutoCAD import uses any specified stackup, material, or import
option information specified in the control file to fill the import dialog and set up for import.
l GDSII import — GDSII import uses any specified stackup or material information
specified in the control file to fill the import dialog and set up for import.
<Stackup xmlns="http://www.ansys.com/stackup"
schemaVersion="1.0">
<Materials>
<Material Name="Solder_Mask">
<Permittivity>
<Double>1</Double>
</Permittivity>
<Materials>
<Material Name="Dielectric_Material">
<Permittivity>
<Double>4.7</Double>
</Permittivity>
<Materials>
<Material Name="Signal_Material">
<Conductivity>
<Double>59880240</Double>
</Conductivity>
</Material>
</Materials>
<Layers LengthUnit="mil">
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
</Layers>
</Stackup>
It is possible to use XML schema functionality in Microsoft Excel to create stackup-layer information
that can then be exported to an ODB++ control file.
An XML schema is basically a set of rules (constraints) that define the structure and content
(elements) of an XML file. Both XML and XML Schema documents (*.xml, *.xsd) are
straightforward user-friendly text files, and Microsoft Excel offers an intuitive interface that “maps”
elements in an XML schema to data cells in an ordinary worksheet. As such, and because the XML
schema is quite simple, it is possible to use a plain-text XML editor in Microsoft Excel to create
stackup-layer controls that are suitable for ANSYS tools. These controls can then be exported to
an ODB++ Control File.
The schema used in the following example is shipped with the Electronics Desktop v6.0 (or higher)
and can be found at <desktop_inst_dir>\Stackup.xsd, where <desktop_inst_dir> is the ANSYS
Electronics Desktop installation directory. In this example, Microsoft Excel 2007 is used, but Excel
2003 should also be compatible.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
If necessary, select the Popular category, and then click Show Developer tab in the Ribbon.
Then, on the Developer tab in the XML group, click Source to display the XML Source task-plane.
1. Open the Excel Spreadsheet: Open the spread sheet file (*.xls or *.xlsx) that you wish to
export to the control file.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
1. Load the ANSYS XML Schema: In the XML Source task pane, click XML Maps to open
the XML Maps dialog box.
1. Load the ANSYS XML Schema (contd): Click Add to open the Select XML Source dialog
box, then browse to the .xsd file in the Electronics Desktop installation directory and click
Open. Next, click OK to close the Source dialog. The XML schema will be loaded into the
XML Source Pane.
1. Prepare the Excel Spreadsheet: In the schema element list that appears in the task pane,
those elements with a red star are mandatory fields that you must map to cells in the
worksheet. But, you do not need to map a starred element if its parent is not also starred. For
most Excel files, you will need to add at least one cell in the worksheet that contains the
schema version number — which is currently fixed at “1.0” — you can add it anywhere, but it
must be formatted as “text”, instead of the default format “number”, so that the literal string
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
will be exported. You may add additional fields to the worksheet, such as a layer-thickness
unit, but this is not required.
1. Prepare the Excel Spreadsheet (contd): Many pre-existing layer-stackup files may
contain names/symbols that are different from those used by the XML Schema. These
names will be flagged as errors, even if they represent the same entity. Because of this,
these names must be replaced with valid entries before being exported to XML. For
example, from the illustration above, “METAL” is not a valid layer type and is replaced with
“conductor”, and since XML is case-sensitive, “DIELECTRIC” is replaced with “dielectric”.
For a complete list of valid entries for each element, open the XML Schema document (*.xsd) in a
text editor and search for the element name.
1. Map the XML schema to the workbook: Drag each element from the task pane to the
corresponding cell in the workbook. The mapped areas appear in the blue nonprintable
borders. Repeat this mapping operation for each element by dragging it into the workbook.
— For columns of data, drop the element on the cell directly above the top row in
order to make it the header.
— For a single cell, simply drop the element on the cell itself.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
2. Export to XML File: Select the elements in the task pane that you wish to export. All
corresponding mapped cells will be highlighted in the worksheet (Hint: To select all, click on
ns1::Stackup). In the Developer tab, click the Export button. In the Export XML dialog that
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
opens, specify a name for the file. Next, click Save and the file is exported to XML.
1. Review the XML File: You can open the exported XML file in a text editor or Internet
Explorer for review.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
During ODB++ translation, it is often necessary to augment available data for the purposes of
simulation. One area that is often vital is component classification and value assignment; this
supplementary information can be provided using an XML Control File with a
Components/TypeMap and/or ODBPropertyMap.
For example, a Control File mapping the type of components with reference designators beginning
in 'L' to an inductor, 'R' to a resistor, and 'C' to a capacitor, is implemented as:
<c:Control schemaVersion="1.0"
xmlns:c="http://www.ansys.com/control">
<Components schemaVersion="1.0">
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
<TypeMap>
</TypeMap>
</Components>
</c:Control>
The regular expressions in the above example are mutually exclusive and, thus, do not rely on
order for evaluation. A more complicated TypeMap, using part names, reference designators, and
relying on order is:
<TypeMap>
</TypeMap>
Information regarding component type and values can be specified in the control file. If the
component information is not in the control file, the translator looks for optional properties in the
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
ODB++ component files if the component has 2 pins. If the component records in these files have
property records TYPE and VALUE, the contents of these properties are used to determine
component information. All comparisons are case independent.
The table below shows the type assigned to the component based on the TYPE property content:
ODBPropertyMap
If an ODBPropertyMap is not defined in the .xml file types and values of component will be
assigned primarily through the TypeMap. Any unmatched components will than have their type and
value set from the component PRP with key Type in the component_top and component_bottom
file and the values from the PRP key called Value or Val. If additional control is desired one can
define the ODBProperty map.
If one wishes to use the TypeMap as default values one can now set the "PrioritizeOverTypeMap"
attribute to true in the ODBPropertyMap. In the case below if the a component R1 had a resistance
value set in the VALUE key of "1K": with the flag set to true the resistance will be set to 1000 ohm, if
the flag is not set the resistors value will be 25ohm.
Fields are listed in priority order and the names are compared without case sensitivity. That is the
field named Type will take precedence over all the other fields and it will match "TYPE", "type", etc.
Because the TypeOnly field is true it will only be used to set the type and should not correspond to a
value. If this is being used for R1, it is likely "resistor". If a field is not "TypeOnly" it will be used to
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
infer an RLC type. It is important to make your "TypeOnly" first in the list if you need to guarantee it
will be used. At present only 2 pin components with properties are supported.
The SeparationCharacter attribute takes a string of characters to cut at. For example, if the value
supplied are in the form "220K/5%" and "3.9K,1%" . You might want to set SeparationCharacter =
", /".
The string above cuts at commas, spaces and the back slash.
<c:Control xmlns:c="http://www.ansys.com/control"
schemaVersion="1.0">
<Components schemaVersion="1.0">
<TypeMap>
</TypeMap>
<ODBProperty Name="Val"/>
</ODBPropertyMap>
</Components>
</c:Control>
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note The example below was created for gds import but the principle applies to importing
Autocad and ODB++. Layer remapping is not supported for the importing of Cadence
APD/Allegro/Sip.
<c:Control xmlns:c="http://www.ansys.com/control"
schemaVersion="1.0">
<Stackup schemaVersion="1.0">
<Materials>
</Materials>
<Layers LengthUnit="mm">
</Layers>
</Stackup>
<ImportOptions Flatten="true"
GDSIIConvertPolygonToCircles="false"/>
</c:Control>
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
If the Electronics Desktop exports from the Layer Stackup Dialog, note that the layer that is called
"30" in the gds design is referred to as "Top" in the file below. To use the file below you will need to
make the substitution Name="Top" with Name ="30" TargetLayer="Top", etc. You will be able to
define your dielectric layers, etc., in the AnsysElectronicDesktop and use the modified file for
repeated translation.
<c:Control xmlns:c="http://www.ansys.com/control"
schemaVersion="1.0">
<Stackup schemaVersion="1.0">
<Materials>
[[[[ Deleted again]]]]
</Materials>
<ELayers LengthUnit="mm">
<Dielectrics>
</Dielectrics>
<Layers>
</Layers>
</ELayers>
</Stackup>
</c:Control>
<c:Control xmlns:c="http://www.ansys.com/control"
schemaVersion="1.0">
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
<Stackup schemaVersion="1.0">
<Materials>
[[[[ Deleted again]]]]
</Materials>
<ELayers LengthUnit="mm">
<Dielectrics>
</Dielectrics>
<Layers>
</Layers>
</ELayers>
</Stackup>
</c:Control>
Board Outlines
Board outlines will be created on an assembly layer called "outline". If the board outline is
composed entirely of disjoint segments, the ANSYS Electronics Desktop will attempt to stitch the
data together so long as the end points are within a nanometer of each other.
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
2. On the Report2D menu, click Export to File. (Alternatively, right-click on the data table, and
then click Export to File on the shortcut menu.)
3. Browse to the directory, then give the file a name. Click Save.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l On physical layers such as silkscreen and signal layers, property displays are drawn with
Hershey fonts and possess a constant size. These property displays are exported from the
Electronics Desktop to GDSII, Gerber, and DXF formats.
l On non-physical layers such as symbol layers, property displays do not possess a constant
size — they are scaled during zooming. As a result, property displays on non-physical layers
do not export from the Electronics Desktop.
1. On the File menu, click Export, then select the type of file to export from the submenu; this
opens the Save As dialog.
2. Select the file format you wish to use and click Save.
If you choose ANSYS Neutral or Microsoft Enhanced the file is saved. If you choose a different
format, one of the following dialogs opens:
l DXF Export
l GDSII Export
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Gerber Export
l NC/Drill Export
DXF Export
To export layout data, on the File menu, click Export, then select AutoCAD from the submenu;
this opens the Save As dialog. Selecting AutoCad DXF File opens the DXF Export dialog.
l Use the Units default of mm or choose another from the pull-down menu (cm, ft, in, km,
meter, mil, nm, uin, um).
l Check an Include box for each Layer Name you wish to save and click OK.
During export, a polygon with voids is converted into a single polygon with no holes where bridges
connect the voids to the outer contour.
Text that is Hershey font will be exported as polygons, that is, the text is thickened.
GDSII Export
To export layout data, on the File menu, click Export, then select GDSII from the submenu; this
opens the Save As dialog. Selecting GDSII or GDSII (Stream) opens the GDSII Export dialog.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Text that is Hershey font will be exported as polygons, that is, the text is thickened.
Gerber Export
When you export to Gerber from a layout in the Electronics Desktop, each layer is treated as a
separate “page” and each page is exported to a separate file. Each file is named by appending the
layer/page number to the export file name that is chosen by the user.
l You can export more than one layer/page to a Gerber file by selecting additional layers in
the Gerber Export dialog. Header information in each exported file lists the layers that are
included within the file.
l You can suppress the exporting of a particular Gerber layer by deleting the page(s) in the
Gerber Export dialog. Only those pages that are displayed in the Gerber Export dialog will
be exported.
To export layout data, on the File menu, click Export, then select Gerber from the submenu. This
opens the Save As dialog. Then, select Gerber to open the Gerber Export dialog.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Text that is Hershey font will be exported as polygons. That is, the text is thickened. The Electronics
Desktop exports Gerber RS274-X format.
NC Drill/Router Export
To export layout data, on the File menu, click Export, then select NC Drill from the submenu; this
opens the Save As dialog. Selecting NC Drill File opens the NC Drill/Router Export dialog.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Extension Contents
.bmp Bitmap files.
.gif Graphics Interchange Format files.
.jpeg Joint Photographics Experts Group files.
.tiff Tagged Image File Format files.
.wrl Virtual Reality Modeling Language (VRML) files.
1. On the Edit 3D menu, click Export to save the file in a graphics format. The Export File
dialog opens:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
2. Use the file browser to find the directory where you want to save the file.
3. Type the name of the file in the File name box.
4. Select the desired graphics file format from the Save as type pull-down list.
5. Click Save. The file is exported to the specified location as a graphics file.
For a reference to the ANSYS Neutral File format specification, see ANSYS Neutral File Format.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l State-space models
l X-parameter elements
l Verilog models
l Network solution data such as SYZ-parameters
All of these models can be imported via the Component Libraries window by clicking the Models
button.
Move the cursor over the icon for the model you wish to create, and left-click on the icon. Details
are provided in the following topics.
Related Topics
PSPICE Library Support
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
You can invoke the Models Library from the Symbols tab, by clicking Models.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Clicking on any of these will open a dialog to choose the file. When the file is open, if necessary, a
second dialog will open to retrieve additional information. Once you click OK, clicking in the
schematic will place the new component.
These import items can also be accessed from the Component Libraries docking window like any
component library. In the Components tab, expand the Models library to display the component
types.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Double-clicking any of the individual components will open a dialog to choose a file or project
of the appropriate type.
l Once a component of a given type has been created, you can filter for that type to see them
all. For example, after placing several NPort components, view the Symbols tab, and type
"NP" into the Filter box and choose "type: NPort". This will filter to show only NPort
components.
Note Imported SPICE models and netlists must be in HSPICE, PSPICE, or Spectre format for
simulation and postprocessing with the Nexxim simulator.
l amp, c, csw, d, l, ltra, njf, nmf, nmos, npn, pjf, pmf, pmos, pnp, r, sp, sw, u, urc, w
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
1. View the Component Libraries. Open the Symbols panel. Click Import Models.
2. From the panel of icons, select the Spice icon. This opens the Import Components dialog.
3. The Files of type menu lists the file types for the SPICE file. You can import a SPICE
library (.lib), a SPICE subcircuit definition (.cir, .spc, .sp), or a Spectre-format (.scs).
4. Use the dialog to browse to the directory containing the SPICE components. You can
specify the location of the SPICE file by clicking Use Path, PersonalLib, UserLib, or
SysLib.
Within the PersonalLib, userlib, or syslib folder, select the file from those listed, or type the
name of the file in the File Name box. Note that syslib is reserved for libraries supplied with the
Electronics Desktop. See Paths for Model File Selection for details.
5. Click Open in the Import SPICE File dialog to open the Component Import dialog.
The Component Import dialog lists all the SPICE components that are contained within the
library.
l Check a box in the Create Component column for each component you wish to import.
l Click the Symbol and Footprint column boxes to assign a symbol and footprint to a
component. These steps are optional; if either one is left unspecified, a default symbol or
footprint will be created automatically.
l Select OK to import the selected components and thereby display their names in the
Project Manager window.
Warning If the SPICE file has more than 10k characters in its DATA member, the parameter
definitions from that file will not be imported. The simulators will get the correct
information on the parameters from the .lib or .sp file, but the parameters cannot be
overridden on a per-instance basis.
Grouped Components
In the Component Import dialog, you can select Groupsimilarcomponents in order to group
components that have the same parameter names and values.
Requireconsistentparametervalues (enabled only when Groupsimilarcomponents is
selected) enforces that every element in the group has the same parameter values, which is the
default.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
After selecting Group similar components in the Component Import dialog, similar
components are grouped in the display:
l After grouping, the Name column displays the filename of the component group
appended with a group number; you can change this name by typing in the Name column.
l Multiple groups can be found, but every element of a group must have the same grouping
criteria.
l A group can only be created if it would contain multiple components.
Select OK to import the component group and thereby display its name in the Project Manager
window.
l After placing the component group in the schematic, the component possesses a special
property, VComp, that is displayed in the Properties window. You can use the VComp
property to select which model in the group will be used in the schematic.
l Clicking the Choose Model button in the Properties window opens a Model List dialog
that displays all the models within the group.
l You can then select a new model, click OK, and the new model name will be reflected in
the Properties window.
6. If you do not select your own symbol for an imported component, a default symbol will be
automatically selected. To select your own symbol, click the Symbol button. This opens the
Select Definition — Symbols dialog. For more information, see Using the Symbol Editor.
7. If you do not select your own footprint for an imported component, a default footprint will be
automatically selected. To select your own footprint, click the Footprint button. If you have
encrypted libraries, this opens the Enter Password dialog.
After entering a valid password, or if you do not have encrypted libraries, the next window to
open is the Select Definition — Footprints dialog. For more information, see Using the
Footprint Editor.
8. If you select Check this box if this is a PSPICE component on the Component Import
dialog, the component is imported as a PSPICE component.
The global section of the netlist for the component will include lines (shown in bold) to switch to
the PSPICE parser for this library, then back to Nexxim for the rest of the netlist:
simulator lang=pspice
57_PNP_Model.lib"
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
simulator lang=nexxim
For more information about the Electronics Desktop libraries see Using the Component Editor.
When importing a SPICE component, the Electronics Desktop may modify pin names for
compatibility with the Electronics Desktop pin names and to guarantee uniqueness of pin names.
l The following characters are invalid in the Electronics Desktop pin names and are removed
(squeezed out) from pin names: []<>{}&*<space>,\
l No other modification to pin names are made. Capitalization at the location of removed
characters is not adjusted.
l A uniqueness test is performed. Any non-unique names have _## appended to the name,
where ## is a number that increments until a unique name is generated. Pin names are
processed in the order they are specified on the .subckt line. No check is performed to see if
the name already has a _## in it and attempt to increment that number. Thus if there were
two P_1 pins, the result would be a P_1 pin and a P_1_1 pin.
To import and use an IBIS buffer component, use the following steps:
An IBIS I/O Wizard is available for connecting schematic signal, power, and ground nodes to IBIS
buffer instances:
A component defined by the IBIS Algorithmic Model Interface (AMI) specification requires special
import and setup steps, described in the AMI Analysis topic.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The Electronics Desktop IBIS Components created with the "Import IBIS Components"
procedure contain certain convenience features that are only tested for compatibility with
the Nexxim simulator.
1. Pin Imports, which provide automatic instantiation of the lumped RLC package
parasitics from the [Package] or [Pin] keywords.
2. The buffer_mode parameter Internal settings, which allow the user to specify the
mode of the device (Input, Output, High Impedance) from a pull down list instead of
creating a voltage source to drive the enable node.
3. The logic_in parameter Internal setting, which allows the user to configure a built-
in eye source instead of creating an external voltage source to provide the bit
pattern.
To create a Circuit Design that is compatible with other simulators, the following steps
should be taken when importing IBIS components.
1. Use the Buffer Import tab in the Import IBIS Components dialog box. Do not
use the Pin Import tab.
2. When placing the components on the schematic and configuring the circuit, provide
external sources and use the Select Net option to connect the buffer_mode
(enable) and logic_in (bit source) parameters to the external sources.
Related Topics
To import an IBIS buffer or buffer model from an IBIS library file (.ibs) in a Circuit schematic:
1. View the Component Libraries. Open the Symbols panel. Click Import Models. From
the panel of icons, select the IBIS icon. This opens the Import Components dialog:.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
2. Specify the location of the IBIS file by clicking Use Path, PersonalLib, UserLib, or SysLib.
3. Within the PersonalLib, userlib, or syslib folder, select the file from those listed, or type the
name of the file in the File Name box. Note that syslib is reserved for libraries supplied with
the Electronics Desktop.
If you select Use path, type the name of the file in the File Name box, or use the Look in field
to navigate to the file and record its name. Note that components or libraries imported with Use
Path may not be portable when the project is moved to another machine.
When the Project Folder button is selected, references to the file in the design are relative to the
directory where the project resides. In this case, the path is saved in the project .adsn file as a
variable such as:
.lib '$PROJECTDIR/x_113854.ibs'
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The variable $PROJECTDIR will be expanded to the current location of the project when the
design is converted to a netlist and run by an analysis tool. Otherwise, an absolute path is saved. If
you move a project and its library files together to a new directory, you can preserve the file
references by selecting the Project Folder option.
4. Click Open to select the IBIS file and open the Import IBIS dialog. The next step is to select
the pins and buffer models to make into schematic components.
IBIS devices are created in the Electronics Desktop using Single Component Import, Pin Import or
Buffer Model Import. A component import can include [Package Model] and [Pin Mapping]
information to control power and parasitic package behavior. A Pin Import captures the behavior of
a given pin on a component defined in the IBIS file. A device created via Pin Import contains the
behavior of the model associated with the pin, and it also contains information about the parasitic
package model specified for that pin. A buffer model import captures the behavior of a given model
in an IBIS file without any package parasitic modeling.
l Import a complete component with a [Package Model] and importing all signal, power,
ground, and NC pins. See Import Single Component with [Package Model], All Pins.
l Import a complete component with a [Package Model], but importing only selected signal,
power, ground, and NC pins. See Import Single Component with [Package Model],
Selected Pins.
l Import a complete component without a [Package Model], importing all signal pins. See
Import Single Component with No [Package Model], All Pins.
l Import a complete component without a [Package Model], importing only selected signal
pins. See Import Single Component with No [Package Model], Selected Pins.
l Import selected pins from a selected component. See Pin Import Tab.
l Import a buffer model without referencing a specific component or pin. See Buffer Import
Tab.
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
An IBIS buffer imported as a single component has a rectangular schematic symbol with terminals
for the imported pins in the IBIS model. When no individual pins are selected, Nexxim imports all
eligible pins. When the IBIS component definition includes a [Package Model], and Use Package
Model is selected, Nexxim uses the information in the [Package Model] to instantiate
RLC parasitics between the die-side and the board-side nodes. The power and ground pins
become available for import, and the Component External Power property is present. Then you
can connect the pins to signals, power sources, and grounds in the schematic. The Component
External Power property is set to ON, so that the component expects power to be supplied
through the component terminals.
When the component definition includes a [Pin Mapping], Nexxim constructs the specified power
and ground buses internal to the component. A [Pin Mapping] is required in all cases where the
component has multiple POWER and GND buses. However, Nexxim can make the power bus
connections without a [Pin Mapping] when there is exactly one POWER bus and one GND bus,
identified by their IBIS signal_name entries. Each bus (signal_name) can have multiple pins, which
are tied together. Nexxim halts with an error message if there is no [Pin Mapping] and the
component does not have exactly one POWER bus and one GND bus.
When you have identified the IBIS library file in the Import Components dialog, the IBIS Import
dialog appears.
To import a single IBIS component that includes a [Package Model] and importing all component
signal, power, ground, and no-connect (NC) pins:
1. Click the Create single component check box at the top of the Pin Import tab.
2. In the Component Name field, use the pulldown menu to select the component with a
[Package Model] from the IBIS file.
3. If the component definition includes a [Package Model], the Use Package Model fields are
enabled.
4. Click the Use Package Model check box and select the package model from the pulldown
menu.
5. If the [Package Model] is defined in a separate .pkg file rather than in the IBIS file, click the
Package File button and select the package model file.
6. Do not select any individual pins. With no individual pins selected, Nexxim will import ALL the
signal, POWER, GND, and NC pins from the component definition.
7. Click OK to create the component and add it to the Definitions>Components listing in the
Project tree.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Refer to Power Nodes in the "IBIS File Import Technical Notes " on page 13-98 for details on the
methods for supplying power to imported IBIS components. See Package RLC Parasitics in the
technical notes for details on support for RLC parasitics in IBIS components.
An IBIS buffer imported as a single component has a rectangular schematic symbol with terminals
for the imported pins in the IBIS model. When individual pins have been selected, only those pins
are imported. When the IBIS component definition includes a [Package Model], and Use Package
Modelis selected, Nexxim uses the information in the [Package Model] to instantiate
RLC parasitics between the die-side and the board-side nodes. The power and ground pins
become available for import, and the Component External Power property is present. Then you
can connect the pins to the individual signals, power sources, and grounds in the schematic. The
Component External Power property is set to ON, so that the component expects power to be
supplied through the component terminals. When the component definition includes a [Pin
Mapping], Nexxim constructs the power and ground buses internal to the component.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The pins selected for import must include a subset of POWER and GND pins sufficient to power
any power rail (bus) used by any of the imported signal pins. For example, if one of the imported
signal pins specifies a bus "VCC" in the pu_ref column of its [Pin Mapping] entry, and no power pin
attached to the "VCC" bus is imported, Nexxim will issue an error.
When you have identified the IBIS library file in the Import Components dialog, the IBIS Import
dialog appears.
To import a single IBIS component that includes a [Package Model] with selected component
signal, power, ground, and no-connect (NC) pins:
1. Click the Create single component check box at the top of the Pin Import tab.
2. In the Component Name field, use the pulldown menu to select the component with a
[Package Model] from the IBIS file.
3. If the component definition includes a [Package Model], the Use Package Model fields are
enabled.
4. Click the Use Package Model check box and select the package model from the pulldown
menu.
5. If the [Package Model] is defined in a separate .pkg file rather than in the IBIS file, click the
Package File button and select the package model file.
6. Select the desired individual pins. Nexxim will import only the selected signal, POWER,
GND, and NC pins.
7. Click OK to create the component and add it to the Definitions>Components listing in the
Project tree.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Refer to Power Nodes in the "IBIS File Import Technical Notes " on page 13-98 for details on the
methods for supplying power to imported IBIS components. See Package RLC Parasitics in the
technical notes for details on support for RLC parasitics in IBIS components. The next step is to
place the IBIS components in the schematic.
An IBIS buffer imported as a single component has a rectangular schematic symbol with terminals
for the imported pins in the IBIS model. When no individual pins are selected, Nexxim imports all
eligible pins. When the IBIS component definition does not include a [Package Model], the
[Package Model] option is disabled, and the power and ground pins are not available for import.
Then you can connect the pins to signals in the schematic. The component expects power to be
supplied as specified by the power parameter on each pin. Any [Pin Mapping] in the component
definition is ignored. Nexxim uses the [Pin] or [Package] data (selected the by pkg_selector
property) to instantiate RLC parasitics between the die-side and the board-side nodes.
When you have identified the IBIS library file in the Import Components dialog, the IBIS Import
dialog appears.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
To import a single IBIS component without a [Package Model] and importing all component signal
pins:
1. Click the Create single component check box at the top of the Pin Import tab.
2. In the Component Name field, use the pulldown menu to select the component from the
IBIS file.
3. Do not select any individual pins. With no individual pins selected, Nexxim will import ALL the
signal pins from the component definition.
4. Click OK to create the component and add it to the Definitions>Components listing in the
Project tree.
Refer to Power Nodes in the "IBIS File Import Technical Notes " on page 13-98 for details on the
methods for supplying power to imported IBIS components. See Package RLC Parasitics in the
technical notes for details on support for RLC parasitics in IBIS components. The next step is to
place the IBIS components in the schematic.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
An IBIS buffer imported as a single component has a rectangular schematic symbol with terminals
for the imported pins in the IBIS model. When individual pins have been selected, only those pins
are imported. When the IBIS component definition does not include a [Package Model], the
[Package Model] option is disabled, and the power and ground pins are not available for import.
Then you can connect the pins to the individual signals in the schematic. The component expects
power to be supplied as specified by the power parameter on each pin. Any [Pin Mapping] in the
component definition is ignored. Nexxim uses the [Pin] or [Package] data (selected the by pkg_
selector property) to instantiate RLC parasitics between the die-side and the board-side nodes.
When you have identified the IBIS library file in the Import Components dialog, the IBIS Import
dialog appears.
To import a single IBIS component without a [Package Model] with selected component signal
pins:
1. Click the Create single component check box at the top of the Pin Import tab.
2. Select the desired individual pins. Nexxim will import only the selected signal pins.
3. Click OK to create the component and add it to the Definitions>Components listing in the
Project tree.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Refer to Power Nodes in the "IBIS File Import Technical Notes " on page 13-98for details on the
methods for supplying power to imported IBIS components. See Package RLC Parasitics in the
technical notes for details on support for RLC parasitics in IBIS components. The next step is to
place the IBIS components in the schematic.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Use the Pin Import tab to specify one or more buffer pins to be imported from a specified IBIS
component. Each pin imported with Pin Import has a buffer model (or model selector). Each pin
gets its power as specified in its power parameter, and uses the package model selected by a
Package Model import or by the pin's individual pkg_selector parameter (which is not displayed
when a Package Model was imported).
1. The Component Name field lists all the IBIS components contained within the selected
IBIS library. Scroll the list and select the name of the component to be imported.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
2. The Pin Import tab displays the pins defined for the component in the IBIS file, and the
model or model selector associated with each pin. Single pins are listed first, then differential
pin pairs if any are defined in the IBIS file.
3. Use the check boxes to select one or more pins to import.
4. Alternatively, use the Filter: field to enter a pin name, which can use asterisks as wild-card
characters. Click the Select button at the top of the column to automatically select any pin
names that match the Filter:
If the IBIS file contains differential pins, they appear in the pin list:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Here the two differential pins (C4-D4: DQS - DQSB) have been selected.
Refer to Power Nodes in the "IBIS File Import Technical Notes " on page 13-98 for details on the
methods for supplying power to imported IBIS components. See Package RLC Parasitics in the
technical notes for details on support for RLC parasitics in IBIS components. The next step is to
place the IBIS components in the schematic.
The Buffer Import tab allows you to create an Electronics Desktop component representing a
single buffer model or model selector from the IBIS file. Each pin gets its power as specified in its
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Refer to Power Nodes in the "IBIS File Import Technical Notes " on page 13-98 for details on the
methods for supplying power to imported IBIS components. See Package RLC Parasitics in the
technical notes for details on support for RLC parasitics in IBIS components. The next step is to
place the IBIS components in the schematic.
If you checked Create Component for any of the imported buffer models, the next step is to place
the IBIS components in the schematic.
In most cases, after clicking OK on the IBIS Import dialog, a copy of the symbol for the component
will be attached to the cursor so you can place it in the schematic. In addition, you can generate an
instance of an IBIS buffer component from the Definitions folder:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
1. Expand the Definitions folder in the Project window, then expand the Components folder.
2. Click on the desired component and drag the symbol into the schematic.
IBIS single components are named for the IBIS library file and the [Component] entry. The symbol
shows all the pins with pin names and signal_names read from the file. This is the symbol for
component with a [Package Model] and all pins imported. The symbol includes all signal, POWER,
and GND pins for connection in the schematic.
IBIS single components are named for the IBIS library file and the [Component] entry. The symbol
shows all the pins with pin names and signal_names read from the file. This is the symbol for
component with a [Package Model] with some selected pins imported. The symbol includes only
the selected signal, POWER, and GND pins for connection in the schematic.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
IBIS single components are named for the IBIS library file and the [Component] entry. The symbol
shows all the pins with pin names and signal_names read from the file. This is the symbol for a
component with no [Package Model] and all signal pins imported (no individual pins selected). The
symbol includes all signal pins for connection in the schematic.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
IBIS single components are named for the IBIS library file and the [Component] entry. The symbol
shows all the pins with pin names and signal_names read from the file. This is the symbol for the
component above with no [Package Model] and selected signal pins imported. The symbol
includes just the selected signal pins for connection in the schematic.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
IBIS Pin Import components typically have names that begin with the pin name. IBIS Buffer Model
Import component names begin with the model name or model selector name.
Single-pin IBIS components all use the following default schematic symbol. The text changes to
show the buffer type selected for each component instance. The example shows the input_
output buffer type.
Differential IBIS components all use the following default schematic symbol:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
When you are finished placing instances of the component, right-click and select Finish or press
ESC on the keyboard to stop placing instances.
The last step in the import process is to verify the settings of the component properties.
Right-click on the IBIS buffer symbol and select Properties to open the Property window. The
available properties depend on the buffer type and model. For imported Pins and Buffers, the
property dialog shows the available properties directly.
Related Topics
When the import is of an entire IBIS component, clicking Properties opens a Property dialog like
the following:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
On the Properties dialog for a single component, click the Pin Info button to bring up a dialog listing
all the pins and the pin properties:
The panel on the left lists all the pins in the component, with icons representing the buffer type.
When you select one or more pins, the properties that apply to the selected pins are listed in the
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
panel on the right. The properties dialog lists differential pin pairs (for example, C4-D4 in the
illustration above), but the symbol shows separate terminals for both pins of a differential pair.
For a single pin or buffer model, all properties are on one page:
The basic IBIS component properties are displayed for all imported IBIS buffers.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note A text array variable may be used for the model property. The array must contain
model names with the same buffer type.
l Polarity: Non-inverting, Inverting, No Polarity, or Not Set, as specified in the IBIS file for
each model.
l Waveform Properties The HSPICE-compatible Waveform properties control the details of
the waveform processing and other buffer parameters. All buffer imports display the subset
of these properties applicable to the buffer type.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l See Notes on IBIS Waveform Properties in the IBIS File Import Technical Notes for details
on these properties.
These properties appear for single component and pin imports, not for buffer model imports.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
appear as plottable quantities in the reporter, as if a probe had been placed on the die side
node(s) for this IBIS device.
l use_series_model For components with differential pins, the property list includes a use_
series_model check box. Check this box to have Nexxim automatically instantiate any
Series model defined between the differential pins in a Series Pin Mapping table within the
IBIS file. Use the model property to manually select the Series model.
For Input buffers, the Out Pin property sets the connection for the (pseudo-digital) output pin that
responds to inputs. Clicking on the Value button for Out opens a dialog. Select from the list of nets
to connect to the Out pin.
The logic_in Pin property sets the connection for the incoming data source. Clicking on the Value
button for logic_in opens a dialog. Select Internal Source to set up an internal data source (see
Eye Source Parameters below.) Click Select Net to display a list of nets to connect to the logic_in
pin.
Eye Source Parameters When the IBIS buffer logic_in Pin property is set to Internal Source,
the Property list includes selected Eye Source parameters to set up the internal data source.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
With exceptions noted below, these parameters are documented in the topic Add a QuickEye
Source to a Schematic.
Note 1. The resistance parameter on the Eye Source is not available with IBIS sources.
2. The vlow parameter on the Eye Source is not available with IBIS sources. IBIS
sources must use 0V as the logic low voltage.
3. The vhigh parameter on the Eye Source is not available with IBIS sources. IBIS
sources must use 1V as the logic high voltage.
4. The FFEparameter (Feed-Forward Equalization) on the Eye Source is not available
with IBIS sources.
5. For IBIS, the phase_delay is a pure delay added before the bit pattern starts
running.
6. The Disable Tx Jitter check box is available only on IBIS buffers. When this check
box is On (checked), transmit jitter calculations are disabled. Transmit jitter settings
in the properties list are not changed.
The buffer_mode property sets the connection and condition for the Enable pin on the component
(valid only for Input/Output and Tristate buffers). Clicking on the Value button for the buffer_mode
property opens a dialog:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Select Internal to specify internal connections for the Enable pin. When Internal is checked, you
can select buffer mode. The internal options depend on the buffer_type basic property:
Alternatively, click Select Net. The dialog displays a list of nets in the circuit to connect to the
Enable pin. The text at the upper right of the dialog shows the setting of the Enable specification
(Active-High, Active-Low) as read from the IBIS model in the file.
The logic_in Pin property sets the connection for the incoming data source. Clicking on the Value
button for logic_in opens a dialog. Select Internal Source to set up an internal data source (see
Eye Source Parameters above.) Click Select Net to display a list of nets to connect to the logic_in
pin.
For Input_Output buffers, the out_of_in Pin property sets the connection for the (pseudo-digital)
output pin that responds to inputs. Clicking on the Value button for out_of_in opens a dialog.
Select from the list of nets to connect to the out_of_in pin.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Package Model This property is available only with a single component import that references a
Package Model. The name of the [Package Model] definition to use for instantiating the RLC
parasitics. With a [Package Model], Nexxim is able to instantiate the coupled RLC parasitics
between the die side and the board side of each pin. When a [Package Model] is used, the pkg_
selector property is not displayed for the individual pins.
pkg_selector The pkg_selector parameter is used to select the desired packaging model for pins
not handled by a [Package Model] definition. When pkg_selector is set to Pin (the default), the
pin-specific package model is used if it exists, otherwise the default package model for that
component is used. When pkg_selector is set to Package, the default [Package] model for that
component is used, whether or not a [Pin] package model exists. When pkg_selector is set to
None, no package model is used, and the device behavior is identical to one created with a Buffer
Import of the same model.
Component External Power This property is available only with a single component import that
references a Package Model. When Component External Power is On (checked), Nexxim
expects power to be supplied via the terminal pins on the component schematic symbol, and the
power property is ignored for the individual pins. Nexxim will connect power buses as described in
the component [Pin Mapping] entry.
Note If you subsequently turn off (uncheck) Component External Power, the power to each
pin must be specified with its power property (on the Pin Info dialog), and any POWER or
GND pins that were imported become No-Connects.
If you subsequently turn off (uncheck) Component External Power, the power to each pin must
be specified with its power property (on the Pin Info dialog), and any POWER or GND pins that
were imported become No-Connects..
Power Connections for power nodes, internal or external. This parameter is enabled when a single
component with a package model has the Component External Power turned off, and for all
imported single pins and buffer models.
When the power property is set to external, the Pin Properties show the power pins:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Click on the power, ground, pull-up, and pulldown Value buttons to open the dialog, then select
from the available nets.
Note Use page ports to name the outputs of sources in the circuit as nets.
For more information, see Power Nodes in the "IBIS File Import Technical Notes " below
When the IBIS Pin Import selection references an Algorithmic Model (AMI), the properties list
contains AMI-specific properties including AMI file references and AMI parameters that are made
user-visible in the AMI file.
This section provides details on the conventions that should be followed to produce a correct
simulation with the imported IBIS buffer elements.
Related Topics
Power Nodes
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The ANSYS Electronics Desktop can parse IBIS® input files, but not all features of the IBIS
specification are supported. Some IBIS buffers are available as built-in Nexxim components.
The Electronics Desktop supports the following features of the IBIS specification:
Power Nodes
All active IBIS components contains some combination of pullup, pulldown, power clamp, and
ground clamp nodes. Power to these nodes can be applied at the component level using the [Pin
Mapping], or at the relevant nodes of each pin, using the default power parameters.
When you are importing a Single Component with a Package Model, the power and gnd pins that
you select are exposed in the schematic for you to wire to the appropriate power or ground rails.
Nexxim uses the [Pin Mapping] information (power and ground bus definitions) in the IBIS
component definition along with the RLC parasitic data (from die side to board side) in the Package
Model definition to connect the power and ground buses to power and ground nodes on the signal
pin buffers. The Component External Power property is set to ON in the component. When
Component External Power is ON, the power parameters on individual pins are ignored.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The IBIS file may contain a [Pin Mapping] keyword defining buses that connect POWER and GND
pins to the voltage supply nodes of any buffers connected to signal pins. When a [Package Model]
is used, and the Component External Power is on, Nexxim uses the [Pin Mapping] data to
connect the prescribed power buses between the die-side nodes of POWER and GND pins and
the voltage supply nodes of buffers. Any imported pins that are NOT included in the Package
Model definition use the uncoupled lumped RLC package defined in their [Pin] entry (or [Package]
section if no [Pin] RLC data are specified).
When you are importing either a Single Component without a Package Model, individual pins, or
individual buffer models, power connections use the power parameter on the individual pins to
control the connections. The power property also controls the power connections when a single
component with a [Package Model] has been imported but the Component External Power
switch is turned off; changing the imported POWER and GND pins to No-Connects (NC).
By default, the power parameter is set to internal, so that the component automatically drives the
nodes using internal voltage sources set to the voltages specified in the IBIS model. When power
is set to internal, the user should NOT connect any of these nodes to voltage sources or to ground.
Connecting external voltage sources or grounds when power is set to internal generates warning
messages about parallel supplies, and may cause problems with simulation.
To use external sources and grounds, set the power parameter to external. With this setting, any
pull-up, pulldown, power clamp, and ground clamp nodes appear as pin parameters with lists for
selecting the external voltage nodes to connect (using page ports).
Each pin on the component has two nodes, a die-side node and a board-side node (see the
probe_die_side parameter discussion in Edit IBIS Component Properties). You can probe both
nodes, but you can connect only to the board-side node. Between the die side and the board side,
the package introduces RLC parasitics. Accurate modeling of these parasitics is required for signal
and power integrity analyses.
By default, the RLC data are specified in the [Package] keyword in the IBIS file. The [Package]
entry defines a range of values for the default RLC of the component pins. The IBIS file [Pin]
keyword can contain values for the RLC parasitics on a pin-by-pin basis. If the [Pin] entry for the
component includes individual RLC values for a given pin, they override the defaults in [Package],
for that pin. The pkg_selector property defaults to Pin. With this setting, Nexxim searches the
IBIS component definition for a [Pin] keyword containing RLC data for the selected pin, and
applies that data if the [Pin] entry is found. If no [Pin] entry is found, Nexxim uses the default
[Package] data. You can also select Package to have Nexxim skip the search for a [Pin] entry.
If the IBIS file contains a [Package Model] keyword and you select Use [Package Model] at
import time, then the model RLC values override the [Pin] and [Package] values for the imported
pins that are included in the Package Model Definition. The pkg_selector property is not displayed
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
for the imported pins that have a [Package Model] definition. Any imported pins that are NOT
included in the Package Model definition are handled as though their pkg_selectorwere set to
[Pin]).
Traditional IBIS models supply tables of currents delivered to the output by the pullup, pulldown,
power clamp and ground clamp structures. The current delivered at the output is the sum of those
four contributions. With traditional IBIS models, the current drawn from the power rails is whatever
the four structures draw to deliver to the output. Power Aware IBIS output buffer models contain
additional information about the actual current drawn from the supply rails. They also contain
information that allows the simulator to more accurately account for the effects of variations in the
supply rail voltages.
Composite Current
A [Composite Current] section in the IBIS file describes the shape of the rising or falling edge
waveforms in the total current through the power reference terminal of the buffer. The composite
current (Icc), the total current to be drawn through the power pin, is the sum of the current at the
output (Iout) and the current internal to the device that goes to ground without reaching the output
(Ibypass):
The IBIS file contains [Rising Waveform] and [Falling Waveform] tables of times and output
voltages for the waveforms. The Electronics Desktop calculates the output current Iout based on
the output voltage and the terminating load.
When the IBIS model file for an Output buffer contains a [Composite Current] section after a
[Rising Waveform] or [Falling Waveform] table, Nexxim reads in the table of times and
currents. The times in the composite current table are identical to the times in the corresponding
waveform table. Nexxim calculates Ibypass at each time point by subtracting the output current
from the composite current.
During simulation, Nexxim adds a current source to generate Ibypass between the power and
ground pins of the power-aware Output buffer.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note The current direction for Iout in the diagram has been reversed from the convention used in
the IBIS specification, in order to simplify the formulas and discussion.
Then the current drawn from the power pin equals Icc, the current specified in the [Composite
Current] table. The output current, Iout, is unchanged.
The composite current feature allows you to simulate with a non-ideal power supply and get
accurate values for the power consumption. Power usage during events such as simultaneous
switching operations (SSO) can be simulated accurately.
The gate modulation effect is the change in output current Iout due to fluctuations in the gate
voltage.
The [ISSO PU] and [ISSO PD] tables allow the simulation to account for variations in the gate
current due to bouncing on the supply voltage.
The [Pullup] section provides tables of output current Iout for values of the voltage drop (Vpu -
Vout). Here is a reference diagram.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Vpu need not be equal to ideal voltage Vcc. Any voltage drop at the power pins will affect the
voltage difference between the power pin and the output pin, and so will affect the lookup in the I-V
table for the model.
The [ISSO PU] table gives the effective current of the pullup structure as a function of the voltage
on the pullup reference node (the power node). When Nexxim finds an [ISSO PU] section after a
[Pullup] entry, the calculation for Iout proceeds as follows.
1. Nexxim calculates the voltage drop between Vpu and Vout and uses this value as before to
look up Iout before the adjustment for gate modulation.
2. Nexxim calculates the voltage difference between the ideal Vcc and the actual pullup voltage
Vpu. This voltage difference is called Visso_pu in the diagram.
3. Nexxim uses the value of Visso_pu to access the table in the [ISSO PU] section. The table
gives the output current for that amount of voltage modulation, Iisso_pu.
4. Nexxim accesses the [ISSO PU] table entry for Visso_pu=0V. The value of Iout at Visso_
pu=0 is the nominal current, Inom_pu.
5. Nexxim calculates a scale factor Kpu as the ratio of the tabulated output current to the
nominal current:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
6. The final output current is the ideal output current from the [Pullup] table, scaled by the Kpu
factor for the voltage modulation from the [ISSO PU] table:
The [Pulldown] section provides tables of output current Iout for values of the voltage drop from
the output voltage to the pulldown reference voltage (Vout - Vpd). Here is a reference diagram.
The [ISSO PD] table gives the effective current of the pulldown structure as a function of the
voltage on the pulldown reference node (the ground node).
When Nexxim finds a [ISSO PD] section after a [Pulldown] entry, the calculation for Iout
proceeds as follows.
1. Nexxim calculates the voltage drop between Vout and Vpd and uses this value as before to
look up Iout before the adjustment for gate modulation.
2. Nexxim calculates the voltage difference between the actual pulldown voltage Vpd and the
ideal ground reference Vgnd. This voltage difference is called Visso_pd in the diagram.
3. Nexxim uses the value of Visso_pd to access the table in the [ISSO PD] section. The table
gives the output current for that amount of voltage modulation, Iisso_pd.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
4. Nexxim accesses the [ISSO PD] table entry for Visso_pd=0V. The value of Iout at Visso_
pd=0 is the nominal current, Inom_pd.
5. Nexxim calculates a scale factor Kpd as the ratio of the tabulated output current to the
nominal current:
6. The final output current is the ideal output current from the [Pulldown] table, scaled by the
Kpd factor for the voltage modulation from the [ISSO PD] table:
When the internal buffer_mode settings and the internal eye source are used, the proper voltage
levels are already assured. However, if you are connecting external nets to the "enable" or "logic_
in" nodes instead, it is important to use the proper voltage range on the input signals.
Digital input nodes for drivers (output, I/O, etc.) use fixed thresholds of 0.2V and 0.8V to trigger
changes in state from high to low and low to high, respectively. (Refer to diagram below).
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
An external voltage supply may be connected to these nodes, but must supply the expected values:
0V for low or off and 1V for high or on. Because the transition trigger thresholds are fixed, duty
cycle distortion (DCD) occurs if a high amplitude other than 1Vis used (blue trace in diagram). The
amount of DCD is negligible if the transitions themselves are very fast relative to the overall pulse
width. Using a high amplitude of less than 0.8V results in no output transitions occurring.
For initial transient values, and for DC analysis, a single fixed input threshold of 0.5V is used. If the
input signal is above 0.5V, the output is placed in the high state. Otherwise, the output is placed in
the low state.
These descriptions of the relationships between input voltage and output state for the Input buffer
nodes assume that the Polarity parameter in the IBIS model is set to Non-Inverting. The
relationships are appropriately inverted if the IBIS buffer model has Polarity defined as Inverting.
The digital output nodes of receivers provide a waveform that switches between 0V and 1V. These
transitions depend on the input signal and on the values of Vinl, Vinh, and Polarity set in the IBIS
model file.
l If the output is in the low state (0V) and the input signal becomes greater than Vinh, the
output transitions to high (1V).
l If the output state is high (1V) and the input signal becomes less than Vinl, the output
transitions to low (0V).
l For initial transient values, and for DC analysis, the buffers use a single fixed threshold equal
to the average of Vinl and Vinh, [(Vinh + Vinl)/2]. If the input signal is above this threshold,
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
the output is placed in the high state (1V). Otherwise, the output is placed in the low state
(0V).
These descriptions of the relationships between input voltage and output state for the Output buffer
nodes assume that the Polarity parameter in the IBIS model is set to Non-Inverting. The
relationships are appropriately inverted if the IBIS buffer model has Polarity defined as Inverting.
A single fixed threshold of 0.5V is used for Enable nodes. If the Enable pin is higher than 0.5V, the
enable state is considered high. Other wise, the enable state is considered low. The behavior of the
component then depends on whether the IBIS buffer model has its Enable parameter set to
Active-High or Active-Low in the IBIS file.
Be careful to ensure that the frequency of the input signal does not exceed the capabilities of the
IBIS model. The frequency of the input signal must consider the time required for the output to
settle. Whenever a transition from high to low or from low to high is triggered by the input signal, the
output jumps immediately to the steady-state current value from which the next transition starts.
However, the actual waveform requires a settling time period to reach the steady-state high or low
voltage. If the input then changes state too soon, the next transition will occur before the initial
transition has settled to its steady-state value. This can lead to non-physical voltage slew rates and
other unexpected simulation results.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
For example, if the IBIS model takes 20ns to complete a rising transition, then the input signal
should stay in the high state (1V) for at least 20ns after a low-to-high-transition. If instead the input
goes back to low after only 15ns, the behavior at the high-to-low transition creates a non-physical
slope change in the output signal. Since the initial rising transition has not completed at 15ns, the
output has not settled at the steady state from which the falling transition is to occur. The too-early
falling transition causes the output current to jump discontinuously to the high value.
The IBIS buffer component Waveform properties allow for fine-tuning the power scaling and
waveform rise and fall. The table below summarizes the property settings. Detailed notes on some
of these properties follow the table.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
XV_PU Name of node for pullup scaling factor output None None
XV_PD Name of node for pulldown scaling factor output None None
RAMP_ Falling waveform ramp specification: 0=ramp only, 1=single None 2
FWF waveform in IBIS file, 2=double waveform in IBIS file
RAMP_ Rising waveform ramp specification: 0=ramp only, 1=single None 2
RWF waveform in IBIS file, 2=double waveform in IBIS file
FWF_ Falling waveform adjustment. None 0.1
TUNE
Used only when RAMP_FWF=0 or 1. Waveform assumes device
transitions from on to off in the fraction of the total transition time
given by FWF_TUNE.
RWF_ Rising waveform adjustment. None 0.1
TUNE
Used only when RAMP_RWF=0 or 1. Waveform assumes device
transitions from off to on in the fraction of the total transition time
given by RWF_TUNE.
C_COM_ Fraction of capacitance on power clamp vs. GC, PU, and PD, None 0
PC (value between 0 and 1). Capacitance fractions must sum to 1.0.
C_COM_ Fraction of capacitance on ground clamp vs. PC, PU, and PD None 1
GC (value between 0 and 1). Capacitance fractions must sum to 1.0.
C_COM_ Fraction of capacitance on pull-up vs. GC, PC, and PD (value None 0
PU between 0 and 1). Capacitance fractions must sum to 1.0.
C_COM_ Fraction of capacitance on pulldown vs. PC, GC, and PU (value None 1
PD between 0 and 1). Capacitance fractions must sum to 1.0.
PC_SCAL Scale factor for power clamp current drive strength applied to IBIS None 1.0
table values
GC_SCAL Scale factor for ground clamp current drive strength applied to None 1.0
IBIS table values
PU_SCAL Scale factor for pull-up current drive strength applied to IBIS table None 1.0
values
PU_SCAL Scale factor for pulldown current drive strength applied to IBIS None 1.0
table values
FWF_ Scale factor applied to falling ramp transition time None 1.0
SCAL
RWF_ Scale factor applied to rising ramp transition time None 1.0
SCAL
SPD_ Scale factor for pulldown current drive strength applied to IBIS None 1.0
SCAL table values
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
[1] If the values of RM_DLY_RWF and RM_DLY_FWF are not equal, Nexxim generates a
warning, since the unequal values alter the duty cycle of the output waveform relative to what is
specified by the IBIS file itself. The simulation will run.
[3] If the values of RM_DLY_RWF and RM_TAIL_RWF are such that fewer than three (3) data
points are left in the resulting waveform, Nexxim ignores the settings and issues a warning. With
fewer than three data points, ramp transitions may give better results.
[4] If the values of RM_DLY_FWF and RM_TAIL_FWF are such that fewer than three (3) data
points are left in the resulting waveform, Nexxim ignores the settings and issues a warning. With
fewer than three data points, ramp transitions may give better results.
[5] If the sum of RM_DLY_RWF and RM_TAIL_RWF is such that the entire rising waveform is
removed, Nexxim halts with an error.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
[6] If the sum of RM_DLY_FWF and RM_TAIL_FWF is such that the entire falling waveform is
removed, Nexxim halts with an error.
Automatic delay removal. Some IBIS models represent the throughput delay of the device by
providing model waveforms with long initial plateaus, after which the device is switched at a much
shorter period corresponding to the actual slew rate. However, the slew rate observed in Nexxim
can be too high in such cases because the initial delay is not recognized as such, and the device
appears to transition directly from steady-state low to steady-state high (and vice versa) when it is
switched at the shorter period. Using RM_DLY_RWF and RM_DLY_FWF to manually trim the
initial delay can be cumbersome when the model's waveforms have widely differing initial delays
according to corner case (typ, min, max, fast, slow). In addition, the overall timing of the simulation
is shifted by simply trimming the waveforms.
Setting either RM_DLY_RWF or RM_DLY_FWF to a negative value (<0) invokes automatic delay
removal for both rising and falling waveforms. The initial delay plateau is computed for each
waveform in a given device's IBIS model. The common delay is the minimum of the values
computed for all waveforms for the selected corner case (typ, min, max, fast, slow). The common
delay time is removed from the beginning of each waveform. Then, an ideal delay element is added
into the simulation flow to adjust for the time trimmed off the front of the waveforms.
The TYP Parameter sets the allowable range of values affecting multiple IBIS buffer parameters:
The table below lists the effects on IBIS buffer parameters when the TYP parameter is set to Fast
or Slow. In general, the Fast setting sets maxima and minima to provide the fastest transitions,
while the Slow setting seeks to provide the slowest transitions.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
TYP Setting
IBIS Buffer Parameter
Fast Slow
Pulldown Reference Min Max
R Series Min Max
L Series Min Max
Rl Series Min Max
C Series Min Max
Lc Series Min Max
Rc Series Min Max
The I/O Wizard provides an easy interface to set up drivers and receivers for a single schematic or
for a group of schematic components. The drivers and receivers the I/O Wizard uses are IBIS
components that have been previously imported. (If you have not already loaded the IBIS models,
you are given the option to do so by the I/O Wizard.). See Import IBIS Library File.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The I/O Wizard inspects the current schematic, indicating all unconnected pins, and allows you to
create components for the desired connectivity configuration. Connectivity options include:
After you set the initial configuration, the I/O Wizard can be rerun and any newly added or
unconnected pins will be indicated, allowing you to further modify the design.
Related Topics
Signal Setup
Source/Analysis Setup
The I/O Wizard dialog provides a summary of the current Wizard configuration and allows you to
perform various actions in order to set up individual pins. Click Schematic > I/O Wizard to open
the Wizard dialog.
Upon initialization, the I/O Wizard indicates all the unconnected pins that exist in the current
schematic. The above figure shows the Wizard dialog after each pin of a 12-pin SIwave component
has been configured.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Click OK to close the dialog and implement any changes that have been configured.
To configure signal pin assignments using the I/O Wizard Dialog, select the desired pins and click
Set as signal pins; this opens the Signal Setup dialog for the selected pins.
Fields in the Signal Setup dialog are editable. You can also select multiple rows and use the
Component Setup fields at bottom to make multiple changes to many pins simultaneously.
l The Component field lists components already imported, and represents either an IBIS
pin or an IBIS model, depending on the component selected.
l The ModelSelector field lists the available models for this component (i.e., the model_
sel property of the IBIS component).
l The Pullup to pin field lists non-signal pins (usually Power or Ground) that you wish to
connect to the Pull Up pin for the attached buffer. The default is a Power/Ground pin.
Alternately, you can choose to select any one-port circuit in the project for the connection.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l The Pulldownto pin field follows the same rules as Pullup to pin, with regards to the
Pull Down assignment for the attached buffer.
l For I/O Buffers, there is an Enable field that can either be 0V or 1V (depending on how
the buffer is configured to operate). The Enable field is only visible for I/O buffers.
l You can also load additional IBIS files by clicking Load models from file to open the
Import IBIS File dialog.
Click OK to close the dialog and implement any changes that have been configured.
To configure Power and Ground settings, click Set as power/ground pins in the I/O Wizard
Dialog; this opens the Power/Ground Setup dialog for the selected pins.
Fields in the main grid-display window are not editable, but instead show the status of what you
configure using the PowerSetup fields at the bottom of the dialog. You can select multiple rows
and use the Power Setup fields to make multiple changes to many pins simultaneously.
— Buffer Connection means the pin will be directly connected to the Pull Up or Pull
Down, according to what was specified in the Signal Setup dialog.
— Reference Pin does not specifically assign a Power source or Ground, but this
setting can be used for pin mapping.
— Power Model allows a one or two port component to be connected directly to the
pin. The browse button (…) allows you to load a model. If the component selected for
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
the Power Model has two pins, the Pin Mapping area is displayed. The top Pin
Mapping box chooses which of the Power Model’s terminals is directly connected to
the Power Pin selected in the pin grid. The bottom Pin Mapping box allows you to
assign the remaining Power Model terminal to a net.
l Clicking Properties allows you to customize the parameters for the selected Power
Model component.
l In order to connect a ground terminal, select Power Type: Power Model, then use the
browse button ( ... ) to load a RES_ component as the Power Model. This two port
component, when not configured with a resistance parameter, will act as a short. The pin
mapping for the RES_ Power Component allows you to then short the Power pin to
Ground.
Click OK toclose the dialog and implement any changes that have been configured.
To configure source assignments, click Setup Sources/Analysis in the I/O Wizard Dialog; this
opens the Setup Source/Analysis dialog for the pins designated as “Signal”.
This dialog allows the user to add sources to the project. Sources are connected to the appropriate
drivers that have been configured for each of the signal pins. A transient analysis can also be set
up, which streamlines the process. The fields in the dialog reflect customizations made to the
Sources/Probe pin which allows for toggling the existence of a probe for the IBIS buffer.
l By default, a PRBS source with jitter is assigned to each signal pin. Sources will be
attached to the logic pin on the IBIS buffer (if applicable), not the actual signal pin. The
Source selection box lists only the independent sources in the project. Grounds will be
automatically added to the other side of the source.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
You can click the browse button (…) to load another source and then click Properties to set the per-
instance properties for the source. Checking the Probe box will attach a probe directly to the
selected pin.
In the Analysis Setup area, you can set up a quick transient analysis by checking Create
Transient Analysis, which enables the Stop and Step boxes for controlling the analysis. After the
dialog is closed, the setup can be further refined from the project tree.
Click OK to close the dialog and implement any changes that have been configured.
1. View the Component Libraries. Open the Symbols panel. Click Import Models.
2. From the panel of icons, select the W-ELT icon. This opens the W element import dialog:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
4. Click the Add Files button to browse to a directory containing the data files for the W-element.
You can select multiple files. If Create Text Array Variable is checked, the Electronics Desktop
creates a text array index to store the multiple files. The model is then created as a parametric
model.
5. Click OK. An instance of the W-element is attached to the cursor, so you can drag it into the
schematic to place the W-element. When you are finished placing instances of the component,
right-click and select Finish or press ESC on the keyboard to stop placing instances.
If the model was created as a parametric model, simulation setups can sweep the entries in the text
array index ($ModelNames_Index in the example).
Related Topics
X-Parameter References
The X-parameter solver combines large-signal and small-signal models. In systems with nonlinear
components, large-signal AC magnitudes can affect the operating point; small-signal contributors
can be modeled accurately by linearizing the circuit around an operating point. The X-parameter
solver calculates the Large-Scale Operating Point (LSOP) based on the large-signal contributors.
The small-signal harmonic contributions are obtained by linearizing the system around the LSOP.
Let a be the vector of complex incident wave amplitudes to the device. Each element of the vector
is indexed by port (1 to P) and harmonic (1 to N).
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
(1)
(2)
In the situation represented by an X-parameter element, vector a is composed of one or a few large
signals and several small-signal harmonics:
(3)
where the vector aL contains the complex amplitudes of the large signals and zeros instead of the
small-signal amplitudes. Similarly, the vector aS contains the complex amplitudes of the small
signals and zeros instead of the large-signal amplitudes.
(4)
where J(aL) is a Jacobian matrix of the derivatives of f at a = aL with respect to the small-signals aS.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
(5)
where , and the superscripts r and i denote the real and imaginary parts of a, not exponents.
We can consider f to be a function of two real vectors:
(6)
(7)
We can use the following identities to rewrite (7) in terms of aS and its complex conjugate aS*:
(8)
(9)
(10)
(11)
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
We can further simplify equation (11) to show the parallels with equation (4). Let:
(12)
(13)
(14)
Then the complex equivalent of equation (4) is the formula for calculating the response from a set
of X-parameter data and incident waves:
(15)
In words, b0 is a function of the large-signal inputs, or more generally, of the LSOP, while S(aL) and
T(aL) are matrices that represent the linearization of the small signal harmonics around the LSOP.
The complex conjugate aS* is required to account for the phase differences between the harmonic
components and the large signals.
For each fundamental there is at least one large signal, and the LSOP includes just the absolute
value of this signal. The dependence on phase of the large signal is determined from the time-
invariance of the system. This dependence is captured by the use of three matrices, Pb0, PS, and
PT, the entries of which are all of the form ejqφ, with q an integer and φ the phase of aL, i.e.:
(16)
(17)
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
(18)
(19)
In addition to the large signals, the LSOP can depend on independent variables supplied in the X-
parameter file. The independent variables include biasing and load conditions (see Independent
Variables for X-Parameters). Then, b0, S, and T all depend on the independent variables that were
used when the X-parameter data file was generated:
(20)
(21)
(22)
(23)
DC Equations
Equation (15) relates the scattered wave amplitudes to the incident wave amplitudes, at the
fundamental frequency and at higher harmonics. However, nonlinear devices typically exhibit
some degree of rectification, which means that even when the input is a single tone, the output will
include a DC component.
There are two options for modeling the DC response. The X-parameter model approximates either
the DC voltage at a port given the current going into it, or the DC current at a port given the voltage
across it. In the first case, the port is designated as an IDC port, and this is appropriate when the
port is to be biased by an external current source. In the second case, the port is designated as a
VDC port, and this is appropriate when the port is to be biased by an external voltage source.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
For both cases, we follow a procedure similar to that leading to equation (15), except that the
functions to be approximated—either the DC currents, iDC, or the DC voltages, vDC—are real-
valued.
(24)
where vDC is a vector of the approximate DC voltages at all IDC ports. The vector v0(x) denotes
the DC voltages at the LSOP, and the harmonic impedance matrix Z(x) relates the small-signal
amplitudes at all harmonics to the DC voltages. The LSOP must include the DC currents at all the
IDC ports. For the VDC ports,
(25)
where iDC is a vector of the approximate DC currents at all VDC ports. The vector i0(x) denotes the
DC currents at the LSOP, and the harmonic admittance matrix Y(x) relates the small-signal
amplitudes at all harmonics to the DC currents. The LSOP must include the DC voltages at all the
VDC ports.
We have written (24) and (25) in the same form as (15), but they can be written more succinctly as:
(26)
and
(27)
which also make it clear that vDC and iDC are real.
X-Parameter References
[1] David E. Root, Jan Verspecht, David Sharrit, John Wood, and Alex Cognata, “Broad-Band
Poly-Harmonic Distortion (PHD) Behavioral Models From Fast Automated Simulations and Large-
Signal Vectorial Network Measurements”, IEEE Transactions on Microwave Theory and
Techniques, Vol 53, No. 11, November 2005, pp. 3656-3664.
[2] Jan Verspecht and David E. Root, “Polyharmonic Distortion Modeling”, IEEE Microwave
Magazine, Vol. 7, Issue 3, June 2006, pp. 44-57.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Related Topics
Once the state-space data have been generated and saved, you can import it just like any other
static model.
1. View the Component Libraries. Open the Symbols panel. Click Import Models. From
the panel of icons, select the SSS icon. This opens the Import Components dialog.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note Refer to the section “Reference Nodes on S-Parameter Elements” in the S-parameter
Technical Notes topic for details on how the Circuit solver handles reference node
configurations.
5. Click Open. An instance of the state space N-port component is attached to the cursor, so
you can drag and place it in the schematic. When you are finished placing instances of the
component, right-click and select Finish or press ESC on the keyboard to stop placing
instances.
To view the details of the model, right-click the state space component in the schematic and select
Edit Model. The N-port data dialog opens. The N-port data dialog allows you to view or in some
cases to change the name, number of ports, characterizing data, and other properties for the N-
port.
Related Topics
The N-Port DataSource tab is used to name the N-port device and to specify the source for the
data, typically an external file.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Name — Displays the name of the imported solution as it will appear in the project tree. .
l Description — Used to set or change the description of the imported solution. To change
the description, click in the box and then type the description you want.
l File Name — Used to display or change the file name of the imported solution. To change
the file name, browse (...) for a file.
l Mode — The network solution data will be read from an external Link to file at analysis
time.
l Network Data Explorer allows you to view solution data by opening the Network Data
Explorer.
Note The Network Data Explorer button is not activated for State-Space models.
When the N-Port Data Source options have been entered, click OK or select another tab.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l The Option field selects the units for the noise parameters:
l The Units field selects the units of frequency: Hz, KHz, MHz, GHz, THz, or rps.
l Use the Copy Frequencies from Network Data button to create a list of frequencies
that correspond to the frequencies in the N-port data file.
l Use the Add Frequency button to add a new frequency to the end of the list.
Enter the noise data for each frequency in the list, then click OK or select another tab.
The Options tab is used to select the behavior of the selected NPort.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Nexxim/HSPICE — Sets the NPort type. The selections for Interpolation, Extrapolation,
DC Behavior, Method, and Passivity Enforcement depend on the NPort type selected.
l Interpolation — Specifies the interpolation method for data points within the frequency
range of the Touchstone data.
l Extrapolation — Specifies the extrapolation method for data points outside the
frequency range of the Touchstone data.
l DC Behavior — Specifies behavior of the N-Port at DC (zero frequency).
l Method — Specifies the method used to convert frequency domain data to the time
domain. Choice of methods is available only for Nexxim Nports.
l Passivity Enforcement — Performs a passivity check on the S-parameter data and
attempts to correct non-passive data. Passive devices may dissipate or temporarily store
energy, but never generate energy. Use the pulldown menu to select the method for
enforcing passivity. Passivity enforcement is available only for Nexxim NPorts.
l Use reciprocal — Computes the inverse, or reciprocal, at each frequency so that the N-
port can be used for de-embedding. See Deembedding S-Matrices.
l Noise Model — Specifies noise model for DC and frequency-domain analyses:
External = Use noise data from Touchstone file if present, else use internal noise
model
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Additional Options —Allows you to add model-level options for Nexxim or HSPICE.
When the N-port Options have been entered, click OK or select another tab.
To edit the pins on the symbol for the N-Port component, right-click on the component and select
Edit Symbol Bus Pins.
The procedure is identical for all flavors of N-Port. See Editing All N-Port Symbol Bus Pins for
details.
Instead of referencing a single file, an state space model can reference an array of files, using a
project array variable. For more information, refer to Defining Array Variables.
1. View the Component Libraries panel, select the Symbols tab. Click Import Models.
2. Select the SSS_Multi icon. This opens the State Space file import dialog.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
3. Enter a number of ports (from 1 to 1000). The number of ports determines what files you can
choose.
4. Enter a Name for the model if desired.
5. Reference: This pulldown menu allows you to choose from the following reference node
options:
Note Refer to the section “Reference Nodes on S-Parameter Elements” in the S-parameter
Technical Notes topic for details on how the Circuit solver handles reference node
configurations.
6. Clicking the Add Files… button to browse and select multiple State Space (.sss) files to be
added to the list box.
7. Click OK. An instance of the state-space component is attached to the cursor, so you can
drag and place it in the schematic. When you are finished placing instances of the
component, right-click and select Finish or press ESC on the keyboard to stop placing
instances.
8. The simulation can sweep the entries in the created Text Array Variable. In this case, $SSS_
Files_Index would be the variable to sweep.
To view or change the configuration of the N-Port model, right-click on the component and select
Edit Model from the menu. The N-port data dialog opens on its N-Port Data Source tab.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The File name field will be populated with the new text array variable expression.
See Editing a State Space Model for details on the Noise Data and Options tabs.
l Touchstone/EESof Data — This format uses the .sNp, .yNp, .zNp, .tou, or .ts filename
extension. Only one data set may be present in each Touchstonedata file.
l Circuit (Compact FLP) — This format uses the .flp filename extension, and may contain
several data groups, each of which is preceded by a header. The data group header
identifies the group by means of a label, which is used as a reference name.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l CITIfile — This format uses the .cit filename extension, and contains S-parameter data in a
proprietary format.
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
1. View the Component Libraries panel, select the Symbols tab. Click Import Models.
2. Select the NPort icon. The Import Components dialog opens:
3. Browse to the directory containing the N-port data file, and select the file.
4. The component name appears in the box at the lower right.
5. You can select the type for the reference node:
Note Refer to the section “Reference Nodes on S-Parameter Elements” in the S-parameter
Technical Notes topic for details on how the Circuit solver handles reference node
configurations.
6. Click Open. An instance of the N-port component is attached to the cursor, so you can drag
and place it in the schematic. When you are finished placing instances of the component,
right-click and select Finish or press ESC on the keyboard to stop placing instances.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
To view the details of the model, right-click the NPort component in the schematic and select Edit
Model. The N-port data dialog opens. The N-port data dialog allows you to view or in some cases
to change the name, number of ports, characterizing data, and other properties for the N-port.
Related Topics
The N-Port DataSource tab is used to name the N-port device and to specify the source for the
data, typically an external file.
l Name — Displays the name of the imported solution as it will appear in the project tree. .
l Description — Used to set or change the description of the imported solution. To change
the description, click in the box and then type the description you want.
l File Name — Used to display or change the file name of the imported solution. To change
the file name, browse (...) for a file.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Mode — The network solution data will be read from an external Link to file at analysis
time.
l Network Data Explorer allows you to view solution data by opening the Network Data
Explorer.
Note The Network Data Explorer button is not activated for State-Space models.
When the N-Port Data Source options have been entered, click OK or select another tab.
l The Option field selects the units for the noise parameters:
l The Units field selects the units of frequency: Hz, KHz, MHz, GHz, THz, or rps.
l Use the Copy Frequencies from Network Data button to create a list of frequencies
that correspond to the frequencies in the N-port data file.
l Use the Add Frequency button to add a new frequency to the end of the list.
Enter the noise data for each frequency in the list, then click OK or select another tab.
The Options tab is used to select the behavior of the selected NPort.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Nexxim/HSPICE — Sets the NPort type. The selections for Interpolation, Extrapolation,
DC Behavior, Method, and Passivity Enforcement depend on the NPort type selected.
l Interpolation — Specifies the interpolation method for data points within the frequency
range of the Touchstone data.
l Extrapolation — Specifies the extrapolation method for data points outside the
frequency range of the Touchstone data.
l DC Behavior — Specifies behavior of the N-Port at DC (zero frequency).
l Method — Specifies the method used to convert frequency domain data to the time
domain. Choice of methods is available only for Nexxim Nports.
l Passivity Enforcement — Performs a passivity check on the S-parameter data and
attempts to correct non-passive data. Passive devices may dissipate or temporarily store
energy, but never generate energy. Use the pulldown menu to select the method for
enforcing passivity. Passivity enforcement is available only for Nexxim NPorts.
l Use reciprocal — Computes the inverse, or reciprocal, at each frequency so that the N-
port can be used for de-embedding. See Deembedding S-Matrices.
l Noise Model — Specifies noise model for DC and frequency-domain analyses:
External = Use noise data from Touchstone file if present, else use internal noise
model
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Additional Options —Allows you to add model-level options for Nexxim or HSPICE.
When the N-port Options have been entered, click OK or select another tab.
To edit the pins on the symbol for the N-Port component, right-click on the component and select
Edit Symbol Bus Pins.
The procedure is identical for all flavors of N-Port. See Editing All N-Port Symbol Bus Pins for
details.
Instead of referencing a single file, an N-port model can reference an array of solution files, using a
project array variable. For instance, the following can be used to specify the File name:
l +$ModelNames[1]
l +$ModelNames[$ModelNames_Index]
$ModelNames is a project level array variable and $ModelNames_Index is a project level array
index variable.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
1. View the Component Libraries panel, select the Symbols tab. Click Import Models.
2. Select the NPort_Multi icon. This opens the S-element file import dialog.
3. Enter a number of pins or ports (from 1 to 1000). Files containing components with exactly
the specified number of pins (and only those files) will be displayed for selection in the Add
Files dialog.
4. Enter a Name for the model if desired.
5. Reference: This pulldown menu allows you to choose from the following reference node
options:
Note Refer to the section “Reference Nodes on S-Parameter Elements” in the S-parameter
Technical Notes topic for details on how the Circuit solver handles reference node
configurations.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
6. Clicking the Add Files… button to browse and select multiple Touchstone (*.SnP) files to be
added to the list box.
7. Click OK. An instance of the N-port component is attached to the cursor, so you can drag
and place it in the schematic. When you are finished placing instances of the component,
right-click and select Finish or press ESC on the keyboard to stop placing instances.
8. The simulation can sweep the entries in the created Text Array Variable. In this case,
$SElement_Files_Index would be the variable to sweep.
To view or change the configuration of the N-Port model, right-click on the component and select
Edit Model from the menu. The N-port data dialog opens on its N-Port Data Source tab.
The File name field will be populated with the new text array variable expression.
See Editing an N-Port Model for details on the Noise Data and Options tabs.
1. View the Component Libraries panel, select the Symbols tab. Click Import Models.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
2. Select the NPort_NoFile icon. The Nportdata dialog opens. The Mode is set to Enter data
in spreadsheet.
The Network Data tab is used to view the data from an imported file, or to enter the N-port data
manually.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The Noise Data and Options tabs are the same as for the file-based N-port. See Editing an N-
Port Model.
Click OK. An instance of the N-Port is attached to the cursor so you can drag and drop it in the
schematic.
A parametric N-port contains multiple values of key variables suitable for sweeping. To create a
parametric N-port model:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
1. View the Component Libraries panel, select the Symbols tab. Click Import Models.
2. Select the NMF icon. The Import Components dialog opens:
3. Browse to and select the file and click Open. An instance of the component is attached to the
cursor so you can drag and drop it into the schematic. When you are finished placing
instances of the component, right-click and select Finish or press ESC on the keyboard to
stop placing instances.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
4. Right-click on the component and select Edit Model from the menu. The Parametric N-port
Model dialog opens.
5. Click OK.
The Parametric N-port Model dialog allows you to specify the basic characteristics of each
Parametric N-port black box you wish to place in a schematic or layout. To open the dialog, right-
click the component and select Edit Model from the menu. The following tabs are available.
Related Topics
The N-Port DataSource tab is used to name the N-port device and to specify the source for the
data, typically an external file.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Name — Displays the name of the imported solution as it will appear in the project tree.
l Description — Used to set or change the description of the imported solution. To change
the description, click in the box and then type the description you want.
l File Name — Displays the file name of the imported solution. To set the file name, click in
the box and then type the file name you want, or browse (...) for a file.
l Mode — The network solution data has been copied into the project from an external file
as a Parametric Snapshot.
l Network Data Explorer —Allows you to view and manipulate network data by opening
theNetwork Data Explorer.
When the N-Port Data Source options have been entered, click OK or select another tab.
Use the Link Description tab to enter data and link information.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Design name specifies the top-level design in the filed solver project.
l Solution specifies the solution to be used for the Parametric component.
l Click Select existing solution to enable the selection field. Select an HFSS solution
from the pulldown.
l Transmission line model specifies that the model specified in the pull-down menu at
right will be used for transmission lines (HFSS import only)
l Click Advanced to specify a custom setup using the Advanced Options button. When
Advanced setup has been selected, the Advanced Options button becomes active.
Click on the Advanced Options button to open the Advanced Dynamic Link Options
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
dialog:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Click OK to close the Advanced Dynamic Link Options dialog. When the Link Description has
been completed, click OK or select another tab.
The Options tab is used to select the behavior of the selected NPort.
When the N-port behavior Options have been entered, click OK or select another tab.
The Simulation tab is used to select the simulation options of the NPort.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Click the down arrow in the Interpolation algorithm field to select an interpolation
algorithm option:
Linear — When a full grid of solutions is available, the cube of solutions which surrounds
the solution to be interpolated is located. The corners of this cube are linearly averaged
to determine the interpolated solution. If a full grid is not available, an error is reported
and the interpolation fails.
l Interpolate Y matrix uses the Y matrix as the basis for interpolation. When Interpolate
Y matrix is not selected, the S matrix is used as the basis. Interpolate Y matrix is
selected by default. Circuit particulars determine which basis (S or Y) will yield better
results, and it is not possible to decide beforehand which one will work best.
l Only use independent variables during interpolation suppresses the calculation of
dependent variable values during interpolation.
After choosing interpolation settings, click OK to close the Interpolation Options dialog. When
the N-port Simulation options have been entered, click OK or select another tab.
Note The main difference between Linear interpolation and Inverse Least Squares with
Shadowing (ILSS) is as follows:
l Linear works only with a full grid of solutions — ILSS works with arbitrary data.
l Linear considers only nearest data — ILSS considers data that could possibly be
distant, although shadowing mitigates this effect.
l Linear is not first-order continuous — ILSS is first-order continuous.
To edit the pins on the symbol for the N-Port component, right-click on the component and select
Edit Symbol Bus Pins.
The procedure is identical for all the flavors of N-ports. See Editing All N-Port Symbol Bus Pins for
details.
The ANSYS Calibration Wizard is used to characterize the effect of a probe or fixture, and
removes the effect from a device under test, by reading and writing Touchstone files. There are
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Related Topics
Two-Line Method
Thru-Reflect-Line Method
Short-Open-Load-Thru Method
Two-Line Method
To implement the Two-Line Method, select Tools > Calibration Wizard to open the wizard
dialog. Then select “Two-line method” from the Type pulldown menu. The “two line” calibration
method removes the effect of the probe fixtures from a device under test and assumes that the
effect of fixture 1 is identical to fixture 2.
1. Two Touchstone files (*.s2p), each of a thru-line of a given length plus the probe fixtures.
The lines must be of different lengths.
2. The imported Zo uses Touchstone file (*.s2p) of an ideal line with no fixture effects. This
Touchstone file may come from measurement or simulation. If no file is specified, the wizard
will approximate the Zo.
3. A Touchstone file (*.s2p) of the desired device under test with fixture effects.
To implement the Thru-Reflect-Line method (TRL), select Tools > Calibration Wizard to open
the wizard dialog. Then select "Thru-Reflect-Line" from the Type pulldown menu. The “Thru-
Reflect-Line” calibration method removes the effect of the probe fixtures from a device under test.
Probe 1 and probe 2 are not assumed to identical.
1. Two Touchstone files (*.s2p), each of a thru-line of a given length plus the probe fixtures.
The lines must be of different lengths.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
2. For each port the user can specify either a single-ended (*.s1p) or a combined measurement
(*.s2p) file. When a *.s2p file is specified, Port 1 will use the S11 values and Port2 will use
the S22 values:
l For a short or matched measurement, the surplus inductance needs to be specified.
l For an open circuit reflection, the excess capacitance needs to be specified.
l If no value is given, an ideal reflect is assumed.
3. The imported Zo uses Touchstone file (*.s2p) of an ideal line with no fixture effects. This
Touchstone file may come from measurement or simulation. If no file is specified, the wizard
will approximate the Zo.
4. A Touchstone file (*.s2p) of the desired device under test with fixture effects.
To implement the Short-Open-Load-Thru method (SOLT), select Tools > Calibration Wizard to
open the wizard dialog. Then select "Short-Open-Load-Thru" from the Type pulldown menu. The
"Short-Open-Load-Thru" calibration method removes the effect of the probe discontinuities from a
device under test and does not assume the port 1 and port 2 are equal.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
If you select Use path, type the name of the file in the File Name box, or use the Look in field to
navigate to the file and record its name. Note that components or libraries imported with Use Path
may not be portable when the project is moved to another machine.
When the In project folder button is selected, references to the file in the design are relative to the
directory where the project resides. In this case, the path is saved in the project .aedt file as a
variable such as:
.lib '$PROJECTDIR/x_113854.lib'
The variable $PROJECTDIR will be expanded to the current location of the project when the
design is converted to a netlist and run by an analysis tool. Otherwise, an absolute path is saved. If
you move a project and its library files together to a new directory, you can preserve the file
references by selecting the Project Folder option.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The N-port data dialog reads the file you specify for port information and updates the Bus Pin
Editor tab display with port names.
You can control the display of the pin information (name, index, hidden) with the check boxes.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
You can use the following controls to position pins on the symbol:
l Reference: This pulldown menu allows you to choose from the following reference node
options:
Note Refer to the section “Reference Nodes on S-Parameter Elements” in the S-parameter
Technical Notes topic for details on how the Circuit solver handles reference node
configurations.
l Configuration: The pin direction option may be set to one of the following:
— All Left
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
— All Right
— I/I+N
— Odd-Even
— Manual Edit
If you choose Manual Edit, use the windows at lower left to Drag and drop text to
manually edit the symbol.
Click OK.
1. Load or generate a model containing a component with pins that are to be connected to a
CPM component.
For fastest pin-matching, ensure that the model component’s pins possess names that
correspond to the pins specified by the CPM component. If the pin names do not match, the
Automated CPM Chip Connection will attempt to match pins geometrically. When these
models are created, they behave like SPICE models and have regular symbols in the
schematic, but the corresponding footprints in the layout show the positions of the pins
specified in the CPP (Chip Package Placement) header.
2. To place a CPM component, open the Component Libraries window, choose the
Symbols panel, and click the Import Models button.
3. From the panel of icons, select the CPM icon. This opens the Import Components dialog.
After that, follow the procedure for importing Spice components (see SPICE Library
Support).
Related Topics
This feature helps to connect CPM components to existing layout footprints and is integrated with
the “Pin Connectivity” dialog. To automatically connect CPM components:
1. Load or generate a layout with pins that are intended to be connected to a CPM component.
For fastest pin matching ensure that the layout component’s pins have names corresponding
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
to the pins specified by the CPM. If the pin names do not match, the feature will attempt to
match pins geometrically.
2. Load the desired CPM into the layout and place it near the footprint to which the CPM should
be connected. The layout footprint should highlight in red if the CPM component is placed
close enough.
3. The “Pin Connectivity” dialog may invoke automatically, but if it does not, then Ctrl+select the
two components, right click, and select “Connect Pins” to load the dialog. Because the CPM
contains chip package protocol (CPP) data, the “Connect by CPP” button will be enabled, as
shown below.
4. Click the “Connect by CPP” button to load the “Pin Group Port Connections” dialog. If
unable to identify a sufficient number of pin correlations, the dialog will fail to load.
Dialog elements on the left are informational and cannot be edited. Data in the
“Transformation” box shows the transformation that will be applied to the CPM component in
order to collocate the CPM pins on top of the corresponding layout pins. The right grid shows
which CPM pins will be matched with the layout component’s pins, and includes group and
net names corresponding to each. All of the controls for modifying port connections are
contained on the left of the dialog. In most cases the auto generated connections should
meet user needs and the additional controls are unnecessary. At the end of this section there
are details on how to use the controls to modify auto generated connections.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
5. Assuming the desired connections are specified by the dialog, click OK to generate the pin
groups and ports and apply the transformation to the CPM component. The user will be
returned to the “Pin Connections” dialog with the newly generated ports shown connecting
to their corresponding CPM ports.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
6. Click OK to generate the connections (results shown below). Note that pin groups and ports
have been generated in the model and connected to corresponding CPM ports, and that the
CPM component has been geometrically transformed such that it lies directly over the layout
footprint.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
In most cases the auto generated connections should be adequate, but when they are not, the
dialog has several controls to facilitate manually specifying port connections. Additionally, group
and port names can be modified by changing names in either of the first two columns in the grids on
the left. There are two modes for auto generating port connections (“Local Reference” and
“Common Reference”). In the “Local Reference” mode all ports in the selected net are set as
internal ports and all other ports are connected to the closest internal port. In the “Common
Reference” mode the port associated with the selected group is set as the only internal port and all
other ports are made external and connected to this internal port. By default the “Local Reference”
mode is used, but if it fails to connect ports, it falls back to “Common Reference”.
The upper left grid shows the details of the external ports that will be generated, while the lower left
grid shows details of the internal ports. Ports can be changed to internal or external by selecting the
appropriate row(s) of one of the left grids and clicking “Make Internal” or “Make External”. The port
to which an external port is connected can be changed by clicking on a cell in the “Ref. Group”
column and selecting a different internal port from the list. The “Ref. Group” column in the internal
ports grid also has a dropdown list but it only contains the group names corresponding to external
ports, which are already connected to the internal port. Changing the selection in an internal port’s
“Ref. Group” list doesn’t actually change any connections; the list is purely for reference purposes.
The user can also connect several external ports to a single internal port by selecting several rows
in the “External Ports” grid and a single row in the “Internal Ports” grid and then click the “Connect”
button.
The Nexxim implementation includes a built-in Verilog compiler. Compiled mode simulation is
supported. Each VerilogA cell is compiled into a C++ file and linked into a DLL. This DLL is loaded
during simulation. The precompiled cells are used for each subsequent simulation until a
recompilation occurs. A cell is recompiled when a it is modified or when different parameter values
are passed to it. You can force a recompile with the option ahdl.compiled_mode.use_
precompiled_cells=0.
Note The current release of the Electronics Desktop supports only the compiled mode of
simulation for Verilog models. Interpretive mode simulation is not currently supported.
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
a. VerilogA instantiations
b. Spectre device instantiations
15. User-defined functions
16. Analog operators
a. Time derivative (‘ddt’)
b. Derivative operator (‘ddx’)
c. ‘transition’ operator
d. ‘last_crossing’ function
e. Laplace filters (laplace_zp, laplace_nd)
f. Limited exponentiation (‘limexp’)
g. Absolute delay operator (‘absdelay’)
h. Slew filter (‘slew’)
17. Analog events
a. Global events
l ‘initial_step’, ‘final_step’
l ‘timer’, ‘cross’
18. Noise analysis
a. white noise
b. flicker noise
19. Analysis-dependent functionality using ‘analysis’ function
a. AC stimulus (‘ac_stim’)
20. Compiler directives
a. 'include directive
b. 'define directive to define constants
21. System functions
a. $temperature
b. $vt
c. $abstime
d. $realtime
e. Table based interpolation and lookup function—$table_model (interpolation data either
in data file or in VerilogA file).
22. System tasks
a. Simulation control ($finish, $stop)
b. Analog kernel control ($bound, $step, $discontinuity)
c. Display tasks ($display, $write, $strobe, $monitor, $debug)
d. $table_model
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
$abstime asinh if
$bound_step atan inf
$debug atan2 initial_step
$discontinuity atanh inout
$display begin input
$finish branch integer
$function case laplace_nd
$monitor ceil laplace_zp
$realtime cos last_crossing
$stop cosh limexp
$strobe cross ln
$table_model ddt log
$temperature ddx max
$vt default min
$write else module
‘define end or
‘else endcase output
‘elseif endfunction parameter
‘endif endmodule pow
‘ifdef exclude real
‘ifndef exp sin
‘include final_step sinh
‘undef flicker_noise slew
abs floor sqrt
absdelay tan
ac_stim from tanh
acos function timer
acosh genvar transition
analog hypot white_noise
analysis generate
asin ground
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Spectre Compatibility
HSPICE Compatibility
The option hdlpath for specifying the location of the hdl files is supported.
The environment variable HSP_HDL_PATH for specifying the location of the hdl files is supported.
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
In a netlist design, right-click the icon for the netlist design and select Export Solution from the
pulldown. The Solutions dialog box opens.
3. From a schematic, make sure the desired setup name and simulation name are shown in the
listings in the Simulation fields. (With a netlist design, these fields are read-only.)
4. Select the type of data to be saved (S, Y, Z, Zo, or Gamma). The choices depend on the
results that are available.
5. Select the frequencies for which data are to be saved:
l To save the data for all frequencies, check Display All Freqs.
l To save the data for selected frequencies, leave Display All Freqs unchecked and select
the frequencies from the pulldown.
6. Optionally, select Check Passivity. EM Design will report any passivity violations in the
matrix data. Optionally, set the Passivity Tolerance (default 0.0001 or .01%). Refer to the
S-Parameter Technical Notes for details.
7. Select the results and frequencies to be exported, then click Export. The Export Network
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Select a directory for the export in the Save in: field. Select a file name for the exported data in
the File name: field. Select a file type from the Save as type: list, and then click Save.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
9. Click Close on the Solutions dialog box, or leave the dialog open to make multiple exports,
as described next.
If you want to export several solutions representing variations on the design, leave the Solutions
dialog open. Make the desired changes to the circuit. The box at the upper right of the Solutions
dialog displays a red X to show that the solution is invalid:
Now, rerun the analysis. The red X disappears to show that a valid solution is available for export.
Save the new result as described earlier.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
7. Click Export Data Matrix. The Export NetworkData Solution dialog box opens:
Select a directory for the export in the Save in: field. Select a file name for the exported data in
the File name: field. Select the desired data format from the Save as type: list, and then click
Save.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
smaller.
l When the impedance information is complete, click OK.
9. Click Close to close the Solutions dialog.
Choosing Export State Space Data opens a Save File As dialog. When you provide a filename
and location, the .sss file is generated and updated with the port names in the model.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Options Tab
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The N-Port Data Source tab is displayed when the N-port data dialog opens.
Model Name — Used to set or change the name of the imported solution as it will appear in the
project tree. To change the name, click in the box and then type the name you want.
Description — Used to set or change the description of the imported solution. To change the
description, click in the box and then type the description you want.
File Name — Used to set or change the file name of the imported solution. To set the file name,
click in the box and then type the file name you want, or click the browse button to search for a file.
Multi-file selection — Used to import an S-element file. For more information, see below.
Mode — The network solution data can be entered manually, copied into the project from an
external file as Import data, or read from an external Link to file at analysis time. To manually
enter solution data, click Enter data in spreadsheet, and enter the network data as described in
the Noise Data Tab section.
To import an S-element file and copy it into the project from an external file:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l In the filename box, type the file name, including the full pathname, of the file that contains
the network parameters you want to use.
l Click the browse (...) button to open the Select File dialog box.
a. Select the appropriate file type from the Files of type list:
b. Use the Look in field to browse to the directory containing the desired file.
c. Select the file in one of the following ways:
l Click the file’s entry in the list.
l Type the file’s name in the File Name box.
d. Click Open.
Once you have finished, the N-port data is copied into the project from an external file.
Note If you choose multiple files using the Multi-file selection… and create a Text Array variable,
then the S-parameter data will NOT be imported. It will be the same as if you had chosen
the Link to file option.
To import solution data and copy it into the project from an external file:
— Touchstone (.sNp)
— Touchstone (.yNp)
— Touchstone (.zNp)
— Touchstone (.tou)
— CITIfile (.cit)
b. Use the Look in field to browse to the directory containing the desired file.
c. Select the file in one of the following ways:
l Click the file’s entry in the list.
l Type the file’s name in the File Name box.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
d. Click Open.
Once you have specified a file, you can view its contents in the Noise Data Tab.
where:
such as:
SparamFile_4.sss
To specify an external file from which network parameter data will be read at analysis
time:
Once you have specified a file, you can view its contents in the Noise Data Tab.
The Noise Data tab can be used to enter solution data manually or used to view solution data from
an imported file.
l To view the contents of an imported solution, double-click on the solution in the project
tree and select the Noise Data tab from the N-port data dialog.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l To manually enter solution data for postprocessing, select Enter data in spreadsheet
on the N-Port Data tab, and then select the Noise Data tab from the N-port data dialog.
Units — In the Frequency domain, sets the units of frequency: Hz, KHz, MHz, GHz, THz, or rps.In
the Time domain, selects the units of time: fs, ps, ns, us, ms, or s.
Phase Rotation — Click to set the Phase Rotation of the N-Port Noise Data source.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
When the Network Data options have been entered, click OK or select another tab.
Note l The Electronics Desktop Planar EM tool can interpret only frequency-domain data.
l If the solution data file contains complex propagation constants or characteristic
impedance values, you can select Gamma or Zo to view the data — but to run a
simulation in the Electronics Desktop, the information is not required.
The Options tab is used to select the behavior of the selected NPort.
l Nexxim/HSPICE — Sets the NPort type. The selections for Interpolation, Extrapolation,
DC Behavior, Method, and Passivity Enforcement depend on the NPort type selected.
l Interpolation — Specifies the interpolation method for data points within the frequency
range of the Touchstone data.
l Extrapolation — Specifies the extrapolation method for data points outside the
frequency range of the Touchstone data.
l DC Behavior — Specifies behavior of the N-Port at DC (zero frequency).
l Method — Specifies the method used to convert frequency domain data to the time
domain. Choice of methods is available only for Nexxim Nports.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
When the N-port Options have been entered, click OK or select another tab.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Enter the name of the tabular data file in the File Name window, or click the browse button to look
for the file. When you have entered all necessary information described below into the Data Table
Import dialog, click OK to import the data.
When Auto Read Data is selected, the Electronics Desktop attempts to read the data in
automatically, based on the following assumptions regarding the format of the tabular data:
l Rows that begin with a hash (#), star (*), exclamation point (!), or any non-number are
ignored.
l Each comma, space, and tab is treated as a column separator.
l Numbers followed by an “i” or “I” are treated as complex values.
l The first column is always regarded as X data.
l All columns but the first are always regarded as Y data.
l Empty columns are zero filled.
When Auto Read Data is not selected, the Rows to Read and Data Format subsections offer
the following options:
Rows to Read
l Ignore first specifies the number of rows of data at the head of the file to ignore
l Until End of File specifies that all rows of data are to be read
l Number of Rows specifies the number of rows to be read
Data Format
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Sweep Columns
This option allows you to specify the number of leftmost columns in the imported file that are to be
treated as sweep data rather than quantity data. When Sweep Columns is non-zero, an implicit
sweep is created automatically as the file is read. For example, with Sweep Columns set to 2, the
following imported data could be used to create the 3D Rectangular Plot shown below:
1 1 -11.9494901844939
1 2 -1.02976604277775
1 3 -65.0043850531982
1 4 -66.1547663779434
1 5 -76.5001257180356
1 6 -77.0620478855849
1 7 -78.7052860174241
1 8 -71.4292118632088
1 9 -59.271550467952
1 10 -73.4397348975777
2 1 -1.02976604277775
2 2 -13.7362474109939
2 3 -64.4351612784164
2 4 -63.9486697204035
2 5 -75.69071743575
2 6 -74.7859772914394
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
In addition, in the imported file, the line immediately preceding the start of numerical data is
checked for column names. If this line contains the appropriate number of entries, these entries are
then used as column-data annotations in the generated plot, as shown in the example below.
Xdata Ydata Zdata
1 1 -11.9494901844939
1 2 -1.02976604277775
1 3 -65.0043850531982
1 4 -66.1547663779434
1 5 -76.5001257180356
1 6 -77.0620478855849
1 7 -78.7052860174241
1 8 -71.4292118632088
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
1 9 -59.271550467952
1 10 -73.4397348975777
2 1 -1.02976604277775
2 2 -13.7362474109939
2 3 -64.4351612784164
Each column name (Xdata, Ydata, Zdata) is appended with the string “import” before being added
to the plot.
1. Expand Analysis in the Project tree. Verify the presence of the imported solution.
2. Click on Results in the Project tree and select Create Report. Select the report type and
display type from the Create Report dialog, and then click OK.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
On the Traces dialog, select the imported solution from the Solutions pulldown. Complete the
data in the Traces dialog, and then click Done. The Report window opens to display the imported
solution.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The typical Electronics Desktop user will require these library tools only rarely. The Desktop
automates the creation of many kinds of components. This topic covers only the operations needed
to create and maintain components like the built-in Nexxim and Planar EM components.
l For information on creating component models, see Circuit and Layout Import and Export
Operations.
l For information on creating components to be simulated via dynamic links and Solver on
Demand, see Co-simulation.
l For information on creating and modifying substrates for use by the layout field solvers, see
the Nexxim Component Models topics for each kind of distributed element (coplanar
waveguide, grounded coplanar waveguide, microstrip, offset stripline, rectangular
waveguide, slotline, stripline, and suspended stripline).
Related Topics
Encrypted Libraries
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The definition of a built-in component contains parameter data to pass to the solvers. The
component definition also references separately-stored data for the schematic symbol, fabrication
material, layout footprint, and layer stackup definitions. These component dependencies are stored
as objects in their own definition libraries.
Related Topics
In addition to the system libraries, Electronics Desktop recognizes two user-configurable library
structures, called the User Library and the Personal Library. These are used to add foundry
support, user defined models, and any custom or proprietary sets of components or simulation
models. Customarily, userlib is a network repository for proprietary or corporate definitions
available to all seats in an enterprise. personalLib contains project and circuit-specific libraries as
needed by individual designs.
A root library directory is set up at installation. If none is specified, the default is the root Electronics
Desktop directory.
To return the library directory specification to its default value, click Reset Library Directory.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
1. On the Tools menu, point to Options, and then click General Options.
2. In the Directories group in the Project Options tab, type the new folder location in the
Project Directory box, or use the browse button to specify it.
3. Click OK.
Once a definition is used, it is transferred to the current project, and remains in the project unless it
is explicitly removed. To see the definitions included in a project, expand its Definition folders and
subfolders in the project tree:
Modifying component and dependency definitions in libraries, or installing libraries with modified
component and dependency definitions, does not automatically update those definitions in projects
that contain them. To update project definitions from library definitions, see Updating Project
Definitions from Library Definitions.
The Update Definitions dialog box opens, listing any library definitions that have been edited
since they were added to the project, and their original library locations. Use the dialog box to select
the item to update, and click Update to finish.
If you wish to remove project definitions that are unused, you can choose the Project
Tools>Remove Unused Definitions command on the Tools menu which will open the Unused
Definitions dialog.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l To export a definition archive, first choose an archive name, either by typing the full filename
in to the Archive name edit field, or by using the browse button [...] next to it. The archive
name must have a .definition.zip extension, which is supplied by the dialog box.
l The definitions selected for export are listed in the Definitions to Export listbox. Use the
and buttons to delete selected entries, or all entries, respectively.
l The Type drop-down list on the left below the list of Definitions to Export controls which
libraries are shown in the tree below it. Choices include: Component, Symbol, Model,
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Package, Material, and Script. In the tree, each leaf element (definition) has an associated
check box. Checking the box adds the definition to the export list above. Clearing the box
removes the definition from the export list. With a library or library element node highlighted,
a user can select all definitions in that library for export by clicking Library All. Similarly, the
user can unselect all definitions in the selected library by clicking Library None. Expand All
and Collapse All expand or collapse the entire tree.
l Typing a string into the text box next to the Find button allows the user to scroll to the first
definition whose name matches the string. Searches are not case-sensitive. You can also
use the “wildcard” asterisk character in search strings. For example: entering P* should find,
in succession, every component that starts with P (or p). Use multiple asterisks to further
control matches, for example, *p* to find any definition with a 'p' in it, including as a first or
last character; or *p*p* to find "pipe" and "pump", and so on
l The Remove unused definitions after export check box allows the user to clean up the
current project after export is complete.
l When the Show contents after export check box is checked, a Contents dialog shows a
list of what was saved to the archive. This list may include multiple libraries (due to definition
references) or external file references. You can save the list to a file by clicking Save, orclick
Done when you are finished viewing.
l Click OK to complete the process. The selected definitions, libraries, and referenced files
are zipped, and given a double extension, .definition.zip. Users can then e-mail or
otherwise transfer the zip file to others. The zip file is not encrypted, though models and
packages contained in it may be.
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l First select a definition archive either by typing the path and definition archive file name in the
Archive text field, or by clicking the [...] button to browse for the file.
l In the Imported Library Settings section, users can choose the basic location for the
imported archive with the PersonalLib or UserLib radio buttons. If desired, the user can
further choose a subdirectory Path under PersonalLib or UserLib as a location for the
libraries. The user can also enter a Name for the imported libraries. The default name is the
base name of the archive file.
l On import, data files will be moved to appropriate bin and data directories. External
Referenced Files that are not appropriate to bin and data library directories will be
referenced using $PROJECTDIR. The user can click the [...] button to choose the directory
for these files. The default is the Project Directory specified in Tools>Options>General
Options.
l The Overwrite existing definitions and files check box (unchecked by default) allows the
user to replace current definitions and files with archive elements, permissions allowing.
l Click Show contents to view a dialog showing a list of what is in the archive. This list may
include multiple libraries (due to definition references) or external file references. You can
save the list to a file by clicking Save, orclick Done when you are finished viewing.
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Components and other definitions in libraries directly affected by an action which refer to definitions
changing library name or location will have those references adjusted. Definitions in libraries
indirectly affected– that is, those not having their names or locations modified by an action–with
references to definitions in directly affected libraries are updated.
1. Click Tools >Library Tools >Manage Files. The Manage Library Files dialog opens on
the Components tab. There is a tab for each library type: Symbols, Components, Materials,
Scripts, Footprints, Padstacks, and Models.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Click the Include libraries of other types with same name in current directory check box to
cause the action to be performed on other types with the same name in the same directory. For
example, if you select “mydefs” on the Components tab, the action is extended to a symbol library
in the same directory called “mydefs.aslb.”
If Electronics Desktop cannot locate the required definitions in the project, it searches in personal
(PersonalLib), user (userlib), and system (syslib) library files, in that order. Once a definition of
the correct name has been located, the search ends, and that definition is used to satisfy the
placement request.
To save time in editing or creating new components, you should identify and modify or create its
dependent elements in the following sequence as you define your component. All of the
dependencies listed may not be necessary for every component you create or modify.
Materials
Layers
The substrate technology defines the name and parameters of the layout stackup to use for all
distributed elements in the design. You create or define a substrate type by clicking Circuit>Add
Reference Data>Add Substrate Definition. You can view and modify the current layout
stackup by clicking Schematic>LayourStackup.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Padstacks
A padstack defines the physical structure and electrical connectivity of a pad, the region where a
component pin connects to a copper trace. A padstack must be associated with each pin of a
component. Padstack definitions are stored in library files with an extension of .pslb. See Using the
Padstack Editor for how to create and modify padstacks.
Footprints
A footprint defines the planar space consumption, physical orientation, metal usage, and electrical
connectivity of a component in a layout. Footprint definitions are stored in library files with the
extension .aflb. See Using the Footprint Editor for how to create and modify footprints.
Symbols
Bitmaps
A bitmap is a small picture that is displayed when the ACLB containing the component is opened in
the schematic editor. Bitmaps are stored in syslib\Bitmaps\*.bmp. To create or modify a bitmap,
use a bitmap editor such as MS Paint(r).
Components
The Electronics Desktop Component Editor supports the viewing, modification, and saving of
information for component elements and graphical primitives. After creating or modifying a
component, the information can be saved, used to render a component, or exported. Component
definitions are stored in library files with an extension of .asty. See Using the Component Editor for
how to create and modify components.
Scripts
The Electronics Desktop Script Editor supports the viewing, modification, and saving of script file
information for footprint elements and graphical primitives. After modifying a script, the information
can be saved, used to render a footprint, or exported. Script definitions are stored in library files
with an extension of .dsc. See Using the Script Editor for how to create and modify scripts.
l Materials
l Scripts
l Components
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Symbols
l Footprints
l Models
l Padstacks
Related Topics
You may also right-click on any of the folders listed in the Definitions directory of the Project Tree
in the Project Manager, and then select Edit Library.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The Edit Libraries browser searches library objects using filters based on a number of attributes:
l Name
l Property
l Model type
In addition, each Edit Libraries browser also includes radio buttons that allow you to Show
Project definitions and Show all libraries (to override filtering).
l Edit — Edits properties/attributes for the selected object. The resulting object can have
the same name as the original, but it is saved to the current project, rather than back to the
library. In effect, you have “checked out” the part in order to edit it. If you want to write it
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
back to the library and overwrite the original part, use the Export to Library button.
l Add — Creates a new object within the selected library.
l Clone — Creates a copy of a selected object with a different name within the selected
library.
l Remove — Removes an object from the library
l Export — Exports edited objects from a project to a library, or exports selected objects
from one library to another. If the component you are exporting is hierarchical, after you
click to Export and specify a library name in the Export to user library window, the
Export Hierarchy dialog opens. For more information see Exporting Hierarchical
Components.
NOTES:
1. When you modify a library component, the modified definition is automatically transferred to the
components available to the current project. In effect, you have “checked out” the component to
modify it, and it is now in the project. The original library definition is intact. To update the library
definition, you must do the extra step of exporting the modified component from the project to the
library.
3. Project variables and project datasets used in designs represented by hierarchical components
will be saved to the library with the component and restored when the component is used. If the
variable or dataset already exists in the project (determined by name), the library version will be
ignored. When creating project variables or datasets for hierarchical component designs to be
saved in a library, make sure the names of the variables and datasets are appropriate and not likely
to clash with those of other hierarchical components or common defaults.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l The component selected to be exported appears in the top-most row of the dialog. The
library to which it will be exported is listed beneath the Library column (in this example,
“export2”). To select a different library to export to, click on the library button listed in the
Library column (in this example, “export2”).
l Dependent definitions appear below the top-most row of the dialog and may also be
exported. Definitions that must be exported (i.e. those definitions which are a mandatory
part of those being exported) will have a disabled, greyed-out Export check box.
l You can export a component’s solution by checking its Export box. At import time, the
solution is re-associated with the design.
l Symbols need not be exported, they will be auto-generated at import time.
l Each definition is exported as a definition in its own right. That is to say, at import time,
using the above example, "Planar EM1" would be visible in the "export2" library as a
component independent of "Nexxim1".
l Components that originated in libraries, e.g. the "SL_TRL" component, need not be
exported. At import time, each library component is retrieved from its original library and
re-associated with the design.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
A material is a set of information that defines the physical properties of a substance — such as that
used as a substrate, metallization, or solder mask layer — for its inclusion in a stackup, the physical
foundation of a manufacturable Planar EM model. Material definitions are stored in library files with
an extension of .amat. You can access material definitions using the EditMaterial dialog, also
referred to as the Material Editor.
To start the Material Editor, select Tools > Edit Libraries > Materials. When the Edit Libraries
dialog opens, use its controls to open the Material Editor.
Related Topics
l Open the Material Browser by clicking Tools > Edit Libraries > Materials, then search
for and select the material you want to edit, and either double-click its name or click
View/Edit Materials.
l In the Definitions/Materials subfolder of the Project tree, locate the icon for the material
you want to edit, then either double-click the icon or right-click it and select EditMaterial.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Material Name — This box sets the material name. To specify or change the name, click in the
box, and then type the desired name.
Property Headings
Name — Displays the property name. The values in this column are not editable.
Type — Displays and sets the property type (Simple [the default] or Anisotropic). To change a
properties Type setting, click in the Type cell and select the desired type.
Value — Displays and sets the property value. To change a property value, click the value you
want to change, and then type a value or parameter name.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Units — Displays and, where applicable, sets the unit that applies to the Value entry. (For
example, the unit of magnetic saturation can be set to Gauss, uGauss, Tesla, or uTesla.) To
change a unit, click it, and then select the desired unit.
Property Names
Relative Permittivity — This box sets the material relative permittivity. To specify or change the
value, click in the box, and then type the desired value.
Relative Permeability — This box sets the material relative permeability. To specify or change
the value, click in the box, and then type the desired value.
Bulk Conductivity — This box sets the material bulk conductivity. To specify or change the value,
click in the box, and then type the desired value.
Dielectric Loss Tangent — This box sets the material dielectric loss tangent. To specify or
change the value, click in the box, and then type the desired value.
Magnetic Loss Tangent — This box sets the material magnetic loss tangent. To specify or
change the value, click in the box, and then type the desired value.
Magnetic Saturation — This box sets the material magnetic saturation. To specify or change the
value, click in the box, and then type the desired value.
Lande G Factor — This box sets the material Lande G factor. To specify or change the value, click
in the box, and then type the desired value.
Delta H — This box sets the material delta H. To specify or change the value, click in the box, and
then type the desired value.
The check boxes in this group select the ANSYS product(s) for which material properties are
shown.
l Active Design
l This Product
l All Products
The check boxes in this group select the ANSYS product(s) for which modifier properties are
shown.
l Thermal Modifier
Validate Material
Click this button to validate the current material property values for the Electronics Desktop product
(s) checked. If validation succeeds, a green check mark appears below the Validate Now button. If
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
validation fails, a red X appears instead, and an error message informs you of which parameter
value(s) are invalid for which product(s), and why.
Click this button to open a dialog that allows you to set options for the following:
After you set options for any of the above, the Value column of the MaterialEditor indicates that a
material’s value is set to be frequency dependent, rather than set to a constant.
Note The Set Frequency Dependency option is available only with Planar EM. To add a
material with frequency dependence, or to edit the frequency dependence of a pre-existing
material, you must first ensure that the active design selected in the project tree is a Planar
EM design, otherwise Set Frequency Dependency will not be available. For more
information see Defining Frequency-Dependent Material Properties.
l Click Reset to restore all changed properties to their values prior to opening the Material
Editor.
l Click Cancel to close the dialog without committing changes and return to the
MaterialBrowser.
l Click OK to commit changes and return to the MaterialBrowser.
Note If you would like the changes you have made in a material to be available for use in other
projects, you must export the material to a library as described in the Edit Libraries dialog
topic.
l Open the Material Browser by clicking Tools > Edit Libraries > Materials, then search
for and select the material you want to edit, and either double-click its name or click
View/Edit Materials.
l In the Definitions/Materials subfolder of the Project tree, locate the icon for the material
you want to edit, then either double-click the icon or right-click it and select EditMaterial.
The Edit Material dialog opens (also called the Material Editor).
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Click Add Material. The Edit Material dialog opens (also called the Material Editor).
l Locate and select an existing material definition on which you would like to base the new
definition, then click Clone Material(s). The selected definition is copied under a new name.
To edit the new material, double-click its name to open the Edit Material dialog (also called
the Material Editor).
(Use the Show Project Definitions check box to include current project elements in
the Edit Libraries dialog display.)
Some models - such as those that have been encoded - are not editable (button is
disabled). Encrypted models can be edited after the password has been entered to
unlock it.
l Add Model - Creates a new model object within the selected library. The Add Model
dialog box allows you to name the model, and to choose the model type you want to add.
By default, the model is added via the appropriate model editor.
l Clone Model(s) - Creates a copy of selected object(s) with a different name within the
selected library. Encoded models cannot be cloned (button is disabled).
l Remove Model(s) - Removes selected object(s) from the library. System library models
cannot be removed (button is disabled).
l Export to Library - Exports a selected object to a different library. (Use also to export
edited objects from the project to the library if necessary.) System library models cannot
be exported (button is disabled).
3. When finished, click OK to close the Edit Libraries dialog box.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
A padstack is a set of information that defines the physical structure and electrical connectivity of a
pin or via: the region in which a component pin connects to a layout or a connection between
layers. A padstack includes information about the layers involved in making the connection; from
the size and shape of the layout area to the type and dimensions of the accompanying hole.
Padstack definitions are stored in library files with an extension of .pslb. You can access padstack
definitions using the Padstack Editor.
To start the Padstack Editor, open a project and select Tools > Edit Libraries > Padstacks.
When the Edit Libraries dialog opens, use its controls to open the Padstack Editor.
Related Topics
l Open the Tools > Edit Libraries > Padstacks dialog, then click Add Padstack.
— The Definition Name dialog opens and allows you to specify the name for the
new padstack.
— Next, the Choose Layout Technology dialog opens, and you may choose or
browse for a technology file to define the original layers of the definition. If no
technology file is chosen, the definition is created with initial layers named Start, Stop,
and Default.
l Open the Tools > Edit Libraries > Padstacks dialog, then locate and select an existing
padstack definition on which you would like to base a new definition.
— Search for and select a padstack name and then click Clone Padstack(s)
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Right- click on the Padstack folder in the Definition directory of the Project Tree in the
Project Manager and select Edit Library
— This opens the Padstack tab of the Edit Libraries dialog. Then either the Add
Padstack or the Clone Padstack(s) button can be used to open the Edit Padstack
Definition dialog.
l Select Add Definition from the right-click menu in the Padstacks folder of the project
tree.
After doing any of the above, the Edit Padstack Definition dialog opens.
l Open the Tools > Edit Libraries > Padstacks dialog, search for and select the padstack
you want to edit, and then double-click its name or click Edit Padstack.
l Right- click on the Padstack folder in the Definition directory of the Project Tree in the
Project Manager and select EditLibrary. This opens the Padstack tab of the EditLibraries
dialog. Then click EditPadstack.
l In the Definitions/Padstacks subfolder in the Project window tree, locate the icon for the
padstack you wish to edit, then either double-click the icon or right-click it and select
EditPadstack.
l Select a via or pin that uses the padstack. Click the PadstackDefinition property button to
open the Padstack tab of the EditLibraries dialog.
After doing one of the above, the Edit Padstack Definition dialog opens.
The following controls are available in the Edit Padstack Definition dialog. Depending upon the
context and padstack being edited, at times only a subset of the following options may appear.
General
Hole
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Shape — Choices are None, Circle, Square, Rectangle and Polygon. The Polygon
choice is currently only supported for imported padstacks; polygon holes may not be
defined through the dialog.
l Diameter — Specifies the Diameter or Size of the hole.
l Range can specify the hole range to be:
o Beginning at the upper pad of the padstack and continuing to the lowest elevation of
the layout stackup layers
o Beginning at the highest elevation of the layout stackup layers and ending at the
lowest pad of the padstack
o Beginning at the upper pad and ending at the lowest pad of the padstack
Backdrilling
Backdrilling will create empty holes on one or both sides of a via. Depth defines the layer on which
the backdrill stops, and Diameter defines the width of the via. On the Cross section view and Top
view, backdrills will be rendered as empty, black-colored holes, while related backdrill holes will be
rendered as empty space. In the related script, the backdrill will be recorded as a block: Array
("NAME:Backdrill Top Diameter", "MustBeInt:=", false, "Value:=", "0.4mm").
l Backdrill Top — Depth defines the layer on which the backdrill stops. For a top backdrill,
it will stop on the top surface of the defined layer.
l Backdrill Bottom — Depth defines the layer on which the backdrill stops. For a bottom
backdrill, it will stop on the bottom surface of the defined layer.
Solderball
l Shape — Specifies the shape of the solderball; choices are none, cylinder, and spheroid.
l Diameter — Specifies the diameter of the solderball.
l Mid diameter — Specifies the mid diameter of the solderball.
l Solder — Click this button to open theMaterial Editorfor the solderball in order to
specify the material used.
l Connection — Select to specify the location of the solderball either above or below the
padstack hole.
Layers
Layer names are used when a padstack definition is used in a via or pin. A default mapping of
padstack-definition-layers to layout-layers occurs based on the layer names.
l None of the Layers section grid control cells are directly editable.
l When one or more rows in the Layers section are selected, Layer setting controls are
enabled and can be used to change the pad settings for selected rows.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Layer Settings
The Layer settings section displays the pad settings for the padstack definition layers. The
Polygon choice is currently only supported for imported padstacks; polygon pads, anti pads, and
thermal pads may not be defined through the dialog. Dimension controls appear to support the
shape choice for each pad. Controls to specify the pad offset are also available.
l Pad and Antipad shape choices are None, Circle, Square, Rectangle, Oval, Bullet, and
Polygon.
l Thermalpad shape choices are None, Round45, Round90, Square45, Square90, and
Polygon.
l Connection point allows you to choose a direction in degrees or specify None. In
addition to choosing direction, there are controls to specify the X,Y location of the
connection point.
Displays all the definition layers and their pads from a side view. The selected layers are
highlighted. Tool tips indicating layer/hole/plating/pad appear when the mouse hovers over one of
these shapes.
Top View
Displays the pads of the selected layers from a top down perspective. Tool tips indicating
hole/plating/pad on a layer appear when the mouse hovers over one of these shapes.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l The intersection point between the central axis of a via or pin and the intersected layers is
inspected to determine its metal type (fill, trace, or un-present). By definition, ground
layers are fill-metal with primitives defining scratch areas.
l If a fill is intersected, the net of the fill is also taken into consideration.
l Based on the intersection of the fill/net/pads that are defined in the padstack definition, the
choice of pad that is used is determined using the following algorithm:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l The pad choice from the algorithm is subject to suppressing of non-functional internal
pads as described in "Layout Editor Options: Object Panel " on page 12-4.
Controls in the Padstack Usage and Definition dialog are similar to The Edit Padstack Definition
Dialog except for the following.
l Editable information in this dialog relates both to the padstack definition and to the via or
pin. Information related to the padstack definition is shaded blue.
l Name is not editable.
l Padstackrange controls are used to specify the first/last stackup layers of the padstack.
These layers, and those in between, may possess pads. Layers above the first and below
the last will not have pads.; these layers will display "***" in the layer/pad cells of the
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Layers section grid. These Layers section grid rows are not directly editable, and they
also cannot be changed using the Layersettings controls at the bottom of the dialog.
l Editing the Range changes the use of the padstack definition in the specific padstack
instance, but does not change the padstack definition itself. Note that this information may
also be changed by editing the "Start Layer" and "Stop Layer" attributes of the via or pin
Properties dialog that is displayed at top.
l The Layers grid control displays an additional column, Layout, which contains the signal
layers in stackup order.
l The Padstack column shows the mapping between the layout layers and the padstack's
definition layers. When a via or pin is placed, default mapping occurs, and you may adjust
the mapping by setting the Padstack column cells using a pull-down menu that shows all
layers defined in the padstack definition. The pull-down menu also includes two additional
choices: Add definition layer will create a new layer in the padstack definition with a
unique name based on the name of the layout layer for the row; and Delete definition
layer will remove the layer named in the cell from the padstack definition.
l Clicking the Default mapping button resets all mappings to their defaults, taking into
account the padstack range. After being clicked, the button changes to Revert mapping.
Clicking the Revert mapping button changes the layer mapping back to the state before
the default mapping was applied. See Initial Padstack Definition Layers for additional
information.
l Changes to the layer mapping does not change the padstack definition, as the mapping is
connected to the via or pin definition through the specific padstack instance.
l Connection Layer — The connection of the solderball is specified by choosing a
connection layer. If a layer is chosen, the solderball will end at the inner edge of the
specified layer.
1. Any layout stackup signal layer before the start layer of the padstack or after the stop layer of
the padstack does not get mapped to any definition layer.
2. Any layout stackup signal layer whose name matches a definition layer name is mapped to
that definition layer.
3. If the start layer of the padstack is not yet mapped, and there is a definition layer named
"Start", they are mapped.
4. If the stop layer of the padstack is not yet mapped, and there is a definition layer named
"Stop", they are mapped.
5. If there is a definition layer named "Default", any remaining layout stackup signal layers are
mapped to it.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
6. If there are remaining layout stackup signal layers, they are mapped (in order) to the
remaining definition layers.
7. Any layout stackup signal layers that are unmapped, remain that way.
When the Padstack Usage and Definition dialog is closed by clicking OK, you are given a choice
of how to apply the definition changes that were made; the Apply Padstack Definition Changes
dialog appears only if changes were made to the padstack definition (not all changes to the
Padstack Usage and Definition dialog change the padstack definition).
l Editcurrentdefinition — changes all vias and pins that use this definition
l Createnewdefinition — allows you select whether the changes apply to Only this via
or pin or whether the changes apply to All vias and pins in the active design that
use this definition of the original padstack.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Both APDLinks and ANFV2 imports will correctly retain the "pin" and "via" type for padstacks. For
APDLinks, only those nets for which "Setup Port" has been selected, will have associate ports with
the pins.
The following commands act on pins and nets. These are accessed through the right-click menu on
the Layout tab under "Nets" and also on the right-click layout menu. See Pin and Net Padstack
Operations for information about the following scripts.
AddPortsToNet
Use:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Command:
RemovePortsFromNet
Use:
Command:
AddPortsToAllNets
Use:
Command:
RemovePortsFromAllNets
Use:
Command:
A footprint is a set of information that defines the planar space consumption, physical orientation,
metal usage, and electrical connectivity of a component. Footprint definitions are stored in library
files with an extension of .aflb. You can access material definitions using the Footprint Editor.
l Draw graphical primitives, such as rectangles, circles, and arcs, using options on the Draw
menu
l Add pins using the Pin option on the Draw menu
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Add text labels using the Text option on the Draw menu
l Update the current project with the new or revised footprint definition using the Update
Project option on the Footprint menu
You can export a footprint to a footprint library (.aflb) file for use in other projects. For information
on how to do this, see the Edit Libraries dialog topic.
Related Topics
Related Topics
l Open the Tools > Edit Libraries > Footprints dialog, then click Add Footprint.
— The Definition Name dialog opens and allows you to specify the name for the
new footprint.
— Type a name for the footprint into the Enter the name for this new Footprint
box, and then click OK or press ENTER. The Choose Technology dialog opens and
allows you to specify the original layers of the definition
— Double-click the entry for the new footprint, or click Edit Footprint.
l Select Add Definition from the right-click menu in the Footprints folder of the project
tree.
— The Definition Name dialog opens and allows you to specify the name for the
new footprint.
— Type a name for the footprint into the Enter the name for this new Footprint
box, and then click OK or press ENTER. The Choose Technology dialog opens and
allows you to specify the original layers of the definition
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Open the Tools > Edit Libraries > Footprints dialog, then locate and select an existing
footprint on which you would like to base your new footprint.
— Type a name for the new footprint into the Enter the name for this new
Footprint box, and then click OK or press ENTER.
— Double-click the entry for the new footprint, or click Edit Footprint.
l In the project tree, expand the Definitions/Footprints subfolder for the project that
contains the footprint you want to edit. Double-click the entry for the footprint you want to
edit, or right-click the entry and select Edit Footprint.
l Open the Tools > Edit Libraries > Footprints dialog, then locate and select the Project
version of the footprint that you want to edit. Click Edit Footprint, or double-click the
selected entry.
l Select the footprint you wish to edit and then click Edit Footprint in the right-click pop-up
menu.
The footprint editor runs and opens the selected footprint for editing.
1. With a new local project open, select Tools > Edit Libraries > Footprints.
This opens the Edit Libraries dialog.
2. Select a component in the Name column, for instance, BENDA, and click Edit Footprint.
This loads the component into the local project.
With the footprint editor, you can add and manipulate graphical primitives, text labels, pins, vias,
and padstacks. You can also adjust the resolution, color, and visibility of the editor grid. When
you’re done, you can update the current project with any changes you’ve made to the current
footprint. Options related to these operations are available on the Footprint menu and the
Footprint Draw menu.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Related Topics
When a footprint design is active, clicking the Edit button on the top menu bar opens the pulldown
edit menu for the Footprint Editor, similar to the following:
The fields on this menu become active as appropriate to the type of footprint being edited.
Cut — Delete the selected object, and retain a copy for pasting into a layout in the same
application.
Copy — Create a local copy for pasting into a layout in the same application.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Paste — Put the object from the last cut or copy into the layout.
Cycle Selection — Cycle selection of two or more objects that overlap. Each time you click Cycle
Selection, a different one of the overlapping objects is selected.
Copy Image — Create a global copy of the selected objects on the clipboard for pasting into a
different application.
Properties — Opens the Properties dialog to view and edit the properties of the selected object.
Paste in Place — Paste object to same location, without any X,Y offset/displacement.
When a footprint design is active, clicking the right mouse button opens the Context Menu for the
Footprint Editor, similar to the following:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The fields on this menu become active as appropriate to the type of footprint being edited.
The following operations are available from the Footprint View Menu.
l Control the display by selecting the check box of the following: Status Bar, Message
Manager, Project Manager, Properties Window, Progress Window, Component
Manager, Layout Window.
l Variables: View the project and design variables with their values in a grid view.
l Rotate: Holding down the left-mouse-button and dragging will rotate the view; the same
double-click options hold true for the Alt-drag editor display options.
l Change the zoom display by selecting one of the following: Zoom In, Zoom Out, Zoom
Area, Zoom Previous.
l Fit or Pan by selecting: Fit Drawing, Pan.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Dragging the slider applies a Z scaling factor to the current view. If Dynamic is selected, the
scaling happens in real time otherwise it is applied when OK is chosen.
The footprint editor Draw menu presents options for drawing graphical primitives and text, and
manipulating selected objects. The Draw menu options include:
This option, also available from the Footprint Draw toolbar, initiates creation of an arc. To draw an
arc, click the footprint editor grid at the two points that will determine the arc’s ends, and then drag
the arc to the desired radius.
Once you have created an arc, you can adjust its radius or move its endpoints by clicking the arc to
select it, and dragging the appropriate handle.
This option, also available from the Footprint Draw toolbar, initiates creation of a circle. To draw a
circle, click the footprint editor grid to select a center point, and then drag the circle to the desired
diameter.
Once you have created a circle, you can adjust its diameter in either of two ways:
l Click the circle to select it, and then drag one of its handles.
l Double-click the circle to open its Properties dialog, type a new value for the Radius
parameter, and then click OK.
This option, also available from the Footprint Draw toolbar, initiates creation of a polyline with one
or more segments. To draw a line:
1. Click the footprint editor grid where you want the line to start, and then click at one or more
points to continue the line.
2. To complete the line, do one of the following after defining its final segment:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Press SPACE.
l Right-click, and then click Finish.
After you have completed a line, you can change the endpoints of its segments as follows:
This option, also available from the Footprint Draw toolbar, initiates creation of a rectangle. To
create a rectangle, click the editor grid to specify the position of one corner, and then drag the
rectangle to the desired size.
Once you have drawn a rectangle, you can edit its height and width, the position of its center, and
its angle (its rotation, in degrees, relative the handles of its bounding box) as follows:
l Click the rectangle, and then edit its properties in the Properties window.
l Double-click the rectangle, and then edit its properties in the Properties dialog box.
This option, also available from the Footprint Draw toolbar, initiates creation of a polygon. To
create a polygon:
1. Click the footprint editor grid to specify the position of one vertex, and then click wherever
you want to place additional vertices.
2. To complete a polygon, specify the position of its final vertex, and then do either of the
following:
l Press SPACE.
l Right-click, and then click Finish.
Once you have drawn a rectangle, you can edit its vertex positions and other properties, including
its fill style, as follows:
l Click the rectangle, and then edit its properties in the Properties window.
l Double-click the rectangle, and then edit its properties in the Properties dialog box.
This option, also available from the Footprint Draw toolbar, adds to the footprint an editable
“Default text” label in 12-point Arial. To edit the default text string immediately after placement, type
the text you want, and then press ENTER or click elsewhere in the editor grid.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
1. Click the label and view its properties in the Properties window, or double-click the label
and view its properties in the Properties dialog.
2. Click in the Value cell for the property you want to modify.
3. Modify the value.
4. Click OK, or click in another Value cell to commit the change and keep editing values.
Create a void, or remove material from an object, in the shape of a circle, rectangle, polygon, or line
using the Void > Circle command. One object can have multiple voids, but each void can only be
associated with one “parent” object.
Create a void, or remove material from an object, in the shape of a circle, rectangle, polygon, or line
using the Void > Line command. One object can have multiple voids, but each void can only be
associated with one “parent” object.
Create a void, or remove material from an object, in the shape of a circle, rectangle, polygon, or line
using the Void > Rectangle command. One object can have multiple voids, but each void can only
be associated with one “parent” object.
Create a void, or remove material from an object, in the shape of a circle, rectangle, polygon, or line
using the Void > Polygon command. One object can have multiple voids, but each void can only be
associated with one “parent” object.
Pin
This option, also available from the Footprint Draw toolbar, initiates placement of a footprint pin
with a default stem length of 10. You can rotate a pin once you’ve started to place it by iteratively
pressing R until the pin is oriented to your liking. Click in the editor grid to finish placing the pin.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Via
This option, also available from the Footprint Draw toolbar, initiates placement of a through hole
(via) of the default size (1mm).
Handle
This option, also available from the Footprint Draw toolbar, allows you to create an explicit
footprint handle that can later be used to resize or reshape the footprint based on the handle’s
reshaping rules.
3D Structure
Opens a menu that allows you to create and perform operations on a 3D structure in the Drawing
Region.
Coordinate System
Opens a menu that allows you to create and perform operations on a coordinate system in the
Drawing Region manage. For more information see Coordinate Systems in the Layout Editor
topic.
Rotate
This option, also available from the Footprint Draw menu or by pressing CTRL+R on the
keyboard, rotates a selected object or group of objects 90° to the left.
Flip Vertical
This option, also available from the Footprint Draw menu, flips a selected object about the X axis.
Flip Horizontal
This option, also available from the Footprint Draw menu, flips a selected object about the Y axis.
Reverse Line
Align
Position Relative
When a relative coordinate system (CS) and an object independent of that CS are selected, the
“Draw > Position Relative” command will position the CS relative to that object.
When a relative coordinate system (CS) and an object are selected, the “Draw > Clear Position
Relative” command will position the CS unrelative to that object.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Duplicate
Expand
Geometry Healing
Stitch Lines
Handles appear around the perimeter of a selected element as small squares in the selection color.
If the cursor is moved over one of these handles, it changes to indicate its proximity to the handle.
When clicking on a handle, the user can then resize or reshape the element based on the handle's
reshaping rules.
Component footprints can also have handles which can be specified in the footprint editor. These
handles can likewise be used to reshape a component footprint, and at the same time altering one
or more of its electrical parameters. In other words, the user can use handles to directly manipulate
an element's geometry corresponding to electrical parameters.
Defining a Handle
Open the footprint editor for the footprint desired. From the Draw menu, choose Handle. Next,
click to place the handle anywhere in the drawing, exact placement does not matter.
Next, open the property dialog (Edit > Properties). There will be one property listed: location. For
this property, edit the X & Y locations to place the handle in the correct position based on the
parameters.
Next, click on the Add button in the Property dialog. In the responding dialog, specify the name of
the electrical parameter, and the expression, based on the X & Y location of the handle that sets
this parameter. For example:
Edit the footprint for the MSTRL component. Place a handle that will be on the top edge of the line.
The component has the parameters P for length and W for width. The handle will then have its
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
location (X,Y) set to: (P/2, W/2). One property will be added called "W" and its expression will be
"abs(Y*2)". The "abs" (absolute value) of "Y*2" ensures that as Y approaches zero, the line width
stays positive. The two entries in the dialog should look like the following:
W: abs(Y*2)
How it works
When the user drags the handle, for each new location of the cursor, each of the handles
properties are recalculated for that new position. For the TRL example, the y position of the top-
side handle will be used to set the line's "w", which will of course be twice that of y. After the new
parameter values are calculated, the handle's own position is recalculated based on the updated
parameters and the expressions for its location. Thus, as the cursor goes up, the line gets wider,
and the handle tracks with the new width.
When Layout needs to retrieve footprint geometry, it invokes the script, passing an object called
LayoutHost. This object provides the interface to the needed functions within Layout necessary for
creating geometry and accessing information within Layout. The script then calls the member
functions of this host object to define the footprint desired.
Documentation on scripting within Windows including language definition for JavaScript and
VBScript can be found at: http://msdn.microsoft.com/scripting/.
Related Topics
LayoutHost Object
LayoutHost Properties
LayoutHost Methods
ElementPars Object
Points Object
Geom Object
Edge Object
Via Object
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
LayoutHost is an object within Layout which provides access to necessary Layout functions for use
in a script. This section describes the interface for this function.
Related Topics
LayoutHost Properties
LayoutHost Methods
LayoutHost Properties
Pars
Returns an ElementPars object. This property is used to set/get the component parameters
declared within the footprint.
Example:
LayoutPars
Returns an ElementPars object. This property is used to set/get the locally defined parameters
within the footprint.
Example:
LengthUnits
Returns a string. This property is used to set/get the internal length units in the current script. By
default, length units in the script are meters. When this property is changed, any subsequent calls
to the LayoutHost are interpreted in the new units.
Example:
LayoutHost.LengthUnits(“mm”);
MID
Example:
var x = rect.Edge(1).X(LayoutHost.MID);
START
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Example:
var x = rect.Edge(1).X(LayoutHost.START);
END
Example:
var x = rect.Edge(1).X(LayoutHost.END);
Related Topics
LayoutHost Object
LayoutHost Methods
LayoutHost Methods
The following LayoutHost methods are available for use in the Desktop.
Related Topics
GetDefinitionType()
Returns an integer which indicates the type of shape used to define a shape-based footprint. This
type of footprint allows the user to draw a shape such as a rectangle or polygon and then the script
would use this definition to create a footprint. The method GetDefinitionPoints is then used to
retrieve the points input by the user to define the shape’s outline.
Example:
0: Single point
1: Rect
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
2: Polyline
3: Polygon
GetDefinitionPoints()
Returns a PointsObject containing the points defining an outline for a shaped-based footprint. This
method is used along with GetDefinitionType to retrieve the information needed regarding the base
shape used in order to define the footprint.
Example:
GetLastError()
Returns an integer id regarding the last function call which changes the footprint. Functions which
change the footprint include those creating geometry, and those altering pins. A non-zero result
indicates an error occurred. Zero is returned for success.
Example:
GetLayerID(name)
Returns an integer id for the given name. If a layer with “name” is not found, then a -1 is returned.
The name is not case-sensitive.
Example:
CreatePointsObject()
Creates and returns an empty PointsObject. Points can then be added to this object which in turn is
passed as a parameter to certain primitive creation functions.
Example:
These methods create virtual shapes within the footprint. While these shapes mirror actual
primitives, they are drawn only and are not selectable or editable. All length values are in the
current units of the footprint.
Parameters:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Example:
Parameters:
End: End style. Possible end styles are: flat, extended, round.
Example:
Parameters:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
R: Radius of circle
Example:
Parameters:
Lw: Linewidth
Join: Join style. Possible join styles are: corner, miter, round.
End: End style. Possible end styles are: flat, extended, round.
(Passing an empty string will default to round for Join or End style.)
Example:
NewPoly(layer, points)
Parameters:
Example:
Parameters:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Example:
Parameters:
Font: Text font; may be left blank (on system layers, e.g. "Symbols", a system font must be used,
else specify a plotter font e.g. "RomanDuplex").
Size: Text height (in length units for a plotter font; in points for a system font)
Just: Text justification relative to the placement position: "LeftTop", "LeftBase", "LeftBottom",
"CenterTop", "CenterBase", "CenterBottom", "RightTop", "RightBase", "RightBottom"
Example:
Places one geometry object against another so that the specified edges are parallel and points
touching
Parameters:
Edge: Specifies both the object to be moved and the edge to snap.
Edge_pos: The position on the source edge (the object being moved) that is to be snapped to the
target edge; specified as LayoutHost.START, MID, or END (or a value < 0, 0, or > 0).
To_edge: Specifies the target object and edge (this object is not moved)
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
To_edge_pos: The target snap point. The source edge and position is snapped to this location;
specified as LayoutHost.START, MID, or END (or a value < 0, 0, or > 0).
Example:
Same as for SnapEdges but the target snap point is specified by an edge position with an offset
and angle. Associated with the target edge position is a normal vector and a tangent vector. The
normal vector is perpendicular to the edge and points outwards (i.e., to the right in polylines). The
tangent vector points in the direction of the edge. These two vectors define the local coordinate
system in which x_off, y_off, and angle are specified.
Parameters:
Edge: Specifies both the object to be moved and the edge to snap.
Edge_pos: The position on the source edge (the object being moved) that is to be snapped to the
target edge; specified as LayoutHost.START, MID, or END (or a value < 0, 0, or > 0).
To_edge: Specifies the target object and edge (this object is not moved)
To_edge_pos: The target snap point. The source edge and position is snapped to this location;
specified as LayoutHost.START, MID, or END (or a value < 0, 0, or > 0).
X_off: An offset along the normal vector for the target edge.
Y_off: An offset along the tangent vector for the target edge.
Example:
Moves an existing port of that name. All scripted footprints must call MovePort for every pin in the
footprint. This call should be made prior to defining any port geometry.
Parameters:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Example:
LayoutHost.MovePort(“1”, x, y, 2*Math.tan(theta));
Moves a port to the specified edge position. The angle is relative to the normal vector
(perpendicular to the edge and pointing outwards, or to the right in poly-lines).
Parameters:
Edge_pos: The position on the edge where the port is to be placed; specified as
LayoutHost.START, MID, or END (or a value < 0, 0, or > 0).
Example:
Parameters:
Example:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Defines the edge of the port to the polyline defined by “points”. Defining the port edge is necessary
for co-simulation of a scripted footprint. Note, if you define the port edge, you must also have set
the port position via “MovePort” first. Multiple edges may be added by calling this function
repeatedly.
The points for the edge should be defined with the port as the origin. For example, if the edge is a
vertical line 10 mils long running thru the port, the two points defining the edge would be (0, 5) & (0,
-5), regardless of the location of the port itself.
Parameters:
Example:
Defines the edge of the port to be a single line segment of width “w”, centered on the port position,
and rotated to the port angle. This function is an alternate means of defining a port edge. Defining
the port edge is necessary for co-simulation of a scripted footprint. Note, if you define the port edge,
you must also have set the port position via “MovePort” first.
Parameters:
Example:
Parameters:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Padstack: Name of the padstack to use. Passing an empty string (“”) will result in “No Pad SMT
East” by default.
Example:
Moves a via to the specified edge position. The target snap point is specified by an edge position
with an offset and angle. Associated with the target edge position is a normal (perpendicular to the
edge and pointing outwards, or to the right in poly-lines) and a tangent vector (pointing in the
direction of the edge). These two vectors define the local coordinate system in which x_off, y_off,
and angle are specified.
Parameters:
To_edge_pos: The target snap point. The via position is snapped to this location, specified as
LayoutHost.START, MID, or END (or a value < 0, 0, or > 0).
X_off: An offset along the normal vector for the target edge.
Y_off: An offset along the tangent vector for the target edge.
Example:
ElementPars Object
This object permits retrieval of parameters & local variables defined within the footprint for use in a
script. Retrieval of this object was discussed under LayoutHost.
Count
Example:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Item
Contains the given parameter in this object. The item may be retrieved by index (zero based) or
name. The name is not case sensitive. This property is read-only.
Example:
var w = pars.Item(0);
var p = pars.Item(“p”);
ElementPars Methods
Related Topics
ElementPars Properties
ElementPars Methods
Points Object
This object permits retrieval of parameters & local variables defined within the footprint for use in a
script. Retrieval of this object was discussed under LayoutHost.
Related Topics
Count
Example:
X(index)
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Example:
x = 10;
pts.Add(x, y);
x2 = pts.X(0) * 2;
pts.X(0) = x2;
Y(index)
Example:
y = 10;
pts.Add(x, y);
y2 = pts.Y(0) * 2;
pts.Y(0) = y2;
Points Methods
Add(x,y)
Example:
pts.Add(5, 10);
Remove(index)
Removes a point from the object’s array, given the (zero-based) index.
Example:
pts.Add(5, 10);
pts.Remove(0);
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Geom Object
Geometry objects are returned by the shape creation methods (NewRect, NewCircle, etc.)
Geometry objects may be manipulated in a variety of ways through the methods exposed by their
interface. All coordinates and length related values are passed/returned in the current default script
units. Unless changed through LayoutHost.LengthUnits, all values are by default assumed to be in
meters (SI units).
Example:
Related Topics
Layer
Example:
rect.Layer = LayoutHost.GetLayerID(‘top’);
Edge(index)
Return the edge object for the edge specified. Edge indexes are zero based and count in a
counter-clockwise direction around the object. For rectangles, edge zero is the lower edge. Circles
are defined by two arc edges, a lower edge (edge zero) and an upper edge (edge 1); the start/end
points of these edges are directly to the left/right of center. Lines and Polygon edges are defined by
the user when the object is created. A rotated box giving the text extent is used to define the edges
for a text object; edge zero is the line beneath the text.
Example:
Count
Example:
MoveBy(dx, dy)
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Parameters:
Dx: X offset
Dy: Y offset
Example:
rect.MoveBy(10, 20);
MoveTo(x, y)
Moves the geometry object to the specified location; useful for rectangles, circles and arcs (the
center point is moved)
Parameters:
X: New X location
Y: New Y location
Example:
rect.MoveTo(10, 20);
Rotate(x, y, angle)
Rotates the geometry object counter-clockwise about the specified location by the angle specified
(in radians).
Parameters:
X: X center
Y: Y center
Example:
rect.Rotate(0, 0, Math.PI/4);
Scale(x, y, factor)
Scales the geometry object about the specified location by the factor specified.
Parameters:
X: X center
Y: Y center
Factor: Scale factor (2 implies 2 times, 4.5 implies 4 and a half times, etc.)
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Example:
rect.Scale(0, 0, 2);
MirrorX(x)
Mirrors the X values of the object (Y values are unchanged) about the specified X value (i.e. X
values falling on this line are unchanged).
Parameters:
Example:
rect.MirrorX(0);
MirrorY(y)
Mirrors the Y values of the object (X values are unchanged) about the specified Y value (i.e. Y
values falling on this line are unchanged).
Parameters:
Example:
rect.MirrorY(0);
Copy()
Example:
AddVoid(void_geom)
Example:
rect.AddVoid(void_rect);
Edge Object
Edge objects are returned by an Edge query on a Geometry object. Note: edges may be arcs or
straight segments.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Related Topics
Edge objects are returned by an Edge query on a Geometry object. Note: edges may be arcs or
straight segments.
Example:
Length
Return the true edge length (if an arc, the curvature is taken into account).
Example:
Angle(pos)
Return the angle of the tangent (in radians), relative to the standard X axis, of the edge point
specified by ‘pos’. Angles are returned using the usual ‘count-clockwise is positive’ convention.
Tangents point in the direction of the edge.
Parameters:
Pos: Edge position; usually specified as LayoutHost.START, MID, or END (or a value < 0, 0, or >
0).
Example:
Normal(pos)
Return the angle of the normal (in radians), relative to the standard X axis, of the edge point
specified by ‘pos’. Angles are returned using the usual ‘count-clockwise is positive’ convention.
Normals are outward facing (or to the right in poly-lines) of the edge.
Parameters:
Pos: Edge position; usually specified as LayoutHost.START, MID, or END (or a value < 0, 0, or >
0).
Example:
X(pos)
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Parameters:
Pos: Edge position; usually specified as LayoutHost.START, MID, or END (or a value < 0, 0, or >
0).
Example:
var x = geom.Edge(3).X(LayoutHost.END);
Y(pos)
Parameters:
Pos: Edge position; usually specified as LayoutHost.START, MID, or END (or a value < 0, 0, or >
0).
Example:
var y = geom.Edge(3).Y(LayoutHost.END);
Via Object
Via objects are returned by the LayoutHost method NewVia. They may be manipulated in a variety
of ways through the methods exposed by their interface. All coordinates and length related values
are passed/returned in the current default script units. Unless changed through
LayoutHost.LengthUnits, all values are by default assumed to be in meters (SI units).
Example:
Related Topics
StartLayer
Example:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
via.StartLayer = LayoutHost.GetLayerID(‘top’);
EndLayer
Example:
Example:
v1.X = v2.X;
Example:
v1.Y = v2.Y;
HoleDiameter
Get/Set the hole diameter for the via. A negative diameter turns off the diameter override and the
value from the padstack definition is used.
Example:
v1.HoleDiameter = v2.HoleDiameter;
Rotation
Example:
v1.Rotation = Math.PI/4;
ClearLayerMapping(fp_layer)
Clears the mapping between a footprint layer and a layer in the padstack definition.
Parameters:
Example:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
v1.ClearLayerMapping(layer);
ClearLayerMappings
Clears the mapping between all footprint and padstack definition layers.
Example:
v1.ClearLayerMappings();
Copy()
Example:
DefaultLayerMapping
Reset the mapping between all footprint and padstack definition layers to the default mapping.
Example:
v1.DefaultLayerMapping();
MirrorX(x)
Mirrors the via position about the specified X value (Y value is unchanged; an X value falling on this
line is unchanged).
Parameters:
Example:
via.MirrorX(0);
MirrorY(y)
Mirrors the via position about the specified Y value (X values are unchanged; a Y value falling on
this line is unchanged).
Parameters:
Example:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
via.MirrorY(0);
MoveBy(dx, dy)
Parameters:
Dx: X offset
Dy: Y offset
Example:
via.MoveBy(10, 20);
MoveTo(x, y)
Moves the via to the specified location; useful for rectangles, circles and arcs (the center point is
moved)
Parameters:
X: New X location
Y: New Y location
Example:
via.MoveTo(10, 20);
Rotate(x, y, angle)
Rotates the via counter-clockwise about the specified location by the angle specified (in radians).
Parameters:
X: X center
Y: Y center
Example:
via.Rotate(0, 0, Math.PI/4);
Scale(x, y, factor)
Scales the via position about the specified location by the factor specified.
Parameters:
X: X center
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Y: Y center
Factor: Scale factor (2 implies 2 times, 4.5 implies 4 and a half times, etc.)
Example:
via.Scale(0, 0, 2);
SetLayers(start_layer, end_layer)
Parameters:
Example:
via.SetLayers(top, bottom);
Creates or adjusts the mapping between a footprint layer and the padstack definition layer.
Parameters:
pad_type: Unused
Example:
v1.ClearLayerMappings();
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
A symbol is a set of information that defines the graphical representation and electrical connectivity
of a component. Symbol definitions are stored in library files with an extension of .aslb. You can
access material definitions using the Symbol Editor.
To start the Symbol Editor, open a project and select Tools > Edit Libraries > Symbols. When
the Edit Libraries dialog opens, use its controls to open the Symbol Editor.
Related Topics
Symbol Menu
l In the project tree, expand the Definitions/Symbols subfolder for the project that contains
the symbol you want to edit. Double-click the entry for the symbol you want to edit, or right-
click the entry and then select Edit Symbol.
l Open the Tools > Edit Libraries > Symbols dialog, then locate and select the Project
version of the symbol that you want to edit. Click Edit Symbol, or double-click the selected
entry.
The symbol editor runs, and opens the selected symbol for editing.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
With the symbol editor, you can add, modify, and manipulate graphical primitives, text labels, pins,
and property displays. You can also adjust the resolution, color, and visibility of the editor grid.
When you’re done, you can update the current project with any changes you’ve made to the
current symbol. Options related to these operations are available on the Symbol menu and the
Symbol Draw menu.
When you right-click in the symbol editor grid, this shortcut menu appears:
When you right-click an object in the symbol editor, this shortcut menu appears:
Click Properties to view the properties of the selected object. The other options are a combination
of entries from the Edit, View, and Draw menus.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Arc
This option, also available from the Symbol Draw toolbar , initiates creation of an arc. To draw
an arc, click the symbol editor grid at the two points that will determine the arc’s ends, and then
drag the arc to the desired radius.
Once you have created an arc, you can adjust its radius or move its endpoints by clicking the arc to
select it, and dragging the appropriate handle.
Circle
This option, also available from the Symbol Draw toolbar , initiates creation of a circle. To
draw a circle, click the symbol editor grid to select a center point, and then drag the circle to the
desired diameter.
Once you have created a circle, you can adjust its diameter in either of two ways:
l Click the circle to select it, and then drag one of its handles.
l Double-click the circle to open its Properties dialog, type a new value for the Radius
parameter, and then click OK.
By default, a new circle is hollow. You can fill a circle with solid color or parallel lines in one of
several styles as follows:
a. With the circle’s properties displayed, click in the Value cell for the FillStyle property.
b. Select the desired fill style from the list.
c. Click OK.
Line
This option, also available from the Symbol Draw toolbar , initiates creation of a polyline with
one or more segments. To draw a line:
1. Click the symbol editor grid where you want the line to start, and then click at one or more
points to continue the line.
2. To complete the line, do one of the following after defining its final segment:
l Press SPACE.
l Right-click, and then click Finish.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
After you have completed a line, you can change the endpoints of its segments by doing the
following:
Alternately, you can change the endpoints of a selected line by clicking Layout > Line Styles to
open the Line Styles dialog, then click in the Cap Type field to change the cap or line-ending type
(Flat, Extended, or Round).
Since a line has nonzero width, its CapType determines how its ends behave:
Extended - Extends the line by its own width past the endpoint you click.
The existing technology files define line/trace styles, including a CapType (typically Flat) for each
style. If you select None as the technology type, you'll automatically get a palette of four styles with
a variety of widths, BendTypes and CapTypes.
Polygon
This option, also available from the Symbol Draw toolbar , initiates creation of a polygon. To
create a polygon:
1. Click the symbol editor grid to specify the position of one vertex, and then click wherever you
want to place additional vertices.
2. To complete a polygon, specify the position of its final vertex, and then do either of the
following:
l Press SPACE.
l Right-click, and then click Finish.
Once you have drawn a rectangle, you can edit its vertex positions and other properties, including
its fill style, as follows:
l Click the rectangle, and then edit its properties in the Properties window.
l Double-click the rectangle, and then edit its properties in the Properties dialog box.
By default, a new polygon is hollow. You can fill a polygon with solid color or parallel lines in one of
several styles as follows:
a. With the polygon’s properties displayed, click in the Value cell for the FillStyle property.
b. Select the desired fill style from the list.
c. Click OK.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Rectangle
This option, also available from the Symbol Draw toolbar , initiates creation of a rectangle. To
create a rectangle, click the editor grid to specify the position of one corner, and then drag the
rectangle to the desired size.
Once you have drawn a rectangle, you can edit its height and width, the position of its center, and
its angle (its rotation, in degrees, relative the handles of its bounding box) as follows:
l Click the rectangle, and then edit its properties in the Properties window.
l Double-click the rectangle, and then edit its properties in the Properties dialog box.
By default, a new rectangle is hollow. You can fill a rectangle with solid color or parallel lines in one
of several styles as follows:
a. With the rectangle’s properties displayed, click in the Value cell for the FillStyle
property.
b. Select the desired fill style from the list.
c. Click OK.
Text
This option, also available from the Symbol Draw toolbar , adds to the symbol an editable
“Default text” label in 12-point Arial. To edit the default text string immediately after placement, type
the text you want, and then press ENTER or click elsewhere in the editor grid.
1. Click the label and view its properties in the Properties window, or double-click the label
and view its properties in the Properties dialog.
2. Click in the Value cell for the property you want to modify.
3. Modify the value.
4. Click OK, or click in another Value cell to commit the change and keep editing values.
Pin
This option, also available from the Symbol Draw toolbar, initiates placement of a symbol pin with
a default stem length of 10. You can rotate a pin once you’ve started to place it by iteratively
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
pressing R until the pin is oriented to your liking. Click in the editor grid to finish placing the pin.
Rotate
This option, also available from the Symbol Draw menu and by pressing CTRL+R on the
keyboard, rotates a selected object or group of objects 90° to the left.
Align Horizontal
This option horizontally aligns the uppermost edges of the members of a group of selected objects
with the uppermost edge of the first-selected object. To align multiple objects horizontally:
1. Press CTRL, and then click the object with which you want to align the others.
2. Still pressing CTRL, click the additional objects in turn to add them to the selection.
Note that the first-selected object is highlighted in red, and that the subsequently selected
objects are highlighted in dark red.
Align Vertical
This option vertically aligns the leftmost edges of the members of a group of selected objects with
the leftmost edge of the first-selected object. To align multiple objects vertically:
1. Press CTRL, and then click the object with which you to align the others.
2. Still pressing CTRL, click the additional objects in turn to add them to the selection.
Note that the first-selected object is highlighted in red, and that the subsequently selected
objects are highlighted in dark red.
This option, also available from the Symbol Draw toolbar, flips a selected object about the X axis.
This option, also available from the Symbol Draw toolbar, flips a selected object about the Y axis.
Symbol Menu
The Symbol menu lists options for symbol naming, property displays, and file operations. Its entries
include:
Update Project
This option updates the current project with changes made in the current symbol.
Note Update Project updates your symbol changes to the current project in memory and does
not save your changes to disk. To save your changes to disk, you must also click Save on
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
the File menu. If you would like the changes you have made in a symbol to be available for
use in other projects, you must export the symbol to a library as described in the Edit
Libraries dialog topic.
Set Name
This option opens a Properties dialog through which you can rename the current symbol.
This option opens the Properties Display so you can add or modify display of the names and/or
values of properties associated with the component represented by the current symbol.
Pin List
This option gives you access to settings related to pin properties by opening the Pin List dialog box.
Grid Setup
This option gives you access to settings related to the symbol editor grid resolution, color, and
visibility by opening the symbol editor Grid Setup dialog box.
Import File
The Import File command allows you to import an existing SVG-formatted symbol into the symbol
editor.
Export File
This option saves the current symbol as a Microsoft Enhanced Meta File (.emf) graphic.
Edit Component
This option launches the Edit Component dialog box to modify the component associated with the
active symbol.
Allows you to normalize the symbol you are editing when you save after making modifications.
List
Opens the Design List dialog, which lists the objects in the layout. Each column may be sorted by
clicking on the heading. One or more object rows can be selected and operated upon with the
Delete and Properties buttons.
The Symbol>Import File command allows you to import an existing SVG-formatted symbol into
the symbol editor. The SVG (Scalable Vector Graphics) format is an open, XML-based web
standard graphics format supported by many third-party tools.
To import an SVG (.svg) file when creating a new symbol definition do the following:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
1. In the Project Manager, right-click on the Definitions>Symbols folder in the desired project
and select Add Definition on the context menu.
2. Enter a name for the new symbol in the Definition Name dialog box and click OK.
3. On the main menu bar, select Symbol>Import File and choose an existing .svg symbol file
to import it into the symbol editor.
A dialog box appears advising you that importing the .svg file will remove any existing
symbol graphics in the editor, and asking you if you are sure you want to continue the import.
Note l There is no “Undo” for the import operation. Consequently if you make a mistake on
import, you must close the project without saving, and then reopen it to recover.
l Currently you can import .svg symbols into any symbol editor window - including
those containing pre-existing component symbols in which case the current symbol
in the editor will be replaced by the imported symbol, so make sure that you import
the symbol in the desired place.
4. Click OK to import the .svg symbol for further editing, or Cancel to abort the operation.
Once the new symbol has been created, you can attach it to a component via the Property
Display Setup command.
The Pin List dialog box displays and sets values for the properties of symbol pins.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Pin Label – provides a field to add a user-defined label for the chosen pin on a component
symbol without having to change the actual Pin Name associated with the chosen pin. Pin
labels for pins in a component should be unique.
To specify or change the label of a pin, click in the Pin Label cell for that pin, type the
name, and do either of the following:
o Press Enter.
o Click in another cell.
The Pin Label can be displayed for the chosen pin by unchecking Use Name As
Label.
l Use Name As Label – controls whether the Pin Name or Pin Label is displayed for the
chosen pin when Show Label is enabled. For a new pin, Use Name As Label is checked
by default.
l Pin Name – sets the actual pin name. To specify or change the name of a pin, click in the
Pin Name cell for that pin, type the name, and do either of the following:
o Press Enter.
o Click in another cell.
l Show Label – controls visibility of the either the Pin Name or Pin Label text for the pin (as
determined by Use Name As Label). For a new pin, it is unchecked by default.
l Show Index – controls visibility of the pin number in the schematic editor. For a new pin, it is
unchecked by default.
l Type – drop-down list sets the pin type. Options include Normal (the default), ANSI In,
ANSI Out, and Zero Length. To change a pin’s type, click in its Type cell, and then click the
desired option.
l Length (mils) – sets the length of the pin stem (the graphical line associated with the pin
port symbol). By default, new pins have a pin stem length of 100 mils. To change the length
of a pin, click in its Length cell, type a new value, and do either of the following:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
o Press Enter.
o Click in another cell.
l Hide Pin – controls whether or not a pin is visible in the schematic editor. For new pins, it is
unchecked by default.
l Hidden Pin Net – editable when Hide Pin is checked, specifies the net (circuit node) to
which a pin will be connected if it is hidden. To specify a net, click in the Hidden Pin Net cell,
type a net name, and then do either of the following:
o Press Enter.
o Click in another cell.
The dialog has three tabs: Bus Pin Editor, Pin Location Editor, and Pin List. Bus Pin Editor
and Pin Location Editor will be shown only for symbols that are drawn as a rectangle with pins.
The Bus Pin Editor tab allows you to create/edit/delete bus pins from regular pins. The pin names
are the terminal names associated with the component model and cannot be changed, but the bus
pin names can be anything the user wants.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
— Select the pins needed for the bus pin and click the "Combine in to Bus Pin" button. Both regular
pins and bus pins can be combined to create the new bus pin.
— Select the whole bus pin or individual pins inside the bus pin and click "Uncombine from Bus Pin"
button
— Pins can be dragged out of the bus pin to the root level to remove from the bus pin.
l Re-ordering Pins
— The pins inside a bus pin can be reordered by dragging them to the desired location. The order
is important since the first pin, with index 0, will connect to bus[0] when a bus is connected, and so
on.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
— When either the root node (red symbol) is selected OR a bus pin is selected, the Sort buttons will
be enabled. Clicking the buttons will order the pins/bus-pins immediately under the selected node
by name in either alphanumeric or reverse-alphanumeric order.
— The tree can be filtered by the pin name by typing in the filter box.
— The filter text supports wildcard search Example: "P*1" should search for everything that begins
with a "P" and ends with a "1"
— Search will work for both the root level and leaf level of pins. Example: If a search matches the
pin name under a bus pin, the bus pin will be displayed in the search result.
The Pin Location Editor allows you to change the locations of the symbol pins to the left or right
side according to the settings chosen in the dialog.
Changing the drop down Reference menu will change the symbol displayed to show/hide
additional reference pins (note that the Reference menu is not shown in the dialog if the symbol
does not support reference pins).
Choosing one of the five PinDirection radio buttons will change the symbol shown to a fixed
configuration:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l I/I+N puts the first half of the pins in order on the left side and the remaining pins on the
right side
l Odd-Even puts every other pin on the left side and the remaining pins on the right side
l Manual Edit will enable the two list boxes in the bottom left quadrant. When those boxes
are enabled, the user can drag pins from one box to the other to switch sides and drag
pins within a box to switch the pin order.
Pin List
The Pin List dialog box displays and sets values for the properties of symbol pins.
l Name — This editable cell displays and sets the pin name. To specify or change the name of
a pin, click in the Name cell for that pin, type the name, and then press Enter or click in
another cell.
l ShowLabel — This check box controls visibility of the pin name in the schematic editor. For
a new pin, it is unchecked by default.
l ShowIndex — This check box controls visibility of the pin number in the schematic editor.
For a new pin, it is unchecked by default.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Type — This drop-down list sets the pin type, the options for which include Normal (the
default), ANSI In, ANSI Out, and Zero Length. To change a pin's type, click in its Type
cell, and then click the desired option.
l Length — This editable cell sets the length of the pin stem (the graphical line associated
with the pin port symbol). By default, new pins have a pin stem length of 10. To change the
length of a pin, click in its Length cell, type a new value, and then press Enter or click in
another cell.
l HidePin — This check box controls whether or not a pin is visible in the schematic editor.
For new pins, it is unchecked by default.
l HiddenPinNet — This cell, editable when Hide Pin is checked, specifies the net (the circuit
node) to which a pin will be connected if it is hidden. To specify a net, click in the Hidden Pin
Net cell, type a net name, and then press Enter or click in another cell.
l Click the cell that displays the pin property value that you want to change and modify the
property value appropriate to its type as described above.
l To commit the new value and continue editing pin properties, click another property value.
Committing Changes
Clicking the OK button in the dialog will commit changes to the component symbol made in all three
tabs.
l Add – Click this button to add a new property display entry to the list.
l Change Component Context—Click this button to open the Select Definition dialog
box, through which you can select the component definition on which property displays
are based. The properties of the selected component are then available in the Name cell
properties list.
Note Because a symbol can be used by multiple components with differing properties,
any property name can be entered by the user. If a component using the symbol
doesn't have a property with that name, the symbol property isn't used in that
component.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Location – Click in this cell to set the location (Left, Top, Right, Bottom, Center) of the
property display relative to the symbol center.
Note You can further position a property display by rotating it (Ctrl-R), or by dragging it
to another location with your mouse. When you do this for a given property
display, its Location value is set to Custom.
l Name – Click in this cell to type a property display name, or to select an existing property
display from a list. The component selected via the Change Component Context button
determines which property displays are listed for selection.
l Remove – Click this button to remove the selected property display.
l Visibility – Click in this cell to set the visibility (None, Name, Value, or Both) of a
property display.
l Set Title Block Context – Click this button to make the list of default page properties,
and others as specified, available for display. Default properties include: ProjectPath,
Project, Design, Title, Author and Date. This context is selected by default if the symbol
has three or more propdisplays for default page properties.
Major — Specifies the spacing of the major grid lines (default in mils). To change the color of the
major grid lines, click the Major color button, specify a color in the Color dialog box, and then click
OK
Minor — Specifies the spacing of the minor grid lines (default in mils). To change the color of the
minor grid lines, click the Minor color button, specify a color in the Color dialog box, and then click
OK.
Snap to Grid — Controls whether graphics and text placed on the grid automatically snap to the
nearest grid intersection.
Background Color — To set the background color used for symbol editing, click the color box to
open its dialog, specify a color, and then click OK.
Save as Default — Save the current Grid Setup values as defaults for future Electronics Desktop
sessions.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note l To ensure electrical connectivity among schematic elements, placed symbol pins
snap to a 100-mil grid (2.54-millimeter) regardless of the graphical Major and Minor
grid line settings. This snapping cannot be turned off, and the spacing of the
connectivity grid cannot be adjusted.
l The units used for grid line spacings are controlled by the Tools > Options >
General Options dialog box.
l Use of the Minor grid setting varies depending upon the active editor. In the Layout
Editor, the minor grid-line setting specifies the number of units between each minor
grid division. However, in the Schematic and Symbol Editors, the minor grid-line
setting specifies the number of minor grid lines that appear between major grid lines.
To start the Component Editor, open a project and select Tools > Edit Libraries >
Components. When the Edit Libraries dialog opens, use its controls to open the Edit Component
dialog, then create a new component, or select an existing one, and click Edit to open the
Component Editor.
Related Topics
l Specify or change the component name, description, associated bitmap, and default
property values, including those necessary for netlisting, co-simulation, and Solver On
Demand operation, as appropriate
l Specify or respecify a graphical symbol to represent the component in the schematic editor
l Specify or change the component terminal properties
l Specify or respecify a footprint to represent the component in the layout editor
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The changes you make when creating or editing a library component become part of the current
project. The newly edited component is saved to the project, not back to the library. If the edited
component is used in any schematics within the project, all default values of any modified
parameters are updated immediately.
l To make a new or modified component available for use in other projects, save it to a
component library (.aclb) file using the Export command in the Edit Libraries dialog.
l To update another project with your updated component(s), select its icon in the project tree,
and then click Project Tools>Update Definitions on the Tools menu.
Note: If you are creating a new component, it is useful to first identify and, if necessary, create the
necessary dependencies before defining your component. See Component Creation Process in
the introduction for details.
Related Topics
l In the project tree, expand the Definitions/Components subfolder for the project that
contains the component you want to edit. Double-click the entry for the component you want
to edit, or right-click the entry and then select Edit Component.
l Open the Tools > Edit Libraries > Components dialog, then locate and select the
component that you want to edit. Click Edit Component, or double-click the selected entry.
The Edit Component dialog opens, displaying the definition of the selected component for editing.
l Open the Tools > Edit Libraries > Components dialog, then click Add Component. The
Edit Component dialog opens.
l Open the Tools > Edit Libraries > Components dialog, then locate and select an existing
component on which you would like to base your new component. Click Clone
Component. and a renamed copy of the selected component is added to the list. Double-
click the entry for the new component, or click Edit Component. The Edit Component
dialog opens.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Related Topics
Use the General tab to specify all parameter values for the component, as well as to assign
symbols and footprints from their respective libraries. You can also start the symbol and footprint
editors from the dialog, however, you must exit the component editor to complete the symbol or
footprint edits. The symbol and footprint preview windows at the bottom of the dialog are
automatically updated to reflect whatever changes you make to the symbols and footprints you
modify.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Component Panel
The Component panel of the General Tab dialog displays the component Name. The Original
Library name is displayed if found. To access and edit the component properties, click Properties
next to the Name text window. In the Properties dialog, you can add, edit or remove default or
local properties and values.
Symbol Panel
The Symbol panel of the General Tab dialog allows you to search by symbol name, and also
displays a picture of the symbol. You can choose any symbol which has an equal or greater
number of pins than the component specified in the Component Name field. You can then choose
to Auto-create the component.
The library of origin of the component is displayed beneath the component display in the Symbol
area; if the component is local to this Project, that message is displayed. When you click Select
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
(...), the Select Definition dialog opens and allows you to choose a definition for the symbol from a
list that is displayed. Click Edit to modify the symbol. A confirmation message is displayed with a
reminder that the Component and Definition editors will be closed (if open) and that all changes will
then be saved if you choose to continue. Click Clear at any time to clear all selections and displays
in the Symbol area.
Footprint Panel
The Footprint panel of the General Tab dialog allows you to search by footprint name, and is used
to display a picture of the footprint. You can choose any footprint which has an equal or greater
number of pins than the component specified in the Component Name field.
The library of origin of the footprint is displayed beneath the component display in the Footprint
area; if the component is local to this Project, that message is displayed. When you click Select,
(...) the Select Definition dialog opens and allows you to choose a definition for the footprint from a
list that is displayed. Click Edit to modify the footprint. A confirmation message is displayed with a
reminder that the Component and Definition editors will be closed (if open) and that all changes will
then be saved if you choose to continue. Click Clear at any time to clear all selections and displays
in the Footprint area.
Click OK to save your changes and close the dialog, or click Cancel to close the dialog without
saving any changes.
Use the miscellaneous fields to enter component information such as the name, manufacturer,
description, ref des, etc. You can also specify a bitmap for the project tree and an associated online
help description (if you use your own documentation). Help files must be located in <Installation
Directory>\Electronics Desktop\help.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The top two rows of the Miscellaneous tab window displays the Modified Date and Original
Date of the component, and allows you to specify the following:
l Current Author
l Manufacturer
l Original Author
l Data Source
You may also specify an Example File directory for the component, browse for the directory if
necessary (...) and specify it’s Reference Designator, or enter a text Description for the
component. The default Bitmap of the component is displayed at lower right, and you may use the
adjacent pulldown menu to specify a different bitmap file.
The Component Online Help area displays the default HTML help file associated with the
component, and allows you to specify an alternative help file of your own. You may also Test the
specified help file, which displays the component’s HTML help page.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Click OK to save your changes and close the dialog, or click Cancel to close the dialog without
saving any changes.
To line up component terminals in an envisioned order, use the Terminals tab to associate each
symbol pin with the proper terminal by first ordering the symbol pins and then selecting the
corresponding symbol. This allows you to visually associate the symbol pins with the netlist
properties for the simulation model. The symbol and footprint preview windows at the bottom of the
dialog are automatically updated to reflect whatever changes you make to the symbols and
footprints you modify.
In the Terminals display window, you can select one or more terminals directly, which then
enables the following dialog options:
Unconnected/default behavior — Used to specify the response when a pin is not connected to a
wire or port in a schematic. You can choose between the following pull-down menu actions: No
action (default), Flag as error, and Grounded. Click Applytoselection to apply your changes to
the selected terminals.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
R to Ground — If you select Grounded for the Unconnected/default behavior, you can then
specify the resistance to ground within the R to Ground entry window. Click Applytoselection to
apply your changes to the selected terminals.
Click OK to save your changes and close the dialog, or click Cancel to close the dialog without
saving any changes.
Solver On Demand is a specialized routine to set up co-simulation using multiple products. When
you first open the Solver On Demand tab of the Edit Component dialog for a particular
component, the only Model Name listed is the default multi-product type, DefaultNetlist.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Click the pulldown Product menu to choose which Electronics Desktop product netlist to
define.
l Click Netlist to define a netlist.
l Click Global reference to define a global reference.
l Click OK to implement your changes, close the dialog, and return to the Edit
Component dialog.
Electronics Desktop allows for multiple representations of models that are to be cosimulated. In the
Solver on Demand tab of the Edit Component dialog, click in the pull-down menu to choose
from a list of models to add to the list of ModelNames.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
1. Click on the pulldown next to the Add button to display a list of the available model types.
2. Select the type of model from the pulldown. Click Add. A new model of the selected type is
added to the list. The symbol and footprint preview windows at the bottom of the dialog are
automatically updated to reflect whatever changes you make to a component’s
symbol/footprint definitions.
3. Click in the ModelName field for the new model and type the name you want to use for this
model (or accept the default in the ModelName field). Note that when you highlight a Model
Name, its symbol and footprint (if defined) are automatically previewed in the windows at the
bottom of the dialog. These preview windows are automatically updated to reflect whatever
changes you make to the component’s symbol/footprint definitions.
4. Click the button in Define Model column (labeled Edit or with a Custom model name) to
open a Cosim or Netlist definition dialog that is specific to the model type. Here is the dialog
for the Planar EM model shown in the MSBEND component:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
5. Repeat steps 1 through 3 to create all the models you wish to use for this type of component.
6. Click OK when you have defined all the models for this component type.
Repeat the above procedure to specify models for all components that will be simulated using
Solver On Demand.
For a complete description of the Solver On Demand tab and how to define model types, see Co-
simulation.
To open the Properties dialog for a selected component, double-click the component definition in
the project tree to open the Edit Components dialog. Then, in the Edit Components dialog, click
Properties to open the dialog.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
This tab displays and sets the default values for component parameters for general analysis (Value
display) or statistical analysis (Statistics display).
When this option is selected, the Parameter Defaults tab lists, displays, and sets the default
values for component parameters during general analysis.
Adding Parameters
Use the Add button to add a parameter to the definition. You are prompted to define the parameter
name, value, and value type (text input, menu, check box, etc.). You may not add reserved system
parameters to the definition.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Removing Properties
To remove a property on a component, select the property and click the Remove button. The
property is deleted from the component definition (model) and from all instances in the design.
Related Topics
When this option is selected, the Parameter Defaults tab lists, displays, and sets the default
statistics for component parameters during general analysis.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Include—Controls whether or not the associated component parameter will be varied during
statistical analysis. Check Include for each parameter you want Electronics Desktop to vary during
statistical analysis.
Distribution Criteria—Click the display bar to open the Edit Distribution dialog. The
Distribution Type pulldown menu displays whether the distribution is Uniform or Gaussian, and
you can specify values for Cutoff Probability, Mean, and Tolerance. Units for Mean and
Tolerance can be set using their adjacent pulldown menus.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Click OK to save your changes and close the dialog, or click Cancel to close the dialog without
saving any changes.
When using the Add button to add a parameter to the component definition in the Properties
dialog, you are prompted to define the parameter name, value, and value type (text input, menu,
check box, etc.). You may not add the following reserved system parameters to the definition:
"Id"
"Status"
"AnalysisSetup"
"AnalysisResults"
"PartName"
"Info"
"NPortData"
"Refbase"
"NumParts"
"CompName"
"Description"
"Manufacturer"
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
"Datasource"
"Date"
"Symbol"
"Footprint"
"PinCount"
"Refdes"
When an analysis is requested for a modified design, or when Browse Netlist is invoked,
Electronics Desktop writes the corresponding netlist to the project results folder. The netlist
conveys to the simulation engine the connectivity, parameter values, analysis specifications, and
other characteristics of the design(s) under analysis. To support this process, every Electronics
Desktop component must include a valid definition for the CosimDefinition property.
The Multi-product Netlist definition dialog opens, displaying the netlist string. Use the dialog to
edit the string if desired.
Related Topics
<Simulator>Netlist=[netlist_string]
where
The netlist string may contain the following netlist property syntax:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Which specifies the name of the net connected to terminal index. A syntax error will result if the
terminal index is not a positive number, within range. Example:
%0, %1
Create a unique net for an internal node. Used when a component has nodes that are not
associated with symbol terminals and are not tied to a global node. Syntax error if node index is not
a positive number, within range. Example:
%_0, %_1
@<propname> | @(<propname>)
Value of property named propname. Syntax error if propname is empty or contains spaces.
Example:
@R, @IDSS
?<propname>(<expr1>)[:(<expr2>)]
If property named propname exists, substitute expr1, else (optionally) expr2. Also, expr1 and expr2
may contain additional substitutions. Syntax error if propname is empty or contains spaces.
Example:
~<propname>(<expr1>)[:(<expr2>)]
If property named propname doesn’t exist, substitute expr1, else (optionally) expr2. Syntax error if
propname is empty or contains spaces. Example:
~SUB(SUB = MS)
?(<propname>==<value>)(<expr1>)[:(<expr2>)]
?(<propname>!=<value>)(<expr1>)[:(<expr2>)]
~(<propname>==<value>)(<expr1>)[:(<expr2>)]
~(<propname>!=<value>)(<expr1>)[:(<expr2>)]
Same as "?" and "~" above except the first term is evaluated for equal to (==) or not equal to (!=)
and if true, substitute expr1 else (optionally) expr2. Example:
?(sim==fullwave)(NSUM=@NSUM):(F0=@F0)
*<propname>(<expr1>)
If property named propname has changed from default definition value, then substitute expr1.
Syntax error if propname is empty or contains spaces. Example:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
*IDSS(IDSS = @IDSS)
&(<expr>)[^(pname1,pname2, . . . )]
Add all properties that have changed from default definition value, except those in the optional
exclusion list. In expr, “$” can be used to represent the property name, and “#” the property value.
Example:
&($=#)^(Model)
will netlist all properties that changed from their default value except the Model property.
\n
A new line marker to inform the netlister to insert a new line. Example:
The backslash is used as an escape character. The character following the backslash is not
processed but added to the netlist string as is. To add a single “\”, use “\\”. Example:
R:@ID %0 %1 R=\{\2\*@R\}
Defined Variables
A global reference property will process its value the same way as the netlist string and will place
the result in the top-level (global) part of the circuit file.
<Simulator>GlobalRef=[string]
where
Additional Examples
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
“Z”, “E”, and “F” use the "?" conditional because the component definition values assigned to these
parameters are different from those in the engine and should always be netlisted if they are present
even if the user has not changed them. The “A” parameter uses the "*" conditional because its
component definition value matches that of the engine and we just need to netlist it if the user
changes the instance value.
In this example, TC1 will be netlisted only if TC1 exists, and TC2 will be netlisted only if TC1 and
TC2 exist.
Model will always be netlisted. The “&($=#)^(Model)” argument designates that all parameters
should be netlisted as “name=value”, except for “Model”.
.LIB $SYSLIB/Vendor/D.lib
NexximNetlist=R@ID %0 %1 R=\{\2\*@R\}
UsingVendor Components
Electronics Desktop allows you to download vendor component files from a server. After being
downloaded, libraries are automatically configured so these components can be used in
Electronics Desktop.
Some installations of Electronics Desktop include a set of RF Vendor Library components. To use
these elements, you unzip the files into the syslib/Vendor Elements directory in the Electronics
Desktop installation.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Related Topics
Select a server and then enter the User ID, Password, and Server Address. Then click OK to open
the Online Component Libraries dialog:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The web library dialog displays files as well; click on '+' next to folders for expansion.
l Shows filter criteria, and is used for choosing values for file properties, such as Vendor,
Type, and NumPorts.
l Users can search for files and folders using the 'Filter' option.
l The Series property allows you to enter text, including regular expression values with wild
card characters, such as "NEC202*".
l Clicking the "Reset Filtering" button sets all properties to their most inclusive values ("Any"
or "All"). When you choose a new value in the Filter components pane, only folders
satisfying the filter values are shown in the center pane.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Displays 'Name' and 'Description' property of the files and folders as the user navigates
through the files in the center pane.
l The center pane of the dialog shows all the folders that satisfy the filter criteria.
l Folders are organized into a tree control, so that they can be identified correctly (you must
have the full path to uniquely identify a series folder). If you move a cursor over a series
folder and hover, a popup dialog shows information about that folder.
l Click-dragging any folder from the center-tree control to the right pane will cause that
folder to be copied and displayed in the right pane.
l The right pane shows the component folders you have chosen for downloading and
behaves the same as the center pane (tree control, hover information).
l If you drag something outside of the right pane and release it, the dragged folder is
removed from the pane and will not be downloaded.
Destination Directory
l For 'Vendor Components', the "Destination Directory" drop-down menu has two choices:
User Library and Personal Library.
l For 'Other Files' and 'Project Archives', the drop down has three choices: User Library,
Personal Library and a 'Browse…' option. 'Browse…' option allows users to download
selection to a directory of their choice.
l When you are happy with the contents of the right pane, click the "Download Selected"
button and all files in the selected folders are downloaded to the Destination.
Here are the steps to follow to enable and place these elements.
1. Browse to the syslib folder in your Electronics Desktop RF installation. The directory path
should be something like the following:
C:\Program Files\AnsysEM\AnsysEMxxx\Win64\Electronics Desktop\syslib
The entry xxx is the ANSYS EM release number. The operating system field (Win64 in the
example) will change depending on your O/S.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note Since configuration happens automatically at ANSYS Electronics Desktop startup, if you
unzip the archive while the Desktop is open, you may need to save work, close, and restart
the Desktop.
1. In the Component Manager panel of Electronics Desktop, you should see a Vendor
Elements directory with the Vendor_Libraries folder. Expand the folder, then the vendors
folder, to display a listing of the component types in the library (Amplifier, Capacitor, etc).
Each component type represents a number of components from different vendors.
2. Double-click on the icon for the type of part you want to place, then drag the symbol into the
design area.
3. Right-click on the component, and edit the Properties.
4. Select a Vendor from the listing of available vendors for the component type.
5. Select a Series from the listing available series from the selected Vendor.
6. Verify that the Part property has the part you wish to use. If the Part menu is not populated,
or if the part you want is not in the list, change the Data Type property (S-parameter, State
Space, or subcircuit) until the part appears on the Part property menu.
7. Select a Part from the listing of available parts in the selected Series.
8. Optionally, use the Sweep dialog to select a text array variable containing part names to
sweep while simulating the component. The text array variable must have been defined
previously. See Defining Array Variables or more information.
9. Click OK to close the Properties dialog.
10. Connect the component to the circuit.
Optionally, browse through the folders under Vendor_Libraries in the syslib/Vendor Elements
directory. You can see what Vendors, Series, and Parts are available for each component type.
The file extensions on the Part files indicate the Data Type:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Encrypted Libraries
Electronics Desktop lets you create personal, encrypted files of design information (typically in
SPICE format) that you may add to other designs via .lib or .inc statements. Encrypted files are
password-protected.
If you are referencing an imported encrypted .lib file with a user defined password, the first time you
use a component from the file, Electronics Desktop asks for the library password. The library and
password are then added to the list of password definitions in the Tools > Password Manager
dialog box.
Note For security reasons, encrypted components are not saved in the Most Recently Used list
or the Favorites list.
Related Topics
1. A user-defined password set — When you define your own password for a library, you are
actually required to define two passwords: one for Full Access permissions and one for
Execute Only permissions. With Full Access permissions, a user may access the encrypted
library to simulate, see, and edit its contents. With Execute Only permissions, the user may
add components and simulate, but not see or edit the contents.
2. The ANSYS Password — The ANSYS password is a generic, hard-coded execute-only
password shared across all ANSYS tools. Any ANSYS tool may read any applicable file
encrypted in any other ANSYS tool using the ANSYS password. The ANSYS password is
the easiest way to share encrypted libraries among ANSYS applications when they are not
expected to be viewed or edited.
3. A password that is already known to the current session — you can assign an encrypted
library to use a password that is already known to the current session so you can
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
NOTES
1. For security reasons, passwords are not saved between sessions and must be re-entered
each time Electronics Desktop is started. Passwords are available after a given project is
closed and another is opened.
2. ANSYS Electronics Desktop and Nexxim use the Advanced Encryption Standard (AES) to
encrypt libraries and models. ANSYS Electronics Desktop and Nexxim use a 128 bit block
cipher with a 256 bit key.
3. You can encrypt selected parts of a file by enclosing them within a protected “block”, as in the
following. You can set up multiple .protect/.unprotect blocks in the same file, but you cannot
nest them.
.protect
.unprotect
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
1. In the Tools > Password Manager dialog box, click New. You are prompted for a
Resource Name.
2. Type a name and click OK. The Enter Passwords dialog box appears.
3. Select a password type and, if user-defined, supply the different passwords for All Access
and Executable Only. Both are required. Click OK. The new resource is added to the
Password Manager list.
Note You can assign an optional “expiration date” for the encrypted library. If an expiration date
is assigned to a library during encryption, the library cannot be used after this date.
When you encrypt a library, you have the choice of overwriting the existing target library with the
encrypted one, or saving the encrypted library to a new filename or location. The encryption
process can respect .prot[ect] statements. During encryption you are prompted whether to encrypt
all, or to respect the statements. The steps are as follows:
1. In the Tools > Password Manager dialog box, select a “password protected resource.”
The Encrypt File button activates.
(If no resources exist, create a new one by clicking “New” and providing a name. You are
prompted to supply a password type for the resource. Once the resource is established, any
number of libraries may be assigned to it.
2. Click Encrypt File and browse to the library that you want to encrypt. Only filenames of .lib
type are valid.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
3. Select the .lib file and click Open in the browser. You are prompted to “encrypt the entire file,
ignoring any .prot[ect] statements?” Yes and No will both encrypt the file. Yes encrypts all,
No will recognize the protect statements. Click Yes or No.
4. A second browser opens, letting you rename or relocate the encrypted file if you wish to.
Caution: If you do not rename or relocate the encrypted file, the existing file is overwritten
permanently as an encrypted file.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
15 - HFSS 3D Layout
ANSYS HFSS 3D Layout is suitable for aiding in the design of the following multi-layer structures:
The following sections describe how to use HFSS 3D Layout to design and simulate multi-layer
structures for various materials, models, and excitations.
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Related Topics
Layout Links
Layout Links
Layout Links is a framework that allows for closer integration between Layout and external data
sources. It permits HFSS to host source-specific translation features and allows for plug-ins that
behave as “quasi-native” primitives, but can also use external data semantics.
Configure Ports for Dynamic Interaction with the Cadence Data Source
l HFSS can interact dynamically with an active Cadence session using IPC. Multiple clients
can be configured and ports specified from this dialog
l Purge conflicting net geometry: upon import, if the target layout already contains
geometry on a given net, delete it.
l Import diestacks: create and adjust layers and geometry using the SiP diestack
information.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Configure discrete components by configuring ports and creating local references for
surface mount devices (SMDs).
l Post-import callback by configuring a script to execute after design import.
l Implement naming conventions by specifying how to name imported pins.
l Cadence bondwire profiles can be loaded and used within HFSS Layout. Definitions
found in the HFSS <syslib> and at $CDSROOT/share/pcb/text/tech are automatically
loaded.
l Profiles are defined and parsed using the Cadence XML wirebond Document Type
Definition.
This requires that extracta.exe is executable on the local machine. Extracta is an unlicensed utility
provided by Cadence. Typically, however, a minimal Cadence installation is required to execute
this application. For this method, extracta.exe must be locally executable.
Export/Import
This is similar to the ANF data-transfer model. You can export an *.anx file from a different machine
as a stand-alone file and import it to leverage all the Layout Links features.
Client/Server Interaction
For this, you need to be working in the APD environment, so a Cadence installation and license are
required. This also requires Layout Links integration be installed and configured for the SPB
environment. Currently, this must be downloaded and manually configured.
Circuit elements provide a simple and flexible approach to include the effects of lumped circuit
elements, or more generally, to include black box representations as S-parameters directly in the
HFSS solution. One benefit of this is to reduce the number of excitations required compared with
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
making circuit connections outside of HFSS in a circuit simulator. Reducing the number of
excitations will typically reduce the simulation time.
The only restriction on the placement of circuit elements and ports is that there may not be any gap
or wave ports located directly between the terminals of the circuit element/port. While adding a
circuit element/port to a design does not explicitly add any conductive material between the
terminals, it does add a current path which interferes with any gap or wave ports in between. Such
intersections are usually an unintended consequence of using a highly conductive circuit element to
add a current return path to a design and can usually be avoided by one of four methods:
l The intersecting wave ports or gap ports can be switched to circuit ports.
l The circuit element can be re-routed by moving the terminals.
l Two separate circuit elements can be used to connect the terminals to a common ground
plane or an explicit return path in a separate signal layer.
l If the intersecting ports are horizontal gap ports in a signal layer with non-zero thickness,
they can be switched to align with the upper surface of the layer.
HFSS SoD
HFSS SoD supports simulation of two-port models, as well as Parallel and Series RLC ideal
components. Additionally, HFSS 3D Layout can simulate N-port models. The HFSS solver models
two terminal circuit elements by assuming a constant impressed current between the two
terminals. HFSS 3D Layout also assumes this current has no radiative coupling to the structure.
These assumptions are valid when the separation between the two terminals is electrically short,
which is typically the case for such devices as surface mount resistors and capacitors. To add one
of these components, right-click on 'Circuit Elements' and select 'Add Nport Model', 'Add Series
RLC' or 'Add Parallel RLC'.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
You can also choose to “Import Component Mapping File” or “Import Component File”.
l Import Component Mapping File opens a dialog to select a *.dat partmap file. HFSS
will read the partmap file and create (or re-assign) and orient circuit-elements for given
components.
l Import Component File opens a dialog to select a *.cmp file. HFSS will read this cmp
file and create (or re-assign) circuit-elements.
Once circuit elements have been added to an HFSS 3D Layout they appear under the Circuit
Elements tree item.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Properties of the RLC components can be edited in the properties window and R, L and C can be
disabled.
Note Components that do not have footprint geometry are initially rendered on the Symbol layer.
When the component is first wired to an object on a physical layer, it will then render on that
physical layer. For more information see Components with a Symbol Footprint.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l You can choose to save solution files in binary mode for new projects.
l Enable Schematic controls whether new HFSS 3D Layouts, and designs imported from
ANF files, have Schematic enabled or disabled. By default EnableSchematic is checked
(enabled).
— If you disable the Schematic for a specific design, it cannot be re-enabled, and you
will receive a warning that you will lose all Schematic information and be unable to
enable Schematic again for that design.
l If Save before solving is set, and a major edit has been made, then the project is saved if
a solve is started. Also, if we create a new project and start a solve, then the Save As
dialog is popped up and the user is prompted to save the project before he can continue
with the solve. If this option is unchecked, the project won't be saved before a solve.
Note If the user does not have permissions to write to the project folder, or if one of the
files in the project folder is read-only, then choosing Save or Analyze will display a
user prompt to save the project to another location first. Canceling the SaveAs will
cancel the Analysis.
The specified dialog settings will be used for all projects, unless explicitly overridden in a design.
It is possible to have a project in which some designs have schematics enabled and other designs
have schematics disabled; in this case:
— Objects cannot be copied from designs without schematics into designs with schematics.
— Objects can be copied in the opposite direction: from designs with schematics into designs
without schematics. But the copy operation does not contain schematic-specific information, and
the paste option is disabled.
In the Project Tree, right click on a design and select Design Settings to open the settings dialog.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Automatically use causal materials which will cause some objects to be treated as
frequency dependent.
l Selecting Save as default and saving the dialog will save the causal material setting to
the registry.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The Nexxim Options tab allows you to configure options for Nexxim setups.
l Use circuit S-parameter definition — Controls the definition for port impedances. For
HFSS 3D Layout, this option should typically be unselected (check box unchecked). The
definition of a “matched port” depends on the application. In applications that deal mostly
with circuit quantities (including the Nexxim simulator), a “matched port” has a
characteristic impedance that maximizes the power transfer. This is also called a
“conjugate match.” In applications that deal mostly with electromagnetic quantities
(including HFSS and Planar EM), a “matched port” has a characteristic impedance that
maximizes the transfer of the voltage wave. The two definitions differ only by the
conjugate of the characteristic impedance of the port. For real port impedances, there is
no difference.
l To transform from time to spectral domain use — Allows you to select the method
used to transform from the time domain to the spectral domain for all projects.
— Fourier Integration is very accurate but may be time-consuming for large data
sets. The Fourier Integration method computes the projection of the signal on each of
the requested harmonics via integration of the inner-product integral.
—FFT (Fast Fourier Transform, the default) achieves faster conversion with a slight
reduction in accuracy. The FFT method samples the signal at 2*(maximum harmonic
number) points, and outputs the FFT of the sampled signal. The FFT method may not
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Selecting Save as default and saving the dialog will save the causal material setting to the
registry.
The Export S Parameters tab lets you Set/View Export Preferences and specify whether to
Export Touchstone file after completing frequency sweep.
Clicking the Set/View Export Preferences button opens the SYZ Data Export Options dialog.
The dialog contains a range of choices for Output format, including advanced options.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The SYZ Data Export supports 2 types of export: touchstone export and broadband export.
If you choose the touchstone export option, at the end of a simulation raw s-parameter data is
exported either in Touchstone 1.0 or Touchstone 2.0 as selected by the user.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
If you choose the broadband option, at the end of a simulation the s-parameter goes through a
fitting based on the export options selected and data is exported either in Touchstone 1.0 or
Touchstone 2.0 as selected by the user.
Selecting Save as default and saving the dialog will save the export settings to the registry.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note Some of these tasks may not be applicable to your designs. Not all designs require cavities
or N-ports.
If the check box “Show this dialog on new design” is checked, the dialog will always show when
a new design is inserted. If the check box is unchecked, the next time a new design is inserted
the dialog will not be displayed and a design will be inserted using the chosen technology from
the last insertion.
2. Select an existing EM technology from the list or click None if you want to manually add the
model’s metal and dielectric layers.
A new project is added to the project tree. The project includes a new design named
HFSS3DLayoutn by default, where n is the order of the design in a potential series of designs.
Sublevels named Data, Excitations, Analysis, Optimetrics, and Results are automatically
added below the design name in the project tree, storing data about the current project.
The Layout view window also appears. You may now create or edit the design layers. To edit
the design layers, use The Edit Layers Dialog.
A stackup in laminate mode shows each layer stacked on top of the one below.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l The lower and upper elevation columns are not visible by default but can be turned on by the
user. The thickness of layers may be edited but not the lower elevation. Layers may be
reordered by dragging a layer to a new position in the grid control.
l The Dielectric Fill column specifies the material to use to fill in around geometry on the layer.
The dielectric material can be chosen in the same way that layer material is chosen.
Laminate mode stackups have dielectric fill specified for signal layers.
Each technology file you create includes the layers’ material property, units, thickness, elevation,
and roughness data. This information is stored in an .asty file in the \userlib folder.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
3. Click Open.
The technology file you selected is listed in the project tree as EMn by default, where n is the
order of the design in a potential series of designs. Sublevels named Data, Excitations,
Analysis, and Results are automatically created below the design name in the project tree,
storing data about the current project.
The Layout view window also appears. You may now create or edit the design layers.
User-Defined Components
1. In the project tree, expand the Definitions folder and the Components subfolder for the
project that contains the component you want to examine.
2. Double-click the component entry, or right-click the component entry and select Edit
Component to open the Edit Component dialog.
Library Components
1. Select Tools > Edit Libraries > Components to open the Edit Libraries dialog, then select
the component you want to edit.
2. Click Edit Component, or double-click the selected entry, to open the Edit Component
dialog.
When the EditComponent dialog opens, it displays the definition of the selected component.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The physical definition of a component can be verified using the information displayed by the
dialog. In particular, information related to the footprint of a component is displayed in the dialog.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Local Origin — The origin of the 3D Coordinate Manipulator in the component's global
coordinate system.
l Rotation Axis — The axis around which the rotation is applied. The rotation axis can be X,
Y or Z.
l Rotation Axis Direction — The direction of the rotation axis in the layout's coordinate
system.
l Rotation Angle — The rotation angle around the rotation axis.
1. The component is rotated to align the local Rotation Axis (Z) with the Rotation Axis Direction
vector (0, 0, 1).
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
2. A Rotation Angle of 90 degrees is applied to the component about the local Rotation Axis
(Z).
Related Topics
Substrate Stackup
Layout Stackup
Footprint Stackup
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Substrate Stackup
By default, when a component is placed, AEDT automatically associates a substrate definition with
the CompInstance. Not all components need substrate definitions. If it is present, the Substrate
definition will be shown in the Substrate property in the CompInstance tab.
The Substrate property menu shows all defined substrates for this Circuit Design. The menu may
also have the choice <none> to allow changing to a component that doesn’t use a substrate
definition (see Using Component Groups). The menu contains the New command which will open
the Substrate Definition dialog.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
In this dialog, you have the option of either manually entering data describing the substrate or you
can specify that the data be taken from layers defined for the layout stackup (see Layout Stackup).
Substrate Definitions are all listed in the Project Tree under the Data folder for the Circuit Design.
Double clicking one of these icons will open the Substrate Definition dialog (see above) so that the
definition can be edited.
l When the bottom dimension of the stackup is larger than the top, the etch factor is positive.
l When the top dimension is larger than the bottom, the etch factor is negative.
For example, with a positive etch factor, a transmission line with a 2mm nominal width will be 2mm
wide on the bottom and narrower at the top. While the same transmission line with a negative etch
factor will be 2mm wide on the top and narrower at the bottom. An etch factor of 0 means no etch,
and the top and bottom dimensions are the same. Also, very large etch factors — both positive and
negative — result in little or no etch.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
In HFSS, only signal layers can have an etch factor, dielectric and negative signal layers do not.
HFSS supports an etch ratio that is referred to as the HFSS Etch Factor, and this etch is used
when the mesh is created for an HFSS simulation. Note, however, that the etch is not applied to
geometry drawings in the 3D layout view.
Layout Stackup
To access the stackup definition while working in the Layout Editor, select Layout > Layers. If you
are working in the Schematic Editor, select Schematic > LayoutStackup. This opens the Edit
Layers Dialog.
You can now use the Edit Layers Dialog controls to insert or remove layers and configure the
various layer attributes and to configure stackup layers.
Footprint Stackup
To access the footprint stackup, after the component has been placed in the Layout Editor, right-
click the component and select Edit Footprint from the pop-up menu. This opens the Footprint
Editor. Then, from the Footprint pull-down menu, select Edit Layers, which opens the Edit
Layers Dialog.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
You can now use the Edit Layers Dialog controls to insert or remove layers and configure the
various layer attributes and to configure stackup layers.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
When the Treat as infinite ground option of the Solver Options dialog is selected, that allows
you to model a signal as ground plane. The following diagrams illustrate the difference when a
signal is modeled as a ground plane.
Note It is important to note that when a signal is modeled as a ground plane, only the holes are
modeled.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
1. Select the sub-design in the layout editor (without pushing down into it).
2. Set the placement layer use the “PlacementLayer” attribute.
l The HFSS 3D Layout ignores sub-designs with independent stackups during analysis; a
warning is issued.
l For HFSS, a consistent mesh that includes all sub-designs is constructed. If negative
signal layers intersect, the mesh will fail to generate.
l HFSS 3D Layout attributes within the black-boxes are ignored (e.g. boundary conditions).
l Ports must be added at the analysis level; ports internal to any sub-design are ignored.
l Ports can be referenced to negative signals or metal on a signal layer within the sub-
design containing the physical port location or any parent design.
Note The stackup cannot be inverted; the lower elevation of the black-box stackup is always
aligned with the top of the placement layer.
Note The entire combined geometry is simulated by HFSS; any existing results for the
independent sub-design are not re-used.
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
When Level 2 is enabled for SIWave parametric setups, the first level distributes variations and the
second level (SIWave solver) distributes frequencies.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Microstrip line
l Quarter-wave transformer
l Tuning stub
l Rectangular patch
l Circularly polarized (CP) patch
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Use this command to estimate the characteristic impedance of a microstrip or stripline from the
width you specify.
1. Select the signal layer on which the microstrip line lies from the list.
If the selected layer is an infinite negative signal layer, a CPW line is assumed.
2. Click T-Line>Impedance.
Parameter input boxes appear in the right portion of the Estimate module’s window.
3. For trace layers, enter the width of the microstrip line in the Width box. The units for the line
width are the same as the current working units.
4. For infinite negative signal layers, do the following:
a. Type the width of the first line in the Width1 box.
The units for the line width are the same as the current working units.
The characteristic impedance corresponds to the line width you specified. The units for
impedance is ohms.
Estimating Width
Use this command to estimate the width of a microstrip or stripline from the characteristic
impedance you specify. This command is not applicable for a CPW line.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Estimate parameters and results boxes appear in the right portion of the Estimate window.
3. Type the characteristic impedance, in ohms, of the microstrip line in the Impedance box.
4. Click Calculate to display the estimated width.
The line width corresponds to the specified impedance. The units for the width are the same as
the current working units.
You can estimate the guided wavelength and the effective relative permittivity of a stripline or
microstrip line from a given width and frequency.
If the selected layer is an infinite negative signal layer, a CPW line is assumed.
Parameter input boxes appear on the right side of the Estimate module’s window.
3. For trace layers, type the width of the microstrip line in the Width box in the current working
units.
4. For infinite negative signal layers, do the following:
a. Type the width of the first line in the Width1 box.
The units for the line width are the same as the current working units.
This frequency is independent of the maximum frequency entered in the solution setup.
Guided Wavelength Displays the guided wavelength in the current working units.
Effective Relative Displays the effective relative permittivity.
Permittivity
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The estimated guided wavelength and effective relative permittivity correspond to the line width
and frequency you specified.
Use this command to estimate the line loss of a microstrip line from the width and frequency you
specify. This command is not available for trace layers between two infinite negative signal layers.
The units for the width are the same as the current working units.
This frequency is independent of the maximum frequency entered in the solution setup.
Conductor Displays the estimated loss due to finite conductivity and thickness of the
Loss metal.
Dielectric Loss Displays the estimated line loss due to imperfect dielectric materials.
Total Loss Displays the sum of the conductor loss and the dielectric loss of the line.
The Quarter-Wave transformer and the Tuning Stub commands offer two different ways of
matching an input impedance to a load impedance. While quarter-wave transformers are more
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
commonly used, tuning stubs may occupy less physical space. Tuning stubs can also be used to
match a real input impedance to a complex load impedance, whereas quarter-wave transformers
are used only with real input and load impedances.
Note The Impedance Match commands are only available for trace layers.
l The numbers computed by this command are for the selected layer and are rough estimates
only. Depending on the substrate parameters, the dimensions of the quarter-wave
transformer most likely will be different for metals on different layers; therefore, it is important
that you select the desired signal layer first.
l The values estimated by this command may not agree exactly with the values computed by
the simulation engine. This command is meant to help you obtain a first iteration design. If
you are designing a quarter-wave transformer, you can use the rough dimensions provided
as a starting point. Once you have these, you can draw and simulate the structure, then fine-
tune the design.
Impedance Displays the impedance required to match the input impedance to the load
impedance. The unit for impedance is ohms.
Width Displays the line width of the quarter-wave section in the current working
units.
Length Displays the line length of the quarter-wave section in the current working
units.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Use the Impedance Match>Tuning Stub command to obtain an estimate of the location and the
dimension of a tuning stub for matching an input impedance to a complex load impedance. The
tuning stub is assumed to be an open-ended stub. If you have a microstrip line terminated in a
complex load impedance, you can also use this command to estimate the location along the
microstrip line where the input impedance, looking toward the load, is purely resistive.
l The numbers computed by this command are rough estimates only. Depending on the
substrate parameters, the patch parameters may be different for patches on different layers;
therefore, it is important that you select the desired signal layer before accessing this
command.
l The estimated values may not agree exactly with the values computed by the simulation
program. This command is meant to help you obtain a first iteration design. If you are
designing a tuning stub, you can use the rough dimensions provided as a starting point.
Once you have these, you can draw and simulate the structure, then fine-tune the design.
Location, Displays the estimated location for the tuning stub in the current working units.
D This is the distance measured from the load impedance along the microstrip
line.
Length, L Displays the estimated line length for the open-ended stub in the current
working units. The width of the stub is assumed to be the same as width of the
microstrip line specified in the input area.
Distance Displays the location along the microstrip line where the input impedance,
Away looking toward the load, is purely real. The estimated location is the distance
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
measured from the load along the microstrip line. The unit for the distance is
the same as the current working units.
Real Displays the impedance value at the location along the microstrip line where
Impedance the input impedance, looking toward the load, is purely real.
The following figure displays the location and line length for an open-ended stub. The width of the
stub is assumed to be the same as the width of the microstrip line specified in the input area:
The following figure displays the location along a microstrip line where the input impedance is
purely real:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Use the CP Corners Truncated and CP Nearly Square commands to obtain estimates on the
dimensions of two different types of singly fed CP patches. To generate circular polarization on a
patch using a single feed, you must excite two orthogonal modes on the patch. To obtain two
orthogonal modes on a patch, you generally start with a square patch and perturb the element. You
can perturb the element by cutting away two opposite corners of the patch or by extending one of
the sides slightly. The following figure demonstrates the two types of singly fed CP patches:
Use this command to estimate the dimensions of a corners-truncated, circularly polarized (CP)
element. The feed points for these patches are not arbitrary. For a corners-truncated patch, you
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
need to feed the patch along the center line of the patch in order to excite the two orthogonal
modes.
l The values estimated by this command are for the current active layer only. Depending on
the substrate parameters, the patch parameters may be different for patches on different
layers; therefore, it is important that you select the desired signal layer before accessing this
command.
l This command is disabled if your structure does not contain negative signal planes or if it
contains two negative signal planes and you have selected a signal layer between them.
l The method used to estimate the patch parameters is an approximate method based on the
cavity model; therefore, the values given are only rough estimates.
Square Displays the estimated dimension of the unperturbed square patch in the current
working units.
Length
Corner Displays the estimated dimension of the corner to be cut away from the
unperturbed square patch in the current working units. The shape of the cut-away
Length corner is a right angle triangle having two equal sides along the edges of the
patch.
Use this command to estimate the dimensions of a nearly square, circularly polarized (CP)
element. The feed points for these patches are not arbitrary. For a nearly square patch, you need
to feed the patch at the corner of the patch.
l The values estimated by this command are for the current active layer only. Depending on
the substrate parameters, the patch parameters may be different for patches on different
layers; therefore, it is important that you are on the desired signal layer before accessing this
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
command.
l This command is disabled if your structure does not contain negative signal planes or if it
contains two negative signal planes and you have selected a signal layer between them.
l The method used to estimate the patch parameters is an approximate method based on the
cavity model; therefore, the values given are only rough estimates.
Horizontal Displays the dimension of the perturbed patch in the horizontal or x direction
Length in the current working units.
Vertical Displays the dimension of the perturbed patch in the vertical or y direction in
Length the current working units.
Use this command to obtain a rough estimate of the resonating length of a rectangular patch. This
command also estimates the bandwidth and the radiation efficiency of the patch as well as the
location on the patch that corresponds to a user-specified impedance value.
l The method used is an approximate method based on the cavity model. The numbers
estimated by this command are only rough estimates. Depending on the layer parameters,
the patch parameters may be different for patches on different layers; therefore, it is
important that you select the desired trace layer before using this command.
l The estimated values may not agree exactly with the values computed by the simulation
engine. The purpose of this command is to help you obtain a first iteration design. If you are
designing a patch, you can use the rough dimensions as a starting point. With these, you can
draw and simulate the structure, then fine-tune the design.
l This command is disabled if your structure does not contain negative signal planes or if it
contains two negative signal planes and you have selected a signal layer between them.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
For a rectangular patch, the resonating edge of the patch is along the horizontal, or x, direction
and the non-resonating edge is along the vertical, or y, direction. This box is disabled if the
Square Patch option is selected.
6. Enter the desired voltage standing wave ratio (VSWR) in the VSWR box. The number
entered must be greater than or equal to 1. This value is used to estimate the bandwidth of
the patch.
7. Enter the desired input impedance in the Input Impedance box, in ohms. The number you
specify must be greater than 0. This option is useful for finding an optimal location for feeding
or loading the patch. When the estimate is calculated, HFSS will estimate a location on the
patch where the input impedance is close to the value you specified.
8. Click Calculate to perform the estimate. The estimated information appears in the following
boxes:
Horizontal Displays the estimated length for the resonating edge of the patch antenna.
Length, L The units are the same as the current working units.
Bandwidth Displays the estimated bandwidth (in percent) at the VSWR setting you
(%) specified for the patch antenna.
Radiation Displays the estimated radiation efficiency (in percent) for the patch antenna.
Efficiency
(%)
Impedance Displays the approximate location on the patch where the input impedance is
Location close to the impedance you specified. This location is specified by a horizontal
offset and a vertical offset. The Horizontal Offset and Vertical Offset boxes
display these offset values. The horizontal offset value is the distance along
the x direction relative to the lower-left node of the patch. The vertical offset
value is the distance in the y direction relative to the lower-left node of the
patch. The unit for these boxes is the same as the current working unit.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Microwave Convert between mismatch loss in dB, reflection coefficient, return loss in dB,
Parameters and voltage standing wave ratio (VSWR).
dB/Ratio Convert between dB and ratio for both power and voltage values.
Exchange
l Mismatch loss in dB
l Reflection coefficient
l Return loss in dB
l Voltage standing wave ratio (VSWR)
1. Select the microwave parameter you want to convert - Mismatch Loss (dB), Return Loss
(dB), Reflection Coefficient, or Standing Wave Ratio. Mismatch Loss (dB) is selected
by default.
A value input box appears to the right, corresponding to the selected parameter.
2. Enter a value for the selected parameter in the value input box.
3. Click Calculate to calculate the equivalent values for the other three parameters.
where
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The equivalent values for the other three parameters appear below in the Estimate Results
area of the Estimate module.
Use this command to convert dB and ratio for both power and voltage values.
1. Select the parameter to convert from — either dB or Ratio. A value input box appears to the
right, corresponding to the selected parameter.
2. Enter a value for the parameter selected.
3. Click Calculate.
4. The calculated dB or ratio value appears below in the Estimate Results area of the Estimate
module.
5. Select the type of unit measurement, Power or Voltage, for the calculated value.:
Power Uses the power value, such as gain, for calculating dB:
Voltage Uses the voltage value, such as fields, for calculating dB:
The calculated results for the selected unit are shown above in the Estimate Results area of the
Estimate module.
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Renormalizing S-Matrices
De-embedding S-Matrices
Differential Pairs
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
A circuit port will be created with the selected edge as its positive terminal and the nearest ground
plane as its negative terminal.
To create a circuit port between two edges, select a pair of edges from different conductors, right-
click and select Port > Create Circuit Ports from the floating menu.
The first selected edge defines the positive terminal and the second selected edge defines the
negative terminal of the port.
Circuit ports can also be introduced in a point-to-point manner. With no edges selected, right-click
and select Port > Create Circuit Ports from the floating menu.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
A dialog box will appear that allows the selection of a layer for each terminal.
The edge port is listed under Excitations in the project tree. To edit the port’s properties, double-
click the edge port in the project tree. The Edge Port Definition dialog box appears.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
A port can be split across multiple signal layers. It can be made of up to three different line
segments on three different primitive objects. Ports located over apertures in negative signal
planes can generate incorrect results. HFSS will automatically display a warning message if
referencing a gap source to the nearest negative signal would produce such an error.
Note Renormalization is ignored if it is set to zero, but de-embedding is still honored. The
following warning message is produced for all ports with a zero post-processing
renormalization impedance: Zero impedance on port '<arg1>' is ignored; renormalization
will by skipped for this port.
The new pad port is listed under Excitations in the project tree.
HFSS will calculate a characteristic impedance of 50 ohms for the pad port. The propagation
constant is set to the propagation constant in Teflon, in order to agree with the propagation
constant of coaxial probe ports.
To edit the pad port’s properties, double-click the pad port in the project tree. The Edge Port
Definition dialog box appears, in which you can perform the following functions:
Note The desktop automatically defines all ports that connect N-ports to primitive objects as pad
ports.
Warning In a stripline environment, the additional vertical current that results from using the
Reference option to the nearest negative signal may excite the parallel plate mode —
which could create inaccurate results.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
To create a probe port, you follow much the same procedure for drawing a via, but select
coaxialexcitation as the Excitation/load type.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
a. Specify the top layer — a signal or negative signal layer — at which the via terminates.
b. Select a load type from the Excitation/load type pulldown menu. If the top layer
contains the load, select coaxial excitation as the load type. You may only define a load
at one end of the probe. The load on the other end is then set to zero.
c. If coaxialexcitation is not listed, check whether the coaxial excitation is defined at the
other end of the via. If coaxial excitation is not listed at either end of the via then the via
needs to be converted to a coaxial probe.
d. If you selected complex, type the real portion of the complex load in ohms in the Real
text box. Then type the imaginary portion of the complex load in ohms in the Complex
text box.
e. If you selected any RLC combination, do the following:
l Type the resistance value in ohms in the R text box. It must be a positive or zero
value.
l Type the inductance value in the L text box. It must be a positive or zero value.
l Type the capacitance in picofarads in the C text box. It must be a positive value.
f. Type the desired current in amps in the Magnitude text box.
Generally, use the default value of 1 mA. This specifies that the solution’s current is scaled in such a
way that the excitation current delivers 1 milliamp. To view the solution at another current, enter a
positive value. Only modes with non-zero magnitudes are used in post processing.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Generally, use the default value of 1 mA. This specifies that the solution’s current is scaled in such a
way that the excitation current delivers 1 milliamp. To view the solution at another current, enter a
positive value. Only modes with non-zero magnitudes are used in post processing.
— Number of sides: Defines the n-sided prism to use when meshing the via.
c. Via field — For a large number of vias filling a region, the Via field option simplifies the
field by thinning the vias within each via cluster on a layer. A cluster is defined as a group
of vias with roughly the same inter-via spacing. Thinning does not alter connectivity; all
geometry connected by a via remains connected.
— Relative min. via spacing: Thinning is based on the minimum average via
spacing across all layers. For a regularly spaced array of vias, this value is
simply the via spacing. A value of ‘10’ in this field is interpreted as ’10 via
spacings’, i.e. for a row of vias, only 1 in 10 vias will be used; for an area
filled with vias, approximately 1 in 100 vias will be used. Since vias are
thinned by cluster, and connectivity must be retained, the final pattern of
vias may be denser than the requested value.
d. Click the Via material button at right. The material browser appears. Follow the
procedure for assigning a material.
2. Click OK. The probe port is listed under Excitations in the project tree. Double-click the entry
in the project tree to edit the probe port’s excitation properties. Additional properties are
available in the Properties window.
Individual settings for a via take precedence over the more general settings described above. The
meshing properties of an individual via are set through HFSS 3D Layout Properties. The HFSS 3D
Layout via properties may be removed from a via without removing the via. Older projects may
have existing HFSS 3D Layout via properties for all vias. By default, vias no longer automatically
receive HFSS 3D Layout via properties.When working with a Probe, you can select Draw >
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Toggle Between Pin and Via to convert the Pin to a Via and then reconfigure the Via settings
using the options described in Drawing a Via in the Layout Editor.
Warning If a probe port has been defined, all other ports in the model must be gap source ports.
You may not combine traditional edge ports, which have de-embedding arms, with
probe ports.
A plane wave propagates in one direction, and is uniform in the directions perpendicular to its
propagation direction. The angle at which the plane wave impacts the device is known as the angle
of incidence.
The new plane wave is listed under Excitations in the project tree.
The plane wave is listed under Excitations in the project tree. The currents on the structure are
saved at every frequency. Large data files can be created for large structures. Double-click the
plane wave entry in the project tree to edit its excitation properties. The following controls are
available:
l Theta: angle in radians from the z-axis; must be in the range of 0 to less-than pi-radians.
l Phi: angle in radians from x-axis text box; must be in the range of 0 to 2x pi-radians.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l PlaneWave:H Mag: magnitude of the excitation for the horizontal (TM) polarization.
l PlaneWave:H Phase: phase of the excitation for the horizontal (TM) polarization.
l PlaneWave:V Mag: magnitude of the excitation for the vertical (TE) polarization.
l PlaneWave:V Phase: phase of the excitation for the vertical (TE) polarization.
Note that angles default to radians; degrees may be used if 'deg' is appended as a suffix, e.g.,
120deg.
Related Topics
1. Create two or more Edge Ports using the procedure described in Creating an Edge Port.
2. Use the Select elements tool to select the Edge Ports that you want to include in the layout
editor. (Do not use the SelectEdges tool.) The ports must lie in the same plane, be collinear
and cannot touch.
3. Right-click Excitations in the project tree (or open the Draw menu) and select
CoupleEdgePorts. The coupled ports now share the same port name, but have different
terminal names: <PortName>:<TerminalName>.
To decouple ports, click one or more of the coupled ports and right-click Excitations in the project
tree (or open the Draw menu) and select Decouple Edge Ports. Alternately, you can also
decouple by selecting a port beneath Excitations in the project tree and selecting Decouple
Edge Port. You can also decouple by deleting one or more of the coupled ports.
Related Topics
Coupled Ports
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The user can select “Push Excitations” from the right-click menu of a Nexxim solution. This opens
the Push Excitations Information dialog.
For pushing excitations to 3D Layout, there is a control for “Target Solution”. Its pulldown list shows
adaptive and discrete solutions that have the “save fields” option selected by default.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The “Port Excitations” option in the right-click menu that is accessed from the Excitations folder
also allows users to edit excitations at 3D Layout ports.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Voltages are extracted and a target solution is used to calculate the port excitations.
The excitation calculated for each port is also available from the “Port Excitations” dialog and from
Port Properties. Far Field plots and Field Overlays are updated with the new excitations.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Excitations that are pushed can be viewed by going to the sub-design and updating or plotting Far
Field and New Field plots or plots with currents. The Excitations panel in the sub-design will also
provide feedback if excitations have been pushed.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
A push excitation with a Thevenin Equivalent is configured through a dynamic link, with the
complex impedance defined in the Circuit Tool and with the antenna defined as an HFSS dynamic-
link sub-circuit.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Thevenin impedance values are calculated per pin and are pushed to HFSS when the
check-box is selected. The impedance is 0 ohms for shorted pins and is inf ohms for open
pins. These values are functions of frequency.
l For an HFSS discrete sweep, the push excitations, available power, and Thevenin
impedances are at HFSS sweep frequencies. For all other cases, pushed data corresponds
to frequency points from the Nexxim solution.
l The pushed renormalized port-impedances can be examined at the port properties. Pushed
source-settings can be viewed in the Edit Post Process Sources dialog.
l For pushing excitations to 3D Layout, there is a control for Target Solution. Its pulldown list
shows adaptive and discrete solutions that have the Save Fields option selected by default.
Error Handling
l If errors are encountered while calculating the impedances, a message will be posted and
excitations will not be pushed.
l If invalid excitation values are pushed to HFSS, error messages will be posted and the
pushed values will not be applied. Examples of invalid excitation values include:
At any time, the properties of the circuit element can be modified by selecting it in the layout and
changing the values in the Properties window or by double-clicking the circuit element and
modifying the values in the Properties dialog box.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
To complete the definition of the circuit element each port must now be connected to an edge of a
conductor. To define this connection, select the icon and left-click on a port of the circuit
element to select it.
Now select the icon and left-click on an edge of a conductor to select it.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
If the connection is not visible, make sure visibility is selected for “Rats” in the Layout Window.
Repeat the same procedure to define a connection for the second terminal.
Related Topics
When Auto Scale is enabled for a circuit element and two or more of the circuit element's pins are
connected, the circuit element is automatically scaled to fit the smaller of the dimensions of the
bounding box of the connections.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The Auto Scale property is checked, so when the second connection is made, the circuit element is
automatically scaled to fit. The circuit element is not moved, so some manual adjustment in location
may be needed to match the pins to the connected location.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
There is a Layout option that specifies the default setting of the Auto Scale property for circuit
elements added to a layout. This option is found on the Object tab of the Layout Options dialog. The
option defaults to on.
To add an Nport model to a design, right-click on Circuit Elements in the Project Manager window
and select “Add Nport Model”.
The Create Model Component dialog box will appear in which the component Model can be
created or edited, and an additional option controls the reference used to determine port voltages.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
To create a new Model, click the “Create new” button and the N-port data dialog box will appear.
From this dialog the component can either be defined by importing or linking to an existing definition
in a touchstone file, or by manually entering the S, Y, or Z Matrix entries into a spreadsheet.
Once the model has been created the component can be placed into a design and the ports
connected to edges of conductors as was the case for series and parallel RLC elements. There are
three cases to consider, based on the type of Reference Port selected in the Create Model
Component dialog. For “Implied reference to ground” each of N port connections must be defined.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
For “Show common reference port” an additional connection must be defined representing a
common reference for the definition of port voltages.
In this case the common reference is an edge in the ground plane. For “Add individual reference
pin per port” and additional N connections must be defined allowing for a different reference for
each port.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
In this case each port is referenced to a nearby edge in the ground plane.
Or can be accessed via the right-click menu for Excitations items and Boundaries items.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
You can use this dialog to modify port excitations, including post processing and renormalization
settings. Click Edit Options to open the Push Excitation Information dialog.
Note Renormalization is ignored if it is set to zero, but de-embedding is still honored. The
following warning message is produced for all ports with a zero post-processing
renormalization impedance: Zero impedance on port '<arg1>' is ignored; renormalization
will by skipped for this port.
If your model has a two-terminal excitation, you can override this default behavior by designating
the voltage reference for the port. Typical applications include referencing one signal line to
another (a differential pair,) or referencing a trace to a finite negative signal, either in-plane (a
CPW) or out of plane (a finite negative signal antenna.)
1. Select the edge on a signal layer that you want to be the reference surface.
2. Right-click the excitation in the project tree and select Add Reference.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Renormalizing S-Matrices
To renormalize an S-matrix to a specific port impedance:
1. Double-click the port in the project tree that you want to renormalize.
You do not need to re-run a simulation in order to renormalize a port. The 2D Reporter
automatically updates its reports to reflect the renormalized S-matrix.
Note Renormalization is ignored if it is set to zero, but de-embedding is still honored. The
following warning message is produced for all ports with a zero post-processing
renormalization impedance: Zero impedance on port '<arg1>' is ignored; renormalization
will by skipped for this port.
Related Topics
Renormalized S-Matrices
De-embedding S-Matrices
To compute a de-embedded or phase-rotated S-matrix:
1. Double-click the port in the project tree that you want to de-embed.
The 2D Reporter automatically updates its reports to reflect the de-embedded S-matrix.
Note Renormalization is ignored if it is set to zero, but de-embedding is still honored. The
following warning message is produced for all ports with a zero post-processing
renormalization impedance: Zero impedance on port '<arg1>' is ignored; renormalization
will by skipped for this port.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Related Topics
De-embedded S-Matrices
The Reference to a nearest negative signal option should be used when the port is over one-tenth
of a wavelength from the negative signal plane. If the port is closer than one-tenth of a wavelength,
referencing to the nearest negative signal is unnecessary.
Warning In a stripline environment, the additional vertical current that results from using the
Reference option to the nearest negative signal may excite the parallel plate mode —
which could create inaccurate results.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
1. Double-click the edge port in the project tree. The Edge Port Definition dialog box
appears.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
In general, you may use the default value of 1 volt. This specifies that the solution's current is
scaled so that the excitation source is 1 volt. To view the solution at a different excitation level,
enter a different positive value for Magnitude. Only modes with non-zero magnitudes are used
in post processing.
5. In the Phase text box, enter a phase of the voltage applied at the port.
6. Click OK.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Differential Pairs
A differential pair signal resides on two conducting traces in the presence of a ground plane. To
form the differential pair, the transmitter launches a wave that carries equal but opposite voltages
on the two traces. For example, one trace is +1 volt and the other -1 volt. When two traces are
routed in close proximity to each other, the waves traveling on those traces will exhibit similar
amounts of system noise. A differential pair is an effective way to remove noise from a signal
because when a receiver processes a differential signal it simply subtracts the voltages from the
two traces. This can dramatically reduce the amount of noise in the differential signal compared to if
the traces were driven individually (single-ended signals).
In HFSS, a differential pair can be defined for two terminals residing in the same wave port or for
terminals that reside in two different wave ports or lumped ports. In the case of wave ports,
matched differential pairs can be defined by not renormalizing the wave ports involved in the
differential pair definitions.
Related Topics
HFSS automates the following processes to ensure the successful setup of HFSS ports:
The following sections describe the setup and usage of the various HFSS ports available in HFSS.
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The port reference is specified in the Properties Window and choices are validated dynamically
against layout geometry.
If the port reference is not previously set, it defaults to the closest negative signal layer.
Related Topics
When configuring HFSS ports as single-line transmission ports, the edge selections must be a
continuous, co-linear set of segments.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
To convert between a lumped-gap and a wave port, toggle the HFSS Type Attribute in the HFSS
3D Layout Properties. The 3D view will be updated automatically. Additional properties that can be
set include:
— General properties: —
— Gap —
— Wave —
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
When configuring HFSS ports as multi-line transmission ports, wave ports are created by default,
but can be “decoupled” to create a collection of lumped-gap ports. To decouple a multi-line coupled
port:
1. Select the port graphically, or click Layout > List and then select the port
2. Click Draw > Decouple Edge Ports
Similarly, ports may also be coupled using Draw > Couple Edge Ports. Edge selection must be
co-linear, but can span multiple planes.
l Geometry intersections
l Floating terminals
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Solution will always be terminal, but differential-pairs may be configured separately using the
Differential Pairs dialog.
Pins are crucial in HFSS because they are a fundamental element in most layout data models, so
any translated designs will likely include them. While it is possible to interactively assign ports
based on edges and primitive geometry, this approach scales poorly, particularly when pins
already exist. Also, in HFSS, pins can be toggled to create internal PEC or RLC boundary
conditions just like HFSS-3D.
To place an interface port, click on the toolbar icon or use the right-click menu and select from the
Interface Ports submenu.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Interface Ports
Once interface ports are placed in layout, an Interface Ports item appears in the project tree.
l Properties: Invokes the Interface Port dialog; the user can add interface sources from this
dialog.
Interface Sources
When interface sources have been added to ports, they appear under this project tree item.
To see how ports and grounds are netlists, RMC on the LNA or Transient setup to browse the
netlist. Netlisting for ports, sources, and grounds is similar to that of a Circuit Design.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
1. Click Draw > Pin and place the pin at the desired location in the Layout Editor.
2. Set the PadstackDefinition or Usage in the Footprint Properties. Clicking Padstack
Definition will open the padstack definition library where you can select a different pre-
defined padstack. Clicking the Padstack Usage button will open the Padstack Editor where
you can modify the padstack used by this pin.
3. Select the terminal Location by setting the Pad port layer. The Pad port layer selection
will not be displayed if the padstack has no pads. Click the Padstack Usage button to adjust
the padstack if desired.
l Pad port layer: Sets the terminal location and pad-geometry used for derivation of the HFSS
port.
l Reference: If applicable, choose the geometry or layer for vertical constraint.
l HFSS Type: Either Gap or Gap(coax).
l Gap:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Gap(coax)
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
A Port-Instance Port is created and selected; the property window displays the properties of the
port.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
1. Select component(s).
2. Select Right-click > Port > Create Ports on Component
Creates ports on all the unconnected port instances of the selected component(s).
1. Select a component.
2. Select Right-click > Port > Remove Ports From Component
Gap(coax) Ports
The Gap(coax) lumped port is commonly used to excite terminals at package interfaces. Common
applications include excitation of vias, bondwires, and solderballs. Ports create circular geometry,
the 2D cross-section for which should resemble a coaxial conductor.
Note that, unlike other port types, terminal identification is performed post-mesh by the solver.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Because the terminal geometry of Gap(coax) ports often originates from unrelated and/or 3D
structures, their identification and most validation checks are deferred to post-mesh. The port-
solver searches for a valid terminal that is interior to the port-face in order to generate an
appropriate field distribution. Various checks are included, and accurate messaging is provided. If
applicable, pay particular attention to the LayerAlignment property, since the port face must
contain the terminal geometry.
1. Select the port you want to assign a reference to, either graphically or by clicking Layout >
List
2. Select the reference edge
3. Click Draw > Port > Assign Reference
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Reference assignment for an edge-port requires a coplanar and parallel edge to realize valid port-
geometry. Reference assignment to a pin can tolerate some geometry overlap.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
many ports at once, multi-select and change the properties all at once.
Selection, net highlighting, transparency, Z-scaling, and cross-sectioning in the 3D view are also
very useful for examining complex geometry.
Note Not all geometry types work with the Select Physically Connected command.
Connections through bondwires, solderballs, and 3D-extrusions cannot be tracked.
Note Enabling the reference in hierarchy will result in the removal of the properties: Reference,
PortSolver, Ignore Reference, and Pad port layer.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Each set of solution parameters to be solved by HFSS 3D Layout is listed as a setup under
Analysis in the Project Tree. To add a new solution setup to a project using initial meshing tools:
l On the HFSS 3D Layout menu, point to Solution Setup and click one of the following,
Or right-click Analysis in the Project Tree and click one of the following,
Or click the toolbar icon for one of the following:
The easiest way to set up a solution is to accept the Fixed Mesh and Frequency defaults that
appear in the HFSS 3D Layout or HFSS setup dialog box and then click OK , which automatically
opens the Sweep dialog. Simply click OK to accept the sweep with the suggested defaults.
Alternately, you can change the default values or add more setups by referring to one or more of
the following sections.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Related Topics
AMI Analysis Setup
Sanitize Layout
Clean Up Solutions
l Click HFSS 3D Layout > Solution Setup > Add HFSS Solution Setup
l In the Project Tree, Right-ClickAnalysis > Add HFSS Solution Setup
l Click the toolbar icon for Add HFSS Solution Setup
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Click the General tab of the Add HFSS 3D Layout Solution Setup dialog to access the following
settings.
The layout of the dialog changes depending on whether the Advanced button is selected. Some of
the options described below are shared by both the Advanced and Basic dialogs. The following
options are available.
Clicking the Advanced button will change the layout of the dialog to show the following options.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
— Include: Displays a check box indicating whether or not to include the value of this
output variable in the mesh convergence calculations.
— Max Delta: The maximum amount of change desired in the output variable
between adaptive passes. It is a stopping criterion for the adaptive solution. If the
output variable changes from one iteration to the next by an amount that is less than
Max Delta, the adaptive solution
l AddFrequency: To add a new frequency to the table click the AddFrequency button
under the table
l RemoveFrequency: To remove a selected frequency from the table, click the
RemoveFrequency button under the table.
Click the Advanced tab of the Add HFSS 3D Layout Solution Setup dialog to access the following
settings.
l Form polygon unions before meshing: specifies whether all objects are combined or
“unioned” before meshing takes place. This can simplify the mesh; it can, however, also
remove internal boundaries that may be desirable. “Unioning” is a complex operation and
sensitive to almost coincident edges; it some instances, a union may produce undesirable
results. Inspecting the mesh is a simple way to verify the operation.
l Use polygon defeaturing: removes very close points, points that don't contribute to the
geometry of an edge (e.g. collinear), and very thin intrusions. When used with “unioning”, it
can be helpful in healing geometry that isn't snapped together.
l Tolerance as a ratio of the data exent: tolerance value specified as a ratio of the
overall data extent; this value must necessarily be very small.
l Absolute distance: tolerance specified as an absolute value, e.g. 0.0001mm
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Vias: vias may be modeled as a simple 'wirebond' or as a 3D ribbon or solid. Note: the
values specified in the analysis setup only apply to vias that do not have specific property
overrides; all properties explicitly specified for a via take precedence over these values.
l Mesh as a 3D via: vias are modeled using rectangles to form a 3D ribbon or solid.
l Via field: it may be possible to reduce the density of via fields and model them using
wirebonds without significant loss in accuracy.
— Relative min. via spacing: defines a radius around a via; any via that falls within
that radius is eliminated. The value specified is a multiple of the average via spacing
(the algorithm considers the averages for all via clusters and uses the minimum
average spacing). If all vias are spaced equally, then a value of 1 would knock out
every other via; a value of 2 would filter out 2 vias between each via.
l Via material default: when a material hasn't been specified in the padstack definition
and there is no override in the properties for a via, then this will be the material associated
with the via mesh.
Click the Options tab of the Add HFSS 3D Layout Solution Setup dialog to access the following
settings.
l Initial Mesh Options: options that define the initial mesh (before adaption).
l Do Lambda Refinement: Lambda refinement is the process of refining the initial mesh
based on the material-dependent wavelength.
l Lambda Target: the fraction of the wavelength that determines the refined tetrahedra
edge length, e.g. if the value is '0.1' then a edge length of 0.1* is used as the refinement
target.
l Use Defaults: the Target defaults depend on the Order of Basis function selections. For
example, for Driven solutions and a First Order basis function, the default target is 0.3333;
HFSS will refine the mesh until most element lengths are approximately one-third
wavelength.
Adaptive Options:
l Maximum Refinement Per Pass: determines how many tetrahedra are added at each
iteration of the adaptive refinement process. The tetrahedra with the highest error will be
refined. The value is a percentage.
l Maximum Refinement: the maximum number of tetrahedra that can be added during an
adaptive pass. By default, this unchecked, to that there is no maximum. If you enable the
Maximum Refinement, the initial value is 1000000.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Minimum Number of Passes: the maximum number of mesh refinement cycles that you
would like HFSS to perform. This value is a stopping criterion for the adaptive solution; if
the maximum number of passes has been completed, the adaptive analysis stops. If the
maximum number of passes has not been completed, the adaptive analysis will continue
unless the convergence criteria are reached.
l Minimum Converged Passes: an adaptive analysis will not stop unless the minimum
number of converged passes has been completed. The convergence criteria must be met
for at least this number of passes before the adaptive analysis will stop
Click the Advanced Meshing tab of the Add HFSS 3D Layout Solution Setup dialog to access the
following settings.
l Circle and arc approximation: circles and arcs must be replaced with straight edge
approximations before meshing. There is no attempt to match areas; points are simply
introduced on the original arc at the locations specified by the following parameters.
l Arc setup size: the angular interval below which mesh points are added.
l Starting azimuth for circles: specifies the location of the first mesh point or circles.
l Maximum number of arc points: the maximum number of mesh points on a given arc
segment.
l Use arc to chord error approximation technique for arc: the resulting straight edge
approximation will not deviate from the original arc by more than the specified error.
Click the Solver tab of the Add HFSS 3D Layout Solution Setup dialog to access the following
settings.
Port Options
l Maximum Delta Zo: change to Zo specified as a target percentage. The default is 2%.
l Use Radiation Boundary On Ports: If the design includes wave ports, the Use
Radiation Boundary is enabled.
— If you select this setting, edges which are assigned to ABC and touch a port have a
radiation boundary condition applied during the port solution.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
— If you do not select the setting, a perfect conducting boundary condition is used
during the port calculations.
— In most cases this setting has a limited effect on the overall fields or post
processed quantities.
l Set Triangles for Wave Port: controls the number of triangles used for a wave port. For
designs with lumped ports, this option is not active. Higher numbers of triangles would not
benefit a solution setup in this case.
Modeling Options
l Signal layers thinner than <value> are modeled as zero thickness: negative signal
layers in the design which are thinner than the given value are modeled as being infinitely
thin in order to reduce simulation time.
l Dielectrics thinner than <value> are merged with an adjacent: dielectric layers in
the design which are thinner than the given value are merged into an adjacent dielectric;
material properties are accumulated using a weighted average.
Solution Options
l Order of Basis Functions: the order of the basis functions HFSS uses to interpolate
field values from nodal values. The Zero order option is useful when a model requires a
mesh that produces more than 100,000 tetrahedra, but the model size is small compared
to wavelength. The higher order options solve progressively more unknowns for each
tetrahedra. Mixed order uses higher order where more accuracy is required, and lower
order where fields are weaker.
l Enable Iterative Solver: the iterative solver provides an alternative to the multi-frontal
solver when a matrix is well-conditioned for an iterative solution. The iterative solver
significantly reduces memory usage, and it can also provide a savings in the solution time
for large simulations. When this option is enabled, HFSS automatically invokes the
iterative solver when it decides that the matrix is conditioned well enough to take
advantage of the iterative approach. HFSS uses the multi-frontal solver if the matrix does
not meet this requirement.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l If you are solving an HFSS Transient problem, the solver will not checkout hfss_solve
(regular solve license). We will only checkout a hfss_transient_solve license. For HFSS
Transient problems and HFSS array problems, we will always use HPC licenses for
multiprocessing (even if you have NOT chosen the Use HPC licenses for
multiprocessing and distributed frequency points option).
l For HFSS-IE problems an hfssie_solve license is required. For HFSS problems with
radiation boundaries and Use IE Formulation checked, a hfssie_solve license is required
in addition to the hfss_solve.
l Number of Machines => the number of machines listed in the Distributed Machine
Configuration in the General Options.
l For multiprocessing and frequency sweeps, check Use HPC licenses for
multiprocessing and distributed frequency points. This option also enables an
additional check box, Enable distributed Optimetrics using DSO license.
l If you have a DSO license, checking Enable distributed Optimetrics using DSO
License will distribute at the highest level (i.e. distribute the variations), which is most
efficient.
l If you have HPC and no DSO, clear the Enable distributed Optimetrics using DSO
License option so that HPC can be used to distribute frequency sweeps in an Optimetrics
solution.
Click the Defaults tab of the Add HFSS 3D Layout Solution Setup dialog to access the following
settings.
l Save Defaults: Save user-defined defaults based on the data for this setup (for all tabs).
l Revert to Standard Defaults: Clear any existing user-defined defaults (for all tabs).
Automatic adaptive meshing in HFSS is an essential and integral part of the simulation process. An
appropriate mesh that supports electromagnetic FEM calculations is essential for obtaining
accurate results. In HFSS, meshes are produced automatically, ensuring efficient simulations in
generating highly accurate results. During the simulation process, HFSS creates the initial mesh
and then starts the adaptive refinement process in which Maxwell’s Equations are solved and the
mesh is intelligently refined. This adaptive refinement process continues until the solution is
converged and accurate.
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Sub-designs with 3D placement must typically be solved independently. If, however, the 3D
orientation does not rotate the sub-design out of the X-Y plane, then it will be meshed and included
in the analysis of the parent. The user may override this by selecting the "SolveIndependent"
property for the sub-design. A design will remain in the X-Y plane if there are no rotations about the
X or Y axes, or if those rotations are 180 degrees, i.e. the design is flipped about X or Y.
Each HFSS Setup can be assigned a sequence of mesh operations. Within HFSS 3D Layout,
Length Based Mesh Refinement is supported. Due to the manner in which HFSS 3D Layout pre-
processes geometry and assembles mesh entities, mesh operations are assigned to net-layer
pairs.
1. In the Layout editor, pick any selectable(s) on the net-layer pair(s) for assignment. This is
optional. The selection will be used to initialize the assignment dialog.
2. Right-mouse click on the HFSS Setup and choose Mesh Operations > Assign >
On/Inside Selection > Length Based
3. Select the desired net-layer pairs and assign the seeding attributes.
a. On Selection
2. Type the maximum length of the tetrahedral edges touching the faces in
the Maximum Length of Elements text box.
HFSS will refine the element edges touching the selected faces until their
lengths are equal to or less than this value.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
b. Inside Selection
i. To restrict the length of the tetrahedral element edges inside the object:
2. Type the maximum length of the edges inside the selection in Maximum
Length of Elements text box.
ii. To restrict the number of elements added during the refinement inside the
object:
Related Topics
For HFSS setups, if you do not want to use the existing current mesh, you can revert to the initial
mesh before starting a solve.
Reverting to the initial mesh deletes all solution data for a solve setup and all of its sweeps. Only the
initial mesh information is saved. The next time a solve is started, it starts from the lambda mesh
refinement.
Note This feature is the same as the initial mesh feature in HFSS, except that it is not available
for all setups at once. You can revert to initial mesh for HFSS setups one at a time.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
To create a mesh plot, right click Field Overlays in the Project Tree and select Plot Mesh to
open the Create Mesh Plot dialog.
The dialog is used to specify choices for the mesh plot: name, related solution, and which nets on
layers to plot.
l Show nets selected for plot always keeps columns for nets that are selected on any
layer visible — even if they would normally not be shown because of the current net filter.
l Net filter involves enhanced wild card filtering is used to choose which nets are shown in
the dialog by using wild cards and characters; the two wild cards supported are * and ?.
For more information, see Regular Expressions for Nets below.
There is a right click menu in the dialog that gives options for selecting the nets for various layers.
There is also a menu item for changing the column size so that net names are fully visible. This is
useful if there are so many nets choices that when they are all shown in the dialog, the net names
are not fully visible. After creating the mesh plot, there is a new Mesh item in the project tree.
The right click menu for the Mesh item is the parent to all of the existing mesh plots.
l Plot Visibility — Turns on/off the mesh plot drawing in the layout.
l Plot Mesh — Opens the Create Mesh Plot dialog.
l Modify Attributes — Open the Modify Attributes dialog.
HFSS Mesh Errors
For a given HFSS Setup, in the event of a failure or a difficult mesh, errors, warnings and
information may be generated. When available, this feedback can be accessed in the Project Tree
by right-mouse-clicking on the HFSS Setup and choosing Browse Mesh Errors. This invokes the
Mesh Error Browser dialog:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
For each Mesh Error, a brief description is provided. When a given error is selected in the dialog,
details and dimensional attributes for the contributing bodies will be displayed. When one or more
Type entities are selected, a graphical overlay will be displayed in the Layout view to better
visualize the feedback.
l Auto zoom to selection: Enable this setting to dynamically zoom the Layout view based
on the error that is selected in the dialog.
The HFSS 3D Layout type can be simulated directly using HFSS. To achieve this, the bounding
computational region (extents) for HFSS must be defined. To access the setup dialog for HFSS
Model Extents, select HFSS 3D Layout > HFSS Extents when an HFSS 3D Layout is active.
Alternatively, HFSS Extents can be accessed from the Project Manager tree by right-clicking on
the HFSS 3D Layout and selecting HFSS Extents. This opens the Set HFSS Model Extents
dialog.
Type: Specifies the method used to derive the base-polygon for the extents region.
l Bounding Box: The base-polygon is calculated as the bounding box of all active layout
geometry across all layers.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Conformal: The base-polygon is calculated as the union of all active layout geometry
across all layers.
l Convex Hull: The base-polygon is calculated as the convex hull of all active layout
geometry across all layers.
l Polygon: The base-polygon can be selected from all polygons present on user layer
types.
Note Dynamic updates of conformal HFSS extents can adversely affect Layout performance.
Performance may be improved by setting Type to BoundingBox or by disabling dynamic
extent rendering via Layout > Draw HFSS Air Box.
Dielectric: Defines how the polygon for dielectric and negative signal layers will be generated
relative to the base-polygon.
l Horizontal Padding: An expansion factor (unitless fraction) or absolute offset (e.g. 1mm,
20um) to be applied to the base-polygon in constructing HFSS geometry for dielectric
layers.
l Honor primitives on dielectric layers: If checked and layout geometry is present on a
dielectric layer, that geometry will be created for the HFSS simulation. If not checked, the
geometry will be ignored and an expanded base-polygon will be created.
Airbox: Defines how the airbox will be generated relative to the base-polygon.
l Truncate model at negative signal layers: If checked and negative signal layers are
present such that regions above or below are electromagnetically isolated from all
sources, cap the simulation volume at these elevations. Any horizontal padding on the
airbox will be ignored.
l Horizontal Padding: An expansion factor or absolute offset to be applied to the
dielectric-polygon in constructing the HFSS geometry for the airbox.
l Vertical: Expansion factors for the Z-dimension.
— Positive Padding: Expansion factor or absolute offset for the +Z dimension of the
airbox. When applying as an expansion factor, the base dimension is the maximum of either
length or width of the dielectric-polygon.
— Negative Padding: Expansion factor or absolute offset for the -Z dimension of the
airbox.
Use Defaults: Populate the Extents settings from the user's saved defaults.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Use the Defaults tab of the Set HFSS Model Extents dialog to:
• Save Defaults: Save user-defined defaults based on the data for this setup (for all tabs).
• Revert to Standard Defaults: Clear any existing user-defined defaults (for all tabs).
For HFSS setups, there is an extra solution “Adaptive Pass” where you can plot S-parameter data
for all adaptive solutions. The primary sweep is “pass” which can be swept from 1 to the number of
adaptive passes in the setup.
The SIwave field solver employs meshing algorithms to solve both planar objects and 3D objects
such as vias and solder balls. SIwave solver is the primary solver for signal integrity analyses of
packages, PCBs, and PCB systems.
The SIwave SYZ extractor is a high-speed hybrid solver for medium and large-scale analysis of
PCBs and packages.
1. Right-click on Analysis in the Project Manager and select Add SIwave Solution Setup.
The SIwave Solution Setup dialog box appears, with the General tab selected:
General Tab
1. Select either SI simulation or the PI simulation, and move the corresponding slider if you
want to increase speed or accuracy.
For SI simulations:
For PI simulations:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Optimum accuracy means trace, coplane, and split-plane coupling will also be selected.
The HPC and Analysis Options button will bring up the dialog to add or edit the HPC options.
Advanced Tab
1. Optionally, click Custom to configure the advanced solver settings in the SI/PI Advanced
tab. Some options are always available, and certain other options can be selected only if this
Custom check box has been selected.
2. Specify the SI/PI advanced options in the Advanced tab.
DC Tab
3. In the DC tab:
a. Move the slider to increase either speed or accuracy.
l Optimum speed means all options in the DC Advanced tab are turned off.
l Balanced means the Mesh Bondwires and Mesh Vias options will be selected along
with adaptive Mesh Refinement.
l Optimum accuracy means the mesh will be refined on bondwire & vias and more
aggressive refinement parameters will be specified.
b. Optionally, click Custom to configure the advanced solver settings.
c. Enter a value in the Circuit element contact radius box. Equal potential is enforced
within the contact radius, and no mesh refinement is done inside the contact region.
DC Advanced Tab
1. Specify the DC advanced options in the DC Advanced tab. All options are available only if
you have selected the Custom check box in the DC tab.
2. Click OK.
Sweep Dialog
1. Select Compute exact DC point to combine the DC results with the frequency-swept AC
results. This provides improved accuracy over the entire simulation bandwidth.
2. Select SIwave with 3D DDM to utilize the Q3D solvers for 3D-type regions such as
unreferenced traces, complex via transitions and pad coupling.
3. Select the type of sweep you want from the Sweep Type dropdown. You can select either:
l Discrete, or
l Interpolating. If you select this option, you will have to specify the Error tolerance. An
interpolating sweep estimates a frequency response for an entire frequency range by
solving at a relatively small number of frequency points within that range.
Between the actual solution frequencies, the frequency response is obtained by rational
interpolation. SIwave adaptively chooses the frequency points at which it computes the field
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
solution. After a new frequency point is solved, a new interpolating fit is generated. This is
compared to the interpolant from the previous step, and the maximum difference between the two
is determined. If the difference exceeds the requested tolerance, then a new frequency point is
chosen for a solution. The interpolating sweep is complete when the difference between
successive interpolants is less than the error tolerance criterion.
1. In the Frequency Sweep grid, select the method for distributing points from the
Distribution option. You can select either:
l Linear Count — The difference between the start frequency and the stop frequency is
calculated and is divided by the number of solution points.
l Linear Step — The start frequency is incremented using the step size till the stop
frequency to calculate the number of points.
l Single Point
l Log Scale
2. Enter the value for the minimum frequency to sweep in the Start field.
3. Enter the value for a sweep maximum frequency in the Stop Frequency field.
4. Specify the Points, Stepsize or Samples depending on the Distribution option chosen.
5. Optionally, modify the frequency points: click Add Above, Add Below, or Delete
Selection.
6. To preview all the frequency points, click the Preview button. The Frequency List Preview
window appears showing all the points.
7. Select Time Domain Calculation if you want to export the full-wave SPICE subcircuit. The
Start Frequency value changes to 0 Hz.
Note If you have an existing S-parameter solution, you can run a FWS simulation without
needing a 0Hz or 1Hz point.
Related Topics
Assigning Materials
Operations on Components
Configuring a Stackup
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Click HFSS 3D Layout > Solution Setup > Add Planar EM Solution Setup
l In the Project Tree, Right-ClickAnalysis > Add Planar EM Solution Setup
l Click the toolbar icon for Add HFSS 3D Layout Solution Setup
Related Topics
Mesh Continuity
Click the General tab of the Add HFSS 3D Layout Solution Setup dialog to access the following
settings.
The layout of the dialog changes depending on what Mesh Selection is chosen: Fixed Mesh,
Standard Adaptive, or Advanced Adaptive. Some of the options described below are shared
by more than one Mesh Selection. The following options are available.
— Fixed Mesh —
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
— Use edge mesh: narrow rectangles are inserted along the edges of the model. The
edge mesh efficiently captures electromagnetic effects close to the model edges, resulting in
faster solution times and/or higher accuracy.
— Edge mesh length ratio:The ratio of the length to the width of the rectangles. After
refinement, the width of the rectangles will be nominally equal to this ratio x length. The ratio
value should be between 0.02 and 0.2 to prevent extremely narrow rectangles and
extremely wide triangles.
l Use Defaults: the Target defaults depend on the Order of Basis function selections. For
example, for Driven solutions and a First Order basis function, the default target is 0.3333;
HFSS will refine the mesh until most element lengths are approximately one-third
wavelength.
— Standard Adaptive —
— Advanced Adaptive —
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
— Include: Displays a check box indicating whether or not to include the value of this
output variable in the mesh convergence calculations.
— Max Delta: The maximum amount of change desired in the output variable
between adaptive passes. It is a stopping criterion for the adaptive solution. If the
output variable changes from one iteration to the next by an amount that is less than
Max Delta, the adaptive solution
l AddFrequency: To add a new frequency to the table click the AddFrequency button
under the table
l RemoveFrequency: To remove a selected frequency from the table, click the
RemoveFrequency button under the table.
Click the Options tab of the Add HFSS 3D Layout Solution Setup dialog to access the following
settings.
l Initial Mesh Options: options that define the initial mesh (before adaption).
l Do Lambda Refinement: mesh edges are reduced to a length equal to the wavelength
scaled by the Lambda Target.
l Lambda Target: the fraction of the wavelength that determines the refined triangle edge
length, e.g. if the value is '0.1' then an edge length of 0.1* is used as the refinement target.
l Use Default Value: if checked, a default lambda target value is used otherwise the user
may enter any value greater than zero. Typically the value is a fraction less than 1.
l Quality Refinement Options: refine for triangle quality - e.g. no sharp angles, uniform size.
l Refine for quality: adjust triangles until there are no angles less than the minimum; this
may require the insertion of many triangles in the neighborhood of a sharp angle.
— Minimum angle: adjust triangles until no angle is less than this minimum.
l Refine for uniformity: adds additional points to the mesh in order to limit long edges if
the ratio between the average and maximum edge lengths exceeds the desired ratio.
— Max/mean edge length ratio: the maximum permissible ratio between the
maximum triangle edge length and the mean edge length.
l Include edges from layers closer than: geometry edges from layers closer (in
elevation) that this distance is pulled into the layer currently being meshed (providing they
don't fall on an existing edge). Simulation accuracy typically benefits from this operation.
l Adaptive Options:allows you to specify the following adaption option settings.
l Maximum Refinement Per Pass: determines how many tetrahedra are added at each
iteration of the adaptive refinement process. The tetrahedra with the highest error will be
refined. The value is a percentage.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Minimum Number of Passes: the maximum number of mesh refinement cycles that you
would like the solver to perform. This value is a stopping criterion for the adaptive solution;
if the maximum number of passes has been completed, the adaptive analysis stops. If the
maximum number of passes has not been completed, the adaptive analysis will continue
unless the convergence criteria are reached.
l Minimum Converged Passes: an adaptive analysis will not stop unless the minimum
number of converged passes has been completed. The convergence criteria must be met
for at least this number of passes before the adaptive analysis will stop.
Click the Advanced tab of the Add HFSS 3D Layout Solution Setup dialog to access the following
settings.
l Defeaturing:
l Form polygon unions before meshing: specifies whether all objects are combined or
“unioned” before meshing takes place. This can simplify the mesh; it can, however, also
remove internal boundaries that may be desirable. “Unioning” is a complex operation and
sensitive to almost coincident edges; it some instances, a union may produce undesirable
results. Inspecting the mesh is a simple way to verify the operation.
l Use polygon defeaturing: removes very close points, points that don't contribute to the
geometry of an edge (e.g. collinear), and very thin intrusions. When used with “unioning”,
it can be helpful in healing geometry that isn't snapped together.
l Vias: vias may be modeled as a simple 'wirebond' or as a 3D ribbon or solid. Note: the
values specified in the analysis setup only apply to vias that do not have specific property
overrides; all properties explicitly specified for a via take precedence over these values.
l Model using a wirebond: vias will be modeled with a line segment.
l Mesh as a 3D via: vias are modeled using rectangles to form a 3D ribbon or solid.
l Via field: it may be possible to reduce the density of via fields and model them using
wirebonds without significant loss in accuracy. A via field is defined by those vias that
connect two signal layers (without intervening geometry) and attach to connected
geometry at their upper and lower points. Vias that span multiple layers are broken up
vertically at all intersection points; and each segment is treated independently. Two vias
may be adjacent and close, but they will not be thinned if they connect to electrically
separate geometry either at their upper or lower connection points — for to do so would
break an electrical connection.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
— Relative min. via spacing: defines a radius around a via; any via that falls within
that radius is eliminated. The value specified is a multiple of the average via spacing
(the algorithm considers the averages for all via clusters and uses the minimum
average spacing). If all vias are spaced equally, then a value of 1 would knock out
every other via; a value of 2 would filter out 2 vias between each via.
l Via material default: when a material hasn't been specified in the padstack definition
and there is no override in the properties for a via, then this will be the material associated
with the via mesh.
Click the Advanced Meshing tab of the Add HFSS 3D Layout Solution Setup dialog to access the
following settings.
l Circle and arc approximation: circles and arcs must be replaced with straight edge
approximations before meshing. There is no attempt to match areas; points are simply
introduced on the original arc at the locations specified by the following parameters.
l Arc setup size: the angular interval below which mesh points are added.
l Starting azimuth for circles: specifies the location of the first mesh point or circles.
l Maximum number of arc points: the maximum number of mesh points on a given arc
segment.
l Use arc to chord error approximation technique for arc: the resulting straight edge
approximation will not deviate from the original arc by more than the specified error.
Click the Solver tab of the Add HFSS 3D Layout Solution Setup dialog to access the following
settings.
General Options
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Use loop tree: the Moment Method basis functions are re-organized to provide low
frequency solution accuracy and stability.
l Accuracy level: determines the level of precision of various computations in the
simulation procedure. The default solution accuracy level is level 2, the usual
recommended level. For very large solutions, accuracy level 1 is recommended. For more
information see Setting the Solution Accuracy Level.
l Specialized design type:
— Spiral Inductor: the engine treats the currents on zero thickness signal layers as
a volume current; the current on the vias simply transfers from one end to the other
without consideration to the wire.
Modeling Options
l Signal layers thinner than <value> are modeled as zero thickness: negative signal
layers in the design which are thinner than the given value are modeled as being infinitely
thin in order to reduce simulation time.
l Dielectrics thinner than <value> are merged with an adjacent: dielectric layers in
the design which are thinner than the given value are merged into an adjacent dielectric;
material properties are accumulated using a weighted average.
l If you are solving a HFSS 3D Layout Transient problem, the solver will not checkout
ensemble_solve (regular solve license). We will only checkout a ensemble_transient_
solve license. For HFSS 3D Layout Transient problems and HFSS 3D Layout array
problems, we will always use HPC licenses for multiprocessing (even if you have NOT
chosen the Use HPC licenses for multiprocessing and distributed frequency
points option).
l For HFSS-IE problems, an ensembleie_solve license is required. For HFSS 3D Layout
problems with radiation boundaries and Use HFSS 3D Layout Formulation checked, an
ensembleie_solve license is required in addition to the ensemble_solve.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Number of Machines => the number of machines listed in the Distributed Machine
Configuration in the General Options.
l For multiprocessing and frequency sweeps, check Use HPC licenses for
multiprocessing and distributed frequency points. This option also enables an
additional check box, Enable distributed Optimetrics using DSO license.
l If you have a DSO license, checking Enable distributed Optimetrics using DSO
License will distribute at the highest level (i.e. distribute the variations), which is most
efficient.
l If you have HPC and no DSO, clear the Enable distributed Optimetrics using DSO
License option so that HPC can be used to distribute frequency sweeps in an Optimetrics
solution.
Click the Defaults tab of the Add HFSS 3D Layout Solution Setup dialog to access the following
settings.
Use the Defaults tab of the HFSS 3D Layout Setup dialog to:
l Save Defaults: Save user-defined defaults based on the data for this setup (for all tabs).
l Revert to Standard Defaults: Clear any existing user-defined defaults (for all tabs).
Mesh Continuity
The mesh for a Frequency Selective Surface or Infinite Array element is continuous across
patches. For example, in the following figure, the actual generated mesh (black), when manually
tiled to simulate the Infinite Array (red), will appear continuous across mesh boundaries; that is, no
vertex meets a triangle on an edge.
Nexxim Linear network analysis performs a frequency-domain analysis of the circuit that is
linearized around the DC operating point. In addition to the basic linear analysis, you can also run a
DC noise analysis or run a group delay analysis.
Linear analysis can be used with all passive circuits and with active circuits that operate under
small-signal conditions. In linear analysis the signal level and termination values do not cancel the
small-signal conditions, so the superposition principle holds.
After a successful linear-circuit analysis, the results reflect the electrical characteristics of the circuit
under small-signal conditions. The results of the analysis are linear network parameters such as
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
scattering (S), admittance (Y), hybrid (H), and impedance (Z), gain parameters, stability
parameters, and noise parameters. For details, see Linear Network Analysis in the Circuit help
topics.
To add a Nexxim Linear Network Analysis to an HFSS 3D Layout project, right-click on Analysis
in the Project Manager and select Add LNA Setup. The LNA Solution Setup dialog box
appears.
You can add solution options by clicking on “Select” in the "Solution Option” section of the dialog.
For more information, see Transient Analysis Setup.
The LNA setup is passed to the Nexxim solver via a netlist. To view the Nexxim netlist in the Netlist
editor, right-click the LNA setup and select Browse Netlist from the menu. For details, see LNA
Netlist Syntax in the Circuit help topics.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The Linear Network Analysis runs in co-simulation with a fieldsolver setup in the HFSS 3D Layout
project. To select the HFSS Setup for the co-simulation:
Right-click the LNA Setup and select Analyze from the menu.
After the co-simulation has run to completion, you can plot the results of the Linear Network
Analysis.
1. Right-click on the Reports icon and select Create Standard Report>Rectangular Plot
from the menu.
2. Select your LNA setup as the Solution. The Domain is set to Sweep. The Categories
panel lists the outputs available from the Linear Network Analysis. Click on a category to
view the available Quantities. Valid categories are:
l S-parameters
l Y-parameters
l Z-parameters
l ABCD parameters
l H-parameters
l G-parameters
l Gain parameters
l Stability parameters
l Others
After LNA has completed, you can view the solution in the Network Data Explorer. Right-click on
the LNA setup and select Network Data Explorer from the menu. For details, see Network Data
Explorer.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Transient setup options can be added by clicking on “Edit” in the “Solution Option” section of the
Transient Analysis dialog.
You can also add solution options by right-clicking in the Project Tree on Analysis > Add Nexxim
Solution Options. This opens the Solution Options dialog.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
After the Transient Analysis is set up, it appears in the Project Tree within Analysis.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l To netlist the Transient Setup, in the Project Tree right-click the setup and select Browse
netlist.
l To start a Nexxim Transient simulation, in the Project Tree right-click the setup and select
Analyze.
For details about the Transient Analysis setup dialog and solution options, see Running Transient
Analysis from the Schematic Editor.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Click the Select button on the Name field to open the Select Solution Options dialog.
l Click New to create a new option set. The Solution Options dialog box appears.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
You can add solution options by right-clicking in the Project Tree on Analysis > Add Nexxim
Solution Options. This opens the Solution Options dialog.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
data.
ami.delay 1 Delay before
computing
impulse
response.
ami.eye_start_time 0 Start time for
recording eye
data.
ami.resp_tmax 1e-6 Maximum time
for the transient
impulse
response
calculation.
ami.skip_tran_result 0 0=Save
transient data
for AMI
1=Skip transient
result
generation for
AMI (useful for
long runs of data
that need not be
saved).
ami.ui_bins 500 Number of
histogram bins
to use for
generating the
3D and contour
data.
ami.use_clock_times 1 1=Turn on
sampling of the
eye diagram
based on the
clock time
values produced
by the AMI
receiver model.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The results of
clock time
sampling can be
observed only in
the Statistical
Eye Plot for the
"EyeAfterProbe"
quantity.
Related Topics
Related Topics
For additional information, see the following topics in Circuit Time Domain Analyses:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Related Topics
3. Type a Name (or accept the default name, for example “QuickEye Setup 1”).
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
5. Set the Delay parameter to control the delay in applying the step response.
6. Run missing step response allows simulation to proceed when an External Step
Response component is present in the design but no step response data file can be found.
7. Click the Use peak distortion analysis results in source check box to enable the worst-
case bit pattern to be output from the source. Set the Repeat Bit Pattern field to the desired
number of repeats. When the Use peak distortion check box is checked, the worst-case
bits from Peak Distortion Analysis will be output from all Eye Sources. Any bit patterns set in
the sources are ignored. See Peak Distortion Analysis for details.
l Select the Eye Probe that is to be the target for all Eye Sources.
Optionally, use the fields in the Solution Option panel to add VerifEye/QuickEye options.
l Click the Select button on the Name field to open the Select Solution Options dialog.
l Click New to create a new option set. The Solution Options dialog box appears.
l Use the Eye Options panel fields and check boxes to set any desired options.
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
2. Select Add Nexxim Solution Options from the menu. The Solution Options dialog box
appears. Select the Eye Options tab.
l Number of UI bins sets the number of UI histogram bins to use for generating the 3D and
contour data. The default is 100. Option: eye.ui_bins.
l Number of amplitude bins sets the number of amplitude histogram bins to use for
generating the 3D and contour data. The default is 200. Option: eye.ampl_bins.
l Number of UI sets the number of unit intervals (UI) over which the initial transient step
response should run after any channel or source delay. The default is 100. Option:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
eye.num_initial_ui.
l Maximum time sets the maximum stop time for the transient step response calculation. The
default is 1ms. Option: eye.resp_tmax.
NOTE: QuickEye uses the minimum of (num_initial_ui x UI) and (resp_tmax) to set the
transient final time for the step response calculation.
l Normalize FFE weights sets the solver to normalize FFE weights (sum of absolute values
of all weights equals one). This option applies only to weights supplied by the user. The
Circuit solver always normalizes the taps weights that it calculates. The default for user-
supplied weights is no normalization. Option: eye.normalize_ffe_weights.
l Skip transient result turns off QuickEye storage of the eye diagram and the transient-like
result. By default, QuickEye stores the eye diagram and the transient-like result. Option:
eye.qe_only_cmf.
l Assume symmetric step responses sets QE/VE to use the rise time as the fall time. The
default is to use different rise and fall times. Option: eye.sym_step_resp.
l Auto extend step responses extends the step response beyond the simulation time. By
default, the step response is extended only to the end of simulation time. Option: eye.auto_
extend_step_resp.
For more information, see Circuit Time Domain Analyses: VerifEye and QuickEye Analysis
Options.
For information about QuickEye analysis outputs in HFSS 3D Layout, please see Circuit Time
Domain Analyses: Display Quick Eye Analysis Outputs.
For information about running the QuickEye analysis in HFSS 3D Layout, please see Circuit Time
Domain Analyses: Run the QuickEye Analysis and Display Results.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
3. Type an Analysis Name (or accept the default name, for example “VerifEye Setup 1”).
5. Specify the Delay to be applied before the step response is applied (default is 0 seconds).
6. Run missing step response allows simulation to proceed when an External Step
Response component is present in the design but no step response data file can be found.
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Skip transient result turns off QuickEye storage of the eye diagram and the transient-like
result. By default, QuickEye stores the eye diagram and the transient-like result. Option:
eye.qe_only_cmf.
l Assume symmetric step responses sets QE/VE to use the rise time as the fall time. The
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Auto extend step responses extends the step response beyond the simulation time. By
default, the step response is extended only to the end of simulation time. Option: eye.auto_
extend_step_resp.
For more information, see Circuit Time Domain Analyses: VerifEye and QuickEye Analysis
Options.
For information about VerifEye analysis outputs in HFSS 3D Layout, please see Circuit Time
Domain Analysis: Display VerifEye Analysis Outputs.
For information about running the VerifEye analysis in HFSS 3D Layout, please see Circuit Time
Domain Analyses: Run the VerifEye Analysis and Display Results.
HFSS 3D
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
HFSS (Layout)
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Planar EM
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
SIwave
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Transient Analysis
Sanitize Layout
Sanitize Layout is an operation for cleaning power and ground nets in a project in order to fix
certain alignment problems as well as complexities that may slow down simulation. It works by
uniting the planes and traces for each net to be cleaned. Once the united planes are formed,
portions which display trace like properties are converted into traces. Under certain conditions,
these traces may be extended in order to improve the connection with vias, pads, and the
remaining planes. Lattices which were originally formed of many traces become planes with
cutouts after the sanitization process.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The Sanitize Layout dialog box opens, with all the power and ground nets selected.
2. To use wildcards or regular expressions, enter the name of the nets you want to select in the
Reg Ex field. Click Select Matching Nets.
3. To deselect matching nets selected using reg ex, click Uncheck Matching Nets.
4. Click Check All Nets to select all nets except dummy nets, or click Uncheck All Nets to
deselect all nets.
5. Click Check Pwr/Gnd Nets to select all the power and ground nets.
6. Click Sanitize to run the sanitize layout on the selected nets.
7. Click OK.
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
1. Expand the tree hierarchy under the Analysis icon in the project tree.
2. Right-click on the icon for the setup definition.
3. In the shortcut menu that appears, select Disable Setup. (To reactivate the sweep, open
the shortcut menu again and select Enable Setup.)
To generate a solution across a range of frequencies, add a frequency sweep to the solution setup.
HFSS 3D Layout performs the sweep after the adaptive solution. If an adaptive solution is not
requested, the sweep is the only solution generated. You can also disable a sweep, so that you can
run only the adaptive solution (or a ports-only solution) without the sweep, then later reactivate the
sweep definition. Many HFSS 3D Layout settings are the same as those for HFSS/HFSS-IE;
details are described in the subsections linked to in the following.
1. Right click on the analysis in the Project Manager and then select Add Frequency Sweep.
The Edit Frequency Sweep dialog box appears.
2. Specify the following sweep parameters:
l Sweep Name.
l Enabled check box.
l Use Q3D to solve DC Point check box.
l Sweep type - Discrete or Interpolating (the default). HFSS 3D Layout supports only
Interpolating and Discrete sweeps, and does not support the following:
— Minimum Solutions
— Derivatives
— The Set Defaults option for Error Tolerance and Max Solutions
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Frequency Sweeps. You specify sweeps in terms of Distribution type, which can be
Single Point, Linear Step, Linear Count, or Log Scale. The Add Above, and Add Below
buttons permit you to add additional sweeps, including mixed sweep types. This feature
provides flexibility. For example, you can define sweeps with log scale at lower
frequencies, and linear step at higher frequencies.
If you have added more sweeps, you can Delete a selected distribution.
3. Click OK.
Once you have created a sweep, an icon for the sweep appears in the Project tree under the
associated setup. Selecting the sweep icon causes the docked properties dialog to show the
name and the Enabled check box.
You can select an existing sweep, use the Edit commands to Copy it, and then and Paste the
sweep into the Project tree. (By default, the copy is named Sweepn, where n increments with each
new sweep.) You can edit the new copies of the sweep to make desired changes. For example,
you can change a specific parameter, or for a distributed solve, you could assign different start and
end points for each copy of the setup.
The Paste command for sweeps is design sensitive (that is, you cannot paste between Driven and
Eigenmode designs) and context sensitive (for example, a sweeps can only be pasted in a setup.)
Dependent setups are pasted along with the copied setup. You are warned if the dependent setup
is already in the design and setup is not pasted again.
1. Expand the tree hierarchy under the Analysis icon in the project tree.
2. Expand the tree hierarchy under the icon for the analysis setup that includes the sweep.
3. Right-click on the icon for the sweep definition. In the shortcut menu that appears, select
Disable Sweep Analysis. (To reactivate the sweep, open the shortcut menu again and
select Enable Sweep Analysis.)
You can also disable a sweep by selecting Properties from the shortcut menu to open the Edit
Properties window. In the upper-right corner of the Edit Properties window, uncheck the
Enabled box. Then click OK to apply the change. (To reactivate the sweep, simply re-open the
Edit Properties window and check the Enabled box. Then click OK.)
Clean Up Solutions
To clean up solutions, right click on the Analysis folder and select Clean up Solutions.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Using this dialog, you can selectively delete solutions or remove all solutions from the results of
selected variations.
Solutions
In the Solutions pane, select whether you want to delete only Fields data, Fields and Mesh
data, or the data for All Solutions. Deleting all solution data erases all mesh, matrix, and fields
data for all adaptive passes and frequency sweeps for the selections in the Variations pane.
Variations
In the Variations pane, select which solution data you want to delete:
l Select All Except Current Variation to delete all solution data that do not correspond to
the current project and design variable values for the current design.
l Select All Variations to delete all solution data for the current design.
l Click Select to specify the variations you wish to delete, then click Variations to select the
variations for deletion.
When you have finished making your selections and wish to delete, click Do Deletions. The
solution data you selected are deleted. Any post processing reports or field overlays you created
that included data you deleted will be marked with an X in the project tree; they will be invalid until
new solution data is generated.
ANSYS Electronics Desktop provides all of the S-Matrix, Y-Matrix and Z-Matrix data for
optimization. If you choose an imported solution as the goal, the S-Matrix data from the imported
solution is read in and sent to the optimization routines. For more information, see Setting up an
Optimization Analysis.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
For large problems, depending the whether the solution involves a parameter sweep and your
resources of shared machine memory, networked cores and cores per computing node, you can
configure for different high performance computing solutions:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Additionally, a command line Large Scale DSO is used for 'large scale parallel' jobs, which either
fail or scale poorly as Regular DSO jobs. A Large Scale DSO job does not support the output of full
parametric results, but produces 'reduced' datasets corresponding to predefined Rectangular
plots.
Related Topics
The Solution Setup dialog box appears. It is divided among the following tabs:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
General Includes general solution settings. For Characteristic Modes solution types, these
include Characteristic Modes Convergence parameters for Number of Modes and
Minimum Modal Significance.
Options Includes settings for lambda refinement, adaptive analysis and solution options, the
Order of Basis setting, and whether to enable the use of solver domains, if available
for the solution type.
Advanced Includes settings for mesh linking, absorbing boundaries on ports, wave port adapt
options, and whether to Save Fields and/or radiated fields only
Hybrid Includes IE IE Solver options for designs that use FE-BI boundaries and/or IE
Regions, and, if SBR+ Regions are present, allows you to set SBR+ Solver
Options.
Expression Includes a list of expressions (including post processing variables) that you can use
Cache for convergence for adaptive analysis.
Derivatives If your design contains variables, they are listed here. HFSS can calculate
derivatives for your variables.
Defaults Enables you to save the current settings as the defaults for future solution setups or
revert the current settings to HFSS's standard settings.
a. Solution Frequency
b. Maximum Number of Passes
c. Maximum Delta E
d. Maximum Number of Modes
e. Minimum Modal Significance
6. If you are performing an adaptive analysis, enter 2 or more passes in the Maximum
Number of Passes box, and then specify the remaining adaptive analysis parameters for
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
HFSS.
For Eigenmode solutions, if you are not performing an adaptive analysis, entering 0 will enable
you to bypass the adaptive analysis process and just perform a frequency sweep. For driven
problems HFSS always requires at least one adaptive pass. Entering 1 will also bypass
adaptive analysis, generating a solution only at the solution frequency you specified.
7. The lower right corner also contains a button for HPC and Analysis options. Here you can
select or create an analysis configuration.
8. Click OK.
9. Optionally, add a frequency sweep to the solution setup.
Related Topics
A dependent setup icon appears, which has an altered graphic to distinguish it from the parent
setup icon. The child setup name is "parent_setup name_1." All of the settings from the parent
setup are copied to the child setup. The dependent setup uses the mesh from the parent setup.
This is shown under the Advanced tab of the Solution Setup dialog, Specifying a Source
for the initial mesh. You can add a dependent setup to another dependent setup, and form of
the name shows the hierarchical dependence by appending "_1" to show further dependence.
If you intend to change any of the settings, you do this just as you would for a new setup.
The Enabled check box on General tab permits to you to disable a setup so that it does not run
when you select Analyze All. If a solve is disabled, the Analyze command on the shortcut menu for
the Project tree is disabled and the Enable Setup command is available.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Related Topics
1. In the project tree, under Analysis, right-click the setup you want to rename.
A shortcut menu appears.
2. Select Rename from the shortcut menu.
The setup name text is highlighted in the project tree.
3. Type the new name for the setup, and press Enter.
You can also rename the solution setup by changing the text in the Name text box of the
appropriate Solve Setup dialog box.
Related Topics
1. In the project tree, under Analysis, right-click the setup you want to copy.
3. In the project tree, right-click on the Analysis folder to receive the copied setup.
The setup parameters are copied to the Analysis folder as a new setup.
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Related Topics
For every Driven solution setup, specify whether to solve a Single Frequency, Multi-Frequency,
or Broadband, and provide the frequency information and units at which to generate the solution.
Each method changes the fields shown in the dialog to those needed for the selection. If you
enable HPC, multiple frequencies will be distributed.
If a single frequency sweep is solved, an adaptive analysis is performed only at the solution
frequency. If you want to solve over a range of frequencies, define a frequency sweep or a Mult-
Frequency or Broadband solve.
In multiple frequencies solve, port adapt is at the highest frequency and lambda refine is based on
an algorithm that uses the highest and lowest user frequencies to allow maximum reuse of solved
data. The lambda refinement frequency is the "nominal frequency". The mesh at each pass is
solved at multiple frequencies and energy error from all frequencies points are used to drive the
mesh refinement for the next pass. The adaptive solution is converged when the simulation
reaches the maximum number of passes or when all frequency points reach the targeted maximum
delta S. The minimum converged passes and minimum number of passed parameters apply as the
total requested passes.
Single Frequency
If you select Single for solution frequency, you specify a value and units with a maximum delta S (or
Matrix Convergence), plus the maximum number of passes.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Enter a value for Solution Frequency and select the frequency units from the pull down list.
Note For Fast sweeps, HFSS uses the solution frequency as the center
frequency if it is within the frequency range (greater than the start
frequency and less than the stop frequency.) Otherwise the middle of the
frequency range is used as the center frequency.
Multi-Frequency
If you select Multi-Frequency, you can use the Add button to add additional frequencies, and edit
the value, units, and Max. Delta for each frequency.
You can use the Add button to specify one frequency at a time or click the Add Frequencies…
button to use the Setup Multi-Frequencies dialog to populate a range of frequencies. The
frequencies added by the Setup Multi-Frequencies matches the first batch of frequencies solved in
an interpolating sweep
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
When you OK the dialog, news for the frequencies across the number of points appear in the
Solution Setup dialog.
You can use the Remove button to remove any selected items in the table.
Broadband
If you select Broadband, you define the frequency band by providing the low and high frequency,
with a maximum delta S (that is applied to all solved frequencies), plus the maximum number of
passes. The meshing frequencies include the Low and High with the remaining points determined
automatically by HFSS. When the user requests DC as the low frequency, the lowest frequency
solved by the adaptive meshing process is determined by an algorithm that looks at the range of
frequencies you entered.
When you OK the Solution Setup for Broadband, you are automatically presented with a dialog for
specifying an Interpolating sweep.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
In multiple frequencies modes, when frequency point p convergences prior to frequency point q,
keep adapting at p until q and all other points achieve convergence.
The convergence data in the solution data dialog for single frequency mode is calculated in the
same way as before. In multiple frequencies mode, the convergence plotted on the convergence
display item corresponds to the global maximum delta S. Convergence data such as “Max. Delta
S” appear in the reporter as standard solution quantity so that you can easily plot the maximum
delta S for each frequency point vs. pass.
Solution Reporting
For multiple frequencies adapted solutions, the S-Matrix solution display let you to view matrix data
across different frequencies of its AdaptivePass and LastAdaptive solutions.
In “Broadband” mode, the nominal frequency is solved and its results are available for all post
processing, Optimetrics and expression cache setup. In this mode, results of other solved
frequencies will be shown in the S-Matrix solution display but will not be available in reporter,
Optimetrics and expression cache setup. In “Muti-Frequencies” mode, all post postings of the
AdaptivePass and LastAdaptive will be extended to support results at all user-specified
frequencies. Creating a report with solution across multiple frequencies will be the same as
creating such report with a sweep solution.
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
To quickly compute only the 2D excitation field patterns, impedances, and propagation constants at
each port:
l Under the General tab of the Solution Setup dialog box, select Solve Ports Only.
This disables the remaining settings for Maximum number of passes and Convergence per
pass.
HFSS calculates the natural field patterns (or modes) that can exist inside a transmission structure
with the same cross-section as the port. These 2D field patterns serve as boundary conditions for
the full 3D problem.
Related Topics
For every Eigenmode solution setup, specify the minimum frequency at which to search for
eigenmodes. HFSS searches for the user-specified number of modes with a higher resonant
frequency than the Minimum Frequency value.
l Under the General tab of the Solution Setup dialog box, type a Minimum Frequency and
the frequency units.
l You can set the Minimum frequency as a variable by typing a name in the field and pressing
Enter. This displays the Add Variable dialog for you to enter the value and units. Click OK to
close the dialog. The variable is listed in the Setup and in the Design Properties.
Warning Because the minimum frequency is used to normalize some matrices, if the
frequency is set too low, HFSS tries to solve a nearly-singular matrix, which may
erode the accuracy of the calculations. As a general rule, do not enter a
frequency less than 0.01 times the suggested, or default, value for Minimum
Frequency.
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
For every Eigenmode solution setup, specify the number of eigenmode solutions that the solver
finds. If you enter 5, the solver calculates the first 5 eigenmode solutions above the minimum
frequency.
l Under the General tab of the Solution Setup dialog box, enter a value for Number of
Modes.
Related Topics
l Single
l Broadband
l Multi-Frequencies.
Note: The Single Solution Frequency setup is applicable for all solution types. Broadband and
Multi-Frequencies are applicable for modal and terminal solutions only.
Based on the solution frequency setup and the convergence criteria HFSS automatically creates a
suitable mesh for your design and generates accurate solutions. Once the final mesh is generated,
HFSS also creates a solution across a frequency range of interest provided you defined a
frequency sweep.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
1. Right-click Analysis in the project tree and select Add Solution Setup.
2. Select Single as the Solution Frequency.
3. Specify the Maximum Number of Passes and the Maximum Delta S.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Broadband Frequency
For most problems, specifying the Single solution frequency setup is adequate to obtain accurate
results. If you desire increased reliability for broadband devices and more accurate solutions, you
can specify the Broadband option for the Solution Frequency setup. The Broadband setup
enables HFSS to intelligently determine the appropriate frequencies at which to adapt the mesh.
The virtue of automatic broadband adaptive meshing lies in eliminating uncertainty in choosing the
best frequency for adapting the mesh. You need only specify the highest and lowest frequencies of
the range and HFSS determines the frequencies at which to adapt the mesh. The mesh is always
adapted for a minimum of three frequencies within the specified frequency range. Adaptive
meshing at additional frequencies require enabling the high performance computing (HPC) feature
and availability of sufficient computational resources.
The adaptive mesh refinement process occurs at various frequencies within the specified
frequency range until the convergence criterion is met. In this case, the values of Maximum Delta
S between consecutive solves are calculated for each frequency. The weighted average of
Maximum Delta S across all frequencies must be below the specified magnitude of Maximum
Delta S for the simulation to converge. You also have the option to set Maximum Number of
Passes as the stopping criterion.
For Broadband adapt, HFSS prompts you with an interpolation sweep predefined by a range of
frequencies identical to the Broadband frequency range. In addition, the algorithm chooses the
adapt frequencies in a way that they can also be reused in the frequency sweep. This increases the
efficiency of the solution process.
Note: Broadband frequency setup does not allow viewing the fields for the adapted frequencies.
You can define a discrete sweep including the adapt frequencies and solution data will be provided
without re-solving.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
1. Right-click Analysis in the project tree and select Add Solution Setup.
2. Select Broadband as the Solution Frequency.
3. Specify values for Low Frequency and High Frequency.
4. Specify the convergence criteria that include Maximum Number of Passes and the
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The Edit Frequency Sweep window appears automatically. The interpolating sweep is
automatically populated with Start and End values, which are identical to the low and high
frequency values of the broadband frequency range specified in the solution setup window.
Multi-Frequencies
If you know apriori the frequencies at which to adapt the mesh for your design, you can specify the
Multi-Frequencies setup. You can specify a number of individual frequencies in this setup and
adaptive meshing occurs at all the frequencies.
You have the option to set different values of Maximum Delta S for the specified frequencies. For
each frequency the individual target Delta S value must be reached in order for the entire solution
to converge. For instance, if you define 4 frequencies for adapting the mesh, the target value of
Maximum Delta S for each of the 4 frequencies must be satisfied for the solution to reach
convergence.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
1. Right-click Analysis in the project tree and select Add Solution Setup.
2. Select Multi-Frequencies.
3. Edit the existing frequency field to a value of your choosing.
To enter additional frequency points, use the Add button and edit the corresponding value in the
Frequency column.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Enter the Solution Frequency and select the frequency units from the pull down list.
l Optionally, select Solve Ports Only.
l Maximum Number of Passes
l Maximum Delta S or Use Matrix convergence (for designs with ports). Here you can set
matrix values for convergence, including maximum delta for Mag S and Phase S.
l Maximum Delta Energy for convergence per pass (for designs with voltage sources, current
sources, incident waves, or magnetic bias, or for Characteristic Modes solution types).
l For Eigenmode solutions, specify Maximum Delta Frequency Per Pass and, if desired,
Converge on Real Frequency Only.
l For Characteristic Modes solutions, Maximum Number of Modes and Minimum Modal
significance.
Under the Options tab of the Solution Setup dialog box, you can edit the following settings:
l Lambda Refinement
l Maximum Refinement Per Pass
l Maximum Refinement
l Minimum Number of Passes
l Minimum Number of Converged Passes
l Order of Basis functions
l Enable the Direct Solver for frequency domain solve.
l Enable Iterative Solver and associated Relative Residual Setting.
l Enable Domain Decomposition
Under the Advanced tab of the Solution Setup, depending on the solution type, you can edit the
following settings.
Under the Hybrid tab of the of the Solution Setup, you can set solve parameters for any Hybrid
Regions you have assigned in the design.
Under the Expression Cache tab of the Solution Setup, you can create and manage
expressions to use for adaptive convergence.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Related Topics
HFSS-IE Feature
l IE Solver Options. You can specify the IE Solver type as ACA (the traditional method) or
as MLFMM, which is superior than ACA for models with large FE-BI surfaces, and also
works for HFSS-IE designs, and IE regions. The default choice is Auto, in which the choice
is made based on the characteristics of the design.
Both IE solvers support distributed memory using MPI. The MLFMM solver option provides a
more efficient solution to certain classes of scattering problems. The MLFMM solver is typically
more efficient (in memory and speed) than the ACA solver for problems having electrically
large, mostly smooth, scattering surfaces which are comparable in all three dimensions. For a
more detailed discussion, see MLFMM Usage Guidelines.
l Lambda Target for IE Solvers. This refers to the background material. For these fields to
be active, the Do Lambda Refinement option on the Options tab must be enabled. If the
Use Default Value check box is checked, the text box is disabled, and the 0.15 Lambda
target value is used. If you uncheck Use Default Value, you can specify a target value for the
background material for IE regions. This can be useful for designs that include curvilinear
elements.
l Whether to Save fields, and/or whether to save radiated fields only. To view a port field
display, you must save fields. Save fields options also occur for Discrete and Fast Sweeps.
l If you have assigned an SBR+ Region, you can specify the SBR+ Solver Options for Ray
Density (Per Wavelength) and Max Number of Bounces. This lets you balance solution
speed and desired accuracy. If needed, you can create an infinite sphere setup by clicking
Create ... or edit an existing Infinite Sphere setup.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
SBR+ supports assigning an Incident Plane wave for calculating RCS. If you have assigned
an Incident Plane wave, the options include the RCS Type as Monostatic or Bistatic. If you
select Monostatic, you do not need to create an infinite sphere.
If you select have assigned both SBR+ region and an Incident Plane wave, and select
Bistatic as the RCS Type, the dialog appears as follows, allowing you to create an infinite
sphere by selecting Create by clicking the drop-down menu:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
If you have creates one or more infinite spheres, these are listed on the dropdown.
l You can also choose to Skip SBR+ Solve During Adaptive Passes. SBR+ regions are not
being mesh adapted and SBR+ solutions have no impact on field solutions on FEM or IE
regions. However, SBR+ does impact stopping criteria in some cases such as coupling
between two separate source antennas. Therefore, to speed up mesh adaption, you can
choose to not solve SBR+ regions until source regions have converged in isolation.
However, SBR+ does impact stopping criteria in some cases in the form of cache
expression such as coupling between two separate source antennas or far field pattern. In
such cases, SBR+ solve could not be skipped. Moreover, SBR+ solve will always be
launched when maximum number of passes is reached regardless of source region
convergence.
l The PTD/UTD Simulation Settings allow for the inclusion of additional wedge diffraction
phenomenology that can improve the accuracy of SBR+ simulations. You can opt out of
using the PTD/UTD settings, or select PTD Correction or PTD Correction + UTD Rays.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Selecting one of the PTD Correction options enables a field for specifying PTD Edge
Density. See the discussion under Assigning SBR+ Hybrid Regions, steps 4 and 5.
Related Topics
HFSS-IE Feature
The MLFMM solver is based on a hierarchical algorithm that relies on the underlying physics of
electromagnetic interactions to provide a more efficient scheme to compute the matrix vector
product that is at the heart of every iterative IE solver. The algorithm views a matrix vector product
as the computation of E and H fields and it computes these fields using a multi-level multi-pole
expansion.
1. Hierarchical decomposition of the geometry into a set of nested boxes (Figure 1) and
identification of near and far interactions for each box (Figure 2).
The reason for the separation of near and far interactions is to be able to efficiently compute far
interactions using multi-poles. See additional explanations in Further Details of MLFMM
Algorithm.
2. Computation of multi-poles at the center of each box at the lowest level due to the currents
contained in the boxes (Basis functions projected on to multipoles)
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
In HFSS, the multi-poles are plane waves sampled on the surface of a sphere of diameter equal
to the diagonal of the box and centered at its center.
3. Hierarchical computations of multi-poles at the center of each "higher" level box due to multi-
poles at the centers of its children (Up-tree traversal).
Since the multi-poles are effectively plane-waves, this step is equivalent to resampling plane
waves on a larger sphere using spherical interpolation.
4. Construction of fields at each box center at the "highest" level due to all multi-poles at this
level (Translation).
The fields at the receiving box can be again computed on a per-multi-pole (per-plane-wave)
basis using the addition theorem for the Green's function. The fields at the receiving box center
are, thus, again represented using plane-waves.
5. Hierarchical computation of fields at the center of each "child" box due to the "received" fields
at its parents (Down-tree traversal)
Due to the plane-wave nature of the multi-poles, this step is equivalent to a "down-sampling"
from a sphere at the parent level to one at the child level.
6. Computation of fields at the observer locations inside each lowest level box (local fields
projected to testing function)
This is done using integration (summation) over all the plane-waves to compute the field,
followed by testing using appropriate testing functions.
The first step, the computation of the absolute "near-field" and all RHS-independent pre-
computations possible for steps 2 - 6 are performed during the "Matrix Assembly" stage and the
remaining computations for steps 2 - 6 are performed during the "Iterative Solution" stage (Figure
3).
Due to the way the algorithm is constructed the MLFMM solver will take significantly less amount of
time than ACA for "Matrix Assembly". It is, however, possible that the MLFMM solver may take a
larger amount of time than ACA per iteration for "Matrix Solution". Further, due to its construction,
MLFMM algorithm tends to use significantly less memory than the ACA solver for large problems.
Related Topics
Near-field interactions for a given reference box are defined to be between itself and the boxes that
it touches at the same level. Far-field interactions for a given reference box are computed explicitly
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
for all boxes it does not touch which reside in its parent's near field. The hierarchical nature of the
algorithm automatically provides the near-field interactions at level n+1 when computing the
various interactions at level n. This can be inferred by studying Figure 1 and 2. An outcome of this
fact is that only the lowest level contains explicit near-field interactions which are done using
standard MoM. Further, note that the far-field interactions between a reference box and boxes
which are further away than the near-field of its parent are accounted for by the far-field
interactions of its parent (and higher level parents if they exist).
Figure 2: shows the decomposition of boxes into "near" and "far" fields at levels 1, 2, and 3. In each
case, a reference box is shown in green and its immediate parent is shown with a red border. The
orange color indicates boxes in the near-field of the reference box and the blue color indicate boxes
in the far-field at each level. Note that the "near field" exists only at level 1.
Figure 3: illustrates steps 2-6 in the MLFMM algorithm above. The black arrows indicate the
multipole creation from basis functions and construction of the tested field from multipole
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
expansions (steps 2 and 6). Orange arrows indicate the up-tree and down-tree traversals (steps 3,
5), and the red arrow indicates the translation of multipoles to its far field (step 4).
Related Topics
The following guidelines have been arrived at by analyzing the features of the MLFMM algorithm
and comparing its performance to ACA for several test problems.
1. Problem size
In general, the ACA solver will be more efficient than the MLFMM solver in terms of both
memory and solution time for problems whose scattering surface(s) has (have) less than
100,000 surface unknowns (~100,000 triangles).
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
In general, the ACA solver will be more efficient in memory and speed than MLFMM for
problems whose geometry has a bounding box with a highly skewed aspect ratio (on the
order of 100:1 or higher).
3. Design Type
HFSS-IE
Number of Excitations:
For problems having very few excitations (<10), the MLFMM solver will be more efficient
than ACA in both speed and memory for problems that satisfy items 1 and 2 above. Since the
time required for matrix multiplication is higher in MLFMM, as the number of excitations
increases (e.g. mono-static RCS problems, for example), the # of unknowns in the problem
needed to realize the increase in speed provided by MLFMM (vs. ACA) will increase (with
respect to the limits provided in 1, above). However, the memory savings provided by
MLFMM will remain consistent even while the number of excitations increases.
HFSS - FE-BI
For FE-BI surfaces involving few excitations the MLFMM solver will provide similar or
slightly better performances in solution time and better performance in memory for
problems that satisfy items 1 and 2 above.
For FE-BI surfaces involving a large number of excitations (e.g. several ports, or mono-
static RCS problems), the MLFMM solver's solution time may be larger than that for
ACA but the memory savings will remain.
IE Regions
For IE region problems the ACA solver will nearly always be faster than the MLFMM
solver. However, the MLFMM solver will provide memory savings for problems satisfying
criteria 1 & 2 above.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Related Topics
l Under the General tab of the Solution Setup dialog box, enter a value for Maximum
Number of Passes.
For driven problems HFSS always requiring at least one adaptive pass. Entering 1 will bypass
adaptive analysis, generating a solution only at the solution frequency you specified.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note The size of the finite element mesh — and the amount of memory required to generate a
solution — increases with each adaptive refinement of the mesh. Setting the maximum
number of passes too high can result in HFSS requesting more memory than is available or
taking excessive time to compute solutions.
Related Topics
The delta S is the magnitude of the change of the S-parameters between two consecutive passes.
The solver reports the worst case violation. The value you set for Maximum Delta S is a stopping
criterion for the adaptive solution. If the magnitude of the change of all S-parameters are less than
this value from one iteration to the next, the adaptive analysis stops. Otherwise, it continues until
the requested number of passes is completed. The default value is reasonable for most cases.
Setting the Maximum Delta S too small wastes computer resources and time. Setting it too large
jeopardizes accuracy. Always set the Delta S with your error tolerance in mind.
Consider the worst case scenarios when setting the Maximum Delta S.
l Determine the worst case magnitude error by assuming the S-parameter magnitude is the
only source of error (phase is perfectly accurate).
l Most likely the actual solution is much closer since the error will be split between the
magnitude and the phase solve value.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Under the General tab of the Solution Setup dialog box, enter a value for Maximum Delta
S.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Delta S data is available only after HFSS completes two iterations of the adaptive analysis process.
Note Delta S is computed on the appropriate S-parameters - modal or terminal - after the S-
parameters have been de-embedded and renormalized.
Related Topics
The delta Energy is the difference in the relative energy error from one adaptive solution to the
next. The value you set for Maximum Delta Energy is a stopping criterion for the adaptive
solution. If the delta Energy falls below this value, the adaptive analysis stops. Otherwise, it
continues until the convergence criteria are reached.
l Under the General tab of the Solution Setup dialog box, enter a value for Maximum Delta
Energy.
Delta Energy data is available only after HFSS completes two iterations of the adaptive analysis
process.
Related Topics
The delta Frequency is the percentage difference between calculated eigenmode frequencies from
one adaptive pass to the next. The value you set for Maximum Delta Frequency Per Pass is a
stopping criterion for the adaptive solution. If the eigenmode frequencies change by a relative
amount less than this value from one pass to the next, the adaptive analysis stops. Otherwise, it
continues until the maximum number of passes is completed.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Under the General tab of the Solution Setup dialog, enter a value for Maximum Delta
Frequency Per Pass.
Delta Frequency data is available only after HFSS completes two iterations of the adaptive
analysis.
Related Topics
Selecting Converge on Real Frequency Only causes the percent difference calculation among
a set of frequencies to be based only on the real parts of the frequencies; the imaginary parts of the
frequencies are ignored.
l Under the General tab of the Solution Setup dialog box, select Converge on Real
Frequency Only.
l For driven solutions, if the Maximum Delta S, Maximum Delta E, or alternate matrix
convergence criteria are achieved in addition to any specified expression convergence
criteria, the adaptive analysis stops. Otherwise, the solution continues until the requested
number of passes is completed.
l For eigenmode solutions, if the Maximum Delta Frequency Per Pass criteria is
achieved in addition to any specified expression convergence criteria, the adaptive analysis
stops. Otherwise, the solution continues until the requested number of passes is completed.
1. Double-click on the setup icon in the Project tree to open the Solution Setup dialog.
2. Click the Expression Cache tab in the Solution Setup and click the Add... button to open
the Add to Expression Cache dialog.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
3. Specify the context for the expression you define. For Modal Solution Data, you do not need
context other than the Solution. Other selections require more context:
l Emission Test also requires a digital signal.
l Far Field field also requires a geometry such as an infinite sphere.
l Fields or Near Fields also require a geometry such as a polyline.
4. Under the Trace tab, select from the Category, Quantity and Function lists to create
expressions.
Selecting a listed category lists the Quantities and Functions available for each category. If you
have defined one or more output variables, you can see them listed as Quantities by selecting
the Output Variables Category. The Output Variables button opens a dialog that lets you
define additional output variables.
When you have created an expression, it appears in the Expression field of the Trace tab. If
desired, you can use the Range Function button to select range functions to apply to the
expression.
Under the Calculation Range tab, you can view the values of available sweep variables.
Clicking the ellipsis [...] button in the Edit column opens a list of values.
5. When you have created an expression that you want to add to the cache, click the Add
Calculation button.
This adds the selected expression and the associated context to a table in the Expression
Cache tab. You can select any additional expressions with contexts and add them in the same
way.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
6. When you have added the expressions you want, click Done to close the Add to
Expression Cache dialog.
The Expression Cache tab of the Solution Setup lists the expressions you have added as a
table.
l The Title field is editable, by default showing the name as built from the expression, but
removing underscores.
l The Expression field shows the full expression. If necessary, you can resize the Solution
Setup dialog. You can also resize each column in the table.
l The Context column shows None for Modal solutions, or the appropriate geometry for
Fields calculations.
l The Intrinsics column shows a clickable button that opens an Edit Calculation Range
dialog. If the column button shows None you cannot edit the value. If the button shows
variables, click the ellipsis [...] in the Edit column to display a list of the variable values that
you can select. Click OK to close the Edit Calculation Range dialog and apply your
selections to the Expression Cache.
l The Convergence column contains a check box that lets you designate post processing
variables, such as for renormalization or deembedding. You can also use this feature to
assign variables to non-model objects (for example, the properties of a solid, sheet or lines
used for field calculations). You can also assign a PP Variable to a coordinate system
(CS) that is not associated with model objects.
To excite particular sources for particular output variables, you can assign a post process
variable to the magnitude of sources you might want to edit, and assign the expression value
in the Expression Cache. With PP Variables, you can control convergence based on several
combinations of active sources.
7. To designate one or more expressions for convergence, click the field for the Convergence
column for each expression.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Check Use this expression for convergence to enable the radio buttons. You can then
specify the Max Delta between passes or the Max Percent Delta criteria. The Max Delta
solves a potential issue if your expression is essentially zero and the numeric noise from pass to
pass causes the maximum percentage delta to remain high. In that case adaptive refinement
continues until you get to the maximum number of passes.
Related Topics
Note For more information see Mesh Linking and Mesh Link Requirements.
1. Under the Advanced tab of the Solution Setup dialog box, click the check box for Import
Mesh.
This displays the Setup Link dialog box. By default, the Source Project check boxes for Use
This Project and the Source Design check box for Use This Design are selected.
Note that when you setup a link to an external source, the Lamda refinement option is
deselected under the Options tab to avoid over-refinement of the linked mesh.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
If you uncheck Use This Project, you enable fields for selecting a different project and radio
buttons to specify whether to save the source path relative to The project directory of the
selected project or This project.
2. To specify a Source Project file click the ellipsis [...] button to open a file browser window.
When you selected the project, click the Open button to accept the project file for the setup. You
can use the check box to Open as read only.
Use the radio buttons to specify whether to save the source path relative to The project
directory of the selected project or This project.
When you select a Project File, the Design field and the Solution field are filled in with default
values, and the drop down menus contain any available Projects and solutions.
The "Default" solution is the product dependent solution of the first Setup. That is the setup
listed first in the source design's project tree (alphanumerical order). A product specific solution
of this setup becomes the default solution. In most products, it is LastAdaptive. In a Transient
solution type, it is "Transient."
Note The solution in the source design must provide data for the target design's adaptive
frequency as well as its sweeps. That is, the adaptive frequency for the target design must
be included in the sweep in the source design.
If necessary, you can open the source design and add an appropriate frequency point to an
existing sweep.
3. For the Source Design, if you leave Use This Project checked, you can uncheck Use This
Design to enable the a dropdown menu for to select from other available designs.
4. For the Source Solution field, you can use the dropdown menu to select from other
possible solutions.
5. Use the check box specify whether to Simulate the source design as needed to produce
the mesh.
6. Use the check box to specify whether to preserve the source design solution. Note that
in the Extractor mode, the source project will be saved upon exit. Extractor mode means
that the software is opened during the link solely for the purpose of solving.
7. The second tab, Variable Mapping, lets you view any variables contained in the Project you
select.
When there are variables in the source design, you can choose to "map" these variables to
constant values, expressions or variables in the target designs. Variable mapping becomes
more important when the datalink type requires source and target design to be geometrically
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
When a variable in the target design has the same name of a source design variable but the 2
variables are not mapped, the Parameter tab will become the active tab with the following
message box popped.
You can exit the Setup Link dialog directly by selecting "Accept Setup and Exit Dialog" or
reexamine the parameter mapping by selecting "Return to Setup Dialog".
In the Setup Link dialog box, for linked designs with variables of the same name, you can click
Map Variables by Name to automatically map same named variables. A variable that does not
have a same named counterpart, and retains its value in the source design.
8. You can select the Additional mesh refinements tab to specify the following:
l For Mesh Operations, you can select radio buttons to either Apply mesh operation in
target design on the imported mesh, or Ignore mesh operations in target design
(default).
l For Port Adapt, you can check Perform port adapt in target solve setup.
9. Click OK to accept the setup and close the Setup dialog box.
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Linked data can be mesh, field or some other post-processing data that the source design
generated. The target design for the link caches these data internally to minimize the need to
activate the source design.
If you have previously setup links to a design, the HFSS>Analysis Setup menu contains an option
to Clear Linked Data. This removes the linked data for all links in a design, therefore invalidating
the solutions. You can also clear linked data through HFSS>Results>Clean Up Solutions,
which displays a dialog that includes options that let you selectively delete linked data only, or as
part of other deletions.
Clearing linked data for some link types requires HFSS to revert to the initial mesh. Thus in some
cases, this command removes the current mesh of the target design.
Related Topics
Mesh Linking
l Link a mesh from an Eigenmode solution to a Driven Modal or a Driven Terminal design.
l Use a cascade of mesh links within the same design where each link adapts the mesh at a
different frequency.
Related Topics
If you want to reuse a mesh from an existing source design, make sure that the geometries in the
target and source are identical. This is a requirement for a mesh link. There are two ways to
generate geometrically equivalent models.
l Copy the entire source design and paste it in the Project Manager window to create the
target design.
l Use Import from Clipboard as follows:
1. In the model window of the source design, press CTRL+A to select all the objects.
2. Right-click on the Modeler field and select Edit>Copy from the short-cut menu.
3. On the target design, go to Modeler>Import from Clipboard to paste in the design.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
After you paste using one of the above methods, create a solution setup in the target, select Import
Mesh on the Options tab, and link the mesh from the Setup Link dialog box.
Note For more information about linking the mesh, see Specifying a Source for the Initial Mesh.
HFSS performs solution adaptive mesh refinement to produce accurate results. Lambda
Refinement is necessary to avoid false convergence and achieve accuracy to the field data
especially for electrically (approximately greater than 2*lambda) large problems. The Lambda
refinement process helps to start with the optimal balance between element count and element
size. For efficient convergence, the initial mesh should meet some element electrical size
requirements as determined by lambda refinement. Typically, a few elements per wavelength are
needed for accurate results and since wavelength depends upon the material, the element length
target differs for each material. You can specify the size of the element target by which HFSS
refines the mesh in the Lambda Target field or select the recommended Use Default Value. The
default value in the Lambda Target field also depends upon the Order of the Basis Functions. For
example, if the lambda target is 0.3333, the initial mesh is refined such that on each solid the length
of the elements are approximately smaller than 0.333*wavelength.
If you use the Advanced tab to link to a mesh from another design or project, Do Lamda
Refinement is unchanged.
To specify the size of target value by which HFSS will refine the mesh:
1. Under the Options tab of the Solution Setup dialog box, select DoLambda Refinement.
This enables the Target field and the Use free space lambda check box. It also enables
Lamda refinement for the background material for the IE Solver. (See the IE Solver Options
area on the Advanced tab.)
2. Enter a value for the wavelength in the Target field or accept the defaults.
The Target defaults depend on the Order of Basis function selections. For example, for Driven
solutions and a First Order basis function, the default target is 0.3333, which means that HFSS
will refine the mesh until most element lengths are approximately one-third wavelength.
For eigenmode solutions and a First Order basis function, the default target is 0.2
If you change the Order of Basis functions in the Solution Setup dialog, the default changes
automatically. Setting the Order of Basis affects the default value of the Lambda Refinement in
the Solution setups as follows.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
3. If you want the initial mesh to be refined based on the wavelength in free space, select Use
free space lambda. Material-dependent lambda refinement will be deactivated.
Note Changing the Lambda refinement target invalidates any solutions that were
performed with the previous lambda refinement.
If an object is highly conductive, very little energy will penetrate into it, so it does not
need a dense mesh. In such cases, free space mesh is applied.
Related Topics
l Under the Options tab of the Solution Setup dialog box, enter a value for percent
Maximum Refinement Per Pass.
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
1. Under the Options tab of the Solution Setup dialog box, click the Maximum Refinement
check box to enable the text field.
2. Enter the number of tetrahedra for Maximum Refinement.
You can also control these values in the docked properties window that displays when you
select the setup with the View>Properties enabled. With the properties window displayed. you
can click the check box for Use Max Refinement to apply the value in the Max Refinement text
field.
Related Topics
l Under the Options tab of the Solution Setup dialog box, enter a value for Minimum
Number of Passes.
Note For a solve setup with zero passes, no sweeps, and that is not ports only, validation
produces a warning message.
Related Topics
l Under the Options tab of the Solution Setup dialog box, enter a value for Minimum
Converged Passes.
The convergence criteria must be met for at least this number of passes before the adaptive
analysis will stop.
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
You can specify different stopping criteria for specific entries in the S-matrix. This is done in the
Matrix Convergence dialog box. The adaptive analysis will continue until the magnitude and
phase of the entries change by an amount less than the specified criteria from one pass to the next,
or until the number of requested passes is completed.
1. Under the General tab of the Solution Setup dialog box, select Use Matrix
Convergence.
2. Click Set Magnitude and Phase.
3. Select one of the following from the Entry Selections pull-down list:
For the selection All, enter the convergence criteria for the Maximum Delta (Mag S) and the
Maximum Delta (Phase S) in the fields to the right.
For both of these Entry Selections, you can set the Ignore Phase when Mag is less than
value. See the note on technical issues under step 4 c.
4. If you chose Selected Entries, the Matrix Convergence dialog displays some new fields:
l a table showing columns for Matrix Entry 1, Matrix Entry 2, and the Delta Mag and Delta
Phase.
l Entry 1 and Entry 2 fields which contain drop down lists of ports and associated modes
(or terminals).
l an Insert button with which to move selections from the port list selections to the table
To select the desired ports and mode (or terminal) pairs, do the following:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
c. In the Phase box, enter the maximum change in phase, in degrees, from pass to pass
from Entry 1 to Entry 2.
Note: When the Mag S becomes small (near to zero) its phase becomes indefinite and
insignificant due to mathematical issues. In HFSS 10 and 11 there was a 0.05 magnitude
threshold that caused that Phase Margin to be discarded. However, some users may want
to continue running additional passes to stabilize phase margins even when the S-
parameter magnitude is below this threshold. For this reason, the magnitude threshold has
been removed. This calls for caution if you want to see a good phase convergence for S12
which is near to 1. If you set a small delta_phi with small delta_s, after a couple of passes,
S12 will converge, but S11 never, since S11 ~0 and its phase changes with the mesh noise
because the phase is indefinite. In other words, under these conditions the adaptive process
never stops, so you should abort it.
d. Click Insert.
The entries appear in the table above. If you have selected multiple entries, all combinations
of matrix entry1 and matrix entry2 populate the table.
Selecting a Row in the table enables the Delete button, if you need to remove a row from the
table.
Clicking in the Delta Mag and Delta Row fields of the selected row enables editing in those
fields.
Related Topics
l Under the Options tab of the Solution Setup dialog box, select Order ofBasis.
This can be First Order (the default), Zero Order, Second Order, or Mixed order.
Setting the Order of Basis functions affects the default value of the Lambda Refinement in the
Solution setups as follows.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The Zero order option is useful when a model requires a mesh that produces more than 100,000
tetrahedra, but the model size is small compared to wavelength. The higher order options solve
progressively more unknowns for each tetrahedron. Mixed order uses higher order where more
accuracy is required, and lower order where fields are weaker.
Warning If you select Zero Order Solution Basis, all tetrahedra in the model must have edge
lengths less than 1/20th wavelength. Thus, this option is usually selected in
combination with a specific lambda refinement setting.
Related Topics
When you select the Enable Direct Solver option, HFSS automatically invokes the multi-frontal
solver. If you select the Iterative Solver and HFSS decides that the matrix is not conditioned well
enough to take advantage of the iterative approach HFSS still uses the multi-frontal solver.
1. On the Solution Setup dialog, Options tab, select the Direct Solver radio button.
Note The Iterative Solver is not available for zero order basis solutions.
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
When you select the Enable Iterative Solver option, HFSS automatically invokes the iterative
solver when it decides that the matrix is conditioned well enough to take advantage of the iterative
approach. HFSS uses the multi-frontal solver if the matrix does not meet this requirement.
For more detail, see the technical notes for Iterative Matrix Solver.
1. On the Solution Setup dialog, Options tab, select the Iterative Solver radio button.
2. Enter a value for the Relative Residual. The residual measures the convergence of the
iterative solver. The default value is 1E-6.
Note The Iterative Solver is not available for zero order basis solutions.
Related Topics
Note You can use the Domain Decomposition method and setup HPC to solve a large problem
such as a helical antenna. HFSS automatically apportions the helical antenna design into
domains and solves them by separate processes. See the discussion associated with the
helical antenna example project that can be accessed with File > Open Examples >
Antenna.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l The Domain Decomposition radio button under the Solution Setup Options tab is
checked.
l You have the HPC License.
l You have provided at least three distributed machines in the pool.
l The solver determines that the problem is large enough (the mesh has enough tets) to
bother with domains.
l The design includes IE Regions and/or FE-BI Radiation Boundaries.
If you have configured your installations properly, the Domain solve can use Distributed Memory
solutions. Memory used by the MPI-enabled HFSS solver is therefore limited by the set of
machines that are available rather than the shared memory available on any single machine. This
allows you to simulate larger structures than before and to optimally reconfigure the cluster of
machines for the problem at hand. If an HFSS problem involves solver domains or a finite array,
then frequency sweeps will not be done using DSO. Also, DSO for Optimetrics will not be allowed.
Restrictions on solver domains are that the design and analysis setup cannot include:
If any condition is not met, the problem is solved with the non-domain solver defined under the
solution options. When these conditions are met:
l The solver chooses the number of domains to use, based on the machines available. The
number of domains chosen will likely be close to the maximum. The maximum is one less
than the total because the first machine in the pool is used to control domain iterations.
l The solver creates the domain meshes of roughly the same size
l Domain meshes are created every time the global mesh changes (before each adaptive
pass)
Note l You provide resources for the distributed solve by adding machines to the distributed
machine pool. A machine can appear in the pool more than once. You should use
this capability to maintain a balanced load.
l Because the domains should be roughly the same size, you should provide balanced
resources.
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
For versions prior to HFSS16 in the domain decomposition solver, domains are distributed across
separate machines and each right hand side (RHS) or excitation is solved one at a time. For
designs with several excitations, this process can take much time. In HFSS16 a distributed right
hand side (RHS) solver can use extra machines (if available) and speed up simulation.
Suppose a design with 10 excitations requires 5 domains. To simulate such a design you must
enter at least 6 machines in the distributed list. If you enter less than 12 machines, Distributed RHS
launches 6hf3ds and the simulation process is identical to that in the previous versions. These 6
hf3d solvers are treated as one group. If you enter 12 machines, you will notice 12 hf3ds (two
groups) in the Task Manager and each group simultaneously solves 5 distinct excitations. If each
machine is distinct, the simulation is faster compared to the single group simulation. More groups
are automatically created when more machines are entered.
The distributed RHS solver is triggered when there are at least 4 excitations and adequate number
of machines available. The minimum number of excitations per group is 2. For finite array domains,
distributed RHS is enabled when there are adequate number of machines such that each engine
solves at most 2 parents. For regular rectangular arrays, number of engines per group is 11. Thus
you can enter at least 22 machines to enable this new feature. For optimal performance, we
recommend using distinct machines in each group.
Related Topics
The Domain Decomposition option for large models requires that you provide resources for the
distributed solve by adding machines to the distributed machine pool.
Because the domains should be roughly the same size, you should provide balanced resources. As
an example of balancing the load, suppose that machine called Patriot has 256 GB and another
called Cutlass has 64 GB. If you want up to five domains, it makes sense to enter Patriot in the pool
four times and Cutlass once.
Under Analysis Configuration Options, you should set the RAM Limit % to the memory desired for
each individual domain.
Remember:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l A machine can appear in the pool more than once. The user should use this capability to
maintain a balanced load.
l The first machine in the pool is used to control domain iterations.
l Under the Analysis Configuration Machine tab, the Number of Cores is also set per
domain.
In the example above, a machine named Patriot has 16 processors and a machine named Cutlass
has 8 processors. Four domains will go on Patriot, so Number of Processors should be set to 4.
Four processors on Cutlass will be unused.
Recommendation: it is more important to use memory efficiently than to use all the processors.
Related Topics
The solve uses domain solvers if there is a FE-BI radiation boundary and/or at least one IE Region.
Number of domains
l One or more for FEM region (depending on whether using solver defined domains)
l One or more for FE-BI surfaces and dielectric cavity, depending on size and connectivity
l One or more for metallic IE Regions, depending on size and connectivity
l With solver defined domains, determines number of machines
Related Topics
Assign IE Regions
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l If you select this setting, edges which are assigned to ABC and touch a port have an
radiation boundary condition applied during the port solution.
l If you do not select the setting, a perfect conducting boundary condition is used during the
port calculations.
In most cases this setting has a limited effect on the overall fields or post processed quantities.
Port Options
If the design includes wave ports, the Port Options options appear under the Advanced options
tab of the Solution Setup dialog box. These options include:
If you check Set Triangles for Wave Port, the Minimum and Maximum fields are enabled.
You can edit the default values of 100 for the minimum and 500 for the maximum.
For designs with lumped ports, this option is not active. Higher numbers of triangles would not
benefit a solution setup in this case.
l Incident Wave
l Linked Field
l Voltage Source
l Current Source
l Magnetic Bias : Note: Sensitivity analysis of a design variable associated with the magnetic
bias region assumes that the magnetic bias field does not change. In some cases this
assumption may not be appropriate and requires user discretion to ensure its applicability
especially for non-uniform ferrite models.
You can select design properties and project variables as variables of differentiation. If your design
has appropriate candidate variables, the Derivatives tab of the Solution setup lists them. You
enable the derivative calculation by checking the appropriate boxes.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
You can view the computed derivatives in the Reporter. You can also use them through the Tune
Reports command for interactive exploration of small variations in the design, without the need to
solve again.
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
To generate a solution across a range of frequencies, add a frequency sweep to the solution setup.
HFSS or HFSS-IE performs the sweep after the adaptive solution. If an adaptive solution is not
requested, the sweep is the only solution generated. You can also disable a sweep, so that you can
run only the adaptive solution (or a ports-only solution) without the sweep, then later reactivate the
sweep definition.
2. Select the solution setup to which the sweep applies and click OK. To bypass this dialog
right-click on the desired setup in the Project tree and select Add Sweep from the shortcut
menu.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
If you have added more sweeps, you can Delete a selected distribution.
4. If you plan to perform a Full-Wave SPICE analysis, click Time Domain Calculation tool to
obtain assistance determining a suitable frequency sweep range for the solutions. Also see
the Requirements for Full-Wave SPICE.
5. If you expect to use the same settings often, you can got to the Defaults tab and click the Set
Defaults button. To use previously saved settings, click the Use Defaults button.
6. Click OK.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Once you have created a sweep, an icon for the sweep appears in the Project tree under the
associated setup. Selecting the sweep icon causes the docked properties dialog to show the
name, start, stop, step size, and sweep type. It also includes an Enabled check box.
You can select an existing sweep, use the Edit commands to Copy it, and then and Paste the
sweep into the Project tree. (By default, the copy is named Sweepn, where n increments with each
new sweep.) You can edit the new copies of the sweep to make desired changes. For example,
you can change a specific parameter, or for a distributed solve, you could assign different start and
end points for each copy of the setup.
The Paste command for sweeps is design sensitive (that is, you cannot paste between Driven and
Eigenmode designs) and context sensitive (for example, a sweeps can only be pasted in a setup.)
Dependent setups are pasted along with the copied setup. You are warned if the dependent setup
is already in the design and setup is not pasted again.
Note For a solve setup with zero passes, no sweeps, and that is not ports only, validation
produces a warning message.
Related Topics
Specify the type of sweep you want to perform in the Edit Sweep dialog box. Choose one of the
following sweep types:
Fast Sweep Generates a unique full-field solution for each division within a frequency range.
Options Best for models that will abruptly resonate or change operation in the frequency
band. A Fast sweep will obtain an accurate representation of the behavior near
the resonance. Fast sweeps are disabled if an anisotropic boundary condition is
present.
Discrete Generates field solutions at specific frequency points in a frequency range. Best
Sweep when only a few frequency points are necessary to accurately represent the
Options results in a frequency range.
Interpolating Estimates a solution for an entire frequency range. Best when the frequency
Sweep range is wide and the frequency response is smooth, or if the memory
Options requirements of a Fast sweep exceed your resources.
(default) All discrete basis solutions are solved prior to interpolating sweeps because it is
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
possible that an interpolating sweep can re-use already solved frequencies from a
discrete sweep.
For Time Domain Reflectometry plots (TDR), you must use an interpolating
sweep.
When you select Interpolating sweeps in the Edit Sweep dialog, the
Interpolation options tab is activated. This lets you specify a maximum number
of solutions, and other interpolation values.
If you expect to use the same option settings often, you can click the Set Defaults button. To use
previously saved settings, click the Use Defaults button.
Related Topics
For Discrete sweeps, the Edit Sweep dialog options you can set include
l Sweep Name
l Frequency Setup
l Whether to Save Fields (for all Frequencies). By default, all frequencies are saved. (This
field is disabled under a Solve Ports Only setup. You can view port fields for the discrete
frequencies under the port field display in the project tree.)
l For Discreet sweeps, you can specify whether you want to save the 3D fields.
If you expect to use the same settings often, you can click the Set Defaults button. To use
previously saved settings, click the Use Defaults button.
Related Topics
For Fast sweeps, the Edit Sweep dialog options you can set include:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Sweep Name
l Frequency Setup
l For Fast Sweeps, you can select Save Fields, and whether to Generate fields at solve time
(All frequencies).
By default, all fields are saved. (This field is disabled under a Solve Ports Only setup. You can
view port fields for the discrete frequencies under the port field display in the project tree.)
Selecting Save Fields enables the check box for Generate Fields for all frequencies while
solving. By default, fields are not generated. If you have more than 100 frequencies, checking
the box generates a warning that disk space use may be excessive.
If you select this option, HFSS solves the fast sweep and then computes the fields at each freq
in the sweep, and saves them. This has two effects: (a) the simulation takes longer due to
saving the fields, (b) Post processing is much faster.
Since this option is exercised at solve time, it doesn't apply to existing solutions. Enabling this
option for a previously solved sweep and re-solving will access the previously solved data and
generate the requested fields.
If you expect to use the same settings often, you can click the Set Defaults button. To use
previously saved settings, click the Use Defaults button.
Related Topics
For Interpolating sweeps, the Edit Sweep dialog options you can set include:
General tab
l Sweep Name
l Enabled check box.
l Frequency Setup
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Interpolation tab
l Max Solutions
l Error Tolerance
l Click the Advanced Options... button to open the Interpolating Sweep Advanced Options
dialog.
l DC Extrapolation option
If you expect to use the same settings often, you can click the Set Defaults button on the Defaults
tab. To use previously saved settings, click the Use Defaults button.
Related Topics
DC Extrapolation options
If the Design Setting for DC Extrapolation is set to Advanced, the DC Extrapolation tab appears
for Fast and Interpolating sweeps. Otherwise, an effective DC value is calculated.
Note The Minimum Solved Frequency that you enter is solved independently of the step
size.
If you expect to use the same settings often, you can click the Set Defaults button. To use
previously saved settings, click the Use Defaults button.
Related Topics
For HFSS and HFSS-IE Interpolating sweeps, the Setup Interpolating Sweep Advanced
Options dialog lets you specify the following settings for a sweep:
l The Minimum Solutions value is the minimum number of converged solutions that will be
solved for the frequency range with respect to the interpolation basis. For example, if this
value is three, and the basis element is 1, then once the sweep reaches convergence it
simulates at two extra frequencies. If the sweep used a higher basis element setting, that is
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
taken into account. This resembles the minimum number of converged adaptive passes in a
regular simulation. Setting a minimum number of solutions can eliminate non-physical S-
parameter spikes and oscillations. For interpolating sweeps the default is 0. To change the
value: type a new value in the Minimum Solutions box.
l Specify a Minimum Number of Sub Ranges. This number acts as an initial condition on
the sweep to force initial even breakup of the null range into sub ranges. The end points and
middle of each subrange will be solved. This controls the points at which the interpolating
sweep is broken up and prevents redundant effort caused by neighboring interpolating
sweeps solving the same point. For example, the 1GHz to 4GHz and the 4GHz to 9 GHz
sweeps do not both solve the 4 GHz data point.
l Whether to use all or selected entries in the matrix of data types for the convergence. To
choose, click the Select Entries button to display the Interpolation Basis Convergence
dialog.
l The Data Types for Convergence. The defaults selections differ depending on the solution
setup.
l S-Matrix - checked
l Port Impedance - unchecked.
l Propagation constants - checked.
l S-Matrix - checked
l Port Impedance - checked.
l Propagation constants - checked.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l S-Matrix - unchecked
l Port impedance - checked
l Propagation constants - checked
l S-Matrix - unchecked
l Port impedance - checked
l Propagation constants - checked
If the design contains them, you can select Derivatives. If you select Derivatives, you can also set
the Error Tolerance, overriding the tolerance specified in the Edit Sweep dialog..
Note If a driven setup's ports-only setup changes and then the problem type switches between
driven modal and driven terminal, HFSS resets the interpolation basis data types for the
interpolating sweep.
Enforce Passivity -- This applies to driven modal and Terminal solutions. Select this check box to
enable passivity enforcement of an interpolating sweep at the requested sampling frequencies with
the specified error tolerance. For instance, tolerance of .001 means simulation should attempt to
reduce passivity to less than 1.001 at all sampling frequencies. You can view passivity using the
reporter. Passivity is enforced on 50 ohm renormalized single ended terminals for terminal projects
and 50 ohm renormalized modes for modal projects.
When using passivity, you may want to increase the Max Solutions value.
During an interpolating sweep, HFSS first adds basis points (solution frequencies) until the
convergence goal is reached, and then tests the sampling frequencies using the converged sweep
for whether they meet the specified passivity requirement. The sampling frequency having the
worst passivity violation is selected for solving. After solving for a passivity violation frequency, the
solver adds the newly solved data to the interpolation basis.
If necessary, the solver returns to solving for convergence, limited by the maximum number of
solutions for the sweep and resumes passivity checking after reestablishing convergence.
Messages in the Solution Profile indicate when the interpolated solver is working towards
convergence or working to resolve passivity. If any of the bases violates the passivity, the current
sweep terminates with a warning message.
Enforce Causality(DC Point Required) -- This applies to Terminal solutions. Causality means
that an output signal cannot start to change before the input signal changes. Causality can be
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
enforced only when there is a DC point in the sweep. A design should follow "Best Practices for
Accurate and Causal Broad Band Frequency Sweeps." In addition, you can select "Enforce
Causality" so the sweep fits (rather than interpolates) the s-parameter results to a set of causal
basis functions, thereby ensuring the extraction of a causal model..
Note You should follow recommended guidelines whenever setting up a numerical model in
HFSS (provide correct material definitions, including information about frequency
dependent behavior, and defining appropriate boundary conditions). Also when extracting
s-parameter models for signal integrity designs, where providing passive and causal results
is important, besides using this option, see "Best Practices for Accurate and Causal Broad
Band Frequency Sweeps".
Note If you start and stop an interpolated sweep and change the convergence value and/or
passivity tolerance, you may generate a non-repeatable sequence of frequencies in the
basis. Both regular and passivity frequencies are used when re-evaluate convergence.
If you change sampling frequency delta subsequent passivity behavior may be totally
different, since it is evaluated at new sampling frequencies.
Related Topics
Best Practices for Accurate and Causal Broad Band Frequency Sweeps
The Error Tolerance value is the maximum relative difference allowed between two successive
interpolation solutions. The default0.5 percent for interpolating sweeps is usually satisfactory.
However, if the Interpolated sweep Advanced Options include Enforce Causality and Enforce
Passivity, you may need to specify a lower tolerance (for example, 0.1). This is because of the
sensitivity of Enforce Causality and Passivity.
1. Open the Edit Sweep dialog box (by either viewing the properties of an existing Sweep or
by Adding a Frequency sweep to an existing Setup).
2. Type a value in the Error Tolerance box.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
If you expect to use the same settings often, you can click the Set Defaults button. To use
previously saved settings, click the Use Defaults button.
Related Topics
The Max Solutions value is the maximum number of solutions that will be solved for the frequency
range. For fast sweeps and for interpolating sweeps the default is 250. The value must be greater
than 3. To change the value:
1. Open the Edit Sweep dialog box (by either viewing the properties of an existing Sweep or
by Adding a Frequency sweep to an existing Setup).
2. Type a value in the Max Solutions box and click OK.
If you expect to use the same settings often, you can click the Set Defaults button. To use
previously saved settings, click the Use Defaults button.
Note HFSS automatically subdivides the interpolating sweep range so that no single subrange
gets too many basis elements. The effect is that you can now (if appropriate) request
hundreds of basis elements in the Max Solutions box for interpolating sweep setup, without
incurring any basis seeding performance penalty.
Related Topics
From the Setup Interpolations Basis dialog, select the Use Selected Entries radio button to
enable the Select Entries button. Select this to display the Interpolation Basis Convergence
dialog. This dialog permits you to specify the convergence basis.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
1. Select one of the following from the Entry Selections pull-down list:
2. If you chose All, Diagonal, or Off-Diagonal, you may fine-tune the matrix entry selection
process by selecting one of the following options from the Mode Selection pull-down list:
All Selects all of the mode matrix entries. Select in conjunction with All,
Diagonal, or Off-Diagonal entry selections.
Dominant Selects only the dominant mode matrix entries. Select in conjunction with All,
Only Diagonal, or Off-Diagonal entry selections.
Higher Selects only the higher-order mode matrix entries. Select in conjunction with
Order Only All, Diagonal, or Off-Diagonal entry selections.
As you select the wave ports for convergence, you use the Set, Clear, and Clear All buttons in
connection with the Entry Selection and Mode Selection settings. These buttons are enabled
when the wave port matrix state and selection settings permit them do something. For example,
The Clear button is not enabled until there are entries in the wave port matrix to clear and those
selections are permitted by the entry selection. The Set button is not enabled unless the
available mode selections permit entries to be set.
You can also select individual entries in the wave port matrix by clicking on grid cells. This action
displays a dropdown menu that lets you select ON or "-".
3. Specify EntrySelections and Mode Selections as desired and click SET, or click individual
wave port cells and select ON.
In the table location corresponding to the selection, the dash in the display is replaced by ON.
For example, selecting the first element in the row list and the fourth element in the column list,
and then Set Selection places an ON in the first row, fourth column. You can select one entry
at a time via the dropdown in the matrix cell, or clear the entire table with the Clear All button.
You can also Clear only the entries specified by the Entry and Mode selection settings (such as
off-diagonal, higher order).
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Linear A linear range of frequency points in which you specify a constant step size.
Step
Linear A linear range of frequency points in which you specify the number, or count, of
Count points within the frequency range.
LogScale A logarithmic range of frequency points in which you specify a frequency range and a
samples number.
Single Individual frequency points. For Discrete sweeps.
Points
Select the type of frequency point entry from the Type pull-down list.
The Edit Sweep dialog contains a Time Domain Calculation tool that you can use to help calculate
frequency step sizes and maximum frequencies, particularly if you intend to perform Full-Wave
Spice analysis.
For Discrete sweeps, HFSS always solves the frequencies from highest to lowest.
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
1. In the Edit Sweep dialog box, click Linear Step in the Type pull-down list.
2. In the Start text box, type the starting frequency of the frequency sweep.
For Fast and Interpolating sweeps, setting the initial value to 0 enables the DC Extrapolation
option.
3. In the End text box, type the ending frequency of the frequency sweep.
4. In the Step Sizebox, type the difference between frequency points.
HFSS will solve the frequency point at each step in the specified frequency range, including the
start and stop frequencies. For Discrete sweeps, HFSS always solves the frequencies from
highest to lowest.
For example, specifying 10 for the start frequency, 20 for the stop frequency, and 2.5 for the
step sizefor a Discrete sweep instructs HFSS to compute a solution for frequencies of 10,
12.5, 15, 17.5, and 20.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
To view a table of the frequencies and count, click the Preview button.
If the list of frequencies is longer than the visible display, you can use a scroll bar to view the list
to the end of the count.
1. For Fast sweeps, select Save Fields if you want to save the calculated 3D field solutions
associated with all port modes at the chosen frequencies.
For Discrete sweeps, select Save Fields (All Frequencies) if you want to save the calculated
3D field solutions associated with all port modes at the chosen frequencies.
If want to save the fields for just one or a few Discrete sweep frequencies, create a single point
sweep for that frequency.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
This single point sweep has a Save Fields column with a check box for each single point
frequency you define. You can select the Save Fields check box for the desired frequency, or
click the Save Fields (All Frequencies) check box to check or uncheck all frequencies.
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
1. In the Edit Sweep dialog box, click Linear Count in the Type pull-down list.
2. In the Start text box, type the starting frequency of the frequency sweep.
For Fast and Interpolating sweeps, setting the initial value to 0 enables the DC Extrapolation
option.
3. In the Endtext box, type the ending frequency of the frequency sweep.
4. In the Points text box, type the number of points in the sweep. The count value includes the
Start and End values.
HFSS will divide the frequency range into the count you specify and solve each frequency point
in the count.
To view a table of the frequencies and count, click the Display button. If the list of frequencies is
longer than the visible display, you can use a scroll bar to view the list to the end of the count.
5. For Fast sweeps, select Save Fields if you want to save the calculated 3D field solutions
associated with all port modes at the chosen frequencies.
For Discrete sweeps, select Save Fields (All Frequencies) if you want to save the calculated
3D field solutions associated with all port modes at the chosen frequencies.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
If want to save the fields for just one or a few Discrete sweep frequencies, define a Single Point
sweep for those frequencies and check the Save Fields box for that point.
For Discrete sweeps, HFSS always solves the frequencies from highest to lowest.
Related Topics
1. In the Edit Sweep dialog box, click LogScale in the Type pull-down list.
2. In the Start text box, type the starting frequency of the frequency sweep.
For Fast and Interpolating sweeps, setting the initial value to 0 enables the DC Extrapolation
option.
3. In the End text box, type the ending frequency of the frequency sweep.
4. In the Samples text box, specify the number of frequency points to sample.
HFSS assigns the sampled points using intervals based on a logarithmic scale.
To view a table of the frequencies and count, click the Display button. If the list of frequencies is
longer than the visible display, you can use a scroll bar to view the list to the end of the count.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
5. Select Save Fields (All Frequencies) if you want to save the calculated 3D field solutions
associated with all port modes at the chosen frequencies.
For Discrete sweeps, HFSS always solves the frequencies from highest to lowest.
Related Topics
1. In the Edit Sweep dialog box, click Single Points in the Type pull-down list.
2. In the Single text box, type a desired frequency point, and then select the frequency units.
A check mark in the Save Fields column indicates that the fields for the point will be saved.
Optionally, click the check box in the Save Fields column.
3. Create additional Single point sweeps for each frequency point you want to solve.
For Discrete sweeps, HFSS always solves the frequencies from highest to lowest.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Related Topics
To change the value of an existing frequency point in a discrete sweep in the Edit Sweep dialog:
1. In the Edit Sweep dialog either select the text field in the Frequency column and edit an
existing value field directly:
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
1. To delete a single frequency point from a sweep, select the row containing the frequency you
do not want to solve.
2. Click Delete.
Related Topics
For Discrete sweeps, you can insert, change, or delete specific frequency points that you want to
solve in the frequency range. They can be inserted individually to a new display, or to an existing
display of uniform frequency points.
1. To pre-specify an initial uniform range of frequency points, use the Frequency setup of the
Edit Sweep dialog to define the linear step, linear count, or log scale range you want.
2. Select an existing sweep and click Add Above or Add Below to insert the new sweep
definition.
3. Select Single Point from the Distribution pull-down list.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
4. In the Start text box, type a desired frequency point in the frequency units.
5. Select the Save Fields if you want to save the calculated 3D field solutions associated with
all port modes at that frequency. You can also select, or deselect the check box to specify
individual frequencies.
6. Add or edit additional Single Point frequency sweeps, and then click OK to save the current
definitions.
For Discrete sweeps, HFSS always solves the frequencies from highest to lowest.
Related Topics
If you plan to perform a full-wave SPICE analysis, use the Time Domain Calculation dialog box
to help determine a suitable frequency sweep range for the solution.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
2. Type a minimum rise time value in the Signal Rise Time box.
This value represents the time scale that will characterize the rate of change of the input time
signal, which will be applied in the circuit simulator.
The time sampling increment for the entire signal is calculated using
(1)
where
Note that the input time signal duration is determined using , where N is the number of
time points.
5. Click Calculate.
l HFSS now determines the Maximum Frequency using
(2)
6. Click OK to transfer the data to the frequency sweep fields in the Edit Sweep dialog box.
Related Topics
Keep the following guidelines in mind when you set up the calculation for the suggested frequency
step size and maximum frequency:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l The maximum frequency should be at least five times the inverse of the rise and fall times.
If the specified frequency band is too wide, an HFSS frequency sweep may have
convergence problems. If this happens, try to decrease the maximum frequency until the
solution converges.
l It is recommended, though not required, that the minimum frequency be less than the
maximum frequency divided by the number of frequency steps. It is usually recommended
to have at least 500 frequency steps. A higher number will slightly improve the full-wave
SPICE solution accuracy, but will also increase CPU and memory requirements to solve
the problem. For most cases, using 1000 frequency steps provides a good trade-off
between the accuracy and computational requirements.
Warning Occasionally, HFSS can fail to solve for the minimum frequency during a
Discrete or Interpolating frequency sweep due to a failure of the port solver to
converge. If this happens, try to increase the minimum frequency until the
solution process completes successfully. However, the minimum frequency
should be as low as possible because the low-frequency response
determines the steady-state time response.
l The suggested frequency sweep ranges are estimates. You may have a pulse with a
wider frequency content and HFSS's recommended frequency sweep range may miss
some of the high frequencies.
1. The design problem type in which the solution data panel is opened must be driven terminal.
2. In the Matrix Data panel, for non-imported data, the view type for the solution data must be
"Terminal Data" (not "Modal Data").
3. The data must be interpolating, or it must be discrete.
4. If the data is discrete:
a. It must either be native terminal data, or it must be inferred as terminal. For instance, in a
Touchstone file, the comment line "! Terminal data exported" will cause HFSS to
interpret the data as terminal, while the comment line "! Modal data exported" will cause
HFSS to interpret the data as modal. If HFSS finds neither comment line, it assumes that
the data is terminal.
b. At least 20 frequency points must be provided.
c. HFSS must be able to generate an interpolation basis that converged with <= 0.5% error
using no more than 100 basis elements.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
1. Expand the tree hierarchy under the Analysis icon in the project tree.
2. Expand the tree hierarchy under the icon for the analysis setup that includes the sweep.
3. Right-click on the icon for the sweep definition. In the shortcut menu that appears, select
Disable Sweep.
You can also disable a sweep by selecting Properties from the shortcut menu to open the Edit
Properties window. In the upper right corner of the Edit Properties window, uncheck the
Enabled box. Then click OK
To reactivate the sweep, open the shortcut menu again and select Enable Sweep.
You can also reactivate the sweep by selecting Properties from the shortcut menu for the sweep
to open the Edit Properties window. Check the Enabled box in the upper right corner, and click
OK to apply the change and close the window.
1. Expand the tree hierarchy under the Analysis icon in the project tree.
2. Right-click on the icon for the setup definition. In the shortcut menu that appears, click
Disable Setup.
You can also disable an analysis setup by selecting Properties from the shortcut menu to open
the Edit Properties window. In the upper right corner of the Edit Properties window, uncheck
the Enabled box. Then click OK
To reactivate the analysis setup, open the shortcut menu again and select Enable Setup.
You can also reactivate the analysis setup by selecting Properties from the shortcut menu for the
sweep to open the Edit Properties window. Check the Enabled box in the upper right corner, and
click OK to apply the change and close the window.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Using this option may help to keep the entire solver from being swapped out in the normal course of
process management on your computer. This kind of control may be especially important when
multiple solvers are running on the same machine. Of course, if the total memory requirement of all
processes grows large enough, the operating system will be forced into disk swapping.
Note The Iterative solver doesn't go off-core for efficiency reasons. Once the limit is exceeded,
iterative solver will issue an "Out of memory" error message.
Regardless of this setting, processes are limited to 4TB of address space on 64 bit operating
systems - no matter how much physical memory is installed.
Note Regardless of the RAM Limit setting, if allocation fails, the solvers will automatically switch
to off-core mode.
In case you receive an error message regarding insufficient memory on a 64-bit operating system,
you may have reached a point where the sum of physical RAM plus available swap space exceeds
the minimum amount of RAM needed by the off-core solver. Even for the off-core solver, the RAM
usage cannot be made arbitrarily small. In that case you can consider increasing the swap space
(the virtual memory) in the settings of your system.
For Linux schedulers, where the environment may be non-uniform/heterogeneous, you have the
option of using a batchoption to specify a RAMLimitPerCoreInGB. See the discussion under
Distribution Command Line Options.
To specify the RAM Limit (%) of the machine on which ANSYS Electronics Desktop s installed:
5. Select the Machines tab. specify a RAM Limit (%) in the text field for the active machine
list.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
6. This setting affects all projects for the current configuration for the user and machine..
Note ANSYS recommends that you use the RAM Limit setting if you wish to limit the
RAM that the MPS (default) solver may allocate. However, the Iterative solver
doesn't go off-core for efficiency reasons. Once the limit is exceeded, iterative solver
will issue an "Out of memory" error message.
Note Allocation of greater than 2 GB of RAM on 32-bit hardware platforms is only possible with
the appropriate operating system and boot settings, even if more than 2 GB are physically
installed.
To use the distributed memory solution in HFSS you will need to install HFSS and MPI software
from one of the supported third party vendors on all the machines you intend to use. You may need
to set passwords depending on the MPI vendor for authentication on the machines. Settings within
HFSS are used to turn on distributed memory solutions and define the list of machines you intend
to use. If an HFSS problem involves solver domains or a finite array, then frequency sweeps will
not be done using DSO. Also, DSO for Optimetrics will not be allowed.
Detailed instructions about how to get distributed memory HFSS solutions up and running are
outlined in the following sections.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
In addition, on Windows, you must install one of the supported versions of MPI from either Platform
Computing (default) or Intel. Be sure to install the same version of MPI on all machines in your
cluster. (Solving on a single Windows machine does not require MPI installation. Users running on
Linux do not need to install MPI manually).
You will need to set the password you want to use for your MPI runs on all the machines in the
cluster. You can either use the batch command provided by ANSYS to set your password or refer
to the MPI vendor's documentation.
By default, the MPI vendors use the fastest interconnect by default (typically InfiniBand is faster
than Ethernet). If you want to override the default behavior and force the use of Ethernet, you can
set the ANSOFT_MPI_INTERCONNECT environment variable to “eth” for the job.
Tight Integration of Platform MPI with Windows HPC for MPI Based Solves
Jobs running on a Windows HPC Cluster and using "Platform Computing" as the MPC Vendor,
ANSYS Electromagnetics software now works with Platform MPI to use the Windows HPC cluster
to launch remote processes. (Linux is not affected by this change. For Windows, the change does
not apply if the Windows MPI vendor selection is "Intel.")
Although registration of user passwords with Platform MPI is no longer required in this situation, if a
user's password is registered with Platform MPI, the registered password will be used. This may
result in job failure if the user's password is changed from the registered password. For this reason,
we recommend that user passwords be unregistered from Platform MPI on Windows HPC cluster
hosts.
If the analysis does not run as a Windows HPC job, the same requirements as for the previous
release apply. That is, that Platform MPI must be installed on each cluster node, including the
Platform MPI Remote Launch service, which must be running on each cluster node. The user
password must be registered on each node.
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The distributed machine list is selected under Tools>Options>HPC and Analysis Options, and
created under the Analysis Configuration dialog.
Distributed memory solutions are turned using the Domain Decomposition radio button under
the Solution Setup Options tab.
If an HFSS problem involves solver domains or a finite array, then frequency sweeps will not be
done using DSO. Also, DSO for Optimetrics will not be allowed. Distributed frequency solutions are
also known as "DSO" solutions.
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Related Topics
Note the distributed memory solve setup option can be turned on via scripting if desired.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Related Topics
l Management of all communication with the HFSS user interface. None of the distributed
machines communicate directly with the user interface but pass all information through the
Rank-0 machine.
l Mesh generation. The mesh is generated only on the Rank-0 machine.
l Disk access. None of the distributed machines access their local discs. The simulation mesh,
intermediate and solution data are passed to and from the distributed machines using MPI.
l Distribution and control of computational tasks on the distributed machines. The simulation
process is dynamic and the Rank-0 machine will determine which of the distributed
machines has memory available to distribute tasks accordingly.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The algorithms used in the distributed memory version of the HFSS solver engine resemble those
used in the non-distributed memory version. The matrix solution algorithms in the distributed
memory version of HFSS have been adjusted to use slightly more memory so that larger problems
can be simulated in less time.
The MPI enabled HFSS solver engine is not multi threaded. (The regular HFSS engine is multi
threaded.) If a particular machine has multiple cores and enough memory you can define this
machine several times in the distributed machine list ("doubling up") to take advantage of the extra
cores. Certain portions of the MPI enabled HFSS solver will be multi threaded in the future.
During the "Matrix Assembly" and "Matrix Solve" steps of the solution process the HFSS engine
attempts to distribute memory use evenly. At various points in the matrix solution process the
software will poll the machines in the cluster and determine which machine has the most memory
available and then reserve a block of memory on that machine. If a particular machine does not
have a large block of memory available the memory use on that machine will grow only slowly. If
none of the machines in the cluster have sufficient memory the solution process will terminate and
an error message will be posted to the HFSS message window.
Many factors affect solution time. In general, the solution time will decrease as the number of
compute nodes increases. However, parallel efficiency decreases as the ratio of communication to
computation increases so to some extent you need to match the size of the problem to the size of
parallel machine. Simulating small structures on a large cluster will not be efficient and may take
longer and use significantly more memory than if the structure was simulated on a single machine.
Network interconnect speed and topology can affect performance significantly in homogeneous
clusters. Performance can degrade if machines are "doubled up" to the point of causing memory
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
bus contention or if the cluster is significantly inhomogeneous and certain faster machines need to
wait for slower machines to catch up to synchronization points in the solution process.
Related Topics
Platform Interconnects
Win32 Ethernet/GiGE
Win64 Ethernet/GiGE (default), Myrinet, Infiniband
Linux Ethernet/GiGE (default), Myrinet, Infiniband
Ethernet/GiGE is the default interconnect on all platforms. You can choose one of the alternate
interconnects by setting the ANSOFT_MPI_INTERCONNECT environment variable to "myri" for
Myrinet and "ib" for Infiniband.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Related Topics
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
It is often a good idea to set up and run a small simulation with two processes on a single machine
before moving to a large cluster. Using a single machine will allow you to verify that HFSS and MPI
are installed correctly while eliminating problems arising from remote installation, authentication
and firewall settings.
Many problems occur because the MPI software cannot start and run due to authentication and
firewall issues. Please check with your MPI vendor and their end user documentation for
information about how to verify that authentication and firewall settings are correct.
If you are using MPI on Windows from Platform Computing you can test whether MPI will run by
using the "mpidiag" utility:
The tests need to be run in both directions because firewalls may allow communication in one
direction but not the other.
Platform Computing's implementation of MPI on Windows requires that you enter a password on
each machine in the cluster to run MPI solutions.
l To set the password run "mpidiag -s <name_of_machine> -cache -at" and enter the
password at the prompt.
Recall that HFSS must be installed in the same directory on all machines in the cluster and that the
cluster must be uniform (i.e. all Linux machines, all 64 bit Windows machines).
Verify that the version of the third party MPI software is identical on all the machines and that it is
listed in the table of supported versions above.
Verify that the machine names are correct and that all the machines can be reached on the
network.
Tight Integration of Platform MPI with Windows HPC for MPI Based Solves
Jobs running on a Windows HPC Cluster and using "Platform Computing" as the MPC Vendor,
ANSYS Electromagnetics software now works with Platform MPI to use the Windows HPC cluster
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
to launch remote processes. (Linux and is not affected by this change. For Windows, the change
does not apply if the Windows MPI vendor selection is "Intel.")
Although registration of user passwords with Platform MPI is no longer required in this situation, if a
user's password is registered with Platform MPI, the registered password will be used. This may
result in job failure if the user's password is changed from the registered password. For this reason,
we recommend that user passwords be unregistered from Platform MPI on Windows HPC cluster
hosts.
If the analysis does not run as a Windows HPC job, the same requirements as for the previous
release apply. That is, that Platform MPI must be installed on each cluster node, including the
Platform MPI Remote Launch service, which must be running on each cluster node. The user
password must be registered on each node.
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Within the context of HFSS and HFSS-IE, boundaries exist for two main purposes:
In an open problem, an air volume encompassing the outer radiating surfaces is modeled by a
surrounding object. Radiation boundary conditions (ABC, PML or FEBI) are assigned to the outer
radiating surfaces (i.e. faces of the region) to absorb all outgoing waves. HFSS users can choose
one of the three workflows to analyze an "open" design.
This workflow eliminates as much as possible the required interactions from a user and allows a
designer to get to a robust solution quickly. It is intended for users who do not want to be aware
of the region and the exterior radiation boundaries.
The open problem is enforced by the software automatically creates/maintains the region object
and the ABC boundaries. HFSS applies the most appropriate out-of-the-box settings based on
the geometries and the operating frequency. You do not need to (and cannot) edit these
settings directly.
This mode restricts the design to a single solve setup. Users cannot manually create the region
object, radiation boundaries or PML in this mode. Infinite ground plane, metallic IE region,
master/slave and symmetry boundaries are also not allowed.
2. Automation in setting up an open region problem using the Create Open Region command
and Update Open Region Padding commands.
This workflow provides automations that assist a user to quickly setup an open problem. As a
single user-customizable command, the software creates the region and the radiation
boundaries based on user's selections on the region padding type, radiation boundary type, etc.
If necessary, you can further customize the design by editing these design objects directly.
3. Advance mode
This is the original workflow where you manually setup the open design by assigning radiation
boundary conditions.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Anisotropic Represents a boundary condition used to replace a surface a planar screen or grid
Impedance with periodic geometry.
Aperture Represents a hole in a metallic sheet assigned as an IE Region.
Finite Represents an imperfect conductor.
Conductivity
Half Space Represents a background comprising a dielectric half space. For antenna and
scattering problems in HFSS in which all objects are assigned as Hybrid IE Region.
Impedance Represents a resistive surface.
Layered Represents a structure with multiple layers as one impedance surface.
Impedance
Linked Represents a data link to an isotropic or anisotropic impedance boundary in another
Impedance design. These can include infinite ground planes and shell elements.
Lumped Represents any combination of lumped resistor, inductor, and/or capacitor in
RLC parallel on a surface.
Master Represents a surface on which the E-field at each point is matched to another
surface (the slave boundary) to within a phase difference.
Perfect E Represents a perfectly conducting surface.
Perfect H Represents a surface on which the tangential component of the H-field is the same
on both sides.
PML Represents an open boundary condition using several layers of specialized
materials that absorb outgoing waves.
Radiation Represents an open boundary by means of an absorbing boundary condition
(ABC) that absorbs outgoing waves.
Slave Represents a surface on which the E-field at each point has been forced to match
the E-field of another surface (the master boundary) to within a phase difference.
Symmetry Represents a perfect E or perfect H plane of symmetry.
You may also choose to designate a perfect E, finite conductivity, or impedance boundary as an
infinite ground plane if you want the surface to represent an electrically large ground plane when
the radiated fields are calculated during post processing.
Note Hiding boundaries also turns off a check for boundary overlaps during boundary
assignment. In the case of very large models with many boundaries, hiding boundaries can
prevent delays during boundary assignment. Full model validation will subsequently check
for boundary overlaps.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
For convenience, you can access the Edit Global Materials command from the Boundaries
menu.
Note By default, the history tree in the 3D modeler window groups sheet objects according to
boundary assignment. To change this, select the Sheets icon and right-click to display the
Group Sheets by Assignment check box.
Related Topics
Modifying Boundaries
Deleting Boundaries
Reassigning Boundaries
Reprioritizing Boundaries
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
not enclosed within a closed cavity. While most HFSS simulations deal with models that are open,
by default, HFSS initially assumes that any given model is closed. HFSS assumes all outer
surfaces of the solution space are covered, or coated, by a perfect electric conductor boundary. In
order to create an open model, you specify a boundary on the outer surfaces that will overwrite the
default perfect electric conductor boundary.
Related Topics
Assigning Boundaries
Example Projects
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
3D objects. While boundaries can be very useful, a user should exercise caution when using them
as they can create unintended results if applied incorrectly.
Not every HFSS model, however, will use simplifying boundaries. When using boundaries to
create simpler models, users should take care to not create a model that has unreasonable or
inappropriate boundaries applied.
Related Topics
Assigning Boundaries
Example Projects
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Related Topics
Modifying Boundaries
Deleting Boundaries
1. Click Boundary>Set Default Base Name or Excitation >Set Default Base Name.
This displays the Set Default Boundary/Excitation Base dialog. This contains a list of all
boundary, hybrid region, and excitation types, and the base names for each. The base names
for each type have editable text fields. The base names for boundaries and excitations are
incremented from the base names here.
2. Edit the text fields to your preferred naming conventions. Names must be less than sixty
characters and cannot include spaces. Letters, numbers, and special characters are
permitted. Illegal names are not accepted and generate a warning message.
3. Click OK to accept the changes or Cancel to close the dialog without accepting changes.
If you want to revert all or selected names to defaults, use the Revert All or Revert Selected
buttons.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Related Topics
Modifying Boundaries
Deleting Boundaries
You can access the Create Open Region command in three different ways:
l Right-click in the modeler window and select Create Open Region... from the context
menu.
l Click HFSS>Model>Create Open Region...
l Right-click on Model in the Project tree and select Create Open Region...
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Your selections here guide the software in setting up the region and boundaries that are required to
model the device as an open problem.
l Operating Frequency: This value is used to determine the region padding and CANNOT be
parameterized. The default factory value is 1 GHz when there is no solve setup in the
design.
If you can created two or more solution setups, a pull-down provides you the ability to select the
adaptive frequency. The default is to use the value from the first solve setup (in alphabetical
order).
l Infinite ground plane can be specified at one of the 6 directions by checking Apply infinite
ground and selecting from the drop-down menu.
FEBI, finite element-boundary integral (FEBI) method. Unlike ABC and PML, the IE hybrid
region can be of arbitrary shape, both concave and convex thus in some cases allowing the size
of the finite element solution domain to be significantly reduced.
PML, perfectly matched layer, uses several layers of specialized materials that absorb outgoing
waves.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Default region padding = min(L/2, Lambda/<Boundary Type Specific>) where L is the diagonal
of device's bounding box and Lambda is the wavelength of the operating frequency. This is the
same formulation used in the "auto-open" design mode. The padding for ABC = min(L/2,
Lambda/3). The padding for FEBI is min(l/2, Lambda/8). The padding for PML = min(L/2,
Lambda/4).
When you have made your selections, and OK the dialog, region is created and displayed as a
wireframe with the boundary highlighted as selected.
Clicking outside the boundary de-selects the boundary. The boundary appears in the Project tree
under boundaries (for Radiation and PML) or Hybrid regions (for FEBI) and under radiating
surface in the history tree.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
In the case of a PML, the Project manager window and history tree show the PML objects. The
visibility of these objects are defaulted to off.
You can edit the properties of the created region objects in the history tree. You can also edit the
properties of radiation and FEBI boundaries in the Project tree. More direct control of PML settings
can be had by creating the PML boundaries via the PML wizard.
The region’s size is automatically updated if you change the size of your modeled device, but the
region padding is not updated automatically.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The Update Open Region Padding command is enabled whenever there is a region object in a
design. To Recalculate the Padding for Regions, select Update Open Region Padding.
l Right-click in the modeler window and select Update Open Region Padding... from the
context menu.
l Click HFSS>Model>Update Open Region Padding...
l Right-click on Model in the Project tree and select Update Open Region Padding...
The function resembles that in the Create Open Region dialog, where you can specify the
operating frequency by selecting an already created setup or manually typed a value.
On OK, the region padding is updated based on the out-of-the box formulation min(L/2, Lambda/4)
where L is the diagonal of the device's bounding box and Lambda is the wavelength of the adaptive
frequency of the solve setup. The region is automatically resized when users edit the solve setup's
adaptive frequency. Initial meshes and solutions are invalidated when the region is resized.
For example, suppose you began with a device diagonal size as 10 mm. You then launched the
wizard and specified an operation frequency of 10 GHz. This ends with the region padding set to 5
mm. You then increase the device diagonal to 20 mm. The region is resized to encompass all
geometries but padding remains at 5 mm. You then launch Update Open Region Padding and
specify an operation frequency of 10 GHz On OK, the region padding is updated to 7.5 mm.
1. Select a surface on which to assign the boundary and click HFSS or HFSS-
IE>Boundaries>Assign>Pefect E to bring up the Perfect E Boundary dialog box.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
2. For HFSS projects, you can select Infinite Ground Plane if you want the surface to
represent an electrically large ground plane when the radiated fields are calculated during
post processing. For PEC boundaries only, multiple infinite ground planes are supported.
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Related Topics
Assigning Boundaries
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
If you want to create a boundary that demonstrates spatial dependence, you must first assign
that boundary to a sheet object. Then to define a spatial dependence for the boundary, you can
create an expression for resistance or reactance using x, y, or z. For example, 50+y.
3. Select Infinite Ground Plane if you want the surface to represent an electrically large
ground plane when the radiated fields are calculated during post processing. .
Note If you select Infinite Ground Plane, the effect of the impedance boundary will be
incorporated into the field solution in the usual manner, but the radiated fields will be
computed as if the lossy ground plane is perfectly conducting. Only one infinite
ground plane is permitted in designs with impedance boundaries
Note You can assign a variable as the resistance and reactance values. Eigenmode
designs cannot contain design parameters that depend on frequency, for example, a
frequency-dependent impedance boundary condition.
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note For HFSS-IE impedance boundaries assume the interior E-field decays to 0 and thus can
not be used as an approximation for a transmission condition through a thin dielectric sheet.
If you want to create a boundary that demonstrates spatial dependence, you must first assign
that boundary to a sheet object. Then to define a spatial dependence for the boundary, you can
create an expression for resistance or reactance using x, y, or z. For example, 50+y.
Note HFSS-IE does not support infinite ground plane for impedance boundaries.
Related Topics
A radiation boundary is used to simulate an open problem that allows waves to radiate infinitely far
into space, such as antenna designs. ANSYS Electronics Desktop absorbs the wave at the
radiation boundary, essentially ballooning the boundary infinitely far away from the structure. In
HFSS, these are sometimes described as Absorbing Boundary Condition, or ABC.
A radiation surface does not have to be spherical, but it must be exposed to the background,
convex with regard to the radiation source, and located at least a quarter wavelength from the
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
radiating source. In some cases the radiation boundary may be located closer than one-quarter
wavelength, such as portions of the radiation boundary where little radiated energy is expected.
Note Whenever additions/changes are made to radiation boundaries that affect fields, it
invalidates those solutions that can possibly have fields. Meshes are not invalidated.
Note Do not define a surface that cuts through an object to be a radiation boundary.
In general, do not define the interface of two internal objects to be a radiation boundary.
The only exception is when one object is a perfectly matched layer boundary (PML) and the
other is the PML base object.
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
check indicates that the boundary is selected as reference. This menu is always enabled.
Inappropriate setups are handled by design validation checks.
This surface become the input surface for calculations of the reflection/transmission coefficients.
The other radiating surface automatically becomes output. Only one FSS can be defined in a given
model. Using the option is advantageous for highly reflective and resonant structures.
Reflection/Transmission coefficients for FSS designs can be viewed in the solution data panel as
S-parameters or you can create an S-parameter report.
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
by changing a region property or variable value. If you do assign PML objects to a region, you
cannot perform geometry operations or copy and paste operations on that region. Region-
dependent CS cannot be set as current CS.
ANSYS Electronics Desktop can create PMLs automatically, or you can create them manually.
Create PMLs automatically if the base object touching the PML is planar and its material is
homogeneous. HFSS creates a separate PML object for each covered face. The PML boundaries
are grouped in the Project tree under the Boundaries icon. Within these groupings, you can edit
the radiation parameters (for example, as Incident Wave Port) in order to set up the right total field
excitation based on the physical optics approach. PML radiation boundaries are not generated in
Eigenmode projects.
In creating PMLs, you can select non rectangular sheet objects as long as they do not touch any
other selected face. The underlying object does not have to be a box. If there are faces that touch,
the touching faces must be locally box-like. You can assign variables to the dimension properties of
the base object. Changing the variable values also changes the associated PMLs.
Compared to Radiation boundaries, which create absorbing boundary conditions (ABC), PMLs in
general make it more difficult for the iterative solver to reach convergence compared to the same
model with using ABCs. PMLs also require significantly more RAM. The advantages for PMLs are
that they absorb a much wider range of waves in terms of frequency and direction. As a result, you
can put PMLs much closer to the discontinuities. This gives a smaller model. ABCs efficiently
absorb normal incident waves. You have to put ABCs far away enough from the discontinuities.
Related Topics
Assigning Boundaries
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
When you create a PML that completely covers an object, for example, an airbox around an
antenna, you may find it convenient to select the object and have a boundary applied to all faces
of the object.
You can select the faces of the PML base object to turn into PMLs. In these cases, select only
external, planar faces and exclude faces defined as symmetry boundaries.
4. If you have selected a non-planar object for a PML or one that completely covers another
object, you can select Use Selected Object objectName as PML Cover. If you have
selected object faces, select Create PML Cover Objects on Selected Faces.
5. Type the thickness of each layer in the Uniform Layer Thickness text box. You can assign
a variable as the thickness value.
Note The layer thickness cannot be modified directly after PML objects have been
created. If you want to be able to modify the thickness, assign a variable as the
thickness value.
If you do not assign a value, you can select Use Default Formula to have HFSS calculate a
value for you based on geometrical analysis.
6. If the selected faces are on a box object. you can see the option to select Create joining
corner and edge objects.
Edge and corner PML objects will be created to join adjacent PML surfaces together, ensuring
complete coverage.
7. Under Base Face Radiation Properties, click a radio button to specify one of the
following:
l Radiating Only - the radiation surface (default).
l Incident Field - the incident field source patterns are projected on these surfaces and are
backed by ABC or PML. This is like a generalized space port. HFSS knows the incident
field pattern, applies it to the port and expects a reflected field pattern which radiates back.
In other words, it behaves as if you excited the project by a Norton or Thevenin generator
using an impedance which is the free space wave impedance.
For Radiating Only or Incident Field, you can also specify whether the surface is used as
Reference for FSS, that is, as a Frequency Selective Surface - this surface becomes the
input surface for calculations of the reflection/transmission coefficients. The other radiating
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
surface automatically becomes output. Only one FSS can be defined in a given model. Using
the Incident Field option together with Reference for FSS is advantageous for highly
reflective and resonant structures. Reflection/Transmission coefficients for FSS designs can
be viewed in the solution data panel as S-parameters or you can create an S-parameter
report.
If you check Reference for FSS, the PML objects will stay visible.
8. Click Next.
ANSYS Electronics Desktop creates PMLs from the faces you selected. Names are
automatically given to the layers. that start with PML, which is necessary for ANSYS Electronics
Desktop to recognize them as PMLs.
The PML material characteristics depend on the cumulative effect of their near fields at the
location of the PML surfaces.
ANSYS Electronics Desktop calculates the appropriate PML materials based on the settings
you specified and the material of the base object, and assigns these materials to the objects in
the PML group.
A summary dialog box appears, enabling you to modify the settings you specified.
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
1. Draw the PML object at the radiation surface, and then select it.
2. In the Properties window, give the object a name with the prefix PML.
Object names that start with PML are necessary for ANSYS Electronics Desktop to recognize
them as PMLs.
If you do not assign a value, you can select Use Default Formula to have HFSS calculate a
value for you based on geometrical analysis.
7. Select the orientation of the PML object, the direction of outward propagation, in the relative,
or local, coordinate system.
8. Under Base Face Radiation Properties, click a radio button to specify one of the
following:
l Radiating Only - the radiation surface (default).
l Incident Field - the incident field source patterns are projected on these surfaces and are
backed by ABC or PML. This is like a generalized space port. HFSS knows the incident
field pattern, applies it to the port and expects a reflected field pattern which radiates back.
In other words, it behaves as if you excited the project by a Norton or Thevenin generator
using an impedance which is the free space wave impedance.
For Radiating Only or Incident Field, you can also specify whether the surface is used as
Reference for FSS, that is, as a Frequency Selective Surface - this surface becomes the
input surface for calculations of the reflection/transmission coefficients. The other radiating
surface automatically becomes output. Only one FSS can be defined in a given model. Using
the Incident Field option together with Reference for FSS is advantageous for highly
reflective and resonant structures. Reflection/Transmission coefficients for FSS designs can
be viewed in the solution data panel as S-parameters or you can create an S-parameter
report.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
If you check Reference for Frequency Selective Surface (FSS), the PML objects will
stay visible.
9. Click Next.
10. Specify how the PML terminates by selecting one of the following:
a. PML Objects Accept Free Radiation if the PML terminates in free space.
l Enter the lowest frequency in the frequency range you are solving for in the Min
Frequency text box.
b. PML Objects Continue Guided Waves if the PML terminates in a transmission line.
l Specify the propagation constant at the minimum frequency.
11. Specify the minimum distance between the PML and the radiating body in the Minimum
Radiating Distance text box. You may choose to let HFSS calculate the value by clicking
Use Default Formula. The default distance is based on the extent of base object geometry.
The PML material characteristics depend on the cumulative effect of their near fields at the
location of the PML surfaces.
ANSYS Electronics Desktop calculates the appropriate PML material based on the settings you
specified and the material of the base object, and assigns this material to the PML.
A summary dialog box appears, enabling you to modify the settings you specified.
Related Topics
l When automatically creating PMLs, ANSYS Electronics Desktop creates a new relative
coordinate system for each PML object. This results in the z direction of the PML object
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
ANSYS Electronics Desktop calculates the PML material properties using the normal vector at
the center of the base object's face. If the face is curved, the normal vector changes with
position. The PML materials will only be good approximations if the normal vector at each point
on the face is close to the normal vector at the face center.
It is a good idea to segment the curved surface of the base object for greater accuracy. Create
separate PMLs for each segment. Note that each segment's thickness is treated uniformly. The
view angle of the segments should be no wider than 45 degrees. The smaller the angle of each
segment, the greater the accuracy of the corresponding PML.
l The material of the corresponding base object touching the PML is not homogenous. An
example is a metal-shielded microstrip line with a substrate. One PML could be drawn to
terminate the microstrip and another could correspond to the substrate.
Create as many PML objects as there are subsections of material properties in the base object.
Related Topics
1. Go to the History tree and open the hierarchy under the original PML base object.
2. Select the CreateBox command for each part of the geometry you want to modify.
3. In the Properties dialog for that geometry command, edit the properties for XSize, YSize, or
ZSize as required.
The changes to the CreateBox parameters apply to the associated PML objects. Note that you
can create variables to parameterize these properties.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The Summary dialog box of the PML Setup wizard appears. By default the Show Objects in
groups box is not checked. A table shows each PML Group, its thickness, and material status.
Checking the box causes the table list the objects under each group.
3. If more than one group of PMLs were defined, select the PML group you want to modify from
the table.
4. Modify the PML parameters.
A Radio button lets you select either the Free Radiation minimum frequency and units, or the
Guided Wave propagation constant at a minimum frequency.
This performs the update and enables the Recalculate Materials button.
ANSYS Electronics Desktop automatically recalculates and assigns the appropriate PML
materials to the objects in the PML group.
7. Click Finish.
Note If objects are modified after PMLs are created, the PML materials will be invalid and
must be recalculated in the PML Setup Wizard. For example, if the material of the
PML base object is modified, the associated PML materials must be recalculated in
the PML Setup Wizard.
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
To assign Finite Conductivity so that the boundary is spatially dependent (that is, in which the
material properties change over the length), use the method described via this link.
l Select Use Material, click the default material name button , and then choose a material
from the material editor. The conductivity and permeability values of the material you
select will be used for the boundary. Note that selecting a perfectly conducting material for
a finite conductivity boundary triggers a validation error.
3. Select Infinite Ground Plane if you want the surface to represent an electrically large
ground plane when the radiated fields are calculated during post processing.
Note that if you select Infinite Ground Plane, the effect of the finite conductivity boundary will
be incorporated into the field solution in the usual manner, but the radiated fields will be
computed as if the lossy ground plane is perfectly conducting.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
4. To select the Surface Roughness Model used for surfaces such as the interface between the
conductor and the substrate for a microstrip line, select either Groisse or Huray.
For the Groisse model, you specify a Surface Roughness parameter (traditional case) as a
value (or variable) and units. The default is 0 um. Legacy projects use the Groisse model by
default.
For the Huray Model, you specify the Nodule radius value (or a variable), which describes the
radius of copper spheres that model the surface roughness. The default is 0.5 um. Also for the
Huray model, you specify the Hall-Huray Surface Ratio, a unitless quantity. The default is 2.9.
The Huray model is causal.
(Using surface roughness with the Finite Conductivity boundary may be more intuitive than using a
layered impedance boundary to model the effects.)
5. You can select either Set DC Thickness or Use classic infinite thickness model.
To Set DC thickness, click the radio to enable the Layer Thickness field, and enter a value and
select units You can also specify whether the object is on outer boundary.
If you select Two sided, you can also specify whether to treat the boundary as a Shell Element.
Shell elements maintain two sets of unknown coefficients for the top and bottom surface
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Meshing thin layers such as signal traces or thin substrates of PCBs can be difficult and cause
very inefficient simulation performance. Instead of meshing these thin layers, they can be
replaced with sheets along with appropriately assigned boundary conditions. The appropriate
boundaries are 2-sided layered impedance or finite conductivity boundaries where the latter is
only applicable for a single layer of metallic material such as a signal trace made of copper.
You can consider using shell elements on the sheet for enhanced accuracy at high frequencies
where the currents on the two sides of the sheet will be allowed to be different and therefore
better model the non-uniform current distribution of a thin structure at high frequencies. Some
examples for this application would be studying shielding effects of a car chassis by modeling
the chassis with sheets or replacing an antenna radome model with a thin sheet. Note that the
shell element option is applicable for all frequencies and can therefore be used for broadband
simulations without the need to modify boundary options depending on the simulation
frequency. Further, a sheet in the above discussion can also be a face of a solve inside object.
The following features are not currently supported when using shell elements:
l Fast sweep
l Scattered field formulation
l Eigen solver
l IE solver
Selecting Use classic infinite model disables the fields for Set DC Thickness and the outer
boundary check box.
Note You can assign a variable as the conductivity or permeability values or roughness model
parameters.
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
To assign Finite Conductivity such that the boundaries are spatially dependent follow these
steps:
1. Right-click anywhere in the modeler and select Assign Boundary > Finite Conductivity
as shown below.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
This causes the Finite Conductivity Boundary dialog box to appear as shown below.
1. Type the expression in the Conductivity field to include the spatially dependent material
properties of the sheets. For example, in this design, the Conductivity field has the
following expression: $sigma0*(1.0 + $beta*abs(y)), where $sigma and $beta are the
predefined project variables and y specifies the local y co-ordinate associated with the sheet.
Note: Whatever model units you define, specify the expression in the Conductivity field in SI
units. To verify the Coordinate System associated with the sheet, double-click the Create
Rectangle command associated with the object from the History Tree to open the Attribute
window as shown below.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Related Topics
The finite conductivity boundary is valid only if the conductor being modeled is a good conductor,
that is, if the conductor's thickness is much larger than the skin depth in the given frequency range.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
To assign Finite Conductivity so that the boundary is spatially dependent (that is, in which the
material properties change over the length), use the method described via this link.
l Select Use Material, click the material name button, and then choose a material from the
material editor. The conductivity and permeability values of the material you select will be
used for the boundary. Note that selecting a perfectly conducting material for a finite
conductivity boundary triggers a validation error.
3. To specify the roughness of surfaces such as the interface between the conductor and the
substrate for a microstrip line, enter a value for Surface Roughness and select the units
(default, microns) from the pull down menu.
(This may be more intuitive than using a layered impedance boundary to model the effects.)
4. You can select either Set DC Thickness or Use classic infinite thickness model.
To Set DC thickness, click the radio to enable the Layer Thickness field, and enter a value and
select units You can also specify whether the object is on outer boundary.
Selecting User classic infinite model disables the field for Set DC Thickness.
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
2. Select the type of symmetry plane the boundary represents: Perfect E or Perfect H.
3. Click Impedance Multiplier.
If the design includes a port, you must adjust the impedance multiplier or the computed
impedances will not be for the full structure.
4. Type a value in the Impedance Multiplier box, and then click OK.
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
2. You must specify the coordinate system in the plane on which the boundary exists. First
draw the U vector of the coordinate system. HFSS uses the U vector that you draw and the
normal vector of the boundary face to calculate the Vvector. If necessary, you can reverse
the direction of the V vector.
a. Select New Vector from the U Vector pull-down list.
The Master Boundary dialog box disappears while you draw the U vector.
b. Select the U vector's origin, which must be on the boundary's surface, either by:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The Master Boundary dialog box reappears and the model display shows the U vector
and V vector as red and blue arrows respectively.
d. If you need to reverse the direction of the V vector, select Reverse Direction.
ANSYS Electronics Desktop will compute the E-field on this boundary and map it to the slave
boundary using the transformation defined by the master and slave coordinate systems.
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
2. Select the corresponding master boundary from the Master Boundary pull-down list.
If a master boundary has not yet been defined, return to make this selection when it has been
defined.
3. You must specify the coordinate system in the plane on which the boundary exists. First
draw the U vector of the coordinate system. HFSS uses the U vector that you draw and the
normal vector of the boundary face to calculate the V vector. If necessary, you can reverse
the direction of the V vector.
a. Select New Vector from the U Vector pull-down list.
The Slave Boundary dialog box disappears while you draw the U vector.
b. Select the U vector's origin, which must be on the boundary's surface, in one of the
following ways:
l Click the point for the vector origin.
l Type the point's coordinates in the X, Y, and Z boxes.
c. Select a point on the u-axis to indicate the U vector direction.
The Slave Boundary dialog box reappears and the model display shows the U vector
and V vector as red and blue arrows respectively.
d. If you need to reverse the direction of the V vector, select Reverse Direction.
4. Click Next.
5. You have the option to relate the slave boundary's E-fields to the master boundary's E-fields
in one of the following ways:
l For driven designs, select Use Scan Angles to Calculate Phase Delay to enable the
Scan Angle fields. Then enter Phi and Theta scan angles. These apply to whole model,
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
in the global coordinate system. The phase delay is calculated from the scan angles;
however, if you know the phase delay, you may enter it directly in the Phase Delay box
below.
Note For Eigenmode problems, the Use Scan Angles to Calculate Phase Delay
fields are disabled.
l Select Field Radiation, and then enter the phase difference, or phase delay, between
the boundaries' E-fields in the Phase Delay box. The phase delay applies only to this
boundary.
Note You can assign a variable as the phi, theta, or phase delay values.
ANSYS Electronics Desktop will compute the E-field on the master boundary and map it to this
boundary using the transformation defined by the master and slave coordinate systems.
Related Topics
1. Select a surface on which to assign the boundary and click HFSS or HFSS-
IE>Boundaries>Assign>Lumped RLC to bring up the Lumped RLC Boundary dialog
box.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
2. Select Resistance, Inductance, and Capacitance as needed and specify values and units
for each selected element. Optionally, you can assign a variable to any of these values.
3. To specify where on the surface the current and voltage will be controlled, define a Current
Flow Line. The selection field initially appears as Undefined. Select New Line to define a
vector line on the boundary surface.
Note HFSS and HFSS-IE assume the lumped RLC is assigned to a rectangular face. If
you assign a non-rectangular face, HFSS and HFSS-IE issue a warning, but
proceed with the solution. Using a non-rectangular face can result in less accurate
representation of the lumped RLC. See the technical notes on RLC boundaries for
more information.
Related Topics
Vector Line
To draw a vector line to indicate the current flow:
1. Select New Line from the Lumped RLC Boundary dialog's pull-down list.
The dialog box disappears while you draw the vector line.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Select Swap End Points from the dialog pull-down list to switch the start and endpoints of the
line, reversing the line's direction.
Related Topics
2. The Coordinate System drop-down menu lists the Global Coordinate system and any
relative coordinate systems if you have defined them in the design. Select the Coordinate
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
System that defines the anisotropic characteristic of the impedance boundary. (See
Creating a Relative Coordinate System.)
3. Select Infinite Ground Plane if you want the surface to represent an electrically large
ground plane when the radiated fields are calculated during post processing.
4. In the Impedance Relative to the Coordinate System area, you set the Resistance and
Reactance. If Anisotropic Impedance is checked, the wizard shows Resistance and
Reactance fields for X Axis alignment and Y axis alignment. These values can be numeric or
can reference variables, including spatial variables x, y, and z. Isotropy will be inferred if Zxy
and Zyx are left as zero.
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
2. The Coordinate System drop-down menu lists the Global Coordinate system and any
relative coordinate systems if you have defined them in the design. Select the Coordinate
System that defines the anisotropic characteristic of the impedance boundary. (See
Creating a Relative Coordinate System.)
3. To set the Impedance Relative to Coordinate System, select either Get Impedance From
External Design or Use explicit impedance.
l Get Impedance from External Design enable the Setup Link button. If you defining an
anisotropic impedance, there will be two buttons: Setup X Direction Link and Setup Y
Direction Link.
l For Use explicit impedance, the Resistance and Reactance fields are enabled.
In these fields, you set the Resistance and Reactance. If Anisotropic Impedance is
checked, the wizard shows Resistance and Reactance fields for X Axis alignment and Y axis
alignment. These values can be numeric or can reference variables. Isotropy will be inferred
if Zxy and Zyx are left as zero.
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
If the layered structure is within the 3D model, meshing thin layers and solving inside is inefficient,
you can replace the highly conductive thin layer by a shell element. The Shell Element option only
applies to HFSS Driven solution types and does not apply to HFSS Eigenmode and Transient
solution types or to HFSS-IE designs. Examples uses include simulation of an antenna inside a car
chassis when the chassis is modeled using sheets or an antenna inside a dielectric radome when
the radome is modeled using sheets. Shell elements maintain two sets of unknown coefficients for
the top and bottom surface.
If you specify that a two-sided sheet is to be modeled as a Shell Element, the following HSS
features are disabled:
l Scattered field formulation: this HFSS disables this when all boundaries are radiating
boundaries AND when the design has an Incident Wave excitation.
l IE solver
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
If the layered structure is internal to the design, enter the average surface roughness of the two
outermost sides. You can assign a variable as this value.
3. Select Infinite Ground Plane if you want the surface to represent an electrically large
ground plane when the radiated fields are calculated during post processing.
For designs with layered impedance boundaries, only one infinite ground plane can exist in the
design.
4. Click Next or the Layers tab, depending on the general option setting.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
If it is a Two sided BC, the limitation on the thickness of layers is lambda/10 for dielectric
objects. For thin conductors, if the skin depth is much smaller than the layer thickness, you
can't replace it by an internal sheet.
6. To change the first layer's material, click vacuum and follow the procedure for assigning a
material.
7. The Shell Element check box is for HFSS Driven situations where the layered structure is
within the 3D model and you want to use sheets to model thin but finite thickness objects.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
b. Enter a thickness for the layer in the Thickness/Type column. You can assign a variable
as this value.
c. To change the layer's material, click vacuum and follow the procedure for assigning a
material.
9. Optionally, to reorder layers, click the first row square and drag the row to the desired
position.
10. Optionally, to view the impedance values that will be calculated based on the data provided,
do the following:
a. Enter the frequency at which the solution is being solved in the Test Frequency text
box.
b. Click Calculate.
Note If a fast sweep is defined in a design that contains a layered impedance boundary, the
impedance may only be accurate for the center frequency.
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
2. If you select Anisotropic Impedance, the dialog includes buttons to Setup X Direction Link,
Setup Y Direction Link and a selection list for the Coordinate System.
If the linked projects have wave ports, x and y directed projects are different and have to
have one mode per port.
If the linked projects have Floquet ports, x and y directed projects should be identical and
have to have 2 modes per port (TE and TM modes). In that case, the field of mode 1 serves
as x directed field, while the field of mode 2 serves as y directed field. It is also a valid setup to
assign two different projects with Floquet ports, but with one mode per port.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
3. The Coordinate System drop-down menu lists the Global Coordinate system and any
relative coordinate systems if you have defined them in the design. Select the Coordinate
System that defines the anisotropic characteristic of the impedance boundary. (See
Creating a Relative Coordinate System.)
4. Select Infinite Ground Plane if you want the surface to represent an electrically large
ground plane when the radiated fields are calculated during post processing.
5. Select Shell Elements if you want to the boundary modeled as a shell element.
Related Topics
1. Click the Setup Link button to display the Setup Link dialog.
For Linked anisotropic impedance cases, select Setup X Direction Link button to chose a
design which will define the impedance in the X direction. Then select Setup Y Direction Link
button to chose a design which will define the impedance in the Y direction.
The Setup Link dialog has three fields under the General tab: Project File, Design, and
Solution.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
2. Specify the Project file for the design that is the source. A browse button [...] lets you look
through your file system. If you do not specify a project file, but select the current model, the
current Project File is automatically filled in.
3. Specify the Design for the source. If the source is in the current design, you can select this
from a drop down menu. If you select the current model, the Project File is automatically filled
in.
4. Use the radio button to specify whether to save the source path relative to The project
directory of the source project or This project.
5. Specify the Solution to use. A drop down list lets you select from the available solutions.
The "Default" solution is the product dependent solution of the first Setup.
That is the setup listed first in the source design's project tree (alphanumerical order). A product
specific solution of this setup becomes the default solution. In most products, it is LastAdaptive.
In a Transient solution type, it is "Transient."
Note The solution in the source design must provide data for the target design's adaptive
frequency as well as its sweeps. That is, the adaptive frequency for the target design must
be included in the sweep in the source design.
If necessary, you can open the source design and add an appropriate frequency point to an
existing sweep.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
6. Use the check box specify whether to Simulate source design as needed.
7. Use the check box to specify whether to preserve the source design solution. Note that
in Extractor mode, the source project will be saved upon exit. Extractor mode means that
the software is opened during the link solely for the purpose of solving.
8. Under the Variable Mapping tab, you can set the desired variable values in the source
design. If the source and target designs contain same named variables, you can choose to
Map Variable By Name. In this case, same named variables are mapped automatically.
9. Click OK to close the Setup Link dialog and return to the Linked Impedance Boundary
dialog.
Related Topics
Right click Boundaries>Assign>Half Space to display the Half Space Boundary dialog.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The Boundary appears in the Project tree. If you select the boundary in the Project tree, a rectangle
representing the boundary shows in the Modeler window, and the docked properties shows the
properties.
Related Topics
Modifying Boundaries
Deleting Boundaries
Right click Boundaries>Assign>Half Space to display the Half Space Boundary dialog.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The Boundary appears in the Project tree. If you select the boundary in the Project tree, a rectangle
representing the boundary shows in the Modeler window, and the docked properties shows the
properties.
Related Topics
Modifying Boundaries
Deleting Boundaries
HFSS-IE Feature
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
3. Type the boundary's name in the Name text box or accept the default name. (To change the
default base name to one of your choosing, see Setting Default Boundary/Excitation Base
Names.)
Related Topics
Modifying Boundaries
Deleting Boundaries
l An aperture boundary can only be assigned on sheet objects. These objects will be meshed
as part of the solution process.
l The sheet to which an aperture is assigned must lie on the infinite ground plane, or on a
metallic sheet object. Note that apertures should not be placed on 3D objects, as in this case
they will have no effect on the solution.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
3. Type the boundary's name in the Name text box or accept the default name. (To change the
default base name to one of your choosing, see Setting Default Boundary/Excitation Base
Names.)
Related Topics
Modifying Boundaries
Deleting Boundaries
HFSS-IE Feature
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
1. With no objects selected, right-click on Boundaries in the Project tree, and select
Assign>Infinite Ground Plane to display the Infinite Ground Plane dialog.
Related Topics
Modifying Boundaries
Deleting Boundaries
HFSS-IE Feature
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
If the layered structure is internal to the design, enter the average surface roughness of the two
outermost sides. You can assign a variable as this value.
3. Click Next or the Layers tab, depending on the general option setting.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
If it is a Two sided BC, the limitation on the thickness of layers is lambda/10 for dielectric
objects. For thin conductors, if the skin depth is much smaller than the layer thickness, you
can't replace it by an internal sheet.
5. To change the first layer's material, click the material button for the row and follow the
procedure for assigning a material.
6. To add a new layer to the structure:
a. Click New Layer.
b. Enter a thickness for the layer in the Thickness/Type column. You can assign a variable
as this value.
c. To change the layer's material, click the material button for that row and follow the
procedure for assigning a material.
7. Optionally, to reorder layers, click the first row square and drag the row to the desired
position.
8. Optionally, to view the impedance values that will be calculated based on the data provided,
do the following:
a. Enter the frequency at which the solution is being solved in the Test Frequency text
box.
b. Click Calculate.
Related Topics
Modifying Boundaries
Deleting Boundaries
Assigning Materials
HFSS-IE Feature
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Select the Infinite ground plane check box when setting up a perfect E, finite conductivity,
or impedance boundary condition. For Impedance, Layered Impedance, and Finite
Conductivity Boundary conditions, HFSS supports only one infinite boundary condition per
design. For PEC, multiple antenna ground planes are supported.
This selection only affects the calculation of near- and far-field radiation during post processing.
ANSYS Electronics Desktop models the boundary as a finite portion of an infinite, perfectly
conducting plane. If the infinite ground plane does not touch a radiation boundary, you will receive a
warning. A finite sheet, which does not touch the radiation boundary condition cannot be an infinite
ground plane.
Related Topics
Modifying Boundaries
To change the properties of a boundary, do one of the following:
The boundary's dialog box appears, in which you can edit its properties.
l Right-click the boundary in the project tree, and then click Properties on the shortcut menu.
The boundary's dialog box appears, in which you can edit its properties.
l Click HFSS>List.
The Design List dialog box appears, in which you can modify the properties of one or more
boundaries.
Related Topics
Deleting Boundaries
Deleting Boundaries
To delete one boundary:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
1. Select the boundary you want to delete by selecting its icon in the project tree.
You can also delete one or more boundaries in the Design List dialog box:
2. Under the Boundaries tab, click the row of the boundary you want to delete.
3. Click Delete.
Related Topics
Modifying Boundaries
ReassigningBoundaries
You can reassign a boundary to another surface. This is useful when you have modified objects
with assigned boundaries, invalidating the boundaries. For example, if you unite two objects with
assigned boundaries, the second object's boundary will become invalid because united objects
maintain the characteristics of the first object selected. In this case, you would need to reassign the
boundary or delete it
1. Select the object or object face to which you want to assign an existing boundary.
2. Click HFSS>Boundaries>Reassign.
3. Select an existing boundary from the list, and then click OK.
Note When reassigning a boundary that includes vectors in its definition, ANSYS Electronics
Desktop attempts to preserve the vectors with the new assignment, but this is not always
possible.
Alternatively, select the object or object face to which you want to assign an existing boundary.
Right-click the existing boundary in the project tree, and then click Reassign on the shortcut menu.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Related Topics
Modifying Boundaries
Deleting Boundaries
Reprioritizing Boundaries
Each boundary you assign overwrites any existing boundary which it overlaps. You can change the
priority of a previously assigned boundary to be greater than a more recently assigned boundary.
The order of boundaries is important because, for any given triangle of the mesh, only one
boundary or excitation can be visible to the solvers. When two boundary definitions overlap, the
one with the higher priority is visible to the solvers.
The Reprioritize Boundaries window appears. The order the boundaries and excitations
appear in the list indicates the order in which they were defined. The lowest priority assignment
appears at the top of the list.
Ports are automatically placed at the bottom (highest priority) of the list; you cannot move a
boundary to a higher priority than a port. Magnetic Bias Excitations (if any) have the lowest
priority. Other boundaries and excitations appear between these two extremes.
2. Drag the boundary you want to change to the desired order of priority.
Note The order of boundaries and excitations in the project tree is alphabetical. The order
does not correspond to the order of boundaries and excitations visible to the solvers.
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
By clicking the Material button, you can access the Select Definition dialog. This lets you work with
the materials library.
This setting tells HFSS and HFSS-IE what material properties to use when calculating far fields.
The default setting is vacuum. If you simulate an antenna underwater, for example, you should set
the GlobalMaterial Environment to water.
Selecting anisotropic material is disabled because the solver doesn't support that.
For HFSS-IE, a validation checks if the selected material is dielectric. If the selected material is
conducting, then an error message (the selected material is not dielectric. Please select a Dielectric
Material) will be displayed.
See additional discussion of the effect this setting has on calculations in Global Material
Environment.
Related Topics
All boundaries and excitations will be duplicated with their associated geometries until you
choose to clear this option.
Hint Use this option to copy and paste boundaries. For example:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Related Topics
1. On the View menu, click Active ViewVisibility or select the Active View Visibility
icon in the toolbar.
2. Select the tab for the objects you want to show or hide. The dialog contains tabs for 3D
Modeler objects, Color Key objects, Boundaries, Excitations, and Fields Reporter objects.
3. Under the tab you need, select the Visibility option for the objects you want to show in the
active view window.
4. Click the Boundaries tab if you want to show or hide boundaries.
Note Hiding boundaries also turns off a check for boundary overlaps during boundary
assignment. In the case of very large models with many boundaries, hiding
boundaries can prevent delays during boundary assignment. Full model validation
will subsequently check for boundary overlaps.
l For designs with large numbers of objects, you can resize the dialog for easier selection.
l By default, objects are listed in alphabetical order. You can invert the order by clicking the
Name bar above the Name fields. A triangle in the bar indicates the direction of the listing.
l You can also use the Name field to type in an object name and apply the visibility via the
Show and Hide buttons.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The objects you select and designate as Visible (by selecting the property or using Show)
appear.
5. Clear the Visibility selection of boundaries or excitations that you want to hide from view.
The boundary or excitation will only be visible in the active view window if it is selected.
6. Select the Visibility option for boundaries or excitations that you want to show in the active
view window.
The boundary or excitation will be visible in the active view window when it is selected or when it
is not selected.
You can also use the toolbar icons to Show/Hide selected objects in all views and
Show/Hide selected objects in active views.
2. Clear the View Geometry, View Name, or View Vector selection of boundaries and
excitations that you want to hide from view. Select the options you want to show.
Note Hiding boundaries also turns off a check for boundary overlaps during boundary
assignment. In the case of very large models with many boundaries, hiding boundaries can
prevent delays during boundary assignment. Full model validation will subsequently check
for boundary overlaps.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
ANSYS Electronics Desktop generates an initial mesh and determines the locations of the
boundaries and excitations on the model.
The Solver View of Boundaries window appears, which lists all the boundaries and
excitations for the active model in the order specified in the Reprioritize Boundaries and
Excitations dialog box.
2. Select the Visibility option for the boundary or excitation you want to review.
The selected boundary or excitation will appear in the 3D Modeler window in the color it has
been assigned.
l Visible to Solver will appear in the Solver Visibility column for each boundary or
excitation that is valid.
l Overridden will appear in the Solver Visibility column for each boundary or excitation
that will be ignored by the solver as a result of it overlapping an existing boundary or
excitation with a higher priority.
3. Verify that the boundaries or excitations you assigned to the model are being displayed as
you intended for solving purposes.
4. If the order of priority is not as you intended, reprioritize the boundaries and excitations.
Related Topics
To modify the default values associated with a specific boundary or excitation type:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The values assigned to this boundary are saved as the default values and will be assigned when
new boundaries of this type are created.
The default values you set for this boundary type will be cleared and will revert to the default
values set by ANSYS Electronics Desktop.
Note For PML boundaries, the defaults are set via a formula, rather than a value.
Related Topics
Modifying Boundaries
Deleting Boundaries
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
You assign Hybrid regions by selecting an object in the 3D Modeler window, or an object in the
History tree, right-click for the shortcut menu, click Assign Hybrid and selecting from the enabled
options. You can use HFSS>Hybrid>Assign Hybrid> for the options to be enabled. The
selection must meet the conditions for that assignment.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
You can also right-click on the Hybrid Regions icon in the Project tree to access a shortcut menu
there:
The Toolbar menu and Project tree right-click menus for Hybrid regions display commands for
managing Hybrid regions.
l Set Default Base Name: opens a dialog for setting default names for new boundaries,
excitations, and hybrid regions.
l List ...: opens the Design list dialog to the Hybrid Regions tab.
l Delete All: deletes all hybrid regions.
l Visualization...: opens a Visualization Options dialog that lets you show or hide regions and
other design objects.
l Set Coupling: for designs without SBR+ regions assigned, this command appears and
opens a menu that lets you specify whether regions are all one-way coupled or two-way
coupled. In one-way coupling, one design acts as as the field source, and the other as a
target. This feature improves the efficiency of the solver. If an SBR+ region is assigned, the
design becomes one-way coupled and the Set SBR+ Source Regions command replaces
Set Coupling on the short-cut menu. The Advanced command on the Set Coupling
menu opens a dialog that lets you group region objects, other than SBR+ Region objects.
Grouped objects become two-way coupled when the design is otherwise one-way linked.
See Set Coupling for Hybrid Regions for details.
l Set SBR+ Source Regions: for designs with SBR+ assigned, the Hybrid Regions right-
click menu provides this command for you to group source regions for SBR+ regions in the
design. If a source region contains multiple FEBI or IE regions, you can decide if the regions
are 1-way or 2-way coupled. All source regions interact as one-way links to SBR+ and
coupling between the source regions are handled by SBR+ using reciprocity theory. The
dialog excludes all SBR+ regions as those are targets of the sources defined in the interface.
To view existing Hybrid Regions assignments, you can expand the list under the Hybrid Regions
icon in the Project tree. Selecting an assigned region in the list also highlights that region in the
Modeler window.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
You can also select the Hybrid Regions icon in the Project Tree and right click for menu and
select List. This shows the Design List dialog with the Hybrid Regions tab selected.
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
1. Select the object you want to assign as FE-BE, and use one of the following menus:
HFSS>Assign Hybrid>Assign>FE-BI
Select the Hybrid Regions icon in the Project tree, right click, and click Assign>FE-BI.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The Radiation Boundary dialog opens, showing the default name and FE-BI assignment.
2. When you OK the dialog, the assignment appears under the Hybrid Region icon in the
Project tree.
Assigning IE Regions
For driven modal and driven terminal solutions you can assign objects or sheets as IE Regions to
be solved with the IE Solver. This permits a hybrid simulation approach, using the advantages of
the FEM and IE solvers.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l have an IE/PO region to be assigned to both dielectric objects and metallic objects. One
IE/PO region can only be metallic or dielectric
l Metallic IE Region must either
l (Interior) Be contained within a Dielectric Cavity
l (Exterior) Be outside entire FEM region.
l Faces of two IE Regions may not touch
l Dielectric Cavity may contain implicitly subtracted FEM objects (and imply solver handling
like FEBI on their interface)
l Metallic IE Region may touch FEBI surface
Note For designs like antennas mounted on a platform such as an aircraft or battleship, it is
beneficial both in terms of memory and solution time to model antennas using the finite
element method, while modeling remaining metallic structures as metallic IE regions. In
these cases, a metallic IE region is actually in contact with a FEBI hybrid region where
appropriate boundary conditions are enforced at the interface between the two solvers.
In cases where an IE region is in contact with a FEBI hybrid region, it is recommended that
the FEBI hybrid region be placed at least a third wavelength away so that the FEM domain
can have sufficient space to perform its adaptive mesh refinement more accurately.
IE Region Ports
You can assign ports on an IE Region. This is helpful, for example, when an antenna is attached to
a large metal body. One-way coupling between regions allows for an easier setup in HFSS design,
where you can switch between one way link and full solution in a single setup. The following cases
are allowed:
l IE region ports in the presence of one or more non-port FEBI, IE, PO and SBR+ regions.
l One-way coupled for the above case.
l Can allow an IE component with port but skips port refinement for an IE component with
port.
l IE region port is not allowed to contact both PO region and SBR+ region.
l IE region port cannot coexist with incident waves and FEM ports
To Assign an IE Region
You must select an appropriate object or face in order to enable the menu.
1. Select the object you want to assign as an IE Region, and use one of the following menus:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Right click in the Modeler window and select Assign Hybrid>IE Region.
Select the Hybrid Regions icon in the Project tree, right click, and click Assign>IE Region.
The dialog for Hybrid Region opens, showing the default name and type selection as IE
Region. Because you may decide to change an assignment for IE Regions, and PO Regions,
the dialog shows these types as radio button selections.
2. When you OK the dialog, the assignment appears in the Project Tree under Hybrid Regions.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
When both conditions are met, a large portion of the structure is visible to the radiating source. This
region is called a lit region. The remaining region is termed a shadow region. Figure 1 shows
visualization of such a concept.
In PO approximation, the currents on shadow regions are identically zero. This approximation is
acceptable only when frequency is large. In the situation where condition 1) is not met but 2) is
satisfied, PO region could still provide reasonable results.
While the accuracy of PO depends on an accurate identification of shadow region, this region is
determined based on source location as can be seen from Figure 1. Therefore for the situation
where there are multiple sources, shadow regions due to each source could be vastly different. In
this situation PO region solver does not provide reliable results. Consequently PO region will only
allow a single incident wave direction. Furthermore if there are multiple disjoint FEBI boundaries,
the solver will report error message when it detects that a shadow region due to each FEBI box
does not mostly overlap.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
1. Select the object you want to assign as an PO Region, and use one of the following menus:
Right click in the Modeler window and select Assign Hybrid>PO Region.
Select the Hybrid Regions icon in the Project tree, right click, and click Assign>PO Region.
The dialog for Hybrid Region opens, showing the default name and type selection as PO
Region. Because you may decide to change an assignment for IE Regions, and PO Regions,
the dialog shows these types as radio button selections.
2. When you OK the dialog, the assignment appears under the Hybrid Regions icon in the
Project tree.
A free standing dielectric IE/PO region cannot touch other free standing IE/PO regions.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Use PO Region when you want a faster solution with sacrifice of accuracy.
l Use PO Region for smooth flat and locally flat structures at the operating frequency.
The PTD and UTD wedge features are only computationally valid for metallic (all PEC) wedges
within first-bounce, line-of-sight visibility from the source location. If either adjacent surface of the
wedge is non-PEC, or if the entire edge segment is not visible to the source, the wedge is not valid
and will be ignored in the SBR+ or VRT simulation.
Note the same SBR+ mesh used for both SBR+ simulation and VRT is also used in extracting
wedges according to the user-specified criteria. This is done so that the wedge locations extracted
are very near the physical edges of the SBR+ geometry model in the simulation, preserving
accuracy of the line-of-sight visibility check for wedges.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
1. Select the object you want to assign as an SBR+ Region, and use one of the following
menus:
HFSS>Hybrid>Assign Hybrid>SBR+ Region
Right click in the Modeler window and select Assign Hybrid>SBR+ Region.
Select the Hybrid Regions icon in the Project tree, right click, and click Assign>SBR+ Region.
The dialog for Hybrid Region opens, showing the default name and type selection as IE
Region. Because you may decide to change an assignment for IE Regions, and PO Regions,
the dialog shows these types as radio button selections.
2. When you OK the dialog, the assignment appears in the Project Tree under Hybrid Regions.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
3. SBR+ Solver Options are enabled in Solve setups for HFSS when an SBR+ Region is
present.
You can set Ray Density Per Wavelength and Maximum Number of Bounces, and if you
have not done so, create or edit an infinite sphere setup for Far Field Observation. See
Setting Hybrid Region Parameters for HFSS. You can also choose to Skip SBR+ Solve
During Adaptive Passes. SBR+ regions are not being mesh adapted and SBR+ solutions
have no impact on field solutions on FEM or IE regions. However, SBR+ does impact
stopping criteria in some cases such as coupling between two separate source antennas.
Therefore, to speed up mesh adaption, you can choose to not solve SBR+ regions until
source regions have converged in isolation. However, SBR+ does impact stopping criteria in
some cases in the form of cache expression such as coupling between two separate source
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
antennas or far field pattern. In such cases, SBR+ solve could not be skipped. Moreover,
SBR+ solve is always launched when the maximum number of passes is reached
regardless of source region convergence.
If you created an Incident Plane Wave for the design, the Hybrid tab lets you make an RCS
Type selection for Monostatic or Bistatic.
If you select Monostatic, the infinite sphere setup is disabled. In this case, the solver
computes the scattered field in the direction of the plane wave. The Reporter will not require
a geometry selection, and offers a range of Monostatic quantities for Monostatic RCS traces.
See Generating Reports for Monostatic RCS.
4. The PTD/UTD Simulation Settings allow for the inclusion of additional wedge diffraction
phenomenology that can improve the accuracy of SBR+ simulations. You can opt out of
using the PTD/UTD settings, or select PTD Correction or PTD Correction + UTD Rays.
Selecting one of the PTD Correction options enables a field for specifying PTD Edge
Density.
5. Wedge settings for the SBR+ simulation with PTD/UTD are only accessible for an SBR+
design. Wedges are based on the user-specified wedge settings and the initial mesh. The
initial mesh is automatically generated on launch of the SBR+ Wedge Settings dialog, if
needed. The dialog will not launch if an initial mesh is not available and cannot be generated.
The SBR+ Wedges submenu can be accessed through a right-click on the Hybrid Regions
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The submenu contains the option for opening the SBR+ Wedge>Settings dialog and a
checkable option for enabling or disabling Wedge Visibility. If visible, wedges are shown as
thick red lines in 3D model window. Visualization is turned off when there is design edits that
invalidate the initial mesh.
The SBR+ Wedge Settings dialog contains the Wedge Generation parameters.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The Wedge Generation parameters are used to determine the candidate set of wedges to
be included, with optional filters that can restrict their location on the geometry. The final set
of wedges to be used in the SBR+ simulation is the intersection of all the wedge generation
criteria.
An angular criteria can be specified for the maximum wedge angle to help filter the desired
set of wedges - default value is 135 deg. This wedge angle ranges from minimum 0 deg to
maximum 180 deg. All wedges are included that are less than or equal to the specified
maximum angle. An angle equal to 0 deg would be created by a “collapsed” wedge (like a
closed hinge), while an angle equal to 180 deg would be created by a completely “open”
wedge (like a fully open hinge). You can assign a design variable to Maximum Wedge angle,
but you cannot create a design variable within the dialog.
You can choose to include or exclude the edges from sheets (non-connected edges, also
known as “knife edges”). The default value is true which includes these edges. Sheet edges
are triangle edges with no adjacent/connected triangle along that edge. In the physical object
we are modeling these may represent extremely thin surfaces such as metal “fins”, etc.
Optional parameters:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
A “source distance filter” is just a way to specify we want to include wedges within a finite 3D
distance from a point (the “source”).
You can choose model Points from drop down as source location, or specify the absolute X,
Y, Z in model units. X, Y, Z can be specified in global coords or relative to a custom CS.
When you select a geometry Point, its coordinate system and X, Y, Z are displayed.
The Distance default is 1 <model unit>. You can assign an existing design variable to the
Distance. Default value is false (no Source Distance Filter).
You can select any non-model box that is aligned with the Global Coordinate System axes
via a drop-down list, within which wedges will be included. Default value is false (no Box
Filter).
1. Select the object you want to assign as an Dielectric Cavity, and use one of the following
menus:
Right click in the Modeler window and select Assign Hybrid>Dielectric Cavity.
Select the Hybrid Regions icon in the Project tree, right click, and click Assign>Dielectric
Cavity.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
2. When you OK the dialog, the assignment appears in under Hybrid Regions icon in the
Project tree.
These restrictions are either enforced by design validation or implicitly handled by the solver.
The Set Coupling menu appears in the right click menu of the Hybrid folder at the project tree and
at the HFSS>Hybrid menu.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Selecting Set Coupling>Advanced opens a Setup Coupling dialog setup that lists the coupling
settings of all the hybrid regions in the design. Any Selected regions in this dialog are highlighted in
the view window. You can edit groupings (as shown below) but remember that editing groups
invalidates existing solutions.
You can add a Two Way coupling group by first selecting the regions to be coupled and then click
Group and Ok.
You can un-group a Two Way Coupled group by selecting it and clicking Ungroup and clicking Ok.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
You can also edit grouping by dragging and dropping from one group to another. On Ok, any empty
Two Way groups are automatically removed. You will be asked to fix the coupling if you have a Two
Way group with only one region.
Note: The result using far field source option for SBR+ region is sensitive to the phase reference
defined when the excitation is close to the SBR+ Region. Phase reference needs to be carefully
adjusted to obtain reasonable result.
The Set SBR+ Source Regions command appears in the right click menu of the Hybrid folder at
the project tree and at the HFSS>Hybrid menu if an SBR+ Region is assigned.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Selecting Set SBR+ Source Regions opens a Set SBR+ Source Regions dialog that lists the
SBR+ Regions and the SBR+ Sources in the design. If the design includes an Incident Wave
excitation, you see a message that such designs do not support advanced coupling. However,
designs with Current Sources and Far Field Sources will be listed in the dialog.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Any Selected regions in this dialog are highlighted in the view window. You can edit groupings (as
shown below) but remember that editing groups invalidates existing solutions.
Selecting one or more sources enables the Group button provides a means to designate two-way
couplings within a group. The regions so grouped are assigned Two way coupling. The Ungroup
button lets you remove two-way coupling groupings.
If the design includes Current Sources or Far Fields, these are listed.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Excitations are sources of electromagnetic fields in the design. HFSS has various options to
generate incident fields that interact with a structure to produce the total fields. Some of these
excitations are local sources residing within the structure such as wave ports and voltage sources,
while other excitations such as plane waves are created from local sources away from the
structure.The available excitations depend upon the product. They are as follows:
l HFSS Excitations
l HFSS-IE Excitations
l HFSS Transient Excitations
HFSS Excitations
You can assign the following excitations to an HFSS design:
Wave Represents the external surface through which a signal enters or exits the geometry. It
Port is effectively a semi-infinite waveguide attached to the model. This waveguide has the
same cross-section and material properties as the port. Wave ports are placed on this
interface to provide a means to link the model device to the external world.
Lumped Represents an internal surface through which a signal enters or exits the device. It is
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Port effectively a lumped element for exciting the device and measuring S-parameters.
Terminal A terminal is defined by one or more conductors in contact with the port. HFSS treats
microwave structures as a black box that may have one or more terminals, each of
which has a voltage/current pair. Terminals are assigned automatically.
Floquet Floquet Ports are used exclusively with periodic structures defined by Master-Slave
Port boundaries. They contain plane waves whose frequency, phasing, and the geometry of
the periodic structure determine the propagation direction. Chief examples are planar
phased arrays and frequency selective surfaces when these may be idealized as
infinitely large and analyzed using a unit cell.
Incident Represents a propagating wave impacting the geometry.
Wave
Linked Represents a Far Field Wave or Near Field Wave or Cable Network.
Field
Voltage Represents a constant electric field across feed points.
Source
Current Represents a constant electric current across feed points.
Source
Magnetic Used to define the net internal field that biases a saturated ferrite object.
Bias
HFSS-IE Excitations
You can assign the following types of excitation on an HFSS-IE design:
Lumped Represents an internal surface through which a signal enters or exits the device. It is
Port effectively a lumped element for exciting the device and measuring S-parameters.
Terminal A terminal is defined by one or more conductors in contact with the port. HFSS-IE
treats microwave structures as a black box that may have one or more terminals, each
of which contains a voltage/current pair. Terminals are assigned automatically.
Plane Represents a wave that propagates in one direction and is uniform in the directions
Incident perpendicular to that of its propagation.
Wave
Far Field A Far field wave is sufficiently far (usually more than a wavelength distance) from an
Wave antenna to approximate as a plane wave.
Near A Near Field wave is close enough to the antenna source for near field effects to occur,
Field typically within a wavelength.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Wave
Related Topics
Wave Represents the external surface through which a signal enters or exits the geometry. It
Port is effectively a semi-infinite waveguide attached to the model. This waveguide has the
same cross-section and material properties as the port. Wave ports are placed on this
interface to provide a means to link the model device to the external world.
Lumped Represents an internal surface through which a signal enters or exits the device. It is
Port effectively a lumped element for exciting the device and measuring the S-parameters.
Terminal A terminal is defined by one or more conductors in contact with the port. HFSS treats
microwave structures as a black box that may have one or more terminals, each of
which contains a voltage/current pair. Terminals are assigned either manually or
automatically.
Plane Represents a wave that propagates in one direction and is uniform in the directions
Wave perpendicular to that of its propagation.
Voltage Represents a constant electric field across feed points.
Source
Current Represents a constant electric current across feed points.
Source
Related Topics
Wave Ports
The objective of this section is to provide a thorough description of wave ports. You must know
what a wave port represents in HFSS to understand its capability. To illustrate we will use an
HFSS model of a coaxial bend as an example where the wave port is assigned on the outer face.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
HFSS treats this wave port as though a waveguide or a transmission line of the exact same cross-
section (in this case the cross-section of the coaxial bend) and material properties, comes from
infinity and ends at the port as shown in the figure below.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The properties and the cross section of the waveguide or the transmission line determine the
natural field patterns called modes that excite the model and the HFSS port solver determines the
propagating modes that the waveguide or transmission line will carry.
Note: A wave port can be placed internal to a model as long as it is backed by a PEC object.
Related Topics
Circular Waveguide
An HFSS model of a cylindrical waveguide of uniform circular cross-section along its length excited
with a wave port p1 is shown below. You do not need to define the port size because it is naturally
defined by the cross-section.
Coaxial Cable
The figure below represents a coaxial cable. You do not need to define the port size as it is naturally
determined by the inner and outer radii of the shield.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The figures below show an HFSS model of a microstrip transmission line and guidelines for setting
the wave port dimensions.
See the HFSS model at scale in the figure below. The bottom of the port touches the ground plane
of the microstrip.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The port width affects the port impedance and the propagating modes. If the defined port is too
narrow more fields will couple to the side walls. The height of the port is affected by the permittivity
of the substrate. If the permittivity is too high less fields will propagate in the air, so the wave port
can be made shorter.
The figure below shows an HFSS model of a coplanar transmission line. The left and right edges of
each port must touch the left and right ground planes. We recommend that you make the port size
8h x 10w where "w" represents the width of the trace and "h" represents the height of the substrate.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
of the wave port is critical because it can affect the accuracy of the solutions. If the wave port is
close to a discontinuity due to change in shape, dimension, or material of a structure the resulting
3D field can be a superposition of propagating and non-propagating modes.
Hence, the first discontinuity should be at an appropriate distance away from the port surface. This
allows any energy reflected into an evanescent mode of the port to decay before reaching the port.
Without this separation the resulting accuracy of the S-parameters will be compromised. To
precisely determine a distance you can solve the 'port only' with one additional mode (for a correct
port definition this mode will be evanescent) and extract the decay length of this mode from its
complex gamma. Then, as a rule of thumb, place the first discontinuity at least three times this
decay length. Such rigor is not usually necessary and experience over time will give you a solid
understanding of typical spacings for their port geometries and frequencies of analysis.
Number of Modes
The electrical size of a port at the highest frequency of interest determines the number of modes to
be included in the port definitions. If the guidelines on discontinuity discussed above are followed,
the number of modes equals the number of propagating modes at the highest frequency; if they are
not followed then, the port as a boundary condition will not be accurate. Regardless of whether
they are propagating or not, the solver will solve these modes for calculating the S-parameters.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note: The option Use Wizards for data input when creating new boundaries under Tools >
Options > HFSS Options >Boundary Assignment is unchecked; so the dialog box appears in
the tabbed format. For more information about the appearance of the Wave Port dialog box, see
HFSS Options.
The different tabs and their sub-panels are described in the following subsections.
l General Tab
l Post Processing
l Defaults
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The mode alignment can also be set using the integration lines. In this case the direction is flipped
upward as set by the direction of the integration line.
See the settings for another WR-90 waveguide with the integration lines 1 and 2 defined for two
modes.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note: The voltage along integration line 1 is positive for Mode 1 and the voltage along the
integration line 2 is positive for Mode 2.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
axis must lie on the center of the port plane and split the port into equal haves. Otherwise an error
message will pop up.
The figures below show the cross section of a square wave guide for which the U-V axes are set
and no integration lines defined for 3 modes. The U-axis must lie along the port plane and split the
port into two equal halves. After you define the Solution Setup and run the simulation, the Port
Field Display for the 3 modes are also shown in the figures below.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The solver arbitrarily assigns the polarity for the modes 1 and 2.
Any combination of degenerate modes results in just another combination of degenerate modes.
There is no uniqueness in the orientation of the modes. To get a unique orientation advanced users
can select this option Align modes using integration lines and define the integration lines
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
appropriately. Prior knowledge of the mode pattern is necessary before you define the Integration
Lines for mode alignment. You cannot draw the integration lines randomly. They are extremely
important to get the mode alignment that you want. See the integration lines 1 and 2 defined on a
port face shown below and the settings in the Modes sub-panel.
Alignment Groups
This column appears only when you select the option Align modes using integration lines. The
modes that have the same Alignment Group number are degenerate. To help the solver choose
which modes are degenerate you must assign the Alignment Groups. When you set the
alignment group numbers the solver accumulates the modes of a specific group number and
causes each mode within that group to have a positive voltage along its own integration line and
zero voltage along all other integration lines. For example, defining integration lines 1 and 2 at right
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
angles to each other for the port face (shown above) will cause the modes to be aligned as
illustrated in the following figures.
Suppose you want the modes to be aligned along the integration lines 1 and 2 defined diagonally
as shown in the figure below.
According to this definition of the integration lines, the solver aligns the modes within a given group
(1 in this case) such that Mode n has a positive voltage along integration line n and zero voltage
along all other integration lines.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
For Zwave:
Note For more information about how HFSS defines these values, see Calculating the ZPI
Impedance, and Calculating the ZPV Impedance.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Both renormalization and deembedding affect the network parameters. They will also affect the
fields if the Include Port Post Processing Effects option is selected in the Edit Sources dialog
box.
Deembed Settings
First we will not employ deembedding as shown under Deembed Settings of the wave port post
processing dialog box.
In this situation, by default the reference plane will be along the port surface as shown below.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note
Renormalization
This option lets you vary the value of Z0ref. When you do not renormalize Z0ref is Z0 . When you
renormalize as shown in the figure below, Z0ref will no longer be Z0 but it will be assigned the value
that you enter in the Full Port Impedance field. The settings in the figure below makes Z0ref =
75 ohm.
If you want to enter a complex impedance, enter it in the form <re> + <im>j., for example 50ohm +
(-5ohm) * 1i . You can assign a variable to these values, (for example " resistance + (reactance) *
1i"). This variable can be dependent on the frequency, which allows use of a dataset for frequency
dependent impedance, (for example, pwl(ds1,freq) + (pwl(ds2,freq)) * 1i).
Note: You do not need to re-run a simulation in order to renormalize a port. Post-processing
reports are automatically updated to reflect the renormalized S-matrix.
The Wave Port dialog menu appears with the General tab selected.
Note For more information about the Integration Lines, see Defining an integration line.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
1. Select the face that you want to excite, right click, and select Assign Excitations>Wave
Port.
2. Name the port.
The three options under Mode Alignment and Polarity are described below.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
1. Bring up the Wave Port dialog box, access the Modes panel.
2. Enter the number of modes, select the radio button Set mode polarity using integration
lines to control the polarity.
Note: For more information, seeModes with Default Settings and Set Mode Polarity Using
Integration Lines.
1. Bring up the Wave Port dialog box and select this option.
The V direction is computed automatically and can be flipped using the Reverse V Direction
check box. The solver polarizes the fields by aligning them with analytic mode patterns that are
generated on the U-V coordinate system.
Note: For legacy projects, when reading in a port, if alignment is requested but only one mode
exists, HFSS turns alignment OFF. This prevents an error in validation, and preserves the
behavior of having the fields polarized but not aligned.
If desired, you can check the Filter Modes for Reporter check box on the lower left (see
below).
This adds a new column to the Mode table, which lets you use a check box to designate a mode
For Reporter. For designs with multiple modes, this function will simplify your selections when
you create traces for reports.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
For more information, see Align Modes Analytically Using Coordinate System.
This option meant for advanced users causes polarization for non-analytic ports. There is no
restriction on the port geometry, materials, or integration lines.
For more information about this option and the effect of Integration Lines, see Align Modes Using
Integration Lines.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Complex impedance should be entered in the form: <re> + <im>j or <re> + <im>i. Either j or
i entered into the field is displayed as i in the field and in a recorded script. See figure below.
l For multiple modes, the Renormalize Specific Modes is enabled, causing the Edit
Mode Impedances button to be active. Click this button to renormalize the impedance of
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
desired modes.
1. Enter the Deembed distance in the field or draw a line on the model to represent the
distance and get it graphically. You can also assign a variable in the Distance field.
Important: The orientation of the Deembed arrows in the modeler is determined by the
modeler direction of the normal of the face where the port is defined. From the standpoint of the
S-parameters what is correct is the sign of the deembed distance.
Note: A positive distance value will deembed the port into the structure. A negative distance
value will deembed the port out of the structure.
Note: Make sure you are not creating a non physical situation when you deembed cutoff
modes. For example, when you enter a positive distance to deembed a port with a cutoff mode
into the model the resulting field values for that mode can be very large.
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note: For more information, see Scaling a Source Magnitude and Phase.
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Complex impedance should be entered in the form: <re> + <im>j or <re> + <im>i. Either j or
i entered into the field is displayed as i in the field and in a recorded script. See figure below.
l For multiple modes, the Renormalize Specific Modes is enabled, causing the Edit
Mode Impedances button to be active. Click this button to renormalize the impedance of
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
desired modes.
1. Enter the Deembed distance in the field or draw a line on the model to represent the
distance and get it graphically. You can also assign a variable in the Distance field.
Important: The orientation of the Deembed arrows in the modeler is determined by the
modeler direction of the normal of the face where the port is defined. From the standpoint of the
S-parameters what is correct is the sign of the deembed distance.
Note: A positive distance value will deembed the port into the structure. A negative distance
value will deembed the port out of the structure.
Note: Make sure you are not creating a non physical situation when you deembed cutoff
modes. For example, when you enter a positive distance to deembed a port with a cutoff mode
into the model the resulting field values for that mode can be very large.
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note: For more information, see Scaling a Source Magnitude and Phase.
Related Topics
To fit circuit theory HFSS has options for assigning terminals and expressing the relationship
between currents and voltages. Terminals are especially useful when you are dealing with circuit
simulators since the S-parameters obtained in terms of currents and voltages are in a format that is
compatible with most circuit simulators.
Example of Terminals
Reference Conductors
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Related Topics
The solver uses as many modes as terminals. These modes are not eigen modes and sometimes
referred to as terminal modes. The solver computes terminal modes where all the terminal modes
are a superposition of eigen modes such that the S-parameters computed by the solver constitute
the corresponding terminal S-Matrix instead of the eigen S-Matrix.
For terminal projects we will deal only with transmission lines and assume that the currents and
voltages correspond to quasi-TEM modes. The number of terminal modes is dictated by the
number of conductors on the port in the project. Proper port definitions should ensure that no
higher order propagating modes exist in the transmission lines.
Example of Terminals
A terminal is essentially an insertion point for voltage and current on a multi-trace transmission line.
The terminals are defined at the ends of the signal traces where they intersect with the surface of
the port as shown below.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Reference Conductors
The Reference Conductorsdialog box contains a table that lists all the conducting objects used in
a model. In this dialog box you will choose the conductor(s) that will act as reference. You can
name terminals based on the name of their conductors or their associated ports.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
We will depict a couple of scenarios that you may encounter while assigning terminals to
conductors in your model. For both scenarios we will consider the same microstrip line with
modifications to the model.
The figure below shows a microstrip line enclosed by an air box. The model has an explicit ground
plane that is orange in color.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The ground is an explicit object and so it will appear as a conductor in the Reference Conductors
for Terminals dialog box when assigning terminals to the trace.
Select Ground as reference so that the terminal appears only on the Trace and not on the Ground.
The figure below illustrates the same microstrip line enclosed by an air box without the radiation
boundary. This model does not have the explicit ground plane.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The solver treats the boundary of the air box as PEC because no other explicit boundary condition
is applied to it. The air box acts as a reference conductor but will be treated as an implicit conductor
that does not appear in thedialog box. In this case do not define the reference conductor as it is
already assumed by the solver.
In this section we will assign wave ports on a differential pair via model shown below.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
We will assign a microstrip port and a stripline port. The guidelines for defining port size introduced
in the Microstrip Waveguide section are also applicable for the differential pair model. The
microstrip port size is defined as (10w+s + 2w) x 8h where w = microstrip trace width, s =
separation between the traces, and h = height of the substrate.
The stripline port is defined as (10b + c + b) x d where b = stripline trace width, c = separation
between the traces and d = the distance between the upper and the lower ground plane.
1. Right-click the rectangle for the microstrip port and select Assign Excitations>Wave Port.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The port gets assigned and the terminals appear automatically on the microstrip.
The port gets assigned and the terminals appear automatically on the stripline.
Note: In rare cases when automatic terminal assignment fails, you can manually assign a
terminal by selecting the face of the conductor.
Note: The project manager window gets populated as shown in the figure below.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note: Terminal naming conventions are based by default on the first geometry in the assignment
selection for the terminal. You can change the names from the Set Default Boundary/Excitation
Base Name dialog box. For auto assign terminals, you can also specify whether naming uses the
conductor or the port object name.
To view all of the assigned excitations at the same time, perform the following steps:
2. Press Ctrl and select the excitations that you want to see in the model.
For example, the figure below shows all the excitations on the differential pair.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note: At either the port level or for all excitations, you can set the renormalizing impedance for all
terminals.
Check the Auto-assign terminals on ports option on the Tools>Options>HFSS Options dialog
on the General tab or use the Auto Assign Terminals command.
This option assigns terminals automatically. When you change the Solution Type of a model from
Driven Modal to Driven Terminal, you can use this option to define the terminals for the
conductors on the existing ports.
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
2. Enter the value in the Resistance and set the units from the drop-down menu and click OK.
The setup panel for each terminal includes its post processing renormalizing impedance. You can
set this value either for all excitations, or for a specific port. If a design includes at least one wave
port, the setup panel also includes the radio buttons Do Not Renormalize Any Terminals, or
Renormalize All Terminals' Spectral Domain Data.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
1. Right click Excitations in the Project tree and select Set Terminal Renormalizing
Impedances.
2. In the field for Impedance, set the value, and select the units from the pull down.
Note: The reference impedance is meant to represent the component modeled by the lumped
port. You can assign a variable to these values, (for example " resistance + (reactance) * 1i").
This variable can be dependent on the frequency, which allows use of a dataset for frequency
dependent impedance, (for example, pwl(ds1,freq) + (pwl(ds2,freq)) * 1i).
3. Click the Apply button to close the dialog and apply the change.
1. Right click the port icon in the Project tree and click Set Terminal Renormalizing
Impedances.
The Set Renormalizing Impedance for Terminals dialog appears. It differs from the related
command for all excitations by specifying that the Renormalizing Impedance is for terminals
on the selected port.
2. In the field for Impedance, set the value, and select the units from the pull down.
This value can be a variable. This variable can be dependent on the frequency, which allows
use of a dataset for frequency dependent impedance.
Note: For more information, see Scaling a Source Magnitude and Phase.
You can also set the Terminal Reference Impedance on a port by selecting the port and editing the
value in the Properties dialog.
In designs with at least one wave port, where you want to view un-renormalized Zo impedance
and/or the corresponding S parameters in either the Matrix data or in a report, you can select the
Do Not Renormalize Any Terminals radio button.
1. Double click the wave port in the Project tree to display the Properties window for the
wave port and select the Post Processing tab.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Do Not Renormalize (the default). Selecting this disables the Impedance fields for the
port and terminals.
l Renormalize All Terminals. The default impedance for re-normalization of each port is
50 ohms. To specify a different impedance, you must open the Properties for the terminal
and specify a value in the Terminal Renormalizing Impedance field.
If you want to enter a complex impedance, enter it in the following form: <re> + <im>j, for
example 50ohm + (-5ohm) * 1i . You can assign a variable to these values, (for example "
resistance + (reactance) * 1i"). This variable can be dependent on the frequency, which
allows use of a dataset for frequency dependent impedance, (for example, pwl(ds1,freq) +
(pwl(ds2,freq)) * 1i).
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Important: After you enter the value, a blue arrow depicts the deembedding distance in the
graphics window when the port is selected. When a wave port has been defined on a sheet, the
inward or the outward normal will dictate the direction of the arrows. The orientation of the
deembedding arrows in the modeler is determined by the direction of the normal of the face
where the port is defined upon. From the standpoint of the S-parameters what is correct is the
sign of the deembed distance.
Note: A positive distance value will de-embed the port into the model. A negative distance
value will de-embed the port out of the model.
Note: Make sure you are not creating a non physical situation when you deembed cutoff
modes. For example, when you enter a positive distance to deembed a port with a cutoff mode
into the model the resulting field values for that mode can be very large.
3. For HFSS Transient solutions, you can designate a port as Active or Passive.
Related Topics
You can define one or more differential pairs from terminal excitations assigned on existing wave
ports. Differential pairs can span ports, use lumped ports, and be enabled or disabled. To allow
automated calculation of differential S-parameters from lumped ports, you can select terminals
from two arbitrary ports, whether wave ports or lumped ports, for use in a differential pair.
Because differential pairs can span ports or occur within a port, the Differential Pairs command is
accessible at corresponding levels in the Project tree via the right click menu both at the
Excitations level, and at the port name level. If a differential pair involves terminals from two
different ports, the Differential Pairs command for those ports can only be accessed at the
Excitations level. If an individual wave port has multiple terminals defined, the Differential Pairs
command is enabled when you select that port and right click to display the shortcut menu. In order
to combine differential pairs across ports, both ports must have the same renormalization setting;
that is, either ports have Do not Renormalize on, or both have it off. For Transient Network
solutions, differential pairs cannot include passive terminals. We will use a differential pair via
model to assign the differential pairs. See Figure below.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Differential Pairs can be defined for both design layout and LNA setups if both are available. Both
pairs will be available in two tabs of the same dialog as shown below.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
1. All terminals that are not already in pairs are shown in columns Positive and Negative of the
Terminals list (on left):
l Clicking on a cell, selects that cell; Multiple selection is allowed using Ctrl-Click and Shift-
Click; if one cell in each column is selected, Add Pairs button is enabled; clicking that button
will add the pair to the bottom of the Pairs list (on right)
l Clicking on a row button in Terminals list selects that row; user can select multiple rows
using Ctrl-click and Shift-click; when one or more rows are selected, Add Pairs button is
enabled; clicking that button will add the pairs to the bottom of the Pairs list
l If anything is selected in Terminals list, accelerator Ctrl-A will select all rows
l Click-dragging a cell in Terminals list to different position in same column or to any position in
the other column will move that terminal to the drop position
l Entering text into the first cell in each column will be used to filter which pins are shown in the
column; * wildcard character is supported. See the Layout List dialog for an example of this.
3. Display Terminals group:
l Clicking Odd and Even will move odd position terminals to Positive column and even position
terminals to Negative column; the filters will still be applied
l Clicking Half and Half will move terminals in the first half of the original list to the Positive
column and terminals in the second half to the Negative column; filters will still be applied
4. Pairs list shows all terminal pairs that have been defined:
l Clicking Enabled or Matched header will toggle the check boxes in those columns; if
Matched check box is checked, remove text from both Z Ref cells and disable those cells; if
check box is subsequently unchecked restore Z Ref cells to previous values
l Clicking Positive, Negative, or Name column headers will toggle sorting the pairs
alphanumerically on that column
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note: Scripting for loading/saving differential pairs from/to a file will not be recorded as part of the
scripting in the dialog. The user can hardcode the scripting as follows:
l LoadDiffPairsFromFile(filename)
l SaveDiffPairsToFile(filename)
After a solution has been generated, view the common and differential quantities of the differential
pair under the Matrix tab of the Solution Data window as shown below.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
When the design has differential pairs (link), the reporter can display quantities for the defined pairs
or for the single-ended terminals upon which they are based. A pull-down menu will appear in the
Context area of the Report creation dialog which allows the user to select which quantities will be
displayed.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
You can freely mix differential and single-ended terminal quantities. However, single ended
quantities are computed as if no differential pairs existed. So, in the unlikely case of several
terminals where only a subset are combined into pairs, the results may not be as expected.
Related Topics
Lumped Ports
Lumped ports support single mode excitations when S-parameters have to be extracted at internal
locations of a model. It can also be used to represent a terminal of a passive component to be
subsequently optimized in a circuit simulator using S-matrix description of the model.
For lumped ports all edges that do not touch metal are treated as perfect H boundaries. From this
definition the resulting field distribution on the lumped port geometry is solved with the wave port
solver. For a rectangular lumped port this results in electric fields orientated parallel to these perfect
H sides. See figures below. The physical geometry of the rectangular lumped port carries current
with the corresponding H fields resulting in parasitic inductance. For these same rectangular
lumped ports the parasitic inductance can be calibrated out of the s-parameter response with the
deembedding option for lumped ports.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l For 1: The 2D port rectangle touches the signal trace with one edge while the opposite
edge touches the ground plane.
l For 2: The 2D port rectangle touches the signal trace with one edge while the opposite
edge touches the PEC objects (drawn in grey).
l For 3: the port is an annular ring around the BGA ball where the resulting field patterns
closely resemble those for a coaxial TEM mode.
Note: Use lumped ports only for those surfaces that are internal to the model and wave ports to
model exterior surfaces through which a signal enters or exits the geometry.
Related Topics
1. Select a surface to which you want to assign the port and click HFSS or HFSS-
IE>Excitations>Assign>Lumped Port to bring up the Lumped Port: General dialog
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
box.
2. Define the complex Full Port Impedance in the text field. The format is "<real_part> +
<complex_part>*i ohm", for example 50ohm + (-5ohm) * 1i
Note: The reference impedance is meant to represent the component modeled by the lumped
port. You can assign a variable to these values, (for example " resistance + (reactance) * 1i").
This variable can be dependent on the frequency, which allows use of a dataset for frequency
dependent impedance, (for example, pwl(ds1,freq) + (pwl(ds2,freq)) * 1i).
Note: The field Number of Modes is not editable because only one mode is allowed.
The Characteristic Impedance (Zo) column shows the Zpi method usually used to calculate
the characteristic impedance. If Zpi is zero, HFSS uses Zpv.
For definitions of how HFSS defines these values, see Calculating the Zpi , and Calculating the
Zpv.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Values here affect S-Parameters. They will also affect the spectral fields if you selected the
Include Post Processing Effects on the Edit post process sources dialog box. By default,
lumped ports are renormalized to a 50 Ohm full port impedance. You can override the default by
entering a value of your choice in the Full Port Impedance field. If you want to enter a complex
impedance, enter it in the form <re> + <im>j., for example 50ohm + (-5ohm) * 1i . You can assign a
variable to these values, (for example " resistance + (reactance) * 1i"). This variable can be
dependent on the frequency, which allows use of a dataset for frequency dependent impedance,
(for example, pwl(ds1,freq) + (pwl(ds2,freq)) * 1i).
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Lump port de-embedding is only available on lump ports assigned to rectangular geometries. This
capability de-embeds from the resulting s-parameters the parasitic inductance associated with the
port's geometry
Note: For more information about the port calibration technique, see the topic When HFSS Needs
Port Calibration (Deembedding).
The Deembed option can be turned on or off as a post processing operation without invalidating
solutions. If multiple lumped ports are selected in the Excitations List panel, changes to the
common Deembed property change the setting for all lumped ports at once, but only for those that
support calibration.
If a port is selected for calibration but the validation checks fail for some variation (which could
happen with a parametric solve), then the matrix data will not load for that variation. Also, if the
fields are to include port post processing effects, then the fields do not load.
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
1. Select the object face to which you want to assign the port.
2. Click HFSS> or HFSS-IE>Excitations>Assign>Lumped Port.
3. Define the complex Full Port Impedance of the port in the text box. The format is "<real_
part> + <complex_part>*i ohm", for example 50ohm + (-5ohm) * 1i . You can assign a
variable as these values, (for example " resistance + (reactance) * 1i"). This variable can be
dependent on the frequency, which allows use of a dataset for frequency dependent
impedance, (for example, pwl(ds1,freq) + (pwl(ds2,freq)) * 1i).
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
To ensure a valid port, the maximum distance from the terminal to the reference should be less
than a twentieth of a wavelength. If this condition is violated, a warning occurs.
For HFSS-IE:
l For auto assignment to work you must enable Auto-assign terminals on ports on the
HFSS-IE Options: General Options Tab.
l Manually assign a terminal. Select any connected edge(s) and/or face(s) of conductors that
touch the port.
l Select Excitations>Auto Assign Terminals.
This will bring up a dialog box for you to select the objects used for "reference conductors."
Floquet Ports
The Floquet port in HFSS is used exclusively with planar-periodic structures. Chief examples are
planar phased arrays and frequency selective surfaces when these may be idealized as infinitely
large. The analysis of the infinite structure is then accomplished by analyzing a unit cell. Linked
boundaries most often form the side walls of a unit cell, but in addition, a boundary condition is
required to account for the infinite space above. Floquet ports must be placed along the Z axis. The
Floquet port is closely related to a wave port in that a set of modes ("Floquet modes") represents
the fields on the port boundary. Fundamentally, Floquet modes are plane waves with propagation
direction set by the frequency, phasing, and the geometry of the periodic structure. Just like Wave
modes, Floquet modes too have propagation constants and experience cut-off at low frequency.
When a Floquet port is present, the HFSS solution includes a modal decomposition that gives
additional information on the performance of the radiating structure. As in the case of a wave port,
this information is cast in the form of an S-matrix interrelating the Floquet modes. In fact, if Floquet
ports and wave ports are simultaneously present, the S-matrix will interrelate all Wave modes and
all Floquet modes in the project.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
2. Click the corner of the box and draw the U-V vectors as shown below.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
1. Floquet ports must be placed along the Z axis, as shown. Select the top face of the unit cell,
right click, and select Assign>Excitation>Floquet Port from the shortcut menu.
2. Specify the A and B directions for the Lattice coordinate system. These define the periodicity
of the planar lattice. The vector arrows must start and end at points on the face of the Floquet
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
3. The Modes Setup window displays a field for the Number of Modes, a button for access to
the Modes Calculator, and a table.
4. On the post processing panel, if needed, the deembed distance can be specified.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
In general Floquet modes are specified by two modal indices and a polarization setting. These
designations resemble the textbook notation for rectangular waveguide modes, such as ``TE10.''
The default mode table specifies a pair of Floquet modes. The default modes both have modal
indices equal to zero and are sometimes called "specular" modes, which are always an essential
part of the Floquet mode set. For general frequency and scan conditions, other higher-order
Floquet modes will be needed. A modes calculator, invoked by selecting the Modes Calculator
button, is available to set these up for the user.
The values under Attenuation represent the modal loss in amplitude along the direction normal to
the Floquet port plane. The numbers in this column are computed by the modes calculator that will
help you decide which modes to keep.
Attenuation for a mode is a function of both the frequency and the scan angle specified in the
modes calculator. When the latter includes more than one scan direction, the least amount of
attenuation experienced by the mode over all the specified scan directions.
Thus when the table gives a value of 0 dB, at one or more scan directions specified in the modes
calculator the particular mode propagates without attenuation. Similarly, when the table displays
say 60 dB, a 60 dB per unit length is the least amount of attenuation at all specified scan directions.
At any given direction, only the same or larger attenuations (for example, 70 dB per length) will
occur. To improve simulation efficiency and interpret the results easily eliminate any modes that are
not necessary. Do this by editing the Number of Nodes field in the Modes Setup tab.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
To change the order of items in the final Modes list, drag each corresponding line by the square box
at the left of each row.
Related Topics
This tab lets you specify a de-embedding distance. This optional post processing step is employed
when you are interested in the phase of the S parameter elements. The interface for deembedding
a Floquet port is the same as that for a wave port.
This panel contains settings that affect the fields once the field solution is complete.
This enables the distance and units field for the positive value to deembed the port into the mode,
and for a negative value to deembed the port out of the model.
This panel contains the Affects Refinement check boxes which allows you to specify Floquet
modes in the 3D adaptive refinement process. Typically, you select no modes or only one or both
specular (TE00 or TM00) modes. Selecting more than this may affect the efficiency and accuracy
of the solution process.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
For antenna array simulations in which the active impedance or embedded-element pattern is
sought, the Wave or Lumped ports modeling the feed structure provide the fields of interest. In this
case, no Floquet modes should be included in the adapt process. On the other hand, if the per-cell
RCS is of interest, one or both specular Floquet modes provide the fields of interest and should be
included in the 3D adapt process by checking the corresponding Affects Refinement boxes.
Similarly, for an FSS simulation with two Floquet ports, specular modes provide the fields of
interest and should be selected to participate in the 3D adapt process.
In certain simulations (for example, a frequency-selective surface) you will set up a second Floquet
port. Note that when you do this HFSS automatically copies the lattice vectors, modes table, and
3D refinement settings from the first Floquet port to the second.
Related Topics
In the Floquet Port dialog, General tab, for each Vector (A and B Direction):
This opens a Measure Data dialog and causes the cursor to drag a visual marker that drops a
dashed line to the reference plane, and shows a location indicator on the Floquet plane.
2. Drag the marker to select a location for the Direction vector. Click to set the origin point, and
drag and click to specify the position 2 point that defines the direction from that origin. The
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
vector arrows must start and end at points on the face of the Floquet port and must have a
common initial point.
3. Clicking the second point closes the Measure Data dialog, and exits the New Vector mode.
The drop down menus for Position A and Position B now include an entry called "Defined"
along with "Undefined" and "New Vector."
Related Topics
1. In the Floquet Port: Modes tab, if you select the Modes calculator button, the Mode
Table Calculator window displays.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Number of modes - you can trim this value later, as you learn which modes are needed
and which are not.
l Frequency - if the problem setup contains one or more frequency sweeps, usually you
will set this value to the highest frequency.
l Scan Angles -enter the values and select units for Phi and Theta, including Start, Stop,
and Step size. The Mode Table Calculator calculates a set of Floquet modes on the
basis of all the angles defined.
These inputs constitute the information required to create a set of recommended modes for the
Floquet port. The inputs are used by the mode selection algorithm but do not affect the problem
setup.
1. Click OK to leave the Mode Table Calculator and to compute the recommended list of
modes.
The new modes table appears on the Modes Setup tab of the Floquet Port properties/setup
window. The attenuation associated with a listed mode represents the minimum (or worst case)
for that mode over the range of scan angles.
Related Topics
Incident Waves
An incident field is the electromagnetic field in the absence of any scatterers. We suppose that the
incident field is present everywhere and it comes from a source residing in some location. The
source can even be another HFSS project or an SIwave project.
l Plane Wave
l Hertzian-Dipole Wave
l Cylindrical Wave
l Gaussian Beam
l Linear Antenna Wave
For incident analytical waves (plane waves through linear antenna waves) HFSS supports two
basic methods: scattered field formulation and total field formulation.
The total field formulation is useful for viewing weak total fields while scattered field formulation is
useful for viewing weak scattered fields.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
For near field and far field waves we are merely specifying the fields on the radiation surfaces. So,
we cannot view only the total fields.
Related Topics
The k vector also depends on the material of the radiation boundary. More precisely it is the wave
number of the global background material.
You can set the global material environment which is otherwise vacuum by default. Right click
Boundaries and select Edit Global Material Environment to bring up the dialog box.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The material specified in the Global Material Environment panel can impact an HFSS design in
the following three areas:
l All incident waves except evanescent plane waves and near and far field links are
assumed to have been generated in the global background material.
l All fields outside the computational domain are obtained using the global background
material.
l The currents on exterior HFSS-IE regions are computed assuming the global background
material.
Note The PML and simple ABC are constructed assuming the interior material touching the
radiation surface is the same as the exterior global background material. The actual material used
is the interior in this case in order to allow different materials to be in contact with the radiation
surface as is the case when truncating the substrate of a PCB design. To obtain consistent results
when viewing fields outside the computational domain, ensure that the interior material touching
the radiation surface is the same as the global background material.
Incident PlaneWave
A plane wave is a wave that propagates along a fixed direction where the electric and magnetic
fields are in the transverse plane and perpendicular to each other.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The term k represents the wave number of the global background material for regular/propagating
plane waves.
An HFSS model of a dielectric sphere is shown to illustrate the incident plane wave setup.
After a plane wave is defined, the propagation direction and the electric field direction can be
visualized as shown in the following figure.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
To define a plane wave, right-click anywhere in the Modeler and select Assign
Excitation>Incident Wave>Plane Wave.
The Incident Wave Source: General Data dialog box appears. You can select either Cartesian
or Spherical for the Vector Input Format.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Enter the Cartesian co-ordinates on the Incident Wave Source: General Data dialog box to set
the zero phase location for propagating wave and click Next.
Note: For evanescent waves, Cartesian co-ordinates are defined for the Excitation location.
The following figure shows the Cartesian Vector Setup panel. Define the direction of Eo.
Regardless of the magnitude of the field vector Eo, HFSS normalizes it to 1. However, the
magnitude of Eo can be scaled to the desired value on the Edit post process sources panel.
Also, define the direction of the unit vector of propagation, . It is your responsibility to ensure that
the direction of propagation, of the plane wave is perpendicular to E0.L
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Click Next to specify the the type of plane wave on the Plane Wave Optionspanel.
where k is the wave number of the global background material for regular/propagating plane
waves. In most cases, the values defined for Eo and k are meant for regular/propagating plane
waves. For evanescent waves, since k = β + jα it overrides the magnitude of the complex
propagation constant.
Note: In HFSS, evanescent waves do not depend upon the global background material, however,
the post-processed near or far fields depend upon the global background material. For more
information see the section Global Material Environment.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
If you select the type of plane wave as Elliptically Polarized, specify the ratio of the large axis to
the small axis of the ellipse and the phase angle of the large axis. For more information, see the
section Elliptically Polarized Plane Wave.
This section demonstrates the same incident plane wave by defining the vector input format for a
Spherical setup.
1. On the Incident Wave Source: General Data dialog box, select the option Spherical.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
2. Click Next and edit the IWavePhi, IWaveTheta, and Eo Vector fields as shown in the
following figure.
This setup provides an alternate way of defining plane waves using spherical vector format. The
orthogonality of and Eo is automatically satisfied since is in the direction. Regardless of
the magnitude of Eo, HFSS normalizes it to 1. However, the magnitude of Eo can be scaled to
the desired value on the Edit post process sources panel.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note: If you enter values in the Step fields and click the View Point List button, you can see all
the phi or theta values.
For a spherical incident wave you can specify an expression to define an angle in the start field
only. If use an expression, the dialog disallows any stop/step values. In other words, we allow only
a single angle if you choose to parametrize the start angle.
You can visualize the propagation direction and the electric field direction for a plane wave defined
for spherical vector setup as shown in the following figure.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The normalized bistatic RCS plot for theta scan at phi = 0 plane is shown below.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The following figure shows the scattered E-field plot on the surface of a dielectric sphere (radius =
30mm, relative permittivity = 10, and solution frequency = 5 GHz.)
Note: The Spherical vector input format provides a convenient way of specifying multiple incident
angles.
This section describes how to define multiple plane waves using Spherical Vector Setup.
The following figure shows the Spherical Vector Setup panel. An incident wave sweep is defined
in the phi = 90 degrees plane for theta, with step size of 10 degrees.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
This setup defines eleven incident plane waves as source as shown in the following figure.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The following figure shows the scattered E-field plot on the surface of the dielectric sphere (radius
= 30mm, relative permittivity = 10, and solution frequency = 5 GHz) at incident angle of theta = 40
degrees.
This E-field plot is defined for IWaveTheta = 50 deg and IWavePhi = 0 deg.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note: Although the incident field sweep defines multiple plane waves, only one scale factor is
applied on all the plane waves. This scale factor can be edited on the Edit post process sources
panel.
Both the overlay field panel and the Reporter provides you options to select the desired incident
plane wave.
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Hertzian-Dipole Wave
An incident Hertzian-Dipole wave can be specified as either an Electric dipole or a Magnetic dipole.
The Electric dipole simulates the field of an elementary short dipole antenna placed at the origin.
The Magnetic dipole is useful for EMC/EMI applications. Specify a Hertzian dipole as follows:
Cartesian Coordinates
2. Select Cartesian and click Next, the subsequent dialog lets you define the dipole length.
3. Define the types of dipole and the radius in the Hertzian-Dipole Wave Options dialog box.
The radius of Surrounding Sphere should be small enough so that a Hertzian dipole is
placed into the computational domain when scattered field formulation is used. If you place a
Hertzian dipole out of the computational domain, the Surrounding sphere can have any
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
radius.
Related Topics
Incident Waves
Note Only a single incident wave angle can be defined for periodic structures which are defined
with master and slave boundaries
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
6. Click Next. the Incident Wave Source: Cylindrical Wave Options page appears.
7. Select the Radius of Surrounding Cylinder. Inside this cylinder, the field magnitude will
be made equal to the field magnitude calculated on the surface of the cylinder. To restore the
default (10 mm), click the Use Defaults button.
8. Click Finish.The incident wave you defined is added to the Excitations list in the Project.
Related Topics
Related Topics
Incident Waves
Related Topics
Incident Waves
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
When you use a Far Field link, the origin of the global coordinate system of the source project
should be in the phase center of the antenna.
First click HFSS>Excitations>Assign>Linked Field>Far Field Wave and then, click Next or
the Far Field Wave Options tab.
Click the Setup Link button on the Incident Wave Source dialog to browse for a source project
for specifying the linked design.
Use a local coordinate system defined in the target design to represent the source origin and
rotation relative to target design. All the legacy origin and Euler angles will be translated into local
coordinate system.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
For legacy projects if the coordinate system you are using in the source design is different from that
in the target design, you originally defined the relationship between those coordinate systems as a
translation and a rotation. The translation is the offset between the origins of the two coordinate
systems, and the rotation was defined through the use of Euler angles.
The X-, Y-, and Z-coordinates of the source location and/or Zero Phase Position (the origin for the
incident wave) represents the translation of the source design's origin with respect to the target
design's origin. For instance, if the source design's origin is located in the target design co-ordinate
system at (-2, -2, 1), then the translation between the two coordinate systems is (-2, -2, 1).
The Euler angles represent the angles through which you can rotate the target design to achieve
the desired rotation angles.
All the legacy origin and Euler angles will be translated into local coordinate systems.
Note: A figure that represents the angles and the rotation of a design is at the end of the section.
See Computing Antenna Parameters for a description of how to obtain antenna parameters during
post processing.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
You can define a Far Field Incident Wave Source as a plain text data file with a .ffd suffix. The
fields can be independent or dependent on the frequency.
Note: The far field data file must be a plain text file. Wordpad includes invisible characters that
HFSS does not support. The code tolerates white space separators anywhere (blank, tab,
newline, carriage return). Between double values in same logical grouping, it tolerates comma or
semicolon separators.
Related Topics
In this case, the file format is simple. No keywords are used. The first two lines contain doubles
representing start, stop, and num points for the sweeps of theta and phi. The angle units are
degrees. In order to have a unique coordinate system theta and phi should be in the range of 0 <
theta < 180 and 0 < phi < 360.
ThetaStart ThetaStop ThetaNumPoints
Then, the subsequent lines give the complex components of electric field in the theta and phi
directions. The unit of E field is Volt. All of these are doubles. For these lines, theta will be held
constant while phi is swept through all values, then theta will increment to the next value, etc. So
the lines will correspond to (th1, ph1), (th1, ph2), (th1, ph3),…,(th1, phN), (th2, ph1), (th2, ph2),
etc… Note that this format enforces a strict uniform grid of theta and phi samples.
E_theta_real E_theta_imag E_phi_real E_phi_imag
...
0,360,5
0.0,0.0,0.0,1.0
0.0,0.0,0.0,1.0
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
0.0,0.0,0.0,1.0
0.0,0.0,0.0,1.0
0.0,0.0,0.0,1.0
0.0,0.0,0.0,1.0
0.0,0.0,0.0,1.0
0.0,0.0,0.0,1.0
0.0,0.0,0.0,1.0
0.0,0.0,0.0,1.0
0.0,0.0,0.0,1.0
0.0,0.0,0.0,1.0
0.0,0.0,0.0,1.0
0.0,0.0,0.0,1.0
0.0,0.0,0.0,1.0
For frequency-dependent far field links, the data is supplied in blocks. The syntax for a frequency
dependent far field uses the following format:
ThetaStart ThetaStop ThetaNumPoints
Frequencies NumFrequencies
Frequency FrequencyValue
Frequency FrequencyValue
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
0,360,5
frequencies 3
frequency 3.0e9
0.0,0.0,0.0,1.0
0.0,0.0,0.0,1.0
0.0,0.0,0.0,1.0
0.0,0.0,0.0,1.0
0.0,0.0,0.0,1.0
0.0,0.0,0.0,1.0
0.0,0.0,0.0,1.0
0.0,0.0,0.0,1.0
0.0,0.0,0.0,1.0
0.0,0.0,0.0,1.0
frequency 6.0e9
0.0,0.0,0.0,2.0
0.0,0.0,0.0,2.0
0.0,0.0,0.0,2.0
0.0,0.0,0.0,2.0
0.0,0.0,0.0,2.0
0.0,0.0,0.0,2.0
0.0,0.0,0.0,2.0
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
0.0,0.0,0.0,2.0
0.0,0.0,0.0,2.0
0.0,0.0,0.0,2.0
frequency 9.0e9
0.0,0.0,0.0,3.0
0.0,0.0,0.0,3.0
0.0,0.0,0.0,3.0
0.0,0.0,0.0,3.0
0.0,0.0,0.0,3.0
0.0,0.0,0.0,3.0
0.0,0.0,0.0,3.0
0.0,0.0,0.0,3.0
0.0,0.0,0.0,3.0
0.0,0.0,0.0,3.0
l 0, 180, and 2 are the values of ThetaStart, ThetaStop, and ThetaNumPoints in the first
line.
l The values 0, 360, and 5 do the same thing for Phi.
l NumFrequencies represents the number of blocks defined in the data file. In this example,
3 frequency blocks are defined.
l FrequencyValue represents the value of frequency for which you supply the far field data.
In the Data File Example, FrequencyValue is as follows:
l 3.0e9 Hz for the first block;
l 6.0e9 Hz for the second block;
l 9.0e9 Hz for the third block.
HFSS supports only the discrete sweep type for Far Field (and Near Field) data links. The
frequencies defined in the sweep must be consistent with the frequencies specified in the data file.
If not, an error message will pop up. So make sure that all the frequencies that you supply in the
data file are consistent with those in the Frequency Setup section of the Edit Frequency Sweep
dialog box. For example, based on the Frequency Setup shown below in the target project HFSS
will expect to find data for 3GHz, 6 GHz, and 9 GHz in the data file. Also, the Solution Frequency
in the Solution Setup should match one of the frequencies in the data file and the sweep if the
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
project type is HFSS or HFSS-IE in the target design. Also, the frequency blocks can appear in any
order in the data file.
The sample frequency dependent data file was used to apply far field on an open ended WR-90
waveguide. The frequency sweep shown was used to simulate it. The results for the E-field at 9
GHz are shown below.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
You can access the Setup Link dialog from the Far Field Wave options dialog or Near Field Wave
options.
1. Select the Edit Link radio button to activate the options in the panel.
2. Select the type of the source project e.g. HFSS, SIWave or Maxwell from the Product
drop-down menu.
Note: An HFSS-IE project can be used as target or source. Maxwell does not appear in the
drop down menu because it is not applicable for far fields.
3. Browse for the source project or check Use This Project. If you check the latter option, you
must select a source design from the current project.
Note: The origin of the global coordinate system of the source project should be in the phase
center of the antenna, when you use a Far Field link.
4. Specify the Source Solution. The first option in the Source Solution field is the default.
Note: The solution in the source design must provide data for the target design's adaptive
frequency as well as its sweeps. That is, the adaptive frequency for the target design must be
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
included in the sweep in the source design. If necessary, you can open the source design
and add an appropriate frequency point to an existing sweep.
5. Use the last two check boxes at the bottom of the panel as needed.
Note:Extractor mode means that the software is opened during the link solely for the purpose
of solving.
6. Under the Variable Mapping tab, you can set the desired variable values in the source
design. If the source and target designs contain same named variables, you can choose to
Map Variable By Name. In this case, same named variables are mapped automatically.
The horn antenna enclosed in an air box in the figure below represents the source project designed
in HFSS.
The dish/reflector in the figure below is the target project designed in HFSS-IE.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The Far Field Wave Options panel has the following settings.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
From the Setup Link option, the fields are set as shown in the figure to link the target to the source
project (the horn antenna).
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The resulting J Fields (magnetic fields) after solving the project are shown below.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
the radiation surface where a Near Field Wave pings in. Near field waves tend to have both
evanescent and propagating content.
First we will bring up the Near Field Wave Options panel and then, assign Near Field Wave.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Fill in the Excitation name. The dialog supports the choices of E field only and H field only
external data.
Note: For array problems, the Active option includes the effects of the Near Field in the
simulation. To disable the effects, uncheck the Active option.
3. Determine whether you want to use a linked design or an external data file. If you are using a
linked design go to step 4. If you are using an external data file to use to Create External
Data Design..., go to Access Near Field External Data Fileand follow the instructions.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
4. Click the Setup Link button on the Incident Wave Source dialog to specify the linked
design.
Note: It is through the Setup Link dialog box that you will link the source design to your target
design.
5. On the Setup Link dialog box select the radio button Edit Link.
The fields in the dialog box become active and editable as shown below.
6. Select the product in which you created your source design from the Product drop down
list.
Note: Only HFSS, Maxwell, and SIWave appear in this list. An HFSS-IE project can be used as
target or source.
7. Specify the project that has the source design in one of the following ways:
a. Check Use This Project to pick a design from a current working project.
b. Click the ellipsis and browse your computer to pick the design.
Note The option The project directory of selected product points to the default project
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
directory location relative to the product that you selected from the drop-down menu. This is
the same project directory that you set on the General Options dialog under Tools>
Options. This option is useful especially, when you link across different products. The
option This project points to the directory relative to where your current working project is
located.
8. Pick the source design from the Source Design drop-down menu which lists all the designs
in the specified project.
9. Pick the setup type from the Source Solution pull-down menu (e.g. Last Adaptive, or
Sweep, etc.).
10. Select the last two check boxes as needed and click OK.
Note Go to Simulate source design as needed, for more information about that option.
This is the last option on the Setup Link dialog box. When the source design is closed or it is not
included in the project manager window containing the target design, the source design will not be
saved. However, if you select this option, which is useful when you are using Maxwell or SIWave
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
11. Close the Setup Link dialog, and if necessary, specify the Source Relative Coordinate
System on the Near Field Wave Options panel of the IncidentWave Source dialog box.
12. Click Finish to close the dialog. The Near Field wave source point and direction is
highlighted in the modeler window, and the wave appears in the Excitations list in the
Project.
Select this option if you modify the source design and you want an updated source design solution
to be linked to the target design. If you select this option, make sure that you invalidate the cached
link data in the target. To do this, right click Analysis and select the option Clear Linked Data
from the short-cut menu.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The Near Field Setup Link settings are as shown in the figure below.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
In the example of the horn antenna linking to a target dish, the co-ordinate systems of the source
and the target coincide.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
You can use the Source Relative Coordinate System menu to select the source co-ordinate
system. For instance if you want to move the source and its co-ordinate system closer to the dish by
15 mm you can edit the Relative CS properties for the origin.
The 3D polar plot with the values of directivity for the source project (the standalone horn antenna
without the dish) is shown below.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Then, when we apply the fields to the Target project with the dish, we get the values of the
directivity shown in the figure below.
Note: The standalone horn antenna without the dish radiates in the negative Z direction while the
target project which includes the dish antenna, radiates in the positive Z-direction. The 3D polar
plot with the values of directivity after the application of the Near Field link is shown in the figure
below.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note For more information about Ansys Near Field Data File (*.and) format see the ANSYS Near
Field Data File section.
Presupposing that you have prepared the *.and file and associated near field data files:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
It supports the choices of E field only and H field only external data.
3. Select the Create External Data Design button and browse your computer to access a
previously created *.and file, which describes the name and location of one or more the near
field data files (*.nfd).
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
4. If necessary, specify the Source Relative Coordinate System on the Near Field Wave
Options panel of the IncidentWave Source dialog box.
Upon a successful source design generation, the datalink setup for the near field incident wave
source will be automatically set to the generated source design.
This auto-design generation is neither undo-able nor scriptable. This design becomes the source
design for external near field. This work flow allows you to view their external field data via HFSS.
l Geometry
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The external data geometry and a region. The padding of the region is 1/5 of lambda. Lambda is
based on the highest frequency in the external data.
l Boundaries
By default, a radiation boundary is assigned on the region. However, you can replace this
boundary with a PML.
l Excitations
An External Near Field Data Excitation. This is an excitation type for user defined external near
field.
Accessing the External Near Field Data Excitation dialog can only be done through the Auto
Design under Excitations in Project tree. Other than the Name, no other properties this
Excitation are editable through this dialog. It exists to provide you with information about the
AND File that was used to create this Auto-Design.
l Analysis
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
A default solve setup is created with the adaptive frequency set to the highest frequency in the
external data
A discrete frequency sweep is created if multiple frequencies are present in the External Data.
5. When you run the Analysis of your target design, it uses this newly created source design for
the Near Fields.
An example of a *.and file is shown below, followed by examples of .nfd files with Cartesian and
Cylindrical coordinate systems. The File format specification is provided in Technical Notes:
ANSYS Near Field Description Format Specification.
type = 'nfd'
geometry = 'sphere'
radius = '20mm'
fsweep='1GHz, 10GHz'
$end 'NearFieldHeader'
$begin 'NearFieldData'
FreqData("1GHz", "exportfields-1GHz.nfd")
FreqData("2GHz", "exportfields-2GHz.nfd")
FreqData("3GHz", "exportfields-3GHz.nfd")
FreqData("4GHz", "exportfields-4GHz.nfd")
FreqData("5GHz", "exportfields-5GHz.nfd")
FreqData("6GHz", "exportfields-6GHz.nfd")
FreqData("7GHz", "exportfields-7GHz.nfd")
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
FreqData("8GHz", "exportfields-8GHz.nfd")
FreqData("9GHz", "exportfields-9GHz.nfd")
FreqData("10GHz", "exportfields-10GHz.nfd")
$end 'NearFieldData'
This example is a simple text file and saved with the .and extension. It is clear from the sample that
the near field data was generated on a sphere centered at the origin and radius = 20mm for
frequencies 1 GHz through 10 GHz. For the sample *.and file 10 *.nfd files are specified so 10 *.nfd
files were generated. Examples of such Ansys Near Field Data Files (exportfields-1GHz.nfd) are
shown below.
Users can also use external data in the field format of J and M, J only and M only.
The sample below shows the near field data that the *.nfd file contains. The file uniquely specifies
the position of several points (700 in this case) and the real and imaginary values of the E field and
H field vectors at these points along the x, y, and z axes in the Cartesian Coordinate system.
#Index, X, Y, Z, Ex(real, imag), Ey(real, imag), Ez(real, imag), Hx
(real, imag), Hy(real, imag), Hz(real, imag)
Frequencies 5
Frequency 1.000000e+009
Frequency 5.000000e+009
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The sample below shows the near field data that the *.nfd file contains. The file uniquely specifies
the position of several points (700 in this case) and the real and imaginary values of the E field and
H field vectors at these points along the r, theta, and phi directions in the Spherical Coordinate
system.
#Index, Theta, Phi, Er(real, imag), Etheta(real, imag), Ephi(real,
imag), Hr(real, imag), Htheta(real, imag), Hphi(real, imag)
Frequencies 5
Frequency 1.000000e+009
Frequency 5.000000e+009
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The data file that you select when you click the Create External Design button of the Incident
Wave Source dialog box is in the *.and format. The *.and file describes the location and contents
of one or more Ansys Near Field Data Files which are in the *.nfd format. If no units are specified
for spherical or Cartesian coordinates, the *.ndf files use SI units of radians and meters
respectively. You can append units, such as mm or deg, as needed for each coordinate value.
An example of a *.and file is shown below, followed by examples of .nfd files with Cartesian and
Cylindrical coordinate systems. The File format specification is provided in Technical Notes:
ANSYS Near Field Description Format Specification.
$begin 'NearFieldHeader'
type = 'nfd'
geometry = 'sphere'
radius = '20mm'
fsweep='1GHz, 10GHz'
$end 'NearFieldHeader'
$begin 'NearFieldData'
FreqData("1GHz", "exportfields-1GHz.nfd")
FreqData("2GHz", "exportfields-2GHz.nfd")
FreqData("3GHz", "exportfields-3GHz.nfd")
FreqData("4GHz", "exportfields-4GHz.nfd")
FreqData("5GHz", "exportfields-5GHz.nfd")
FreqData("6GHz", "exportfields-6GHz.nfd")
FreqData("7GHz", "exportfields-7GHz.nfd")
FreqData("8GHz", "exportfields-8GHz.nfd")
FreqData("9GHz", "exportfields-9GHz.nfd")
FreqData("10GHz", "exportfields-10GHz.nfd")
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
$end 'NearFieldData'
This example is a simple text file and saved with the .and extension. It is clear from the sample that
the near field data was generated on a sphere centered at the origin and radius = 20mm for
frequencies 1 GHz through 10 GHz. For the sample *.and file 10 *.nfd files are specified so 10 *.nfd
files were generated. Examples of such Ansys Near Field Data Files (exportfields-1GHz.nfd) are
shown below.
Users can also use external data in the field format of J and M, J only and M only.
The sample below shows the near field data that the *.nfd file contains. The file uniquely specifies
the position of several points (700 in this case) and the real and imaginary values of the E field and
H field vectors at these points along the x, y, and z axes in the Cartesian Coordinate system.
#Index, X, Y, Z, Ex(real, imag), Ey(real, imag), Ez(real, imag), Hx
(real, imag), Hy(real, imag), Hz(real, imag)
Frequencies 5
Frequency 1.000000e+009
Frequency 5.000000e+009
The sample below shows the near field data that the *.nfd file contains. The file uniquely specifies
the position of several points (700 in this case) and the real and imaginary values of the E field and
H field vectors at these points along the r, theta, and phi directions in the Spherical Coordinate
system.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Frequencies 5
Frequency 1.000000e+009
Frequency 5.000000e+009
Related Topics
The data file that you select when you click the Create External Design button of the Incident
Wave Source dialog box is in the *.and format. The *.and file describes the location and contents
of one or more Ansys Near Field Data Files which are in the *.nfd format. If no units are specified
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
for spherical or Cartesian coordinates, the *.ndf files use SI units of radians and meters
respectively. You can append units, such as mm or deg, as needed for each coordinate value.
An example of a *.and file is shown below, followed by examples of .nfd files with Cartesian and
Cylindrical coordinate systems. The File format specification is provided in Technical Notes:
ANSYS Near Field Description Format Specification.
$begin 'NearFieldHeader'
type = 'nfd'
geometry = 'sphere'
radius = '20mm'
fsweep='1GHz, 10GHz'
$end 'NearFieldHeader'
$begin 'NearFieldData'
FreqData("1GHz", "exportfields-1GHz.nfd")
FreqData("2GHz", "exportfields-2GHz.nfd")
FreqData("3GHz", "exportfields-3GHz.nfd")
FreqData("4GHz", "exportfields-4GHz.nfd")
FreqData("5GHz", "exportfields-5GHz.nfd")
FreqData("6GHz", "exportfields-6GHz.nfd")
FreqData("7GHz", "exportfields-7GHz.nfd")
FreqData("8GHz", "exportfields-8GHz.nfd")
FreqData("9GHz", "exportfields-9GHz.nfd")
FreqData("10GHz", "exportfields-10GHz.nfd")
$end 'NearFieldData'
This example is a simple text file and saved with the .and extension. It is clear from the sample that
the near field data was generated on a sphere centered at the origin and radius = 20mm for
frequencies 1 GHz through 10 GHz. For the sample *.and file 10 *.nfd files are specified so 10 *.nfd
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
files were generated. Examples of such Ansys Near Field Data Files (exportfields-1GHz.nfd) are
shown below.
Users can also use external data in the field format of J and M, J only and M only.
The sample below shows the near field data that the *.nfd file contains. The file uniquely specifies
the position of several points (700 in this case) and the real and imaginary values of the E field and
H field vectors at these points along the x, y, and z axes in the Cartesian Coordinate system.
#Index, X, Y, Z, Ex(real, imag), Ey(real, imag), Ez(real, imag), Hx
(real, imag), Hy(real, imag), Hz(real, imag)
Frequencies 5
Frequency 1.000000e+009
Frequency 5.000000e+009
The sample below shows the near field data that the *.nfd file contains. The file uniquely specifies
the position of several points (700 in this case) and the real and imaginary values of the E field and
H field vectors at these points along the r, theta, and phi directions in the Spherical Coordinate
system.
#Index, Theta, Phi, Er(real, imag), Etheta(real, imag), Ephi(real,
imag), Hr(real, imag), Htheta(real, imag), Hphi(real, imag)
Frequencies 5
Frequency 1.000000e+009
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Frequency 5.000000e+009
Related Topics
The data file that you select when you click the Create External Design button of the Incident
Wave Source dialog box is in the *.and format. The *.and file describes the location and contents
of one or more Ansys Near Field Data Files which are in the *.nfd format. If no units are specified
for spherical or Cartesian coordinates, the *.ndf files use SI units of radians and meters
respectively. You can append units, such as mm or deg, as needed for each coordinate value.
An example of a *.and file is shown below, followed by examples of .nfd files with Cartesian and
Cylindrical coordinate systems. The File format specification is provided in Technical Notes:
ANSYS Near Field Description Format Specification.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
$begin 'NearFieldHeader'
type = 'nfd'
geometry = 'sphere'
radius = '20mm'
fsweep='1GHz, 10GHz'
$end 'NearFieldHeader'
$begin 'NearFieldData'
FreqData("1GHz", "exportfields-1GHz.nfd")
FreqData("2GHz", "exportfields-2GHz.nfd")
FreqData("3GHz", "exportfields-3GHz.nfd")
FreqData("4GHz", "exportfields-4GHz.nfd")
FreqData("5GHz", "exportfields-5GHz.nfd")
FreqData("6GHz", "exportfields-6GHz.nfd")
FreqData("7GHz", "exportfields-7GHz.nfd")
FreqData("8GHz", "exportfields-8GHz.nfd")
FreqData("9GHz", "exportfields-9GHz.nfd")
FreqData("10GHz", "exportfields-10GHz.nfd")
$end 'NearFieldData'
This example is a simple text file and saved with the .and extension. It is clear from the sample that
the near field data was generated on a sphere centered at the origin and radius = 20mm for
frequencies 1 GHz through 10 GHz. For the sample *.and file 10 *.nfd files are specified so 10 *.nfd
files were generated. Examples of such Ansys Near Field Data Files (exportfields-1GHz.nfd) are
shown below.
Users can also use external data in the field format of J and M, J only and M only.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The sample below shows the near field data that the *.nfd file contains. The file uniquely specifies
the position of several points (700 in this case) and the real and imaginary values of the E field and
H field vectors at these points along the x, y, and z axes in the Cartesian Coordinate system.
#Index, X, Y, Z, Ex(real, imag), Ey(real, imag), Ez(real, imag), Hx
(real, imag), Hy(real, imag), Hz(real, imag)
Frequencies 5
Frequency 1.000000e+009
Frequency 5.000000e+009
The sample below shows the near field data that the *.nfd file contains. The file uniquely specifies
the position of several points (700 in this case) and the real and imaginary values of the E field and
H field vectors at these points along the r, theta, and phi directions in the Spherical Coordinate
system.
#Index, Theta, Phi, Er(real, imag), Etheta(real, imag), Ephi(real,
imag), Hr(real, imag), Htheta(real, imag), Hphi(real, imag)
Frequencies 5
Frequency 1.000000e+009
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Frequency 5.000000e+009
Related Topics
Generate the *.nfd file from your existing data or from solved HFSS design with near fields using
the following steps.
1. Right click the previously created near-field Sphere or Line1 under Radiation as shown
below.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
4. Click Export Fields and save the file in the .nfd format.
You can use an *.and file to refer to one or more *.nfd files to describe near fields.
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Cable Network
A Cable Network is linked field excitation used as part an overall cable solution implemented as
dynamic data links between HFSS, 2D Extractor, and Circuit.
l Each cable harness in HFSS is modeled as a single external field source based on quasi-
static simulation of each cable cross section in 2D Extractor and an analysis of the cable
network in Circuit. The magnitude and distribution of the fields along each cable section is
determined by the voltages and currents at the ends of each section, and then transmission
line model is applied to propagate these fields along the cable length.
This HFSS design is a target of a new “Cable Field” coupled field datalink. The source of the
datalink is the Circuit design that models the cable network. Each Cable Network will be
treated as a single source and can be scaled at Edit Sources.
To setup a Cable Network datalink, in the HFSS Modeler window, you select all 3D cable
cables that are part of a network. Then click HFSS>Excitations>Assign>Linked
Field>Cable Network... or right-click Excitations>Assign>Linked Field>Cable
Network... This opens the Cable Network Setup dialog:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
You have a field for the name, and selections for Incident Field, Enforced E Field, and
Enforced H Field.
l To specify the Circuit design, user can go to the second page and click the button “Setup
Link…”. This displays the Setup Link dialog.
l After specifying the source design, you switch to the Component Mapping tab to setup the
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Click OK to exit the Setup Link dialog and complete the rest of the link setup in the Cable
Network Source dialog.
1. The In-plane rotation of the HFSS 3D section to the 2D Extractor cross section by a
direction line (which will be the local X axis of the cable cross section face). The
default is zero in-plane rotation, which is represented by a direction line originated at
the starting point of the polyline and ended at the seam of the cable.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
You can create new line or reverse the Y axis of the start cable cross section face.
2. The X and Y axis on both start and end faces are shown, which is useful when you
want to align multiple cable orientations.
3. You map pins in Circuit to wires at ends of the cable in HFSS by specifying the starting
end of the cable as “In Terminals” or “Out Terminals”. By default, the starting end of
the cable is selected as the “In Terminals”. The “In” and “Out” faces are highlighted in
the View window.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
You can override the default selection by toggling the menu at the “Set Cable Start
Face As” column.
A Floating cable is defined as a cable object floating outside of FEM solution region. In order to
define a floating cable, you need to define a linked region. A Linked region is used only for one-way
link. We assume the source is inside the linked region, and the linked region only radiates to the
field but does not have field scattered back to the region.
You can assign near/far field as well as a cable network to a linked region.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
1. The number of 2D Extractor components in circuit should be equal to number of HFSS cable
object
2. For each cable object, the 2D cross section center should match the center of the start face
in local coordinate system.
3. For each cable object, the 2D cross section perimeter should match the perimeter of the start
face.
4. The cross section should be perpendicular to the cable path in HFSS.
l A detailed and optimized design of a cell phone radiating in a larger environment (HFSS to
HFSS).
l A complicated printed circuit board causing EMC/EMI problems in and around its housing
(SIwave to HFSS).
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
In all cases, radiated fields from the source project are imposed as an incident wave in the target
project.
These radiated fields can both be far fields and near fields, depending on your judgment of what fits
a particular situation. In the target project, they are defined through Incident Wave / Far Field Wave
and Incident Wave / Near-Field Wave. There, the link to the source project can be established.
Note: The environment variable SIWAVE_INSTALL_DIR should be set before executing the
parent application like HFSS because SIwave is launched from HFSS and not separately.
Also, in the target project, radiation boundaries with Advanced Options must be defined in order to
specify where the fields from the source project enter the target project.
Note Avoid using identically sized and shaped surfaces in the target project as if was in the
source project. Use a surface that is little bit smaller or larger. This helps you avoid singular
far field integral calculations.
HFSS-IE Link
You can link HFSS and HFSS-IE projects. The link is controlled with a "Near Field" or "Far-Field"
Incident Wave source that is grouped with the Excitations.
Related Topics
HFSS-IE Feature
1. Select the object face to which you want to assign the voltage source, and click
HFSS>Excitations>Assign>Voltage to display the Voltage Source dialog box.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
When the source is selected, an arrow indicates the direction and a letter v indicates the type of
source.
Note: For Transient Solution types, you also designate sources as Active and Passive.
Port sources are created and solved with unit magnitude and 0 degree phase. They can be scaled
within the Edit Sources dialog.
Note: The E-field direction can be reversed from the Voltage Source dialog box.
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
1. Select the object face to which you want to assign the current source and click
HFSS>Excitations>Assign>Current to display the Current Source dialog box.
When the source is selected, an arrow indicates the direction and a letter i indicates the type of
source.
3. For Transient Solution types., you also designate sources as Active and Passive.
Port sources are created and solved with unit magnitude and 0 degree phase. They can be scaled
within the Edit Sources dialog.
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The start and endpoints of the E-field/current flow line are switched; the line's direction is
reversed.
1. Select the 3D ferrite object to which you want to assign the magnetic bias source.
2. Click HFSS>Excitations>Assign>Magnetic Bias.
3. Specify whether the applied bias field is Uniform or Non-uniform.
If a design already contains a magnetic bias field, you cannot assign another of a different type.
If a single bias field exists in a design, you can edit the type.
4. If you selected the Uniform radio button, click Next and do the following:
a. In the Internal Bias field, type the value of the ferrite in amperes/meters. You can assign
a variable as this value.
b. Enter the rotation of the permeability tensor with respect to the xyz-coordinate system in
the X Angle, Y Angle, and Z Angle boxes. You can assign variables to these values.
If you selected Non-uniform, select the Setup Link... button to display the Setup Link dialog.
Under the General tab, do the following:
a. Select the radio button for Extractor Mode (the default) or Interactive Mode. Note that
in Extractor mode, the source project will be saved upon exit. Extractor mode means
that the software is opened during the link solely for the purpose of solving. Selecting
Interactive Mode launches Maxwell.
(If you open the Setup dialog for a pre-existing Magnetic Bias source, the General tab
shows radio buttons for View Only and Edit Link. With View Only selected (the
default), all of the link settings are grayed out. Selecting Edit Link enables the fields and
changes the radio buttons to Extractor Mode and Interactive Mode.)
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
b. Type the name of a Maxwell 3D Field Simulator project in the Project File box, or click
the ellipsis [...] browse button display a file browser to select the project.
HFSS uses the Maxwell 3D project as the source of the non-uniform magnetostatic field
information during solution generation. Linking invokes a Maxwell 3D window to provide the
solution for the targeted HFSS project.
c. If there are multiple designs available for the project, you can select from the drop down
menu.
d. If there are multiple solutions available, you can select from the drop-down menu.
The "Default" solution is the product dependent solution of the first Setup.
That is the setup listed first in the source design's project tree (alphanumerical order). A
product specific solution of this setup becomes the default solution. In most products, it is
LastAdaptive. In a Transient solution type, it is "Transient."
e. Use the radio button to specify whether to save the source path relative to The project
directory of the source project or This project.
f. Use the check box specify whether to Simulate source design as needed.
g. Use the check box to specify whether to preserve the source design solution. Note
that in Extractor mode, the source project will be saved upon exit. Extractor mode
means that the software is opened during the link solely for the purpose of solving.
It lists variables available within the Maxwell 3D Field Simulator and the value can (and often
will) be a variable in the HFSS Setup. You can edit the Value fields by typing, and the Units
fields by selecting from a drop down list. You can choose to Map Variable By Name. In this
case, same named variables have their values mapped automatically. Different named
variables are unaffected.
To accept the settings and close the Setup Link dialog, click OK
The magnetic bias source is assigned to the selected object. If you have set up a link, HFSS
invokes a Maxwell 3D window to provide the solution for the targeted HFSS project.
You can also access and edit the magnetic bias source information via the Properties dialog for
the source. Magnetic bias sources always have the lowest priority compared to boundaries and
other excitations in the solver view.
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Magnetic Saturation
This section describes how to extract the input impedance in the microstrip fed patch antenna
model shown in the figure below. The port (highlighted in red ink) is placed at an appropriate
distance away from the discontinuity. We cannot place the port near the intersection of the trace
and the patch antenna i.e. at the discontinuity. However, if you want to measure the input
impedance at the discontinuity, you can deembed the port as shown by the blue arrow in the figure.
For lossless ports, deembedding will not change the magnitude of the S-parameters. It will only
change the phase.
Related Topics
Suppose you want to model a 20 inch differential pair PCB microstrip transmission line as shown
below.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Of course you can explicitly draw a 20 inch length of the microstrip model, define a port on either
end and extract a 4-terminal S-parameter matrix from the simulation.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
However, this model is 2D in the transverse plane since the distribution of the field occurs only in
the transverse plane and does not vary in magnitude along the transmission line where all that
changes is the relative phase of the fields. To extract S-parameters from such a long transmission
line, you only need to model a minimal length of the transmission line and then, deembed the ports -
thus leverage the information extracted from the 2D port solver and by deembedding generate all
the relevant 2D aspect of the transmission line structure in its entirety.
Although this is a 2D problem, HFSS being a 3D simulation tool requires creation of two ports each
with two terminals separated by a minimal physical distance. For this separation distance as a rule
of thumb use some dimension associated with the cross section of the transmission line such as the
thickness of the trace or the substrate. Such a rule of thumb will ensure a physically small model
needing fewer mesh elements than the explicitly long model as well as a mesh with high quality
characteristics. Solve the model of this minimal length and then deembed outwards from the ports,
using a negative sign in the deembed distance fields to effectively add the additional length to
generate a model. This deembedding operation will add the effect of phase delay and additional
dielectric and conduction losses to the resulting S-parameter from this model.
Note: We only use the propagation constant (referred to as gamma) to de-embed and
characteristic impedance is only needed if renorm takes place.
So, in the transmission line model shown in the figures below the explicit model length is 0.02"
corresponding to the thickness of the microstrip trace. To extract a 20" length model from such an
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
analysis the ports can be dembedded outwards with a length DL = (20 - 0.02)"/2 = 9.99". This
model is 1000 times smaller and the simulation effort is reduced greatly.
The figures below shows the model of a 0.02" transmission line that can be used with
deembedding to model a 20" long transmission line.
The plot for S-parameters before and after deembedding from the explicitly short model
is shown below. The curve 1 (not deembedded) is a typical S(1,1) plot for a short
transmission line. Curve 2 (with deembedding) represents the behavior of a long
transmission line with many resonances in the frequency range.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
This section shows how to extract the equivalent surface impedance of a screen by deembedding
the distance of the ports. A unit cell of a periodic screen is modeled as shown in the figure below.
The port is placed at a certain distance away from the scatterer. The screening impedance
replaces a scattering planar periodic structure by homogeneous anisotropic boundary conditions.
Note: For more information, see the section on Wave Port Placement.
A blue arrow depicts the dembedding distance while the port is selected, once you set the options
under Deembed Settings. For a unit cell modeling equivalent screening impedance, the
deembedding distances should point to the nearest surfaces of the substrate even if there is a
thickness between these surfaces.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
For port 1, the tip of the deembed arrow should touch the upper surface of the substrate. For port 2,
it should touch the lower surface of the substrate.
You do not need to re-run a simulation in order to de-embed the S-matrix. Post-processing reports
are automatically updated to reflect the deembedded S-matrix.
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
You can link HFSS and HFSS-IE projects. This link is controlled with a "Near Field" or "Far-Field"
Incident Wave source that is grouped with the Excitations.
Related Topics
Modifying Excitations
To change the properties of an excitation, do one of the following:
The excitation's properties window appears, in which you can modify its properties.
l Right-click the excitation in the project tree, and then click Properties on the shortcut menu.
The excitation's dialog box appears, in which you can modify its properties.
The Design List dialog box appears. Under the Excitations tab, you can modify the properties
of one or more boundaries.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note The most common source of errors in simulations are related to defining ports. Examine your
ports, their definitions, and inspect problem areas by using the Zoom to option. For more
information, see Zoom to Selection.
Related Topics
Deleting Excitations
To delete one excitation:
1. Select the excitation you want to delete by clicking its icon in the project tree.
2. Click Edit>Delete .
The excitation is removed from the design and the project tree.
For terminal solutions, if you delete a port with terminals associated with it, deleting the port also
removes the associated terminals.
You can also delete one or more excitations in the Design List dialog box:
1. Click HFSS>List.
2. Under the Excitations tab, click the row of the excitation you want to delete.
3. Click Delete.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Reassigning Excitations
You can reassign an excitation to another surface. This is useful when you have modified objects
with assigned excitations, invalidating the excitations. For example, if you unite two objects with
assigned excitations, the second object's excitation will become invalid because united objects
maintain the characteristics of the first object selected. In this case, you would need to reassign the
excitation or delete it.
1. Select the object or object face to which you want to assign an existing excitation.
2. Click HFSS>Excitations>Reassign.
3. Select an existing excitation from the list, and then click OK.
Note: When reassigning an excitation that includes vectors in its definition, HFSS attempts to
preserve the vectors with the new assignment, but this is not always possible.
If one or more symmetry planes have been defined or if only a wedge of a structure is modeled, you
must adjust the impedance multiplier or the computed impedances will not be for the full structure.
Note: Changing the impedance multiplier invalidates solutions in projects where lumped ports are
defined. In such projects, you need to re-solve the project after the change.
3. Click OK.
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The Show Nets command appears in the HFSS>Excitations menu and by right-clicking on
Excitations in the Project tree.
Selecting Show Nets... displays the Net Visualization dialog that lists the nets and associated
terminals. You can use the dialog to select any net or terminal. You can continue to work in the
Modeler window with the dialog open.
In the Net Visualization dialog, you can sort the nets in ascending or descending order, relative to
the number of terminals. This helps you locate GND nets, which have no terminals.
Text at the top of list box provides the total number 3D Conducting nets.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The Select Assignment button lets you select and highlight the net associated with terminals.
You can expand or collapse the net tree. Clicking the Expand All button expands the tree, and the
button changes to Collapse All. For longer lists, a slider bar lets you navigate.
Naming of nets is automatic and follows the convention: "Net1 (0 Terminals)", "Net2 (1
Terminals)"…"Net<N> (<T> Terminals)",
To highlight a net or terminal in the Modeler window, select the net in the tree and click the Zoom
to button in the Net Visualization dialog.
The Select Net By fields let you select nets according to Terminal Name or Object Name. You
can enter wild card expressions to select a net. For example: in the Object Name field if you specify
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
"Box*" object name, then click the Select button, HFSS selects all the nets that have the object
name "Box".
Related Topics
l A calibration line that specifies the direction of the excitation field pattern at a port. If you are
analyzing more than one mode at a port, define a separate integration line for each mode;
the orientation of the electric field differs from mode to mode.
l An line along which to integrate E.dl to compute a voltage for Zpv or Zvi impedance of a port.
In this case, select two points at which the voltage differential is expected to be at a
maximum. For example, on a microstrip port, place one point in the center of the microstrip,
and the other directly underneath it on the ground plane. In a rectangular waveguide, place
the two points in the center of the longer sides.
Note: For more information, see Wave Port Dialog For Modal Solutions. For definitions of how
HFSS defines these Zpv and Zvi values, see Calculating the PV Impedance, and Calculating the
VI Impedance.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
1. Double-click the port excitation from the project tree to bring up the Wave Port dialog box
and click the Modes tab.
The port dialog box disappears. If the Show Measure dialog option on the Modeler Options:
Drawing tab is selected, the Measure Data dialog appears when you draw the vector.
3. Use the Measure Data dialog to locate the start and end points and draw the integration
line.
Note: The Measure Data dialog displays data for the face area, and the positions for the
reference point (start point) and end point (end point) as you define them.
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
1. In the Wave Port dialog box, click the Modes tab and draw the integration line 1 on the port.
2. Enter the number of modes and select Duplicate Previous Line from the Integration Line
column.
3. Click an arbitrary anchor point on the edge of the port face for position 1 and drag the cursor
along the edge to position 2 as shown in the figures below.
The Integration Line2 shifts from Integration Line 1 by a distance equal to that between
Position 1 and Position 2.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
4. Enter the total number of lines, including the original and duplicates, to make in the
Duplicate Port Line.
If you type a value that is greater than the number of assigned modes, the extra duplicates will
appear as gray integration lines until they are assigned to a mode.
5. Optionally, select Assign to existing modes. The duplicates will be assigned to the modes
defined for the port, beginning with the mode after the one with the line that was duplicated.
l Select Copy from Moden from the mode's Integration Line list.
The new integration line will have the same start and endpoints as the selected mode's
integration line.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The unit cells for an array can be rectangular, parallelogram, or hexagonal. You can define the
required master and slave boundaries so as to create offset arrays. You can only edit the settings in
the physical cell and these settings will be applied to the corresponding instances in the virtual cells.
Once you have defined an array, you can designate any cell in the array as active or passive, or as
padding. You can use the padding cell designation to define arbitrarily irregular arrays. Cells
designated as padding are treated as background material for fields calculations.
Most boundaries and excitations defined in the physical unit cell will have their corresponding
instances in each virtual cell. The exception is incident wave, which is applied across the whole
model and should include the 'expanded' model based on the array setup.
When the target design is a finite array, having both enforced E and enforced H options is not
allowed. For all analytic incident waves except plane wave such as Gaussian beam, scatter field
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
formulation is not supported for finite array design. HFSS supports all Incident Wave and Linked
field sources to a target finite array DDM design.
1. Draw the unit cell, containing all appropriate boundaries and source definitions.
2. Create the antenna array, including name, dimensions, master and slave boundaries where
needed for conformal meshing, and selection of row and column master/slave pairs for
implicit definition of lattice propagation vectors. Designate which cells are active, passive,
and padding.
3. Setup the distributed processor pool. Designs with arrays require HPC licenses.
4. Provide a memory statistic for the amount of RAM guaranteed on each DSO processor.
In the Setup, Enable Solver Domains is disabled because an array solve uses UI defined domains,
not solver defined domains. Given a valid configuration, an Array solve can use a distributed
memory solution.
The UI will provide the antenna array definition to the domain manager. This will cause the
following to occur:
1. Instantiation of domains to represent the cells of the antenna array plus surrounding air
padding cells.
2. Creation of internal domain manager data structures that are needed to support the solve
and post processing. This includes appropriate domain parent/child relationships,
transformations from the physical domain, interface information per pair of domains, and
support for locating a domain by row/column coordinates within the antenna array.
For linking to the Desktop, the network data from HFSS will include both physical and virtual cells.
This applies to both port locations and push excitations.
For Optimetrics solution quantities of both virtual and physical cells can be used for calculation.
For 2D Reports for models with Arrays, matrix solution quantities of virtual cells will be expanded
into a vector in the same fashion as without the array. The entries are listed according to their [row,
column] order in the corresponding "expanded" matrix.
For Port Field Display there is no GUI change. Only physical ports/terminals will be listed. There is
no need to support visualization of user-selected cell (like field overlay plot) because the field
patterns of the virtual modes are the same as those in the physical cells.
For designs with an Array, the Edit Sources dialog listing order will be as follows: Sources will be
listed according to their cell [row, column] order in the array. For each cell, port/terminals are listed
in creation/assignment order with mode in each port listed sequentially. Other type of sources, such
as incident waves and linked field sources, will be listed after ports/terminals.
There will be no change in the far/near field pattern setup and far/near fields will be computed from
radiation surfaces on all cells (both physical and virtual).
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Copy/Paste design will copy an array. Copy/Paste geometry will NOT copy an array.
Related Topics
Array Visualization
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
In such cases, with master and slave boundaries on opposite sides, the array sides align.
However, you can arrange master and slave boundaries to create an offset array. In such
cases, you create both a master and a slave boundary for corresponding sections of a cell side,
and assign master and slave to create offset alignment.
With all boundaries defined in this manner, the array can be offset.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l In making source definitions for unit cell for the unit cell, you cannot assign a Floquet port.
l Each driven Modal or driven Terminal design can contain a single array.
Editing the model object for an existing array invalidates any existing solutions.
Related Topics
Drawing a Model
Array Visualization
This displays the Regular Planar Array dialog where you specify parameters for Number of
Cells, Unit Cell Position and Lattice Vectors.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
To create an irregular array, select the Active Cells tab, select the radio button for Mouse makes
cell as Padding
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Once you have specified the parameters, the Array object appears in the Project tree under the
Model. Only one Array is permitted for a model. The Create Array command is disabled if an array
is defined.
By selecting the Array icon in the Project tree, you right-click for the short cut menu.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
With the Array icon in the Project tree selected, if you have a docked Properties window displayed,
you can see and edit Array Properties. All edits are undoable and informational messages will be
posted to the Message window when design data is deleted.
Related Topics
Array Visualization
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Array Visualization
You control the visualization of an array by selecting an existing Array in the Project tree and
toggling the Visualize Array command on the short-cut menu.
Virtual objects in an array display as wire frames. If the all virtual objects for an array do not appear
in the view modeler window, perform a View>Fit All operation. If you change the view, you can
also use Ctrl-D to fit the array into the current view.
You can disable the array visualization by clicking on the Visualize Array option again. A check
mark appears in front of Visualize Array if the option is already ON. This option will also be present
in general active view visibility options, View>Active View Visibility.
The visualize array option will be applied to the current active view. You can have multiple windows
in the modeler, each window will have its own Visualize Array setting. This allows you to use
different windows to look at unit cell display and whole array display at the same time.
If the Visualize Array option is set to true, the array will be visible when you open the project.
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
If your design contains a virtual array, the setup can have some differences.
l Enable Solver Domains should not be checked (these are UI defined domains, not solver
defined domains).
l Setup the distributed processor pool. Designs with arrays require HPC licenses.
l General Setup for Virtual Array Simulation for Matrix Convergence, if you choose Selected
Entries.
l Interpolating Sweep Advanced Options for Array Simulation
l Fast sweep is not supported.
l You can also setup the expression cache at solve setup. The expression cache interface for
accessing array elements is the same as those used in report setup.
l Use the Active Cells tab on the Regular Planar Array dialog to designate which cells are
active or passive for a simulation. You can make All Active, All Passive or select which cells
are active or passive. The more active cells there are for a simulation, the more processing
required. By default, clicking the corresponding array elements toggles the current selection,
You can also choose the Mouse makes cell setting to click for Active or Passive, whichever
is most convenient. Clicking on a row or column number applies the mouse click command
to all cells in that row or column. Dragging the cursor over cells performs the current
operation on them.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
It is important to understand the impact of passive ports on antenna parameters. For accepted
power calculations, passive ports are not included when computing the total power passing
through the union of all port surfaces. This means that the passive ports can be viewed as a loss
mechanism for the device and it is not equivalent to viewing the passive ports as active ports
with zero excitations.
The solution/matrix quantities are grouped by category. The entries in each category are listed
according to their [row, column] order in the corresponding matrix.
[row2, columnN], … [rowN, columnN]. Note that the [row, column] order of each entry in the
matrix is controlled by the 'Matrix' order as specified by user.
The existing "Filter" capability can help locate the desired quantity from the potentially very long
list.
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Array Visualization
If you select Matrix Convergence, and click Set Magnitude and Phase, you will see the Matrix
convergence dialog. In the Matrix Convergence dialog, if for Entry Selection you choose Selected
Entries, (rather than All or Diagonal/Off Diagonal), you will see scrollable drop down menus that let
you select from all Array elements to define pairs of Matrix entries.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Related Topics
Array Visualization
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
clicking the Select Entries button displays an Interpolation Basis Convergence dialog that lists the
Array elements.
Note that the matrix entries are listed according to the Matrix Sort Order as specified by user.
Related Topics
Array Visualization
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Radiation fields (near and far) post processing is over the whole array. You can plot and animate
fields on non-model cut planes, vectors, and points, as well as on selected model object faces. Any
padding cells in or around the array are treated as background material.You can plot and animate
fields on cut planes, vectors, and points.
HFSS can also post process individual cells in an array one at a time. You can select an arbitrary
cell and do fields post processing on that cell. HFSS post processes on a single user selected cell in
the array.
For Port Field Display there is no GUI change. Only physical ports/terminals will be listed. There is
no need to support visualization of user-selected cell (like field overlay plot) because the field
patterns of the virtual modes are the same as those in the physical cells.
Related Topics
Array Visualization
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
1. The solution/matrix quantities are grouped by category. The entries in each category are
listed according to their [row, column] order in the corresponding matrix.
[row2, columnN], … [rowN, columnN]. Note that the [row, column] order of each entry in the
matrix is controlled by the 'Matrix' order as specified by user.
2. The existing "Filter" capability can help locate the desired quantity from the potentially very
long list.
Related Topics
Array Visualization
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
You can also create animations of field plots. If the plotted geometry is controlled by a swept
variable (such as plane angle or a point location) the animation displays the correct values where
ever they intersect the array based on the designations as active cells, passive cells, or padding
cells.
Related Topics
Creating Animations
Related Topics
The unit cell mesh from position (1,1) will be translated to the user selected cell and fields will be
plotted in the user selected cell.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Jsurf is calculated inside the geometry of the cell but it will be equal to 0 along cell borders.
Related Topics
Array Visualization
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
21 - Running Simulations
After you specify how ANSYS Electronics Desktop is to compute the solution, you need to begin
the solution process. In general, the Analyze command applies to the selected setup and
associated sweeps, if any, or to a select sweep. To use this command, right-click on a setup or
sweep in the Project tree, and click the command on the context menu. The Analyze All
command applies to all enabled setups, dependent setups, and sweeps at or below the level
invoked in the Project tree. To use this command, either click [solver]>Analyze All or right-click
on the Analysis icon in the Project tree and select Analyze All.
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The 3D field solution is computed inside the structure for a solution. For a select sweep, it is
computed for the sweep variables.
If you right click on a Setup, rather than a Sweep, the right-click shortcut menu includes the
Submit Job... command.
For more information on the Submit Job... command see, Distributed Analysis and High
Performance Computing (HPC) Integration.
To run more than one analysis at a time, follow the same procedure while a simulation is running. If
you have enabled queuing, the next solution setup will be solved when the previous solution is
complete.
Note If a linked dependency in the setup is already simulating (for example, due to setup links to
the same external source for a near or far field wave, or a magnetic bias), ANSYS
Electronics Desktop will not allow another dependent simulation to start until the first use of
the source has completed.
Related Topics
1. In the project tree, under the design you want to solve, select Analysis.
2. Click [solver]>Analyze All.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Each enabled solution setup is solved in the order it appears in the project tree.
The example here show an analysis invoked from the Project tree popup menu with three setups,
one disabled, two enabled. The first setup has one sweep enabled, and one disabled (grayed
icon). The second setup is disabled, and the third is enabled, with a disabled sweep.
Note The General tab for the Setup includes an Enabled check box. By default, this is checked.
Unchecking the Enabled check box excludes a setup from running
To solve two or more sweeps or two or more parametric analyses under a setup:
1. In the project tree, under the design you want to solve, right-click the setup icon that
includes the sweeps of interest.
2. Click Analyze on the shortcut menu.
Each solution sweep under that setup is solved in the order it appears in the project tree, using
the available machines. The example below shows a setup with two enabled sweeps.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Related Topics
Remote Analysis
Aborting Analysis
1. To view the solution queue, click Tools>Show Queued Simulations or click the Show
Queue icon on the toolbar.
This displays a dialog showing all the simulations and their current status. You select and
remove any simulation from the queue.
You can also select any setup and use the Move up and Move down buttons to prioritize
them.
2. To remove a simulation from the queue, select the simulation, and click Remove from
Queue.
You can also view the following solution data at any time during or after the solution:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The Solutions window appears with the corresponding tab selected and the current data
displayed.
For "out of core" problems, quite different amounts of memory may be used for factorization and for
solution. So if the amount for factorization is displayed under the progress bar and the amount used
is calculated for the profile at the end of the solution, they may be quite different numbers.
Note If a license is lost, the software waits for the license to be regained, checking every 2
minutes or until you abort.
Related Topics
Aborting Analysis
Creating Reports
Modifying Reports
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note The Windows Task Manager does not indicate a reduced priority for the ANSYS
Electronics Desktop solvers. It only lists the priority of the engine manager, which appears
normal, not the actual engine. The actual engine is in a separate thread, whose priority is
not visible in the Windows Task Manager.
1. While a solution is running, right-click the Progress window, and click Change Priority on
the shortcut menu.
l To affect priority for future simulation runs, click the Tools>Options>HPC and Analysis
dialog box, and click the Options tab.
2. From the Change Priority menu (or the Default Process Priority pull-down menu),
select one of the following priorities:
Lowest Priority
Below Normal
Normal The default.
Above Normal
Highest
3. Click OK.
Aborting an Analysis
To end the solution process before it is complete:
The data for the currently solving pass or frequency point is deleted. All previously solved solutions
are retained. For example, if you abort between the third and fourth adaptive pass, the solutions for
the third pass will be available, and any solutions for the fourth pass are discarded.
To abort the solution process after the current adaptive pass or solved frequency point is complete:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Right-click the Progress window, and click CleanStop on the shortcut menu.
The solver ends the analysis after the next solved pass or frequency point.
If you request a clean stop during the third adaptive pass, the solution for the third pass will be
available once the third pass has finished solving, but the fourth pass will not run.
If you have an ANSYS EM application running as an LSF job, you can use the command "bkill -s
SIGTERM jobid" to terminate that application. Here jobid is the LSF job id. The response will be
"Job <jobid> is being signaled". The response is the same whether the job is actually being
signaled or not.
In cases where the SIGTERM parameter is ignored, the command kills the LSF job, but does not
clean the lock files, and other files may not be in a consistent state. See http://www.vital-
it.ch/support/LSF/programmer/advanced.html for a detailed description under Signal Handling in
Windows.
Unix/Linux
For UNIX/Linux, you can use TERM commands. Sigterm handling for Unix is done in Desktop
library. You can abort a running batchsolve on Unix by sending a TERM signal to hfss.exe
Related Topics
To generate a new solution after modifying a design, follow the procedure for running a simulation.
After an analysis that includes thermal feedback from ANSYS Workbench, you can see
temperature changes expressed in Temperature field overlays (both visually in the overlay and in
the color key) as well as in the Solution data.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
In the Solution data Profile tab you will see a new entry for Maximum Delta T, for the change in
temperature from the previous simulation. The solver calculates delta in the first iteration by
comparing the temperature distribution output from thermal with the initial temperature setting in
HFSS/Maxwell/Q3D. Subsequent simulation iterations provide a number for the temperature
delta.
This simulation feedback loop from Ansoft to ANSYS Workbench and back can continue until you
decide that Temperature delta reported in the Solution Report low and stable for the designs.
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l View solution data including the following: convergence information, computing resources
that were used during the solution process, mesh statistics, and matrices computed for the
S-parameters, impedances, and propagation constants during each adaptive, non-adaptive,
or sweep solution. For eigenmode solutions, you can view the real and imaginary parts of the
frequency and quality factor Q computed for each eigenmode. Solution data can also be
viewed while ANSYS Electronics Desktop is generating a solution.
l View analysis results for Optimetrics solutions.
l Plot field overlays - representations of basic or derived field quantities - on surfaces or
objects.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note Except in the case of non-model boxes drawn in the global coordinate system (CS), non-
model objects cannot be used for any fields post processing operation You can use non-
model boxes drawn in the global CS for post processing operations, including integration
and solution domaining.
l Convergence information.
l Computing resources, or profile information, that were used during the solution process.
l Matrices computed for the S-parameters, impedances, and propagation constants during
each adaptive, non-adaptive, or sweep solution.
l Mesh statistics
l For eigenmode solutions, view the real and imaginary parts of the frequency and quality
factor Q computed for each eigenmode.
l For Characteristic Modes solutions, a CMA Data tab reports the the Number of Modes,
Characteristic Angle and current, Modal Significance and Quality Factor, and Voltage per
port based in edit sources weighting.
l The state of solved solutions.
l For transient solutions, Transient Data.
To access the Solution Data window, in which the information above can be accessed, do one of
the following:
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
1. In the project tree, right-click the solution setup of interest, and then click Convergence on
the shortcut menu.
2. From the Simulation list, select the solution setup for which you want to view convergence
data.
3. Under the Convergence tab, depending on your design setup, you can review the following
convergence data:
l Whether the solution is converged or not converged.
l Number of adaptive passes completed and remaining.
l The Solved Elements at each adaptive pass, which includes solve inside tetrahedra, and,
for projects using IE Regions for metal objects, also includes the number of solved IE
surface triangles.
l Maximum magnitude of delta S between two passes.
l Maximum delta Energy between two passes.
l Magnitude margin between passes.
l Phase margin (deg) between passes.
l Maximum delta frequency between passes.
If for the Solution Setup, you elected to Use Matrix Convergence, and selected specific table
entries for the Magnitude and Phase, the Convergence tab also shows the following values with
the Magnitude Margin and Phase Margin:
Note If you receive a message that the eigenmodes have not converged, it may indicate
that the existing mesh is too coarse. You may need to refine the mesh.
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
At any time during the solution process, you can view the number of adaptive passes (solve —
error analysis — refine cycles) that have been completed and that have yet to be completed. When
the solution is complete, you can view the number of adaptive passes that were performed. If the
solution converged within the specified stopping criteria, fewer passes than requested may have
been performed.
l In the project tree, right-click the solution setup of interest, and then click Convergence on
the shortcut menu.
The number of completed and remaining passes is listed in the Number of Passes area.
At any time during or after the solution process, you can view the maximum change in the
magnitude of the S-parameters between two consecutive passes. This information is available
after two or more passes are completed.
l In the project tree, right-click the solution setup of interest, and then click Convergence on
the shortcut menu.
The Max. Mag. Delta S column lists the maximum magnitude of delta S from one pass to the
next.
The Max. Mag. Delta S area lists the target change in magnitude of delta S and the change in
magnitude of delta S between the last two solved passes.
Note Delta S is computed on the appropriate S-parameters - modal or terminal - after the S-
parameters have been de-embedded and renormalized.
Note You can renormalize mathematically, without having to re-solve, by accessing the
postprocessing tab on the port definition panel and de-selecting the Deembed selection
box.
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
At any time during or after the solution process, you can view the real and imaginary values of the
output variable.
To view the output variable convergence, use the Reporter to create a plot that displays the output
variable values.
Related Topics
For designs with voltage sources, current sources, or incident waves. Not applicable to designs
with ports.
At any time during or after the solution process, you can view the difference in the relative energy
error from one adaptive pass to the next. The change in the magnitude of delta energy is available
after two or more passes are completed.
l In the project tree, right-click the solution setup of interest, and then click Convergence on
the shortcut menu.
The Delta Mag. Energy column lists the delta energy from one pass to the next.
The Delta Mag. Energy area lists the target change in delta energy and the change in delta
Energy between the last two solved passes.
Related Topics
For solutions in which convergence criteria for specific S-matrix entries were specified.
At any time during or after the solution process, you can view the solution's proximity to the target
delta magnitude, which was specified in the Matrix Convergence dialog box. The magnitude
margin is available after two or more passes are completed.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l In the project tree, right-click the solution setup of interest, and then click Convergence on
the shortcut menu.
The Magnitude Margin column lists the magnitude margin from one pass to the next.
Related Topics
For solutions in which convergence criteria for specific S-matrix entries were specified.
At any time during or after the solution process, you can view the solution's proximity to the target
delta phase, which was specified in the Matrix Convergence dialog box. The phase margin is
available after two or more passes are completed.
l In the project tree, right-click the solution setup of interest, and then click Convergence on
the shortcut menu.
The Phase Margin column lists the phase margin from one pass to the next.
Note When the Mag S becomes small (near to zero) its phase becomes indefinite and
insignificant due to mathematical issues so that Phase Margin will be discarded.
Related Topics
For solutions in which convergence criteria for specific S-matrix entries were specified.
At any time during or after the solution process, you can view the maximum difference of the S
matrix magnitudes between two consecutive passes. The Max Delta (Mag S) is available after two
or more passes are completed.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l In the project tree, right-click the solution setup of interest, and then click Convergence on
the shortcut menu.
The Max Delta (Mag S) column lists the Max Delta (Mag S) from one pass to the next.
Related Topics
For solutions in which convergence criteria for specific S-matrix entries were specified.
At any time during or after the solution process, you can view the maximum difference of the S
Matrix phase between two consecutive passes. The Max Delta (Phase S) is available after two or
more passes are completed.
l In the project tree, right-click the solution setup of interest, and then click Convergence on
the shortcut menu.
The Max Delta (Phase S) column lists the Max Delta (Phase S) from one pass to the next.
Related Topics
At any time during the solution process, you can view the maximum delta frequency, the largest
percent difference in the resonant frequencies from one adaptive pass to the next. It is a measure
of the stability of the computed frequencies from pass to pass and is available after two or more
passes are completed.
l In the project tree, right-click the solution setup of interest, and then click Convergence on
the shortcut menu.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The Max Delta Freq. % column lists the maximum delta frequency from one pass to the next.
The Max Delta Freq. % area lists the target maximum delta frequency and the maximum delta
frequency between the last two solved passes.
Related Topics
1. In the project tree, right-click the solution setup of interest, and then click Convergence on
the shortcut menu.
2. In the lower-left corner of the window, select Plot as the view type.
3. Select the data you want to plot on the x-axis from the X pull-down list.
4. Select the data type you want to plot on the y-axis from the Y pull-down list.
In the project tree, right-click the solution setup of interest, and then click Profile on the shortcut
menu.
The Solutions dialog box appears. The Profile tab is selected. The displayed data depends on
the type of problem and solution setup. If one or more dependent setups exist, the profile
information for these can be selected from drop down menu in the Simulation text field at the top of
the dialog. In general, it includes the following information:
Task Lists the type of task that was performed. The Tasks lists included Start, various
Mesh tasks, Simulation Setup, Port Adaptation, Adaptive Pass tasks, including
simulation setup, Matrix Assembly, Solver tasks, and Field Recovery, Sweep
tasks, and Solution Process summary and Totals for time.
Real Time The difference in time between the start of the task and the end of the task (elapsed
time).
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
CPU Time The amount of CPU time required to perform the task.
Memory The peak amount of physical memory (RAM) used by the individual executable
running the task. The memory is freed for other uses after each task is complete.
Information General information about the solution, for example, the number of tetrahedra used
in the mesh, disk use, solver information, sweep information, and totals.
The matrix solver writes specific information in some of these fields as outlined below:
Task The matrix solver task reports the type of solution performed by the solver, based
on the physics of the problem. It has the form "Solver pdsn" (e.g. Solver MRS2 or
Solver DCS4-L2), where
l p, the precision type is: M (mixed for direct solver) or D (double for iterative
solver).
l d, the matrix data type is: R (real) or C (complex)
l s, the symmetry type is: S (symmetric), A (asymmetric), or H (hermitian)
l n, the number of processors used. You specify the number of available
processors on the local machine in the solver options. If a solve does not
use all available processors (local or distributed), the number reported may
be less than the number available.
If a simulation uses the iterative solver, the Solver designation can include a level
indicator appended. to an Iterative solver designation (L2 in the example above).
The higher the Level number the lower the memory, you will never see L1 (this
would be equivalent to direct solver. And a first order solve will only display L2
since it only has one level of order to go down for preconditioning. A second or
mixed order solve may display L3 depending on the mesh quality.
If the solver switches from the Iterative Solver to the Matrix solver, you see a
Matrix solver warning: Switch from Iterative Solver to Direct Solver.
Information: The matrix solver information line includes, for example, Disk = 0 KBytes, matrix
size 11137 , matrix bandwidth 20.3 )
l Disk: The amount of hard disk space used during the calculation of the
matrix solution. If the disk usage for matrix solver is non-zero in profile, it
usually indicates off-core matrix solver. If the matrix solver must solve off-
core, smaller blocks of the data to be solved are created on disk, each block
is then solved in physical memory, and then the matrix solution is
reassembled. As a result of this additional processing, the time required to
calculate a solution is higher.
l matrix size: The size of the matrix that was solved (the number of
unknowns)
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l matrix bandwidth: An FEM matrix is a sparse matrix. The solver only stores
the non-zero entries. The matrix bandwidth is the average number of non-
zeros per row. It gives an idea of the sparsity of a FEM matrix.Storage for
the sparse matrix is proportional to the total number of nonzeros = #rows x
bandwidth. The higher the bases order, the larger the bandwidth.
l In the case of the Iterative Solver, # Iterations
This opens a file save dialog that lets you provide a file name and location.
3. Click Save.
Related Topics
1. In the project tree, right-click the solution setup of interest, and then click Matrix Data on the
shortcut menu.
The Solution Data dialog box appears. The Matrix Data tab is selected.
2. In the Design Variation text box, specify the design with the matrices you want to view.
Optionally, choose a design variation solved during an Optimetrics analysis from the Set
Design Variation dialog box. This lists all the solved variations in the design. This dialog box is
accessible from the Solution Data window by clicking the ellipsis button on the right of the
Design Variation field, and via the [solver]>Results>Apply Solved Variation command.
3. In the Simulation pull-down list, click the solution setup and solved pass - adaptive, single
frequency solution, or frequency sweep - for which you want to view matrices.
4. Select the type of matrix you want to view: S-matrix, Y-matrix, Z-matrix, Gamma, or Zo
(characteristic impedance.) The available types depend on the solution type.
5. Select the display format — Magnitude/ Phase (deg), Real/ Imaginary, dB/Phase (deg),
Magnitude, Phase (deg), Real, Imaginary, or dB — in which to display the matrix
information.
6. Select the solved frequencies to display:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l To display the matrix entries for all solved frequencies, select Display All Freqs.
If Display All Freqs is enabled, the drop-down frequency select list is disabled.
l To show the matrix entries for a selected solved frequency, ensure that Display All
Freqs unchecked and use the dropdown list to select the solved frequency for which you
want to view matrix entries. You can use a scroll bar for selecting from long frequency
lists.
For adaptive passes, only the solution frequency specified in the Solution Setup dialog box
is available. For frequency sweeps, the entire frequency range is available.
Note: This command is only available if the sweep type is Fast or Interpolating.
Clicking Edit Freqs displays the Edit Sweep dialog. It contains Generate New Values fields
for specifying the Start Value, the End Value, and the Number of Values. The current values
are displayed in a table. When you specify a New value, click Update Values to refresh the
table.
Note: Changes to the Start Value and End Value cannot be outside of the initial range. No
message is issued: rather the range is implicitly restricted.
Use the Insert button to add a new frequency to the table above the currently selected
value. If no value, or the start value is selected, the new frequency repeats the current Start
value and increments the count in the Number of Values field. If you select any other value
for the insertion point, Insert adds a new value halfway between the selected value and the
previous value, and increments the Number of Values field.
Incrementing or decrementing the Number of Values fields, and the clicking Update
Values updates the table based in the current Start and End value fields (given the range
restriction within the initial range).
The Delete button enabled only if a value is selected. Delete removes the selected value
and decrements the Number of Values field.
Click OK to apply the changes to the Solutions dialog Matrix Data tab and close the Edit
Sweep dialog, or Cancel to close the dialog without applying the changes.
If you choose to export the matrix data for the Fast or Interpolating sweep after modifying the
frequencies in the Edit Sweep dialog box, only those frequencies displayed under the
Matrix Data tab will be exported.
The data is displayed in the table. By default, wave ports are listed in alphabetical, then
numerical order, just as they appear in the excitation tree. To change the port order, change
setting for Default Matrix sort order in the HFSS or HFSS-IE General options. You may also
want see how you can Reorder Matrix Data.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
This passivity check tests whether the S-parameter data from HFSS is passive or not. If the S-
Matrix is not passive at one or more frequencies, this check displays a dialog that identifies the
worst frequency violation and identifies the passivity in that case. A uniform renormalization of
50 ohms is performed on the solution data for Passivity checking.
Related Topics
Use either the drop down menu under the formats, or you can also right-click on the column
headings to display a pop-up format menu. Selecting from this menu also adds the name of the
selected format to the column head, if the format is anything other than dB.
The available formats depend on the matrix type being displayed. When selected, dB formatting
only applies to S -matrix data, even if other matrix types are displayed. The column heads in the
display identify the format for the matrix type.You can display matrix data in the following formats.
Magnitude, Phase Displays the magnitude and phase (in degrees) of the matrix type.
(deg)
Real, Imaginary Displays the real and imaginary parts of the matrix type.
dB, Phase (deg) Displays the magnitude in decibels and phase in degrees of the matrix
type.
Magnitude Displays the magnitude of the matrix type.
Phase (deg) Displays the phase in degrees of the matrix type.
Real Displays the real parts of the matrix type.
Imaginary Displays the imaginary parts of the matrix type.
dB Displays the magnitude in decibels of the matrix type.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Related Topics
1. In the project tree, right-click the solution setup of interest, and then click Matrix Data on the
shortcut menu.
The Solution Data window appears. The Matrix Data tab is selected.
2. Select the type of matrix you want to view: S-matrix, Y-matrix, Z-matrix, Gamma, or Zo_
(characteristic impedance.)
3. Click Export Matrix Data.
4. Type the name of the file you are exporting to in the File name text box.
5. Select one of the following file formats from the Save as type pull-down list:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note For Touchstone files, you no longer see a Combine Sweeps option on the Export
Network Data solution dialog. This is because the current Sweep setup allows you to
define multiple sweeps for a single simulation, meaning any needed combining is defined
with the sweep setup.
6. Click Save.
l By default, wave ports are listed in alphabetical, then numerical order, just as they appear
in the excitation tree. You can change this order to creation order and back without
invalidating the solution on the HFSS Options dialog.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l If you select Touchstone format, you are first presented with a dialog in which you can
specify the Number of Digits precision, and Override the Solution Renormalization. If so,
you can specify the export renormalizing impedance (an integer value). Here you also can
specify and whether to include Gamma and Impedance Comments, and Number of
Digits Precision (Default 15).
l If you select Neutral File Format, you are presented with a Specify Export
Renormalizing Impedance dialog that lets you specify the Number of digits precision for
the save file.
Note If you modify the display of solved frequencies in an Interpolating or Fast sweep
under the Matrix Data tab (by clicking Edit Freqs and then modifying the values
in the Edit Sweep dialog box,) only those frequencies listed will be exported to the
file.
In the project tree, you can right-click on a port excitation to rename it. When you rename a port
excitation, the associated data is reordered so that it can be presented in the same manner. The
reordering is done to match the tree-sort order presented for the ports (renamed matrix data is
reordered so that alphabetic values appear before numeric values).
Exports of the matrix data are ordered in the same manner. This reordering is conducted as part of
post processing and does not force a re-solve.
Related Topics
1. To re-order the matrix data, either as the default ascending alphanumeric order, or a user
specified order, click HFSS>Excitations>Reorder Matrix, or right-click on Excitations in
the Project tree, and click Reorder Matrix on the shortcut menu.
This displays the Reorder Matrix dialog. It lists the ports for a modal solution, or the terminals
for a terminal solution. For Transient solutions, the dialog displays separate lists for Active and
Passive ports.
2. You can select the radio button for Sort in ascending alphanumeric order, or Sort in the
below order.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
If you select Sort in the below order, you can select any port or terminal to enable the up and
down arrow keys. Use the keys to move the ports into any desired order. In the case of
Transient, the arrow keys operate only within a partition, that is only within Active or Passive
lists.
You can also use CTRL-click to select multiple arbitrary ports, or hold Shift to select a range of
ports. Clicking outside the list deselects all selections.
Note If there are differential pairs, the sort order is still specified) in terms of the underlying
terminal names, but the entries that make up the pair should appear in the appropriate sort
location for the terminals that are used to define them.
For Transient solutions, removing an active source will not affect the solve but might affect the
matrix order. Adding an active source will require a resolve if that source has not already been
solved.
Related Topics
You can export S-parameter data from a Driven Terminal solution to PSpice, HSPICE, Spectre or
Maxwell Spice format. Importing the new data file to PSpice, HSPICE, Spectre or Maxwell Spice
will enable you to include wave effects in the circuit simulations. You can also export a W-Element
model for a port.
Note You must have a frequency sweep solution and five or more frequency points to
successfully export an equivalent circuit data file. See the Choosing Frequencies for Full-
Wave SPICE topic of the online help for suggestions about the frequency range of the
sweep.
The GUI lets you export full-wave Spice for a model that contains differential pairs, but it will
silently export the data in its original single-ended form. The full-wave Spice model is a
"broadband" equivalent circuit (that is, its S-parameters match those of the solution across
the whole frequency sweep range.)
Certain discrete sweeps permit Full-Wave SPICE exports. It is allowed if the discrete data
is evenly spaced, includes DC, and has at least 500 frequency points.
1. In the project tree, right-click the solution setup of interest, and then click Matrix Data on the
shortcut menu.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The Solution Data window appears. The Matrix Data tab is selected.
3. Type the name or browse to the directory in which you want to store the data.
PSpice (*.lib)
Nexxim State Spalce (.sss)
Simplorer (.sml)
Star HSpice (*.sp)
Spectre (*.cir)
Your format selection affects the options available under Full Wave Spice Export. When
Simplorer format is requested, both *.sml and *.png are created. The latter contains the image
in GIF format.
Note The Export to Simplorer here does not use the same settings as Nexxim or Network Data
Explorer. If you intend to export to Simplorer, you should use the NdExplorer.
5. If the Full-Wave Spice Export check box is enabled, you can select it. Checking the box
enables the text field for the file name, and depending on the format selection, other options
may be enabled.
6. Desired Fitting Error (percent) has a default value of 0.5. You can edit this.
7. Maximum Order has a default value of 10000.
8. HFSS supports Full Wave Spice Export from a driven modal design as long as all ports have
exactly one mode each. However, HFSS does not support definition of differential pairs in a
driven modal design.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
9. By default Use Common Ground is checked and produces circuit models with a "common"
(suppressed) ground terminal. Uncheck Use Command Ground to apply one negative
reference terminal per port.
10. Optionally, select Enforce Passivity. Selecting this enforces passivity in the output file.
Passive devices can only dissipate or temporarily store energy, but never generate it. (You
can also check passivity from the Matrix Data tab using the Check Passivity button.)
This option is useful in cases where the transient simulation fails due to passivity violations in the
circuit model. This circuit model is based on fitting a rational function to the S-parameter data
computed by the field solver. Small errors in the data fitting can result in non-passive behavior.
Selecting the Enforce Passivity option will take more CPU time, but ensures that the resulting
model will be passive. The Enforce Passivity check box uses "Iterated fitting of passivity
violations (IFPV)" method to do the passivity enforcement.
The passivity check tests whether the S-parameter data from HFSS is passive or not. For more
information see Passivity.
11. Optionally, select Lumped Element Export (Low Bandwidth) if you want to save the data
as a low-frequency circuit model using simple lumped elements (resistors, capacitors,
inductors, and dependent current sources). The low-bandwidth model is only going to be
accurate in a limited frequency range around the adaptive solution frequency
12. Optionally, select Partial Fraction Expansion for Matlab if you want to specify a file that
expands the partial fractions for use in Matlab. The partial fractions involved describe the
frequency response of the low-bandwidth model from the previous step.
13. You can also select Combine Sweeps to select and combine available sweeps into a single
output file.
By option, for Nexxim State Space, Spectre, and Star-HSpice, you can Export W-Element
Data.
The S-matrices are written to the data file that you specified in the equivalent circuit data format.
Related Topics
It is possible to extract a W-element model for a port. This W-element model can be used in a
SPICE model to represent a length of transmission line of the same cross section as the port. A W-
element model can be extracted for a port only solution and for a full 3D solution.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
1. In the project tree, right-click the solution setup of interest, and then click Matrix Data on the
shortcut menu.
The Solution Data window appears. The Matrix Data tab is selected.
The Equivalent Circuit Export Options dialog box appears. If you select the format as
Nexxim State Space, Spectre, or Star-HSpice, at the bottom of the dialog you see the W-
element model check box enabled.
3. Click the W-element model check box to enable the W-element fields.
4. The W-element model name field has the project name by default. You can change this if
desired.
5. Choose the format as Tabular Format (the default) or RGLC format for W-element export.
Tabular Format: provides a unique RLGC model for each frequency in the solution.
RLGC Format: provides a RLGC fit over a frequency range based on Ro, Lo, Go, Co, Rs and
Gd parameters.
Note For the RLGC Format, if only a single frequency solution is selected (e.g. LastAdaptive)
then Rs and Gd parameters are ignored.
The W-element model is written to the data file that you specified.
Related Topics
1. In the Project tree, right-click the solution setup of interest, and then click Mesh Statistics
on the shortcut menu.
The Solutions dialog box appears with the Mesh Statistics tab selected.
For HFSS projects, the table lists the design elements and for each includes: Num Elements,
Min edge length, Max edge length, RMS edge length, min tet vol., max tet vol., mean tet vol. and
standard deviation.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
For projects with HFSS-IE regions, the Mesh data table is similar but includes min, max, and
mean element area information for triangles, as well as instead of tet volume information for
solve-inside portions of the project.
If mesh repairs have been performed, two additional columns appear in the table; Recovered
%, Repaired %. These columns indicate the fraction of an object that was successfully
recovered and the fraction that needed some repair.
To toggle the mesh statistics display from low to high values or visa versa:
This displays a shadowed triangle pointing down to indicate a list ordered from highest to
lowest, and a triangle pointing up to indicate a list ordered from lowest to highest. Clicking again
inverts the current order.
Click on blank cell above the object list to invert the order of objects, though in this case, the cell
does not display a directional triangle.
Related Topics
1. In the project tree, right-click the solution setup of interest, and then click Eigenmode Data
on the shortcut menu.
The Solution Data window appears. The Eigenmode Data tab is selected.
2. In the Simulation pull-down list, select the solution setup and solved pass - adaptive or
single frequency solution - for which you want to view data.
The Frequency column lists the real and (for lossy materials) imaginary parts of the frequency
(or resonant frequency) for each solved eigenmode.The display uses the re + j im format.
For lossy Eigenmode solutions, a Q column appears, which lists the unloaded quality factor Q
computed for each eigenmode.
3. To export the Eigenmode solutions to a text file with an eig extension, click the Export
button.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
This displays Save As dialog. You can provide a file name, and if desired, change to a non-
default location. Click the Save button to save the text file and close the Save As dialog.
Related Topics
2. Under Solutions, select whether you want to delete only fields data, only fields and mesh
data, only linked data, or all solution data. Deleting all solution data erases all mesh, matrix,
and fields data for all adaptive passes and frequency sweeps for the selected Variations.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Linked data can be mesh, field or some other post-processing data that the source design
generated. The target design for the link caches these data internally to minimize the need to
activate the source design.
The solution data you selected are deleted. Any post processing reports or field overlays you
created that included data you deleted will be marked with an X in the project tree. They will be
invalid until new solution data are generated.
Related Topics
Deleting Reports
Deleting Reports
To use Delete All Reports:
1. Click HFSS>Results>Delete All Reports. You can also right-click on the Results folder in
the Project tree to display the shortcut menu, and click Delete All Reports.
All items under the Results folder in the Project tree are removed.
1. Select a report icon in the Project tree, and right-click to display the shortcut menu.
2. Click Delete on the shortcut menu or the "X" icon on the toolbar to delete the selected report.
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
For Driven Modal and Terminal Analysis solution types that involve near or far fields, a Source
Contexts tab appears on the Edit post process sources dialog. This provides a means to select
the sources to use as context when creating a radiated field report. The tab lists the same sources
as the Spectral Fields tab. Sources are scaled by exciting a single source (the selected context in
the reporter dialog) while turning off all other sources.
You can also Save to File and Load from File, where the file is comma delimited data (.csv)
format or tab delimited data (.txt). This can help in defining source values for projects with a large
number of sources. An example of the .csv format for HFSS follows:
Name,Magnitude,Phase
Port1:1,1W,0deg
Port2:1,0W,0deg
Port3:1,0W,0deg
Port1:1 1W 0deg
Port2:1 0W 0deg
Port3:1 0W 0deg
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The Edit post process sources dialog box appears For modal projects, the Spectral fields tab
shows the following column headings.
If the project contains symmetry planes, the dialog includes a reminder that you may need to
adjust the scaling factor accordingly.
For HFSS Terminal solutions, you can select a Terminal Excitation Type as Incident Voltage or
Total Voltage.
Note that in the modal case a unit stimulation means 1 Watt of incident power at the port; in the
terminal case a unit stimulation means 1 volt of total voltage at the terminal. After converting
the voltage stimulation to the equivalent power stimulation the antenna results agree perfectly.
In particular, the "ratioed" antenna parameters such as gain, directivity, and efficiency agree
between the modal and terminal projects, while absolute antenna quantities such as incident
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
power, accepted power may initially appear different. This is a direct result of the difference
in edit-sources stimulations in the two types of projects.
You can scale the sources individually through the source table in the Edit post processing
sources dialog, or you can Save to File or Load From File, using the .csv format or tab
delimited data (.txt) format. This feature can help for projects with many sources. The steps
below describe how to directly edit the source table.
2. Select the source whose magnitude and phase you want to scale.
3. In the Magnitude text box, enter the magnitude you want. Design variables can be used as
source scalings.
Note You may not enter a negative voltage. To obtain the equivalent of a negative
magnitude, add or subtract 180 degrees from the phase value.
If you use a design variable as a scaling factor note that solutions are invalidated if
the variable is changed.
If the model contains symmetry planes, the Edit Sources dialog alerts you that you
may need to adjust the scaling factor accordingly.
At least one source should be excited (non-zero). If you set all sources to zero, you
will receive a warning, but the values do go through.
4. In the Phase text box, enter the new phase for the source.
The phase of the source is changed by the value that you enter.
5. Optionally, if your solution type is driven terminal, you may specify a complex reference
impedance:
a. For the selected terminal, select Terminated.
This disables the values to the left of the check box, and enables the Resistance and
Reactance text boxes. Use the scroll bar to view them.
b. Enter the Resistance and the Reactance and select the units. Ohms is the default.
6. By option, you can click a check box to Include Post Processing Effects. Note that the
post processing effect has no impact on the impedance of a terminated port.
7. For gain calculations, you can check whether to Specify System Power or Use Maximum
Available Power. Selecting Specify System Power enables a field for value for power and
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
select units. Use Maximum Available Power provides a default. The system power typically
comes from an external circuit (e.g. Designer), and is used in computing System Realized
Gain in antenna parameters and System Gain in far field reports.
You can specify incident power for gain calculations as a function of frequency, for example,
pwl(ds1,freq).
8. For HFSS, if an incident wave is present, use the radio buttons at the bottom of the panel to
select one of the following field types to use:
Scattered The differential field formed by subtracting the incident field from the total
Fields field.
Total Fields The physically measurable field that exists with the model present and a
non-zero incident field.
Incident The plane-wave field that would exist in the absence of the model.
Fields
For HFSS with SBR+ designs that include ports, incident waves, or linked incident waves, the
Field Type options take this form:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
In the case of SBR+ with incident waves, the field type can only be Scattered from SBR+
Regions. For SBR+ designs with Port sources or linked incident waves, you can select from all
three types.
For HFSS-IE, these options do not appear in the Edit post processing sources dialog. The
Port Processing effects are always on, and the entered voltages in Edit post processing
sources are always in Total Voltage form.
For Eigenmode solutions, the Edit post process sources dialog displays a Spectral Fields
tab and radio buttons for selecting as the Eigenmode Excitation Type, either Peak Electric Field
or Stored Energy.
For Stored Energy, the table lists Magnitude and Unit as editable fields. For Peak Electric field,
the editable fields are Magnitude, Unit, Phase, and Unit.
9. The Source Contexts tab lets you select the sources to use as context when you create
radiated fields reports.
10. Click OK to apply the changes and close the dialog, or click Apply to view the
changes without closing the dialog.
Note When you scale an excitation, keep in mind that the original value of the excitation remains
unchanged.
Related Topics
When specifying the magnitude of a source keep the following guidelines in mind:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
driven watts.
modal case l If you are using a symmetry plane, remember to scale the input signal
appropriately. For example, if you have one symmetry plane, use an input
value of 0.5 watts to excite the full structure with 1 watt; if you have two
symmetry planes, use an input value of 0.25 watts to excite the full structure
with 1 watt, and so forth.
l Generally, use the default value of 1. This specifies that the solution's E-
and H-fields be scaled such that the excitation wave delivers 1 watt of
power. To view the solution at some other power, enter a positive value.
l Only port-mode combinations with non-zero magnitudes will be used.
For voltage l The source magnitude for voltage and current sources specifies peak value
and current volts and peak value amperes, respectively.
sources l If you have defined multiple voltage and current sources, you can "remove"
them by setting their magnitudes to 0. This enables you to easily observe
the effects that individual or specific groups of sources have on the problem.
For incident l Source magnitude specifies peak value E-field in volts per meter.
waves l When you scale the incident E-field, the scattered E-field and the total E-
field are scaled as well.
l This scaling factor affects all incident angles in the incident wave setup.
For ports, l The excitation's magnitude specifies peak value volts. This is the sum of the
driven incident and reflected waves at this terminal. See the equations here.
terminal
case
For l Source magnitude is unitless and represents a relative value.
Eigenmodes l When you enter a scaling factor for an eigenmode the relative source
magnitude is amplified by this value. Exactly one eigenmode must be
excited by setting its scaling factor to a non-zero positive number.
Ports of l See Ports and Edit Sources Behavior for Transient Network
Transient
Network
solutions
When specifying the new phase for ports, generally use zero. This zero-phase solution results from
excitations phased in such a way that, at ωt = 0, peak values occur at the port faces.
Scaling Sources and Setting Delays for HFSS Transient Network
For HFSS Transient Network solutions you can separately edit sources for Spectral Fields and
Transient Fields. The Transient tab on Edit Sources controls transient far fields and fields saved
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
on the mesh. The Spectral Fields tab on Edit Sources controls Frequency domain far fields and
antenna parameters.
When non-port sources exist, the port post processing effects are off. For both Spectral and
Transient fields, you can scale the sources individually through the source table in the Edit
Sources dialog, or you can Save to File or Load From File, using the .csv format or tab delimited
data (.txt) format. This feature can help for projects with many sources. The linked steps describe
how to directly edit the source table.
In Transient Network analysis each source is solved separately which allows arbitrary
superposition of the results from all sources controlled by Edit Sources settings. This feature
enables users great flexibility in studying a large set of excitation variations in an efficient and
convenient manner.
Note When superposing results it is assumed that the fields have decayed to zero at the end of
the simulation for each source. In practice, the user settings for Target Residual and time
duration can cause this assumption to be violated. In this case the displayed field quantities
may contain significant error.
For example, consider a design with two sources where the user has specified a large
Target Residual setting, and one source converges at 1ns while the other converges at
2ns. If the user had not specified any time shifts in Edit Sources, the displayed field
quantities will not be reliable in the range 1ns to 2ns because the fields from the first source
cannot be assumed to be zero.
Related Topics
For Spectral fields, you can optionally include port post-processing effects. The Spectral Fields
tab on Edit post process sources controls Frequency domain far fields and antenna
parameters. The voltage specifications are only for the incident voltage.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The Edit post process sources dialog box appears with the Spectral Fields tab selected.
For HFSS Transient Network, the Edit post process sources dialog displays information for
sources for Spectral Fields in table format. You can edit the Magnitude and Phase values
including the use of variables, and set the units for each. You can scale the sources individually
through the source table in the Edit Sources dialog, or you can Save to File or Load From
File, using the .csv format. This feature can help for projects with many sources. The steps
below describe how to directly edit the source table.
Note You may not enter a negative voltage. To obtain the equivalent of a negative magnitude,
add or subtract 180 degrees from the phase value.
If you use a design variable as a magnitude note that solutions are invalidated if the variable
is changed.
If the model contains symmetry planes, the Edit Sources dialog alerts you that you may
need to adjust the scaling factor accordingly.
At least one source should be excited (non-zero). If you set all sources to zero, you will
receive a warning, but the values do go through.
2. By option, you can click a check box to Include Post Processing Effects.
3. For HFSS, if an incident wave is present, use the radio buttons at the bottom of the panel to
select one of the following field types to use:
Scattered The differential field formed by subtracting the incident field from the total
Fields field.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Total Fields The physically measurable field that exists with the model present and a
non-zero incident field.
Incident The plane-wave field that would exist in the absence of the model.
Fields
Related Topics
For Transient fields you can set magnitude and time delay for each source. The Transient tab on
Edit post process sources controls transient far fields and fields saved on the mesh. The
voltage specifications are only for the incident voltage.
The Edit post process sources dialog box appears with the Spectral Fields tab selected.
You can scale the sources individually through the source table in the Edit Sources dialog, or
you can Save to File or Load From File, using the .csv format. This feature can help for
projects with many sources. An example of the format for HFSS Transient follows:
Name,Transient Magnitude,Delay
bw_tr_1_T1,1V,0ps
bw_tr_2_T1,0V,0ps
sb_tr_1_T1,0V,0ps
sb_tr_2_T1,0V,0ps
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note When you change the Magnitude of an excitation, keep in mind that the original value of the
excitation remains unchanged.
Related Topics
l Just as in Driven Terminal we have two types of ports namely wave ports and lumped ports.
l Both port types are restricted to be single TEM terminal ports such as coax and gap ports.
l Wave ports are matched loaded.
l Lumped ports are loaded with the user defined "Full Port Impedance".
l Both ports support renormalization of the spectral quantities S-parameters and far fields
including antenna parameters.
l Neither port supports renormalization of transient quantities.
Edit Sources for Transient Network involves specifying the incident voltages at the terminals of the
ports not the total voltages. This means that all ports are terminated with the port settings and if the
edit source for a given port is set to zero it means that port is loaded with the port setting and it does
not imply a short. As mentioned above, transient fields are not affected by any renormalization but
the frequency domain far fields and antenna parameters are affected by renormalization.
In Transient Network analysis each source is solved separately which allows arbitrary
superposition of the results from all sources controlled by Edit Sources settings. This feature
enables users great flexibility in studying a large set of excitation variations in an efficient and
convenient manner.
Note When superposing results it is assumed that the fields have decayed to zero at the end of
the simulation for each source. In practice, the user settings for Target Residual and time
duration can cause this assumption to be violated. In this case the displayed field quantities
may contain significant error.
For example, consider a design with two sources where the user has specified a large
Target Residual setting, and one source converges at 1ns while the other converges at
2ns. If the user had not specified any time shifts in Edit Sources, the displayed field
quantities will not be reliable in the range 1ns to 2ns because the fields from the first source
cannot be assumed to be zero.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Related Topics
For Driven Modal and Terminal Analysis solution types that involve near or far fields, a Source
Contexts tab appears on the Edit post process sources dialog. This provides a means to select
the sources to use as context when creating a radiated field report. The Source Contexts tab lists
the same sources as the Spectral Fields tab. Sources are scaled by exciting a single source (the
selected context in the reporter dialog) while turning off all other sources.
All types of sources can be enabled as Source context (ports, currents, incident waves). The
default for all sources is "disabled". This applies to newly created sources and sources in legacy
projects.
Each singly selected source is excited with factory default values. The phase will always be 0 deg
and the magnitude will be 1 Watt for modal design and 1 Volt (Total voltage) for terminal design.
These factory default values cannot be changed by users.
Design Edit post process sources settings such as "Include Port Post Processing Effects" are
applicable for these singly excited sources. Thus changing any setups on the first tab of the Edit
post processing sources dialog invalidates all traces that are defined with source context.
Enabling any source as context does not impact traces that are already defined
Disabling source as context invalidates an existing trace that uses that source as context.
This Edit post process sources selection applies to a Source selection in the Reporter that
allows you to excite a single source.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The Reporter Context selection for "Sources" appears when there is at least one source selected
for "Source Contexts". The default selection of this combo box is "Use Edit Sources". When a
source is selected, the Edit Sources setup in the design will be ignored during trace population.
Instead, the trace will be calculated with the selected source excited while turning off all the other
sources in the design. The above figure illustrates the extended Create Near Field Report dialog.
Note that "1" and "2" are port names and each has 1 mode.
For an example use of these features, see the User Defined Solution for MIMO Calculations
example, that describes python scripts for the Toolkits and User Defined Solution features to
generate calculations and reports.
For characteristic mode analysis, the Edit Sources panel allows you to specify the modal weight for
each characteristic mode used to form the total field displayed. In addition, for designs where ports
are defined, you can specify the excitation values of the ports. In the case of port excitations, a
linear combination of the solved characteristic modes will be determined, which matches the
specified port values. The default value of Mode count in the Edit Sources panel is 10. The CMA
data panel in the Solution Data dialog displays the actual modes above the minimum modal
significance for any specific solution.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Enter this value in the Mode count field. For example, if the matrix display shows 6 modes above
the specified value of minimum modal significance, enter 6 in the Mode count field. Excite the
magnitude and/or phase of the mode whose current pattern you wish to see in the design. For
example, if you want to see surface currents due for Mode 3, define the magnitude or phase for
CharacteristicMode_3 and set the other characteristic modes to 0. You can also define the
magnitude and/or phase of a combination of characteristic modes.
Related Topics
Creating Animations
An animated plot is a series of frames that displays a field, mesh, virtual ray trace or geometry at
varying values. To create an animated plot, you specify the values of the plot that you want to
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
include, just as an animator takes snapshots of individual drawings that make up a cartoon. Each
value is a frame in the animation. You specify how many frames to include in the animation.
Note Each animation frame requires memory for storage which depends upon the mesh size
and type of plot. Memory usage may become very large during plot animations. To reduce
memory usage, specify the minimum number of frames possible. See General Options for
more information.
On Windows, the default OpenGL version support is v1.1, so you might need to update
graphics driver to the latest version;
If you access the application through Windows Remote Desktop which only supports
Generic GDI (functionally equivalent to OpenGL v1.0), the performance improvement will
also not be available;
If animation is slow, especially for complex models, for some older graphics cards, you can
improve performance by setting NVIDIA Control Panel>3D Settings>Manage 3D
Settings Global Settings>Global Presets: Workstation App - Dynamic Streaming
You can export the animation to animated Graphics Interchange Format (GIF) or to Audio Video
Interleave (AVI) format.
Related Topics
Exporting Animations
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
2. Click HFSS>Fields>Animate .
If you already created an animation, the Select Animation dialog box appears. Selecting an
existing animation from that list starts it. To create a new animation, click New.
3. Type a name for the animation in the Name text box or accept the default name.
4. Optionally, type a description of the animation in the Description text box.
5. Under the Swept Variable tab, select Phase from the Swept Variable list.
6. Specify the phase values you want to include in the animation:
a. Type the starting value of the phase in the Start text box.
b. Type the stopping value of the phase in the Stop text box.
c. Type the number of Steps to include in the animation.
For example, if the Start value is 10, the Stop value is 160, and the number of steps is
10, the animation will display the plot at 10 phase values between 10 and 160. The start
value will be the first frame displayed, resulting in a total of 11 frames in the animation.
d. If the design has multiple project or intrinsic variables, click the Design Point tab to set
the values of the non-animated variables.
1. Click the Design Point tab.
2. Deselect the Use defaults check box.
In the table, select the row corresponding to the variable setting of interest.
3. Click OK.
The animation begins in the view window. The play panel appears in the upper-left corner of the
desktop, enabling you to stop, restart, and control the speed and sequence of the frames.
Related Topics
Creating Animations
In the Create Field Plot dialog box, make sure to select a sweep solution to plot from the
Solution pull-down list.
2. Click HFSS>Fields>Animate .
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
If you already created an animation, the Select Animation dialog box appears. Selecting an
existing animation from that list starts it. To create a new animation, click New.
3. Type a name for the animation in the Name text box or accept the default name.
4. Optionally, type a description of the animation in the Description text box.
5. Under the Swept Variable tab, select Frequency from the Swept Variable list.
6. Select the frequency values you want to include in the animation from the Select values list.
Use the Shift key to select a series of values, and the Ctrl key to select values that are not in
sequence.
7. If the design has multiple project or intrinsic variables, click the Design Point tab to set the
values of the non-animated variables.
a. Click the Design Point tab.
b. Deselect the Use defaults check box.
In the table, select the row corresponding to the variable setting of interest.
8. Click OK:
The animation begins in the view window. It will display one frame for each frequency value you
selected.
The play panel appears in the upper-left corner of the desktop, enabling you to stop, restart, and
control the speed and sequence of the frames.
Related Topics
Creating Animations
Geometry animations may be created to evaluate the effect of varying geometry variables on the
model. You must define at least one variable associated with the geometry prior to creating a
geometry animation. Following is the general procedure for creating an animation that varies a part
of the model geometry.
1. Right-click in the view window, point to View, and then click Animate.
If multiple geometries can be varied in the design, the Select Drawing dialog box appears,
proceed to step 2. If only one geometry is variable, proceed to step 3.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note If previous animations have been created for this project, the Select Animation
dialog will appear. You may choose an animation setup from the list if one is
associated with the geometry variable of interest and the animation will start. If
no existing animation setup is acceptable, select New and continue at Step 3
below.
The animation begins in the view window. It will display one frame for each variable value.
The play panel appears in the upper-left corner of the desktop, enabling you to stop, restart, and
control the speed and sequence of the frames.
Related Topics
Creating Animations
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
In order for a Radiation Pattern plot to be valid for overlay animation, either theta or phi must be set
to a single value, so that the pattern lies in a single plane in 3D space. Note that for animation, the
plot must contain at least two traces within this plane - for example traces for multiple frequencies
of a discrete sweep. You create the 2D Radiation Field plot as before, but must also prepare it to be
suitable for animation. See Overlaying 2D Radiation Field Plots on Models.
If an existing 2D Plot is a candidate for animation, you will see it listed when you click
View>Animation to open the Select Drawing dialog.
However, if the Radiation Pattern plot does not have at least two traces, when you try to setup the
animation, you will receive a notice that you need to Modify the plot or simulation setup appropriate
or create a new one.
Recall that the Context section on Modify Plot may let you select Setupn: Sweep, which will
permit you to select additional frequencies. Also the Trace tab and Families tab lets you specify a
single Phi and/or Theta and select multiple values for other available Variables such as frequency.
For plot with multiple traces, the animation proceeds through the existing traces.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Visual Ray Trace (VRT) is a powerful feature available in HFSS for visualizing the ray geometry
and interactions for an SBR+ simulation. VRT plot animation provides a means to dynamically
explore how geometry changes or ray launch point changes affect ray generation. Compared to
regular field or mesh plot animation, VRT plot animations differ in that you do not need to solve or
generate a mesh before animating a VRT plot.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
2. Select the Swept variable. If multiple swept variables are available, you can select from the
drop down list.
3. Specify the Start, Stop and Steps for the animation.
4. The Design Point tab has Use defaults checked. If you uncheck it, you can see a listing of
design points.
5. If desired, provide a name and description
6. Click OK to produce the animation.
You can click Show Progress to watch the progress bars. The arrow button on the right includes
an Abort command.
When the animation frames have been generated and the plots completed, the animation displays
in the Modeler window, and the Animation control dialog appears.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Right-click on a VRT icon in the Project tree and select Animate... from the short-cut menu.
l Click HFSS>Fields>Animate... and select from any existing animations listed
Related Topics
Exporting Animations
When an animation is displayed in the view window, the Animation window, also called the play
panel, appears in the upper-left corner of the desktop. It has buttons that enable you to control the
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
speed and sequence of the frames, start and stop the animation and export the animation. Click an
area of the window below to learn its function.
Animation Each dot on the slider represents a frame in the animation. Drag the slider to the
slider right to display the next frame in the animated plot. Drag the slider to the left to
display the previous frame in the animation.
Plays the plot's animation sequence backwards.
Drag the Speed slider to the top to increase the speed of the animation. Drag the
Speed slider to the bottom to decrease its speed.
Frame The current frame and phase at which the plot is being displayed is listed below the
control buttons.
information
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Show label If you select the Show check box, a label showing the swept variable value appears
check box in the animation. You can select the label with the mouse and drag it to an location.
Background Click the background button to open a color pallet dialog that lets you set the
button. background for the swept variable label.
The font button opens a font selection dialog that you can use to set the Font, Font
Style, and Size for the label. The Default is Arial Narrow 14pt.
Related Topics
Creating Animations
Exporting Animations
3. Follow the procedure for saving a new file. Select Animated GIF File (.gif) or AVI File
(.avi) as the file type.
4. To replace colors in the file with 256 shades of gray, select Grayscale.
Grayscale animations tend to use less memory than full color animations.
5. For AVI format export, specify the Compression factor (the default is 85) and one of
the following Compression types:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
INTEL Indeo
Cinepak
Microsoft Video 1
None
6. For GIF format export, specify the number of loops. The default "0" denotes infinite loops.
7. Click OK to close the Animations Options dialog.
Related Topics
Creating Animations
Creating Reports
After a solver generates a solution, you can analyze all the results for that solution. ANSYS
Electronics Desktop lets you create 2D or 3D plots. A 2D or 3D plot shows the relationship
between a design's values and the corresponding results of the analysis. You can create reports
using either the Create Quick Report option, or the Create <type> Report commands. The
Quick Report feature lets you select from a list of predefined categories (such as S-parameters)
from which to create a rectangular plot.
For each solution <type> (Eigenmode, Modal, Fields, Far Fields and Emission test, and Terminal),
the Results menus present a list of Create <type> Report commands based on the solution data
of direct interest for the design. For example, for the Eigenmode solution type, the Results menu
contains templates for Eigenmode Parameters and for Fields. These appear on the menus as
Create Eigenmode Parameters Report and Create Fields Report. For the Modal and
Terminal Solution types, several different types appear, appropriate to each solution type. Each of
these Create <type> Report menu items includes a further cascading menu that lists the Display
Types available for that report. For some reports you can modify the Display Type from the
Properties for that Report. For reports for Transient designs, see this discussion.
The Results tab for the Ribbon will show icons and drop down menus for available report types for
the active project.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
If you have created custom report templates (for example, including your company name or other
format changes), you can also create a report based on that template by selecting
[solver]>Results>Report Templates><templateName>. You can also access previously defined
2D templates using Report2D>Report Templates>Apply Settings.... You can save the
properties for a modified report to provide the custom default settings for all new reports.
You can also use the Report2D>Export or Report 3D Export feature and select ReportData File
(.rdat) format file which you can then select for Create Report from File.
Related Topics
Modifying Reports
Exporting Reports
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Animated Reports
1. On the Project tree under "Analysis", select a setup or sweep icon, or the Results icon.
2. Right-click to display the shortcut menu and select Create Quick Report.
The list of available reports differs depending on the Solution type. The figure shows reports for
a Modal solution. Eigen mode solutions and Terminal solutions provide different selections.
3. Select the one or more categories for the report from the list and click OK.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
A rectangular plot for each selected category displays. The new plot or plots appear in the
Project tree under the Results icon. The default Report Name that appears derives from the
report type specified in the Quick Report dialog.
Related Topics
Creating Reports
Modifying Reports
1. On the HFSS or HFSS-IE menu or the Project tree, point to Results, and then select
Create <type>Report and from the menu select the Display Type for that template.There
are more templates of Report Types available for terminal solutions (terminal, modal,
fields, near fields, and far fields) and for modal solutions (modal and fields). For Eigenmode
solutions, the <templates> of Report Types are for Eigenmode Parameters and for Fields.
Characteristic Modes solution reports include quantities for Significance, Value, and Angle.
The Results tab for the Ribbon will show icons and drop down menus for available report types
for the active project.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
If you have created custom report templates (for example, including your company name or
other format changes), you can also create a report based on that template by selecting HFSS
or HFSS-IEResults>Report Templates>PersonalLib><templateName>. You can also
make such changes the default for new reports by right-clicking a modified report and selecting
Report Templates>Save Settings as default.
When you have selected the <type> and display type from the Results menu, the Report
dialog box appears, with the Trace tab selected by default.
2. In the Context section you make selections depending on the design and solution type.
3. In the Y Component section of the dialog make selections for the following:
a. Categories - those depend on the Solution type and the design. For example,
Eigenmode quantities include Eigenmodes, variables, output variables, and the design.
Driven solutions include such categories as S parameters. Report categories for
Transient designs include Spectral and Transient. For a Transient Network design with
differential pairs defined, the Reporter interface allows selection of single-ended or
differential signals just as for driven terminal. Characteristic Mode Data Reports include
Characteristic Mode quantities for Significance, Value, and Angle. Report categories for
SBR+ designs that include an Incident Plane wave and an RCS selection as Monostatic
do not require a geometry selection and include a range of Monostatic Quantities when
select Monostatic RCS as the Report Category. For SBR+ designs and RCS
Monostatic you can choose between Freq, IWaveTheta and IWavePhi variables for
specifying sweeps. The selected Category provides the default plot name. You can edit
the plot names in the project tree and the plot header text in the report synchronizes.
b. Quantities for Y are relative to the selected category.
Note The Quantity text field can be used to filter the Quantity list by typing in text, or by
using the four predefined selections. This is useful if the Category selected
produces a lengthy Quantities list. See Filtering Quantity Selections for the
Reporter.
When the matrix is very large, the number of quantities can be correspondingly
huge. Therefore, the Quantities field can optionally use a tree structure to divide
matrix quantities into groups by their first element name. The initial display shows
groups, without initially listing group members. See Report Setup Options.
e. Range Function button -- opens the Set Range Function dialog box. This applies to
the currently specified Quantity and Function.
4. In the X (Primary Sweep) section, make selections for the following:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
To select an X component that is different than the Primary Sweep, uncheck the Default
field to enable the X field and browse [...] button. Click the browse [...] button to display
the Select X Component dialog.
This lets you specify the X component as you do the Y; that is, in terms of Categories
which define the selectable Quantities, and Functions to apply. After making selections,
OK the dialog to assign the X component.
b. If sweeps are available, you can select the browse [...] button to display a panel that lets
you select Use all values, or selected sweep or sweeps, or access an Edit Sweep dialog.
with further editing options. Post-Processing variables are Post-Processing
sweeps/editable sweeps, so you can use the Edit Sweep dialog to create your own
sweep.
c. The Families tab provides a way to select from valid solutions for sweeps where a
simulation has multiple variables defined (for example, for a parametric sweep). If so, the
variables other than the one chosen as the X (Primary sweep), are listed under the
Families tab with columns for the variable, the value, and an Edit column with an ellipsis
[...] button. See Using Families tab for Reports.
5. Update Report setting
l Real Time checked -- enable real time updates for all reports while the reports are being
edited.
l Real Time unchecked -- enables drop down menu to Update All Reports or Update
Report. Reports will only be updated with one of these user selectable update options or
upon exiting the report dialog. This can be useful if you expect a trace to take time to
display. You can then add additional traces without having to wait.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
6. The Report dialog command buttons permit you create a new report with the settings you
provide, or to modify an existing report.
l Output Variables - opens the Output Variables dialog.
l Add Trace - this is enabled when you have created or selected a report. Add one or more
traces to include in the report.
l Update Trace - updates the selected traces in a report based on further processing or
changes.
l New Report. Adds a report to the Project tree under the Results icon. The new Report is
displayed in the Project window.
l Options - opens the Report Setup Options dialog. This contains a check box for using
the advanced mode for editing and viewing trace components. This mode is automatic if
the trace requires it. It also contains a field for setting the maximum number of significant
digits to display for numerical quantities.
l Close - closes the Report dialog.
7. Click New Report to create a new report in the Project tree.
The report appears in the view window. It will be listed in the project tree under Results, with the
default name based on the Report Category you selected, for example, S Parameter Plot n or
Output Variables Plot n. You can edit the plot names in the project tree and the plot header text
in the report synchronizes. Traces within the report also appear in the project tree.
Some plots may take time to complete. Performing a File>Save in such cases after the plot has
been created will permit you to review the plot later without having to repeat the calculation time
when you reopen the project later.
8. To speed redraw times for changed plots, perform a Save. This saves the data that
comprises expressions. For example if re(S11)*re(S22) is requested over multiple widths,
each of the S11 and S22 are stored when you save. If you do not do a save of a changed plot,
the changed version is not stored.
Note Remember that the evaluated value of an expression is always interpreted in SI units.
However, when an angle quantity is plotted in a report, you have the option to plot values in
units other than SI. If you want to plot the polar angle of a complex simulation result, S11
say, you can choose between ang_deg(S11) and ang_rad(S11). Both of these return the
exact same angle quantity but in degree and radian units respectively.
Note that when used in expressions, some surprising outcomes might result. For example,
the expression "1+ang_deg(S11)" represents an ‘angle’ and the number "1" is treated as "1
rad". i.e., the angle SI unit is attached to any unitless number that is added/subtracted from
an angle value. If you want to treat "1" as degrees, make it explicit and use "1deg + ang_
deg(S11)" instead.
If you are interested in unitless degree values, two additional functions exist: ang_deg_val
(S11) and cang_deg_val(S11). These return simple numbers and are treated as such by
any expression. If the complex S11 lies on the positive Y axis say, ang_deg_val(S11) would
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Related Topics
Creating Reports
Modifying Reports
In the Context section make selections from the following field or fields, depending on the design
and solution type.
1. Solution field with a drop down selection list. This lists the available solutions, whether
sweeps or adaptive passes. The selections for HFSS Transient include Transient, and for
Transient Network includes Spectral.
2. Domain field with a drop down selection list. Whether this field appears, and the domains
listed depend on the Solution type and the <type> selected. For modal and terminal solution
data r reports, the domain can be Sweep or Time.
Before you can examine the time domain, you must perform an Interpolating sweep for a driven
solution (Modal or Terminal). If you select Time, the TDR Options button is enabled. Select it
and follow the directions for time-domain plotting.
For Near Field or Far Field report, for a Rectangular Contour Plot, the Domain can be Theta,
Phi, or Sine Space. Before you can create a Sine Space plot, you must create the appropriate
Radiation Setups.
3. Geometry field with a drop down selection list. For field and radiated field reports, this applies
the quantity to a geometry or radiated field setup. For SBR+ designs with an Incident Plane
Wave and Monostatic RCS selected, the Geometry field is unavailable. In this case, the
solver computs the scattered field in the direction of the plane wave.
4. Show field with a drop down selection list for Differential pairs or Terminals. This field
appears for designs using terminal solutions that have differential pairs defined. It lets you
plot either differential pair data, or single-ended terminal data, or both in the same plot
without having to disable or enable differential pairs under the Excitations heading in the
Project tree. Note that single-ended quantities are computed as if no differential pairs
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
existed. So in the unlikely case of several terminals where only a subset is combined into
pairs, the results may not be as expected.
5. Derivative field with a drop drown selection list of none, all, and specific variables for which
you specified Use on the Derivatives tab of the solution setup. You can use derivatives in
some Optimetrics situations, Far Field reports, non-Port excitations including incident wave,
linked field, voltage source, current source, and magnetic bias with the Derivative Tuning
feature in the Reporter.
6. A Sources combo box appears in the Reporter when you have specified at least one source
in the Edit Sources dialog. See Specifying Source Contexts for Creating Radiated Field
Reports. For an example use, see User Defined Solution for MIMO Calculations.
Related Topics
Creating Reports
Modifying Reports
The Families tab of the Report dialog provides a way to select from valid solutions for sweeps
where a simulation has multiple variables defined and solutions exist for multiple variable values
(for example, for a parametric sweep or re-running an analysis with a different variable value). If no
variables are defined, or none have solutions for different values, 0 families will be available. If so,
the variables other than the X (Primary sweep), are listed under the Families tab with columns
for the variable, the solution value (which may be All, Nominal, or a Specific value), and an Edit
column with an ellipsis [...] button. Families gives the number available. If an existing variable is
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
specified as Nominal, only that value is currently available. You can set any solved variables as
Nominal, All, or select from values provided for Available solutions.
When you select a variable with multiple solved values, a trace for each solved value appears in the
Report, with the variable value appended to the trace name in the Report legend.
When families are available, you can make selections for the following:
1. Select the Sweeps radio button (the default) to list the swept variables you can select or the
Available variations button to list and select variation values for which solutions exist.
2. With the Sweeps radio button selected, click the ellipsis [...] button to display a list of variable
values for a particular variable. If many variables exist, you can use a scroll bar to navigate
the list.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l To select all values, click the check box for Use all values. This writes "All" in the value
field for that variable. You can also select individual values by clicking on them.
l To select a range of values, hold down the shift key, and click again.
l To select intermittent additional values, hold the CTRL key and click additional. The
values you select are highlighted in the list, and are also listed in the Values column for
that variable.
l To select all, use the Select All button. This highlights the complete list, as well as listing
all values for the variable in the Value field.
.Select the Available variations radio button to list the choices that derive from variable
combination.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
c. To invert the list order, click the triangle beside the variable name.
a. All Families
b. Statistics which lists a table statistical functions that you can select to apply to the plot.
The functions include Min, Max, Avg, Mean, Variance, Std Dev, and Sum. You can use
the Select check boxes or the Select All and Clear All button.
c. Histogram which lets you select the number of bins to use for a histogram plot, and the
sampling frequency to use.
Related Topics
Creating Reports
Modifying Reports
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
When a two port quantity Category is selected, four predefined filters are added to the combo box.
"Port1" is the first matrix element name found in the quantity list.
l Only Self Terms -- Only display quantities when the first and second port are same.
l Only Mutual Terms -- Only display quantities when the first and second port are different.
l (*,Port1) -- Only display quantities when the second element name is "Port1". You can edit
the element name to display quantities for other elements.
l (Port1,*) - Only display quantities when the first element name is "Port1". You can edit the
element name to display quantities for other element.
Related Topics
Modifying Reports
3. The Report dialog command buttons permit you create a new report with the settings you
provide, or to modify an existing report.
l Output Variables - opens the Output Variables dialog.
l Add Trace - this is enabled when you have created or selected a report. Add one or more
traces to include in the report.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Update Trace - updates the selected traces in a report based on further processing or
changes.
l New Report - adds a report to the Project tree under the Results icon. The new Report is
displayed in the main window.
l Options - opens the Report Setup Options dialog. This contains a check box for using
the advanced mode for editing and viewing trace components. This mode is automatic if
the trace requires it. It also contains a field for setting the maximum number of significant
digits to display for numerical quantities.
l Close - closes the Report dialog.
Note The Quantity text field can be used to filter the Quantity list by typing in text, or by
using the four predefined selections. This is useful if the Category selected
produces a lengthy Quantities list. See Filtering Quantity Selections for the
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Reporter.
When the matrix is very large, the number of quantities can be correspondingly
huge. Therefore, the Quantities field can optionally use a tree structure to divide
matrix quantities into groups by their first element name. The initial display shows
groups, without initially listing group members. See Report Setup Options.
e. Range Function button -- opens the Set Range Function dialog. This applies
currently specified Quantity and Function.
8. In the X (Primary Sweep) section, make selections for the following:
a. Select the Primary value(s) from the drop down menu.
To select an X component that is different than the Primary Sweep, uncheck the Default
field to enable the X field and browse [...] button. Click the browse [...] button to display
the Select X Component dialog.
This lets you specify the X component as you do the Y; that is, in terms of Categories
which define the selectable Quantities, and Functions to apply. After making selections,
OK the dialog to assign the X component.
b. If sweeps are available, you can select the browse [...] button to display a panel that lets
you select Use all values, or selected sweep or sweeps, or access an Edit Sweep dialog.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
You can also view and edit the properties of Reports and their traces via their Properties
windows. See Modifying the Background Properties of a Report.
You can also modify the display type of an existing plot from the Properties dialog for that plot.
Select the Report icon in the Project tree to display the Properties dialog. Selecting the Display
Type field displays a menu with selections available for that plot.
Once you make a selection, the plot display updates for the current selection.
Note Remember that for many excitations of interest for plotting, you can control the default base
names through the dialog described here: Setting Default Boundary/Excitation Base
Names.
This may save you the need to edit individual names in the plots.
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Clicking the browse button on Primary Sweep line shows the default selection of Use all values.
Select Select values to display the sweeps and enable editing, including the Select All and Clear
All buttons.
With Select values selected, you can select one or more by clicking an individual value, dragging
to select multiple values, or using Alt-Click to select specific values.
You select either the Sweep radio button for Default or Edited selection.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
You can also select the browse [...] button here to display the Edit Sweep dialog for Modify
Reports, which includes additional editing features.
Related Topics
Creating Reports
Modifying Reports
Clicking the browse [...] button at the lower right corner of the Use all values pane opens the Edit
Sweep dialog for Modify Report. The lets you edit the current Primary sweep variable values,
including radio button selections for Single value, Linear step or count, and Decade, Octave, or
Exponential Counts.
You can specify start, stop and step values and units, and add specific values to the list of current
sweep values. The Add>> and Update>> buttons let you edit the value list.
You can use the mouse click, drag, and Alt-Click to select values. You can also edit individual
values.
Related Topics
Creating Reports
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Modifying Reports
This section describes how to use the characteristic mode analysis feature in HFSS when
designing an antenna and generating characteristic mode analysis reports. The section also covers
post processing capabilities available in HFSS when using CMA. To illustrate post processing for
characteristic mode analysis, we will use a dipole antenna example. The two conducting arms of
the dipole antenna are excited by a lumped port. From the menu item HFSS > Solution Type,
define Characteristic Mode as the solution type.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Define the adapt frequency and characteristic mode parameters on the CMA Solution Setup dialog
box. The default for Minimum Modal Significance is 0.02. All the modes that are above this value
0.02 are calculated. For this design the adapt frequency is set to 1.6 GHz. It’s recommended that
you define the adapt frequency to be the highest frequency in the discrete sweep. After the
simulation of the dipole antenna is complete, you can view the number of modes above the
minimum modal significance, their characteristic angles, and characteristic values at every
frequency in the Solution Data dialog box. To bring up this dialog, right-click Results in the project
tree and select Solution Data from the shortcut menu.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The characteristic mode quantities are displayed in the CMA Data panel.
From the Frequency drop-down menu, select the desired frequency view all the quantities for the
characteristic modes. As an example, at the adapt frequency of 1.6 GHz, there are two modes in
this dipole antenna above the specified minimum modal significance.
From these values, you can infer that mode 1 is inductive and mode 2 is capacitive.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
As you choose lower frequencies, significance of mode 2 reduces and MS2 approaches a value
less than 0.02. At 1.17 GHz, only mode 1 is significant and above 0.02.
The process for generating Characteristic Mode Plots for each of these quantities is as follows--
1. Check the maximum number of modes for a design from the CMA Data panel at the highest
frequency.
2. Right-click Results > Create Characteristic Mode Data Report > Rectangular Plot to
open the Report dialog.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
3. In the Context panel the number 10 in the Modes field is the default. You can either leave this
value as is or change it to the maximum number of modes that are above the minimum
modal significance. For this dipole antenna, the Modes field is set to 2 since there are only
two modes at the adapt frequency as displayed in the CMA Data panel.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
4. Ensure Characteristic Mode is selected in the Category and then select the Quantity of
interest (Significances, Values, and Angles of the desired modes) and leave the Function
as none.
The plots with their corresponding quantities of the characteristic mode are displayed here.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
For this antenna, mode 1 radiates the most at 0.99 GHz and its Significance is 0.9998. Mode 2
radiates most efficiently at 1.6 GHz and its its maximum modal significance 0.1349.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The character angle for Mode 1 is 180 degrees, when it becomes resonant as shown in the above
plot.
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
If you create a design contains both SBR+ Regions and Incident Plane wave you can then create
reports for Monostatic RCS. The example projects for HFSS includes an example RCS project
that demonstrates this.
l The new Monostatic report type works with non-SBR+ cases as well.
l For old version projects with Monostatic RCS report already defined it will still work but
cannot be modified. The modify dialog will have far fields but not Monostatic RCS in the
category column.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The RCS example design includes an SBR+ Hybrid Region as well as an incident plane wave:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Designs with these elements include a selection for RCS Type as Monostatic or Bistatic.
Selecting Monostatic permits you to create Monostatic Reports. In this case, the Infinite Sphere
setup is disabled because the solver uses the direction of the Incident Plane wave to calculate the
solution.
Monostatic RCS Reports
1. Solve a design containing SBR+ Hybrid Regions and an Incident Plane wave with no other
excitations.
2. Right-click Results > Create Characteristic Mode Data Report > Rectangular Plot to
open the Report dialog.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
3. In the Context panel you can select the solution, but you do not need to select a geometry
when using SBR+ and Monostatic RCS. Select the Category as Monostatic RCS to see a
Quantity list for Monostatic traces you can create.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
4. You can choose between Freq, IWaveTheta and IWavePhi variables for specifying sweeps.
Related Topics
If you have previously saved an Ansoft Report Data Format (using Report2D>Export), you can
create a report from that rdat file. This provides a way to reuse the data and/or the format of a
previously created report.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
1. Right-click on the Results icon in the Project tree to display the short cut menu and select
Create Report From File, or click HFSS or HFSS-IE>Results>Create Report From
File.
The report is created. If it contains data, it displays the report with traces. If not, the report uses
the format exported to the .rdat file.
Related Topics
The standard Zoom and Fit commands operate on reports. After clicking in an open report, you can
also use a mouse wheel, to zoom in and out.
Related Topics
To modify the appearance of a report, or to modify the display properties any object in a report,
including traces, axis labels, grids, colors, fonts, legends, color maps, contour color and , and so
forth:
The Properties tabs and options displayed for editable plot objects varies depending on the
report type (for example, whether 2D rectangular, 2D polar, Smith, Stacked, or 3D), but can
include the following:
l Cartesian -- this lets you edit the scroll bar and thumb properties for 2D rectangular plots.
l Header -- this lets you edit the Properties for the text displayed at the top of the report,
including the Title font, Company Name, Show Design Name, Subtitle Font. The plot title
is tied to the report's name and is not a Header property. If you change the report name in
the Project tree, plot title synchronizes. The Company Name and the Show Design Name
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
check box are grouped in the Properties dialog as Subtitle. Edits to the Subtitle Font
Property affects both of them.
l General -- this dialog (or General tab for other Report properties windows) lets you edit
the background color (the perimeter around the trace display) for the plot, the contrast
color (the trace display background), the Field width, the Precision, and whether to use
scientific notation for marker and delta marker displays. (X and Y notation display is set
separately, in the Axis property tabs.)
l Legend -- this lets you edit the Properties for whether to Show Trace Name, Solution
Name, and Variation Key. At least one of these three must be selected. You can also
specify the File Name Display as Full Path, File Name without Path, or as an Array Index.
You can also edit the Font, the background color of the Legend box, the Border Color, the
Border Width, Grid Color (for the lines between Trace descriptions), and the Grid line
width. Also see Modifying the Legend in a Report.
l Color Key -- for 3D plots, to control the appearance of the color key (colors,
transparency, border appearance, fonts, number format, field width and precision.
l Contour -- for 3D plots, to control the appearance of the color map, including map type,
ramp color, spectrum, IsoValType, levels, number of contours, and values shown.
l Radiation Pattern -- for 2D polar plots, whether to show the circular grid and angle lines.
l Stacked -- for stacked plots, properties for X scrollbar, thumb properties, and stack
layout, auto fit, and stack height.
l Smith -- for Smith charts, whether to show grids for Imp., Adm., Cir, and angle lines.
l Traces -- you can select traces either in the Legend or on the plot. The properties for
traces include: Color, Line Style, Line Width, Trace Type, whether to Show a symbol,
Symbol Frequency, Symbol style, whether to Fill symbol, symbol color, and whether to
Show arrows. See Editing the Display Properties of Traces.
l Axis for X, Y or Z, or for Phi, Theta or Rho, and circular -- the defaults for most of these
values (applying to 2D and 3D both) are set in the Report 2D Options Axis tab.
l Display name -- check box for whether to display the axis name.
l Specify name -- check box for specifying the Axis name.
l Name -- this describes the axis to which the following properties/options refer. These are
selected in the Report dialog.
l Axis Color -- set the color by double clicking to display the Set color dialog. Select a
default or custom color and click OK.
l Axis Font -- click the cell to display the Edit Text Font dialog. The dialog lets you select
from a list of available fonts, styles, sizes, effects, colors, and script. The dialog also
contains a preview field. OK the selections to apply the font edits and to close the dialog.
l Show Units -- this specifies whether to display units.
l Window (section)
l Window Mode-- can be Axis range, Continuous moving window, or Step moving
window.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Window Width (in) -- provide an integer value for the previous selection.
l Manual Format (section)
l Number format -- select from the drop down menu, Auto, Decimal, or Scientific
notation.
l Field Width -- enter a real value.
l Field Precision -- enter a real value.
l X or Y or Z Scaling Tab -- These properties provide control over scaling.
l Axis Scaling -- use the drop down menu to select scaling as Linear or Log. For the Y axis,
all zero or negative values are discarded before log scaling is applied. For 3D plots,
scaling is on the Axis tabs
l Specify Min -- check box
l Min -- text entry in same units as axis units. Saved as SI internally.
l Specify Max -- check box
l Max -- text entry in same units as axis units. Saved as SI internally.
l Specify Spacing -- check box
l Spacing -- text entry in same units as axis units. Saved as SI internally
l Manual Units (section)
l Auto Units -- use the check box compute the correct units for the axis.
l Units -- click on the cell to select from a menu of available units if you have not checked
Auto Units.
l Infinity Visualization (section)
l Map Infinity Mode -- check box.
Each axis can be set to treat infinity values in a user defined way. When you check the
Map Infinity Mode, any infinity values in the input data get the infinityMap value (negative
infinity get the value*-1 and positive infinity the positive value specified). This can be
useful if there are zeros, or very small values that HFSS treats as zero, in the data, for
example, dB Gain.
l Map Infinity To -- enter a real value for the Map Infinity Mode.
l Grid -- properties for grid labels and grid style, appearance, line styles, color, major and
minor lines, major and minor circles on polar grids, and scaling. For the 3D rectangular
plots, there are separate tabs for the XY, YZ and ZX axes, and for 3D Polar plots, tabs for
phi-rho, or theta-rho grids.
3. Edit the properties, and OK the dialog to apply the changes.
Related Topics
Modifying Reports
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Exporting Reports
Zoom In or Out
The legend in a report is a list of the curves being plotted. For each curve, the legend gives the
name, shows the line color, and lists the setup and the adaptive pass used to generate the curve.
4. Check the visibility check box, and OK the dialog to close it and apply the change.
1. Select the legend in a report by double-clicking on the Curve Info panel to display a docked
properties window, or right-click on the legend and select Edit>Properties to display the
floating properties window.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
This lets you edit the Properties for whether to Show Trace Name, Solution Name, and
Variation Key. At least one of these three must be selected.
You can also specify the File Name Display as Full path, File Name without path, or as Array
index.
For example, this legend shows the Trace Name, Solution Name, Variation Key, and Full path
information for the traces:
This example shows the Trace Name, Variation Key, and File Name without a path:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
You can also edit the Font by clicking the Font cell to display the Edit Text Font dialog. The
dialog lets you select from a list of available fonts, styles, sizes, effects, colors, and script. The
dialog also contains a preview field. OK the selections to apply the font edits and to close the
dialog
You can also edit the background color of the Legend box, the Border Color, the Border Width,
Grid Color (for the lines between Trace descriptions), and the Grid line width.
To change the display name for traces, see Editing Trace Properties.
The legend is released and the crossed lines change back to a mouse pointer.
1. Position the mouse tip over the edge you want to resize.
The mouse pointer changes to a horizontal or vertical line with arrow tips.
2. Click and drag the horizontal or vertical edge to the desire size.
3. Release.
Related Topics
Showing Objects
Hiding Objects
Modifying Reports
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ansoft Report Data format files provide a way to export reports or report formats, which you can
then import using Reports>Create Report From File. This can save repeated editing of properties
(for example, the company name, or color schemes) when you create other reports. You must
have an existing plot open to see the Report2D menu.
2. If you check, Export Uniform Points, the rdat file will contain the points for the given start,
stop, and step at the given frequencies. If you do not, the file contains only the current file
format, including any modifications you have applied.
3. Use the file browser to find the directory where you want to save the file.
4. Type the name of the file in the File box.
5. Select the Ansoft Report Data (.rdat) file formats from the Save as type pull-down list:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
6. Click Save. The file is exported to the specified location as an Ansoft Report Data file.
The file will then be available for import using Create Report from file. If you
Related Topics
You can export reports as figures in several formats. You must have an existing plot open to see
the Report2D or Report 3D menu.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
2. Click the Browse... button to open the Export Report browser window.
3. Specify the file location and name, and select a graphics format from the dropdown list.
Extension Contents
.bmp Bitmap files.
.gif Graphics Interchange Format files.
.jpeg Joint Photographics Experts Group files.
.tiff Tagged Image File Format files.
.wrl Virtual Reality Modeling Language (VRML) files.
4. Click Save to close the browser window, and then OK to close the Export window.
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The following table provides information about the file formats that can be imported into plot data
reports:
File
Information
Extension
csv l Uses a comma (,) as the separation character.
l The x-axis value is in the first column. Each curve’s Y-values make up one
column, and the curves are in the same order as in the plot legend.
l The first row is the X-axis name [unit] and the information for each curve,
which is the same as the plot curve legend.
l Other rows are the X-axis value and the Y-value for each curve.
tab l Uses the tab character as the separation character.
l The x-axis value is in the first column. Each curve’s Y-values make up one
column, and the curves are in the same order as in the plot legend.
l The first row is the X-axis name [unit] and the information for each curve,
which is the same as the plot curve legend.
l Other rows are the X-axis value and the Y-value for each curve.
txt l The txt file must begin with a header that contains the following:
• A second line that begins with the company name and ends with the date in
MM/DD/YY format
• A third line that begins with a plot name and ends with the time in hh:mm:ss format
Note: Each header line must be 92 characters in length, except the empty line.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
File
Information
Extension
dat DAT is an ANSYS-specific format. ANSYS recommends that you do not generate
files using this format. Files imported with these formats should be exported only from
ANSYS products.
rdat RDAT is an ANSYS-specific format. ANSYS recommends that you do not generate
files using this format. Files imported with these formats should be exported only from
ANSYS products.
You can edit properties from any report type and save it as a template or as the default. This can
save repeated editing of properties (for example, the company name, or color schemes and plot
attribute settings) when you create other reports. You can prepare a template by Copy/pasting
plots settings from one plot to another of the same display type. Once you create templates, you
can access them from the Results>Report Templates> menu and the Report2D> Report
Templates>Apply Settings menu.
See Modifying the Background Properties of a Report for a discussion of format changes you can
make to any report.
1. In the Project Tree, right-click on the report name of interest to display the shortcut menu and
click Report Templates>Save.... You can also click Report2D>Report
templates>Save... or Report3D>Save As Template...
This displays the Save As Report Template file browser. By default, the directory is your
AnsysEM\<productName>\userlib\ReportTemplates directory. You can also save to the SysLib
directory.
It is good practice to give the template a descriptive name, showing both the kind of format you
begin with (such as XY Plot or 3D Plot) and apt description of the distinguishing edits (such as
for company name, or color scheme). Once, saved, this name will appear on the PersonalLib
menu.
The Save As Type field currently supports the Ansoft Report Format (*rpt) format.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
that you can then Modify to add traces or perform other edits. Templates in the SysLib directory
appear on the Report Templates menu.
1. In the Project Tree, right-click on the report name of interest to display the shortcut menu and
click Report Templates>Save Settings as default. You can also click
Report2D>Report templates>Save Settings as default or Report3D>Save Settings
as default.
Related Topics
Modifying Reports
Zoom In or Out
The Report Types available for creating a report depends on the simulation setup. The Report
Category provides the default report name for the project tree and the text displayed in the report
header. For example, S Parameters as the Category type causes the default report name to be S
Parameter Plot n. Depending on the setup, you can make a selection from the following report
types:
Modal S-, Y-, and Z-parameter data will be available to plot, as well as propagation
Solution constant, characteristic port impedance, reflection/transmission coefficients for
Data FSS designs, and voltage standing wave ratio (VSWR) data.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Eigenmode The Eigen Modes and Eigen Q data are available to plot.
Parameters
Fields Basic or derived field quantities calculated on lines or integrated over surfaces or
objects will be available to plot.
IE Surface For an HFSS design that uses IE Regions the solver produces J and Q surface
Fields fields for the metallic parts (but not the dielectric parts) of these regions. The Fields
Calculator provides access to the IE surface fields quantities.
Far Fields Radiated fields computed in the far-field region. The following quantities will be
available to plot: rE, gain, realized gain, beam area, directivity, axial ratio,
polarization ratio, antenna parameters, and normalized antenna calculated by
HFSS. You can do Contour Plots with a Domain of either Theta, Phi, or Sine
Space.
Note: You must have defined an infinite sphere geometry and at least one radiation
or PML boundary to create a far-fields report.
Near Fields Radiated fields computed in the near-field region. These include: variables, output
variables, near E, max near field parameters, and near normalized antenna. You
can do Contour Plots with a Domain of either Theta, Phi, or Sine Space
Note: You must have defined a near-field line or near-field sphere and at least one
radiation or PML boundary to create a near-fields report.
Antenna Whereas far field reports are computed a points around an infinite sphere, antenna
Parameters parameters provide one value per quantity for the entire sphere.
Note: You must have defined an infinite sphere geometry and at least one radiation
or PML boundary to create an antenna parameters report.
Emission You can conduct an emission test under the same conditions as for a near field
Test report except that.an emission test cannot be conducted for a ports-only solution.
You must have defined a near-field line or near-field sphere and at least one
radiation or PML boundary.
When you left click Product > Results (or right-click Results in the Project tree), one or more of
the following report types and display are available, depending upon the nature of your installation
and the projects which are loaded.
• Data Table
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
• Polar Plot
• Smith Chart
• 3D Rectangular Plot
• 3D Polar Plot
• Data Table
• Data Table
Create Report A “Data File” report can be created in any of the available display types using
From File a previous report that has been saved to a file..
Note Depending on the nature of your installation and the projects loaded, at times only a subset
of the types listed above may appear in the display-types submenu.
The information in a report can be displayed in several formats. For the initial plot, you can select
from the following Display Type formats in the Create <type> Report submenu:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Rectangular
Plot
Rectangular A rectangular (x-y-z) graph. Contour plots are useful to visualize surfaces (for
Contour Plot e.g. Directivity as a function of phi/theta).
Polar Plot A 2D circular chart divided by spherical coordinates.
3D Polar Plot A 3D circular plot divided by spherical coordinates.
Smith Chart A 2D polar chart of S-parameters upon which a normalized impedance grid
has been superimposed.
Smith Contour A polar chart. Contour plots are useful to visualize surfaces.
Plot
Data Table A grid with rows and columns that displays, in numeric form, selected quantities
against a swept variable or another quantity.
Radiation A 2D polar plot of radiated fields.
Pattern
You can also modify the display type of an existing plot from the Properties dialog for that plot.
Select the Report icon in the Project tree to display the Properties dialog. Selecting the Display
Type field displays a menu with selections available for that plot.
Once you make a selection, the plot display updates for the current selection.
Related Topics
Creating Reports
Modifying Reports
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
1. On the Results menu (HFSS or HFSS-IE menu or right-click on Results on the Project
tree), click Create <type> Report, and select Rectangular Plot.
2. In the Context section make selections from the following field or fields, depending on the
design and solution type.
a. Solution field with a drop down selection list. This lists the available solutions, whether
sweeps or adaptive passes.
b. Domain field with a drop down selection list. Whether this field appears, and the domains
listed depend on the Solution type and the <type> selected. For modal and terminal
solution data reports, the domain can be Sweep or Time.
Before you can examine the time domain, you must perform an Interpolating sweep for a
driven solution (Modal or Terminal). If you select Time, the TDR Options button is
enabled. Select it and follow the directions for time-domain plotting.
c. Geometry field with a drop down selection list. For field and radiated field reports, this
applies the quantity to a geometry or radiated field setup.
3. Under the Trace tab, Y component section, specify the information to plot along the y-axis:
a. In the Category list, click the type of information to plot. The category selected provides
the default plot name.
b. In the Quantity list, click the value to plot.
c. In the Function list, click the mathematical function of the quantity to plot.
d. Value field displays the currently specified Quantity and Function. You can edit this field
directly.
e. Range Function button -- opens the Set Range Function dialog. This applies
currently specified Quantity and Function.
4. On the Trace tab, X (Primary sweep) line, specify the quantity to plot along the x-axis in one
of the following ways:.
l Select the sweep variable to use from the drop down list.
l If sweeps are available, you can select the browse button to display a dialog that lets you
select particular sweep or sweeps, or all sweeps. The quantity will be plotted against the
primary sweep variable listed.
5. On the Families tab, confirm or modify the sweep variables that will be plotted.
6. Click New Report.
This creates a new report in Project tree, displays the report with the defined trace, and enables
the Add Trace button on the Report dialog.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The function of the selected quantity will be plotted against the swept variable values or
quantities you specified on an x-y graph. The plot is listed under Results in the project tree and
the traces are listed under the plot. The default name is based on the Report Category you
selected, (for example, S Parameter Plot n or rE Plott n). You can edit the plot names in the
project tree and the plot header text in the report synchronizes. When you select the traces or
plots, their properties are displayed in the Properties window. These properties can be edited
directly to modify the plot.
7. Optionally, add another trace to the plot by following the procedure above, using Add Trace
rather than New Report.
You can also modify the display type of an existing plot from the Properties dialog for that plot.
Select the Report icon in the Project tree to display the Properties dialog. Selecting the Display
Type field displays a menu with selections available for that plot.
Once you make a selection, the plot display updates for the current selection.
Related Topics
Sweeping a Variable
A rectangular stacked plot is a 2D, x-y graph of results, with each trace displayed on a separate
plot, or with multiple curves grouped in a single stack. The following figure shows one curve per
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
stack.
The Stacked property tab in the property window shows the Curve Grouping Strategy property,
as shown in the image below:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The curves (curve names) and their stack associations (stack names) are shown under Curve
Grouping Strategy property in the Stacked tab. The Curve Grouping Strategy has a drop-down
menu with three options:
l Single: All curves are ungrouped and each curve is in its own stack
l By Trace: All curves are grouped by their trace
l By Units: All curves are grouped by their unit type
The same options are available on plot’s right click context menu. A Curve Grouping menu is
available on the context menu as shown in images below:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
1. On the Results menu (HFSS or HFSS-IE menu or right-click on Results on the Project
tree), click Create <type> Report, and select Rectangular Stacked Plot.
2. In the Context section make selections from the following field or fields, depending on the
design and solution type.
a. Solution field with a drop down selection list. This lists the available solutions, whether
sweeps or adaptive passes.
b. Domain field with a drop down selection list. Whether this field appears, and the domains
listed depend on the Solution type and the <type> selected. For modal and terminal
solution data reports, the domain can be Sweep or Time.
Before you can examine the time domain, you must perform an Interpolating sweep for a
driven solution (Modal or Terminal). If you select Time, the TDR Options button is
enabled. Select it and follow the directions for time-domain plotting.
c. Geometry field with a drop down selection list. For field and radiated field reports, this
applies the quantity to a geometry or radiated field setup.
3. Under the Trace tab, Y component section, specify the information to plot along the y-axis:
a. In the Category list, click the type of information to plot. The category you select
provides the default plot name.
b. In the Quantity list, click the value to plot.
c. In the Function list, click the mathematical function of the quantity to plot.
d. Value field displays the currently specified Quantity and Function. You can edit this field
directly.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
e. Range Function button -- opens the Set Range Function dialog. This applies
currently specified Quantity and Function.
4. On the Trace tab, X (Primary sweep) line, specify the quantity to plot along the x-axis in one
of the following ways:
l Select the sweep variable to use from the drop down list.
l If sweeps are available, you can select the browse button to display a dialog that lets you
select particular sweep or sweeps, or all sweeps. The quantity will be plotted against the
primary sweep variable listed.
5. On the Families tab, confirm or modify the sweep variables that will be plotted.
6. Click New Report.
This creates a new report in Project tree, displays the report with the defined trace, and enables
the Add Trace button on the Report dialog. The default name is based on the Report Category
you selected, (for example, S Parameter Plot n or rE Plot n). You can edit the plot names in the
project tree and the plot header text in the report synchronizes.
The function of the selected quantity will be plotted against the swept variable values or
quantities you specified on an x-y graph. The plot is listed under Results in the project tree and
the traces are listed under the plot. When you select the traces or plots, their properties are
displayed in the Properties window. These properties can be edited directly to modify the plot.
7. Optionally, add another trace to the plot by following the procedure above, using Add Trace
rather than New Report.
You can also modify the display type of an existing plot from the Properties dialog for that plot.
Select the Report icon in the Project tree to display the Properties dialog. Selecting the Display
Type field displays a menu with selections available for that plot.
Once you make a selection, the plot display updates for the current selection.
Multiple Curves in a Stack in Cartesian Stacked Plots
Now multiple curves can be grouped together in a single stack. There are two ways in which
grouping of curves can be achieved:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Automatic Grouping
l Manual Grouping
Automatic Grouping
The automatic grouping feature for Stacked Plots groups the curves generated by a report into
stacks based on a similarity metric: Trace Name or Units. This is controlled by the Curve
Grouping Strategy property which can also be used to turn grouping off when the ‘Single’
strategy is selected. New curves respect the selected grouping.
The following image shows the same stacked plot with curves grouped By Units, that is, current
and voltage curves are grouped together in their own stacks:
Manual Grouping
Manual grouping of curves allows arbitrary grouping of curves. When you manually group curves,
the Curve Grouping Strategy property automatically becomes Custom. Each new curve goes
into a new stack.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The following image shows an example of manual grouping, where two voltage curves are
grouped together while current curves are in their own stacks:
Performing manual grouping sets the Curve Grouping Strategy property in Stacked tab in
property window as Custom as shown below:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The Stacked tab shows Curve Name and its Stack <number> association, as shown
in following image:
Each Stack <number> field has a drop-down menu as shown in following image:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
3. To change the stack of a curve, choose a different stack in this drop down menu.
Note:
l The New Stack option is only available when there are multiple curves in the stack, which is
the current stack of the curve.
l When you choose New Stack, the curve moves to a new stack. This allows you to ungroup
curves in a stack.
Manual Grouping Through the Context Menu
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
3. Choose Curve Grouping >Selected Curves > Move to new stack as shown below:
Legend Optimizations
The legend gets additional layout changes to optimize space usage. When there is single curve per
stack, legend shows curve name in column and trace characteristics in rows to optimize use of
available vertical space.
On the other hand if there are multiple curves in any stack, then curve names are shown in rows
and trace characteristics are shown in columns. Since automatic grouping tends to increase the
number of curves rapidly for the same selected trace characteristics, this keeps the plot area
maximized under such growth scenarios.
Y Markers
l If all those curves move together to a new stack, then Y-Marker is migrated as well.
l If only a subset of the curves move to a new stack, then Y-Marker remains in the stack with
the remaining curves.
l If all the curves move to different stacks then Y Marker is dropped
Related Topics
Sweeping a Variable
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
You can Rotate, Zoom and Pan a plot. When you rotate, the Cartesian grid responds so that the
curve always remains in front and the grids behind.
Clicking on a plot entity selects it, highlighting the selected entity in bold.
Double-clicking anywhere in the plot brings up the Properties dialog. The properties are grouped
appropriately under various tabs, which correspond to plot entities:
l General: For general plot properties such as Visual Detail level and background color
l Header: Properties related to plot Header/Title.
l Axis [X|Y|Z]: Properties related to the 3 axes
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Selecting a property also displays its properties in the Property window. You can edit the properties
to customize the appearance of the plot. See "Controlling Visual Detail in a 3D Plot" on the facing
page.
1. On the Results menu (HFSS or HFSS-IE menu or right-click on Results on the Project
tree), click Create <type> Report, and select 3D Rectangular plot from the report type
menu.
2. In the Context section make selections from the following field or fields, depending on the
design and solution type.
a. Solution field with a drop down selection list. This lists the available solutions, whether
sweeps or adaptive passes.
b. Geometry field with a drop down selection list. For field and radiated field reports, this
applies the quantity to a geometry or radiated field setup.
3. Under the Trace tab Z Component area, specify the information to plot along the z-axis:
a. In the Category list, click the type of information to plot. The category you select
provides the default plot name.
b. In the Quantity list, click the value to plot.
c. In the Function list, click the mathematical function of the quantity to plot.
d. The Value field displays the currently specified Quantity and Function. You can edit this
field directly.
e. Range Function button -- opens the Set Range Function dialog. This applies
currently specified Quantity and Function.
4. On the Trace tab Y (Secondary sweep) lines, specify the information to plot along the y-axis
in one of the following ways:
l Select the sweep variable to use from the drop down list.
l If sweeps are available, you can select the browse button to display a dialog that lets you
select particular values. The quantity will be plotted against the primary sweep variable
listed.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
5. On the Trace tab X (Primary sweep) lines, specify the information to plot along the x-axis in
one of the following ways:
l Select the sweep variable to use from the drop down list.
l If sweeps are available, you can select the browse button to display a dialog that lets you
select particular values. The quantity will be plotted against the primary sweep variable
listed.
6. Click New Report.
This creates a new report in Project tree, displays the report with the defined trace, and enables
the Add Trace button on the Report dialog. The default name is based on the Report Category
you selected, (for example, S Parameter Plot n or rE Plot n). You can edit the plot names in the
project tree and the plot header text in the report synchronizes.
The function of the selected quantity or quantities will be plotted against the values you specified
on an x-y-z graph. The plot is listed under Results in the project tree. When you select the
traces or plots, axis or grid labels, plot header, color key, or variable labels, their properties are
displayed in the Properties window. The properties for each plot element can be edited directly
to modify the plot content and appearance. See Modifying the Background Properties of a
Report.
7. Optionally, add another trace to the plot by following the procedure above, using Add Trace
rather than New Report.
If a particular plot seems busy with information, you can edit plot properties, such as Axis and Grid
Attributes for discrete levels of visual detail to improve readability. Double-click anywhere on a plot
to display the Properties dialog. The Visual Detail property on the General tab also provides control
suited to different screen and plot sizes.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The Visual Detail menu has four options: Low, Medium (the default), High, and Custom. If you
select any Visual Detail, the 3D plot is rendered according to the selected Visual Detail level and
the properties reflect the values chosen for the selected visual detail level. From this predefined
visual detail level, if you modify any properties, Visual Detail is automatically set to Custom (or to
another predefined visual detail level if the edits happen to match the settings for that level).
You can also manually set Visual Detail to Custom. In such a case, Custom will inherit property
values corresponding to the previous level. This ensures that you can customize settings starting
from a baseline provided by the preconfigured Low, Medium or High Visual Detail levels.
On creation, a 3D Rectangular Plot has Visual Detail set to Medium and looks and feels as shown
above. Specifically, under Medium Visual Detail level, a 3D Rectangular Plot has 3 ticks per axis
(X, Y, Z axis) which will show min, max and middle value. This setting also shows axes labels.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
With Visual Detail set to Low, a 3D Rectangular Plot shows axes with 2 ticks corresponding to min
and max values. It also shows axes labels and grid borders.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
With Visual Detail set to High, a 3D Rectangular Plot shows all Cartesian axes and grids together
with all ticks and axes labels.
Ticks Specification is a menu with possible values as Auto, Spacing, and Num. Ticks, with Auto
being the default value. If Ticks Specification is Auto, then a spacing value is automatically
calculated and used to calculate and display the tick labels. Spacing shows the calculated value,
and Num. Ticks shows the number of ticks based on this spacing value, as shown below:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
You can edit the Spacing field when Ticks Specification is set to Spacing; otherwise, it is read only.
You can edit the Num. Ticks field when Ticks Specification is Num. Ticks; otherwise, it is read
only.
Valid Num. Ticks are between 0 and 100, including 0 and 100. If you enter an invalid value, an error
message is shown. If you enter a spacing value that results in number of ticks greater than 100,
then an appropriate value is shown.
Note With the addition of the Ticks Specification property to Axis properties, the Specify
Spacing property was removed as an Axis property.
Related Topics
Sweeping a Variable
This is an x-y-z graph of results. Any data that you can current plot in 3D (as 3D Cartesian or 3D
polar) is a candidate for a contour plot.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
1. On the Results menu (HFSS or HFSS-IE menu or right-click on Results on the Project
tree), click Create <type> Report, and select Rectangular Contour plot from the report
type menu.
2. In the Context section make selections from the following field or fields, depending on the
design and solution type.
a. Solution field with a drop down selection list. This lists the available solutions, whether
sweeps or adaptive passes.
b. Geometry field with a drop down selection list. For field and radiated field reports, this
applies the quantity to a geometry or radiated field setup.
c. Domain field with a drop down selection list. For Near and Far Field reports, if you have
defined the respective Radiation Setups, a Domain field lists Theta, Phi, and Sine
Space.
3. Under the Trace tab Z Component area, specify the information to plot as contours:
a. In the Category list, click the type of information to plot. The selected Category provides
the default plot name.
b. In the Quantity list, click the value to plot.
c. In the Function list, click the mathematical function of the quantity to plot.
d. The Value field displays the currently specified Quantity and Function. You can edit this
field directly.
e. Range Function button -- opens the Set Range Function dialog. This applies
currently specified Quantity and Function.
4. On the Trace tab Y (Secondary sweep) lines, specify the information to plot along the y-axis
in one of the following ways:
l Select the sweep variable to use from the drop down list.
l If sweeps are available, you can select the browse button to display a dialog that lets you
select particular values. The quantity will be plotted against the primary sweep variable
listed.
5. On the Trace tab X (Primary sweep) lines, specify the information to plot along the x-axis in
one of the following ways:
l Select the sweep variable to use from the drop down list.
l If sweeps are available, you can select the browse button to display a dialog that lets you
select particular values. The quantity will be plotted against the primary sweep variable
listed.
6. Click New Report.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
This creates a new report in Project tree, displays the report with the defined trace, and enables
the Add Trace button on the Report dialog. The default name is based on the Report Category
you selected, for example, S Parameter Plot n or Output Variables Plot n). You can edit the plot
names in the project tree and the plot header text in the report synchronizes.
The function of the selected quantity or quantities will be plotted against the values you specified
on an x-y-z graph. The plot is listed under Results in the project tree. When you select the
traces or plots, their properties are displayed in the Properties window. These properties can be
edited directly to modify the plot.
l Attributes tab, including Name, Line Style, Line Width, and Color.
l Contour tab, including Colormap Type, Color, Spectrum, IsoValType, whether to Overlay
Contour Lines (on Fringe or Tone plots), Scaling parameters, and Number of contours
and spacing.
General tab, including Back Color, Plot Area Color, Enable Y Axis Stripes, Field Width,
Prevision, and whether to Use Scientific Notation.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
You can also access these properties by double clicking on the Contour plot and viewing the
Contour tab.
7. Optionally, add another trace to the plot by following the procedure above, using Add Trace
rather than New Report.
Related Topics
Sweeping a Variable
Sine Space plots provide an alternate way to view radiated field quantities. The transformation
from theta, phi space to u, v sine space is defined as follows:
u = sin(theta)*cos(phi)
v = sin(theta)*sin(phi)
Note that this is similar to a polar coordinate system, where the radius is given by sin(theta) and the
angle is given by phi. Another way to think about this: Given theta and phi that define a unit sphere,
then these u,v coordinates are like viewing the unit sphere from above or below the XY plane. So, a
sine space plot is a 2D plot that lies on a unit circle in the u,v space, that shows the values of
radiated field quantities projected onto the upper or lower half of a full 3D sphere.
In HFSS, you create Radiated field setups to specify how radiated fields will be calculated. For a
sphere, you provides ranges and step size for theta and phi, and can also specify a reference
coordinate system and custom radiation surface. The radiated fields are calculated based on these
settings, using algorithms that are designed for uniform sampling in theta and phi.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Once radiated field setups have been defined, it possible to create various radiated fields plots in
Reporter.
Sine Space plots are implemented as a new Context in Reporter. They will leverage the existing
radiated field setups and calculations.
To create a Sine Space plot, after you have specified radiated field Setups.
The Report dialog displays and shows choices for Domain in the Context field.
Notice that the Context shown above already includes selection of a Geometry, which
corresponds to a Radiation setup.
This radiation setup is used to calculate the fields for the Sine Space plot. Internally, this
computes the values of the complex E vector based on the theta, phi sampling in the radiation
setup. When data is requested for a sine space plot, it will correspond to some arbitrary theta,
phi, and the fields will be interpolated to this location on the sphere. Note that this interpolation
will occur on the complex E vector, and can be more detailed than a simple linear interpolation
between sample points.
In order to support sine space plots, the radiation setup must have appropriate sampling in theta
and phi. By default, a sphere is defined with phi from 0 to 360 (angle of rotation about Z), and
theta from 0 to 180 (angle of rotation away from Z). These settings support a full unit circle
representing the upper (theta from 0 to 90) or lower (theta from 90 to 180) half space. If the
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
range of theta is reduced to 0 to 90, it would be possible to support upper half space only. Other
ranges of theta and phi will likely create odd sine space plots, such as a partial circle, and these
are not allowed.
2. Select Sine Space as the Domain. This also enables the Sine Space options button.
Selecting "Sine Space" changes the Primary Sweep to U, and the Secondary Sweep to V.
The Sine Space Options provide additional settings, including the sampling interval for the u,v
coordinates (default of .05 would provide 40 samples over each axis, -1 to 1) and selection of
upper or lower half space (default to upper).
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Once you have set up the domain, you define the Sine Space plot, selecting Category, Quantity
and Function settings as appropriate. The Report Category you select provides the default
report name, for example, S Parameter Plot n or Output Variables Plot n. Given that the u,v
sampling is set in the Sine Space Options, it should not be necessary to modify the sweeps in
the Trace area of the dialog.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
You can use the Contour tab of the Properties dialog to modify the appearance of the plot. See
Creating Rectangular Contour Plots for discussion and examples.
In HFSS, a polar plot is a 2D circular chart divided by the spherical coordinates R and theta, where
R is the radius, or distance from the origin, and theta is the angle from the x-axis. Following is the
general procedure for drawing a polar graph of results:
1. On the Results menu ( HFSS menu or right-click on Results on the Project tree), click
Create <type> Report, and select Polar plot from the report type menu.
2. In the Context section make selections from the following field or fields, depending on the
design and solution type.
a. Solution field with a drop down selection list. This lists the available solutions, whether
sweeps or adaptive passes.
b. Domain field with a drop down selection list. Whether this field appears, and the domains
listed depend on the Solution type and the <type> selected. For modal and terminal
solution data reports, the domain can be Sweep or Time.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Before you can examine the time domain, you must perform an Interpolating sweep for a
driven solution (Modal or Terminal). If you select Time, the TDR Options button is
enabled. Select it and follow the directions for time-domain plotting.
c. Geometry field with a drop down selection list. For field and radiated field reports, this
applies the quantity to a geometry or radiated field setup.
3. In the Trace tab PolarComponent area, specify the information to plot:
a. On the Category drop down list, click the type of information to plot.
b. On the Quantity list, click the values to plot. Use CTRL-click to make multiple selections.
c. In the Function list, click the mathematical function to apply to the quantity for the plot.
d. The Value field displays the currently specified Quantity and Function. You can edit this
field directly.
e. Range Function button -- opens the Set Range Function dialog. This applies
currently specified Quantity and Function.
4. Click New Report.
This creates a new report in Project tree, displays the report with the defined trace, and enables
the Add Trace button on the Report dialog. The default name is based on the Report Category
you selected, (for example, S Parameter Plot n or rE Plot n). You can edit the plot names in the
project tree and the plot header text in the report synchronizes.
The function of the selected quantity will be plotted against the swept variable values or
quantities you specified on an x-y graph. The plot is listed under Results in the project tree and
the traces are listed under the plot. When you select the traces or plots, their properties are
displayed in the Properties window. These properties can be edited directly to modify the plot.
5. Optionally, add another trace to the plot by following the procedure above, using Add Trace
rather than New Report.
Related Topics
Sweeping a Variable
For a polar plot of S-parameters, HFSS displays in the lower-left corner the following derived
information about the cursor's location:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
where
l G = conductance
l B = susceptance
Q The quality factor.
VSWR The voltage standing wave ratio, calculated from the equation
A scale below the plot displays the scale of points along the R-axis.
Related Topics
A 3D polar plot is a 3D circular chart divided by the spherical coordinates R, theta, and phi, where
R is the radius, or distance from the origin, theta is the angle from the x-axis, and phi is the angle
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Once created, you can also overlay the 3D polar plot on the model window by using the
HFSS>Fields>Plot Fields>Radiation command, or by right-clicking on Field Overlays in the
Project tree and selecting Plot Fields>Radiation Field.
You can Rotate, Zoom and Pan a plot. When you rotate, the Cartesian grid responds so that the
curve always remains in front and the grids behind.
Clicking on a plot entity selects it, highlighting the selected entity in bold.
Double-clicking anywhere in the plot brings up the Properties dialog. The properties are grouped
appropriately under various tabs, which correspond to plot entities:
l General: For general plot properties such as Visual Detail level and background color
l Header: Properties related to plot Header/Title
l Axis Phi: Properties related to the circular axis which is in XY plane
l Axis Theta: Properties related to the circular axis which is in YZ plane
l Axis Rho: Properties related to the radial axis
l Grid phi-rho-theta(0): Properties related to phi-rho grid at theta = 0 (XY plane)
l Grid theta-rho-phi(90): Properties related to theta-rho grid at phi = 90 (YZ plane)
l Color Key: Properties related to the color key, including borders, background, Min and Max,
as well as number format and precision.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Selecting a property also displays its properties in the Property window. You can edit the properties
to customize the appearance of the plot. See "Controlling Visual Detail in a 3D Polar Plot" on the
facing page.
1. On the Results menu ( HFSS menu or right-click on Results on the Project tree), click
Create <type> Report, and select 3D Polar plot from the report type menu.
2. In the Context section make selections from the following field or fields, depending on the
design and solution type.
a. Solution field with a drop down selection list. This lists the available solutions, whether
sweeps or adaptive passes.
b. Geometry field with a drop down selection list. For field and radiated field reports, this
applies the quantity to a geometry or radiated field setup.
3. In the Trace tab Mag area, specify the information to plot along the R-axis, or the axis
measuring magnitude:
a. On the Category drop down list, click the type of information to plot. The category you
select provides the default plot name.
b. On the Quantity list, click the values to plot. Use CTRL-click to make multiple selections.
c. In the Function list, click the mathematical function to apply to the quantity for the plot.
d. The Value field displays the currently specified Quantity and Function. You can edit this
field directly.
e. Range Function button -- opens the Set Range Function dialog. This applies
currently specified Quantity and Function.
4. On the Trace tab Theta(Secondary Sweep) line, select the sweep variable from the drop
down list and specify all values or select values to plot along the theta-axis:
5. On the Trace tab Phi(Primary Sweep) line, select the sweep variable from the drop down
list, and specify all values or select values to plot along the phi-axis:
6. Click New Report.
This creates a new report in Project tree, displays the report with the defined trace, and enables
the Add Trace button on the Report dialog. The default name is based on the Report Category
you selected, (for example, S Parameter Plot n or rE Plot n). You can edit the plot names in the
project tree and the plot header text in the report synchronizes.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The function of the selected quantity or quantities will be plotted against the R-, phi-, and theta-
axes on a 3D polar graph. The plot is listed under Results in the project tree. When you select
the traces or plots, axis or grid labels, plot header, color key, or variable labels, their properties
are displayed in the Properties window. The properties for each plot element can be edited
directly to modify the plot content and appearance. See Modifying the Background Properties of
a Report.
7. Optionally, add another trace to the plot by following the procedure above, using Add Trace
rather than New Report.
If a particular plot seems busy with information, you can edit plot properties, such as Axis and Grid
Attributes for discrete levels of visual detail to improve readability. Double-click anywhere on a plot
to display the Properties dialog. The Visual Detail property on the General tab also provides control
suited to different screen and plot sizes.
The Visual Detail menu has four options: Low, Medium (the default), High, and Custom. If you
select any Visual Detail, the 3D plot is rendered according to the selected Visual Detail level and
the properties reflect the values chosen for the selected visual detail level. From this predefined
visual detail level, if you modify any properties, Visual Detail is automatically set to Custom (or to
another predefined visual detail level if the edits happen to match the settings for that level).
You can also manually set Visual Detail to Custom. In such a case, Custom will inherit property
values corresponding to the previous level. This ensures that you can customize settings starting
from a baseline provided by the preconfigured Low, Medium or High Visual Detail levels.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
On creation, a 3D Polar Plot has Visual Detail set to Medium and looks and feels as shown above.
Specifically, under the Medium Visual Detail level, 3D Polar Plot has 3 ticks per axis (phi, theta and
rho axis) which show min, max and middle value. This setting also shows axes labels.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
With Visual Detail set to Low, 3D Polar Plot does not show polar grids or grid lines. It only shows
axes with 2 ticks corresponding to min and max values. This setting also renders axis labels.
With Visual Detail set to High, a 3D Polar Plot shows all polar axes and grids together with all nice
ticks and axes labels. This is ideal for large plot sizes.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ticks Specification is a menu with possible values as Auto, Spacing, and Num. Ticks, with Auto
being the default value. If Ticks Specification is Auto, then a spacing value is automatically
calculated and used to calculate and display the tick labels. Spacing shows the calculated value,
and Num. Ticks shows the number of ticks based on this spacing value, as shown below:
You can edit the Spacing field when Ticks Specification is set to Spacing; otherwise, it is read only.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
You can edit the Num. Ticks field when Ticks Specification is Num. Ticks; otherwise, it is read
only.
Valid Num. Ticks are between 0 and 100, including 0 and 100. If you enter an invalid value, an error
message is shown. If you enter a spacing value that results in number of ticks greater than 100,
then an appropriate value is shown.
Note With the addition of the Ticks Specification property to Axis properties, the Specify
Spacing property was removed as an Axis property.
Related Topics
Sweeping a Variable
A Smith chart is a 2D polar plot of S-parameters upon which a normalized impedance grid has
been superimposed. Following is the general procedure for creating a Smith chart of results:
1. On the Results menu ( HFSS menu or right-click on Results on the Project tree), click
Create <type> Report, and select Smith Chart from the report type menu.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
e. Range Function button -- opens the Set Range Function dialog. This applies
currently specified Quantity and Function.
3. Click New Report.
This creates a new report in Project tree, displays the report with the defined trace, and enables
the Add Trace button on the Report dialog. The default name is based on the Report Category
you selected, (for example, S Parameter Plot n or rE Plot n). You can edit the plot names in the
project tree and the plot header text in the report synchronizes.
The function of the selected quantity will be plotted against the values you specified on a polar
plot. In addition, each circle on the plot is labeled with values of R, measuring normalized
resistance, and each line is labeled with values of X, measuring normalized reactance. The plot
is listed under Results in the project tree and the traces are listed under the plot. When you
select the traces or plots, their properties are displayed in the Properties window. These
properties can be edited directly to modify the plot.
4. Optionally, add another trace to the plot by following the procedure above, using Add Trace
rather than New Report.
Related Topics
Sweeping a Variable
A Smith contour chart is a polar plot of S-parameters upon which a normalized impedance grid has
been superimposed. Following is the general procedure for creating a Smith chart of results:
1. On the Results menu (HFSS menu or right-click on Results on the Project tree), click
Create <type> Report, and select Smith Chart from the report type menu.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
d. The Value field displays the currently specified Quantity and Function. You can edit this
field directly.
e. Range Function button -- opens the Set Range Function dialog. This applies
currently specified Quantity and Function.
3. On the Trace tab (Secondary Sweep) line,select the sweep variable from the drop down
list and specify all values or select values to plot along the theta-axis:
To select an Secondary sweep component that is different than the default, uncheck the Default
field to enable the X field and browse [...] button. Click the browse [...] button to display the
Select X Component dialog. This lets you specify the X component as you do the Y; that is, in
terms of Categories which define the selectable Quantities, and Functions to apply. After
making selections, OK the dialog to assign the X component.
a. If sweeps are available, you can select the browse [...] button to display a dialog that lets
you select particular sweep or sweeps, or all sweeps.
b. The Families tab provides a way to select from valid solutions for sweeps where a
simulation has multiple variables defined (for example, for a parametric sweep). If so, the
variables other than the one chosen as the X (Primary sweep), are listed under the
Families tab with columns for the variable, the value, and an Edit column with an ellipsis
[...] button. See Using Families tab for Reports.
4. On the Trace tab (Primary Sweep) line,select the sweep variable from the drop down list,
and specify all values or select values to plot along the phi-axis:
To select an X component that is different than the default, uncheck the Default field to enable
the X field and browse [...] button. Click the browse [...] button to display the Select X
Component dialog. This lets you specify the X component as you do the Y; that is, in terms of
Categories which define the selectable Quantities, and Functions to apply. After making
selections, OK the dialog to assign the X component.
a. If sweeps are available, you can select the browse [...] button to display a dialog that lets
you select particular sweep or sweeps, or all sweeps.
b. The Families tab provides a way to select from valid solutions for sweeps where a
simulation has multiple variables defined (for example, for a parametric sweep). If so, the
variables other than the one chosen as the X (Primary sweep), are listed under the
Families tab with columns for the variable, the value, and an Edit column with an ellipsis
[...] button. See Using Families tab for Reports.
5. Click New Report.
This creates a new report in Project tree, displays the report with the defined trace, and enables
the Add Trace button on the Report dialog. The default name is based on the Report Category
you selected, (for example, S Parameter Plot n or rE Plot n). You can edit the plot names in the
project tree and the plot header text in the report synchronizes.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The function of the selected quantity will be plotted against the values you specified on a polar
plot. In addition, each circle on the plot is labeled with values of R, measuring normalized
resistance, and each line is labeled with values of X, measuring normalized reactance. The plot
is listed under Results in the project tree and the traces are listed under the plot. When you
select the traces or plots, their properties are displayed in the Properties window. These
properties can be edited directly to modify the plot.
6. Optionally, add another trace to the plot by following the procedure above, using Add Trace
rather than New Report.
Related Topics
Sweeping a Variable
A data table is a grid with rows and columns that displays, in numeric form, selected quantities
against a swept variable or other quantities.
1. Click HFSS>Results>Create <type> Report, or right click on the Results icon in the
Project tree and click Create <type> Report.
2. In the display type menu, click Data Table.
3. In the Context section make selections from the following field or fields, depending on the
design and solution type.
a. Solution field with a drop down selection list. This lists the available solutions, whether
sweeps or adaptive passes.
b. Domain field with a drop down selection list. Whether this field appears, and the domains
listed depend on the Solution type and the <type> selected. For modal and terminal
solution data reports, the domain can be Sweep or Time.
Before you can examine the time domain, you must perform an Interpolating sweep for a
driven solution (Modal or Terminal). If you select Time, the TDR Options button is
enabled. Select it and follow the directions for time-domain plotting.
c. Geometry field with a drop down selection list. For field and radiated field reports, this
applies the quantity to a geometry or radiated field setup.
4. Under the Trace tab Y component section, select the quantity you are interested in and its
associated function:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
a. On the Category drop down list, click the type of information to plot. The category
selected provides the default name for the plot.
b. On the Quantity list, click the values to plot. Use CTRL-click to make multiple selections.
c. In the Function list, click the mathematical function to apply to the quantity for the plot.
d. The Value field displays the currently specified Quantity and Function. You can edit this
field directly.
e. Range Function button -- opens the Set Range Function dialog. This applies
currently specified Quantity and Function.
5. On the Trace tab X (Primary sweep) line, select the sweep variable from the drop down
list, and specify all values or select values.
6. Click New Report.
This creates a new report in Project tree, displays the report with the defined trace, and enables
the Add Trace button on the Report dialog. The default name is based on the Report Category
you selected, for example, S Parameter Plot n or Output Variables Plot n. You can edit the plot
names in the project tree and the plot header text in the report synchronizes.
The Y quantity will be listed at each variable value or additional quantity value you specified. The
data table is listed under Results in the project tree. The plot is listed under Results in the
project tree and the traces are listed under the plot. When you select the traces or plots, their
properties are displayed in the Properties window. These properties can be edited directly to
modify the plot.
7. Optionally, add another trace to the plot by following the procedure above, using Add Trace
rather than New Report.
You can also modify the display type of an existing plot from the Properties dialog for that plot.
Select the Report icon in the Project tree to display the Properties dialog. Selecting the Display
Type field displays a menu with selections available for that plot.
Once you make a selection, the plot display updates for the current selection.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Selecting print "All" prints the whole table for current data page (if there are more than one
data page)
l Selecting print "Pages" prints user specified pages
l If the table is bigger than the screen view (that is, it has scroll bar), printing first scrolls right,
prints until no more scrolling and then scroll down.
l The Page number appears at the bottom of the page, aligned at center
l The table layout of each page follows the screen, but with no scroll bar will be printed, and no
data page bar as on screen.
Related Topics
Sweeping a Variable
A radiation pattern is a 2D polar plot displaying the intensity of near- or far-field radiation patterns. It
is divided by the spherical coordinates R and theta, where R is the radius, or distance from the
origin, and theta is the angle from the x-axis. Following is the general procedure for drawing a
radiation pattern of results:
1. Click HFSS>Results>Create <type> Report, or right click on the Results icon in the
Project tree and click Create <type> Report.
2. In the display type menu, click Radiation Pattern.
The Report dialog box appears, and a Radiation Pattern Plots icon appears under Results in
the Project tree.
3. In the Context section make selections from the following field or fields, depending on the
design and solution type.
a. Solution field with a drop down selection list. This lists the available solutions, whether
sweeps or adaptive passes.
4. In the Trace tab MagComponent area, specify the information to plot along the R-axis, or
the axis measuring magnitude:
a. On the Category drop down list, click the type of information to plot. The selected
category also provides the default plot name.
b. On the Quantity list, click the values to plot. Use CTRL-click to make multiple selections.
c. In the Function list, click the mathematical function to apply to the quantity for the plot.
d. The Value field displays the currently specified Quantity and Function. You can edit this
field directly.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
e. Range Function button -- opens the Set Range Function dialog. This applies
currently specified Quantity and Function.
5. In the Trace tab Ang(Primary sweep) line, specify the sweep variable from the drop down
list, and specify all values or select values.
6. Click New Report.
This creates a new report in Project tree, displays the report with the defined trace, and enables
the Add Trace button on the Report dialog. The default name is based on the Report Category
you selected, for example, System Gain Plot n or Directivity Plot n. You can edit the plot names
in the project tree and the plot header text in the report synchronizes.
The function of the selected quantity or quantities will be plotted against the values you specified
on a 2D polar plot. The plot is listed under Results in the project tree and the traces are listed
under the plot. When you select the traces or plots, their properties are displayed in the
Properties window. These properties can be edited directly to modify the plot.
7. Optionally, add another trace to the plot by following the procedure above, using Add Trace
rather than New Report.
You can also modify the display type of an existing plot from the Properties dialog for that plot.
Select the Report icon in the Project tree to display the Properties dialog. Selecting the Display
Type field displays a menu with selections available for that plot.
Once you make a selection, the plot display updates for the current selection.
Related Topics
1. Set the first marker by left-clicking and holding the mouse button.
2. Move the mouse without releasing left button to another position, and then release the left
button to create second marker.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
In the marker text window, you see the difference between the two markers instead of the X, Y
value of marker.
Related Topics
The idea behind Time-Domain Reflectometry (TDR) is to excite a structure with a step function,
and inspect the reflections as a function of time. Before you can examine the time domain, you
must perform an Interpolating sweep for a driven solution (Modal or Terminal or Transient). You
can then select Time from the Domain list in the Report dialog. You also need to specify the input
signal, whether step or impulse.
With Time selected as the domain, you can select from several Categories and associated
Quantities to plot, for example mag(S11). When you plot in the Time domain, every frequency
domain quantity is first converted to the time-domain before the formula is evaluated. For example,
if you type in
If you select Time Domain Impedance as the Category, you can select the TDRZ quantity. This is
defined as
where "input" denotes the Fourier transform of the input signal (step or impulse) and "IFFT(.)"
denotes the inverse FFT.
This equation is the instantaneous ratio of the time-domain voltage v(t) to the time-domain current i
(t). That is because voltage and current are defined (in the frequency domain) in terms of the
incident and reflected waves a and b, respectively, as
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
This lets the incident wave be the input step signal, and so when we take the inverse FFT of V and
I, we get v(t) and i(t) in the time domain. Taking their ratio as a function of time then yields TDRZ(t).
By default, Zo is equal to 50 Ohm.
1. For a design with an existing sweep setup, follow steps 1 - 4 for creating a report for design.
2. In the Report dialog box, in the Domain list, click Time.
This enables the TDR Options button and for terminal solution data reports includes the
Terminal TDR Impedance in the Category list.
A Step describes a sustained change in the signal, whereas the Impulse is a brief excitation.
Impulse is a very narrow rectangular pulse, with zero rise and fall time, width of 1 time step, and
height of 1/(time step).
Selecting Step enables the Rise Time field, and Impulse disables it.
5. If you selected Step, enter the rise time of the pulse in the Rise Time text box.
With a band width from DC to fmax, the best time resolution that can be achieved is 1/(2fmax).
A rise time of 1/(2fmax) is the shortest rise time that can be resolved. However, a rise time of 0 s
gives equally valuable information, so 0 is the default in this panel. See the example plot.
6. Enter the total time on the plot in the Maximum Plot Time text box.
The default maximum plot time in the TDR Options dialog is related to the delta frequency df in
the frequency sweep: it is 1/2df, since that is the extent of time for which the IFFT gives
information. This is often very long relative to the time delay that corresponds to the length of
your device under test, so you may want to reduce this value. Alternatively, you can adjust the
time axis of your TDR plot after it has been created.
7. Set the number of time points to plot in the Delta Time text box. By default, this is set to the
number of points in the frequency sweep.
The delta time is based on the bandwidth of the sweep: with a frequency sweep from DC to
fmax, the smallest time resolution you can obtain is given by 1/(2fmax). The IFFT algorithm
provides data points as a spacing of 1/(2fmax), but you can smoothly interpolate between points
by setting a finer resolution, e.g. to 1/(10fmax), at the expense of extra computation time.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
8. Optionally, under TDR Window, modify the window type and width.
9. You can use the Save as Default to set the current values as a default, and the Use
Defaults button to use previously saved options. Note that when you select a trace, the
initial displayed values are those of the selected trace.
10. Click OK.
Optionally, to plot Terminal TDR impedance (that is, rather than calculate the S-parameter for
waveport1 versus frequency, instead calculate the delay versus time at a particular impedance),
do the following:
The default impedance (Zo) for the TDRZ quantity is 50 Ohms, unless you specified
differently when you Set Renormalizing Impedance for Terminals when you created the
terminals in the model. If you need a different impedance value, you can either edit the value
in the Report dialog (as shown below), or you can create an Output Variable representing
Zo × (1+Sii)/(1-Sii) with the Zo of your choice. To edit the Zo value in the Report dialog:
1. For the Category, select Terminal TDR Impedance, and the Port and Function of interest.
In this example, the value for Zo is changed from the default to 75 Ohms by typing
',Zo=75ohm' in the Y-column field.
c. In the Function list, click the mathematical function of the quantity to plot.
3. Click Done.
The report appears in the view window. It will be listed in the project tree.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
If S11 = 0 at DC, the time-domain step response will settle to zero and the TDRZ step response
settles to Zref. If S11 is nonzero at DC, the time-domain step response will settle to a nonzero
value and TDRZ will settle to a value different from Zref. The time-domain impulse response will
always settle to zero, since it can be seen as the derivative of the step response. The TDRZ
impulse response will always settle to Zref.
The plot below shows the difference between a short nonzero rise time and zero rise time for a
transmission line segment of 94 Ohm. Note that the trace with zero rise time starts at the correct
line impedance while the other starts at the renormalizing impedance. Other than that, one
trace is a shifted version of the other. The reason the plot with finite rise time starts at 50 ohms is
that the time-domain voltage and current are still at their steady state values, so v = Zref * i. As
the pulse arrives, the TDRZ response changes from the steady-state behavior because there's
a reflection from the transmission line back to the exciting source, which has a different
renormalizing impedance from the characteristic impedance of the transmission line.
(1)
where c is the speed of light in the medium and B is the bandwidth of the signal. Since TDR is
usually based on a frequency band that starts at DC, the spatial resolution becomes
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
(2)
where Fmax is the highest frequency in the frequency sweep. For example, if Fmax = 15 GHz
and the medium has εr=4, the spatial resolution will be (1.5E8 m/s)/(3E10 /s) = 5 mm.
A spatial resolution of c/(2Fmax) corresponds to a resolution in time
(3)
Let N be the number of points in the IFFT. N equals the number of time samples, and it also
equals twice the number of frequency samples. The density of frequency samples in the
frequency sweep influences the total time T as follows:
(4)
So increasing the density of the frequency samples leads to an increase in total time T. In practical
case, this often leads to a long tail in the TDR plot with little useful information. Therefore, the TDR
Options interface lets you set the maximum plot time to a smaller value.
The TDR Options interface also lets you choose a smaller ∆t than given by equation (3) above.
When you choose a smaller ∆t, you increase Fmax by "zero padding", i.e. adding zero values for
S11 beyond the calculated frequency sweep. Whether this is justified depends on your judgment. It
leads in practice to a smoother TDR signal.
HFSS also lets you set the rise time of your input signal. The rise time should be at least 1/(2Fmax).
Even this rise time is a bit short for comfort, as it equals the duration of only one time sample. An
input signal with a longer rise time has a smaller high-frequency content and will lead to reduced
"ringing" in the TDR response.
A Hamming or Hann filter will also reduce the high-frequency content and tends to lead to a
smoother TDR response. With these filters, one can select a width. A width of 100% is often a good
choice.
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Windowing functions cause the FFT of the signal to have non-zero values away from ω. Each
window function trades off the ability to resolve comparable signals and frequencies versus the
ability to resolve signals of different strengths and frequencies. The window type list includes:
Window
Preferred Use
Function
Rectangular A low dynamic range function offering good resolution for signals of comparable
strength. Poor when signals have very different amplitudes. w(n)=1.
Bartlett A high dynamic range function, with lower resolution, designed for wide band
applications.
Blackman A high dynamic range function, with lower resolution, designed for wide band
applications.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Window
Preferred Use
Function
Hamming A moderate dynamic range function, designed for narrow band applications. It
minimizes the maximum sidelobe.
Hanning A moderate dynamic range function, designed for narrow band applications.
(default)
Kaiser Selecting the Kaiser plot also enables a field to specify an associated Kaiser
parameter. The larger the Kaiser parameter, the wider the window. The parameter
controls the trade off between width of the central lobe and the area of the side
lobes.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Window
Preferred Use
Function
Welch This approach applies a parabola-shaped window to the frequency domain data. It
is based on the Bartlett method but splits the signal into overlapping segments,
which are then windowed. The intent is to balance the influence of data in the center
of the function.
You can use the Save as Default to set the current values as a default, and the Use Defaults
A trace in a 2D or 3D report defines one or more curves on a graph. A trace in a data table defines
part of the displayed matrix of text values.
The values used for a plot's axes (which may be X, Y, Z, phi, theta, or R depending on the display
type) can be variables in the design, such as frequency, or functions and expressions based on the
design's solutions. If you have solved one or more variables at several values, you can "sweep"
over some or all of those values, resulting in a curve in 2D or 3D space.
A report can include any number of traces and, for rectangular graphs, up to 20 independent y-
axes. Traces appear in the Project tree under their report. They can be selected, copied and
pasted.
When you move a cursor over a trace in a report, the cursor changes to show that you can make a
selection:
l For PC systems, the cursor changes to the color of the selectable trace.
l For Unix systems, the cursor changes to a solid black arrow, rather than the default black
outline.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
1. Select a report in the Project window and right-click and select Modify Report.
2. In the Report dialog specify the Y component information.
a. Specify the Category of information you want to plot from the drop down menu.
The Category drop down menu lists the available categories for the Solution type and
the current design. Selecting a category changes the Quantity and Function lists to
represent what is available for that category.
b. Specify the Quantity you want to plot by selecting from the Quantity list.
The selected quantity appears in the Value field, operated on any selected function.
e. Range Function button -- opens the Set Range Function dialog. This applies
currently specified Quantity and Function.
3. In the Report dialog specify the X axis information (for example Primary Sweep).
4. Click Add Trace.
A trace is added to the traces list under its report icon in the Project tree. The trace represents
the function of the quantity you selected and will be plotted against other quantities or swept
variable values. Selecting a Trace in the Project tree displays the Properties window for that
Trace. Selecting a trace in the report or legend displays the display Properties window for that
trace.
Trace icons can be selected, copied, and pasted for their definitions or their data. They can be
selected and deleted from the Project tree.
By the default, the Trace name is the definition (the category, quantity and function). The trace
will be visible in the report when you click Add Trace.
Trace properties can be edited directly in the respective Properties windows or edited in the
Report dialog. To change the name or definition of a trace, see Editing Trace Properties. To
edit other display properties of a trace, see Editing the Display Properties of Traces
Related Topics
Removing Traces
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
To edit trace properties such as the name, Y Axis association, the component definition, the
context, or the variables select the trace in the Project tree.
This enables editing of either the Name field in the docked properties dialog, or the Trace label
text in the Project tree. Editing this name changes the display in the Legend and in the Project
tree, but not the underlying Y-component definition.
Note To control the display of the Solution Name and Variation Key in the Legend, see Report
2D: Legend Tab.
To edit the Y Axis associated with the trace (2D Rectangular and Rectangular Contour plots):
This displays the an edit Component field window from which you can edit the category,
quantity and function.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
1. Select the trace in the Project tree to display the docked properties window.
2. In properties window, click the Solution field or the Domain field. If other selections are
possible, they can be selected from the drop down menu.
1. Select the trace in the Project tree to display the docked properties window.
2. Under the -Variables category, on the Families line, click the Edit button to display the Edit
families dialog.
From this dialog, you can select the Sweeps or Variations radio buttons. Each selection
changes the
If other nominal values are available you can click the ellipsis button to select from a list.
Related Topics
Removing Traces
Editing the display properties of traces differs for 2D and 3D reports. To edit the display properties
of a trace for a 2D report:
The display properties window for a 2D trace includes a General tab and an Attributes tab.
The General tab properties apply to the general appearance of the plot. They include the
Background color, Contrast color, Field width, and Whether to use Scientific notation for marker
and delta marker displays. (X and Y notation display is set separately, in the Axis property
tabs.)
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The Attributes tab properties apply specifically to the trace. The defaults are set in the
Report2D options. They include:
l Name -- not editable by selecting the trace from the Report. It shows the characteristics of
the trace as defined in the Report dialog.
l Color -- shows the Trace color. Double click to open a Color dialog. You can select from
Basic colors, or custom colors. You can define up to 16 custom colors by selecting or by
editing the values for Hue, Saturation, Luminescence, and the Red, Green, and Blue.
l Line style -- a drop down menu lets you select Solid, Dot, Dash, or Dot-dash.
l Line width -- a text field lets you edit the numeric value.
l Trace type -- the drop down menu contains entries for Continuous, Discrete, Bar-Zero,
Bar Infinity, Stick Zero, Stick Infinity, Histogram, Step, and Stair.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Notice the difference between Stair and Digital is that each Stair centers on a data point with
transitions halfway between points, and Digital transitions from each data point to the next
value.
The next four properties work together to define whether to show a symbol on data points, the
symbol frequency, the symbol style, and whether to display the symbol as solid or hollow.
l Show Symbol -- whether to show a symbol at the data points on the line.
l Symbol Frequency -- how often to show symbols on the trace, based on the number of
data points per symbol used. For example, specify 1 for one symbol per data point.
Specify 10 for one symbol for every 10 data points.
l Symbol Style -- use a drop down menu to select from box, circle, vertical ellipse, horizontal
ellipse, vertical up triangle, vertical down triangle, horizontal left triangle, horizontal right
triangle.
l Fill Symbol -- use the check box to set the symbol display as a solid or as hollow.
l Symbol Arrows -- use the check box to use arrows on the curve ends.
Note So that curves with single points always appear, Box is the default symbol.
3. Edit the properties, if needed. Click OK to apply the changes and close the window.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
1. Click on the trace. This opens a Properties dialog for the plot with a tab named for the trace
selected.
2. The editable properties include Point size, Point Style, whether to show points, whether to
show line, line width, and line style.
Related Topics
Removing Traces
The Reporter includes Report 2D>Marker> menu commands and toolbar icons
that let you add markers to traces. A marker appears as "mN" at the marked point, where N
increments from 1 as you place additional markers. Each marker can be selected and has editable
properties including name, font, background and color. As you place markers, one or more marker
legends may be displayed, depending on the View>Active View Visibility settings for the
legends. The main marker legend appears in the upper left of the plot, and lists the marker names
and their X and Y values in a table. You can control the number format for the table values via the
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
properties window, general tab. Under Marker/Other Number format, you can specify field width,
precision, and whether to use scientific notation. This value is independent of the Axis tab number
properties. A separate marker legend appears for Delta Markers, as described for the Delta
Marker command.
When you enter Marker mode, the cursor arrow is accompanied by an "m" while a circle on the
selected trace shows the current position for a potential marker.
To end Marker mode, right-click to display the shortcut menu, and select End Marker Mode.
The available Marker mode commands and associated icons are the following:
l Marker -- this command lets you place a marker at an arbitrary point on a selected trace.
l X Marker -- this command adds up to 10 movable markers at the origin of the plot with a
vertical line rising from the X axis. Each added marker has its own color and editable
properties. To move an X marker, click on the X label and drag it to the desired location. The
label at the bottom of the line gives the X coordinate, and flag on the vertical line identifies the
Y coordinate on the trace. A trace property lets you lock the drag feature to leave the marker
in place. The X markers are cleared by the Clear All command.
l Bring X Marker into view -- this command is enabled if an X Marker is not visible in the
plot. It allows you to select from a list of existing X Markers to bring into view.
l Y Marker -- this commands adds up to 10 Y Markers with a horizontal line extending from
the Y axis. For more detail on Y Markers and their use, see Y Markers in stacked XY plots.
l Bring Y Marker into view -- this command is enabled if a Y Marker is not visible in the plot.
It allows you to select from a list of existing Y Markers to bring into view.
l Delta Marker enters delta marker mode, placing a circle on the selected trace. Clicking
on the trace sets an initial point and subsequent clicks on arbitrary points on the trace place
additional markers until you leave marker mode. These markers have their own legend,
which includes the following information for each pair of markers specified:
l Next Peak -- moves a selected marker on the next peak on a trace. You must exit
marker mode and select a marker to enable this command.
l Next Minimum -- moves a selected marker to the next minimum on a selected trace.
You must exit marker mode and select a marker to enable this command.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Previous Peak -- moves a selected marker on the previous peak on a selected trace.
You must exit marker mode and select a marker to enable this command.
Related Topics
Removing Traces
Zoom In or Out
Showing Objects
Hiding Objects
Y Markers allows for easy analysis and comparison of curves at a particular y-coordinate. Y
Markers can be used to compare stacked curves.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
There are two ways to create Y Markers in Stacked Plots. You can create a Y Marker for a
particular stack or for all stacks. Right clicking on any stack shows following context menu:
Add Y Marker > Current Stack creates a Y marker for the stack on which user performed right
mouse button click. The following figure shows that a Y Marker was added to second stack only:
Add Y Marker >All Stacks creates one Y marker in each stack with same value. Initially this
value is the minimum Y value of the Y ranges in all the stacks. This is shown is figure below:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Notice that the Y Marker for All Stacks has a different appearance than the Y Marker for a
particular stack, that is, it has double parallel lines above and below the Y Marker textbox.
Synchronized Y Markers
All the "same" Y markers for all stacks are synchronized, that is to say that if one Y marker is
dragged or it's value is changed, all the "same" Y markers in all the stacks will change their position
too. The figure below shows that when Y marker in bottom stack was dragged, Y marker in top
stacks moved as well:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Also if a property of any one Y Marker is changed, all the "same" Y Markers show the change in
property as well. For example the figure below shows that when the line color of a Y Marker in the
top stack was changed to red color, a Y Marker in bottom stack show the same line color as well:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
When a new curve is added to the plot, it gets all the Y Markers for all stacks in other stacks,
excluding the Y Marker for particular stacks.The figure below shows that when the new curve "dB
(S(Port3, Port1)" was added, a Y Marker was added to it with value -3.14 and it has all the same
properties as other "same" Y Markers in other stacks:
When two more Y Markers are present in a Stacked Eye Diagram then delta annotations are
shown between a pair of adjacent Y Markers in all the stacks, as shown in figure below:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Deleting a Y Marker
To delete a Y Marker, select a Y Marker in any stack and press the Delete key. This action will also
delete all the corresponding Y Markers in all the stacks. For example, when the Y Marker with
value -3.13 (red Y Marker) was deleted from the bottom most stack, all of the corresponding Y
Markers were also deleted:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note that on deleting a stack, Y Markers in other stacks are not affected.
The following figure shows a Rectangular XY Plot with two curves and a Y Marker with value -3.15
(blue Y Marker):
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
If you change the Display Type property of this plot to Rectangular Stacked Plot then a
Rectangular Stacked XY Plot is created with each curve in its own stack and a Y Marker is shown
in each stack with value -3.15 (blue Y Marker):
Similarly when you change a Rectangular Stacked XY Plot to a Rectangular XY Plot then all the
"same" Y Markers in all the stacks are shown as a single Y Marker in Rectangular XY Plot as
shown in following figures:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The Rectangular Stacked XY Plot in the previous figure, when converted to Rectangular XY Plot,
looks like the figure below:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Related Topics
To prevent real small numbers from skewing a plot, you can discard small values (below a
specifiable threshold).
2. Under the Axis tab, use the scroll bar to find the Specify Discard Values property.
3. Click the check box to enable the property.
4. Enter a value in the Discard Below field. Units specified elsewhere in the Axis property are
applied to this value. The Discard Below text box is inactive if the Specify Discard Values
check box is not enabled.
5. Click OK to apply the Discard Values to the report.
Related Topics
Removing Traces
Modifying Reports
There are several options for adding characteristics to a trace. When you click Report 2D>Trace
Characteristics, or right-click a selected trace, the short cut menu is displayed. The following
example shows the menu with expanded Recent selections.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The following shows the short cut menu for Eye Measurements, which includes the Add All Eye
Measurements option. You can use this option to add all eye measurements at once.
If you recently used a characteristic, you can add it to a selected trace by selecting from a list of
recently used characteristics. A maximum of 10 is displayed in the menu, and they are sorted
alphabetically.
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
You can add a trace characteristic to a selected trace by selecting from a list of favorites. A
maximum of 10 is displayed in the menu, and they are sorted alphabetically.
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
3. Select All. This displays the Add Trace Characteristics dialog box.
4. Click the Favorite check box in front of any function you want to add to Favorites. You can
define as many favorites as you need, but no more than 10 are displayed in the menu, and
they are displayed in alphabetical order.
5. Click Close. You can view the current favorites by selecting Favorites in the Category drop-
down list
Note You can remove favorites by clearing the Favorite check box for one or more
functions, and clicking Close.
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
You can add characteristics to a selected trace by selecting from the Add Trace Characteristics
dialog box.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
4. Select the Category. The available categories depend on the plot, and the selecting of a
category displays its associated functions.
Category Functions
Recent Displays the most recent functions used, sorted by the time they were
added.
Favorites Displays all favorites. The defaults are avg, max, min, and pk2pk.
All Displays all available functions.
Math avg, avgabs, integ, integabs, max, mean, min, pk2pk, pkavg, ripple, rms,
rmsAC, stddev, sum, variance, XatYMax, XatYMin, XatYVal,
XWidthAtYVal, YatXMax, YatXMin, YatXVal
PulseWidth pulsefall9010, pulsefront1090, pulsefront3090, pulsemax, pulsemaxtime,
pulsemin, pulsemintime, pulsetail50, pulsewidth5050, pw_minus, pw_
minus_avg, pw_minus_max, pw_minus_min, pw_minus_rms, pw_plus,
pw_plus_avg, pw_plus_max, pw_plus_min, pw_plus_rms
Overshoot/ overshoot, overshootAbs, undershoot, undershootAbs
Undershoot
TR & DC crestfactor, deadtime, delaytime, distortion, formfactor, fundamentalmag,
risetime, settlingtime
Error iae, ise, itae, itse
Period per, pmax, pmin, prms
AC gainmargin, phasemargin, gaincrossover, phasecrossover, lowercutoff,
uppercutoff, bandwidth, peakgain, peakgainfreq
Radiation lSidelobeY, rSidelobeY, lSidelobeX, rSidelobeX, xdb10Beamwidth,
xdb20Beamwidth
Eye EyeLevelZero, EyeLevelOne, EyeAmplitude, EyeHeight,
Measurements EyeSignalToNoise, EyeOpeningFactor, EyeWidth, EyeJitterP2P,
EyeJitterRMS, EyeRiseTime, EyeFallTime, MinEyeWidth, MinEyeHeight
TDR Shunt_C_in_pF, Series_L_in_nH
For a selected function, the Add Trace Characteristics dialog displays the function’s purpose
in a text field. For a list of functions and their definitions, see the table in Defining Traces Using
Range Functions.
5. Some categories and functions call for you to specify one or two additional values in a table.
You can save these values using the Save as Default button. The Default column shows a
Y if there is a saved default value for the function.
6. Select the Current sticky range overrides saved default check box if you do not want
the range value in the table to be changed when the function selection is changed: the
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
current range value becomes the “sticky range.” If the check box is not checked, the range
value is updated from the saved default values and becomes a new sticky range.
7. Click the AddTrace Characteristic button to add the specified characteristics to the trace.
8. Click Close.
Related Topics
Related Topics
Removing Traces
You can remove traces from the traces list in the following ways:
l Select the trace you want to remove from the Project tree, and then click Delete.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Related Topics
You can copy and paste report and individual trace definitions within a single design or across
designs. The report or trace definition will be evaluated within the context of the target design or
report.
Note If the report or trace definition contains properties that do not exist in the target design (for
example, a port name) an error will be posted that indicates a solution does not exist for
this trace
Note You must copy and paste trace definitions between the same report types. For example,
you cannot copy a trace from a Modal Solution Data report and paste it in a Far Fields
report.
Right click on the report name in the project tree and select Copy Definition from the shortcut
menu.
Right click on Results in the project tree of the target design and select Paste.
Right click on the trace or traces under a report name in the project tree and select Copy
Definition.
Right click on the report in the target design to which you would like to copy the trace or traces and
select Paste.
A new trace(s) is added to the report and it contains the copied trace definition(s).
Note If you copy and paste a report or trace definition to a design which contains a definition with
the same name, then an incremented number is appended to the pasted report or trace
name.
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
You can copy and paste report and individual trace data within a single design or across designs.
The report and trace definitions and all underlying data within the report or trace are copied and
pasted to the target design or report.
Right click on the report name in the project tree and select Copy Data, or use the menu bar
Edit>Copy Data, or right click within a plot to display a shortcut menu with Copy Data.
Right click on Results in the project tree of the target design and select Paste.
Right click on the trace or traces under a report name in the project tree and select Copy Data.
Right click on the report in the target design to which you would like to copy the trace data and
select Paste.
Note If you copy and paste report or trace data which contains the same name definition as a
report or trace in the target design then an incremented number will be appended to the
pasted name.
Related Topics
Limit lines are simple graphical representation of constraints on XY plots. These are modeled as a
sequence of XY point pairs, or as offsets from a selected curve. You can designate a single limit
line to delineate an upper limit, or two lines to delineate upper and lower limits, or upper and lower
offset lines simultaneously.
You can control the display properties of the line including color and hatch width in pixels. These
lines are available only on XY plots (and not on the XY-like plots: bode, stacked etc)
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note Limit lines are available only on Rectangular (XY) plots, not on XY-like plots such as Bode
or Rectangular Stacked. On 2D Plots, the axes extents are based on the extents of the
curves.
1. Click Report2D>Add Limit Line or right-click on an XY plot and select Add Limit Line...
from the Context menu. You then select whether to Specify Points, or From a Selected
Curve, or Specify Equation.
Select Specify Points to open an Edit Dataset dialog so that you can specify points.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Select From Selected Curve to open the Limit Line From Curve dialog.
Select Specify Equation to open the Limit Line from Equation dialog.
If you require additional data points, you can use the buttons to Append Rows to the
Coordinates table. If you select a row in the Coordinates table, you can then use the buttons to
Add Row Above, Add Row Below the selected rows, or Delete Rows.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
You can use Shift-Click to select multiple adjacent rows, or Ctrl-Click to select any rows for
deletion.
Note Each limit line is associated with a particular Y axis (because it has to be scaled the same
way as all the curves associated with the axis, follow its log/linear scale and so on). This Y
axis association defaults to the first available Y axis when the limit line is created. However,
if the plot contains multiple Y axes, it can be associated with a different Y axis later via its
properties tab.
3. You can use the Limit Line From Curve dialog to create a limit line with a:
l Range using the Entire Curve, or a specified Start and Stop.
If you uncheck “Entire Curve,” the Start and Stop fields are enabled and initialized based on
the zoom level.
6. You can select the limit line in the plot to edit its properties via the Limit Line tab of the plot
properties.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The following example shows the a limit line from curve plot, where the Hatch Above property for
the lower limit line has been unchecked.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
You can use a plotting feature to help you discern whether a curve violates a limit line or not.
Consider following plot which shows two curves:
Suppose that the response cannot be below -30 dB till 1.5 GHz and below -50 dB above 1.5 GHz.
You add a limit line for this requirement in the plot using 'Add a Limit Line' functionality. The plot
automatically calculates whether a curve violates this requirement, that is, the limit line and show it
in the legends window, as shown in following figure:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
If a curve is selected, then the plot shows the region of the curve that violates the limit line (shaded
with slanted red lines), as shown in following figures:
Note:
If no curve violates a limit line then limit line hatching is limited to 10 pixels; otherwise to infinity as
shown in following figure. This is done to retain focus on the curves instead of the limit lines.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Error Handling
If plot encounters an error while calculating Limit Line Violations the legend window shows 'NaN
(Limit Line name)' in front of the curve under 'Limit Line Violations' column. This ensure that you do
not get misleading information about no-violations when the issue is actually a limitation in our
code.
Related Topics
In HFSS, a swept variable is a variable that typically has more than one value. You can plot any
calculated or derived quantity against one or more of the swept variable's values.
For large projects or projects with many variables, you may obtain faster post processing before
generating a solution by selecting which variables function as Sweep variables. Only the variables
with Sweep enabled are indexed for post processing. See Adding a Design Variable and Adding a
Project variable.
1. In the Report dialog, select the variable from the X (Primary Sweep) pulldown menu.
2. To modify the values that will be plotted for a variable:
a. Click the ellipsis [...] button on the X (Primary Sweep) line of the Report dialog to
displays a popup list of the possible values.
b. Select All Values or click the Edited button to display a dialog that lets you
specify the sweeps to use.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Related Topics
1. If you are plotting a field quantity along a line, define a polyline object in the problem region.
If you are plotting a near-field quantity along a line, set up a near-field line.
2. In the Report dialog box, click the line geometry of interest in the Geometry list.
3. Specify the quantities you want to plot along the axes.
4. For the X (Primary Sweep), select the Distance variable.
The values at which the selected quantity or quantities will be plotted are listed to the right. By
default, a post-processing polyline object is divided into 100 equally spaced points.
5. For Near field, to plot the selected quantity or quantities at every point on the line, select All
Values.
For Near field, to plot the selected quantity or quantities at specific points on the line, clear the
All Values option, and then select the point values on which you want to plot.
Note All maximum near-field data calculated by HFSS is at their maximum over the selected line
object; if you plot the parameter over a sweep of values, the parameter will have the same
value at each point on the plot.
Related Topics
4. Clear the Use all values check box to enable selection and editing of the sweep values.
All of the possible values for the phi variable are listed in the dialog. The values are the result of
the range of phi you specified during the infinite sphere's setup. To modify the values of phi to be
plotted across the sphere, do the following:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The values listed are updated to reflect the new number of points.
5. To plot the selected quantity or quantities at every value of phi, select All Values.
To plot the selected quantity or quantities at specific values of phi, clear the All Values option,
and then select the phi values at which you want to plot.
6. For the Sweeps variable corresponding to theta, follow steps 4 and 5 for modifying the
values of theta, if necessary, and specifying the theta values at which to plot the selected
quantity or quantities.
Note All antenna parameters and maximum far-field data calculated by HFSS is at their
maximum over the selected object; if you plot the parameter over a sweep of values,
the parameter will have the same value at each point on the plot.
The value of a quantity being plotted depends upon its mathematical function, which you select
from the Trace tab Function list in the Report dialog box. The available, valid functions depend
on the type of quantity (real or complex) that is being plotted. The function is applied to the quantity
which is implicitly defined by all the swept and current variables. For example, "S(11)" is the value
of the S-parameter for every swept combination of variables (e.g., "height", "frequency" and so
forth). (A smaller set of functions appears for the Function list in the Output Variables dialog.)
These functions can also be applied to previously specified Quantities and Functions as Range
Functions when using the Set Range Function dialog.
Some of these functions can operate along an entire curve. These are: deriv, min, max, integ, avg,
rms, pk2pk, cang_deg and cang_rad. These functions have syntax as follows:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
You can select from the following functions in the Trace tab Function list or type them directly into
the Yor X field, if necessary.
abs Absolute value of the simulation quantity which results in a number that is
always positive.
acos Arc cosine i.e. the inverse function of a cosine.
acosh Inverse hyperbolic arc cosine.
ang Magnitude of an angle.
ang_deg Angle (phase) of a complex number, cut at +/-180.
ang_deg_val Angle (phase of a complex number in unitless degree values. Returns
simple numbers.
ang_rad Angle in radians.
arg Argument of a complex number. It is the angle the complex number makes
with the positive x axis. Same as ang_deg.
asin Arc sine i.e. inverse function of sine.
asinh Inverse hyperbolic sine.
atan Arc tangent i.e. the inverse function of a tan.
atanh Inverse hyperbolic tan.
atan2 Two argument function. For non-0 x,y, the function returns the angle
between the + x-axis and the given x,y coordinates.
avg Returns the average of the values of the selected quantity.
avg = (Area between the curve and the X-axis) / ( X length of the curve)
avgabs Returns the mean of the absolute value of the selected quantity.
bandwidth Returns the 3dB bandwidth of the selected simulation quantity. For
bandwidth, the calculation is based on 3dB below the maximum peak.
cang_deg Cumulative angle (phase) of the first parameter (a complex number) in
degrees, along the second parameter (typically sweep variable). Returns a
double precision value cut at +/-180.
cang_deg_val Cumulative angle (phase) of the first parameter of the selected simulation
quantity in unitless degree values. Returns simple numbers.
cang_rad Cumulative angle of the first parameter in radians along a second
parameter (typically a sweep variable). Returns a double precision value.
cmplx(re, im)
A complex number, where re is the real part and im is the imaginary part.
conjg Conjugate of the complex number.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
cos Cosine.
cosh Hyperbolic cosine.
crestfactor Returns the crest factor (peak/RMS) for the selected quantity.
cum_integ The cumulative integral function returns a set of values that have the same
length as the original set of points (the first element will always be zero).
Element I of the set returned by cum_integ is the integral of elements 1
through I of the original data set.
cum_sum The cumulative sum function returns a data set that has the same length as
the original set of points. Element I of the set returned by cum_sum is the
sum of elements 1 through I of the original data set.
dB(x) 20*log10(|x|) to base 10.
dBc Decibels relative to the carrier. It is the power ratio of the signal to a carrier
signal. Gives the relative signal strength.
dBm(x) 10*log10(|x|) +30.
dBW(x) 10*log10(|x|).
dB10 10*log(|x|) to base 10.
dB10normalize 10*log [normalize(mag(x))].
dB20 20*log(x) to base 10.
dB20normalize 20*log [normalize(mag(x))].
deadtime Obtains the latest time when the qtyl is within a tolerance of zero.
delaytime Obtains the time from zero to 50% of the target point.
degel Conversion from degrees electrical to seconds with respect to Hz.
deriv Derivative of first parameter with respect to second parameter.
distortion Returns the total distortion for the selected simulation quantity and an
additional argument frequency, which is the frequency in Hz at which to
calculate the fundamental RMS of the simulation quantity.
even Returns 1 if integer part of the number is even; returns 0 otherwise.
exp Exponential function (the natural anti-logarithm) of the simulation quantity.
formfactor Returns the form factor (RMS/Mean Absolute Value) for the selected
quantity.
fundamentalmag Returns the RMS value of the fundamental frequency for the selected
quantity, and an additional argument, Frequency, which specifies the
fundamental frequency.
gaincrossover Returns the gain crossover frequency (where the gain is 0 dB) of the
selected simulation quantity in Hz.
gainmargin Returns the gain margin in dB at the phase crossover frequency of the
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
90% estimate.
pulsemax Returns the pulse maximum from the front and tail estimates for the
selected quantity.
pulsemaxtime Returns the time at which the maximum pulse value of the selected quantity
is reached.
pulsemin Returns the pulse minimum from the front and tail estimates for the selected
quantity.
pulsemintime Returns the time at which the minimum pulse value of the selected quantity
is reached.
pulsetail50 Returns the pulse tail time of the selected quantity from the virtual peak to
50%.
pulsewidth5050 Returns the pulse width of the selected quantity as measured from the 50%
points on the pulse front and pulse tail.
pwl Piecewise Linear.
pwl_periodic Piecewise Linear for periodic extrapolation on x.
pwlx Piecewise Linear x with linear extrapolation on x.
pw_minus Pulse width of the first negative pulse.
pw_minus_avg Returns the average of the negative pulse width input stream.
pw_minus_max Returns the maximum pulse width of the negative pulse of input stream.
pw_minus_min Returns the minimum pulse width of the negative pulse of input stream.
pw_minus_rms RMS of the negative pulse width input stream.
pw_plus Pulse width of the first positive pulse.
pw_plus_avg Average of the positive pulse width input stream.
pw_plus_max Max. Pulse width of the positive pulse of input stream.
pw_plus_min Min. Pulse width of the positive pulse of input stream.
pw_plus_rms RMS of the positive pulse width input stream.
re Real part of the complex number.
rect Converts the complex number in polar to rectangular co-ordinates.
rem Fractional part of the selected simulation quantity i.e. remainder.
ripple Returns the ripple factor (AC RMS/Mean) for the selected quantity.
risetime Obtains the time taken to go from 10% to 90% of target point.
rms Returnns the root mean square value of the selected quantity.
rmsAC Returns the AC RMS for the selected quantity.
root nth root function.
rSidelobeX Returns the X value of right side-lobe occurrence.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Related Topics
When you create a report of Modal or Terminal solution data, each trace in the report includes a
quantity that is plotted along an axis. The quantity being plotted can be a value that was calculated
by HFSS or HFSS 3D Layout, such as S11, a value from a calculated expression, or an intrinsic
(inherent) variable value such as frequency or theta. The valid categories available depend on the
type of quantity (real or complex) that is being plotted, the setup, the solution type, and the plot
domain.
1. In the Report dialog box, Trace tab, select one of the following categories. The selected
category provides the default name for the plot, such as S Parameter Plot n. You can edit the
plot names in the project tree and the plot header text in the report synchronizes.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The other relative active quantities are simply transformations on the active
Sm.
Active Y- Y0(M) is the port admittance of the m-th mode.
parameter
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Active VSWR Active Voltage standing wave ratio is supported only for driven modal
projects.
2. Select a quantity to plot from the Quantity list. The available quantities will depend upon the
selected category and the setup of the design.
When plotting field quantities, the quantity can be a value that was automatically calculated by
HFSS such as the magnitude of S11, a value from a calculated expression, or an intrinsic (inherent)
variable value such as frequency or phase.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
1. When you create the report, specify the Report Type as "Fields" and the plot type (for
example, radiation pattern.)
2. In the Report dialog, select Geometry for the Context, unless you are plotting scalar (for
example, integration). For example, to plot near-field values across a sphere, you select the
sphere object from the Geometry list in the Traces dialog box when you create a report.
3. In the Report dialog, select one of the following categories. The selected category provides
the default plot name. You can edit the plot names in the project tree and the plot header text
in the report synchronizes.
4. Select a quantity to plot from the Quantity list. The available quantities will depend upon the
selected category and the setup of the design. See Field Quantities list for definitions.
When plotting far-field quantities, the quantity can be a value that was calculated by HFSS such as
antenna gain, a value from a calculated expression, or an intrinsic (inherent) variable value such as
frequency or theta.
1. When you create the report, specify the Report Type as "Far Fields."
2. In the Report dialog box, select one of the following Categories for the field setup:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
where
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
where
The following diagram shows the bistatic RCS concept, with separate transmitting and receiving
antennas.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Each Category item that you select causes the Quantity list to offer quantities appropriate to
selected category. Category selection for a Variable of an Output Variable lists those available
in each case. Selecting Antenna Parameters as Category causes the Quantity list to show
Antenna parameters. The selected Category provides the default report name, such as rE Plot
n.
If the Category item you select is rE, Gain, Directivity, or Realized Gain, you will need to specify
the polarization of the electric field by selecting from the Quantity list. This ability to plot the gain
of certain vector components (polarizations) of the electric field allows you to evaluate how well
your antenna radiates in desired polarizations.
For example, if you select Gain as the Category, and RHCP as the Quantity, HFSS evaluates
the equation as follows:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
2. You can also select a function to apply to the your selections for the Category and Quantity
(for example, mag).
As you make selections in the Report dialog for Category, Quantity, and Function, the Y field
shows the combined calculation they describe.
Related Topics
Selecting a Function
Creating Reports
Modifying Reports
When plotting far fields, a vertical cross-section plot results from holding phi fixed and sweeping
theta through a range of values.
This displays a dialog listing all values for the phi variable. The values are the result of the range
of phi you specified during the infinite sphere's setup.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
3. Select the fixed value that phi should take in the plot.
HFSS will display values for the vertical cross-section at selected phi cuts of the problem region
at a set of theta rotations.
The figure shown below demonstrates the orientation of the vertical cross-section when φ is the
fixed variable:
When plotting far fields, a horizontal cross-section results from holding theta fixed and sweeping
phi through a range of values.
1. Click the ellipsis [...] button for the sweep variable corresponding to theta.
To the right, all of the possible values for the theta variable are listed. The values are the result
of the range of theta you specified during the infinite sphere's setup.
2. Select the fixed value that theta should take in the plot.
HFSS will display values for the horizontal cross-section at selected theta cuts of the problem
region at a set of phi rotations.
The figure shown below demonstrates the orientation of the sphere on which the field is computed
when θ is the fixed variable:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
When plotting near-field quantities, the quantity can be a value that was calculated by HFSS, a
value from a calculated expression, or an intrinsic (inherent) variable value such as frequency or
theta.
1. When you create the report, specify the Report Type as "Near Fields."
2. In the Report dialog box, select one of the following categories. The selected category
provides the default name of the report.
3. If you selected the Near E category, specify the polarization of the electric field by selecting
one of the following types of quantities from the Quantity list:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
If a Near-field plot takes a long time to plot, be sure to perform File>Save when the plot is
displayed. This saves the calculated data and permits fast display on subsequent viewings of the
plot.
Related Topics
1. When you create the report, select Antenna Parameters. The format can be Data Table,
Rectanglar Plot, or Rectangular Stacked Plot, but because each trace includes a single
quantity, you may prefer Data Table as the most appropriate display.
2. In the Report dialog box, select Antenna Params as the Category and apply an appropriate
Quantity from the list:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
a
PeakGain FrontToBackRatio MaxrEZCompAtPhi MaxrERHCPComp
PeakRealizedG
MaxrETotal MaxrEZCompAtTheta MaxrERHCPCompAtPhi
ain
PeakSystemGai MaxrERHCPCompAtThet
MaxrETotalAtPhi MaxrEThetaComp
n a
MaxrETotalAtThet MaxrEThetaCompAtP
BeamArea MaxrELudwig3XComp
a hi
MaxrEThetaCompAtT MaxrELudwig3XCompAtP
RadiatedPower MaxrEXComp
heta hi
MaxrEXCompAtPh MaxrELudwig3XCompAtT
AcceptedPower MaxrEPhiComp
i heta
MaxrEXCompAtTh
IncidentPower MaxrEPhiCompAtPhi MaxrELudwig3YComp
eta
RadiationEfficie MaxrEPhiCompAtThet MaxrELudwig3YCompAtP
MaxrEYComp
ncy a hi
MaxrEYCompAtPh MaxrELudwig3YCompAtT
MaxU MaxrELHCPComp
i heta
MaxrEYCompAtTh MaxrELHCPCompAtP
ArrayFactor
eta hi
3. If desired you may select a Function for the quantity from the function list.
4. Select New Report to create the Report.
4. You can select additional Quantities and Add Trace. Each additional trace appears in the
report and in the Project tree:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Related Topics
This displays the Digital Signal Options dialog. It contains fields for the rise time and hold
time.
Related Topics
1. In the Solution pull-down list in the Report dialog box, click the imported data you want to
plot.
2. Follow the procedure for creating a report.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
This opens the Set Range Function dialog. The functions available are the same as described
in the Selecting a Function section, with the exception of those for the Eye Measurements
category.
Selecting the None radio button disables the Range Function fields.
3. Select the Category, and then an associated Function to apply. The available categories
depend on the plot, and Category enables the display of associated functions.
Given a selected Function, and Category, the Set Range Function dialog displays a text field
that explains the Purpose of the function. See figure above.
Selecting a function causes the display of a description in the Purpose field. If the function
requires a value (such as the XatYVal Math function or the pw_minus_max Pulse Width
function), the table below the function field displays the name, editable value field, unit, and
description.
4. Use the Over Sweep drop down menu to select from available sweeps.
5. To select from available Sweeps, or to edit them, use the ellipsis [...] button and uncheck
Use All Sweeps.
This enables a list of the sweeps. The sweep(s) you select is displayed on the Over Sweep line.
You can use the buttons to Clear All Selections or Select All sweeps.
6. Select the Sweeps Default or Edited radio buttons to specify whether to accept the default
or edited sweeps.
7. To edit the sweeps further, select the ellipsis button to display an Edit Sweep dialog.
For frequency variables, this lets you specify a single value, linear step, linear count, decade
count, octave count, or exponential count. You can Add legal values to the list of sweep values,
Update the list for changes, or Delete selected entries.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Related Topics
Range Functions
Selecting a Function
Range Functions
The following table shows the Functions according to their Categories. The most commonly
used range categories are Math and Radiation. Other functions could be used if needed. Use the
category links to navigate to tables with definitions of functions.
Category Functions
Math max, min, pk2pk, rms, sum, mean, variance, stddev, integabs, avgabs, rmsAC,
ripple, pkavg, XatYMin, XatYMax, YAtXMin, YAtXMax, XAtYVal, YAtXVal,
XWidthAtYVal
PulseWidth pulsemin, pulsemax, pulsemintime, pulsemaxtime, pulsefall9010,
pulsefront1090, pulsefront3090, pulsetail50, pulsewidth5050, pw_plus, pw_
minus, pw_plus_avg, pw_minus_avg, pw_plus_max, pw_minus_max, pw_
plus_min, pw_minus_min, pw_plus_rms, pw_minus_rms
Overshoot, overshoot, undershoot.
Undershoot
TR & DC crestfactor, formfactor, distortion, fundamentalmag, delaytime, risetime,
deadtime, settlingtime
Error iae, ise, itae, itse
Period per, pmax, pmin, prms
AC gainmargin, phasemargin, gaincrossover, phasecrossover, lowercutoff,
uppercutoff, bandwidth, peakgain, peakgainfreq.
Radiation xdb10bandwidth, xdb20bandwidth, lSidelobeX, lSidelobeY, rSidelobeX,
rSidelobeY
Eye EyeLevelZero, EyeLevelOne, EyeAmplitude, EyeHeight, EyeSignalToNoise,
Measurements EyeOpeningFactor, EyeWidth, EyeJitterP2P, EyeJitterRMS, EyeRiseTime,
EyeFallTime, MinEyeWidth, MinEyeHeight
Note: Refer to the SI Wave or Nexxim online help for more information. The
Purpose field offers brief descriptions of each.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Math Functions
*avg Returns the average of the values of the selected quantity.
avg = (Area between the curve and the X-axis) / ( X length of the curve)
avgabs Returns the mean of the absolute value of the selected quantity.
integabs Absolute value of integral.
max Returns maximum value of the simulation quantity.
mean Returns the average in the set of quantities selected.
Radiation Functions
lsidelobeX The 'x' value for the left side lobe: the next highest value to the left of the
max value.
lsidelobeY The 'y' value for the left side lobe: the next highest value to the left of the
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
max value.
rSidelobeX Returns the X value of right side-lobe occurrence.
rSidelobeY Returns the Y value of right side-lobe occurrence.
xdb10beamdwidth Width between left and right occurrences of values 'x' db10 from max.
Takes 'x' as argument (3.0 default). To use this function, you need to open
the Add Trace Characteristics dialog and select the Radiation category.
xdb20beamwidth Width between left and right occurrences of values 'x' db20 from max.
Takes 'x' as argument (3.0 default) To use this function, you need to open
the Add Trace Characteristics dialog and select the Radiation category.
Note: In this table, the functions with the asterisk (*) do not appear on the Range Function drop
down menu. They can still be used via text entry.
pulsefall9010 Returns the pulse fall time of the selected quantity
according to the 90%-10% estimate.
pulsefront1090 Returns the pulse front time of the selected quantity
according to the 10%-90% estimate.
pulsefront3090 Returns the pulse front time of the selected quantity
according to the 30%-90% estimate.
pulsemax Returns the pulse maximum from the front and tail
estimates for the selected quantity.
pulsemaxtime Returns the time at which the maximum pulse value of the
selected quantity is reached.
pulsemin Returns the pulse minimum from the front and tail
estimates for the selected quantity.
pulsemintime Returns the time at which the minimum pulse value of the
selected quantity is reached.
pulsetail50 Returns the pulse tail time of the selected quantity from the
virtual peak to 50%.
pulsewidth5050 Returns the pulse width of the selected quantity as
measured from the 50% points on the pulse front and pulse
tail.
*pwl Piecewise Linear.
*pwl_periodic Piecewise Linear for periodic extrapolation on x.
*pwlx Piecewise Linear x with linear extrapolation on x.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Overshoot/Undershoot
Overshoot Calculates peak overshoot given a threshold value and number of evenly spaced
points over entire time range.
Undershoot Calculates peak undershoot given a threshold value and number of evenly spaced
points over entire time range.
TR & DC Functions
crestfactor Returns the crest factor (peak/RMS) for the selected simulation quantity.
formfactor Returns the form factor (RMS/Mean Absolute Value) for the selected
quantity.
distortion Returns the total distortion for the selected simulation quantity and an
additional argument frequency, which is the frequency in Hz at which to
calculate the fundamental RMS of the simulation quantity.
fundamentalmag Returns the RMS value of the fundamental frequency for the selected
quantity, and an additional argument, Frequency, which specifies the
fundamental frequency.
delaytime Obtains the time from zero to 50% of the target point.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
risetime Obtains the time taken to go from 10% to 90% of target point.
deadtime Obtains the latest time when the qtyl is within a tolerance of zero.
settlingtime Returns the latest time at which the value of the selected simulation quantity
fell outside its tolerance band. The target value of the quantity and the +/-
bandwidth of the tolerance band are the additional arguments.
Error Functions
iae Returns the integral of the absolute deviation of the selected quantity from a target value
that is entered via the additional argument.
ise Returns the integral of the squared deviation of the selected quantity from a target value
that is entered via an additional argument.
itae Returns the time-weighted squared deviation of the selected quantity from a target value
that is entered via an additional argument.
itse Returns the time-weighted squared deviation of the selected quantity from a target value
that is entered via an additional argument. To use this function, you need to open the Add
Trace Characteristics dialog and select the Error category.
Periodic Functions
per Returns the period of a simulation quantity.
pmax Max period of the selected simulation quantity.
pmin Minimum period of the selected simulation quantity.
prms Period Root Mean Square.
AC Functions
gainmargin Returns the gain margin in dB at the phase crossover frequency of the
selected simulation quantity. It also requires a reference simulation quantity to
which the measured quantity is compared and the AC magnitude and phase
angle of the reference quantity. These are entered as the arguments
Reference Channel, Base Source Magnitude, and Base Source Angle.
gaincrossover Returns the gain crossover frequency (where the gain is 0 dB) of the selected
simulation quantity in Hz.
phasecrossover Returns the phase crossover frequency, at which the phase is -180 degrees,
in Hz for the selected simulation quantity.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
phasemargin Returns the phase angle in degrees at the gain crossover frequency of the
selected simulation quantity.
lowercutoff Returns the lower 3dB frequency of the selected simulation channel in Hz..
uppercutoff Returns the upper 3dB frequency of the selected simulation channel in Hz.
bandwidth Returns the 3dB bandwidth of the selected simulation quantity. For
bandwidth, the calculation is based on 3dB below the maximum peak.
peakgain Returns the peak value of gain of the selected simulation quantity in dB.
peakgainfreq Returns the frequency in Hz at which the peak gain of the selected simulation
quantity occurs.
Related Topics
Selecting a Function
Range Functions
You can perform FFT on an existing 2D plot by using the Results>Perform FFT command. You
can perform TDR on an existing 3D plot by using the HFSS 3D Layout>Results>Perform FFT
command. This opens the Perform FFT on Traces in Reports dialog.
1. Select the report you want from the list in the dialog.
2. Select the FFT Window type from a drop down list.
Select the window type to apply. Windowing functions cause the FFT of the signal to have non-
zero values away from ω. Each window function trades off the ability to resolve comparable
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
signals and frequencies versus the ability to resolve signals of different strengths and
frequencies.
The new report displays and appears in the Project tree. The new report name prefixes FFT to the
name of the original report. Trace names are also prefixed with FFT.
Related Topics
Window
Preferred Use
Function
Rectangular A low dynamic range function offering good resolution for signals of comparable
strength. Poor when signals have very different amplitudes. w(n)=1
Van Hann A moderate dynamic range function, designed for narrow band applications.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Window
Preferred Use
Function
Blackman A high dynamic range function, with lower resolution, designed for wide band
applications.
Hamming A moderate dynamic range function, designed for narrow band applications. It
minimizes the maximum sidelobe.
Lanczos The Lanczos window offers a windowed form of the infinite sinc filter, providing the
central lobe of a horizontally-stretched sinc, sinc(x/a) for -a £ x £ a.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Window
Preferred Use
Function
Weber
Welch This approach applies a parabola-shaped window to the frequency domain data. It
is based on the Bartlett method but splits the signal into overlapping segments,
which are then windowed. The intent is to balance the influence of data in the center
of the function.
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note Remember that the evaluated value of an expression is always interpreted in SI units.
However, when an angle quantity is plotted in a report, you have the option to plot values in
units other than SI. If you want to plot the polar angle of a complex simulation result, S11
say, you can choose between ang_deg(S11) and ang_rad(S11). Both of these return the
exact same angle quantity but in degree and radian units respectively.
Note that when used in expressions, some surprising outcomes might result. For example,
the expression "1+ang_deg(S11)" represents an ‘angle’ and the number "1" is treated as "1
rad". i.e., the angle SI unit is attached to any unitless number that is added/subtracted from
an angle value. If you want to treat "1" as degrees, make it explicit and use "1deg + ang_
deg(S11)" instead.
If you are interested in unitless degree values, two additional functions exist: ang_deg_val
(S11) and cang_deg_val(S11). These return simple numbers and are treated as such by
any expression. If the complex S11 lies on the positive Y axis say, ang_deg_val(S11) would
be 90 and "1 + ang_deg_val(S11)" will be 91.
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
You can perform TDR on an existing 2D plot by using the Results>Perform TDR on Report
command. You can perform TDR on an existing 3D plot by using the HFSS 3D
Layout>Results>Perform TDR on Report command. This opens a Perform TDR on Traces
in reports dialog.
1. Select the report you want from the list in the dialog.
2. Specify the input signal as Step or Impulse and give the rise time.
3. Select the TDR Window type from a drop down list.
Select the window type to apply. Windowing functions cause the FFT of the signal to have non-
zero values away from ω. Each window function trades off the ability to resolve comparable
signals and frequencies versus the ability to resolve signals of different strengths and
frequencies.
If you select the Kaiser function, you can specify a Kaiser number.
The new report displays and appears in the Project tree. The new report name prefixes TDR to the
name of the original report. Trace names are also prefixed with TDR.
Related Topics
HFSS and SIwave allow for time-domain plotting of S-parameters. Often, this feature is used to
calculate a step response or time-domain reflectometry (TDR) plot of the structure being
simulated. Fourier analysis provides the mathematical mechanism for transforming frequency
sweep data to a time-domain plot, but two approximations are involved. First, the transform is
between two sets of discrete data points, as opposed to continuous waveforms. Second, the
frequency sweep data cannot have infinite bandwidth, but must truncate at some upper limit. This
section discusses the implications of these approximations, and provide information for successful
time-domain plotting.
Note: Frequency sweep data consists only of positive frequencies, but the negative frequencies
are simply the complex conjugate of the positive: S (-f) = S*(f)
This is true for any frequency-domain function when the corresponding time-domain waveform is
real-valued.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
It is easier to make generalizations about the effect of finite bandwidth if we have continuous
functions. Consequently, we will initially assume our frequency- and time- domain data is
continuous, and defer discussion of the effects of discretization until later. With a continuous-time
sweep over an infinite bandwidth, we could – at least in principle – calculate a time-domain
response by multiplying our sweep data S(f) with the spectrum of a time-domain excitation function
and evaluating the inverse Fourier integral:
In practice, however, sweep data does not extend to infinite frequencies and is restricted to a
bandwidth b. If we simply assume that the spectrum is zero-valued outside of the bandwidth, we
can interpret the data as an infinite sweep that has been multiplied by a rectangular “window”
function W(f) , with a value of 1 within the bandwidth and a value of 0 otherwise.
This process is illustrated in Fig. 1, assuming that S(f) E(f) corresponds to an ideal unit step
function in the time domain. In Fig 1.a, the frequency spectrum is truncated beyond a certain upper
limit. Since multiplication in the frequency domain corresponds to convolution in the time domain,
this has the effect of convolving the time-domain step with a sinc function – the inverse Fourier
transform of the rectangle (Fig 1.b). The final result is an edge with a finite rise time and some
oscillation.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Figure 1. Multiplying the spectrum of a step function with a rectangular window produces a finite
edge in the time domain
If the sweep is extended to higher frequencies – making the window function wider – the
corresponding sinc pulse more closely approaches an impulse, and the time-domain edge
becomes sharper. However, the oscillation never disappears for any finite sweep. Fig. 2 shows a
step response for increasingly wider bandwidths.
Figure 2. Increasing the width of the rectangular window makes the time-domain edge sharper,
but does not eliminate the oscillation
Some distortion of the true time-domain waveform is unavoidable if the frequency sweep does not
include the entire bandwidth of the signal, but there are other window functions besides the
rectangle which distort the time waveform in ways which may be more desirable. In particular, it
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
would be nice to reduce the spurious oscillation. The next sections will describe the window
functions available and discuss their effects.
Window Functions
The window functions available are plotted in Figs. 3 and 4, and their expressions are given in the
Appendix. All the window functions have a spectral width w and are zero-valued for If I > w/2. In
addition to truncating the data outside of the bandwidth, the non-rectangular windows filter the
spectrum inside. The windows differ from each other in how strongly they attenuate the spectrum
as the frequency approaches the upper limit. The Kaiser window has a parameter, which controls
how sharply it decays. For α = 0, the Kaiser window is equivalent to the rectangular window; for α =
5.4414, it is equivalent to the Hamming window; and for α = 8.885, the Blackman window.
Although the TDR Options dialog allows for windows that are narrower than the bandwidth of the
simulation, it is generally best to set the window width to 100% and take full advantage of the
available bandwidth.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Figure 4. The Kaiser window for a width of w=2 and varying values
Because the spectral width w includes both positive and negative frequencies, it is twice the
bandwidth of the sweep, b, which is equal to the (positive) upper frequency limit.
It is immaterial whether we think of the window as multiplying the frequency sweep data, with the
spectrum of the time-domain excitation having infinite bandwidth, or if we instead imagine we have
infinite sweep data and a windowed excitation spectrum. With the latter interpretation, we can
examine the effects of different windows on an ideal step without concern for what the sweep data
looks like.
We will apply different windows to an ideal step function, which is approximated in HFSS and
SIwave by choosing an edge and setting the rise time to 0. We continue to assume that we have a
continuous spectrum, and will defer a discussion of the effects of discretization until later. The effect
of the Welch window is shown in Fig. 5.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Figure 5. The effect of Welch windows of three different widths on an ideal step
Fig. 5 shows that the Welch window has substantially decreased the signal oscillation that was
seen with the rectangular window. As Fig. 6 below demonstrates, the Blackman window results in
almost no oscillation.
Figure 6. The effect of Blackman windows of three different widths on an ideal step.
When the effects of the rectangular, Welch, and Blackman windows are plotted together, each with
the same bandwidth, it is clear that there is a tradeoff between edge rate and oscillation control
(Fig. 7). Windows with strong attenuation toward the frequency limits, such as the Blackman, result
in minimal oscillation but slower edges. Windows with weak attenuation, such as rectangular, yield
more oscillation but faster edges.
Figure 7. Step response for three different windows, each with the same bandwidth.
The effects of the Hamming, Hanning, and Bartlett windows are shown in Fig. 8 below.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
As Fig. 8 suggests, the difference between Hamming and Hanning windows is usually quite small.
The Bartlett window is generally not recommended, as it distorts the signal in the vicinity of the
edge without providing any advantage over the Hamming and Hanning windows. The Kaiser
window gives edges that are slower and less oscillatory with increasing α.
The rectangular, Welch, Hanning, and Blackman windows are sufficient to provide a good
sampling of the edge-rate vs. oscillation tradeoff. Table 1 quantifies the characteristics of these
windows on an ideal step. With the exception of the Blackman window, it is possible to derive
reasonably simple expressions for the step response. In Table 1, b is the bandwidth or upper
frequency limit of the sweep and Si(χ) refers to the sine integral function:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note that in the expressions for the step response, the time variable is always multiplied by the
bandwidth. Changing the bandwidth scales the time response, but does not affect the shape of the
edge.
Finite edges can be simulated by providing a nonzero value for the rise time. For finite edges, the
same edge rate vs. oscillation tradeoff applies. However, the spectrum of a finite edge declines
with frequency at a faster rate than an ideal step. As a result, modest amounts of overshoot can be
achieved even with a rectangular window. The continuous time finite edge response of a
rectangular window is given by
Along with the overshoot, fe (O) is a useful metric for describing how closely the finite edge
response approximates the ideal case, for which fe (O) = O. The degree to which the windowed
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
edge approximates an ideal finite edge depends only on br, the dimensionless product of the
bandwidth and the rise time (Fig. 9).
Figure 9. The effect of rectangular windows on edges with rise time r. The y-intercept and
overshoot decline with increasing bandwidth b.
Table 2. Finite edge response for rectangular windows for continuous time
As Fig. 9 and Table 2 show, a fairly good finite edge can be achieved with a br of 1, but a br of
around 5 is needed to give a very close approximation to the ideal finite edge.
Impulse Response
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The principles behind the step and edge responses also apply to the calculation of impulse
responses. Rectangular windows produce the sharpest impulses, but with the greatest amount of
oscillation. Hanning and Blackman windows produce impulses that are more spread out, but with
less oscillation (Fig. 10).
Figure 10. The impulse response for selected windows with a spectral width of 1
The preceding discussion treated frequency spectra as continuous functions, but in practice both
the frequency and corresponding time data will be discrete. HFSS uses a discrete Fourier
transform (DFT) to approximate a continuous time transform, with the frequency step size and
upper limit determining the corresponding quantities in the time domain. The default time step and
maximum time are given by
Time resolution is controlled by the upper frequency in the sweep. The maximum time is controlled
by the frequency resolution of the sweep. While tmax is fixed by the choice of frequency step and
cannot be increased after the simulation, tstep, or the time delta, can be reduced from the default
value within the TDR Options dialog. Decreasing the time delta does not increase the bandwidth
of the frequency data, but it does more closely approximate the band-limited continuous time
spectra we have so far discussed. Although decreasing the time delta will increase the time
required to perform the DFT, the time required is rarely significant. Additionally, a smaller time delta
has a significant benefit, as demonstrated in Fig. 11 below.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Fig. 11 shows the step response of a matched lossless transmission line for which the length is
controlled by de-embedding the driving waveport, using rectangular window functions. The plots
on the left are for a short transmission line length and those on the right correspond to a longer
length. Fig. 11a shows the time response using the default values for tstep. There is some
oscillation in the response, which is expected for a rectangular window, but the amplitude of the
oscillation is different for the two length cases. This is problematic; since the line is matched and
lossless, we expect that a length change will only affect the time delay of the response, not affect
the shape or quality of the rising edge. The variation in the response is an undesirable artifact of the
coarse time sampling. We can increase resolution by increasing the bandwidth of the sweep, but
this requires additional simulation. Fig. 11b shows the same two cases, but with the time delta
reduced using the TDR Options Dialog. The results in Fig. 11b agree with our intuition: the edge
shape is the same for both line lengths and the only difference is the location of the edge. Setting
the time delta to around 1/5 of the default value is generally sufficient, but finer time steps are
needed for precise correlation to Tables 1 and 2.
Figure 11. The time domain response of an ideal delay of two different lengths shows that a finer
time sampling yields more intuitive results.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The frequency step size governs the length of the time range generated. Although a coarse
frequency sampling is often sufficient to generate enough time data for a TDR plot, it is important
not to set fstep too high in the frequency sweep. Discrete frequency spectra necessarily correspond
to periodic time-domain functions, so the calculated step is actually more like a repeating series of
long pulses. Fig. 12 shows the how the oscillation decays after the rising edge up to a point, but
then begins increasing in anticipation of a falling edge.
Figure 12. The oscillation caused by a rectangular window eventually starts increasing, due to the
periodicity of the waveform
Setting fstep to a small value increases the length of the pulse, and minimizes the influence of the
future falling edge. Additionally, a smaller fstep ensures that resonances and other sharp features in
the frequency data are adequately captured. As tstep and fstep approach zero, the calculated
results will converge on the continuous time descriptions given earlier.
Applications
When simulating a TDR plot, we want the fastest edge possible for the bandwidth of our
simulation, subject to our preference for oscillation control. Therefore an edge with a rise time of
zero is a good choice. Fig. 13 shows TDR plots of a transmission line with several impedance
discontinuities. The results for a rectangular and Hanning window with a 20GHz bandwidth are
compared with those for a Hanning window with a 50GHz bandwidth, which will necessarily be
more accurate due to the higher bandwidth, and can be used as a reference. In all cases, the time
step was set substantially lower than the default.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Figure 13. TDR plots for a transmission line with several impedance discontinuities
Fig. 13 shows that the rectangular window effectively captures the sharp impedance transitions,
but also displays spurious oscillation. The 20GHz Hanning window does not suffer any oscillation,
but gives less resolution on the sharp edges. These results are consistent with the step response
characteristics of the different windows we have previously shown.
We can also use time-domain plotting to approximate how a structure would behave in a Nexxim
transient simulation. When comparing the results to a transient simulation that uses a pulse or
piecewise linear source, it makes sense to use a finite edge with a rectangular window. Fig. 14
compares HFSS and Nexxim results for the transmission line, using a rise time of 50ps and a
rectangular window with a 20GHz bandwidth (br = 1).
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
As Fig. 14 shows, very good agreement between Nexxim and HFSS is possible when appropriate
settings are used for time domain plotting.
References
Haykin, S., and M. Moher. Introduction to Analog and Digital Communications, 2nd ed., Wiley,
Hoboken,N.J., 2007.
Kammler, D.W. A First Course in Fourier Analysis. Prentice-Hall, Upper Saddle River, N.J., 2000.
Lathi, B.P. Linear Systems and Signals, 2nd ed. Oxford University Press, New York, 2005.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Related Topics
Animated Reports
The following sections describe how you can postprocess field overlay displays to create and then
view various animated reports. Any of the field overlay displays can be animated by cycling the
overlays as a series of frames. Refer to the following topics for details on creating the field overlays:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Related Topics
Frequency Animation
Phase Animation
Surface currents calculated as the results of a Planar EM simulation can be displayed as overlays
on the 3D viewer.
1. To ensure that the surface current information is generated, the sweep setup must specify a
Discrete frequency sweep, and the Generate Surface Current option must be enabled
(checked):
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
4. To change the display properties of the surface current overlay, expand the Results icon in
the Project window, and select Setupm:Sweepn:Currentsk > Properties (m, n, and k
identify the particular solution setup, sweep setup, and surface current setup, respectively).
The Currents dialog opens:
In the Plot Type panel, select Magnitude to enable the Magnitude panel options or select
Vector to enable the Vector panel options.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
In the Scale panel, select Auto Scale (the default), or deselect Auto Scale and enter custom
Minimum and Maximum scaling values. Select Linear or Logarithmic scaling (the default is
Linear), and toggle Display Grid on or off (the default is off).
In the Color Map panel, select the Ramp type (Rainbow is the default; other options are
HueScale, Magenta, and Temperature), set the number of Levels (the default is 10 levels),
and toggle the color key (Show Key) on and off (the default is off).
Click Apply to apply any changes to the display without closing the dialog. Click OK to apply
any changes and close the dialog. Click Cancel to close the dialog without changing any
options.
5. To select the frequency for the current overlay, expand the Results icon in the Project
window, and select Setupm:Sweepn:Currentsk > Frequency (m, n, and k identify the
particular solution setup, sweep setup, and surface current setup, respectively). The
Frequencies dialog opens:
The list displays the frequencies that were swept in the analysis. When you select a frequency
from the list, the overlay displays the surface current values calculated at that frequency. Click
OK to leave the overlay at the selected frequency, or click Cancel to close the dialog without
applying any frequency changes to the overlay.
6. To dismiss the overlay, expand the Results icon in the Project window, right-click
Setupm:Sweepn:Currentsk, and select Delete from the pulldown s (m, n, and k identify
the particular solution setup, sweep setup, and surface current setup, respectively).
Far fields calculated as the results of a Planar EM simulation can be displayed as overlays on the
3D viewer.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
1. To ensure that the far field information can be generated, the sweep setup must specify a
Discrete frequency sweep, and the Generate Surface Current option must be enabled
(checked):
The display properties of the Far Field overlay cannot be changed. The Ramp type is Rainbow,
and the number of levels is 20.
4. To select the frequency for the far field overlay, expand the Results icon in the Project
window, and select Setupm:Sweepn:Far Fieldk > Frequency. The Frequencies dialog
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
opens:
The list displays the frequencies that were swept in the analysis. When you select a frequency
from the list, the overlay displays the far field values calculated at that frequency. Click OK to
leave the overlay at the selected frequency, or click Cancel to close the dialog without applying
any frequency changes to the overlay.
5. To dismiss the overlay, expand the Results icon in the Project window, right-click
Setupm:Sweepn:Far Fieldk, and select Delete from the pulldown (m, n, and k identify the
particular solution setup, sweep setup, and far field setup, respectively).
Near fields calculated as the results of a Planar EM simulation can be displayed as overlays on the
3D viewer.
1. To ensure that the near field information can be generated, the sweep setup must specify a
Discrete frequency sweep, and the Generate Surface Current option must be enabled
(checked):
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
3. To display the near field overlay, expand the Analysis icon in the Project window, and select
Setupm > Sweepn > Results > Near Field (m and n identify the particular solution setup
and sweep setup, respectively). You can also select from a list of corresponding
Setup/Sweep overlay choices which are displayed when you right-click on Field Overlays
in the Project tree.
4. The Near Field dialog opens. The dialog has three tabs, described below. At the bottom of
each tab are three buttons:
l The Apply button is activated whenever you change a value. Click Apply to start the
display, and then to see the effect of each change. The dialog stays open.
l When no values were changed on any tab, the OK button starts the display. When one or
more values have been changed, OK applies the changes. In either case, OK closes the
dialog and adds an icon for the overlay under the Results icon in the Project window.
l The Cancel button is active as long as no changes have been applied. The Cancel button
closes the dialog without changing any values. If the overlay is already displayed, it does not
change. If Cancel is pressed before any overlay is displayed, the overlay is canceled.
5. The Near Field dialog opens with the Geometry tab displayed:
Use the options in the Geometry tab to select (or define) one or more planes for the calculation,
including the dimensions to be used, and a scale factor if desired.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Use the Quantities tab to select the near field quantity to be calculated:
When more than one surface is involved, select a surface from the Surfaces list.
Select a frequency from the Frequencies list. The frequencies are the ones swept in the
analysis.
Select a field type from the Quantities list. E is the electronic field, H is the magnetic field, and
the Poynting Vector is the (E×H*) field, where H* is the complex conjugate of the H matrix.
Select a vector component from the Components field.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Use the Options tab to specify the display options for the near field overlay:
In the Plot Type panel, select Magnitude to enable the Magnitude panel options or select
Vector to enable the Vector panel options.
In the Scale panel, select Auto Scale (the default), or deselect Auto Scale and enter custom
Minimum and Maximum scaling values. Select Linear or Logarithmic scaling (the default is
Linear), and toggle Display Grid on or off (the default is off).
In the Color Map panel, select the Ramp type (Rainbow is the default; other options are
HueScale, Magenta, and Temperature), set the number of Levels (the default is 10 levels),
and toggle the color key (Show Key) on and off (the default is off).
6. When you click Apply or OK in any of the Near Field dialog tabs, the 3D viewer window
appears with the near field values overlaid on the geometry:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
7. To dismiss the overlay, expand the Results icon in the Project window, right-click
Setupm:Sweepn:Near Fieldk, and select Delete from the pulldown.
Frequency Animation
1. To initiate the animation of the overlay that is currently displayed, do one of the following:
l Select Animate from the View menu.
l Expand the Results icon in the Project window, right-click the overlay entry, and select
Animate from the menu.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
2. If no animations have been defined previously, the Setup Animation dialog opens:
l Specify a name in the Name field (or accept the default, Animationn, where n is a
numeral). Optionally, enter a description.
l For a frequency animation, select F as the Swept Variable.
l By default, all the frequencies are selected (highlighted). Hold down the CTRL key to select
multiple individual frequencies, or hold down the SHIFT key to select a contiguous range of
frequencies. [These selection modes are illustrated in the dialog example above].
l Click OK.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
If one or more animations have been defined, selecting Animate from one of the menus
opens the Select Animation dialog:
l Left-click to select one of the animations and click OK to start that animation.
l Click the New button to open the Setup Animation dialog described above, and close the
Select Animation dialog.
l Select an animation and click Delete to delete the definition.
3. The frame data is automatically calculated. If the Progress window is displayed, you can
monitor the progress of the calculation. When the frames have been calculated, the
animation begins and the Animation control panel opens:
l Use the “VCR” buttons to play the animation. From left to right, the buttons are Reverse,
FastReverse, Stop, Fast Forward, and Forward. The indicator at the top of the dialog
shows the progress of the animation. Use the Speed slider to control the speed of the
animation.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l To export the frame data to a file, click Export. The Export File dialog opens:
Specify the directory and file name. Use the Save as type menu to select the file format
(Animated GIF or AVI). Click Save to save the data and close the dialog.
l Click Close on the Animation control panel to stop the animation and close the panel.
Phase Animation
1. To prepare for phase animation, you must select the base frequency.
l For surface current and far field overlays, expand the Results icon in the Project window,
right-click on the overlay, and select Frequency from the menu. The Frequencies dialog
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
opens:
The list displays the frequencies that were swept in the analysis. Select a frequency from the
list; the overlay displays the field values calculated at that frequency. Click OK to leave the
overlay at the selected frequency.
l For near field overlays, expand the Results icon in the Project window, right-click on the
overlay, and select Properties from the menu. Use the Quantities tab to select a reference
frequency for the phase animation:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
2. To initiate the animation of the overlay that is currently displayed, do one of the following:
l Select Animate from the View menu.
l Expand the Results icon in the Project window, right-click the overlay entry, and select
Animate from the menu.
3. If no animations have been defined previously, the Setup Animation dialog opens:
l Specify a name in the Name field (or accept the default, Animationn, where n is a
numeral). Optionally, enter a description.
l For a frequency animation, select Phase as the Swept Variable.
l Select the Start and Stop phases in degrees.
l Click OK.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
If one or more animations have been defined, selecting Animate from one of the menus
opens the Select Animation dialog:
l Left-click to select one of the animations and click OK to start that animation.
l Click the New button to open the Setup Animation dialog described above, and close the
Select Animation dialog.
l Select an animation and click Delete to delete the definition.
4. The frame data is calculated automatically. If the Progress window is displayed, you can
monitor the progress of the calculation. When the frames have been calculated, the
animation begins and the Animation control panel opens:
l Use the “VCR” buttons to play the animation. From left to right, the buttons are Reverse,
FastReverse, Stop, Fast Forward, and Forward. The indicator at the top of the dialog
shows the progress of the animation. Use the Speed slider to control the speed of the
animation.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l To export the frame data to a file, click Export. The Export File dialog opens:
Specify the directory and file name. Use the Save as type menu to select the file format
(Animated GIF or AVI). Click Save to save the data and close the dialog.
l Click Close on the Animation control panel to stop the animation and close the panel.
Calculating frames for an animation is equivalent to re-simulating the planar design. You can
specify design point parameters for the animation calculations that are different from the ones used
in the original simulation. On the Animation Setup dialog, select the Design Point tab and
deselect the Use defaults option. The following fields are displayed:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Make any desired changes, and then click OK to apply the changes and close the dialog. Clicking
Cancel closes the dialog without making any changes.
l Output Variables section, where you can specify the name and expression for a new
output variable. Existing variables appear in the list at the top of the window. Clicking the
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
At top of the Output Variables window, you can use a check box to Validate output variable
for selected context.
l Context section, where you specify the Report type, the Solution, and for appropriate
report types, the Domain. Changing the Report type to Near Fields, or Far Fields causes a
Geometry menu to appear. Selecting Emission tests require a digital signal. All selections
affect the Functions listed.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Expressionsection, where you can insert quantities into the Expression area of the
Output Variables section.
l Function section, where you can insert completed expressions into the Expression area of
the Output Variables section.
Related Topics
The Output Varibles window can be accessed in several ways. To add an output variable:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
1. In the Output Variables section, enter a name for the new variable in the Name box.
2. To enter an expression, do one or both of the following:
a. Type part or all of the expression directly in the Expression area. Valid functions appear
in blue. Invalid functions appear in red, which usually means that you need to provide
quantities for a function.
b. Insert part or all of the expression using the options in the Calculation and Function
sections.
3. Click Add to add the new variable to the list.
4. Repeat to add additional variables.
5. When you are finished adding output variables, click Done to close the Output Variables
window.
Related Topics
When you are entering an expression for a new output variable, you can insert part or all of the
expression using the options in the Calculation and Function sections of the Output Variables
window.
The Output Variables window can be accessed in several ways. To open the window:
The Output Variables window appears. Existing variables appear in the list at the top of the
window.
1. In the Output Variables section, enter a name for the new variable in the Name box.
2. Specify the Context
a. From the Report Type pull-down list, select the type of report from which you want to
select the quantity. The Report types listed can vary with the design, but can include
Emission Test, Fields, Far Fields, Modal Solution Data, or Terminal Solution Data.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
b. From the Solution pull-down list, select the solution from which you want to select the
quantity. In the case of Transient, you may also select Spectral or Transient.
c. In some cases the Report Type selection enables additional selections. For example, a
Fields Category calls for for Geometry and possibly Points. A Transient project may offer
selections of Domain as Sweep or Time. A Emission Test Report enables a Digital
Signal button.
3. Specify Quantities and optionally apply functions.
d. From the Category list, select the type of quantity you want to enter. The Report type
selections cause the list to provide applicable categories.
e. From the Quantity list, select the quantity, variable, or the geometry, as applicable
f. From the Function list, select a ready-made function to apply to the select quantity.
g. Click Insert Into Expression.
The selected quantity is entered into the Expression area of the Output Variables
section.
4. To insert a function that does not depend on a Quantity selection into the Expression area.
a. In the Function section, select a ready-made function from the pull-down list.
b. Click Insert Function into Expression.
The function appears in the Expression area of the Output Variables section.
5. When you are finished defining the variable in the Expression area, click Add to add the
new variable to the list.
Legal expressions display in blue. Incomplete expressions, that require additional input, display
in red.
Note that when used in expressions, some surprising outcomes might result. For
example, the expression "1+ang_deg(S11)" represents an ‘angle’ and the number
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
"1" is treated as "1 rad". i.e., the angle SI unit is attached to any unitless number that
is added/subtracted from an angle value. If you want to treat "1" as degrees, make it
explicit and use "1deg + ang_deg(S11)" instead.
If you are interested in unitless degree values, two additional functions exist: ang_
deg_val(S11) and cang_deg_val(S11). These return simple numbers and are treated
as such by any expression. If the complex S11 lies on the positive Y axis say, ang_
deg_val(S11) would be 90 and "1 + ang_deg_val(S11)" will be 91.
Related Topics
The Output Variables dialog includes a second function list containing functions to enter directly
into the Expression field. These functions can also be applied to previously specified Quantities and
Functions.
Some of these functions can operate along an entire curve. These are: deriv, min, max, integ, avg,
rms, pk2pk, cang_deg and cang_rad. These functions have syntax as follows:
You can select from the functions in the Output Variables dialog Function list or type them
directly into the Expression field, if necessary: The functions in the Output Variables dialog list and
the ones in the Function list on the Report dialog box are defined in Table
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Related Topics
l Incident Wave
l Linked Field
l Voltage Source
l Current Source
l Magnetic Bias : Note: Sensitivity analysis of a design variable associated with the magnetic
bias region assumes that the magnetic bias field does not change. In some cases this
assumption may not be appropriate and requires user discretion to ensure its applicability
especially for non-uniform ferrite models.
Tuning far field quantities determines the derivatives of the response of electromagnetic devices
with respect to variations in geometric or material properties. Designs can include port excitations
or non-port excitations (that is, incident waves, linked field, voltage source and current source.
Frequencies, and local quantities cannot be tuned. If you have defined variables in the solution
setup, the Context area of the Reporter displays the Derivative field, from which you can select the
variable(s) for a tunable report.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
A common way to use this feature is to produce, for an output quantity of interest, two curves in one
plot. One curve is produced with the Report dialog selection for the Context Derivative as <none>.
The other has the All or specific variable selection.
When you select All or a variable, notice that the Context field of the Report dialog shows the
names of various parameters prefixed with Tune. Some of the Quantities associated with the
category also show a Tune prefix. This labeling makes it easier to distinguish the Tuned traces from
the reference traces.
In the case of a Far Fields plot, the Tune prefix appears in only in the Quantity field.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
This gives you a plot with initially two identical curves, one on top of the other. The curve info table
shows the trace names. This example shows the curve info for a plot with a normal S-parameter
trace with a TuneS trace that can be tuned using the value of the $radius variable.
This example shows the curve info for a plot with a normal rETotal trace with a Tune_rETotal trace
that can be tuned using the value of the $radius variable.
You can then right-click on Results in the Project tree and select Tune Reports. The Report
Tuning window appears. You can use the slider to tune the Tune curve interactively while the
reference curve stays to provide a reference. This way you can see interactively how small
changes in variables affect the result. You can then apply those offsets to the original variable
values and re-solve the design.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
1. Generate a solution with one or more variables for which you select Use on the Derivatives
tab of the solution setup.
2. Use the Reporter to create one curve with Derivative selection in the Context panel of the
report dialog set to None.
3. Then create another curve, but in the Context pane. select for Derivatives, All or the variable
of interest. Select to build your new trace from the Categories and Tune Quantities listed.
This gives you two identical curves, one top of the other. Notice that you are not limited in the
number of traces that you define. You may choose to limit the number of traces for more ease in
observing the results of tuning.
4. Click the HFSS>Results>Tune Reports or right-click on Results in the Project tree and
click Tune Reports from the short cut menu. The menu item is disabled if no variables have
been selected in the Derivatives tab of the solution setup.
This displays a Report Tuning dialog which lists the variables available for tuning. The
example above shows a Report Tuning dialog for a design with only one variable but it can
show more.
5. You can use the slider to adjust the value of each available Tune variable. When you move a
slider, the Apply offsets to nominal design button and the Save all offsets buttons are
enabled. The Report shows the change to all Tune traces, relative to any reference traces
you define.
The Tune dialog displays the change to the variable selected. For example, if the variable is
$length with a value of 1mm, and the slider shows 0.1mm, then the effective value of $length for
the purpose of derivatives is 1.1mm. If you exit the dialog by applying the offset or offsets (click
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Apply offsets to nominal design), $length is assigned a value of 1.1mm. You can then re-
solve, and get results based on the derivative's prediction.
Related Topics
If an HFSS design has ports, they are listed Port Field Display icon in the Project tree. The modes
for each port appear under the port name.
Select a port name to display a Properties dialog with the properties for that port, or for individual
Modes listed under that port. These are used as subsequent plot defaults for the port field display.
Your control of port field displays is purely through the docked Property window. You can edit the
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Scale Factor field, which governs the sizes of the arrows. If multiple solutions or frequencies are
available, you can select from a dropdown menu.
If no 2D solutions exist for the selected port or mode, the Status line of the Properties dialog will
say "No solutions available."
Depending on the view you begin with, and the location and size of the mode in the design, you
may want to right click on the selected mode to display a Zoom to Region command.
The difference between the Port Field Display and the Field Overlay is that the Port Field Display
gives the pure 2D port solution. A Field Overlay provides a the 3D field solution on the port, which is
the sum of the excitation in the port and the reflections by the 3D structure. The Port Field display
lets you examine the field patterns with which the 3D structure is excited.
Related Topics
Set the design variation via the Set Design Variation dialog. This dialog box is accessible from
the Solution Data window via by clicking the ellipsis button on the right of the Design Variation
field, and via the [solver]>Results>Apply Solved Variation command.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
You can overlay existing 3D Polar Plots of near or far fields on the model window by using the
HFSS 3D Layout, Q3D Extractor, HFSS or HFSS-IE>Fields>Plot Fields>[field] command, or
by right-clicking on Field Overlays in the Project tree and selecting Plot Fields>[Field]. You can
also create animations of field plots.
You can also overlay 2D Radiation plots and tables of selected antenna parameters.
Radiation plots that are available for overlay can be viewed by clicking
On Windows, the default OpenGL version support is v1.1, so you might need to update graphics
driver to the latest version;
If you access the application through Windows Remote Desktop which only supports Generic GDI
(functionally equivalent to OpenGL v1.0), the performance improvement will also not be available;
To view OpenGL version/extensions supported by your card, the OpenGL Extension Viewer tool is
accessible via softpedia.com.
To Plot Fields
1. Select a point, line, surface, cutplane, or object to create the plot on or within.
2. Click [solver]>Fields>Plot Fields., or right-click on Field Overlay icon in the Project tree
and select Plot Fields, or right click in the modeler window, and select Plot Fields from the
context menu.
3. On the Plot Fields menu, click the field quantity you want to plot.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The available selections depend on the solved solution. For definitions of the usual quantities,
see the list under Quantity command.
If you select a scalar field quantity, a scalar surface or volume plot will be created. If you select a
vector field quantity, a vector surface or volume plot will be created. If you select a vector
quantity, you will be able to specify a Streamline plot. If the quantity you want to plot is not listed,
see Named Expression Library.
For projects with Temperature dependent materials, the HFSS 3D Layout, HFSS or HFSS-
IE>Fields>Plot Fields>Other... menus selections include Temperature. For Transient
projects, the menu selections show "_t" to show that they represent time dependent quantities,
such as E_t, H_t, J_t, and so forth.
After you select the field quantity to plot, the Create Field Plot dialog box appears.
The Specify Name field shows a name based on the field quantity you selected, and the
Quantity list shows the field quantity selected.
4. To specify a name for the plot other than the default, select SpecifyName, and then type a
new name in the Name text box.
5. Select the solution to plot from the Solution pull-down list.
6. To specify a folder other than the default in which to store the plot, select Specify Folder,
and then click a folder in the Plot Folder pull-down list, or type the name you wish to use.
Plot folders are listed under Field Overlays in the project tree. Plot folders let you group
plots with the same quantity together. All field plots under the same folder share the same
color key.
7. Under Intrinsic Variables, select the frequency and phase angle at which the field quantity
is evaluated.
8. If desired, you can select a different field quantity to plot from the Quantity list.
9. Select the volume (region) in which the field will be plotted from the In Volume list.
This selection enables you to limit plots to the intersection of a volume with the selected object or
objects. You can select and deselect any items in the In Volume list. You can mix model objects
with non-model boxes. For example you might want to see a plot from part of two model objects
by restricting the region to a non-model box overlapping those parts.
Note Multiple selection should be used when there is a discontinuous field on a surface. If not,
the field on both sides of the surface is plotted and each interferes with the other.
10. If you selected a vector quantity, you can use the check box to select Streamline plot.
Streamlines are often used to indicate magnetic flux lines, etc. in plots.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
a. Before creating the plot, select both starting and ending edges (in 2D) or surfaces (in
3D).
b. In the Creating Field Plot menu, select "In Volume: Region" which is the volume in which
the streamlines will appear and is outside of the sources.
c. After the plot is created, on the Attributes/Plot tab you can reduce "Seeds density" to
show more streamlines. If no streamlines appear, reduce this by a factor of 10 (or 100)
because the default seeding was too large.
See Setting Field Plot Attributes for adjusting the streamline display and Setting Fields Reporter
Options for setting Streamline defaults.
You can export a Streamline plot in .fldplt format by right-clicking on the plot in the Project tree,
and selecting Export Plot...
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
This opens a dialog for you to specify a plot name and location.
The field quantity is plotted on the surfaces or within the objects you selected. The plot uses the
attributes specified in the Plot Attributes dialog box.
The new plot appears in the view window. It is listed in the specified plot folder in the project
tree. If you have created a field plot on a simulation in progress, the field plot is updated after the
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
last adaptive solution. Each category of plots (such as Temperature) are listed separately in the
Project Tree.
If you want to update the field overlay before then, to view progress in the solution, select the
Field icon in the Project tree that contains the field plot of interest, right-click to display the short
cut menu, and select Update Plots.
To turn off the display of the plot, right click on the plot and select Plot Visibility from the short-
cut menu. Unchecking Plot Visibility turns off the plot display.
Related Topics
Creating Animations
Select Objects
Select Faces
Example Projects
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
1. Create one or more 3D Polar Plots of near or far fields for your model.
This enables the Radiation Field... command on the Plot Fields submenu.
This displays a dialog listing any existing 3D polar plots of near or far fields.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
3. Check the Visible box and click Apply to cause that plot to appear in the model window.
You can also edit the Transparency and Scale in the dialog. Other properties of the 3D plot are
controlled in its properties window
If you have Saved Antenna Parameters for Overlay, you also use this dialog to control whether to
display a table of antenna parameters. See Antenna Parameter: Save for Overlay.
Related Topics
1. Primary sweep on "Theta" and with one value for "Phi" in "Families" of curves.
2. Primary sweep on "Phi" and with one value for "Theta" in "Families" of curves and "Theta" is
either 90deg or -90deg.
Note that the plot can contain multiple traces within this plane - for example traces for multiple
frequencies of a discrete sweep. The Radiation Pattern plot will overlay on the 3D view, in the
appropriate rotated plane of the far field CS, and include all traces and the axes/grid. There is no
need to show the title or legend.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
There are several cases mentioned above where an overlay will not be valid for display. This
includes any radiation plot that has multiple planes. The Overlay radiation field dialog always lists
all possibly overlays for selection, whether they are valid or not. However, if you check the Visibility
column an overlay that is not valid, and then click Apply, the text field in the dialog gives a warning
describing why the overlay is not valid, and then unchecks that overlay. Similarly, if a valid overlay is
already being shown, and then you edit the plot settings or antenna parameters such that the
overlay becomes invalid, the visibility column becomes unchecked and the overlay stops
displaying.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
You can then use Modify Report to change the plot based on the warning to make it valid for
display.
When the plot is valid, Apply then shows the plot in the modeler window..
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
If you have Saved Antenna Parameters for Overlay, you also use this dialog to control whether to
display a table of antenna parameters. See Antenna Parameter: Save for Overlay.
Overlay Visibility
This section describes how to plot radiation fields like Gain or Directivity right there on the geometry
in the HFSS 3D Modeler window. Just right-click the plots under Results in the project tree and
select the Overlay Visibility option from the short-cut menu to display the plots on the geometry.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
To illustrate this feature, consider a basic dipole antenna design shown in the figure below. The
antenna is excited with a lumped port between the two nodes of the dipole.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The antenna is simulated at 1 GHz. The generated Cut plane Gain and 3D far field plots can be
displayed in their individual report windows. These are shown in the figures below.
Note: You can also change the background color of these plot windows.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
You can overlay these far field radiation patterns on the dipole antenna in the 3D modeler window
by using a simple short-cut command. This overlay visibility feature can be very useful if you want to
understand the orientation of the far field pattern relative to the structure of the antenna. You can
directly apply the cut plane plots or the 3d polar plots right there on the antenna design as follows:
l Right-click the plot under Results in the project tree and select the option Overlay Visibility
as shown below.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The same one-step process also overlays a 2D radiation pattern as shown below.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
4. To specify a name for the plot other than the default, select SpecifyName, and then type a
new name in the Name text box.
5. Select the solution to plot from the Solution pull-down list.
6. To specify a folder other than the default in which to store the plot, select Specify Folder,
and then click a folder in the Plot Folder pull-down list, or type the name you wish to use.
Plot folders are listed under Field Overlays in the project tree.
7. Under Intrinsic Variables, select the frequency and phase angle at which the field quantity
is evaluated.
8. Select the derived field quantity to plot from the Quantity list.
9. Select the volume, or region, in which the field will be plotted from the In Volume list.
This selection enables you to limit plots to the intersection of a volume and the selected object.
The derived field quantity you created in the Fields Calculator is plotted on the surfaces or
objects you selected. The new plot is listed in the project tree under Field Overlays.
Related Topics
2. In the Target Design pull-down list, click the design containing the solution data you want to
plot.
3. Select Fields from the Report Type pull-down list.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
4. In the Display Type pull-down list, select the type of report you want to create.
5. Click OK.
6. In the Solution pull-down list, click the solution containing the data you want to plot.
7. Add one or more traces to include in the report.
Note If you select a point for the Geometry and a Category that is a named expression
based on the point (or other scalar, non-3D value), then the Quantity list only lists
expressions that returns a single scalar value. If you have added named expressions
that take the magnitude of the ScalarX(), ScalarY(), or ScalarZ() of a vector point
value, then you can create output variables for those expressions only in this case.
8. Click Done.
The report appears in the view window and is listed in the project tree. Once you have created a
report, additional options become available on the Results submenu.
2. In the Target Design pull-down list, click the design containing the solution data you want to
plot.
3. Select Fields from the Report Type pull-down list.
4. In the Display Type pull-down list, select the type of report you want to create.
5. Click OK.
6. In the Solution pull-down list, click the solution containing the data you want to plot.
7. Select the geometry you want to plot from the Geometry pull-down list.
8. Add one or more traces to include in the report.
Note If you select a polyline for the Geometry and a Category that is a named expression
based on the line, then the Quantity list only lists corresponding expressions (i.e.,
will not list scalar values when a line is selected as the geometry).
9. Click Done.
The report appears in the view window and is listed in the project tree. The default name is
based on the Report Category you selected, (for example, S Parameter Plot n or rE Plot n).
You can edit the plot names in the project tree and the plot header text in the report
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
synchronizes. Once you have created a report, additional options become available on the
Results submenu.
The plot uses the attributes specified in the Plot Attributes dialog box.
The new plot will be listed in the specified plot folder in the project tree.
Related Topics
HFSS uses default specific absorption rate (SAR) settings when creating a local SAR or average
SAR field overlay plot. It does use mass density for each material if defined for each material.
Otherwise (that is, if the mass density for that library material is 0), the density in the Specific
Absorbtion Rate Setting dialog will be used. To change the default settings:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
2. To select the Average SAR Method, select the radio buttons for IEEE Standard P 1528.4 or
Gridless, which is the legacy Average SAR algorithm. Selecting Gridless disables the Voxel
Size and Tissue Object list fields.
3. In the Material Density text box, enter the mass density of the dielectric material in g/cm3.
This provides a default mass density if not specified in the material definition.
4. In the Mass of Tissue text box, enter the mass of the material in grams that surrounds each
mesh point. The standard values are 1 and 10, corresponding to US or European standards;
however, for research purposes you can enter values outside this range.
5. In the Voxel Size field, specify a size. The units are millimeters.
The voxelization process takes all elements as rectilinear. So it is better to solve projects with
curvilinear off. See Specifying Initial Mesh Settings.
Since the number of voxels depends on the size of the model and the size of the voxel you can
expect that computational complexity increases in O(n3) or more as the model size increases
and the voxel size decreases. Below are a few suggestion:
l For large models you can set up an average SAR plot before you solve so that the data
from the first phase could be generated at solve time. With the tissue setting you can also
perform SAR calculation over partial model.
l Set the solver order to 1 for best performance.
l The algorithm takes full advantage of multi-cores. Set the number of processors to use in
the desktop performance tab in General Options. If your machine is hyper threaded, you
should only use half the number of cores.
6. If the Tissue Object List is empty, all conductors are treated as tissues. It is recommended
that you create an object list explicitly to be used as tissue objects. This is to ensure that you
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
have considered which objects should be included in the SAR calculation. You can create
object lists for the menu by selecting objects and clicking, Modeler>List>Create>Object
List. (See Creating an Object List.) After saving the Project, you can then select from
available object lists. When you select a list, all objects in the list are treated as tissues.
7. Click OK.
Related Topics
l Add Marker
l Delete Marker
l Export Marker Table
l Clear All markers
l Edit Marker
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The Measure Data dialog box opens and a round dot appears at the tip of the cursor.
2. Drag the dot over the spot on the field overlay plot where you want to add a marker. The
Measure Data dialog shows detailed information for the spot currently under the dot.
3. Click the desired point in the field overlay plot to add the marker at that location. Alternatively
you can select the position of the marker by entering the values manually in the edit fields at
the bottom of the window as shown below.
A table showing the marker coordinates and associated field value is also created and added to
the modeler window.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
1. Click on the marker you want to delete to select it. The row corresponding to the selected
marker will be highlighted in the marker table.
Press and hold the Ctrl key and click to select multiple markers.
- Alternatively you can right-click anywhere in the modeler window, or on the Field Overlays
folder icon in the Project Manager, and select Fields>Marker>Delete Marker.
- You can also simply press the Delete key to delete the selected marker(s).
You can export a field plot marker table to either a comma- or tab-delimited file as follows:
Alternatively you can right-click anywhere in the modeler window, or on the Field Overlays
folder icon in the Project Manager, and select Fields>Marker>Export Marker Table.
2. In the Export As dialog box, choose the export format, either .csv or .tab, and save the file
in the desired location.
The exported file can then be imported into another application such as a spreadsheet.
To clear all field plot markers in the active modeler window do one of the following:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
1. On the main menu click HFSS or HFSS-IE and then select Fields>Fields>Marker>Edit
Marker.
Alternatively you can right-click anywhere in the modeler window, or on the Field Overlays
folder icon in the Project Manager, and select Fields>Marker>Edit Marker.
2. Click on the marker you wish to edit. The row corresponding to the selected marker is
highlighted in the marker table. The properties of the marker are displayed in the Properties
window.
3. You can change Position of the selected marker by editing its coordinate values. The
marker table changes to reflect the new value. You can also click the Color value bar to
select a new color for the marker.
4. Optionally, press the Delete key to delete the marker and its corresponding entry in the
marker table.
5. When finished editing markers, press Esc to exit the marker editing function.
If you select a vector quantity, you can also check Streamline for the plot.
1. Before creating the plot, select both starting and ending edges (in 2D) or surfaces (in 3D).
2. In the Creating Field Plot menu, select "In Volume: Region" which is the volume in which the
streamlines will appear and is outside of the sources.
3. After the plot is created, on the Attributes/Plot tab reduce "Seeds density" to show more
streamlines. If no streamlines appear, reduce this by a factor of 10 (or 100) because the
default seeding was too large.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Related Topics
1. Click HFSS or HFSS-IE>Fields>Modify Plots , or in the Project tree, select the Field
Overlays icon, right-click, and select Modify Plots or use the "m" hotkey.
Optionally, you can right-click on an existing plot listed under the Field Overlays in the Project
tree, bypass the Select Field Plot dialog and go to step 3
2. Select the plot you want to modify in the Select column, and then click OK.
l Optionally, click the Specify Name check box to enable the name field.
l Optionally, click the Specify Folder field enable the Plot Folder drop down.
l Optionally, select a different Solution from the dropdown menu.
l Optionally, select a different field type, if available.
3. Under Intrinsic Variables, specify the frequency and phase at which the field quantity will
be evaluated.
4. Optionally, select a different field quantity to plot from the Quantity list.
l To choose a calculated expression, select Calculator from the Category pull-down list. If
you choose Calculator, click the Fields Calculator button to display the calculator.
l To choose a predefined field quantity, select Standard from the Category pull-down list.
Select from the Quantity list.
5. Select the volume, or region, in which the field will be plotted from the In Volume list.
This selection enables you to limit plots to the intersection of a volume and the selected object.
6. Click Apply to make the changes and leave the dialog open, or click Done to apply the
changes and close the dialog.
The field quantity is plotted on the surfaces or within the objects you selected. The modified plot
is listed in the specified plot folder in the project tree.
The plot uses the attributes specified in the Plot Attributes dialog box.
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
2. In the Select Plot Folder window, select the plot you want to modify, and then click OK.
(You can also select the specific plot in the Project tree, and select Modify Attributes from the
right click menu.
A dialog box with attribute settings for the selected plot (whether for an E Field plot or a Mesh
Overlay plot) appears.
3. For an E Field Plot, under the following tabs in the dialog box, you can control the following
plot attributes: For Mesh plot attributes, see below.
Color map The number of colors used and how they are displayed. The field data
must be available for the color key to appear.
Scale tab The scale of field quantities, including the number of divisions in the scale,
whether to use dB as the units, whether to use a linear or log scale, auto
schall options, and plot number format.
Marker/Arrow l The appearance of points (for scalar point plots).
l The appearance of arrows (for vector plots).
l Magnitude filtering (for vector plots). That is, you uncheck Map size,
and specify a Min and Max Magnitude, or use a slider to set the Min
threshold.
Deformation l This is for use plots that include with Stress feedback from ANSYS
Scale Workbench Integration. See Modify Plot Attributes Dialog for Stress
Feedback Projects.
Plots (if not l The plot selected.
streamline) l To display or hide the mesh on the plot's surface or volume.
l The type of isovalue display (for scalar plots.)
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
This affects the use of memory for animating plots. For large plots with
more frames to animate, use Coarse or Normal to reduce memory
requirements and improve performance. For smaller plots with few
frames, if higher resolution is required, use Fine or Very Fine.
a. Under each tab, click Save as default if you want the tab's settings to apply to field
overlay plots created after this point.
b. Select Real time mode if you want the changes to take effect immediately in the view
window.
c. If this option is cleared, click Apply when you want to see the changes.
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
2. Select the plot folder you want to modify, and then click OK.
A dialog box with attribute settings for the selected folder appears.
Uniform Field quantities are plotted in a single color. Choose the plot color from the
Color palette.
Ramp Field quantities are plotted in shades of a single color. Choose the plot color
from the Color palette. The shade of the color corresponds to its field value.
Spectrum Field quantities are plotted in multiple colors. Choose a color spectrum from the
pull-down list. The values are Rainbow, Temperature, Magenta, and Grey.
Each field value is assigned a color from the selected spectrum.
You can choose Save as Default, if you want to use the current settings.
Select Real time mode if you want these, or subsequent changes to take effect immediately in
the view window.
If this option is cleared, click Apply when you want to see the changes.
You can choose Save as Default, if you want to use the current settings.
Select Real time mode if you want the changes to take effect immediately in the view window.
If this option is cleared, click Apply when you want to see the changes.
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The color key (shown below) displays the range of plotted field values for a field overlay plot. It
displays the colors that correspond to the range of field values on the plot. In the case of no field
data, the color key does not appear.
Alternatively, to hide the color key, right-click on the color key in the view window, and then click
Hide from the shortcut menu.
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Click on the active field overlay plot's color key and drag it to a new location.
Related Topics
To change how field quantities are scaled on the field overlay plot:
2. Select the plot folder you want to modify, and then click OK.
A dialog box with attribute settings for the selected folder appears.
Auto The full range of field values will be plotted on the selected surface or
volume. Selecting Auto enables the Auto Scale Options and
disables the Min and Max fields. By default, precision is not limited
and auto-min is the actual computed min on the plotted geometry.
Use Only the field values between the minimum and maximum values will
Limits be plotted. Field values below or above these values will be plotted in
the colors assigned to the minimum or maximum limits, respectively.
Selecting Use Limits enables the Min and Max fields and disables
the Auto Scale Options.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Optionally, when dB is checked, dB scale is used for the plot. It disables the Units field, Linear
and Log and have "Linear" selected.
6. Optionally, use the Units drop down menu to select the default unit of measure for the plot.
The units specified here appear on the Color map for the fields plot, and for the properties dialog
for the field quantities.
7. If you selected Use Limits, enter the lowest field value to be plotted in the Min. text box and
the highest field value to be plotted in the Max. text box.
If you selected Auto or Use Limits without having dB checked, the Auto Scale Options are
enabled. You should only changed for cases where auto-min is a small number. Use the 'Limits
Max/Min precision to' check box to enable setting the drop down menu for the precision limit.
If you selected Specify Values, you can click the Scale Values button. This opens a dialog with
an editable, scrollable list of the current scale values. To apply the changes you make, click the
OK button. To close the dialog without make changes, click Cancel.
8. If you selected Auto or use Limits or dB, you can select one of the following options:
9. Specify the Number Format for the plot as Auto, Scientific Notation, or Decimal. You can
also specify Width and Precision for the plot.
10. Select Real time mode if you want the changes to take effect immediately in the view
window.
If this option is cleared, click Apply when you want to see the changes.
11. Optionally, you can use the Save As Default button to save the following to registry:
l Whether to limit field precision,
l The number of digits of field precision,
l Whether to use log/linear scale.
l Whether to use dB.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Auto scale is the default for new plots. For scalar-in-volume plots, iso-surface (rather than
cloud) is the default display
2. Select the plot folder you want to modify, and then click OK.
A dialog box with attribute settings for the selected folder appears.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
5. Use the Size slider to increase (move to the right) or decrease (move to the left) the length
and dimensions of the arrows. The arrows are resized relative to the size of the model
geometry.
6. Select Arrow tail to include tails on all arrows.
7. Check Map size to scale the size of the arrows to the magnitude of the field quantity being
plotted.
If you uncheck Map size, the Magnitude filtering is enabled. You can specify the Min and Max
magnitude filtering, or use a Threshold slider to set a threshold for plotting vectors. Vectors
under the threshold or below the Min are not plotted.
The Reset Min/Max button lets you reset min/max to the current intrinsic values.
If this option is cleared, click Apply when you want to see the changes.
To display or hide the mesh on field plots, or change the mesh's color:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
2. Select the plot folder you want to modify, and then click OK.
A dialog box with attribute settings for the selected folder appears.
If this option is cleared, click Apply when you want to see the changes.
Related Topics
2. Select the plot folder you want to modify, and then click OK.
A dialog box with attribute settings for the selected folder appears.
b. Optionally, if you selected Fringe or Tone, select Outline to add a border line between
isovalues.
5. If the plot is a scalar volume plot, do the following:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
b. Optionally, if you select Cloud, use the Cloud density slider to increase or decrease the
number of points that represent the density on the volume.
c. Optionally, if you select Cloud, enter a point size for the clouds in the Point size text box
6. Select Real time mode if you want the changes to take effect immediately in the view
window.
If this option is cleared, click Apply when you want to see the changes.
2. Select the plot folder you want to modify, and then click OK.
A dialog box with attribute settings for the selected folder appears.
If this option is cleared, click Apply when you want to see the changes.
For scalar point plots, a marker is used to represent a field quantity at a selected point. (For vector
point plots, arrows are used.) Modify the shape and size of markers in the plot attributes window.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
2. Select the plot folder you want to modify, and then click OK.
A dialog box with attribute settings for the selected folder appears.
If this option is cleared, click Apply when you want to see the changes.
Related Topics
Drawing a Point
Field quantities can be plotted directly on a line object. Scalar quantities are plotted as 3D color-
shaded lines. Vector quantities are plotted as arrows that are based on the line.
2. Select the plot folder you want to modify, and then click OK.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
A dialog box with attribute settings for the selected folder appears.
5. Select one of the following styles for the line object in the Line style pull-down list:
6. Use the Line width slider to increase (move to the right) or decrease (move to the left) the
thickness of the line.
7. By default, a polyline object is divided into 100 equally spaced points for post processing. To
modify the number of points on the line, type a new value in the Number of points text box.
8. Select Real time mode if you want the changes to take effect immediately in the view
window.
If this option is cleared, click Apply when you want to see the changes.
Related Topics
Drawing a Polyline
To display or hide a field overlay or mesh plot from view in the 3D Modeler window:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
1. Click View>Active View Visibility . Alternatively, you can select the Active View
Visibility icon from the toolbar.
Related Topics
2. Click [solver]>Fields>Save as .
3. Select the plots you want to export by checking the Select box, and then click OK.
The file browser appears. Field Plot Files (.dsp) is the selected file type.
4. Specify the name of the .dsp file and the location in which to save it.
5. Click Save.
Related Topics
Exporting Animations
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
1. Click [solver]>Fields>Open .
2. The file browser appears. Field Plot Files (.dsp) is the selected file type.
3. Browse to the location of the .dsp file you want to open, and then click the file name.
4. Click Open.
The plot appears in the view window. It is listed under Field Overlays in the project tree.
2. Select the plots you want to delete by checking the Delete check box.
3. Click OK.
Alternatively, click the plot in the project tree that you want to delete, and then press Delete .
1. If a plot folder has not been created, click Field Overlays in the project tree.
New Each new plot will be stored in a separate folder in the project tree.
Folder
Automatic Each new plot will be stored in a folder determined by HFSS as the most
appropriate based on the plotted field quantity. For example, all surface
magnitude E plots will be stored in the same folder.
An existing Select the existing folder in which you want to store new plots.
folder
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note Plots stored in the same folder will use the same color key. The Auto scale setting
will be based on the maximum field solution value present in a plot.
5. Under Intrinsic Variables, specify the frequency and phase angle at which the field
quantity is evaluated.
6. Click OK.
Related Topics
The calculator does not perform the computations until a value is needed or is forced for a result.
This makes it more efficient, saving computing resources and time; you can do all the calculations
without regard to data storage of all the calculated points of the field. It is generally easier to do all
the calculations first, then plot the results.
With an HFSS project inserted into the ANSYS Electronics Desktop, click Help>HFSS Getting
Started Guides and select Fields Calculator Cookbook from the list. To access the PDF, click
Help>HFSS PDFs>HFSS Getting Started Guides and select Fields Calculator Cookbook
from the list of PDFs.
Related Topics
Context Area
Calculator Stack
Registers
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Input Commands
General Commands
Scalar Commands
Vector Commands
Output Commands
or
l Right-click Field Overlays in the project tree, and then click Calculator on the shortcut
menu.
To view information on a command or screen area, click over the button or screen area on the
illustration below.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Context Area
The panel at the upper right of the window identifies the context to be used for the calculations. The
top line identifies the design. Depending on the design, text entry boxes allow you to select a
Solution, Field Type, Freq, Phase, IWavePhi and IWaveTheta. The IWavePhi and
IWaveTheta are available only for incident wave projects in which the wave is defined with
spherical coordinates.
The Field Type here is not related to the edit sources. This is a general term among ANSYS EM
products (HFSS, Maxwell, and Q3D). Some products have more than one field type for different
solution types. If only one Field Type is available the box is grayed out. For Hybrid design in HFSS
R18, even if the design contains an IE Region, you can select J and Q input quantities. You no
longer need to select between Fields and IE Surface Fields.
The Change Variable Values button opens a Set Variable Values dialog. By default it has Use
Nominal Design checked. Unchecking the box lets you select another variable value. OK the dialog
to accept the selection.
Related Topics
With an HFSS project inserted into the ANSYS Electronics Desktop, click Help>HFSS Getting
Started Guides and select Fields Calculator Cookbook from the list. To access the PDF, click
Help>HFSS PDFs>HFSS Getting Started Guides and select Fields Calculator Cookbook
from the list of PDFs.
To perform a computation on the field solution, you must first load a basic field quantity into a
register on the stack. Once a quantity is loaded into a register, it can be:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Related Topics
Registers
With an HFSS project inserted into the ANSYS Electronics Desktop, click Help>HFSS Getting
Started Guides and select Fields Calculator Cookbook from the list. To access the PDF, click
Help>HFSS PDFs>HFSS Getting Started Guides and select Fields Calculator Cookbook
from the list of PDFs.
Registers
Calculator registers hold field quantities, numbers, vectors, and geometries. No registers are
created until you load something into the calculator; therefore, this part of the window is initially
blank. As items are loaded into the calculator, it creates new registers to hold them.
Vec Vector quantities, which have both direction and magnitude at each point in space. The
x-, y-, and z-components of these quantities are stored in the register.
Scl Scalar quantities, which have a magnitude only.
Cvc Complex vector quantities.
Csc Complex scalar quantities.
Pnt Points.
Lin Lines.
Srf Surfaces.
Vol Volumes.
SclLin Scalar value on a line.
VecLine Vector value on a line.
SclSrf Scalar value on a surface.
VecSrf Vector value on a surface.
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Units of Measure
With an HFSS project inserted into the ANSYS Electronics Desktop, click Help>HFSS Getting
Started Guides and select Fields Calculator Cookbook from the list. To access the PDF, click
Help>HFSS PDFs>HFSS Getting Started Guides and select Fields Calculator Cookbook
from the list of PDFs.
If there are too many registers to fit into the display area, do one of the following:
Related Topics
Registers
With an HFSS project inserted into the ANSYS Electronics Desktop, click Help>HFSS Getting
Started Guides and select Fields Calculator Cookbook from the list. To access the PDF, click
Help>HFSS PDFs>HFSS Getting Started Guides and select Fields Calculator Cookbook
from the list of PDFs.
Units of Measure
Unless you are prompted specifically for the unit of measure, all measurements should be
assumed to be in SI base units, not model units.
Related Topics
Registers
With an HFSS project inserted into the ANSYS Electronics Desktop, click Help>HFSS Getting
Started Guides and select Fields Calculator Cookbook from the list. To access the PDF, click
Help>HFSS PDFs>HFSS Getting Started Guides and select Fields Calculator Cookbook
from the list of PDFs.
Stack Commands
Use these commands to manipulate the registers in the calculator stack.
Push
Reloads the quantity in the top register onto the top of the stack, creating a new register. The
contents of the top two registers are identical.
Pop
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
RlUp
Rolls the top register to the bottom of the stack, moving the other registers up the stack.
RlDn
Rolls the bottom register to the top of the stack, moving the other registers down the stack.
Exch
Clear
Undo
Use this command to undo the effect of the last operation you performed on the contents of the top
register. Successive Undo commands act on any previous operations.
Note You cannot undo a simple operation such as loading a field quantity, constant, function, or
geometry into the calculator. Instead, use the Pop or Clear commands to delete these
items from the calculator stack.
Related Topics
With an HFSS project inserted into the ANSYS Electronics Desktop, click Help>HFSS Getting
Started Guides and select Fields Calculator Cookbook from the list. To access the PDF, click
Help>HFSS PDFs>HFSS Getting Started Guides and select Fields Calculator Cookbook
from the list of PDFs.
Input Commands
Use the following commands to load data onto the top of the calculator stack:
Quantity Basic field quantities, such as E and H, and simple derived quantities such as volume
current. For designs with IE Region, you can select J and Q.
Geometry Geometries such as planes, points, polylines, face lists, and volumes
Constant Predefined constants such as π, ε0, and conversion factors between various units of
measurement.
Number Vector and scalar constants, including complex numbers.
Function User-defined or intrinsic variables
Geom Number of equally spaced points used to integrate fields and other quantities on a
Settings line.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
These quantities can be manipulated using the Stack commands, General commands, Scalar
commands, and Vector commands. The results of these calculations can then be examined using
the Output commands.
Related Topics
With an HFSS project inserted into the ANSYS Electronics Desktop, click Help>HFSS Getting
Started Guides and select Fields Calculator Cookbook from the list. To access the PDF, click
Help>HFSS PDFs>HFSS Getting Started Guides and select Fields Calculator Cookbook
from the list of PDFs.
Quantity Command
The Input command loads a field quantity into the top register of the calculator. Phasors in the
calculator are peak phasors. The Poynting command in the calculator therefore implements the
Poynting vector for peak phasors. Calculations which compute either average or instantaneous
time domain quantities must adhere to the peak phasor conventions. Transient solution types
display the transient quantities (with "_t" appended).
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Related Topics
Input Commands
With an HFSS project inserted into the ANSYS Electronics Desktop, click Help>HFSS Getting
Started Guides and select Fields Calculator Cookbook from the list. To access the PDF, click
Help>HFSS PDFs>HFSS Getting Started Guides and select Fields Calculator Cookbook
from the list of PDFs.
Geometry Command
The Fields Calculator Geometry command opens a dialog that lets you select a geometry to load
into the top register of the calculator. Do this to:
l Find the value of derived field quantities on any point, line, surface, or volume.
l Plot quantities directly from the calculator.
l Display a previously defined isosurface, maximum or minimum field point using the Draw
command.
Point - See drawing a point object. Points you draw are listed in the history tree, and in the
Calculator Geometry dialog when you select Point.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Line- See drawing a line object. Lines you draw are listed in the history tree, and in the Calculator
Geometry dialog when you select Line. To set the number of points on a line, see Geom Settings
.
Surface - Sheet objects and face lists which you can make, (for example of radiation
boundaries) are listed under surface in the history tree and in the Calculator Geometry dialog
when you select Surface.
Due to the ambiguity of the normal vector of a sheet, the result may require a multiplication by ( 1 )
or ( -1 ).
Volume - 3D objects, Regions, and object lists of 3D objects including AllObjects are available in
the Calculator Geometry dialog when you select Volume.
Coord -Coordinate systems are available in the Calculator Geometry dialog when you select
Coord.
Note Consider a box (Box2) that is completely enclosed in a bigger box (Box1), so that no faces
of Box2 are touching any faces of Box1.
Box2 is actually implicitly subtracted from Box1 as is done in our solvers. So Box1 is used
as if Box2 were already subtracted from Box1. Volume(Box1) is Box1 excluding Box2, and
Surface(Box1) contains faces from both Box1 and Box2.
Related Topics
Input Commands
Domain command
Export Command
Geom Settings
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
With an HFSS project inserted into the ANSYS Electronics Desktop, click Help>HFSS Getting
Started Guides and select Fields Calculator Cookbook from the list. To access the PDF, click
Help>HFSS PDFs>HFSS Getting Started Guides and select Fields Calculator Cookbook
from the list of PDFs.
Constant Command
The Constant command loads one of these four predefined constants, or conversion constant into
the top register of the calculator:
Pi π
Epsi0 The permittivity of free space, ε0 = 8.85418782 x 10-12 C2/Nm2
Mu0 The permeability of free space, µ0 = 4π x 10-7 Wb/Am
c The speed of light in vacuum, c = 2.99792458 x 108 m/s
conversion Displays the Enter Units Conversion Factor dialog. This lists a range of
constant Quantities (such as frequency, resistance, and others) along with a list of Units (Hz
to Thz, and rps) to convert From and To. The ratio of the Units From to the Units to
is displayed for the selected values as Conversion Factor.
Related Topics
Input Commands
With an HFSS project inserted into the ANSYS Electronics Desktop, click Help>HFSS Getting
Started Guides and select Fields Calculator Cookbook from the list. To access the PDF, click
Help>HFSS PDFs>HFSS Getting Started Guides and select Fields Calculator Cookbook
from the list of PDFs.
Number Command
The Number command enters one of the following into the top register of the calculator:
1. Click Number.
2. Select Scalar.
3. Type the scalar value in the Value text box.
4. Click OK to load the number into the top register.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
1. Click Number.
2. Select Vector.
3. Enter the x-, y-, and z-components of the vector.
4. Click OK to load the vector into the top register.
Complex
A complex constant. Complex constants are entered in the form C=A+jB, where A
represents the real part of the constant and B represents the imaginary part.
1. Click Number.
Related Topics
Input Commands
With an HFSS project inserted into the ANSYS Electronics Desktop, click Help>HFSS Getting
Started Guides and select Fields Calculator Cookbook from the list. To access the PDF, click
Help>HFSS PDFs>HFSS Getting Started Guides and select Fields Calculator Cookbook
from the list of PDFs.
Function Command
Any functions you use must be defined prior to using this operation.
Enters one of the following into the top register of the calculator:
To enter a function:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
1. Click Function.
2. Select Scalar.
3. Select the function from the list.
4. Click OK to load the functional scalar into the top register.
Vector A vector function, in which the values of the vector's x-, y-, and z-components are given
by functions.
1. Click Function.
2. Select Vector.
3. Select the function from the list.
4. For each component of the vector, click SetX, SetY, and SetZ.
5. Click OK to load the functional vector into the top register.
Note The predefined variables X, Y, Z, RHO, THETA, R, and PHI and any functions that you
created can be used to define functional scalar and vector quantities.
Use of the Global Coordinate System is assumed. Local coordinate systems are not used.
Related Topics
Input Commands
With a HFSS project inserted into the ANSYS Electronics Desktop, click Help>HFSS Getting
Started Guides and select Fields Calculator Cookbook from the list. To access the PDF, click
Help> HFSS PDFs> Getting Started Guides and select Fields Calculator Cookbook from
the list of PDFs.
Clicking the Geom Settings button opens the Geometric Settings dialog box. The dialog box
allows you to specify the line discretization, the number of equally-spaced points used to integrate
fields and other quantities on a line. The default is 1000 points.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Related Topics
Input Commands
With an HFSS project inserted into the ANSYS Electronics Desktop, click Help>HFSS Getting
Started Guides and select Fields Calculator Cookbook from the list. To access the PDF, click
Help>HFSS PDFs>HFSS Getting Started Guides and select Fields Calculator Cookbook
from the list of PDFs.
Read Command
This command copies the contents of a disk file into the top register. The register must be one that
has been saved using the Write output command.
To read in a register:
1. Click Read.
2. Use the file browser to specify the register's file name and directory path. A .reg extension is
automatically assumed for register files.
3. Click OK.
The contents of the file are copied to the top register in the stack.
Related Topics
Input Commands
With an HFSS project inserted into the ANSYS Electronics Desktop, click Help>HFSS Getting
Started Guides and select Fields Calculator Cookbook from the list. To access the PDF, click
Help>HFSS PDFs>HFSS Getting Started Guides and select Fields Calculator Cookbook
from the list of PDFs.
This button appears in the Inputs column of the Fields calculator only for Eigenmode problems.
Freq is the only value listed. After you push Freq to the stack, you can click Eval to return a
complex value.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Related Topics
Input Commands
With an HFSS project inserted into the ANSYS Electronics Desktop, click Help>HFSS Getting
Started Guides and select Fields Calculator Cookbook from the list. To access the PDF, click
Help>HFSS PDFs>HFSS Getting Started Guides and select Fields Calculator Cookbook
from the list of PDFs.
General Commands
Use these Fields Calculator commands to perform operations on both vector and scalar quantities.
+ (Add)
- (Subtract)
Subtracts the quantity in the top register from the quantity in the second register. The two registers
must hold the same type of quantity (both scalar or both vector). You cannot subtract a scalar from
a vector (or vice versa).
* (Multiply)
Multiplies the quantity in the top register by the quantity in the second register. One of the two
registers must contain a scalar value; the other register can be either a scalar or a vector.
/ (Divide)
Divides the quantity in the second register by the quantity in the top register. The second register
must contain a scalar value; the top register can be either a scalar or a vector.
Neg
Abs
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Smooth
Smooths the quantity in the top register. Because of the numerical solution technique used, field
values are not always continuous across the boundaries of the individual elements that make up
the finite-element mesh. Smoothing makes the values continuous by taking a weighted average
from all of a node's neighboring elements. The weights are based on angles, so elements with
larger angles provide larger contributions. In general, use smoothing before plotting a quantity.
Complex
These commands perform operations on a complex quantity in the top register. Complex quantities
are indicated by a C at the beginning of the register label. They can be represented in terms of real
and imaginary components, or in terms of magnitude and phase:
where:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
where
Entering the phase angle lets you compute the real part of the field's magnitude at
different points in its cycle.
CmplxReal Converts the real scalar of the top register to the real part of a complex number.
CmplxImag Converts the real scalar of the top register to the imaginary part of a complex
number.
CmplxPeak Calculates the peak value of a given complex vector. Intuitively, this calculates the
maximum magnitude of the equivalent real vector in a waveform.
Domain
This limits a calculation to the volume you specify. The domain filter works for scalars, vectors,
complex scalars and complex vectors. This operation requires the top two entries of the stack to be
a volume geometry and a numeric field quantity. To do this:
1. Load the field quantity into the top register, and perform any necessary operations on it.
2. Load the volume using the Geometry command.
3. Click Domain.
The Domain command is often used to limit a calculation or plot to the intersection of a surface and
an object or group of objects. If you export a domain filtered numeric, points that are filtered out by
the domain will not be written out.
Related Topics
Export Command
With an HFSS project inserted into the ANSYS Electronics Desktop, click Help>HFSS Getting
Started Guides and select Fields Calculator Cookbook from the list. To access the PDF, click
Help>HFSS PDFs>HFSS Getting Started Guides and select Fields Calculator Cookbook
from the list of PDFs.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
vector components, the magnitude should be equal to sqrt(real^2+imag^2), but the need to
interpolate values and the calculation sequence means that HFSS does not give this value unless
the specified location is directly on a mesh element node.
1. Calculate real part of complex vector electric field (in x, y, and z directions):
a. Qty > E
b. Complex > Real
c. Geometry > Point > fieldcalc_point
d. Value
e. Eval
2. Calculate imaginary part of complex vector electric field (in x, y, and z directions):
a. Qty > E
b. Complex > Imag
c. Geometry > Point > fieldcalc_point
d. Value
e. Eval
Use the real and imaginary components to manually calculate the magnitude as the sqrt
(Real^2+imag^2).
Related Topics
With an HFSS project inserted into the ANSYS Electronics Desktop, click Help>HFSS Getting
Started Guides and select Fields Calculator Cookbook from the list. To access the PDF, click
Help>HFSS PDFs>HFSS Getting Started Guides and select Fields Calculator Cookbook
from the list of PDFs.
Scalar Commands
Use these commands to perform operations on scalar quantities.
Vec? Makes the scalar quantity in the top register a vector component.
1/x Takes the inverse of the scalar quantity in the top register.
Pow Raises a scalar quantity to the power you specify.
( Square Takes the square root of the quantity in the top register.
Root)
Trig Takes a selected trigonometric value of the value in the top register of the
calculator stack
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
d/d? Takes the partial derivative of the quantity in the top register.
Takes the integral of a scalar quantity over a volume, surface, or line.
(Integral)
Min Computes the minimum of a scalar field quantity on a line, surface, or volume.
Max Computes the maximum of a scalar field quantity on a line, surface, or volume.
∇ (Gradient) Takes the gradient of the scalar quantity in the top register.
ln Takes the natural logarithm (base e) of the scalar quantity in the top register.
log Takes the logarithm (base 10) of the scalar quantity in the top register.
Mean Takes the mean of the quantity in the top register.
Std Takes the standard deviation of the quantity in the top register.
Related Topics
With an HFSS project inserted into the ANSYS Electronics Desktop, click Help>HFSS Getting
Started Guides and select Fields Calculator Cookbook from the list. To access the PDF, click
Help>HFSS PDFs>HFSS Getting Started Guides and select Fields Calculator Cookbook
from the list of PDFs.
Vec? Command
Makes the scalar quantity in the top register a vector component. Choose from the following:
Related Topics
Scalar Commands
With an HFSS project inserted into the ANSYS Electronics Desktop, click Help>HFSS Getting
Started Guides and select Fields Calculator Cookbook from the list. To access the PDF, click
Help>HFSS PDFs>HFSS Getting Started Guides and select Fields Calculator Cookbook
from the list of PDFs.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Related Topics
Scalar Commands
With an HFSS project inserted into the ANSYS Electronics Desktop, click Help>HFSS Getting
Started Guides and select Fields Calculator Cookbook from the list. To access the PDF, click
Help>HFSS PDFs>HFSS Getting Started Guides and select Fields Calculator Cookbook
from the list of PDFs.
Pow Command
Related Topics
Scalar Commands
With an HFSS project inserted into the ANSYS Electronics Desktop, click Help>HFSS Getting
Started Guides and select Fields Calculator Cookbook from the list. To access the PDF, click
Help>HFSS PDFs>HFSS Getting Started Guides and select Fields Calculator Cookbook
from the list of PDFs.
Related Topics
Scalar Commands
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
With an HFSS project inserted into the ANSYS Electronics Desktop, click Help>HFSS Getting
Started Guides and select Fields Calculator Cookbook from the list. To access the PDF, click
Help>HFSS PDFs>HFSS Getting Started Guides and select Fields Calculator Cookbook
from the list of PDFs.
Trig
Takes one of the following trigonometric values of the value in the top register of the calculator
stack:
Sin Sine.
Cos Cosine.
Tan Tangent.
Asin Arcsine.
Acos Arccosine.
Atan Arctangent.
Atan2 A two-argument version of the At.an function. Takes the y and x coordinates of the
tangent point (in the top two stack registers)
Related Topics
Scalar Commands
You can access HFSS Fields Calculator Cookbook in a pdf version. With an HFSS project
inserted into ANSYS Electronics Desktop, click Help > HFSS PDFs > HFSS Getting Started
Guides > Fields Calculator Cookbook.
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Scalar Commands
You can access HFSS Fields Calculator Cookbook in a pdf version. With an HFSS project
inserted into ANSYS Electronics Desktop, click Help > Getting Started Guides > Fields
Calculator Cookbook.
(Integral) Command
Takes the integral of a scalar quantity over a volume, surface, or line. The top register must contain
a geometry and the second register must contain the scalar quantity to be integrated.
To perform an integration:
1. Load a quantity into the top register of the calculator, and perform any required operations
on it.
2. Use one of the Geometry commands to load the line, surface, or volume over which the
quantity is to be integrated.
Note If you computed the tangent or normal of the quantity to be integrated, you do not
have to load a geometry onto the calculator stack. HFSS integrates the tangential or
normal component of the quantity over the line on which you computed its tangent, or
the surface on which you computed its normal.
3. Choose the command to integrate the scalar quantity over the geometry.
Related Topics
Scalar Commands
With an HFSS project inserted into the ANSYS Electronics Desktop, click Help>HFSS Getting
Started Guides and select Fields Calculator Cookbook from the list. To access the PDF, click
Help>HFSS PDFs>HFSS Getting Started Guides and select Fields Calculator Cookbook
from the list of PDFs.
Min Command
Computes the minimum of a scalar field quantity on a line, surface, or volume. Two options are
available:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
These commands operate in the same way as the Max commands. Use the Eval command to
display the actual minimum field value or the coordinates of the point where it occurs.
Related Topics
Scalar Commands
With an HFSS project inserted into the ANSYS Electronics Desktop, click Help>HFSS Getting
Started Guides and select Fields Calculator Cookbook from the list. To access the PDF, click
Help>HFSS PDFs>HFSS Getting Started Guides and select Fields Calculator Cookbook
from the list of PDFs.
Max Command
Computes the maximum of a scalar field quantity on a line, surface, or volume. Two options are
available:
1. Load a field quantity into the calculator, and perform any necessary operations on it. Keep
the following in mind:
l You cannot find the maximum value of a vector quantity. Therefore, make sure that the
result is a scalar.
l Before computing the maximum value of a complex quantity, you must find the real part of
the quantity using the Cmplx/Real or Cmplx/AtPhase commands.
2. Load a point, line, or volume into the calculator using one of the Geometry commands.
3. Do one of the following:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Use the Eval command to display the actual maximum field value or the coordinates of the point
where it occurs.
Related Topics
Scalar Commands
With an HFSS project inserted into the ANSYS Electronics Desktop, click Help>HFSS Getting
Started Guides and select Fields Calculator Cookbook from the list. To access the PDF, click
Help>HFSS PDFs>HFSS Getting Started Guides and select Fields Calculator Cookbook
from the list of PDFs.
∇ (Gradient) Command
Takes the gradient of the scalar quantity in the top register.
Related Topics
Scalar Commands
With an HFSS project inserted into the ANSYS Electronics Desktop, click Help>HFSS Getting
Started Guides and select Fields Calculator Cookbook from the list. To access the PDF, click
Help>HFSS PDFs>HFSS Getting Started Guides and select Fields Calculator Cookbook
from the list of PDFs.
Ln Command
Takes the natural logarithm (base e) of the scalar quantity in the top register.
Related Topics
Scalar Commands
You can access HFSS Fields Calculator Cookbook in a pdf version. With an HFSS project
inserted into ANSYS Electronics Desktop, click Help > Getting Started Guides > Fields
Calculator Cookbook.
Log Command
Takes the logarithm (base 10) of the scalar quantity in the top register.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Related Topics
Scalar Commands
With an HFSS project inserted into the ANSYS Electronics Desktop, click Help>HFSS Getting
Started Guides and select Fields Calculator Cookbook from the list. To access the PDF, click
Help>HFSS PDFs>HFSS Getting Started Guides and select Fields Calculator Cookbook
from the list of PDFs.
Mean Command
Related Topics
Scalar Commands
With an HFSS project inserted into the ANSYS Electronics Desktop, click Help>HFSS Getting
Started Guides and select Fields Calculator Cookbook from the list. To access the PDF, click
Help>HFSS PDFs>HFSS Getting Started Guides and select Fields Calculator Cookbook
from the list of PDFs.
Std Command
Takes the standard deviation of the quantity in the top register.
Related Topics
Scalar Commands
With an HFSS project inserted into the ANSYS Electronics Desktop, click Help>HFSS Getting
Started Guides and select Fields Calculator Cookbook from the list. To access the PDF, click
Help>HFSS PDFs>HFSS Getting Started Guides and select Fields Calculator Cookbook
from the list of PDFs.
Vector Commands
Use these commands to perform operations on vector quantities.
Scal? Replaces the vector in the top register with a scalar quantity whose value is a
component of the vector.
Matl Multiplies or divides the vector field quantity in the top register by a material property, or
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
if you select MassDensity as the material property, produces a scalar that operates like
a named variable.
Mag Takes the magnitude of the vector quantity in the top register. The magnitude of a
complex vector is defined to be the length of the real vector resulting from taking the
modulus of each component of the original complex vector.
Dot Takes the dot product of the vector quantities in the top two registers.
Cross Takes the cross product of the vector quantities in the top two registers.
Divg Takes the divergence of the vector quantity in the top register.
Curl Takes the curl of the vector quantity in the top register.
Tangent Computes the tangential component of a vector quantity along a line
Normal Computes the normal component of a vector quantity on a surface such as a cutplane
or object surface.
Unit Computes the normal or tangent unit vector. The unit vector is a "wild card" entry. The
Vec context is specified at the time of plotting, integrating, or report generation.
Related Topics
Scalar Commands
With an HFSS project inserted into the ANSYS Electronics Desktop, click Help>HFSS Getting
Started Guides and select Fields Calculator Cookbook from the list. To access the PDF, click
Help>HFSS PDFs>HFSS Getting Started Guides and select Fields Calculator Cookbook
from the list of PDFs.
Scal? Command
Replaces the vector in the top register with a scalar quantity whose value is a component of the
vector. Choose from the following:
Related Topics
Vector Commands
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
With an HFSS project inserted into the ANSYS Electronics Desktop, click Help>HFSS Getting
Started Guides and select Fields Calculator Cookbook from the list. To access the PDF, click
Help>HFSS PDFs>HFSS Getting Started Guides and select Fields Calculator Cookbook
from the list of PDFs.
Matl Command
Operates on the vector field quantity in the top register of the Fields Calculator based on a material
property. At each tetrahedron, the field quantity is operated on by the value of the selected material
property — taking the different material attributes of each object into account.
1. Click Matl.
Related Topics
Vector Commands
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
With an HFSS project inserted into the ANSYS Electronics Desktop, click Help>HFSS Getting
Started Guides and select Fields Calculator Cookbook from the list. To access the PDF, click
Help>HFSS PDFs>HFSS Getting Started Guides and select Fields Calculator Cookbook
from the list of PDFs.
Mag Command
Takes the magnitude of the vector quantity in the top register. The magnitude of a complex vector is
defined to be the length of the real vector resulting from taking the modulus of each component of
the original complex vector.
With a complex vector on the calculator stack, the Mag button returns a nonnegative scalar. In
previous software versions, this command returned a complex scalar.
Related Topics
Vector Commands
With an HFSS project inserted into the ANSYS Electronics Desktop, click Help>HFSS Getting
Started Guides and select Fields Calculator Cookbook from the list. To access the PDF, click
Help>HFSS PDFs>HFSS Getting Started Guides and select Fields Calculator Cookbook
from the list of PDFs.
Dot Command
Takes the dot product of the vector quantities in the top two registers.
Related Topics
Vector Commands
You can access HFSS Fields Calculator Cookbook in a pdf version. With an HFSS project
inserted into ANSYS Electronics Desktop, click Help > Getting Started Guides > Fields
Calculator Cookbook.
Cross Command
Takes the cross product of the vector quantities in the top two registers.
Related Topics
Vector Commands
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
You can access HFSS Fields Calculator Cookbook in a pdf version. With an HFSS project
inserted into ANSYS Electronics Desktop, click Help > Getting Started Guides > Fields
Calculator Cookbook.
Divg Command
Related Topics
Vector Commands
With an HFSS project inserted into the ANSYS Electronics Desktop, click Help>HFSS Getting
Started Guides and select Fields Calculator Cookbook from the list. To access the PDF, click
Help>HFSS PDFs>HFSS Getting Started Guides and select Fields Calculator Cookbook
from the list of PDFs.
Curl Command
Related Topics
Vector Commands
With an HFSS project inserted into the ANSYS Electronics Desktop, click Help>HFSS Getting
Started Guides and select Fields Calculator Cookbook from the list. To access the PDF, click
Help>HFSS PDFs>HFSS Getting Started Guides and select Fields Calculator Cookbook
from the list of PDFs.
Tangent Command
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Related Topics
Vector Commands
With an HFSS project inserted into the ANSYS Electronics Desktop, click Help>HFSS Getting
Started Guides and select Fields Calculator Cookbook from the list. To access the PDF, click
Help>HFSS PDFs>HFSS Getting Started Guides and select Fields Calculator Cookbook
from the list of PDFs.
Normal Command
Computes the normal component of a vector quantity on a surface such as a cutplane or object
surface. This is the equivalent of taking the dot product of the quantity with the surface's unit normal
vector:
Note Because surface normals of sheets are not well defined the fields calculator can produce
incorrect results if an expression is evaluated on a sheet. To enforce the correct direction of
the surface normal of a sheet, a faceted 3D object (such as a box) can be defined such that
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
one of its planar faces is coincident with the sheet. Because surface normals of a valid
object are always defined in an outward direction in HFSS, the fields calculator uses the
surface normal of the face of the 3D object that is coincident with the sheet.
Related Topics
Vector Commands
With an HFSS project inserted into the ANSYS Electronics Desktop, click Help>HFSS Getting
Started Guides and select Fields Calculator Cookbook from the list. To access the PDF, click
Help>HFSS PDFs>HFSS Getting Started Guides and select Fields Calculator Cookbook
from the list of PDFs.
Computes the normal or tangent unit vector. The unit vector is a "wild card" entry. The context is
specified at the time of plotting, integrating, or report generation.
Tangent Computes the unit vector tangent to the line specified at the time of plotting,
integrating, or report generation based on the context.
Normal Computes the unit vector normal to the surface specified at the time of plotting,
integrating, or report generation based on the context.
CoordSys Computes the unit vector in the X-dimension of the relative coordinate system in the
(X) top register of the calculator stack. Add the relative CS as a geometric object using
the Geometry/Coord command.
CoordSys Computes the unit vector in the Y-dimension of the relative coordinate system in the
(Y) top register of the calculator stack. Add the relative CS as a geometric object using
the Geometry/Coord command.
CoordSys Computes the unit vector in the Z-dimension of the relative coordinate system in the
(Z) top register of the calculator stack. Add the relative CS as a geometric object using
the Geometry/Coord command.
Related Topics
Vector Commands
With an HFSS project inserted into the ANSYS Electronics Desktop, click Help>HFSS Getting
Started Guides and select Fields Calculator Cookbook from the list. To access the PDF, click
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Help>HFSS PDFs>HFSS Getting Started Guides and select Fields Calculator Cookbook
from the list of PDFs.
X Form
Computes the offset based on your selection of Cylindrical or Spherical coordinates and your input
of X, Y, and Z offsets for the origin of the new coordinate system. Selecting X Form displays a
selection menu for the coordinate system (ToCyclindrical or To Spherical), after which the Offsets
dialog displays.
Pressing OK will apply the respective coordinate transformation onto the (complex) vector quantity
on the calculator stack. The new expression will be pushed onto the stack. It will be something like
CVc : ToCylindrical(<Ex,Ey,Ez>,offset<0mil,0mil,0mil>) or CVc : ToSpherical
(<Ex,Ey,Ez>,offset<0mil,0mil,0mil>) respectively.
Related Topics
Vector Commands
With an HFSS project inserted into the ANSYS Electronics Desktop, click Help>HFSS Getting
Started Guides and select Fields Calculator Cookbook from the list. To access the PDF, click
Help>HFSS PDFs>HFSS Getting Started Guides and select Fields Calculator Cookbook
from the list of PDFs.
Output Commands
Use these commands to compute or evaluate expressions and to output the data in the calculator.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
command
Write Saves the contents of the top register to a disk file.
command
Export Saves field quantities in a format that can be read by other modeling or post-
command processing software packages.
Related Topics
With an HFSS project inserted into the ANSYS Electronics Desktop, click Help>HFSS Getting
Started Guides and select Fields Calculator Cookbook from the list. To access the PDF, click
Help>HFSS PDFs>HFSS Getting Started Guides and select Fields Calculator Cookbook
from the list of PDFs.
Value Command
1. Load the field quantity into the top register, and perform any needed operations on it.
2. Load the appropriate point into the calculator using the Geometry/Point command.
3. Click Value.
To view the numerical results of this operation, use the Eval command.
You can also use the Value command to access the intermediate SurfaceValue function.
For example, after inputting an expression for a quantity, such as an E field, and then selecting a
surface geometry, the calculator stack displays something like this.
Clicking the Value command changes the display to the following, showing the intermediate
SurfaceValue function.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
In this case SurfaceValue provides the x, y, z, coordinates of the FEM mesh and Lagrangian points
so you can use Write to generate an .fld file containing an evaluated scalar quantity at those points.
Two of the examples in Using the Fields Calculator pdf also show the intermediate SurfaceValue
function in practical use.
Now you can perform suitable operations such as Write, Integrate, etc. For PointValue you can
also do Eval.
Related Topics
With an HFSS project inserted into the ANSYS Electronics Desktop, click Help>HFSS Getting
Started Guides and select Fields Calculator Cookbook from the list. To access the PDF, click
Help>HFSS PDFs>HFSS Getting Started Guides and select Fields Calculator Cookbook
from the list of PDFs.
Eval Command
This command numerically evaluates and displays the results of calculator operations such as
integrations, maximum or minimum field computations, field values at points, and so forth. The
quantity to be evaluated must be in the top register. The Eval command computes the numerical
results of the operation, which replace the contents of the register.
For instance, to find the current around a loop, you must numerically evaluate the following integral
Since H and I are complex quantities, you will need to evaluate the real part of H to obtain the real
part of I, then evaluate the imaginary part of H to obtain the imaginary part of I. To do this:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
7. Repeat this process using the imaginary part of H (found with the Cmplx/Imag command) to
obtain the imaginary part of I.
Related Topics
With an HFSS project inserted into the ANSYS Electronics Desktop, click Help>HFSS Getting
Started Guides and select Fields Calculator Cookbook from the list. To access the PDF, click
Help>HFSS PDFs>HFSS Getting Started Guides and select Fields Calculator Cookbook
from the list of PDFs.
Write Command
This command saves the contents of the top register to a disk file. Use this command to:
Note Use of the Global Coordinate System is assumed. Local coordinate systems are not
used.
To save a register:
1. Click Write.
2. If the register includes numeric with a constrained quantity (such as jsurf), you see a dialog
that gives a choice of constraining geometries. For example:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
4. Use the file browser to specify the register's file name and directory path. A .reg extension is
automatically assigned to register files and a .fld extension is assigned to field files. You can
choose to save both .reg and .fld files, or either one.
5. Click OK.
The contents of the register are saved to the file you specified.
Related Topics
With an HFSS project inserted into the ANSYS Electronics Desktop, click Help>HFSS Getting
Started Guides and select Fields Calculator Cookbook from the list. To access the PDF, click
Help>HFSS PDFs>HFSS Getting Started Guides and select Fields Calculator Cookbook
from the list of PDFs.
Export Command
This command opens the Export Solution dialog, from which you can export the field quantity in
the top register to a file, mapping it to a grid of points. Use this command to save field quantities in a
format that can be read by other modeling or post-processing software packages. Two options are
available for defining the grid points on which to export:
Input Maps the field quantity to a customized grid of points. Before using this command, you
grid must create a file containing the points and units.
points
from file
Calculate Maps the field quantity to a three-dimensional cartesian grid. You specify the
grid dimensions and spacing of the grid in the cartesian, cylindrical, or spherical
points coordinates, with units that you specify. The initial units are taken from the model.
Note Use of the Global Coordinate System is assumed. Local coordinate systems are not used.
1. Load the quantity into the top register for the fields calculator, and perform any operations on
it.
2. If desired, load a volume using the Geometry command.
You can use the Domain command to limit the calculation to the volume you specify. If you
export a Domain filtered numeric, points that are filtered out by the domain will not be written
out.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
4. Type or select the name of the file in which the field quantity is to be saved in the Output
FileName text box. You can use the file icon to open the file browser to specify the file name
and directory path. A .reg extension is automatically assigned to this file.
5. Click either the Input grid points from file radio button if you have a created a .pts
file containing the grid points, or click the Calculate grid points radio button.
l If you select Input grid points from file, either type the name and directory of the file
containing the points on which the field is to be mapped, or, click on the file icon and use
the file browser to locate the point file (.pts extension).
Note The .pts file should contain the units to use for the export as shown in this file stub:
Unit=mm
l If you select Calculate grid points button, you can specify the coordinate system as
Cartesian, Cylindrical, or Spherical.
Cartesian: for each grid dimension on X, Y, and Z, enter the Minimum, Maximum, and grid
point spacing.
Cylindrical: for each dimension Rho, Phi, and Z, enter the Minimum, Maximum, and grid
point Spacing. You can also specify an origin of Offset.
Spherical: for each dimension R, Theta, and Phi, enter the Minimum, Maximum, and grid
point Spacing. You can also specify an origin of Offset.
Note When you export fields on a 1D or 2D line/surface from the field calculator, the start and
stop values must be the same for one or two of the coordinate system start/stop ranges. If
you specify a zero spacing for a dimension, the export uses only the minimum value.
The default coordinate system will be Cartesian. The default offset will be all zeroes. The
length units will default to model unit and default angle unit will be degree. At the start the
minimum/maximum/Spacing entries are blank. The user entered values are not
remembered when the dialog is closed.
6. For larger files, you may want to uncheck the Include points in output file box. If you
uncheck the box, the file header will include minimum, maximum and spacing information
from which you can recalculate the grid points.
7. Click OK to export the file.
The field quantity is mapped to the grid and saved to the file you specified (.reg extension.).
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Related Topics
Input Commands
Domain command
With an HFSS project inserted into the ANSYS Electronics Desktop, click Help>HFSS Getting
Started Guides and select Fields Calculator Cookbook from the list. To access the PDF, click
Help>HFSS PDFs>HFSS Getting Started Guides and select Fields Calculator Cookbook
from the list of PDFs.
Click on a named expression to select it. When a named expression has been selected, the Copy
to Stack button is activated. Click Copy to Stack to push the expression on the top of the stack.
When an HFSS design is open and a Solution Setup has been performed, the following predefined
named expressions are available. Transient solution types display transient expressions (with _t).
Expression
Expression Definition
Name
Mag_E Mag(AtPhase(Smooth(<Ex,Ey,Ez>),Phase))
Mag_E_t Mag(Smooth(<E_tx,E_ty,Etz>)). Used with Transient projects.
Mag_H Mag(AtPhase(Smooth(<Hx,Hy,Hz>),Phase))
Mag_H_t Mag(Smooth(<Hx,Hy,Hz>). Used with Transient projects.
Mag_Jvol Mag(AtPhase(Smooth(<JVx,JVy,JVz>),Phase))
Mag_Jsurf Mag(AtPhase(Smooth(<Jsurfx,Jsurfy,Jsurfz>),Phase))
Mag_Jsurf_t Mag(<Jsurf_tx,Jsurf_ty,Jsruf_tz>). Used with Transient projects.
ComplexMag_ Mag(CmplxMag(Smooth(<Ex,Ey,Ez>))
E
ComplexMag_ Mag(CmplxMag(Smooth(<Hx,Hy,Hz>))
H
ComplexMag_ Mag(CmplxMag(Smooth(<JVx,JVy,JVz>))
Jvol
ComplexMag_ Mag(CmplxMag(Smooth(<Jsurfx,Jsurfy,Jsurfz>))
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Jsurf
Vector_E AtPhase(Smooth(<Ex,Ey,Ez>),Phase)
VectorE_t (Smooth(<E_tx,E_ty,E_tz>). Used in Transient projects.
Vector_H AtPhase(Smooth(<Hx,Hy,Hz>),Phase)
Vector_H_t (Smooth(<Hx,Hy,Hz>
Vector_Jvol AtPhase(Smooth(<JVx,JVy,JVz>),Phase)
Vector_Jsurf AtPhase(Smooth(<Jsurf_tx,Jsurf_ty,Jsurf_tz>). Used in Transient projects.
Vector_Jsurf_t (Smooth(<Jsurfx,Jsurfy,Jsurfz>)
Vector_ Real(Poynting)
RealPoynting
VectorReal_ Poynting_t. Used in Transient projects.
Poynting_t
Local_SAR LocalSAR
Average_SAR AverageSAR
Surface_ SurfaceLossDensity. See further discussion here.
Loss_Density
Volume_Loss_ VolumeLossDensity. See further discussion here.
Density
Volume_Loss_ VolumeLossDensity_t. Used in Transient projects.
Density_t
Surface Forces exist when one side is conductor, but the other is not, or finite
Surface_ conductivity and layered impedance boundary. This is mainly for the purpose of
Force_Density mapping surface force density in HFSS to Workbench Mechanical. For details
on the calculations, see the technical notes.
Mag_ Mag(Smooth(<Ux,Uy,Uz>)). Magnitude of displacement, used with Workbench
Displacement in projects exploring stress feedback.
Displacement_ Smooth(<Ux,Uy,Uz>). Used with Workbench in projects exploring stress
Vector feedback.
Related Topics
With an HFSS project inserted into the ANSYS Electronics Desktop, click Help>HFSS Getting
Started Guides and select Fields Calculator Cookbook from the list. To access the PDF, click
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Help>HFSS PDFs>HFSS Getting Started Guides and select Fields Calculator Cookbook
from the list of PDFs.
1. In the register display area, create the expression by using the calculator Input commands.
You can combine input commands in any legal fashion, including the use of complex quantities.
If you select an input command that is not legal for a current operation, you receive an error
message.
2. When you finish creating the expression, click Add in the Named Expressions panel.
l You can scroll through the list, select any desired named expression, and click Copy to
Stack to move it to the calculator stack, where you can use it to generate calculated outputs.
When the Named Expression list contains one or more user-defined expressions, the Delete and
Clear All buttons are active (you cannot delete or clear the predefined named expressions.)
l To delete the selected user-defined named expression, click Delete. To delete all user-
defined named expressions, click Clear All.
To save one or more named expressions for the Fields Calculator to a personal Library:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
2. If any new named expressions exist, you can select one or more to save to a file.
3. Give a file name, and click OK to save the file.
To load named expressions for the Fields Calculator from a personal library:
This displays a file browser that you can use to search for existing .clc files.
Related Topics
You can access HFSS Fields Calculator Cookbook in a pdf version. With an HFSS project
inserted into ANSYS Electronics Desktop, click Help > Getting Started Guides > Fields
Calculator Cookbook.
Related Topics
With an HFSS project inserted into the ANSYS Electronics Desktop, click Help>HFSS Getting
Started Guides and select Fields Calculator Cookbook from the list. To access the PDF, click
Help>HFSS PDFs>HFSS Getting Started Guides and select Fields Calculator Cookbook
from the list of PDFs.
You can define a spherical surface over which to analyze the near or far fields by specifying a range
and step size for phi and theta. This defines the spherical direction in which radiated fields will be
evaluated. You can also draw a line along which to calculate the near fields.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
You also may need to edit the Global Material Environment in consideration of the far fields
calcuclation.
Optionally, after defining the radiation surface, HFSS can compute antenna array radiation
patterns and antenna parameters for designs that have analyzed a single array element. HFSS
models the array radiation pattern by applying an "array factor" to the single element's pattern
when far fields are calculated. You set up the array factor information by defining either a finite, 2D
array geometry of uniformly spaced, equal-amplitude elements (a regular array) or an arbitrary
array of identical elements distributed in 3D space with individual complex weights (a custom
array.)
HFSS can also compute antenna parameters, such as the maximum intensity, peak directivity,
peak gain, and radiation efficiency. For near-field analysis, HFSS can also compute maximum
parameters, such as the maximum of the total E-field and the maximum E-field in the x-direction.
Note When computing near and far fields, keep in mind that you must have defined at least one
radiation or PML boundary in the design. At any time you may change the radiation
surfaces that HFSS uses when calculating the radiated fields without needing to re-solve
the problem, but the radiation-type boundary is still required.
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
2. Use the Sphere tab define the Name, Radius, and sampling of Phi and Theta for the near-
field sphere. The radius is measured from the origin of the sphere's coordinate system,
which you specify under the Coordinate System tab. You can assign a variable to the
radius, and a post-processing variable will often make sense in this context.
Specify the sphere's sampling in terms of Start, Stop, and Step Size angles given in radians or
degrees. To verify your settings, use the View Sweep Points button to display a list of the theta
and phi sweep points. See Spherical Cross-Sections in the Technical Notes for guidelines for
setting phi and theta.
You can use Save as Defaults to set the current values as the default for new near-field
sphere setups.
3. Use the Coordinate Systems tab to specify the orientation of the sphere.
Use global coordinate system is selected by default, but in some cases the orientation of the
antenna requires the use of a local coordinate system. In this case, select Use local
coordinate system, and choose a local coordinate system that you created previously in the
modeler.
4. Use the Radiation Surface tab to select the solved surface from which to calculate radiated
fields.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Use Boundary Radiation Surfaces is selected by default, indicating that the radiated fields
will be calculated using the assigned radiation or PML surface. For some models you may find it
it more efficient and/or accurate to use an interior surface. In this case, select Use Custom
Radiation Surface, and choose a face list that you previously created in the modeler.
Notes
You must have defined at least one radiation or PML boundary in the design for HFSS to compute
near-field quantities, regardless of which radiation surfaces you instruct HFSS to use when
calculating the near fields. You do not need to re-solve the problem if you modify radiation surfaces
in the Near Field Radiation Sphere Setup dialog.
Related Topics
Selecting Faces
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
3. Under the Near Field Line Setup tab, type a name for the line in the Name text box.
4. Select the polyline along which you want to evaluate the near fields from the Choose Line
list.
5. Specify the Number of points in the line.
This is the total number of equally spaced points on the line. Specifying points on the line will
enable you to plot the near-field values across a normalized distance, that is, to create a value
versus distance plot of a near-field quantity on the line.
You can click the View Sweep Points button to view a dialog that lists the points.
To specify a surface other than an assigned radiation or PML boundary over which to integrate
the radiated fields, you must first create a face list. To create a facelist see Creating a Face List.
The face list cannot include a face that lies on a PML object.
If you have created one or more face lists, the Use Custom Radiation Surface radio button is
enabled.
HFSS will use the surfaces in the face list as the radiating surfaces when calculating the near
fields.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
7. Click OK.
You must have defined at least one radiation or PML boundary in the design for HFSS to compute
near-field quantities, regardless of which radiation surfaces you instruct HFSS to use when
calculating the near fields. You do not need to re-solve the problem if you modify radiation surfaces
in the Near Field Line Setup window.
Note For parts of the near-field line lying outside of the model region, near-field approximation is
calculated. However, if parts of the line lie inside the model region, the model fields are
used to compute interpolated values. A section of the near-field line is considered to
overlap the model if it lies in the enlarged model region after accounting for symmetry
planes.
Related Topics
1. Right-click the Sphere or Line icon in the project tree, and then click Compute Max
Parameters on the shortcut menu.
2. Under the Solutions tab, select the solution for which you want HFSS to compute the near-
field parameters.
3. Under the Intrinsic Variables tab, select the solved frequency point at which you want
HFSS to compute the near-field parameters.
The Max Field Data window appears, listing the following information:
Total
X
Y
Z
Phi
Theta
LHCP
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
RHCP
Ludwig 3/X dominant
Ludwig 3/Y dominant
Note When calculating the maximum far-field values, the distance r is factored out of the E-field.
Therefore, the units for the maximum field data values are given in volts.
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
2. Use the Sphere tab define the Name, Radius, and sampling of Phi and Theta for the near-
field sphere. The radius is measured from the origin of the sphere's coordinate system,
which you specify under the Coordinate System tab. You can assign a variable to the
radius, and a post-processing variable will often make sense in this context.
Specify the sphere's sampling in terms of Start, Stop, and Step Size angles given in radians or
degrees. To verify your settings, use the View Sweep Points button to display a list of the theta
and phi sweep points. See Spherical Cross-Sections in the Technical Notes for guidelines for
setting phi and theta.
You can use Save as Defaults to set the current values as the default for new near-field
sphere setups.
3. Use the Coordinate Systems tab to specify the orientation of the sphere.
Use global coordinate system is selected by default, but in some cases the orientation of the
antenna requires the use of a local coordinate system. In this case, select Use local
coordinate system, and choose a local coordinate system that you created previously in the
modeler.
4. Use the Radiation Surface tab to select the solved surface from which to calculate radiated
fields.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Use Boundary Radiation Surfaces is selected by default, indicating that the radiated fields
will be calculated using the assigned radiation or PML surface. For some models you may find it
it more efficient and/or accurate to use an interior surface. In this case, select Use Custom
Radiation Surface, and choose a face list that you previously created in the modeler.
Note Do not use a sheet-object based face list as the radiation computation surface.
You can use the Save as Default to set the current values as a default, and the Use Defaults
button to use previously saved options.
Note You must have defined at least one radiation or PML boundary in the design for HFSS to
compute far-field quantities, regardless of which radiation surfaces you instruct HFSS to
use when calculating the far fields. You do not need to re-solve the problem if you modify
radiation surfaces in the Far Field Radiation Sphere Setup window.
Related Topics
The "regular uniform array" geometry defines a finite 2D array of uniformly spaced, equal-
amplitude elements. This is a natural specification after phased array applications. The "custom
array" geometry defines an arbitrary array of identical elements distributed in 3D space with
individual user-specified complex weights.
If you define an antenna array, the antenna setup icon in Project tree changes from a single
antenna an array icon.
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
A regular antenna array is a finite 2D array geometry of uniformly spaced, equal-amplitude cells
with a linear phase shift.
The array factor will be applied, using the information you specified, when far fields are
calculated.
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
A custom antenna array is a an arbitrary array of identical elements distributed in 3D space with
individual user-specified complex weights. The array is defined in a text file that includes the
element positions, voltage amplitude weights, and phases. See Custom Arrays in the Technical
Notes for examples of custom array geometry text files.
5. Follow the procedure for opening a file. Select .txt as the file type. When you are finished,
click Open.
6. Optionally, review the definition in the text file by clicking View Definition under the Custom
Array Setup tab.
7. Click OK.
The array factor will be applied, using the information specified in the text file, when far fields are
calculated.
Related Topics
1. To select the radiation setup from the Project tree, right-click the Infinite Sphere icon in the
project tree under Radiation, and then click Compute Antenna Parameters on the
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
shortcut menu.
Or, to select the radiation setup from a dialog, click HFSS or HFSS-IE>Radiation>Compute
Antenna Max/Params.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Warning The computed values of max U and peak directivity depend on the user-
determined set of aspect angles chosen for the computation of the radiated
fields. If this set does not encompass the actual peak intensity of the radiated
pattern, the displayed results for these three parameters will be inaccurate.
Note Accepted Power is computed from the raw S-parameter data. Post-processing
operations are excluded from the calculation, for example, renormalized S-
parameters.
Note It is important to understand the impact of passive ports (for Transient Network
designs or models containing an Array with passive ports) on antenna parameters.
For accepted power calculations, passive ports are not included when computing the
total power passing through the union of all port surfaces. This means that the
passive ports can be viewed as a loss mechanism for the device and it is not
equivalent to viewing the passive ports as active ports with zero excitations.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Gain and realized gain are very close to each other when the antenna is matched. However, for
designs with a multi-port antenna, gain and realized gain can be different if incident and
accepted power are different. There can be a small reflection at the ports and accepted power
may still be small if energy injected in one port exits the model through a different port. A review
of the S-matrix can show this to be the case. This does not happen in a single port antenna,
which is what most users base their expectations on.
When global material environment is a lossy material, antenna parameters such as gain and
radiated power are no longer unique because the radiated power depends on the location of the
radiation surface since power is lost as the wave travels in the background material.
If the design does not have ports, the following antenna parameters are listed:
Total
X
Y
Z
Phi
Theta
LHCP
RHCP
Ludwig 3/X dominant
Ludwig 3/Y dominant
Note When calculating the maximum far-field values, the distance r is factored out of the
E-field. Therefore, the units for the maximum field data values are given in volts.
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The Antenna Parameters dialog displays the calculated antenna parameters and Maximum Field
data for a setup. The dialog also includes a buttons to Export antenna parameters and to Export
Fields. The fields can be exported in ffd or .csv format and imported into reporter as a table. You
can specify the Setup Name, the Solution, Array Setup (if any), Intrinsic Variation, and Design
Variation.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The Setup Name corresponds to the Radiation Setups you create, or that are created by the
Antenna Design Kit, for example:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
To open the Antenna Parameters dialog, right-click on the Radiation setup for which you want to
export parameters or fields, and select Compute Antenna Parameters from the menu
2. Specify the file name and location (or accept the defaults).
3. Click Save.
Parameter Format: The parameters are exported to a text file in the following format:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
2. Specify the file name and location (or accept the defaults)
3. Select Save as type as Far Field Data (*.ffd) or Comma Separated (*.csv).
3. Click Save.
This saves a text file for the selected Radiation setup in the specified type and closes the
browser.
Depending on the kind of Radiation Setup you define, and your Save as type specification, and the
coordinate system of the design, the formats will differ. For example for an Infinite Sphere
Radiation Setup, the Phi and Theta appear as follows:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The first lines of the exported .ffd file show the Theta start and stop, then number of steps and then
the Phi start and stop values, then number of steps, followed on the next line by the Frequencies
number, then on the next line, the first frequency value, followed by field values for that frequency.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The first lines of the exported .ffd file show the Theta start and stop, then the number of steps and
then the Phi start and stop values, then the number of steps, followed on the next line by the
Frequencies number, then on the next line, the first frequency value, followed by field values for
that frequency.
The following Radiation Setup, combined with the .csv format, produces a different set of first lines,
and a differently formatted file.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
In this .csv file, the first line specifies that the following row includes variation index inclosed in
double quotes, then phi value, theta value, then rEPhi (mag ang), rEtheta (mag ang).
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Related Topics
To save antenna parameters for overlay, you can either use the Save for Overlay button in the
Antenna Parameters dialog, or go through the HFSS>Radiation>Insert Far Fields
Setup>Antenna Parameters Overlay command, or right click on the Radiation icon for the
shortcut menu and select Insert Far Field Setup>Antenna Parameters Overlay.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Here you can specify the Name, the Setup to use, an Array, if any, and which design variation to
use. You can then check which antenna parameters to save for use in an overlay.
You can specify multiple intrinsic variations (for example, parameters at several frequencies), just
as in the Compute Antenna Parameters dialog. Click the ellipsis button [...] to select from
available variations.
When you OK the dialog, the Antenna icon appears under the Radiation icon in the Project tree.
You can rename, delete, undo, or redo just as for any other item in the Project tree.
Once you have created an overlay, you can also edit the name, setup, solution, variation, and so
forth, and have the changes immediately reflected in the display. To display the saved Overlay, see
Creating and Displaying Antenna Parameter Overlays.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
An Antenna Parameter Overlay is a table of antenna parameters that you can overlay on the 3D
Modeler window for Far Field radiation plots an animations.
1. To create and display an overlay, you can either use the Save for Overlay button in the
Antenna Parameters dialog, or go through the HFSS>Radiation>Insert Far Fields
Setup>Antenna Parameters Overlay command, or right click on the Radiation icon for the
shortcut menu and select Insert Far Field Setup>Antenna Parameters Overlay.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Here you can specify the Name, the Setup to use, an Array, if any, and which design variation to
use. You can then check which antenna parameters to save for use in an overlay.
You can specify multiple intrinsic variations (for example, parameters at several frequencies),
just as in the Compute Antenna Parameters dialog. Click the ellipsis button [...] to select from
available variations.
2. When you OK the dialog, the Antenna icon appears under the Radiation icon in the Project
tree.
You can rename, delete, undo, or redo just as for any other item in the Project tree.
The Antenna parameters appear as a selection on the Overlay radiation field dialog.
4. Check the Visible check box and click Apply to cause the parameters to display as an
overlay on the lower left of the 3D Modeler window.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Once you have created an overlay, you can also edit the name, setup, solution, variation, and so
forth, and have the changes immediately reflected in the display.te and display an antenna
parameters overlay:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Once you have an appropriate HFSS design, there are three different ways in the user interface to
create a new Visual Ray Trace Plot:
l Right-click on the Field Overlays icon in the Project Tree and select Plot VRT... from the
short cut menu.
l Right-click on the 3D Modeler window and select Plot VRT... from the popup menu.
l Click HFSS>Fields>Plot VRT...
After you use one of these approaches, the Create VRT Plot dialog displays:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
To Specify Name check the box to enable the text field. To Specify Folder, check the box to
enable the selection menu.
“Max Frequency” and “Ray Density” parameters control the density of rays that will be launched
from the source for the Visual Ray Trace
“Launch from” parameters configure the source launch point for the VRT rays. You can use an
existing Point object, or specify a custom XYZ coordinate. By default, the rays launch from the
origin of the global coordinate system.
“Shoot Filter” can limit the number of rays generated. You can select from these to diagnose model
issues or to explore sub-regions of a very large or dense mesh:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Accepting the parameters and clicking Done to dismiss the dialog runs the VRT generation to
produce SBR+ ray data. Only the geometries contained in the SBR+ regions are used for the
VRT ray generation.
A new “Visual Ray Trace SBR” plot folder is created under Field Overlays, which contains one or
more “VRT_Plot” items.
If you run Plot VRT... again, that creates an additional VRT plot item under the “Visual Ray Trace
SBR” folder, or a different folder name if you specify one in the Create VRT Plot dialog.
The Properties of each VRT_Plotn item are the same as those created in the Create VRT Plot
dialog.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Each Visual Ray Trace SBR plot has an additional read-only tabbed property page that displays
Ray Statistics output from the ray generation process.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
You can modify VRT Plot node properties directly in the Properties window to cause immediate
updates to the plot data. You can also right-click on the plot item and select Modify Plot… to again
bring up the Create VRT Plot dialog to make multiple changes and then commit them to the same,
or a differently named plot.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Any design edits that invalidate the mesh (object/surface delete, modify, change in BC assignment)
will also invalidate VRT plots. HFSS does not automatically regenerate the VRT plot after a design
edit. You can update plots update by right-clicking on the Visual Ray Trace SBR folder and
selecting Update Plots.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
All the render and filter parameters appear as Properties of the parent Visual Ray Trace SBR
folder. Each “Visual Ray Trace SBR” plot folder provides a grouping of render/filter attributes.
Much like setting specific plot attributes like 2D plot extents, scaling, colormaps, etc., the render
and filter parameters for all VRT plots are performed at this folder level. The different categories of
render and filter operations are kept as separate tabs for: Rendering, Filters, and Rx Filters.
All render and filter property changes are immediate and will automatically refresh the 3D modeler
window
Rendering Properties Tab
The Rendering tab properties control which items are drawn for each ray track:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Draw as Lines: show the “rays” connecting the launch point, each intersection point, and the
exit point.
l Draw as Points: show the point for each ray bounce where we intersect the geometry.
l Draw Ray Footprints: show the ray tube projection for each ray bounce.
l Draw Exit Rays: show the final ray of a ray track if/when it exits the geometry and is
scattered away (note: ray tracks that reach “Max Bounce” may not have an exit ray).
l “Color by: Number of Reflections”: the full ray track branch (from creation to exit) is colored
according to the number of reflection bounces occurring for that ray track segment.
l “Color by: Number of Transmissions”: the full ray track branch (from creation to exit) is
colored according to the number of transmission bounces occurring for that ray track
segment.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l “Color by: Bounce Number”: each ray bounce of the ray track branch is colored a different
color, according to the bounce number of that ray
Filter Properties Tab
The Filter properties tab controls which ray tracks and/or bounces are shown in the 3D modeler
window.
l Filter Full Ray Tracks: Number of Reflections: use the Minimum and Maximum Reflections
values to show only those ray tracks within the specified range of
l reflected bounces (filters out whole ray tracks).
l Filter Full Ray Tracks: Number of Transmissions: use the Minimum and Maximum
Transmissions values to show only those ray tracks within the specified range of transmitted
bounces (filters out whole ray tracks).
l Filter Individual Ray Bounces: Number of Bounces: use the Minimum and Maximum values
to show specific bounce numbers from all ray tracks (filters out individual bounces).
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note these Filters can be used in combination to show only the specified ray bounces from a
filtered set of ray tracks (e.g. - show only the 2nd and higher bounces for ray tracks that have no
transmitted rays).
Rx Filter Properties Tab
Use an “Rx Filter” to show only ray tracks that satisfy a specified scatter direction (far-field) or
spatial filter (near-field).
l Receiver Type: Near-field: use a spatial probe type of filter to only show ray tracks that go
near a specified point/location, within some tolerance
l Receiver Type: Far-field: use a far-field directional filter to only show ray tracks whose exit
ray direction (i.e. - scattering direction) is the specified theta/phi angle, within some tolerance
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Related Topics
The mesh appears on the surface or object you selected. An icon for the mesh also appears in
the Project tree under Field Overlays - Mesh Plots.
If a solution is ongoing, you can select the Mesh Plots icon in the in the Project tree, right-click to
display the shortcut menu, and click Update Plots. This updates the mesh plot to latest data
available. After the last adaptive pass, the Mesh plot is automatically updated.
If a mesh includes seeding, these effects appear at the start of the adaptive passes. Any mesh
adaptation at the start of a sub sequent pass is not plotted until after that pass is completed. This
delay ensures that mesh plots and actual solutions remain consistent with each other.
You can modify an existing plot by selecting the plot and changing the properties.
If you modify the geometry of an object, the solution is invalidated, and the mesh plot is
removed.
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
You can also click HFSS or HFSS-IE>Field Overlays>Modify Plot Attributes , after
which the Select Folder window appears. Select the folder containing the mesh plot you want
to modify, and then click OK to display the Mesh Plots dialog.
Use the Scale factor slider to increase (move to the right) or decrease (move to
the left) the percentage of the tetrahedra size.
Transparency The degree of transparency for the tets. This is useful for viewing objects or plots
behind the current plot.
Use the Transparency slider to increase (move to the right) or decrease (move
to the left) the transparency of the plot.
Mesh type Whether to display the tets as wire frame or shaded, and whether to Add Grid.
Mesh Color The color for the tet edge lines and fill. Clicking the button for each displays a
for Line and color selection dialog.
Fill
Surface Only Whether to plot the surface only, or all tets inside selected objects.
Real Time Whether to show changes to a mesh in real time. If this option is cleared, click
Apply when you want to see the changes
2. By default the Plot Quality selection is Normal. You can use the drop down menu to select
Coarse, Normal, Fine, or Very Fine. The higher the resolution, the more memory used.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Higher quality selections permit visualization of curvilinear mesh elements. With the Coarse
setting, facets do not snap to the midpoint edge.
Very fine gives the most accurate display, though using the most memory.
3. Click the Save as default button if you want the tab's settings to apply to mesh plots created
after this point.
4. Click Close to dismiss the dialog box.
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Use Results>Create User Defined Solution>Update Menu to refresh the menu to include the
new UDO scripts that might have been copied to syslib, userlib or Personallib, or exclude them if
they have been deleted, after the launch of desktop. Once the user-defined-solution is created, the
solution and the calculations defined by UDO become available in Reporter as any other quantities
in a new "User Defined" report type.
Related Topics
Dynamic Probes
See the HFSSScripting Guide for information about User Defined Outputs in Python Scripts.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
For example, you could create a user defined solution called EyeTiming_1.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Related Topics
Dynamic Probes
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
reporter. When those calculations are subsequently plotted by user, reporter will use the cached
results instead of invoking the computation on UDO.
Related Topics
Dynamic Probes
Related Topics
Dynamic Probes
Dynamic Probes
In addition to named probes and properties, UDOs can specify named dynamic probes. The
difference between probes and dynamic probes is that while the end user of UDO specifies the
complete trace definition for probe, the expression for dynamic probe is specified by UDO code
itself and not by end user. This allows UDOs to access the data for probes without requiring the
end user to enter each individual probe. For example a UDO can access data for a huge S matrix
for 100 port design without having the end user enter the probe information for each of those
10,000 quantities. Each dynamic probe is associated with a named probe that is entered by user,
and information about solution, context and intrinsic variables is used from selected probes;
however multiple dynamic probes can be associated with the same user selected probe. The
dynamic probes are enquired from UDOs at the time of trace computation and not at the time of
creation of user defined solution.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
This means that you select solution, context, values of intrinsic variables just once, and the same
information is used (in this case) for all clock and data signals. The expression for those signals
comes from the UDO code.
Related Topics
Dynamic Probes
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The purpose, argument list and expected return types for each of the IUDOPluginExtension
abstract methods, which the UDO author is expected to implement are described below.
Import Statements
UDOExtension Class
Related Topics
Import Statements
The base class to be used and the types it uses in turn are contained in .NET assemblies. The use
of these requires that the assemblies be imported into the UDO script: the following import
statements should be added to the top of the python script:
Related Topics
UDOExtension Class
The UDO itself should be implemented as an IronPython class called UDOExtension which must
derive from the IUDOPluginExtension abstract base class (from the
Ansys.Ansoft.ModulePluginDotNet.UDO.API.Interfaces namespace).
Note that power users could derive a class hierarchy tuned toward a specific type of UDOs and that
they can derive from their own base classes. The only requirement is that directly or indirectly, the
UDO class must derive from IUDOPluginExtension.
Example:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Related Topics
The implementation of the IUDOPluginExtension class will be described in this section using a
simple UDO example that expects a single probe and reduces its dimension returning as its
outputs, the max, min and average of its input probe data. The script in its entirety will also be listed
later on.
Required functions:
The IUDOPluginExtension abstract class declares the following abstract methods that must be
implemented in the UDOExtension class or one of its base classes. Not implementing any of these
methods will result in a run-time error and a non functioning UDO. The UDS refers to user Defined
Solution parameters.
GetUDSName()
GetUDSDescription()
GetUDSSweepNames()
GetCategoryNames()
GetQuantityNames(string categoryName)
GetQuantityInfo(string quantityName)
GetInputUDSParams(List<UDSProbeParams> udsParams,
GetDynamicProbes(List<UDSDynamicProbes> dynamicProbes);
Compute(IUDSInputData inData,
Related Topics
GetUDSName()
l Purpose: Return a string that is used as a prefix for all solution instances created using this
UDO.
l Returns: string.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Example:
def GetUDSName(self):
return "MinMaxAvg
Related Topics
GetUDSDescription()
l Purpose: Returns a description for the UDO, its purpose etc. This is used in multiple UDO
related dialogs in the application to describe the UDO.
l Returns: string.
Example:
def GetUDSDescription(self):
Related Topics
GetUDSSweepNames()
l Purpose: Returns a list of sweep names to be used for the solution generated by the UDO.
These will appear in the sweeps list displayed in the standard reporter dialog when used to
create reports from the solution generated by the UDO.
l Returns: list of strings. If the UDO outputs have no sweeps, return the empty list [].
Example:
def GetUDSSweepNames(self):
return []
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
GetCategoryNames()
l Purpose: The outputs that the UDO solution provides/generates can be classified into
multiple categories (like how the application does as displayed in the report creation dialog).
These will be listed in the categories box in the dialog when creating reports from the UDO
generated solution data.
l Returns: list of strings.
Example:
def GetCategoryNames(self):
return ["UDOOutputs"]
Related Topics
GetQuantityNames(string categoryName)
l Purpose: For each of the category names returned from the GetCategoryNames method,
this function is called to return a list of quantities to be organized under that category name.
Note that the quantity names must be unique across the categories: that is, no two
categories can have quantities with the same name.
l Parameters:
l categoryName (input python string) - category name.
l Returns: python list of strings.
Example:
if catName == "UDOOutputs":
else:
return []
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
GetQuantityInfo(string quantityName)
l Purpose: For each quantity that the UDO creates, it must also describe the quantity (unit
and other details). This method is called for each quantity name (across all categories) as
returned from an earlier call of the GetQuantityNames method.
l Parameters:
l quantityName (input string) - quantity name.
l Returns: Object of type QuantityInfo.
Example:
return QuantityInfo(Constants.kDoubleParamStr)
Related Topics
GetInputUDSParams(List<UDSProbeParams> udsParams,
IPropertyList propList,
List<UDSProbeParams> userSelectionForDynamicProbes)
l Purpose: This is the main definition part of the UDO. The supplied arguments are used to
populate details of the parameters to which the UDO user will specify value, specify the
probe names and their types as well as the dynamic probe selections.
l Parameters:
l udsParams - .NET list of UDSProbeParams objects: The UDO script is expected to add
one instance of UDSProbeParams for each probe definition it wants displayed. The UDO
user will, when creating the UDO solution assign a matching quantity to each such probe.
l propList - IPropertyList object: The propList object is used to add properties that should be
displayed to the user for data collection. These properties with the user supplied values
will be returned to the UDO script in the Compute methods.
l userSelectionForDynamicProbes - .NET list of UDSProbeParam objects.
l Returns: boolean: True on success, False on failure.
Example:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
param1 = UDSProbeParams("probe1",
Constants.kDoubleParamStr,
"", "")
udsParams.Add(param1)
return True
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The above function results in the following dialog when you click Reports>Create User Defined
Solution. The mapping from the UDSParams and the properties to the GUI elements should be
unambiguous. The name and description of the UDS are also displayed in this dialog.
When a report is created from the UDO dialog, the category/quantity names specified by the UDO
are used (as shown below).
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
GetDynamicProbes(List<UDSDynamicProbes> dynamicProbes);
Example:
pass
Related Topics
Compute(IUDSInputData inData,
IUDSOutputData outData,
IPropertyList propList,
IProgressMonitor progressMonitor)
l Purpose: This is the main computation method which generates the data for the quantities
that make up the UDO solution.
l Parameters:
l inData - UDSInputData object: Used to get the input probe data.
l outData - UDSOutputData object: Used to set the UDO solution quantity and sweep
data.
l propList - IPropertyList object: Used to get the user entered values for each of the
properties defined during the GetInputUDSParams call.
l progressMonitor - IProgressMonitor object. This can be used to set progress for long
running calculations, check for user initiated abort etc.
l Returns: True on success, False on failure.
The data is received from UI using IUDSInputData API. It is processed and the result data is sent
to UI using IUDSOutputData API.
Example:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
sweeps = inData.GetSweepNamesForProbe("probe1")
return False
probeData = inData.GetDoubleProbeData("probe1")
# Note that ideally, these "X Min" etc names should be written as
minVal = 0
maxVal = 0
avgVal = 0
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
if useXRangeProp == "Yes":
seenAny = False
avgSum = 0
count = 0
# an index and the array notation could also have been used
pass
# duplication
if not seenAny:
minVal = probeVal
maxVal = probeVal
avgSum = probeVal
seenAny = True
count = 1
else:
minVal = probeVal
maxVal = probeVal
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
avgSum += probeVal
count += 1
if seenAny:
avgVal = avgSum/count
else:
seenAny = False
avgSum = 0
if not seenAny:
minVal = probeVal
maxVal = probeVal
avgSum = probeVal
seenAny = True
else:
minVal = probeVal
maxVal = probeVal
avgSum += probeVal
if seenAny:
avgVal = avgSum/probeData.Count
# Finally set the output values. Note that these are always set as
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
outData.SetDoubleQuantityData("min_val", [minVal])
outData.SetDoubleQuantityData("max_val", [maxVal])
outData.SetDoubleQuantityData("avg_val", [avgVal])
return True
Related Topics
The following functions, while a part of the IUDOExtension abstract class, have meaningful default
implementations and are therefore optional. However, they can be overridden to take advantage of
advanced functionality.
Validate(List<string> errorStringList,
Related Topics
Validate(List<string> errorStringList,
List<UDSProbeParams> udsProbParams,
IPropertyList propList,
List<UDSProbeParams> userSelectionForDynamicProbes)
l Purpose: This method is used to validate the user choices. The values of the properties
entered, the probes etc. can be checked for suitability.
l Parameters:
l udsProbParams - C# list of UDSProbeParams objects.
l propList - IPropertyList object.
l userSelectionForDynamicProbes - C# list of UDSProbeParams objects.
l errorStringList - C# list of python strings. Output parameter. Should be set only if
validation failed; ignored if validation is successful. One error string should be set per each
validation error.
l Returns: True on validation success, False on failure.
l Default implementation: always returns true.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Example:
return False
return True
Related Topics
There are several types that you must use while authoring the python script. Some of them are
used to pass data from UI to python script and to provide interface for working with this data. Some
are used to pass data from python script to UI.
To pass data from python script to UI the objects of the C# class must be created in python script
using their C# constructors. Then they can be set as functions return values or set to the output
parameters using their API.
Constants class
UDDInputParams class
The objects of this class must be created in python script in the GetUDDInputParams() function
and the SetUDDInputParams() function.
Attributes :
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
BoolData (boolean)
DoubleData (double)
TextData (string)
ReportType (string)
SolutionName (string)
DomainName (string)
Constructors:
Property Accessors :
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The object of this class is a progress monitor. It is used to display calculations progress in UI and
check is the user has requested an abort of the computation.
When displayed in the application, each progress message has four items:
A task name
A sub-task name
All of this functionality and abort interaction is achieved using the following functions.
SetTaskProgressPercentage(int progressPercent)
CheckForAbort(): If the quantities being generated are computationally expensive, the UDO
author can periodically call this method and then call EndTask with Fail and return False.
Example:
progMon.BeginTask("Process DQS")
progMon.SetSubTaskName("Compute UI segments")
progMon.SetTaskProgressPercentage(33)
progMon.SetTaskProgressPercentage(100)
progMon.EndTask(True)
IUDSInputData
The purpose of this class is to get data (probe and sweep) from Desktop.
Examples in this section are just to show proper syntax of the function calls. For actual usage of the
class see Compute function example.
GetDoubleProbeData(probeName)
GetSweepsDataForProbe(probeName, sweepName)
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
GetComplexProbeData(probeName)
GetSweepNamesForProbe(probeName)
GetRequiredQuantities()
GetVariableValues()
GetInterpolationOrdersData(probeName);
Related Topics
GetDoubleProbeData(probeName)
l Purpose: This is the primary mechanism by which the UDO script obtains the probe data
(as double precision values) for its compute process.
l Parameters:
l probeName: string representing the probe name for which data is requested. This has to
be one of the many probes supplied during a call to the UDO's GetInputUDSParams
method.
l Returns: .NET double Array of data for the specified probe if the probe exists or null if the
probe is unknown.
Example:
doubleData = inData.GetDoubleProbeData("probe1")
Related Topics
GetSweepsDataForProbe(probeName, sweepName)
l Purpose: All probe data that is supplied is associated with one ore more sweep (an intrinsic
quantity like Time, Frequency, Theta, Phi etc that is swept) quantities.
l Parameters:
l probeName - probe name for which which want the sweep data
l sweepName - sweep name
l Returns: .NET double Array of data for the specified probe and sweep.
Example:
sweepData = inData.GetSweepsDataForProbe("FarFieldsProbe","Freq"])
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Related Topics
GetComplexProbeData(probeName)
l Purpose: The primary mechanism by which the UDO retrieves data for its input probes (if it
expects complex data for the probe).
l Parameters:
l probeName - probe name for which complex data is requested
l Returns: .NET double Array (float in python) of data for the specified probe. Each pair of
floats represent one complex number: first value is for real part, second value for imaginary
part. For instance, array [10.0, 0, 5.1, 2.1] represents 2 complex numbers: (10.0, 0) and (5.1,
2.1).
Example:
complexDataAsDouble = inData.GetComplexProbeData("FarFieldsProbe")
complexData = []
if complexDataAsDouble != None:
complexData.append(complex(complexDataAsDouble[i],complexDataAsDouble[i+1]))
Related Topics
GetSweepNamesForProbe(probeName)
l Purpose: To obtain the list of sweep quantity names associated with a given probe. This
also indicates the dimensionality of the data. One name implies that the probe-data is 2D
(probe-quantity vs Sweep Quantity) and two names implies 3D data ( probe-quantity vs
Sweep 1 X Sweep 2).
l Parameters:
l probeName - probe name.
l Returns: .NET IList<string> - list of sweep names for the current probe name.
Example:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
sweepNames = inData.GetSweepNamesForProbe("FarFieldsProbe")
Related Topics
GetRequiredQuantities()
l Purpose: A given UDO can specify that it provides one of more computed quantities. The
user might choose to create a report from only a few among the various available UDO
outputs. This function, returns that list of the UDO output quantities that the user has
requested. Only these need be computed in the UDO's compute method.
l Returns: .NET IList<string> - list of required quantities names.
Example:
quantities= inData.GetRequiredQuantities()
Related Topics
GetVariableValues()
l Purpose: This allows the UDO to obtain the names and values of all the design variables for
which the UDO quantities are being requested.
l Returns: .NET IDictionary<string,string> of key-value pairs for variables. Both key and
value are strings.
Example:
theDict = inData.GetVariableValues()
if theDict != None:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Related Topics
GetInterpolationOrdersData(probeName);
l Purpose: Returns the interpolation orders that are associated with the probe-data. The
probe data is specified at each value of the various sweeps. Any value in between the sweep
data points, can use the interpolation data to get a possibly more accurate (compared to
linear interpolation) inter-sweep value.
l Parameters:
l probeName (input python string) - probe name.
l Returns: NET byte Array of interpolation order for the specified probe. These are to be
treated as 8bit signed integers, that is, their values range from 0-127.
Example:
interData = inData.GetInterpolationOrdersData(kProbeNames[0])
Related Topics
IUDSOutputData
This type is a twin of the IUDSInputData in that it is used to store the values computed by the
UDO's compute method.
Examples in this section are just to show proper syntaxis function calls. For actual usage of the
class see the Compute function example.
SetSweepsData(sweepName, sweepData)
SetDoubleQuantityData(qtyName,qtyData)
SetComplexQuantityData(qtyName, qtyData)
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
SetSweepsData(sweepName, sweepData)
l Purpose: Each quantity that is computed by the UDO can be associated with a sweep. If it
is, the values that make up the sweep's data points must be specified using this call.
l Parameters:
l sweepName (string) - sweep name.
l sweepData (python list of floats) - sweep data for the specified sweep.
l Returns: True on success, False on failure.
Example:
outData.SetSweepsData("Freq", sweepList)
Related Topics
SetDoubleQuantityData(qtyName,qtyData)
l Purpose: This method is used to record the computed quantity data for each output that is
computed. Please note that unless all the sweeps are reduced, this should be used in
conjunction with SetSweepsData
l Parameters:
l qtyName (string) - quantity name.
l qtyData (python list of floats) - quantity data for the specified quantity.
l Returns: True on success, False on failure.
Example:
outData.SetDoubleQuantityData("V1PlusV2", doubleList)
Related Topics
SetComplexQuantityData(qtyName, qtyData)
l Purpose: If the quantity computed is a complex quantity, use this method to set the quantity
values. Any sweep values must be set separately via the SetSweepsData method.
l Parameters:
l qtyName (string) - quantity name.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l qtyData (python list of floats) - quantity data for the specified quantity. Complex numbers
are passed as pairs of floats
l Returns: True on success, False on failure.
Example:
doubleFromComplexList=[]
doubleFromComplexList.append(aComplex.imag)
doubleFromComplexList.append(aComplex.real)
Related Topics
A property is the unit for collecting and using input from the user that is used to influence the UDO's
Compute. These are initially set up when the UDOs GetInputUDSParams method is called and
are retrieved in the UDO's Compute method.
There are 3 supported property types that could be used in the UDO script:
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Attributes:
Functions:
Attributes:
l Name (string)
l Description (string)
l PropType (read-only EPropType - see Constants)
Constructor:
The class is used as base class for INumberProperty, IMenuProperty, and ITextProperty.
Base class:
Attributes:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Constructor:
l INumberProperty(string name)
Functions:
l Set(string numberWithUnits)
l SetDouble(double number, string unitString)
Base class:
Attributes:
l Text (string)
Constructor:
l ITextProperty(string name)
Base class:
Attributes:
l MenuSelection (int): This represents the index into the MenuChoices list.
l SelectedMenuChoice (string): This is the item in the MenuChoices list corresponding to the
MenuSelection index
l MenuChoices (IList<string>)
Constructor:
Example:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
prop.Description = "Frequency"
numOfNumberProperties = 0
if prop.PropType == Constants.EPropType.PT_NUMBER:
numOfNumberProperties ++
Constants Class
UDSProbeParams Class
UDSDynamicProbes Class
QuantityInfo Class
Related Topics
Constants Class
The constants used in python script are defined in the Constants class.
Attributes:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
EPropType.PT_NUMBER
EPropType.PT_TEXT
EPropType.PT_MENU
Example:
paramType = Constants.kDoubleParamStr
propType = Constants.EPropType.PT_NUMBER
Related Topics
UDSProbeParams Class
The objects of this class must be created in python script in GetInputUDSParams function. They
are supplied to the Validate function if implemented.
Attributes:
l probeName - required.
l probeDescription - optional (can be empty string).
l paramType - required; can be one of the Constants
l kDoubleParamStr
l kComplexParamStr
l reportTypeName - optional (can be empty string)
l ComponentExpression - optional (can be empty string)
Example:
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
UDSDynamicProbes Class
Attributes:
l udsParam - required
l userSelectedProbeName - required
Example:
selectedName = "probe1"
Related Topics
QuantityInfo Class
Attributes:
Constructors:
l QuantityInfo(string paramType)
l QuantityInfo(string paramType, string fullUnitType)
l Parameters:
l paramType can be one of the Constants
kDoubleParamStr
kComplexParamStr
l fullUnitType is a case insensitive string representing full unit type. It is not defined in
Constants. Instead you can use any of the units in string representation - for example, "mm"
or"ghz".
Example:
quantityInfo1 = QuantityInfo(Constants.kDoubleParamStr)
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
quantityInfo2 = QuantityInfo(Constants.kDoubleParamStr,"ghz")
Related Topics
The object of this class is a progress monitor. It is used to display calculations progress in UI and
check is the user has requested an abort of the computation.
When displayed in the application, each progress message has four items:
l A task name
l A sub-task name
l The progress amount
l A button to abort the task in progress.
All of this functionality and abort interaction is achieved using the following functions.
Example:
progMon.BeginTask("Process DQS")
progMon.SetSubTaskName("Compute UI segments")
progMon.SetTaskProgressPercentage(33)
progMon.SetTaskProgressPercentage(100)
progMon.EndTask(True)
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Some of the API functions specified above use .Net collection classes and interfaces, that is, Array
class, IList interface, IEnumerable interface, and IDictionary interface. The following section
describes how to work with the .Net collection objects in Python scripts.
.NET Array, IEnumerable, and IList objects can be indexed and iterated over as if they were
Python lists. You can also check for membership using 'in'. To get .Net Array and IList sizes you
can use python's 'len' or .Net 'Count'.
Example:
Getting size:
arraySize = doubleDataArray.Count
arraySize = len(doubleDataArray)
listSize = sweepsNamesList.Count
listSize = len(sweepsNamesList)
Iterating:
print sweep
for in in xrange(listSize)
print sweepsNamesList[i]
if 'Time' in sweepsNamesList:
doThis()
else:
doThat()
For .NET IDictionary, the same as for Array and IList, you can get size with 'len' or 'Count' and
check for membership of the keys using 'in'. Getting values for the keys also works the same way
as in python 'dict'.
Example
Getting size:
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
varValuesSize = varValues.Count
varValuesSize = len(varValues)
if 'offset' in varValues:
print varValues['offset']
Getting value:
if 'offset' in varValues:
offsetValue = varValues['offset']
As for iteration .NET Dictionary is different from python dict. While iterating, python dict will return
keys, .Net Dictionary will return .Net KeyValuePair.
Example:
Iterating:
varName = varPair.Key
varValue = varPair.Value
varValue = varValues[varName]
You can use python types instead of .Net types if you prefer. For this you need to cast .Net Array
and .Net iList to python list type and .Net Dictionary to python dict type.
Casting should not be used for data arrays - it can be extremely costly for the memory usage as
well as time consuming.
Example:
aPythonList = list(dotNetArray)
aPythonList = list(dotNetList)
aPythonDict = dict(dotNetDictionary)
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Related Topics
Messaging methods are provided to convey additional information to the user from any of the
UDOs methods. The Compute function is the one typically location where such use is anticipated.
Any message sent via these functions are displayed in the application's message window using the
appropriate icon.
##############################################################
# Imports
##############################################################
class UDOExtension(IUDOPluginExtension):
def __init__(self):
pass
def GetUDSName(self):
return "MinMaxAvg"
def GetUDSDescription(self):
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
def GetCategoryNames(self):
return ["UDOOutputs"]
if catName == "UDOOutputs":
else:
return []
return QuantityInfo(Constants.kDoubleParamStr)
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
param1 = UDSProbeParams("probe1",
Constants.kDoubleParamStr,
"", "")
udsParams.Add(param1)
return True
pass
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
def GetUDSSweepNames(self):
return []
#---------------------------------------------------------------------------------
sweeps = inData.GetSweepNamesForProbe("probe1")
return False
probeData = inData.GetDoubleProbeData("probe1")
# Note that ideally, these "X Min" etc names should be written as
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
minVal = 0
maxVal = 0
avgVal = 0
if useXRangeProp == "Yes":
seenAny = False
avgSum = 0
count = 0
# an index and the array notation could also have been used
pass
# duplication
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
if not seenAny:
minVal = probeVal
maxVal = probeVal
avgSum = probeVal
seenAny = True
count = 1
else:
minVal = probeVal
maxVal = probeVal
avgSum += probeVal
count += 1
if seenAny:
avgVal = avgSum/count
else:
seenAny = False
avgSum = 0
if not seenAny:
minVal = probeVal
maxVal = probeVal
avgSum = probeVal
seenAny = True
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
else:
minVal = probeVal
maxVal = probeVal
avgSum += probeVal
if seenAny:
avgVal = avgSum/probeData.Count
# Finally set the output values. Note that these are always set as
outData.SetDoubleQuantityData("min_val", [minVal])
outData.SetDoubleQuantityData("max_val", [maxVal])
outData.SetDoubleQuantityData("avg_val", [avgVal])
return True
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Related Topics
If you decide that you need base classes, additional data files, and etc., to organize your UDOs
better, you can do so. This type of library organization allows code reuse between similar UDOs
and can be very helpful. There is special support provided for this type of script-library organization:
l All script-library and other support files need to be in a Lib sub-directory under
the UserDefinedOutputs directory. Any .py files found in such Lib directories are ignored
and not displayed in the GUI as a valid UDO choice.
l For a UDO script at any given directory depth, all Lib directories in its parent directories will
be automatically added to the system include path (and so, any support script files from any
Lib directory till the top level UserDefinedOutputs directory can be imported)
Related Topics
Because the UDO functionality uses IronPython, we have access to the full .NET eco system. If
needed, any subset of the UDO functionality can be implemented in any .NET language and used
by the UDO script. There are simple rules to follow to achieve this.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
If for some reason you cannot place the .NET assemblies into a Lib directory under
UserDefinedOutputs, you need to do a couple more steps before step 3 listed above.
Import sys
Related Topics
Toolkit
The Toolkit command in the HFSS menu provides access to a design type specific IronPython
script, such as the Hearing Aid Compliance Test, MIMO calculation or a module specific task, such
as for Boundary, Excitation, or Solve Setup. The Hearing Aid Compliance Test toolkit example
involves multiple modules. The MIMO example includes a Toolkit script and a User Defined
Solution Script. The Cable modeling toolkits serve automotive cable applications and oil and gas
applications.
The python script provides default but customizable UI and canned automations. The UDD format
can be adjusted/extended as needed. The default UI is a modal dialog.
This allows us to support changing standards, or multiple standards, without necessarily being tied
to the product release cycle. Similarly, you can create new UDD to customize the test report.
UDD are saved in project result directory. This type of reports can be created prior to simulation,
but will only be populated when there is solution.
A directory called "Toolkits" appears in the syslib, userlib and personallib of HFSS installation.
Menu items for files found in <installation>/syslib will be inserted at the first level of the menu.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
There are product specific directories in "Toolkits" and each directory contains toolkits (scripts) that
are specific for that product. The following snapshot illustrates the file structure on disk that
provides access to the "HearingAidCompliance" toolkit at the design level menu.
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The UDD python scripts must be placed in the UserDefinedDocuments directory under either of
syslib, userlib or Personallib with any subdirectory structure needed. The Lib directory can
contain python scripts that have common code that other scripts can use.
Use Results>Create Document>Update Menu to refresh the menu to include the new UDD
scripts that have been copied to syslib, userlib or Personallib, or to exclude them if they have been
deleted, after the launch of desktop.
User defined documents allow data from traces, solutions and report types as inputs. A UDD can
specify the named inputs for which you select or enter the values in the Create User Defined
Document dialog that displays when you run Results>Create Document><scriptName>.
Input Types can be of Boolean, number, text, trace or solution type. The boolean, number and text
type can be given a default value that you can interactively override when the document is created
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
or modified. For example, you can select a trace when you create or modify a UDD document. The
trace data is available to the user and can be accessed from the python script.
At the time of selection you can choose from the Reporter dialog, the report type (Standard, Eye
Diagram, User Defined), solution name, context and the quantity for which you want the trace data.
Input Type can also be Solution. You can select an entire solution when the document is created or
modified. The solution data in its entirety, is now available to the user and can be accessed from the
python script.
At the time of selection you can choose from the reporter dialog, the report type (Standard, Eye
Diagram, User Defined), solution name and context. A specific quantity cannot be selected since
data for all quantities in the solution are available.
(Note: The category/Quantity/Function portion of the dialog is disabled for user input)
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
After all the input selections for a UDD are confirmed, based on the script, an xml, html and pdf
document is generated based on the inputs provided by the user. (The xml, html and pdf
generation is based on specific calls in the python script, which are explain in a following section). A
web browser window also opens to display the generated html file.
The created document will be placed under a new folder named "Documents" under the "Results"
folder. All documents that are created by the user for the design will be placed under this folder.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Related Topics
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
for the input. To view the xml and the pdf document simply choose the appropriate menu items.
There is also a menu item to save the document in a different location.
Right click on the documents folder has the menu options to Update All Documents or Delete All
Documents. It also provides the option of creating a document from here.
When the documents folder is selected, the Property window shows the following properties
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Clear Cache - Clears the cached XSL transform object and forces creation of a new one.
(The caching is done to save time during document generation, so subsequent generation or
update of the document can use the cached transform object. But sometimes you may want
to force a recompile of the document if you change the stylesheet).
The XML, HTML and PDF generation require the XML schema file and XSLT stylesheets to
generate proper output. In addition, the PDF generation requires a FOP executable. You can use
the defaults provided in the installation or provide the file paths of your own preferred stylesheets
and fop executable installed in his machine.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The UDD functionality uses IronPython so we have access to all the .NET assembles. If needed,
any subset of the UDD functionality can be implemented in any .NET language and used by the
UDD script. There are simple rules to follow to achieve this.
ANSYS Electromagnetics Suite 19.0 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential