Q3D Extractor
Q3D Extractor
Q3D Extractor
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: 2015 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 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Table of Contents
Table of Contents Contents-1
Contents-1
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Contents-2
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Contents-3
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Contents-4
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Options 2-129
-Batchoptions 2-130
Contents-5
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Contents-6
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Format 3-54
Format 3-55
Contents-7
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Contents-8
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Contents-9
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Printing 3-154
Contents-10
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Contents-11
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Contents-12
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Contents-13
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Reference: 4-49
Troubleshooting 5-5
Beta Feature: Parallel Component Mesh Adapt for 3D Component Array 5-9
Contents-14
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Contents-15
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Contents-16
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Contents-17
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Introduction 5-141
IsProductLaunchedInYourEnvironment 5-144
GetTempDirectory 5-145
Contents-18
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
GetMachineListAvailableForDistribution 5-146
GetMessageStringToRegisterForSigTerm 5-146
LaunchProcess 5-147
GetUseRsmForEngineLaunch 5-148
GetThisJobID 5-149
GetSchedulerDisplayName 5-150
Contents-19
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Prerequisites for Using Ansys Cloud with Ansys Electronics Desktop 5-170
Batchoptions 5-191
Contents-20
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Scripting 5-197
6 - Meshing 6-1
Contents-21
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Contents-22
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Functions, Operators and Quantities for the Edit Equation Dialog Box 7-23
Contents-23
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Heal 7-106
Contents-24
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Contents-25
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Contents-26
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Contents-27
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Contents-28
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Selecting Objects and Surfaces That Lie Inside Other Objects 7-257
Contents-29
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Contents-30
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Contents-31
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Contents-32
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Contents-33
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Setting Capacitance and Conductance (CG) Analysis Parameters in Q3D Extractor 12-6
Setting DC Resistance and Inductance (RL) Analysis Parameters in Q3D Extractor 12-10
Setting AC Resistance and Inductance (RL) Analysis Parameters in Q3D Extractor 12-13
Contents-34
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Contents-35
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
14 - Optimetrics 14-1
Contents-36
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Optimization Setup for the Genetic Algorithm (Random search) Optimizer 14-40
Convergence Rate % and Initial Finite Difference Delta % in NLPQ and MISQP 14-49
Contents-37
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Setting the Min. and Max. Variable Values for Optimization 14-104
Text Entry for Calc. Range or Edit Calculation Range Dialog 14-104
Overriding the Min. and Max. Variable Values for a Single Optimization Setup 14-106
Changing the Min. and Max. Variable Values for Every Optimization Setup 14-107
Contents-38
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Overriding the Min. and Max. Variable Values for a Single Sensitivity Setup 14-118
Changing the Min. and Max. Variable Values for Every Sensitivity Setup 14-118
Contents-39
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Contents-40
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Prerequisites 14-171
Inputs 14-174
Outputs 14-175
Contents-41
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Contents-42
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Contents-43
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Relationship between Maxwell Matrix and Spice Matrix for 2D Extractor 16-44
Propagation 16-60
Contents-44
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Contents-45
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Contents-46
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Adding Characteristics Using the Add Trace Characteristics Dialog Box 16-202
Contents-47
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
CG Fields 16-275
CG Fields 16-277
Contents-48
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Contents-49
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Inputs/Excitations 16-358
Units 16-358
Pop 16-363
RlUp 16-363
RlDn 16-363
Exch 16-363
Clear 16-363
Undo 16-363
Registers 16-364
Contents-50
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ln Command 16-387
X Form 16-390
Contents-51
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Validate 16-413
GetUDSName 16-414
GetUDSDescription 16-415
GetUDSSweepNames 16-415
GetCategoryNames 16-416
GetQuantityNames 16-416
GetQuantityInfo 16-417
GetInputUDSParams 16-417
Contents-52
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
GetDynamicProbes 16-420
Compute 16-421
Constants 16-423
IUDSInputData 16-424
GetDoubleProbeData 16-424
GetSweepsDataForProbe 16-425
GetComplexProbeData 16-425
GetSweepNamesForProbe 16-426
GetRequiredQuantities 16-427
GetVariableValues 16-427
GetInterpolationOrdersData 16-428
IUDSOutputData 16-428
SetSweepsData 16-429
SetDoubleQuantityData 16-429
SetComplexQuantityData 16-430
Contents-53
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
SetTaskName 16-436
SetSubTaskName 16-436
BeginTask 16-437
SetTaskProgressPercentage 16-437
CheckForAbort 16-437
EndTask 16-438
AddErrorMessage 16-445
AddInfoMessage 16-446
AddWarningMessage 16-446
Constants 16-457
Contents-54
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
SetTaskName 16-458
SetSubTaskName 16-458
BeginTask 16-459
SetTaskProgressPercentage 16-459
CheckForAbort 16-460
EndTask 16-460
GetUDDName 16-461
GetUDDDescription 16-462
ShowDefaultSetupDialog 16-462
GetUDDInputParams 16-462
Generate 16-464
SetupUDDInputParams 16-466
HandleUDDEvents 16-467
GetUDDSchema 16-468
GetUDDStyleSheetForHtml 16-468
GetUDDStyleSheetForPdf 16-469
GetFopExecutable 16-469
GetUDDAppContext 16-470
GetUDDDesignContext 16-470
UDDInputBool 16-472
UDDInputDouble 16-472
UDDInputSolution 16-472
UDDInputText 16-473
UDDInputTrace 16-473
Contents-55
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
PinToPinUtility 16-483
Contents-56
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Smoothing 17-18
Multithreading 17-44
Contents-57
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Contents-58
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
20 - Scripting 20-1
AC Region 21-1
DC Region 21-1
Contents-59
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Causality 21-16
Resistance 21-27
Contents-60
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Introduction 21-38
Summary 21-59
Contents-61
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
H Fields 21-82
Contents-62
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Output 22-2
Assumptions 22-14
Glossary 23-1
Contents-63
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Glossary: A 23-1
Glossary: B 23-3
Glossary: C 23-6
Glossary: D 23-10
Glossary: E 23-14
Glossary: F 23-17
Glossary: G 23-20
Glossary: H 23-21
Glossary: I 23-23
Glossary: J 23-25
Glossary: K 23-26
Glossary: L 23-26
Glossary: M 23-29
Glossary: N 23-32
Glossary: O 23-35
Glossary: P 23-36
Glossary: Q 23-41
Glossary: R 23-41
Glossary: S 23-43
Glossary: T 23-49
Glossary: U 23-52
Glossary: V 23-53
Glossary: W 23-54
Glossary: X 23-55
Glossary: Y 23-55
Glossary: Z 23-55
Index Index-1
Contents-64
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
This Getting Started Guide leads you step-by-step through creating, solving, and
analyzing the results of a parameterized 2D model. By following the steps in this guide,
you will learn how to perform the following tasks in 2D Extractor:
l Drawing a geometric model.
l Modifying a model’s design parameters.
l Assigning conductors.
l Reducing Matrices.
l Specifying solution settings for a design.
l Validating a design’s setup.
l Running a 2D Extractor simulation.
l Creating a plot of results.
l Getting Started with Q3D Extractor: PCB Via Model
This Getting Started Guide leads you step-by-step through creating, solving, and
analyzing the results of a parameterized 3D model representing a via on a Printed Circuit
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Board. By following the steps in this guide, you will learn how to perform the following
tasks in Q3D Extractor:
l Drawing a geometric model.
l Setting up vias and traces.
l Modifying a model's design parameters.
l Assigning variables to a model's design parameters.
l Specifying solution settings for a design.
l Validating a design's setup.
l Running a simulation.
l Creating a plot of results.
l Getting Started Guide: Cable Modeling Solutions
This Getting Started Guide leads you through a cable modeling solution 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.
By following the steps in this guide, you will learn the following steps and data transfers:
l 2D Extractor
l Solving the cable cross-section.
l Sending a transmission line model for the cable network solution.
l Sending transmission line modes and fields for the 3D cable solution.
l Circuit
l Defining a step voltage on the appropriate ports on the circuit schematic.
l Solving the cable network.
l Sending v and i at the ends of the cable for the 3D cable solution.
l HFSS
l Mapping fields onto the 3D cable, and solving 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 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Several of these projects are associated with detailed getting started guides.
To open the example, click File > Open Examples, or click Open Examples on the Desktop
tab.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
To open the example, click File > Open Examples, or click Open Examples on the Desktop
tab.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
This method probably provides more hits than you want. The search function in the help
provides several methods for making searches more specific.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l If you accessed the help for a specific product by pressing F1 in Electronics Desktop,
the search box will have preselected that product. You can change the selection to a
different product, a product's scripting guide, or all products.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
If you enter “voltage source” with quotation marks, the results show all topics that include the
phrase.
As you can see, this returns far fewer results than the basic search.
To further limit the results, you can enter additional words, such as: “voltage source” transient
solver
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note:
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 (period, colon, semicolon, comma, hyphen) are ignored
during a search.
l When searching for a file name with an extension, group the entire string in
quotation marks (for example, "filename.ext").
Note:
Functionality featured in the example(s) in this section applies to multiple design types.
You can also use boolean operators to affect the number of topics listed.
Operator
Usage Example(s)
(s)
AND Lists all topics that contain all of the
Net AND Selection
terms.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Operator
Usage Example(s)
(s)
+ Net + Selection
&
Net & Selection
OR Lists all topics that contain any of the Net OR Selection
| terms.
Net | Selection
NEAR Lists all topics that contain the terms
Net NEAR Selection
near the other terms.
NOT Lists all topics that contain the first term Net NOT Selection
! but not the second.
Net ! Selection
^
Net ^ Selection
Important:
Because the characters +, &, |, !, and ^ are used as operators, you cannot search for
them in the help. Doing so will result in an error.
Help Conventions
Please take a moment to review how instructions and other useful information are presented in
this documentation.
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 you must type the word copy, then type a space, and then type
file1.
o On-screen prompts and messages, names of options and text boxes, and menu
commands. Menu commands are often separated by greater than signs (>). For
example, “click HFSS > Excitations > Assign > Wave Port.”
o Labeled keys on the computer keyboard. For example, “Press Enter” means to press
the key labeled Enter.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Accessing Commands: Ribbons, menu bars, and shortcut menus are three methods that can
be used to see what commands are available in the application.
l The Ribbon occupies the rectangular area at the top of the application window and
contains multiple tabs. Each tab has relevant commands that are organized, grouped, and
labeled. An example of a typical user interaction is as follows:
This instruction means that you should click the Line command on the Draw ribbon tab.
An image of the command icon, or a partial view of the ribbon, is often included with the
instruction.
l The menu bar (located above the ribbon) is a group of the main commands of an
application arranged by category such File, Edit, View, Project, etc. An example of a
typical user interaction is as follows:
"On the File menu, click the Open Examples command" means you can click the File
menu and then click Open Examples to launch the dialog box.
l Another alternative is to use the shortcut menu that appears when you click the right-
mouse button. An example of a typical user interaction is as follows:
“Right-click and select Assign Excitation> Wave Port” means when you click the right-
mouse button with an object face selected, you can execute the excitation commands
from the shortcut menu (and the corresponding sub-menus).
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
For information about Ansys Technical Support, go to the Ansys corporate Support website,
http://www.ansys.com/Support. You can also contact your Ansys account manager in order to
obtain this information.
All Ansys software files are ASCII text and can be sent conveniently by e-mail. When reporting
difficulties, it is extremely helpful to include very specific information about what steps were
taken or what stages the simulation reached, including software files as applicable. This allows
more rapid and effective debugging.
Help Menu
To access help from the Help menu, click Help and select from the menu:
l [product name] Help – opens the contents of the help. This help includes the help for the
product and its Getting Started Guides.
l [product name] Scripting Help – opens the contents of the Scripting Guide.
l [product name] Getting Started Guides – opens a topic that contains links to Getting
Started Guides in the help system.
Context-Sensitive Help
To access help from the user interface, press F1. The help specific to the active product (design
type) opens.
You can press F1 while the cursor is pointing at a menu command or while a particular dialog
box or dialog box tab is open. In this case, the help page associated with the command or open
dialog box is displayed automatically.
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.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ansys Electromagnetics Suite 2024 R1 - © 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 EMIT – system simulation for predicting and mitigating radio frequency interference (RFI)
in electronic devices.
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 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. Simplorer is a subset of the Twin Builder standalone product. Please see the
Twin Builder help for more information.
l Icepak – a fluid and thermodynamic simulator for electronic systems and components.
l Mechanical – perform modal analyses to determine natural vibration frequencies and
thermal analyses to determine temperatures and heat flux.
You can access all of these design types and features from the Project menu, and any
combination of 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.
Ansys Electronics Desktop provides an efficient way to manage complicated projects that
require several different analysis tools to model all of their 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.
You can access these design types and features from the Windows launcher. You can use the
ACT Toolkit for HFSS-EMA3D Datalink to launch and use this tool.
The following illustration shows how the Ansys Electronics Desktop can be used to model
different components for radar system analysis. An antenna array created in HFSS is 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, whereby the
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
voltages on the antenna array ports can be automatically set to correspond to those of the
driving circuit. The push excitation feature enables the user to view electromagnetic fields when
the array is driven by the radar module circuit.
Note:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Refer to the following sections to review limitations specific to the supported design types in
Ansys Electronics Desktop Student.
Circuit Limitations
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
System Requirements
Ansys Electronics Desktop supports certain versions of Windows and Linux. For supported
platforms and system requirements, go to the Platform Support website and select the following
document:
This document covers all Ansys products. Refer to the Electronics Applications section.
l From the Windows Start menu, select Ansys EM Suite 2024 R1 > Ansys Electronics
Desktop 2024 R1.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
How to Participate
The program is voluntary. To participate, select Yes when the Product Improvement Program
dialog box appears. Only then will collection of data for this product begin.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Number of zones
l Number of faces
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.
You may stop your participation in the program any time you wish. To do so, select menu item
Help > Ansys Product Improvement Program or ribbon item Help > Ansys > Ansys
Product Improvement Program. This activates the Ansys Product Improvement Program
dialog box. On this dialog select the No I am not willing to participate radio button to opt out of
the program. Select the Yes, I am willing to participate in the Ansys Product Improvement
Program radio button to opt in to the program. Click the OK button to accept the radio button
selection. Data is no longer collected or sent if you opt out.
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.
After installing the software, run the following command as a user with permissions to
modify the installed file set:
All Ansys products are covered by the ANSYS, Inc., Privacy Policy, which you can read here.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
3. Does participating in this program put my intellectual property at risk of being collected or
discovered by ANSYS?
No. We do not collect any project-specific, company-specific, or model-specific
information.
4. Can I stop participating even after I agree to participate?
a. Select the menu item Help > Ansys Product Improvement Program or ribbon item
Help > Ansys > Ansys Product Improvement Program. This will activate the Ansys
Product Improvement Program dialog box.
b. Select the No I am not willing to participate radio button to opt out of the program.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
windows. Some menus, and other features, change depending on the type of project that is
loaded and the editor that is active in the Design Area.
1. Access the Options dialog box using one of the following two methods:
l
On the Desktop ribbon tab, click General Options.
l From the menu bar, click Tools > Options > General Options.
2. In the tree at the left side of the dialog box, expand Desktop Configuration and select
User Interface:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
3. From the Color scheme drop-down menu, choose one of the following three options:
l Light (beta): A light gray and white scheme with light blue highlighting for selected
ribbon icons and for inactive ribbon tabs. The active ribbon has a white background
(including the tab):
l Dark (beta): A dark gray and black scheme with medium blue highlighting for selected
ribbon icons and for inactive ribbon tabs. The active ribbon has a black background
(including the tab):
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Classic: A light gray and white scheme with medium gray highlighting for selected
ribbon icons. The ribbon background is light gray. The name of the active ribbon tab has
a blue font. A dark gray font is used for the inactive ribbon tab names:
The initial workflow for local configuration and personal customization is:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Available ribbon tabs depend on the design type. After you open or add a project and insert a
design, you see additional ribbon tabs appear. The visible tabs and features are those that are
appropriate for the design type and solver.
The Desktop, View, Simulation, Automation, Minerva and Learning and Support tabs
appear for all design types. Additional tabs appear as follows:
l For HFSS, Icepak, Maxwell, Mechanical, and Q3D designs, the Draw, Model, and
Results tabs also appear:
l For an HFSS 3D Layout design, the Layout and Results tabs also appear:
l For Circuit and Simplorer designs, the Schematic and Results tabs also appear:
In addition to Desktop, View, Minerva and Learning and Support the ribbon tabs that are
applicable to Q3D Extractor designs are described as follows:
l Draw Tab – contains tools that allow you to draw objects, set units, and assign materials.
l Model Tab – contains tools to group and ungroup objects, create 3D components, and
import or export geometry.
l Simulation Tab – contains tools that allow you to run simulations, perform validation
checks, and schedule and monitor tasks.
l Results Tab – contains tools for creating reports and viewing solution data.
l Automation Tab – contains tools that allow you to run and record scripts, show or hide
ACT extensions (Windows only), and install PyAEDT (Beta).
Each tab contains features specific to the design type, and the general workflow is from left to
right.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note that workflow can vary depending on tasks at hand. For example, if you open a completed
model in HFSS or use 3D components or the ACT Antenna Design toolkit (Windows only), you
may not need the features of the Draw tab. If Validation on the Simulation tab identifies
problems in a model, you may need to use the Modeler menu commands for Analysis and Heal,
or use the SpaceClaim link feature. For some tasks, such as assigning excitations or boundaries
in HFSS, you must use the command menus, rather than the tabs.
Sizing the Ansys Electronics Desktop window affects the icons displayed on each tab, with
priority given to the most used features.
For example, If you have inserted an HFSS project, the View tab displays commands
appropriate for the active editor:
If you reduce the size of the Desktop window, the ribbon tabs become compressed. Fewer icons
are shown, and available features are moved into drop-down menus rather than shown
separately. The following example shows the View tab in a compressed state:
Other ribbon tabs are similarly compressed when the window size does not support the fully
expanded arrangement of features.
The Learning and Support tab provides easy access to Technical advice, instruction, and
examples on Ansys websites.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Ansys Innovation Courses – opens a web page containing a wide range of Ansys
Electronics Engineering courses using on-demand, self-paced video training and quizzes.
l Ansys Learning Hub – opens a web page with subscription based access to, virtual and
self-paced learning across the Ansys Software portfolio.
l Ansys Knowledge – opens a web page to expert curated knowledge materials from
FAQs to tutorials on simulation topics.
l Ansys Learning Forum – opens a web page to Ansys blog containing discussion and
presentations from Ansys experts, partners and customers.
l Customer Portal – opens a web page to Ansys Product support.
l About Electronics Desktop - opens a dialog with version and release information,
Ansys Electronics Desktop installed components, and licensing information.
You can toggle the display of each window, auto-hide windows, or move and resize windows.
Additionally, you can toggle the status bar or add ACT Extensions (Windows only).
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The visibility setting of a window is retained from one desktop session to the next.
Note: If a window shares vertical or horizontal space with another window, the first
click will expand it to take up the entire area while hiding all other windows. Click the pin
again to hide the window.
When a window is in Auto Hide mode, the pin icon flips on its side. Click the icon again to disable
Auto Hide.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
You can also click and drag the borders of columns within certain windows containing tabular
data, such as the Properties window:
Major Ansys Electronics Desktop windows can be docked in various locations or can float over
other windows. To move a window, click and drag the window's title bar. While dragging a
window's location, several docking position icons appear on the screen.
By releasing the mouse button over the following icons, you can dock a window in the following
four locations along the perimeter of the user interface:
Additionally, you can use the following group of five docking locations to position the window
relative to another window:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
When you release the mouse button over the middle icon, the two windows are merged, with
tabs at the bottom to select which one to view:
If the middle icon does not appear, it's because tabbed windows are not supported by one of the
windows. For example, you cannot merge any window with the Modeler window.
If you release the mouse button while not over any of the above nine icons, the window stays in
its current dragged location as a floating window.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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, Maxwell, 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.
A check box appears next to this command if the Project Manager window is visible.
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.
The project tree is located in the Project Manager window and contains details about all open
Ansys Electronics Desktop projects, as shown below:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The top node listed in the project tree is the project name. It is named Projectn by default, where
n represents 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. See General Options:
Miscellaneous for options.
You can set the project tree to automatically expand when an item is added to a project.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
When you insert an Ansys Electronics Desktop design into a project, it is listed as the second
node in the project tree. It is named Ansys Electronics DesktopModeln by default, where n
represents the order in which the design was added to the project. Expand the design icon in the
project tree to view all of the specific data about the model, including its boundary conditions and
material assignments, and field solution and post-processing information.
The Ansys Electronics DesktopModeln node contains the following project details:
3D
Displays any 3D Components added to the design.
Components
Model Displays the model geometries in the design.
Displays the boundary conditions assigned to an Ansys Electronics
Boundaries Desktop design, which specify the field behavior at the edges of the
problem region and object interfaces.
Displays the mesh operations specified for objects or object faces. Mesh
Mesh operations are optional mesh refinement settings that are specified before
a mesh is generated.
Displays the solution setups for an Ansys Electronics Desktop design. A
Analysis solution setup specifies how Ansys Electronics Desktop will compute the
solution.
Displays any Optimetrics setups added to an Ansys Electronics Desktop
Optimetrics
design.
Results Displays any post-processing reports that have been generated.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note:
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:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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).
Right-click in the Message Manager window to open a pop-up menu with the following options:
l Clear messages for the current model.
l Copy messages to the clipboard. This can be helpful for sending messages to
application engineers.
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.
You can set the Message Manager to open automatically to show new messages and errors
and warnings.
You can set the Message Manager to automatically open when a new message appears.
You can set the Message Manager Tree to automatically expand when a new message is
added.
Ansys Electromagnetics Suite 2024 R1 - © 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 clicking the magnifying glass icon, by double-clicking the
message, or by right-clicking the message and selecting Go To Reference from the pop-up
menu.
Ansys Electromagnetics Suite 2024 R1 - © 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 for a
project, right-click the message tree and select Clear Messages for <ProjectName>.
1. Select View > Progress Window to hide the window. For more information see the View
drop-down menu.
2. Click Tools > Options > General Options.
3. Check the Show message window on new messages check box.
The Message Manager window will re-open when Ansys Electronics Desktop reports errors,
warnings, or successful completion of any simulation.
Progress Window
The Progress window monitors a simulation while it is running. Each simulation has its own
progress bar. Right-clicking the bar allows you to abort the simulation or view simulation details.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Properties Window
The Properties window displays and allows you to edit the properties of an item selected in the
project tree, the history tree, or the 3D Modeler window. The properties shown and their
editability vary depending on the type of item selected.
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 the Properties window is docked, it displays the properties of any item you select in
the Project tree, the History Tree, or the 3D Modeler window. Select View > Properties to
remove the docked properties window.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Regardless of whether or not you display a docked Properties window on the desktop, you can
open an undocked Properties window for any item in the project tree or history tree by double-
clicking the item.
Rather than opening a separate window, you can have the Properties window displayed within
the desktop.
To set the Properties window to open after an object is drawn, do the following:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Hereafter, when you draw an object in point mode the Properties window opens. However, if
you draw an object in Dialog mode, this setting is ignored.
1. Select the object for which you want to edit 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 Manager window.
l Click the button and edit the current settings in the window that appears.
l Click the attribute and select a new setting from the menu that appears.
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).
Not all command properties can be modified. In general, command properties you can typically
modify are numeric values, such as position values, size values, 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 Manager window.
1. In the history tree, select the command for which you want to edit properties.
Tip:
Press and hold Ctrl to select multiple commands. If you select multiple
commands, only the common (shared) properties will display 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.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Click the button and edit the current settings in the window that appears.
l Click the attribute and select a new setting from the menu that appears.
You can manipulate the Properties dialog box in the following ways:
l Close the Properties dialog box by clicking the Esc key.
l Resize the Properties dialog box by dragging its edges.
l Change the relative widths of adjacent columns 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 Properties Window.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
When the Properties dialog box is opened for a design (Design Properties), both the General
and Symbol tabs are initially empty.
The Property Displays tab in the Properties Dialog Box controls how the properties of the
component appear on the schematic.
Click in the Visibility field for a parameter to select how the information for that parameter is
displayed:
l None – results in no label being shown.
l Name – displays the parameter name (e.g., R).
l Value – displays the component value, which can be a single value (e.g., 10000) or an
expression (e.g., 10000*5).
l Both – displays the parameter name and its value (e.g., R = 10000, R=10000*5).
l Evaluated Value – displays the evaluated value of an expression that has been used for
the value of a parameter (e.g., 50000 for the expression 10000*5).
l Evaluated Both – displays the parameter name and the Evaluated Value (e.g., R =
50000 for the expression 10000*5).
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Click in the Location field for a parameter to specify the location for the display. The locations
are: Left, Top, Right, Bottom, Center. When you have set the location with the cursor in the
schematic, the Location field has the entry Custom.
l To add a parameter to the display, click the Add button. Click on the Name field and
select the parameter to add from the drop-down menu.
l To delete a parameter from the display, select it in the Property Display list and click
Remove.
To show or hide the Components window on the desktop, click View > Components. A check
box appears next to the command if the Components window is visible.
With a component selected, the following configuration controls are available from the right-click
menu:
l Type – reclassifies the component type to Resistor, Inductor, Capacitor, IC, IO, or
Other.
l Enable/Disable - enables or disables the component.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Model – opens the Component Model window, where you can change the component
model definition, including die, solder ball, and port properties. Changing the model scope
will update every reference designator that belongs to the model definition.
l Create Ports on Component – adds ports for the component
l Remove Ports on Component – removes ports for the component.
l Fit Selected – fits the selected component in the active view window.
Note: When a component classification is selected, any changes are applied to all
components within the class.
To show or hide the Nets window, click View > Nets. A check box appears next to this command
if the Nets window is visible.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Nets Tab
The Nets tab contains two panes: an upper Classification pane and a lower Nets pane.
Classification Pane
A net classification (also called a class) is a collection of nets. Classifications are designed to
group and organize nets by a common characteristic. A net can be in multiple classes at once.
By default, there are two classifications: All and Power/Ground net class.
The Classification pane lists and manages net classes. When you select a class in the
Classification pane, the nets assigned to that class are listed in the Nets pane.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l New – opens the Add Net Class window for net class creation (see below).
l Edit – opens the Net Class Properties window for net class modification (see below).
l Delete – deletes the selected net class(es).
l Select – in the layout editor, selects the net classes selected in the classification pane.
l Show – in the layout editor, shows the net classes selected in the classification pane.
l Show (Hide All Other) – in the layout editor, shows the net classes selected in the
classification pane and hides all other net classes.
l Hide – in the layout editor, hides the net classes selected in the classification pane.
l Create Ports – creates ports on all nets in the selected net classes.
l Remove Ports – removes ports from all nets in the selected net classes.
Nets Pane
The displayed nets may be filtered using Perl Regular Expression syntax. In the Nets pane, the
right-click menu contains additional options:
l Add to Power/Ground – adds one or more selected nets to Power/Ground.
l Delete – deletes the selected net(s).
l Lists – opens a list of all nets in the Design List window.
l Remove from Power/Ground – removes one or more selected nets from Power/Ground.
l Create Differential Pair – with two nets selected, groups them as a differential pair (see
below).
Selecting New from the right-click menu opens the Add Net Class window. Enter a name and
description (optional) for the new net class and click OK.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Selecting Edit from the right-click menu opens the Net Class Properties window. Use this
window for net class modification.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Differential Pairs
Each Differential Pair is composed of a positive net and a negative net. From the Nets window,
you can view and create Differential Pairs.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Select two nets in the Nets list and right-click to create a new Differential Pair.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
From the Differential Pairs list, you can select a pair, open the right-click menu and select:
l Swap – swaps the positive and negative net.
l Edit – opens the Edit Differential Pairs window.
l Expand All – expands all Differential Pairs.
l Collapse All – collapses all Differential Pairs.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
From the Edit Differential Pairs window, you can delete pairs or auto detect Differential Pair
with postfixes of the positive and negative nets that are provided. Enter differentiators to identify
the positive and negative parts of pairs. Use Append to grid contents to add any new pairs to
the list in the grid and Replace grid contents to replace existing pair with newly identified pairs.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Extended nets are used to indicate a logical equivalence among multiple nets. This is useful
when two nets can be considered electrically equivalent, but are not physically connected. For
example, routing for a data signal may have a short trace between a series termination resistor
and pin. While the net assignment for traces on either side of the resistor are different, logically
they are equal and can therefore be grouped into an extended net.
Extended nets are collections of nets that are similar to net classifications but with subtle
differences. A net can be in only one extended net at a time, in contrast to being in multiple
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
classifications simultaneously. There are also no default extended nets and no ports are
associated with extended nets.
Extended nets are used for SIwave SYZ with HFSS Regions simulations. If an HFSS region
contains capacitors, inductors, or resistors that connect two different signal nets, these signal
nets must be defined as extended nets. SIwave needs this definition to know how to pull in
required nets and auto generate ports in the region.
The Extended Nets tab contains two panes: an upper Extended Nets pane and a lower Nets
pane.
The Extended Nets pane lists all extended nets. Use it manage the extended nets. When an
extended net is selected in the Extended Nets pane, the nets assigned to that extended net
appear in the Nets pane. The entry <All> lists all nets in the Nets pane including entities not in a
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
net. <All> is not an extended net. The Extended Nets pane’s shortcut menu offers the following
actions:
l New – creates a new extended net.
l Auto Identify – automatically identifies new extended nets in the Auto Identify Settings
window.
l Edit – changes the selected extended net.
l Delete – deletes the selected extended nets.
l Select – selects the members of the extended nets in the Layout editor.
l Show – shows the members of the selected extended nets in the Layout editor if hidden.
l Show (Hide All Other) – shows the members of the selected extended nets in the Layout
editor while hiding all other nets.
l Hide – hides the members of the selected extended nets in the Layout editor.
1. In the Extended Nets pane, right click and click New to open the Add Extended Net
window.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
1. In the Extended Nets pane, right click and select Edit to open the Extended Net
Properties window.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
From the Auto Identify Settings window, you can automatically detect and create extended
nets, rename extended nets, or delete extended nets. Existing nets are listed in the grid. Enter a
differentiator to identify extended nets. Use Append to grid contents to add any new extended
nets to the list in the grid and Replace grid contents to replace existing extended nets with
newly identified ones.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Nets Pane
The Nets pane displays the members of the extended nets that are selected in the Extended
Nets pane. These nets can be filtered using regular expressions. In the Nets pane, the short
menu offers these actions:
l Show – shows the selected nets in the Layout editor if any are hidden.
l Show (Hide All Other) – shows the selected nets in the Layout editor while hiding all
other nets.
l Show all nets – shows all nets in the Layout editor.
l Hide – hides the selected nets in the Layout editor.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Delete – deletes the selected nets from the project. Members of the net remain in the
project.
l Fit Selected – zooms the Layout editor into show the selected nets.
Note:
The ACT Extensions window and the design wizards it contains (5G Wizard, HFSS
Antenna Design Toolkit, HFSS-EMA3D Link, and Maxwell Eccentricities) are only
available for the Windows version of the Ansys Electronics Desktop software. These
items are not available when the software is installed on a Linux platform.
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 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Click the Manage Wizards icon to load the Extension Manager to select from available
extensions. Active extensions are highlighted. Selectable extensions show while. Scroll bars
and window sizing lets you view addition extensions. You can search, or access the Ansys App
Store.
Click the Launch Wizards icon to load existing toolkits for activation. If there are many available
extensions, you can use the Search bar. Search is not case sensitive.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Click the desired ACT extension to load it. The selected Wizard operates in the window.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ansys Electronics Desktop contains the following menus, which appear at the top of the
desktop:
File Contains commands to manage Ansys Electronics Desktop project files and
printing options.
Edit Contains commands to modify the objects in the active model and undo and
redo actions.
View Contains commands to display or hide desktop components and model
objects, modify 3D Modeler window visual settings, and modify the model
view.
Project Contains commands to add a specific design type to the active project; view
and define datasets, project variables, and event callbacks.
Tools Contains commands to modify the active project's material library, arrange
the material 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 Contains commands to rearrange the 3D Modeler windows and toolbar icons.
Help Contains commands to access the help system and view the current Ansys
Electronics Desktop version information.
Once you have inserted a design type, the menu bar also includes menus specific to that type.
These may include:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Once a menu 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 menus can be executed in three ways:
l Clicking on the operation.
l Typing the underlined letter as shown in the menu (for example, typing the “n” in New on
the File menu). Type all underlined letters in lower case.
l Using a shortcut key combination as shown in the menu (for example, Ctrl+N for the New
command on the File menu. Shortcut key combinations are valid whether or not the menu
is visible. See Shortcut Keys to locate topics with listings of various types of shortcuts.
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 drop-down
menus are:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
File Menu
File menu items are common operations on files and projects. You can search the Help 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.
l Click Open (or type o) to open an existing project.
l Click Open Examples to open an example project.
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.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Click Save As Technology File (or type t) to save the selected top-level design as a
technology file (*.asty). 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.
l Click Restore Archive (or type r) to restore a previously archived project.
l Click Page Setup (or type u) to set up formatting to print the active window in the
Design Area.
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 and select a file for import.
l Click Export to open a submenu and select a file for export.
l Click 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.
Edit Menu
The Edit menu changes, depending on the active window in the Design Area.
When a Modeler window is active in the Design Area, the Edit menu is similar to the following
image:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Comands will be available or not available for clicking depending on what is currently selected or
on whether any operations have been performed, undone, or redone. The 3D Modeler's Edit
menu contains the following options:
l Undo – allows you to undo the last action, which is specified after the word "Undo."
l Redo – allows you to redo an undone action, which is specified after the word "Redo."
l Cut / Copy / Paste – allows you to copy and paste elements.
l Delete – deletes a selected element.
l Rename – renames a selected element.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Copy Image – copies the visible design area to the clipboard, in bitmap format.
l Delete Start Point / Delete End Point – allows you to delete start points and end points.
l Select All Visible / Select All – selects either all objects or all objects visible in the
design area.
l Invert Selection – selects the opposite of the current selection.
l Next Behind – selects the object behind a selected face, edge, vertex, or object.
l Selection Mode – changes the selection mode.
l Select Objects – opens a submenu that allows you to select objects and shapes by
name, material, and type.
l Extend Selection – opens a submenu that allows you to extend your current selection.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Go To History – selects the History Tree entry for the selected object.
l Arrange – allows you to move, rotate, or mirror the selected object.
l Duplicate – allows you to duplicate the selected object along a line, along an axis, or
mirrored to the selection.
l Scale – allows you to scale the selected object.
l Properties – opens the relevant Properties window for the selected object.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Properties – opens the relevant Properties window for the selected report element.
l Copy Bitmap Image – copies the entire report window as a bitmap image that can be
pasted into another program or document.
View Menu
The View menu changes, depending on the active window in the Design Area.
When no editor is open in the design area, or when the Netlist Editor or Report Window is active,
the View menu appears similar to the following:
l The check boxes toggle the display of the Status Bar, Message Manager Window,
Project Manager, Properties Window, and Progress Window. You can enable the
display of Component Libraries, Layers, Nets, Components and Variables windows.
l The ACT Extensions command opens the ACT Extensions window, which lets you work
with ACT integration tools. For more information, see the ACT Extensions Window
section.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note:
The ACT Extensions window and the design wizards it contains (5G Wizard,
HFSS Antenna Design Toolkit, HFSS-EMA3D Link, and Maxwell Eccentricities)
are only available for the Windows version of the Ansys Electronics Desktop
software. These items are not available when the software is installed on a Linux
platform.
l The Docking Window Layouts submenu lets you select from the Default and any saved
window layouts, Save Current Layout, or Remove Saved Layouts by selecting them
from a list.
l The Variables option opens the Project and Design Variables window, allowing you to
set variables.
When a Modeler window is active in the design area, the View menu's appearance is similar to
the following image:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Thi View menu includes the options available on the Basic View Menu. The following additional
options are available when a Modeler window is active. Note that a number of these options also
appear in the View branch of the shortcut menu that appears when you right-click in the Modeler
window.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Undo View / Redo View / Clear Undo/Redo History – allow you to change the view in
the design area, based on view history.
l Modify Attributes – offers options to Add Orientation; view the Orientation List;
change Lighting, Projection, or Background Color; and Scale Z.
l Interaction – offers options to rotate, pan, zoom, and spin the drawing in the design area.
l Fit All – allows you to fit all objects to the view window.
l Fit Selection – allows you to fit selected objects to the view window.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Visibility – offers options to show and hide selections, objects, shapes, and the ruler.
l Animate – opens the Create Animation Setup window, so that you can begin creating
animations.
l Clipping – allows you to place a 3D coordinate system manipulator in the design area so
that you can define clip planes.
l Render – offers options to switch between wire frame and smooth shaded render, toggle
enhanced display, and change how curved objects are visualized.
l Coordinate System – offers options to change how the coordinate system displays in the
design area.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Grid Settings – opens the Grid Spacing window, where you can adjust spacing.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Options – opens the 3D UI Options window, where you can change additional settings.
Project Menu
To create (insert) a new design, you must first open a new project folder by selecting New from
the File menu. Then select a project to insert from the Project menu. Or you can click the icon
corresponding to the type of design you wish to create.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The Top Menu bar contains editor and design menus that are specific to the editor or viewer that
is active in the Design area. The specific menus correspond to the type of design that is inserted
using the Project menu.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Tools Menu
The Tools menu contains operations that are common to the analysis tools.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Move Down commands. You can specify the command line arguments to the program
and the directory from which it will run.
Ansys Electromagnetics Suite 2024 R1 - © 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.
Window Menu
The Window menu contains common window control operations, as well as a list of projects that
are currently open.
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:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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:
l Click Tile Vertically (or type v) to arrange the open design windows in a side-to-side
sequence:
Tip:
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 menu.
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.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Help Menu
Ansys Electronics Desktop features extensive help documentation, including text search and
context-sensitive help items. To access the main help system, click Help on the top menu bar.
The Help Menu displays different selections depending upon the type of design inserted to the
active project. The basic selections for Q3D Extractor are:
Note: Ansys Electronics Desktop Student includes access to PDF documentation only.
l Q3D Extractor Help – opens the Q3D Extractor help within the Electronics help system.
You can also access PDF versions from within the help system.
l Q3D Extractor Scripting Help – opens the Q3D Extractor scripting help.
l Q3D Extractor Getting Started Guides – opens a list of links to the Q3D Extractor
Getting Started Guides, which walk you through projects that demonstrate product
features.
l Q3D Extractor PDFs – provides access to PDFs for Q3D Extractor, including the main
help, scripting guide, and Getting Started Guides.
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 2024 R1.
l Ansys Product Improvement Program – opens a window describing the Product
Improvement Program option.
l About Ansys Electronics Desktop – opens a dialog box that displays the Ansys
Electromagnetics Suite release number and contains tabs that show information about
the Installed Components and Client License Settings.
l Ansys Innovation Courses – opens a web page containing a wide range of Ansys
Electronics Engineering courses using on-demand, self-paced video training and quizzes.
l Ansys Learning Hub – opens a web page with subscription based access to, virtual and
self-paced learning across the Ansys Software portfolio.
l Ansys Knowledge – opens a web page to expert curated knowledge materials from
FAQs to tutorials on simulation topics.
l Ansys Learning Forum – opens a web page to Ansys blog containing discussion and
presentations from Ansys experts, partners and customers.
l Customer Portal – opens a web page to Ansys Product support.
l About Electronics Desktop - opens a dialog with version and release information,
Ansys Electronics Desktop installed components, and licensing information.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Context-Sensitive Help
To access context-sensitive 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.
Shortcut Menus
A variety of shortcut menus — menus that appear when you right-click a selection or in a window
— are available in the 3D Modeler window, in the Project Manager window, in the History
Tree, and in the Progress window.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note:
All commands available on shortcut menus are also available from the menu bar.
Use the shortcut menu in the 3D Modeler window to select, magnify, and move objects (zoom,
rotate, etc.); change the view; perform boolean operations; assign materials, boundaries,
excitations, or mesh operations to objects; and work with field overlays.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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.
For example, the following figure shows the shortcut menu when you right-click the design.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Customized setups are implemented using named subfolders that contain XML files used to
configure customized menu settings. The subfolders included with Ansys Electronics Desktop
are:
l config/UI/ElectronicsDesktop/EM
l config/UI/ElectronicsDesktop/RF
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l config/UI/ElectronicsDesktop/RF.0
l config/UI/ElectronicsDesktop/SI
l config/UI/ElectronicsDesktop/SI1.0
l config/UI/ElectronicsDesktop/SI2.0
l config/UI/ElectronicsDesktop/Twin Builder
Each customized UI type has its own subfolder. Within these subfolders, XML files hold the
menu configurations as well as the right-click menus for that UI type.
A new folder needs to be added to the config/UI/ElectronicsDesktop folder for any new
customized UI type. All XML files for this UI type must go in this folder. The new UI type will
appear in the Custom Menu Set drop-down menu (Tools > Options > General Options >
General > Desktop Configuration).
For any UI type, Ansys Electronics Desktop displays the default UI menus for any
products/contexts that are not in the xml files. If there is error processing any XML file, the
default UI menu is displayed for that product. Check the message window for the names of
problematic XML files and suggestions on how to fix them.
XML files are only processed once when you first switch to that UI type. After you make changes
to any XML file, in order for it to be reprocessed, navigate to Tools > Options > General
Options > General > Desktop Configuration and reselect the UI type from the Custom Menu
Set drop-down menu. Then click OK.
Below is the list of XML files that can be placed in a folder for a new UI Type. If any of these XML
files does not exist in this folder, the default menu setting displays for that product.
l 2D Extractor.xml – used for 2D Extractor projects.
l Circuit Design.xml – used for Circuit Design projects.
l Circuit Netlist.xml – used for Circuit Netlist projects.
l EMIT.xml – used for EMIT projects.
l HFSS 3D Layout Design.xml – used for HFSS 3D Layout Design projects.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
<DesignerMenu xmlns="http://www.ansys.com/uiConfigMenu">
l UseProjectWindowSelectionContext – child of DesignerMenu, appears zero or one
time.
Note:
l Context – child of DesignerMenu. It appears at least one time and has a required
“name” attribute. For details on setting the context name, see the “Context Name”
section below.
2. Child elements of Context:
l TopMenu – For RightClickMenu.xml, 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.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Pay attention to the character reference "&" in XML. In order for the name of the
menu to be displayed as “Tools”, the XML syntax must be:
<MenuName>&Tool</MenuName>
“&“ is the character reference for ”&” in XML, while “&Tool” tells Ansys
Electronics Desktop that Alt+T is the shortcut key for this menu.
l MenuID – optional number.
For a list of valid MenuIDs, please see Command IDs for Customizing AEDT
Menus.xlsx under <install_dir>/v<release_number>/[Win64 or Linux64]/Help.
l ShowBitMap – optional, “Yes” or “No” (default)
l Accelerator – optional string (Example: Ctrl+N)
Note:
l CustomMenu – may appear one or multiple times; used to add a customized menu
to run an external script (vbs or python).
Example:
<ScriptPath>C:/Users/jwei/Python/HelloWorld.vbs</ScriptPath>
or
<ScriptPath>$PERSONALLIB/HelloWorld.py</ScriptPath>
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note:
Note:
l For “DesignerMenu” and “Context”, only no action setting or “useDefault” is
valid.
l The “DesignerMenu” action setting is significant because it is how you specify
whether you want to construct your own menus or modify existing default
menus. If this is set to “useDefault”, default menu settings are used for any
menus not listed in your XML files. If no action is set, only the “File”, “Window”
and “Help” menus display; no other default menus display. Menus listed in the
XML file display after the “File” menu and before the “Window” menu. In this
case, no action is needed for any other elements in the XML file. 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,
a “Tools” menu is created before the “Window” menu with one “Revert To
Default” menu item.
l For any other elements, a 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 elements. If any action is specified, it will be ignored. This menu and all of
its child menus will be added to the default menu.
l If any TopMenu or pop-upMenu’s action is set to “delete”, you don’t need to list
any of its child menus. The menu will be deleted with all child menus.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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 2D Extractor.xml — “All”, “3d modeler”, “report2d”
l CircuitDesign.xml — “All”, "SchematicEditor", “Layout”, “Netlist”, “report2d”
l Circuit Netlist.xml —“All”, “Design”, “Netlist”
l HFSS.xml — “All”, “3d modeler”, “report2d”
l HFSS 3D Layout Design.xml — “All”, “Design”, “Layout”, “Layout3D Editor”, “report2d”
l HFSS-IE.xml — “All”, “3d modeler”, “report2d”
l NoDesignUI.xml — “All”, “No Context”, “project”, “FilterDesign”
l Q3D Extractor.xml — “All”, “3d modeler”, “report2d”
l RightClickMenu.xml — the following figure illustrates valid context names and how they
display in Ansys Electronics Desktop.
l Project Folder – "Project"; in the above figure, “Project” represents the “Linckt_
Export” project folder.
l Design Instance Folder – “Circuit Design”, “HFSS 3D Layout Design”, “HFSS”,
“Q3D Extractor”, “Circuit Netlist”, “HFSS-IE”, “2D Extractor”
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note:
For the Report folder under Results, please use the context name for the
Results folder appended with "Report"; for example: "Circuit
Design/Results/Report".
For the Trace folder under Report, please use the context name for the
Report appended with "Trace"; for example: "Circuit
Design/Results/Report/Trace"
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
<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>
Menus created by processing the above sample, Circuit Netlist.xml
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
3D Modeler Window
The 3D Modeler window is the area where you create the model geometry. It appears to the
right of the Project Manager window after you insert an Ansys Electronics Desktop design into a
project. The 3D Modeler window consists of the modeler view area, or grid, and the History
Tree. The two areas are highlighted in the following figure:
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 using Ansys
Electronics Desktop's Draw menu commands, or you can draw 1D and 2D objects and
manipulate them to create 3D objects. 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. See: Modifying the Model View.
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
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Use the Layout window to alter the following controls for setting visibility by layout-object type.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
You can also turn visibility off for all nets but the selected net by right-clicking and selecting
Show This Net Only.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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. The following shows a 2D report
window in Electronics Desktop:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note:
Some objects have more extensive shortcut menus than others, but all of them have
these three options.
Selecting any item in the History Tree also selects it in the design area and populates the
Properties window with its properties.
You can perform the following tasks with the History Tree:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note:
While objects created in Q3D Extractor can always be classed in the History Tree as a
solid, sheet, or wire, some imported objects may have mixture of these. Q3D Extractor
places such objects in an Unclassified folder.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ansys Electromagnetics Suite 2024 R1 - © 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.
You can access Group commands in several ways: via Modeler > Group, via the right-click
shortcut menu in the History tree, via the right-click shortcut menu in the Modeler window, and
via the Group icons on the Model tab.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Group > Create works with or without a selection. If the History Tree Layout>Show Groups
command is disabled, a dialog box reports that groups are currently hidden, and that if you OK to
continue, groups will be shown. If there is no selection of objects for new group, an empty group
is created under Model. If there are selections, 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 the 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 > Flatten is enabled when you select a group. You can select multiple groups at different
levels. All of the selected group's contents (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. If the History Tree Layout > Show
Groups command is disabled, a dialog box reports that groups are currently hidden, and that if
you OK to continue, groups will be shown.
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. If the History Tree Layout > Show Groups command is
disabled, a dialog box reports that groups are currently hidden, and that if you click OK to
continue, groups will be shown.
Operations on Groups
Edit/Delete
Delete operations delete group and all the children, including sub-groups, under the group.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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.
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 2024 R1 - © 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 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ctrl+click to make multiple selections in the History Tree. You can select a range of objects by
clicking the first and using Shift+click to select all in the range. You can also 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.
You can right-click any History Tree object or grouping to display a shortcut menu with a Select
All option. This lets you select 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 2024 R1 - © 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 2024 R1 - © 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.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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 window. You can look at the fields in
the Properties window 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 delete icon (X) 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 command. This undoes the effect of a command on an object without removing it
from the History Tree.
By default, the Modeler opens legacy projects using the modeling kernel version under which
the project was saved, so that users don't see side effects from slight topology changes between
versions. The Upgrade Version operation forces Electronics Desktop to use the latest modeling
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
kernel. Typically, this command would only be used when a needed fix is available for the
newest version.
Note that the Show Messages button indicates the number of messages.
When more than one progress bar is active, the top progress bar is represented on the status
bar with a progress indicator:
The status bar also displays helpful information about the current selection or command.
Directions for inputs appear on the left side of the status bar:
Depending on the command being performed, the status bar can display the following:
l X, Y, and Z coordinate boxes
l A drop-down menu for entering absolute, relative, cartesian, cylindrical, or spherical
coordinates
l The model's units of measurement
These coordinate boxes and drop-down menus appear on the right side of the status bar:
A check mark next to this command indicates that the status bar is visible.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Keyboard Shortcuts
The following keyboard shortcuts apply to Q3D Extractor in general:
F1
Help (context-sensitive)
See the subtopics in this Help branch for additional information concerning shortcuts and view
navigation.
To customize the shortcut assignments, use Tools > Keyboard Shortcuts. Not all shortcuts are
customizable.
Desktop Shortcuts
Modifier + key Hold down the modifier, such as Shift or Ctrl, and press the key.
The following Ansys Electronics Desktop shortcut key combinations are available at any time:
Ctrl + N New
Ctrl + O Open
Ctrl + P Print
Ctrl + S Save
Ctrl + 0 Cascade windows
Ctrl + 1 Tile windows horizontally
Ctrl + 2 Tile windows vertically
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Delete Delete
F1 Open help
Note:
In the following table, LMB is an abbreviation for Left Mouse Button, and MMB means
Middle Mouse Button.
Wheel refers to rotation of the mouse wheel that is integrated with the middle button.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
To customize shortcut assignments, use Tools > Keyboard Shortcuts. Not all shortcuts are
customizable.
Report Shortcuts
Modifier + key Hold down the modifier (such as Shift or Ctrl) and press the key.
The following shortcut key combinations are available when a Report window is open:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
1. Access the Options dialog box using one of the following two methods:
l From the menu bar, click Tools > Options > General Options.
l
From the Desktop ribbon tab, click General Options.
2. In the tree at the left side of the dialog box, select General > User Interface. Then:
l To use either the legacy or current view navigation buttons and hotkey combinations,
select Enable Legacy View Navigation. This option is selected by default.
l To use only the current view navigation behavior and disable legacy button/hotkey
support, ensure that Enable Legacy View Navigation is cleared.
3. Click OK.
The navigation option change becomes effective immediately (no program restart
required).
Note:
The "Current" assignments are available whether or not the Enable Legacy View
Navigation option is selected:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
MMB + drag
MMB + drag or
Wheel Wheel
or or
Zoom (all contexts) Shift + MMB + drag Alt + Shift + LMB + drag
or or
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Selecting a Command Category populates the Commands list with the available commands
for that category. If the command has an assigned shortcut, it is displayed in 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 unavailable.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
4. The Use new shortcut in drop-down list displays Global by default, which means that
the shortcut will apply to all applicable contexts. If a limited context exists, the menu offers
a selection.
5. When you have made your desired assignments, you can save them to a named file.
Click Save... to save the assignments to your desired location in Ansoft
Keyboard Shortcut (*.aks) format.
If you have an existing *.aks file, use the Load... button to locate and select the file.
6. Click OK to save the current settings, or Reset to Default.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Using Auto-Complete
Certain commonly used text fields have auto-complete configured. When you start typing in
these cases, matches display in a list below the text field. If there is no matching text, then no list
displays. The list is automatically sized, but you can resize it. Electronics Desktop remembers
the new size when doing additional 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 with the full auto-complete match and hides the list. Otherwise, hitting the escape key Esc
hides the auto-complete list. Typing more letters causes auto-complete matching to resume.
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
(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. The variable auto-complete list does not include Separator
Variables or Hidden variables since these could cause invalid formulas.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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). The
following shows a design property with auto-complete matching:
Ansys Electromagnetics Suite 2024 R1 - © 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 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
3. Specify the name of the resource that you want to protect and click OK.
This displays the Enter Passwords window, which contains radio buttons to let you:
l Enter Password and confirm for Full Access or for Execute Only Access.
l Use Ansys Password (for execute only). This option does not require you to enter a
password, but still encrypts the library.
4. Once you have selected a radio button and specified any necessary passwords correctly,
click OK.
To Encrypt a Resource
7. Use the drop-down menu to select the appropriate Files of Type filter.
Note:
The Expire resource on option lets you select the date when the password expires for
the relevant resource.
Command-line Syntax
ansysedt <options> <run command(s)> <project file/script file>
It is good practice to put quotation marks around the path to the solver executable, and around
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 spaces.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Run Commands
The following command line run commands are available for Ansys Electronics Desktop. Of the
commands (BatchSave, BatchSolve, BatchExtract, RunScript, RunScriptandExit), one or none
must be specified as arguments after the solver executable. When none is specified, you may
specify a project or archive to open when Electronics Desktop launches, and can only use the -
Iconic and -Help options. The commands are further described below:
l -BatchSave [options] <file or folder specifier>
Saves a named project or folder containing one or more project files or folders to the
current version. This can be helpful for the change from ACIS to Parasolid. The Parasolid
migration of aedt projects does not overwrite the existing project. Instead a copy is
created through save-as with _converted suffix and then that copy is migrated to
Parasolid.You can run this command with the -Iconic, -Logfile, and -ng options.
Special behavior when opening backed up files from the user interface.
Files located in the AnsysEM_Backup directory would be the original non-
migrated files that were backed up during an earlier –batchsave or open.
Opening a file located in the AnsysEM_Backup directory via the open file
dialog will invoke the Parasolid migration, and the migrated file will be saved in
the parent folder of the AnsysEM_Backup folder with a unique name so as not
to overwrite any existing files.
If a folder is given, -batchsave will run on all files underneath the specified folder.
Allowed options:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
By default, this run command solves all adaptive setups, Optimetrics setups, and sweeps
found in the project file. You can run this command with the -Iconic, -Logfile, -ng, and -
WaitForLicense options. If parallel solve is possible, you can use the -Distribute option.
If you wish to specify which setups -BatchSolve completes, you can use additional
parameters:
l [designName] – batch solve all setups for the specified design in the project file.
l [designName]:Nominal – batch solve all nominal setups for the specified design in the
project file.
l [designName]:Optimetrics – batch solve all Optimetrics setups for the specified
design in the project file.
l [designName]:[Nominal/Optimetrics]:[SetupName] – batch solve the specified
Nominal or Optimetrics setup in the specified design.
If you wish to specify whether -BatchSolve setups are completed locally or remotely, you
can use the following options:
l -Local – performs the -batchsolve on the local machine.
l -Remote -machineList – performs the -batchsolve on a remote machine. The
<machineList> should provide a single hostname.
l -Distributed -machineList – performs a distributed -batchsolve using a specified
machine list.
The -machineList parameter for a -Distributed setup can be formatted three ways:
l -MachineList list= "<machine1>, <machine2>, ..." – machine names (either by
IP address or hostname) are separated by commas. If the list contains any
whitespace, it must be enclosed in quotation marks. The number of distributed COM
engines run on each host is equal to the number of times the hostname appears in
the list. That is, if host1 appears in the list once, and host2 appears twice, then one
COM engine will run on host1 and two COM engines will run on host2.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
<MachineName>:<TasksOnMachine>:<CoresOnMachine>:<RAM Limit in
%>:<GPUsOnMachine>
Duplicate machine names are not permitted. The integer for <CoresOnMachine>
must be greater than the integer for <TasksOnMachine>. RAM% must be of the form
"<num>%" where num is an integer between 1 and 99. Please be sure to leave
sufficient RAM for the operating system and applications. If -auto is specified with a
machine list, the number of tasks for each machine must be -1.
Example:
list="Orion:4:8:90%:1, Aries:3:12, Pluto:6:12"
Note:
<MachineName>:<TasksOnMachine>:<CoresOnMachine>:<RAM Limit in
%>:<GPUsOnMachine>
Duplicate machine names are not permitted. The integer for <CoresOnMachine>
must be greater than the integer for <TasksOnMachine>. RAM% must be of the form
"<num>%" where num is an integer between 1 and 99. Please be sure to leave
sufficient RAM for the operating system and applications. If -auto is specified with a
machine list, the number of tasks for each machine must be -1.
Example:
"Orion:4:8:90%:1",
"Aries:3:12",
"Pluto:6:12",
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note:
Distributed setups can also take the following optional arguments. When these are not
present, the behavior defaults to single-level distributed solutions with no change in
order of precedence among possible distribution types.
If the list contains any whitespace, it must be enclosed in quotation marks. For
example:
"includeTypes=Frequencies,Mesh Assembly"
l excludeTypes= <default>|<distribution type 1, distribution type 2, ...> – If excluded
distributed types are specified, all distribution types except those listed will be
enabled. If default is specified, the default set of enabled distribution types is used.
To see a valid distribution types for your design, click Simulation > Analysis Config
to open the Analysis Configuration window and view the types on the Job
Distribution tab.
If the list contains any whitespace, it must be enclosed in quotation marks. For
example:
"excludeTypes=Frequencies,Mesh Assembly"
l maxLevels= <1 | 2> – the maximum number of levels of job distribution (the current
maximum is 2). See: Selecting Optimal Configurations for Distributed Analysis.
l numLevel1= – when two-level distribution is selected (maxLevels=2), this specifies
the number of level 1 tasks.
-Auto [NumDistributedVariations=<num>]
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
This flag enables automatic HPC settings and must be used with one of the following
options:
l -machinelist list=<machine list>, with tasks for each machine set to -1
l -machinelist numcores=<num>, under a scheduler
All design types being solved must support -auto or the solve will be aborted.
Total number of cores, and can be used only with -auto and in a scheduler
environment.
l file="<tmachine list file path>"
The specified file can contain line delimited machine specifiers as described above.
l num=<tnum distributed tasks>
This is the total number of tasks and used only in a scheduler environment.
l numgpus=<tnumber of GPUs to use>
This is the total number of GPUs and used only in a scheduler environment. numgpus
must be combined with either num= or numcores=.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l ExportTransientData
l Update Reports
l ExportToFile
A project file must be specified when -BatchExtract is used. Commands in the script file
will only be executed in the specified project.
Important:
l -ng must be used with -BatchExtract, or it will fail.
l Only the scripts listed above are supported for -BatchExtract. Including
unsupported script commands will terminate script execution.
l -RunScript <script file name> – runs the specified script. You can use the -ScriptArgs
option to add one or more arguments to this command, and the -Iconic option.
l -RunScriptAndExit <script file name> – runs the specified script and exits Electronics
Desktop. You can use the -ScriptArgs option to add one or more arguments to this
command. You can also use -Iconic, -Logfile, and -WaitForLicense.
Note:
l -monitor – during non-graphical analysis, you can monitor progress and messages.
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.
l -grpcsrv – For external cpython scripting support. If not specified with ansysedt.exe, the
Start GRPV server listens on a port in the default range 50051:51051. If specified, Start
GRPV server listening on the the specified port number. An error is issued if the port is
already used. For example:
ansysedt.exe // Start GRPV server listening on a port in
the default range 50051:51051.
ansysedt.exe -grpcsrv portnumber // Start GRPV server
listening on the the port number. error if the port
already used.
ansysedt.exe -grpcsrv 50051:50150 // Start GRPV server
listening on a port range 50051:50150.
ansysedt.exe -grpcsrv 50051:100 // Start GRPV server
listening on a port range 50051:50151.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note: The example is for an HFSS project. The path, project and design names will
vary depending on what the user specifies.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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.
When a -Batchsolve is being performed on an archive file, you may also specify -
archiveoptions:
l overwritefiles – allows non-project/results-extracted files to overwrite existing files.
l path= <projectFilepath> – extracts the project file and associated files to the specified
path. If not specified, the archive will be extracted into the same directory as the archive
file.
l repackageresults – Add batchsolve results back to archive file.
l winpath= <windowsProjectFilepath> – specifies the Windows-specific path to the
extracted project file. This is used when a batch job is to be run on a Linux system, but
monitored on Windows.
Options
The following options can be associated with one or more of the run commands:
l -autoextract – exports profile (as text), convergence (as text), and report data (as CSV)
for the requested project/design/setup in a batch job. Once the solve is complete, an
export directory is created (for example, "Project1.aedtexport" for a project named
"Project1.aedt") that contains a sub-directory for each design name. You can also specify
-autoextract “reports, fieldplots” to also generate *.aedtplt files for each
field plot and possible *.avz file (for import and display in Ensight) for all valid field plots.
Export files reside within each design-name directory, and include setup name, design
variation, job ID, and problem type, as applicable.
Note:
l The -autoextract option is only valid when used with -BatchSolve
l The -autoextract option is automatically added for all Ansys Cloud jobs
submitted from Electronics Desktop. There is also an additional "reports"
and/or "fieldplots" option that immediately follow "-autoextract". This causes
all reports to be exported as CSV files at the end of the batch solve, after the
profile and convergence have been exported.
l For example, you can specify -autoextract “reports, fieldplots”
to also generate *.aedtplt files for each field plot and possible *.avz file for all
valid field plots.
l -batchoptions – for batch jobs, specifies any of the options in Tools > Options. See
additional information.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
In VBscript, the command line parameter following -scriptargs is split into multiple strings
and converted to a VBscript collection which is accessible via the
AnsoftScript.Arguments collection. To access these arguments, for example:
msgbox AnsoftScript.Arguments(0) // Returns Design1
msgbox AnsoftScript.Arguments(1) // Returns Setup1
In either case, Design1 is taken into Electronics Desktop as the first argument, and
Setup1 as the second argument. If you failed to use quotation marks, Design1 would be
taken as the first argument and Setup1 would not be understood by Electronics Desktop.
-Batchoptions
All options that are specified through Tools > Options go into the user-level registry.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note:
l Options are arranged as keys and values (in a structure similar to the Windows
Registry). However, these options are not a part of the Windows Registry but are
separately stored and maintained by the Ansys Electronics Desktop software.
l For access to options and functionality beyond what is directly accessible via the
user interface or batch options, refer to the documentation of the
UpdateRegistry tool. This tool is discussed in the following help topic and in the
topics that follow it in the same branch of the product help:
You can override the option registry entries via the -batchoptions command line. These
overrides apply only to the current Desktop session. 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. Batch jobs can be submitted from the command line or through Electronics
Desktop's job submission window.
Large Scale DSO offers two new batchoptions related to the redistribution ability.
l LargeScaleDSO/VarRedistribution, where 0 disables redistribution (default), and 1
enables it.
l LargeScaleDSO/RedistributionLimit, is a positive integer specifying the minimum
estimated remaining time (in minutes) for variations to redistribute to another task. The
default is 3.
Note:
-batchoptions is only valid for batch jobs. It is ignored if you have not specified -
BatchSolve, -BatchSave, or -BatchExtract.
-Batchoptions Examples
When this option is set, only the initial mesh and manual mesh operations are completed for the
batch solution.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note:
No adaptive meshing occurs for any Icepak or Mechanical solutions. Therefore, after
solving, the final mesh will be identical to the starting mesh for these two design types.
This example enables CreateStartingMesh for HFSS, and runs a batch solution of the specified
project:
ansysedt -batchoptions "'HFSS/CreateStartingMesh'=1" -batchsolve
"D:\projects\MyProject.aedt"
The Tools > Options > Export Options Files command writes XML files containing the options
settings at all levels to the specified directory. This feature is intended to make it easier for
different users to use Ansys Electromagnetics Suite 2024 R1 installed on shared directories or
network drives. See: Example Uses for Export Options Features.
The following examples use general Desktop and HFSS-specific settings. This feature is
available for all desktop products.
l The registry path separator is the slash ( / ) character.
l Each complete registry key (that is, a registry path and option name) is enclosed in single
quotes.
l Registry string values are enclosed in single quotes.
l After the -batchoptions switch, the set of registry keys and values that follows it must be
enclosed in double quotes. However, if a batchoptions file is referenced (instead of listing
the options directly on the command line), the double quotes are not used around the
filename.
l Backslashes in registry key string values must be escaped with another backslash ( \\ ),
since a backslash by itself is an escape code within strings.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
"'Desktop/Settings/ProjectOptions/NumberOfProcessors'=4
'HFSS/NumCoresPerDistributedTask'=2 (* This option is not
currently available from the Add Batchoption dialog box.)
'Desktop/ProjectDirectory'='C:\\projects\test'" projectname.aedt
Note:
l Multiple registry settings may appear in a single -batchoptions value, separated
by whitespace.
l The -batchoptions value must be enclosed in double quotes if it contains any
whitespace.
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
For additional options you can override from the command line with -batchoptions, see:
l For -batchoptions Use: Project Directory and Lib Paths
l For -batchoptions Use: TempDirectory
l For -batchoptions Use: Various Desktop Settings
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
You can set analysis parameters for batch mode jobs using the graphical user interface (GUI).
For example, you can set all options for a batch job using the Add Batch Option dialog box,
which is accessed through the Submit Job To dialog box. These parameter settings include the
following solver options (several examples, not a complete list):
l HPCLicenseType
l tempdirectory
l Desktop/AutoExtractReports
l Desktop/Settings/ProjectOptions/MumberOfProcessors
l <design_type>/DefaultProcessPriority
l <design_type>/EnableGPU and/or EnableGPUForEye – Applicable to Circuit Design,
EMIT, HFSS, HFSS 3DLayout, and Maxwell 3D (also EnableGPUForSBR for HFSS only)
l <design_type>/MPIVendor (either “Intel” or “Microsoft”) – Applicable to HFSS, HFSS
3DLayout, Icepak, Maxwell 2D, Maxwell 3D), and Q3D
For graphical analyses that do not use batch mode, you specify the analysis parameters using
the GUI (Tools > Options > General Options or HPC and Analysis Options). These settings
are written to the registry when you exit the Electronics Desktop program. The settings are read
from the registry when the application is started. Therefore, when you start the Electronics
Desktop application, all settings retain the values from the previous session of the same user on
the same machine. If there was not a previous session of the same user on the same machine,
then the values are obtained from other registry configuration files or from a default value.
When running a batch analysis, any setting that is not specified using the -batchoptions
command line option is taken from the registry. This value is typically the setting from the last
session of the same user on the same machine. However, the -batchoptions command line
option allows you to override the parameter with values specified on the command line or in a
batchoptions file. The values specified using the -batchoptions command line option only apply
to the batch job, and do not affect the parameter values stored in the registry.
If important -batchoptions values are not specified when running a batch job, the paramaters
could be affected by an interactive session running on the same host by the same user.
Parameter changes can occur if the user sets an option in the GUI and then exits the program, or
if another process that accesses the registry exits. To be sure of the desired batch job outcome,
avoid changing options in concurrent interactive sessions or include the desired -batchoptions in
the command line.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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
Registry Key Default Value Description
Values
Desktop/ProjectDirectory subdirectory of user's Directory Directory where new
HOME directory or pathname projects are created
“Documents” directory
Desktop/PersonalLib PersonalLib subdirectory Directory Directory PersonalLib
of user's HOME directory pathname is appended if final
or “Documents” directory 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
Default Units or
Registry Key Description
Value Values
TempDirectory Set by - Directory for temporary
installer files
1. In the Analysis options area of the Submit Job To window, click Add....
2. In the Add Batchoption window that appears, select Desktop/Settings from the Show
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Defa
Units
ult
Registry Key or Description
Valu
Values
e
Desktop/Settings/ProjectOptions/AnimationMe 200 Megab Stop animations when
mory ytes available memory falls
(MB) below this value
Desktop/Settings/ProjectOptions/AnsoftCOMPr “” IP IP address used to
eferredIPAddress (em addres connect from COM
(see note below table) pty s (as a engines to ansysedt.exe
strin string)
g)
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Defa
Units
ult
Registry Key or Description
Valu
Values
e
Desktop/Settings/ProjectOptions/AnsysEMPrefe “” IP Subnet used to connect
rredSubnetAddress (em addres COM engines to
(see note below table) pty s (as a ansysedt.exe –
strin string) allowed formats are:
g) l IPv4 network prefix
in CIDR notation
Example:
123.123.123.0/24
lIPv4 network prefix
with /subnet mask
appended
Example:
123.123.123.0/255.
255.255.0
Desktop/Settings/ProjectOptions/AutoSaveInter 10 edits Number of edits to allow
val between autosaves
Desktop/Settings/ProjectOptions/AutoShowMes 1 0 Show message window
sageWindow (tru (false) on new messages
e) or 1
(true)
Desktop/Settings/ProjectOptions/AutoShowPro 0 0 Show progress window
gressWindow (fals (false) when starting a
e) or 1 simulation
(true)
Desktop/Settings/ProjectOptions/DiskLimitForA 0 Megab A warning is issued
bort ytes when available disk
(MB) space falls below this
value
Desktop/Settings/ProjectOptions/DoAutoSave 1 0 Enables autosaves if
(tru (false) true
e) or 1
(true)
Desktop/Settings/ProjectOptions/DrawStateIcon 1 0 Change icon when
sInProjectTree3 (tru (false) selection does not
e) or 1 match active window
(true)
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Defa
Units
ult
Registry Key or Description
Valu
Values
e
Desktop/Settings/ProjectOptions/ExpandMessa 1 0 Ensure that new
geTreeOnInsert (tru (false) messages are visible in
e) or 1 the message window
(true) tree
Desktop/Settings/ProjectOptions/ExpandOnInse 0 0 Expand project tree on
rt (fals (false) insert
e) or 1
(true)
Desktop/Settings/ProjectOptions/HighlightActive 1 0 Emphasize active
ContextInProjectTree2 (tru (false) command context
e) or 1 (menu and toolbars)
(true)
Desktop/Settings/ProjectOptions/SavePreviewI 1 0 Save preview images in
magesInProject (tru (false) project file
File e) or 1
(true)
Desktop/Settings/ProjectOptions/UpdateReport 0 0 Update reports on file
OnFileOpen (fals (false) open
e) or 1
(true)
Note:
The preferredIP address and preferred subnet address settings are mutually exclusive.
If both are specified to be non-empty strings, then the preferred IP address takes
precedence, and the preferred subnet address is ignored. This feature is typically used
for cluster environments using batch solves. The setting can be made via batchoptions
but can also be done via UpdateRegistry.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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.
Before running a job you must click Tools > Job Management > Select Scheduler and use the
dialog box to designate the head node of a cluster. You can then click Tools > Job
Management > Submit Job to submit the batch commands for the job.
Note:
The ACT Extensions window and the design wizards it contains (5G Wizard, HFSS
Antenna Design Toolkit, HFSS-EMA3D Link, and Maxwell Eccentricities) are only
available for the Windows version of the Ansys Electronics Desktop software. These
items are not available when the software is installed on a Linux platform.
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 automated process. A guided process extension is exposed in Electronics Desktop as
a wizard that provides step-by-step simulation guidance within the application workflow.
To access ACT functionality in Electronics Desktop, open the ACT Home page by clicking View
> ACT Extensions.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
For more information, see ACT Simulation Wizards and Electronics Desktop Wizard in the
Ansys ACT Developer's Guide.
Installing PyAEDT adds three items to the Tools > Toolkit > PersonalLib menu and to the
Automation tab:
l Console – launches the PyAEDT console.
l Jupyter Notebook – launches Jupyter Notebook (a computational notebook) in an
internet browser.
l Run PyAEDT Script – launches a file browser allowing you to select a Python script to
run via PyAEDT.
To install PyAEDT:
l From the Automation tab, click Install PyAEDT.
When installation is complete, the Tools > Toolkit > PersonalLib menu and the
Automation tab update to display PyAEDT menu options:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Debug Logging
Electronics Desktop provides error logging capabilities.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The default value is 2, and should not be changed unless directed by technical support.
3. Click OK.
Errors are logged to the specified folder until you disable logging.
Ansys Electromagnetics Suite 2024 R1 - © 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.
Note:
Not all options and capabilities documented in this section apply to all design types.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Attempts to run batch solve or non-graphical with a legacy project return an error. There is
no 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 Workbench integration has not been modified. It continues to open legacy projects without
a warning and copies results from legacy to the new extension.
You choose the matrices you want to generate, draw the structure, specify material properties
for each object, identify conductors, and specify source excitations. Q3D Extractor then
generates the necessary circuit parameters. From these matrices, you can generate lumped
equivalent circuit models in any of several SPICE formats.
After you insert a design, you do not need to perform the steps sequentially, but you must
complete all steps before a solution can be generated.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note:
After being idle for 10 minutes, Q3D gives up its license. A renewal of activity
automatically requests a license. Such idle notifications do not occur during solves.
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.
1. Depending on your design, click the Q3D Extractor or 2D Extractor menu and select Set
Background Material.
The Select Definition window appears. By default, it lists all of the materials in the global
material library as well as the project 's local material library.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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.
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.
3. Click OK.
2D Extractor can:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Compute capacitance and inductance for lossless transmission structures, and compute
impedance and admittance matrices for lossy transmission structures.
l Compute the characteristic impedance of the transmission line structure, its modal
velocities, and its modal transformation matrices.
l Compute forward and backward crosstalk coefficients.
l Display field patterns in a transmission line given a particular distribution of charge,
potential, or current.
l Export a SPICE equivalent circuit to a file that can be read into any other software
package that uses a compatible version of SPICE.
l Perform variational analyses of designs by varying solution frequencies, model
dimensions, material properties, and other transmission line parameters.
You can draw or import a geometric model of your structure's cross-section into 2D Extractor
and then specify:
l All relevant material characteristics
l Boundary conditions describing field behavior
l Sources of charge, current, or voltage
l Solution criteria
After 2D Extractor computes the requested circuit parameters, you can export circuit
equivalents, and view and analyze the computed matrices or fields.
After you insert a design, you do not need to perform the steps sequentially, but you must
complete all steps before a solution can be generated.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
8. View solution results, post-process results, view reports and assign field overlays.
Note:
After being idle for 10 minutes, Q3D gives up its license. A renewal of activity
automatically requests a license. Such idle notifications do not occur during
solves.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Use Tools > HPC and Analysis Options to specify active configuration per design type,
queuing, distributed memory vendor, HPC licensing, select a MPI vendor, 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.
The Options window opens with the Desktop Configuration options selected by default.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
In the left pane, select the entries below General to display the associated options:
l Desktop Configuration
l Project
l Miscellaneous
l User Interface
l Directories
l Desktop Performance
l Default Units
l Remote Analysis
l Component Libraries Options
2. Click each entry and make the desired selections.
3. Click OK to apply your preferences.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ansys Electronics Desktop now uses Electronics Pro, Premium, Enterprise (PPE) product
licensing. Legacy product licensing and DSO are no longer supported.
With PPE, HPC licensing is used to enable all cores, GPUs, and distributed tasks.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Choices are:
o All – Default option. Sets the Custom Menu Set to Default, the Schematic
Environment to Circuit, and the default design type to HFSS.
o EM – Electromagnetic focus. Sets the Custom Menu Set to EM, the
Schematic Environment to Twin Builder, and the default design type to Maxwell 3D.
o RF – Radio Frequency focus. Sets the Custom Menu Set to RF, the Schematic
Environment to Circuit, and the default design type to HFSS.
o SI – Signal Integrity focus. Sets the Custom Menu Set to SI, the Schematic
Environment to Circuit, and the default design type to HFSS 3D Layout.
o Twin Builder – Sets everything to default to Twin Builder.
l Custom Menu Set – Changes which menu options are available in Electronics Desktop.
Choices are:
o Default – All solvers appear on the Project menu.
o EM – Only electromagnetics solvers appear on the Project menu.
o RF – Only radio frequency solvers appear on the Project menu.
o RF.0 – All solvers appear on the Project menu. The HFSS RF Setup menu appears.
o SI – Only signal integrity solvers appear on the Project menu.
o SI1.0 – Only signal integrity solvers appear on the Project menu. The Import,
Solution Setup, Automation, and Definitions menus appear.
o SI2.0 – All solvers appear on the Project menu. The HFSS SI Setup menu appears.
o Twin Builder – Only Twin Builder appears on the Project menu.
l Schematic Environment – Select Circuit, Twin Builder, or Maxwell.
Click the Beta Options button to open a window listing beta options. You may need to scroll or
size the window to view all options.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
From there, enable or disable options, and click OK. You will need to restart to enable your
selections.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ansys Workbench Integration allows you to specify the path to your Ansys Workbench
installation. This path can be used in Optimetrics for connecting to the Design Xplorer.
MATLAB Optimization allows you to specify the path to your installation of MATLAB.
MATLAB can be used as an Optimizer.
Note:
The platform for MATLAB and Ansys Electronics Desktop must match (for example,
a 64 bit version of MATLAB).
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
selected project item (data affecting the same model is considered to be related). Clicking
the icon opens the window and brings it into focus.
l Expand Project Tree on Insert – when selected, the Project Tree automatically expands
when you insert a new design.
In the Display Options area, specify the Maximum Number of Significant Digits to display.
The default is 8 and the maximum is 20. This affects the digits displayed in the Solutions dialog
box, evaluated variable values, Animation dialog boxes, Optimetrics, Reports, and so forth. For
example, here is the default.
Change Precision = 2. This lets you display near-zero values in the Properties window as 0.
You can see that XSize is now rounded off to cleanly display 1mm. The decimal part of ZSize
also shows cleaner value, but it is not rounded off to zero.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
You can still see the full precision values in tooltips by holding a cursor over the displayed value.
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:
If you set the Maximum Number of Significant Digits to a lower value, Change Precision = 2.
You can see that XSize is now rounded off to cleanly display 1mm. The decimal part of ZSize
also shows cleaner value, but it is not rounded off to zero.
The tooltip functions to show internal digits in throughout the Ansys Electronics Desktop
interface.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Select a Color Scheme. The choices are Light (Beta), Dark (Beta), or Classic: See Choosing
a Color Scheme for more information and samples of each scheme.
Select Show welcome message at startup if you want to see a welcome message when
Electronics Desktop opens.
Enable legacy view navigation enables you to choose between two schemes for view
navigation keyboard shortcuts and mouse button assignments, as follows:
l Cleared: Use only the view navigation mouse-button and hotkey assignments introduced
in Ansys Electronics Desktop version 2024 R1 and applicable to subsequent versions.
Legacy (2023 R2 and earlier) mouse-button and hotkey assignments will not be
recognized when this option is cleared.
l Selected: Both the legacy (2023 R2 and earlier) and current (2024 R1 and newer)
mouse-button and hotkey assignments are supported, and either can be used for view
navigation.
See Choosing the View Navigation Options for more information, including a detailed
comparison of the two schemes.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Use the [...] buttons to browse to paths and click OK. You will need to select Override to change
the Temp directory.
Note:
Your changes will be reflected in the User Defined Primitives menu on next startup.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
These options are set on the Desktop Performance panel under General in the Options
window.
In the Report Update Options for Design Type area, select a Design Type. For each type,
you can set the following options:
l Update Reports on File Open – when selected, reports are automatically updated
whenever an existing file with solution data is opened for viewing/editing.
l Dynamically Update Postprocessing Data During Edits – when selected, report plots
and overlays update as you edit their parameters.
l Dynamically Update Postprocessing Data for New Solutions – Because updating
reports during analysis can impact solution time, you can specify how often your reports
are updated:
l After Each Variation – updates reports after analysis of each variation has been
completed. Used for an Optimetric or parametric analysis.
l Automatically – balances report and field plot updating with solution time.
For Adaptive Passes, plots update at the end of each solution pass. For Last Adaptive
or Transient, plots update at the end of the transient or adaptive solution. For example,
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
reports may be updated after each adaptive pass but field plots will not be updated until
the solution is complete.
l Immediately – updates reports and plots as soon as data comes from the solver.
This option will have the greatest impact on overall solution time, but affords the fastest
updates to 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
mesh size increases.
l Never – updates reports only upon manual intervention. This prevents updates from
impacting solution time.
l On Completion – updates reports once, when the solution completes.
Note:
Updates done on completion are done after the solve has been completed,
and the time for that update is not included in the simulation profile.
In the Animation area, you can elect to Stop computing animation frames when available
memory is less than a specified value, in MB (the default is 100MB). This setting is used to
prevent problems related to low memory should an animation require large memory allocation.
In the Desktop Pre/Post Processing area, you can specify the Number of Processors. This
option only affects pre- and post-processing (not solve or simulation). Pre-processing algorithms
can take advantage of multiple processors for visualization and faceting of 3D models, model
validation for 3D products, auto net identification for Q3D, and more. The default value is
determined by the number of logical processors on the machine running Electronics Desktop:
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
l local hpc set to 4 cores
l processors for pre/post set to 12
Example 2:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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 also elect to Warn when available disk space is less than a specified value, in GB.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note:
If any of the remote machines is Linux-based, you must specify the current user.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Disable Access By Remote Machines – If desired, select to disable access for remote
machines.
When multiple IP addresses are available, the Desktop-Engine Connection area allows you to
specify the preferred IP address for communication:
l Use Default – your system's default IP address.
l Specified Address – an IP address you specify.
l Specified Subnet – a subnet you specify. Subnet may be network prefix and prefix length
(123.12.123.0/22), network prefix and subnet mask (123.12.123.0/255.255.252.0), or
network prefix only (123.23.123.0).
To change the listening port used by the RSM Service, you must change the
ansoftrsmservice.cfg file, as follows:
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.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
You can elect to Use extractor mode by default for separate dynamic link desktops, or to
Run affected property callbacks when variable changes value.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The 2D Extractor options expand. The 2D Extractor General options display by default.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Generate model history when importing legacy 2D projects (.ds) – when enabled,
Electronics Desktop generates a model history for legacy projects.
In 2D Extractor Post Processing options, select a Default matrix sort order of either
Ascending alphanumeric or User specified (default to creation order).
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The Q3D options expand. The Q3D Extractor General options display by default.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
In Q3D Extractor Boundary Assignment options, you can set the following:
l Duplicate conductors/mesh operations with geometry – when enabled, conductors
are copied along with the geometry.
l Visualize Net Geometries – when enabled, net geometries are visible.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
In Q3D Extractor Post Processing options, select a Default matrix sort order of either
Ascending alphanumeric or User specified (default to creation order).
The Options window opens with the Desktop Configuration options selected by default.
In the left pane, select the entries below General to display the associated options:
l Drawing
l Operation
l Snap
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Display
l Group
l SpaceClaim Link
l Discovery Link
l Advanced
2. Click each entry and make the desired selections.
3. Click OK to apply your preferences.
In the Drawing Data Entry Mode area, select Point to draw new objects directly via the mouse,
or select Dialog to prompt a Properties dialog box that allows you to enter object dimensions.
Dialog mode works with the equation-based line and all two- and three-dimensional objects.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
In the Relative Coordinate System Creation Mode area, select Axis/Position or Euler
angle. This determines how the relative coordinate system is created from the
Modeler > Coordinate System > Create > Relative CS menu. When Axis/Position is
selected, relative coordinate systems are created in Draw mode. When Euler angle is selected,
they are created from values entered in a dialog box.
In the Polyline Creation area, enable or disable Automatically cover closed polylines. When
enabled, polylines become sheet objects and are listed as such in the History tree. When
deselected, closed polylines are left as uncovered objects and listed as lines in the History tree.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
In the Clone area, enable or disable options. By default, the modeler deletes tool objects when
performing operations on objects. You may specify that the modeler make a clone (copy) of the
tool object before these operations:
l Clone tool objects before uniting
l Clone tool objects before subtracting
l Clone tool objects before intersecting
l Clone tool objects before imprinting
l Clone tool objects before projecting
In the Coordinate System area, decide whether or not to Automatically switch to face
coordinate system.
By default, the modeler operates within the user-selected coordinate system. If this option is
enabled, when you select a face and create a new object, the modeler first creates a face
coordinate system consistent with the selected face and the new object is created within the face
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
coordinate system. When this option is disabled, you must manually create a Face Coordinate
System before creating an object related to it.
In the Model Save area, you can enable/disable being prompted for model history cleanup. You
can also specify the number of actions on a part that will cause a prompt. The default value is 50.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
In the Snap Mode area, select the points you would like the cursor to snap to:
l Grid
l Vertex
l Edge Center
l Face Center
l Quadrant
l Arc Center
Use the Mouse Sensitivity option to select how many pixels you must move the mouse before a
different snap point is selected. Values between 1 and 20 are accepted, with 1 being the most
sensitive and 20 being the least sensitive. The default is 3.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Hover over each icon for a tooltip indicating its equivalent menu option.
Important:
In general, you should select at least one of the snap options . If none is selected, the
software is in "free mode" and selects whatever point you click, regardless of its
coordinates. This can cause problems creating closed objects because the point you
select may appear to be the vertex point of an open object, but may not be the exact
coordinates.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
In the left pane, select the entries below Display to display the associated options:
l General
l Rendering
l History Tree
Under Display Options, General options allow you to change how objects are selected and how
their history is visualized.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Visualized history:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note:
You must restart Electronics Desktop for this option to take effect.
You can also Display UV isolines for wireframe display. For models with curved faces, you
may prefer to clear this option to simplify the wire-frame display and speed up rendering.
Under Display Options, Rendering options allow you to change rendering and object
appearance defaults.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
In the Object Outline area, select or clear Show object outline. If you elect to show the object
outline, use the slider to determine the outline thickness. Value must be between 0 and 1.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Under Display Options, History Tree options allow you to change the history tree display and
selection response.
In the History Tree Layout area, change the organization of the history tree as desired:
l Organize objects by material
l Organize components by definition
l Organize faceted objects separately
l Also organize within groups
l Also organize within components
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
In the Create group for operation result area, select or clear the following actions:
l Simplify
l Duplicate
l Separate bodies
l Create object from edge
l Create object from face
When any selected action is performed, a group will be created in the History Tree.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
To specify SpaceClaim link settings, select or clear the following check boxes in the
SpaceClaim Link section:
l Import Solid Bodies – Enabled by default.
l Import Surface Bodies – Enabled by default.
l Import Parameters – Enabled by default.
l Parameter Key – A string used to filter out parameters. By default no string is entered and
all SpaceClaim parameters are imported.
l Import Rendering Attributes – Imports the color of objects. Enabled by default.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Import Material Assignments – Enabled by default. Note that this imports material
assignments by not material properties. A material with exact name must already exist,
otherwise, validation issues a violation.
l Import suppressed for physics objects – By default, this is deselected and objects
suppressed for physics are not imported. To enable, select Import suppressed for
physics objects, and refresh the SpaceClaim link. Suppressed objects are imported as
non-model objects. Once imported, you can change them to model objects, if desired.
To specify Discovery link settings, select or clear the following check boxes in the Discovery
Link section:
l Import Solid Bodies – Enabled by default.
l Import Surface Bodies – Enabled by default.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
In the Faceting area, select Incremental faceting or Facet bodies face by face using
multiple processors. Face by face will be slower.
In the UDM/UDP Geometry Computation for Optimetrics Analysis area, select whether
Engine or Desktop computes the geometry.
In the Geometry Kernel Options, enable Preserve operations history while opening
legacy projects to preserve operations history while opening legacy projects that used the
ACIS kernel. When opening legacy projects, the conversion is a one-time event. A renamed
copy of the original file is preserved. The default is to preserve operations history. If the option is
disabled, the operations history is purged. The option to purge history is available because:
l Some operations cannot be replayed in Parasolid.
l Purging provides backup to translate geometry.
l Parameterization is lost.
l Expect a better conversion success rate with purged models.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Set the Maximum number of significant digits to be displayed when showing numerical
quantities. The value must be between 0 and 20.
In the Drag and Drop area, select how Electronics Desktop behaves when you drag reports and
traces. You can either Drag item data or Drag item definition.
In the Quantity Selection Dialog area, select a Display tree for matrix quantities when size
of matrix is greater than value. When the number of matrix elements is larger than the
selected 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. This is useful when dealing with large matrices.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
From the Mesh Plot options, you can set the Clipping of volume mesh plot. When dragging a
clip plane, the plot can update automatically. Select Never to disable this feature, Always to
enable it at all times, or set a maximum number of mesh elements for automatic update. This
option allows you to update plots for smaller meshes but avoid automatically updating larger
plots that may consume too much memory. See: Using Clip Planes.
From the Streamline Plot options, set Streamline drawing stopping criteria and Streamline
marker spacing.
From the Options dialog box, the following options are set in Reporter > Report 2D > Curve:
l Line Style – use the drop-down menu to select from: Solid, Dot, ShortDash,
DotShortDash, Dash, DotDash, DotDot, DotDotDash, and Long Dash.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Color – double-click a color box to display the Color dialog box. 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 – select the check box to use arrows on curve ends.
l Show Symbol – select 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 – use the drop-down menu to select a symbol from: Box, Circle, Vertical
Ellipse, Horizontal Ellipse, Vertical Up Triangle, Vertical Down Triangle, Horizontal Left
Triangle, and Horizontal Right Triangle.
l Fill Sym – select the check box to set the symbol display as solid. Otherwise it will display
as hollow.
l Sym Color – double-click a color box to display the Color dialog box. Select a default or
custom color and click OK.
From the Options dialog box, the following options are set in Reporter > Report 2D > Axis:
l Axis Name – this describes the axis to which a row's settings apply. You cannot change
this field.
l Color – double-click a color box to display the Color dialog box. Select a default or
custom color and click OK.
l Font Color – double-click a color box to display the Color dialog box. Select a default or
custom color and click OK.
l Edit Font – click Edit Font to open the Font dialog box, where you can select a font, font
style (for example, italic), and font size. Then click OK.
l Min Gutter % – sets the amount of empty space (gutter) around the axis.
l Font Description – describes the settings applied from the Font window. You cannot
change this field. To change the font, use Edit Font.
From the Options dialog box, the following options are set in Reporter > Report 2D > Grid:
l Grid Name – this describes the grid to which a row's settings apply. You cannot change
this field.
l Line Style – use the drop-down menu to select from: Solid, Dot, ShortDash,
DotShortDash, Dash, DotDash, DotDot, DotDotDash, and Long Dash.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Line Color – double-click a color box to display the Color dialog box. Select a default or
custom color and click OK.
Header settings change how headers are displayed in reports. You can separately style the Title
and Subtitle.
From the Options dialog box, the following options are set in Reporter > Report 2D > Header:
l Color – click a color box to display the Color dialog box. Select a default or custom color
and click OK.
l Font – click Edit Title Font or Edit Subtitle Font to open the Font dialog box, where you
can select a font, font style (for example, italic), and font size. Then click OK.
l Company Name – Enter a company name to appear on all reports.
From the Options dialog box, the following options are set in Reporter > Report 2D > Note:
l Note Color – click the color box to display the Color dialog box. Select a default or
custom color and click OK.
l Note Font – click Edit Note Font to open the Font dialog box, where you can select a
font, font style (for example, italic), and font size. Then click OK.
l Background Color – click the color box to display the Color dialog box. Select a default
or custom color and click OK.
l Background Visibility – select the check box to make the background color visible.
Deselect to make it transparent.
l Border Line Color – click the color box to display the Color dialog box. Select a default
or custom color and click OK.
l Border Visibility – select the check box make the note border visible. Deselect to make it
transparent.
l Border Line Width – set the line width by editing the real value in the text field.
From the Options dialog box, the following options are set in Reporter > Report 2D > Legend:
l Legend Name – Default is no name. When non-empty, a header row for the Legend in
plot shows up with that string.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Show Trace Name – select the check box to show the trace name; deselect it to hide the
trace name.
l Show Solution Name – select the check box to show the solution name; deselect it to
hide the solution name.
l Show Variation Key – select the check box to show the variation key; deselect it to hide
the variation key.
l Highlight Curve on Hover – select the check box to highlight a curve when you hover
the cursor over it; deselect it to leave the curve as-is when you hover the cursor.
l Text Color – click the color box to display the Color dialog box. Select a default or custom
color and click OK.
l Text Font – click Edit Text Font to open the Font dialog box, where you can select a
font, font style (for example, italic), and font size. Then click OK.
l Background Color – click the color box to display the Color dialog box. Select a default
or custom color and click OK.
l Border Line Color – click the color box to display the Color dialog box. 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 – click the color box to display the Color dialog box. Select a default or custom
color and click OK.
You can set different Text Color and Text Font settings for the Header Row.
From the Options dialog box, the following options are set in Reporter > Report 2D > Marker:
l Marker Color – click the color box to display the Color dialog box. Select a default or
custom color and click OK.
l Marker Font – click Edit Marker Font to open the Font dialog box, where you can select
a font, font style (for example, italic), and font size. Then click OK.
l Arrow Direction – use the drop-down menu to set the arrow direction to Up, Down, Left,
or Right.
Marker Table settings change how marker tables are displayed in reports.
From the Options dialog box, the following options are set in Reporter > Report 2D
> Marker Table:
l Text Color – click the color box to display the Color dialog box. Select a default or custom
color and click OK.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Text Font – click Edit Text Font to open the Font dialog box, where you can select a
font, font style (for example, italic), and font size. Then click OK.
l Background Color – click the color box to display the Color dialog box. Select a default
or custom color and click OK.
l Border Line Color – click the color box to display the Color dialog box. 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 – click the color box to display the Color dialog box. 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.
You can set a different Text Color and Text Font for the header row.
X-Y Marker settings change how X-Y markers are displayed in reports.
From the Options dialog box, the following options are set in Reporter > Report 2D > X-Y
Markers:
Background Colors
l Marker [#] Color – click the color box to display the Color dialog box. Select a default or
custom color and click OK.
Properties
l On-screen intersection – select the check box to enable on-screen intersection;
deselect to disable.
l Marker Font – click Edit Marker Font to open the Font dialog box, where you can select
a font, font style (for example, italic), and font size. Then click OK.
l Text Color – click the color box to display the Color dialog box. Select a default or custom
color and click OK.
l Line Color – click the color box to display the Color dialog box. Select a default or custom
color and click OK.
l Line Style – use the drop-down menu to select from: Solid, Dot, ShortDash,
DotShortDash, Dash, DotDash, DotDot, DotDotDash, and Long Dash.
l Line Width – edit the text field to specify a line width.
l Show Name – select the check box to show X-Y marker names; deselect to hide.
l Snap to Vertex – select the check box to snap markers to the vertex; deselect to disable
snapping.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Show Delta – select the check box to show inter-marker deltas; deselect to hide.
l Delta Font – click Edit Delta Font to open the Font dialog box, where you can select a
font, font style (for example, italic), and font size. Then click OK.
l Delta Text Color – click the color box to display the Color dialog box. Select a default or
custom color and click OK.
l Line Color – click the color box to display the Color dialog box. Select a default or custom
color and click OK.
l Line Style – use the drop-down menu to select from: Solid, Dot, ShortDash,
DotShortDash, Dash, DotDash, DotDot, DotDotDash, and Long Dash.
l Line Width – edit the text field to specify a line width.
From the Options dialog box, the following options are set in Reporter > Report 2D > Stacked:
l Auto Fit Mode – select the check box to enable auto fit; deselect to turn off autofit.
l Stack Height in Pixels – set the default stack height.
l Curve Grouping Strategy – can be Single, By Trace, or By Units. Single means that a
new stacked plot shows a single curve per stack. By Trace means that all curves are
grouped by their trace. By Units means that all curves are grouped by their unit type.
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.
Digital settings change how digital stack heights are displayed in reports.
From the Options dialog box, the following options are set in Reporter > Report 2D > Digital:
l Digital Literal Foreground – click the color box to display the Color dialog box. Select a
default or custom color and click OK.
l Expand Arrays/Records – select the check box to automatically expand arrays and
records; deselect it to disable.
l Digital Stack Height in Pixels – enter the stack height for Analog, Digital, Enum, Event,
and Literal stacks.
From the Options dialog box, the following options are set in Reporter > Report 2D > General:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Background Color – click the color box to display the Color dialog box. Select a default
or custom color and click OK.
l Plot Area Color – click the color box to display the Color dialog box. Select a default or
custom color and click OK.
l Highlight Color – click the color box to display the Color dialog box. Select a default or
custom color and click OK.
l Accumulate Depth – enter a value; the default is 4.
l Enable Y Axis Stripes – select the check box to add stripes to the Y axis; deselect to
remove stripes.
l Auto Scale Fonts -on by default and when enabled scales text in plots and colorkey
(contour plot, field plots in 3D modeler) for high resolution screens.
Curve Tooltip
l Show Trace Name – select the check box to display trace names in the tooltip when
hovering the cursor over a curve.
l Show Variation Key – select the check box to display the variation key in the tooltip when
hovering the cursor over a curve.
l Show Solution Name – select the check box to display the solution name in the tooltip
when hovering the cursor over a curve.
Clipboard Option
Format
From the Options dialog box, the following options are set in Reporter > Report 2D > Table:
l Rows Per Page – enter the number of rows you would like to display per page; the default
is 2500.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Text Color – click the color box to display the Color dialog box. Select a default or custom
color and click OK.
l Text Font – click Edit Font to open the Font dialog box, where you can select a font, font
style (for example, italic), and font size. Then click OK.
l Border Width – enter a value for the border width.
l Border Color – click the color box to display the Color dialog box. Select a default or
custom color and click OK.
l Grid Width – enter a value for the grid width.
l Grid Color – click the color box to display the Color dialog box. Select a default or custom
color and click OK.
l Background Color – click the color box to display the Color dialog box. Select a default
or custom color and click OK.
l Page Link Color – click the color box to display the Color dialog box. Select a default or
custom color and click OK.
l Arrow Color – click the color box to display the Color dialog box. Select a default or
custom color and click OK.
Header Row
l Text Color – click the color box to display the Color dialog box. Select a default or custom
color and click OK.
l Text Font – click Edit Font to open the Font dialog box, where you can select a font, font
style (for example, italic), and font size. Then click OK.
l Background Color – click the color box to display the Color dialog box. Select a default
or custom color and click OK.
Format
Copy to Clipboard
l With Header – select to include header when copying the table to a clipboard; deselect to
remove it.
l With Tab Separator – select to include tab separator when copying the table to a
clipboard; deselect to remove it.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
You can also access HPC and Analysis Options using the HPC Options icon on the
Simulation ribbon.
The HPC and Analysis Options window appears, displaying the Configurations tab.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Configurations Tab
Available Configurations are described by Name, whether or not they are Active, and
the Total Tasks the configuration can execute.Selecting a configuration from the list displays
the details of that configuration in the Configuration Details panel.
From the Configurations tab, select the Design Type to display a list of available
configurations for that type.
Configurations must be defined for all design types separately. To use similar analysis
parameters for different design types, create separate analysis configurations for each design
type. The active configuration is used when solving an analysis for that design type.
To activate a configuration, select it from the Available Configurations list and click Make
Active. The active configuration will be indicated by a YES in the Active column.
l Copy – creates a new analysis configuration, and launches a dialog box to edit it. If the
dialog box is canceled, the new analysis configuration is not created.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Export – allows you to export the selected analysis configurations to an *.acf file. You can
then import the configurations into a different design type, or import them on a different
machine.
Options Tab
The Options tab in the HPC and Analysis Options dialog box contains general and product-
specific settings.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Important:
Available options vary by design type. Certain items discussed on this page may not be
visible, depending on the currently selected design type.
These options are not specified for, or saved as part of, the current analysis configuration.
Instead, they are global and are always in effect for the given design type when both of the
following conditions are true:
l A design of the matching design type is being solved.
l You have not specified corresponding overriding batch options on the command line.
Note:
Solving with Intel MPI on a single Windows machine does not require MPI installation,
but registration of the user's password with Intel MPI on the host is required if using
password authentication. Solving with Microsoft MPI on a single Windows machine
requires Microsoft MPI to be installed and the MS-MPI Launch Service to be started.
These steps are not required for Microsoft MPI analysis on a Windows HPC cluster.
Solving with Microsoft MPI on multiple Windows hosts is only supported on a Windows
HPC cluster.
HPC licensing enables the use of cores and GPUs to accelerate simulations. In general, each
core requires one unit of HPC, while each GPU requires eight units. The selected HPC license
type determines which license is used, and how units of HPC are converted to license counts.
l Workgroup (formerly "pool") – One HPC workgroup license enables one unit of HPC.
l Pack – One HPC pack license enables eight units of HPC. Additional packs multiply by
four, enabling 32, 128, 512,... , in the context of a single simulation.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Electronics Desktop products include four units of HPC for each licensed simulation. This means
that up to four units can be used without requiring HPC licenses; license counting begins with
the fifth unit. For example, a simulation that uses 36 cores requires 32 HPC units after
subtracting the four included cores. This simulation will check out 32 HPC workgroup licenses,
or two HPC pack licenses.
HPC licenses enable all parallel and distributed simulations, including distributed variations.
Distributed variations require a single set of solver licenses, plus HPC to enable the variations.
For HPC Workgroup, distributing N variations requires 8*(N–1) workgroup licenses and,
together with the solver licenses, enables up to four HPC units per variation. Each additional set
of N workgroup licenses will enable one additional HPC unit per variation. For HPC Pack,
distributing N variations requires N–1 pack licenses and, together with the solver licenses,
enables up to four HPC units per variation. Each additional set of N pack licenses will enable 8,
32, 128,... additional HPC units per variation.
Ansys licensing supports distributed simulations when Electronics Desktop is called from other
Ansys tools, such as optiSLang and Workbench. In such cases, distributed design points
(variations) generally use HPC counts as described above.
Note:
Licensing for some calling products may include some distributed design points, in
which case the total required HPC will be reduced.
If the Queue all simulations check box is selected, the Desktop queues any active simulations
for design types that have Save before solving turned off in the General Options and then
processes them in order. You can view and change the queue by using Show Queued
Simulations.
To configure options:
1. Under Distributed Memory, for solvers that use MPI (HFSS, HFSS 3D Layout, Icepack,
Maxwell and Q3D) use the drop-down menu to select the MPI Vendor for the selected
design type.
Ansys Electromagnetics Suite 2024 R1 - © 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 is available
rather than the shared memory available on any single machine. This allows you to
simulate larger structures 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 a
supported third party vendor on all the machines you intend to use.
Depending on the MPI vendor, you may need to set passwords 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.
You can specify the MPI version. If not specified, the default version for the MPI vendor
will be used. This setting is ignored if there is only one supported version for the selected
MPI Vendor. Multiple versions are only supported for Intel MPI, as follows:
l The value "Default" indicates that the default Intel MPI version should be used. This is
Intel MPI 2018 in most cases.
l The value "2018" indicates that Intel MPI 2018 should be used.
l The value "2021" indicates that Intel MPI 2021 should be used.
By default, 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.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
2. For Linux authentication, specify the Remote Spawn command as RSH or SSH (the
default).
3. Optionally, you can select one of the following from the Default Process Priority drop-
down menu:
l Critical (highest) (Not recommended)
l Above Normal (Not recommended)
l Normal (Default)
l Below Normal
l Idle (lowest)
SSH
You will need to set up passwordless access to use Q3D Extractor on a Linux cluster with SSH
or RSH. In general, for SSH, this is accomplished by:
1. Verifying that you have working SSH servers and clients on your machines.
2. Verifying 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. Copying 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. Testing the connection. Log in 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 log in
without requesting a password.
Consult the documentation for your machines and network for detailed instructions.
RSH
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
If you choose to use RSH, you will need to make sure RSH is installed on all the machines and
set up the machines so that you are not prompted for a password. There are different ways to set
up passwordless RSH, so be sure to consult 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:
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. Consult your local documentation
for detailed instructions and troubleshooting suggestions.
Scheduler
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, SGE or
SLURM scheduler, and only if the MPI Vendor is "Intel".
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, SGE or
SLURM scheduler, and only if the MPI Vendor is "Intel". To specify the value 'Scheduler' for this
option for a 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 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 box.
When submitting a job using the Ansys Electromagnetics job submission GUI, the MPI Version
may be specified using the batchoption with pathname DesignType/MPIVersion, where
DesignType is the type of design to analyze (e.g. HFSS). It allows selection of which Intel MPI
version to use, for both Windows and Linux. Valid values are "Default", "2018", and "2021".
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
For interactive solves, the MPI version may be specified with the batchoption in the command
line used to launch the product, or as a design type option in the HPC and Analysis Options
dialog box.
In the list above, settings at any level override settings at lower levels . If there is no setting in any
file, the application default value is used. See UpdateRegistry for instructions on selecting these
levels.
Important:
Options set from the Desktop UI override and update user settings in configuration
files. Otherwise, the existing configuration file settings are used.
Behavior Examples
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 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 are 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 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 are used, if present.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Config Level
File Name Windows Directory Path Linux Directory Path
File Name
host- <
user_
dependent hostname
machin %UserProfile%\Documents\A
user >_ $HOME/Ansoft
e nsoft
options user.XML /<
\<
host- ApplicationName&Ver
ApplicationName&Version
independe sion>/config
user user.XML >\config
nt user
options
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Config Level
File Name Windows Directory Path Linux Directory Path
File Name
host-
install_ <
dependent < <
machin hostname
default InstallationDirectory InstallationDirectory
e >.XML
options >\v<version> >/v<version>
installation default.X \Win64\config /Linux64/config
install
default ML
Note:
l <hostname> is the name of the computer on which the Electronics Desktop
software is installed
l $HOME is the user's home directory on Linux
l <ApplicationName&Version> is the product name (without spaces) followed
by the four-digit year of the version, a decimal point, and the minor release
number (such as ElectronicsDesktop2024.1)
l %UserProfile% is a Windows variable that represents the currently active user's
profile (for example, C:\Users\JohnDoe)
l <InstallationDirectory> is the root folder where the Electronics Desktop
software is installed (typically, C:\Program Files\AnsysEM, on Windows, or
/opt/AnsysEM, on Linux)
l <Version> is the last two digits of the product version's year followed by the
minor release number, without a decimal point (such as 221)
The following table shows an example of specific file names and directory names for a typical
Ansys Electronics Desktop installation on Microsoft Windows and on Linux. These are the files
that apply to software version 2022 R1, user "jsmith," and hostname "host123":
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note:
As with the temporary file location configuration files, the settings in these options files
have precedence in the following sequence: user_machine (highest precedence),
user, install_machine, install (lowest precedence). The first time you start and then exit
the application, the file at the "user_machine" level is created (<hostname>_
user.XML). The other files are only created if you use the UpdateRegistry tool to
specify an option at the "user," "install_machine," or "install" level. If the temporary
directory is set to an empty string in a configuration file, then that setting is ignored.
The UpdateRegistry command has multiple command line formats, as shown below.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note:
Functionality featured in the example(s) in this section applies to multiple design types.
The file format is similar to the -batchoptions file format. An example UpdateRegistry file is
shown below:
$begin 'AddEntries'
'TempDirectory'='C:/temp/AnsysEM'
'Desktop/Settings/ProjectOptions/HPCLicenseType'='Pool'
$end 'AddEntries'
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.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Analysis Configuration File format, which is exported from the HPC and Analysis Options
dialog box.
Note:
If a current registry does not exist, 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 allowing you
to port the registry from an earlier version.
Note:
Functionality featured in the examples in this topic apply to multiple design types.
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.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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 computer.
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 does not know the
exact key name, the following command may list some of the keys related to disk space:
UpdateRegistry -GetKeys disk -ProductName ElectronicsDesktop2024.1
This will display a list of all keys that match the string "disk" case insensitively.
The normal default for the Options/General/Desktop Performance/Warn when available disk
space is less than setting is 0 MB. If the administrator is concerned that running out of disk space
might be a common problem, the administrator could set the installation default for the warn
setting setting to 1000 MB, for example. This limit would then apply to all users running on all
hosts. The administrator could use the following command to change this setting for Ansys
Electronics Desktop:
UpdateRegistry -Set -ProductName ANSYSElectronicsDesktop2024.1
-RegistryKey Desktop/Settings/ProjectOptions/DiskLimitForAbort
-RegistryValue 1000
-RegistryLevel install
For this example, assume that all hosts have two cores, except for three hosts: bighost1,
bighost2, and bighost3, which have eight cores each. The administrator has set the
Desktop/Settings/ProjectOptions/NumberOfProcessors option value to 2 in the installation
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
To make this change for the other two hosts, the administrator would log in to bighost2 and
bighost3, and run the same command on each of those hosts.
Consider the case in which Electronics Desktop 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 Electronics Desktop 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 ElectronicsDesktop2024.1
-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 ElectronicsDesktop2024.1
-RegistryKey Desktop/Settings/ProjectOptions/DiskLimitForAbort
-RegistryLevel user
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note:
Functionality featured in the example(s) in this section applies to multiple design types.
When you change an options value using the Desktop UI, the new value is stored in the host-
dependent user options config file. You can use the UpdateRegistry tool to add or modify
settings in the host-dependent user options config file; however, you cannot use the Desktop UI
to remove settings from the host-dependent user options config file. You must use the
UpdateRegistry tool to remove settings from the host-dependent user options config file.
If a user has not explicitly created a host-dependent user options config file or a host-
independent user options config file, when they first run 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.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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).
For this example, user jsmith always uses host jshost to run Ansys Electronics Desktop. At some
point, jsmith set the Autosave interval in General Options > 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 ElectronicsDesktop2024.1
-RegistryKey Desktop/Settings/ProjectOptions/AutoSaveInterval
-RegistryLevel user_machine
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 before making the change:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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 ElectronicsDesktop2024.1 -
RegistryKey Desktop/Settings/ProjectOptions/DiskLimitForAbort
Navigate to Tools > Options > General Options. In the tree at the left side of the dialog
box, expand the General branch and select Directories. Then, use the Temp field and
Override check box to enter a desired directory path. Values set in this manner are written to
the user_machine level configuration file for the temporary directory. If the Override check
box is cleared, clicking OK changes the user_machine level setting for the temporary
directory to an empty string. This enables settings from the next highest precedence
configuration file. The file that provides the currently active temporary directory setting is
shown under the Temp edit box.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
To set the temporary directory from the command line, using the -batchoptions command line
option. See: Running Ansys Electronics Desktop from a Command Line and -Batchoptions
Command Line Examples.
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. 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 temporary
directory settings.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note:
l <hostname> is the name of the computer on which the Electronics Desktop
software is installed
l $HOME is the user's home directory on Linux
l <ApplicationName&Version> is the product name (without spaces) followed
by the four-digit year of the version, a decimal point, and the minor release
number (such as ElectronicsDesktop2024.1)
l %UserProfile% is a Windows variable that represents the currently active user's
profile (for example, C:\Users\JohnDoe)
l <InstallationDirectory> is the root folder where the Electronics Desktop
software is installed (typically, C:\Program Files\AnsysEM, on Windows, or
/opt/AnsysEM, on Linux)
l <Version> is the last two digits of the product version's year followed by the
minor release number, without a decimal point (such as 221)
As with 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 creates the file at the "install" level (default.cfg). The first
time you start and then exit the application, the file at the "user_machine" level is
created (<hostname>.cfg). The other files are only created if you use the
UpdateRegistry tool to specify an option at the "user" or "install_machine" level. If the
temporary directory is set to an empty string in a configuration file, then that setting is
ignored.
This section describes the format of 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 them.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Important:
l The string containing the pathname of the temporary directory must be enclosed
in single quotes.
l The forward slash (/) may be used as a directory separator on Windows and
Linux. The backslash (\) may be used as a directory separator on Windows only.
l The backslash (\) is used as an escape character in the tempdirectory string.
That it, this character removes the special meaning of the following character.
l The single quote character normally ends the tempdirectory string. The
backslash may be used to remove this special meaning, and include a single
quote in the string.
l To use a backslash as a directory separator on Windows, it must be escaped.
That is, a double backslash "\\" is used to denote a single directory separator.
l On Windows, a UNC path normally begins with two backslash characters. In a
tempdirectory string, each of these backslash characters must be doubled, so
four consecutive backslashes "\\\\" are used in the config file.
Here, hostxyz is a host with a sharename TEMP having subdirectory abc used as the
temporarydirectory. This shows that four backslashes are required for UNC names and that
backslashes used as directory separators must be doubled.
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.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The -Get, -Set, and -Delete options are valid for viewing, adding, changing, or deleting a
temporary directory setting.
The -GetKeys option does not list the temporary directory key.
Important:
The two approaches may not be combined: either all batchoptions must be in a file or
all batchoptions must be specified explicitly on the command line.
Note:
Functionality featured in the example in this section applies to multiple design types.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note:
Functionality featured in the examples in this section applies to multiple design types.
In this example, we run a batch HFSS analysis of project file project1.aedt. We want all
temporary files and directories to be created in C:\temp\HFSS instead of using the default
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 four
processors for 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.aedt is located in a shared directory specified using a UNC path:
ansysedt -BatchSolve -Remote -Machinelist list=12.34.56.78
-batchoptions "'TempDirectory'='C:/temp/HFSS'
'Desktop/Settings/ProjectOptions/NumberofProcessors'=4"
\\somehost\projects\project1.aedt
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.
ansysedt -BatchSolve -Distributed -Machinelist list=12.34.56.78
-batchoptions "'TempDirectory'='C:\\temp\\HFSS'
'Desktop/Settings/ProjectOptions/NumberofProcessors'=4"
\\somehost\projects\project1.aedt
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The second line of the first example shows that you can use the forward slash "/" as a Windows
directory separator within option value 'strings'. In this case, it is used in the TempDirectory path.
You can also use the customary backslash "\" as a Windows directory separator, but it must be
doubled to "\\" because the backslash is also an escape character within parameter strings. This
usage is demonstrated in the second line of the second example, again in the TempDirectory
path.
Note:
Functionality featured in the example(s) in this section applies to multiple design types.
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 (HFSS/NumCoresPerDistributedTask) and non-distributed
(Desktop/Settings/ProjectOptions/NumberOfProcessors) parts of the job. The analysis contains
a sweep that will be distributed across three hosts: ahmed, bill, and catherine. The hosts ahmed
and bill have four cores each, so we run two distributed COM engines on each of these hosts,
each using two threads. Host catherine 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
RAMLimitPercent of 75 for this analysis.
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:
ansysedt -BatchSolve -Distributed
-Machinelist list=ahmed,ahmed,bill,bill,catherine
-batchoptions "’Hfss/RAMLimitPercent’=75
‘Desktop/Settings/ProjectOptions/NumberOfProcessors’
‘Hfss/NumCoresPerDistributedTask’=2"
\\dennis\projects\project1.aedt
Note:
Functionality featured in the example(s) in this section applies to multiple design types.
In this example, we run a batch HFSS analysis of project file project2.aedt. We have four
identical host computers—host1, host2, host3, and host4 for analysis, and each host has 4
cores. We do not use multiprocessing for the distributed analysis, so
NumCoresPerDistributedTask=1. As each host has four cores, we specify multiprocessing using
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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/'RAMLimitPercent'=75
'Desktop/Setings/ProjectOptions/NumberOfProcessors'=4
'HFSS/NumCoresPerDistributedTask'=1"
/home/jsmith/projects/project2.aedt
For this example, the hostnames are in the text file /home/jsmith/hosts/list2. The file contents are
as follows:
host1
host1
host1
host1
host2
host2
host2
host2
host3
host3
host3
host3
host4
host4
host4
host4
Note:
Functionality featured in the example(s) in this section applies to multiple design types.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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 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
A configuration contains information beyond the machine or machines to use for a solution.
Examples are the number of processors to allocate to the analysis for each machine in the list,
memory limits, directory locations for personal libraries and temporary files, and many other
preferences.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note:
l Options are arranged as keys and values (in a structure similar to the Windows
Registry). However, these options are not a part of the Windows Registry but are
separately stored and maintained by the Ansys Electronics Desktop software.
For more information concerning the configuration files comprisisng the options
registry, see the following topics:
General settings are associated with the Desktop application or 3D Editor. "HPCLicenseType"
and "tempdirectory" values are at the root level of the registry. Other options are specific to a
particular product or design type. For example, certain mesh, boundary, and memory limit
settings as well as many other preferences are product-specific and are therefore associated
only with the applicable design types. Such options appear with a consistent value name but in a
different registry path for each applicable design type.
1. Click Tools > Options > HPC and Analysis Options. The HPC and Analysis Options
dialog box appears.
2. On the Configurations tab of the HPC and Analysis Options dialog box, use the
Export… button to export the configuration to a file.
3. 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.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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 box 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. You can create a configuration for one of the other registry levels using the following
steps:
1. Create the configuration using the Analysis Configurations GUI, then export the
configuration to a file.
2. Delete the configuration using the GUI so that it will not be present in the user_machine
level. Then, 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.
Batch Options
There is a large number of both general and product-specific options supported by the software.
These options have evolved over time. Therefore, older batchoptions files may no longer be
valid, and the options listed in the user interface of the current software may differ from earlier
versions you have used. Additionally, there are options beyond those listed within the user
interface (that is, the UI provides a subset of the available options). You can generate a more
complete list of options by running the UpdateRegistry tool with the -GetKeys switch and piping
the output to a text file, as detailed in the following Windows procedure:
<installation_directory>\v<version>\Win64
Substitute the last two digits of the installed product version year and the minor release
number for xx.y (such as 22.1). Also, substitute the desired text_file_path (such as
%UserProfile%\Desktop).
The resulting Batchoptions.txt file will contain a nearly complete list of available options.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note:
For special product-specific options that are neither available from the GUI nor listed by
the UpdateRegistry tool, see Special Batch Options. Even though the -GetKeys switch
does not list these special options, you can still use the UpdateRegistry tool to set
them.
When you submit jobs to a remote computer or cluster, you can specify batch options using the
job submission GUI. When using the GUI, you select the batch options from a list and therefore
avoid typographical errors. For the most commonly used batch options, there is detailed
information about the allowed values. Click Submit on the Simulation ribbon tab to access the
Submit Job To dialog box. Then, click Add to access the Add Batchoption dialog box pictured
below:
To assist users who need to specify batch options and are unable to use the job submission
GUI, a new help option has been added. If the Electronics Desktop application is launched with
the -batchoptionhelp command line argument, a message box is displayed which lists and
describes the most common design type-specific batch options:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Some basic tasks that can be performed on projects and designs include:
l Opening Projects
l Creating Projects
l Saving Projects
l Importing and Exporting Projects and Data
l Setting Project Options
l Validating Projects
l Copying and Pasting Projects and Designs
l Renaming Projects
l Deleting Projects or Designs
l Setting Read Only Designs
Ansys Electromagnetics Suite 2024 R1 - © 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 click the Open icon on the Desktop tab of the ribbon.
By default, only files that can be opened or translated display. *.aedt is the main default,
although, you can also view several types of legacy files. The dropdown for Files of type
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
lists the kinds file and archive formats for which you can select filters.
3. Most of these will be familiar to those seeking them. The Ansys Electronics Desktop
Import file (*.aedti) format is for importing exported projects from ANSYS Discovery, an
ANSYS Workbench tool. This format allows import of side by side *.aedti and the
correponding geometry definition *.sat into the Ansys Electronics Desktop, and creates a
ready-to-solve HFSS project
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
5. Click OK.
If you open another project without editing the automatically created project, the automatically
created project is removed.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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.
In the previous version of Q3D, objects were considered non-model if the Model Object check
box was cleared in the Object Attributes window. If the object was excluded in the legacy
project, it is considered a non-model object in this version.
The following table contains additional notes about the translation of legacy project information.
Ansys Electromagnetics Suite 2024 R1 - © 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 box. Contact Ansys Technical Support for assistance in converting legacy
projects. Opening an Ansys Neutral File project (.anf suffix) begins with a conversion
dialog box. See Importing ANF Design Data. The Planar EM simulator can use ANF
data.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Creating Projects
To create a project, click File > New, or click the New icon on the Desktop tab of the ribbon.
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 plus sign (+) for each level of the hierarchy
in the project or design.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
2. Select the Coordinate System to be used for creating sections in the 3D model.
3. Choose the Section Plane within the chosen coordinate system. You can choose XY, YZ,
or ZX.
4. Click OK to create the 2D design.
The modeler creates a new design within the current project and generates the 2D model
within the new design. All material properties and material assignments are copied to the
new design.
Related Topics
Creating a Cross-Section
Keep the following points in mind before you convert any project:
l A 3D design is created in the same project.
l All 2D geometry is used. You cannot select which geometry to include in the conversion.
l 1D objects are converted from 2D into 3D sheet objects.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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 drop-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 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
3. Select the Source Solution to specify the solution data to be linked to the target design.
4. For Icepak designs, specify Forced Convection or Natural Convection on the Icepak
tab.
l For Forced Convection, specify Flow Speed and Flow Direction.
l For Natural Convection, specify the Gravity Vector Direction.
5. Click OK.
Icepak Designs
The Icepak design is generated based on the source design and selections in the Create Target
Design dialog box:
l Model geometry is created with corresponding material assignments. Vacuum objects are
not created in target Icepak designs.
l Any assigned materials that do not contain thermal properties are assigned default
thermal properties in Icepak.
l The Region (computational domain) is created with the appropriate dimensions.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l An EM loss excitation is assigned to the geometry, and variable mapping and intrinsic
variables are linked to the source design.
l Design settings are specified.
l Solution type: Steady State
l Problem type: Temperature and Flow
l For forced convection simulations, the following are defined:
l A free opening boundary condition with a velocity specified is assigned to the Region
face to create forced flow.
l A free opening boundary condition is assigned to the face of the Region opposite to the
opening with velocity specified.
l In the Icepak Solve Setup dialog box, forced convection Solve Setup Defaults are
defined.
l For natural convection simulations, the following are defined:
l Gravity Vector
l Free opening boundary conditions are assigned to each face of the air Region.
l In the Icepak Solve Setup dialog box, natural convection Solve Setup Defaults are
defined.
Mechanical Designs
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Saving Projects
Use the File > Save As command or select the Desktop tab of the Ribbon and click the Save
As icon to:
l Save a new project.
l Save the active project with a different name or in a different location.
l Save the active project in another file format for use in another program.
Use the File > Save command or select the Desktop tab of the Ribbon and click the Save icon
to save the active project.
Warning:
Be sure to save models periodically. Saving frequently helps prevent the loss of work if
a problem occurs.
Although Ansys Electronics Desktop has an auto-save feature, it may not save
frequently enough for your needs.
Each solver has a Save Before Solving setting located in the Tools > Options window. This
setting is enabled by default.
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 its 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.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Explorer will set the working directory to the directory containing the application when the
application is started.
If win32 long paths are not enabled on the analysis host, then essentially all files are limited to a
maximum absolute pathname length of 259 characters. Directories may be limited to a
maximum absolute pathname length of about 246 characters.
If win32 long paths are enabled on the analysis host, then many files are not subject to the
maximum absolute pathname length limit of 259 characters. Below is a partial list of files that are
still subject to this limit even if win32 Long Paths are enabled:
l Project files
l Project Archive files
l Ansys EDB (Electronics Database) files, typically stored in the ProjectName.aedb
folder
l The temporary directory and most temporary files
Because some temporary files and directories have automatically generated names that
are long, it is best to use a short pathname for the temporary directory.
Important:
Although most temporary files are created within the temporary directory, there
may be some temporary files within the project directory. As a result, the project
file directory pathname should be well below the 259 character limit.
To enable Long Path support on Windows, both of the following requirements must be met:
l Long paths must be enabled on the machine
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
By default, Ansys Electronics Desktop automatically saves project data after every 10 edits. An
edit is any action performed that changes data in the project or the design, including actions
associated with project management, model creation, and solution analysis.
After a problem occurs, you may be able to choose to re-open the original project file in an effort
to recover the solution data, or to open the auto-save file. If the original file is not available,
attempting to open the file provides a message that the auto-save is being used. If neither file is
available, an error message displays.
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 to 10.
Note:
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 Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The Save before solving option forces a full save before running the solve and is enabled by
default. For efficiency reasons, the project is saved only if it has been modified since its last
save.
To change this setting, click Tools > Options to open the Options window. Select the General
tab and use the Save before solving check box to toggle the option.
You can start a new solve while running another without having to abort the running solve. If you
start a solve while another solve is running and the Save before solving option is set, Ansys
Electronics Desktop asks if you want solve without saving first. This lets you perform multiple
solves, and if you have not edited the project in between solves, crash recovery will work.
Following a sudden workstation crash or other unexpected problem, you can recover project
data from its auto-save file.
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.
When you click Modeler > Import, the Import File window appears.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
By default, Validation and Healing options are selected for certain types of files. These types
are:
l ACIS SAB files (*.sab)
l ACIS SAT files (*.sat)
l Ansys 3D Modeler files (*.sm3)
l Autodesk Inventor files (*.ipt, *.iam)
l CATIA V4/V5 files (*.exp, *.model, *.CATpart, *.CATproduct)
l Creo Parametric files (*.prt, *.asm)
l IGES files (*.iges, *.igs)
l NX files (*.prt)
l Parasolid files (*.x_t, and *.x_b)
l SOLIDWORKS Files (*.SLDPRT, *.SLDASM)
l STEP files (*.step, *.stp)
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Selecting Quick validation disables the healing options. Selecting Strict validation allows you to
choose between Auto and Manual healing. Imported objects with only one operation on the
history tree can be healed.
1. Click Open.
2. Set parameters for Tolerant Stitching, Geometry Simplification, and Tighten Gaps.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
You can also set an allowable change in Surface Area and Volume.
4. Click OK to apply the specified healing options and to analyze the model.
You can reopen the Healing Options window at any time by selecting 3D Model > Model
Analysis > Heal.
2D model files can be imported directly into the active Modeler window. GDSII is the industry
standard file format for 2D graphical design layout data.
Note:
l Object, material, and parameter names with non-ASCII characters are not
allowed for data transfer. Such transfers fail and produce an error message.
l 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.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
2. Select a file type from the Files of type drop-down menu. For 2D model files, this is GDSII
Files (*.gds).
3. Use the file browser to find and select the file you want to import.
4. Click Open.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
6. Click OK.
While importing a 2D model (GDSII) file, you can create a mapping of the GDSII layer numbers
to layer names in the design stackup.
1. Use a text editor to create a text file that maps GDSII layer numbers to layer names in the
stackup. The layer mapping file must have a *.tech suffix.
In *.tech format:
l / is the comment character
l Units may be specified with a line UNITS <string> before the lines of layer information.
<string> is any of the allowed desktop length units. The default unit is nm.
l Each layer is specified by a line that contains <import layer> <product layer> <layer
color> <layer elevation> <layer thickness>
where:
l <import layer> is the name of the DXF layer
l <destination layer> is the name to map the DXF layer to
l <layer color> is a string from the choices listed here
l <layer elevation> is specified in nms
l <layer height> is specified in nms
For example:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note:
l Colors listed as two words can also be entered in Pascal case (e.g., GhostWhite
is a valid substitute for ghost white).
l Gray can be spelled using either the American or British spelling (Grey).
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
3D model files can be imported directly into the active 3D Modeler window. Supported 3D model
file formats include:
Windows:
AutoCAD *.dxf, *.dwg
Versions 2.5 (AC1002)
through 2024 (AC1027).
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note:
l Object, material, and parameter names with non-ASCII characters are not
allowed for data transfer. Such transfers fail and produce an error message.
l 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.
2. Select the file type you want from the Files of type drop-down menu.
3. Set any import options available for the selected file type. Options may include:
l Validation and Healing Options – see Healing an Imported Object.
l Import Material Names – use the check box to import material names.
l Import Free Surfaces – for Creo Parametric files, use the check box to import surfaces
as well as parts.
l Stitch Tolerance and Units – for STEP and IGES files, specify stitch tolerance and
units. The default value (auto) comes from Healing options.
l STL Import Options – for STL files for Modal or Terminal solutions, select the
modeling units to which the imported model is scaled and whether to merge faces that
are on the same plane, and whether to Heal on import. Heal attempts to remove
common issues while importing stl files, including closing solids when they are open
due to minor cracks in triangulation and removing self-intersections.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The generic format specification for STL does not include units. When “Auto” is chosen
for the file units, the current Model units are normally used. The exception is for *.stl
files saved from SpaceClaim, for which units have been specified.
Checking Reduce enables fields for specifying Reduce Max Error and Reduce
Percentage.
l Create Groups for Sub Assembly – for formats that allow importing MCAD
Assemblies as groups, use the check box to retain the assembly structure of objects
using groups. For every subassembly in the model, a group is created and it retains
hierarchical information by creating group hierarchy. See: Group Commands for
Modeler Objects.
4. Use the file browser to find and select a file for import.
5. Click Open.
Turning Hoops Exchange Beta Option option ON will cause AEDT to use Hoops
Exchange translators instead of our default translators for translating following formats:
Catia, Creo, Iges, JT, Step, Siemens NX, Solidworks, Autodesk Inventor, ACIS sab/sat
Behavior of the command should be largely be the same with this option turned ON. There
may be slight differences in names (casings, underscores), construction geometry.
Objects that came in without any entity errors with default translators should come in
good. Please try auto heal if entity errors are encountered.
Note:
While objects created in Q3D Extractor can always be classed in the history tree as
either a solid, sheet, or wire some imported objects may have mixture of these. Q3D
Extractor places such objects in an Unclassified folder in the history tree.
You can import AutoCAD versions 2.5 (AC1002) through 2012 (AC1024) on Linux and versions
2.5 (AC1002) through 2017 (AC1027) on Windows. The entities are imported as 2D, not 3D. The
types of entities imported are:
l 2D Polyline
l Polyline
l Line
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Arc
l Circle
l Ellipse
l Solid
l Block
To import a *.dxf or *.dwg model file (which may use an associated *.tech file):
2. Use the file browser to find and select an AutoCAD file for import.
3. Click Open.
The DXF/DWG Import dialog box opens with the Layer Selection tab selected.
The Input Name field shows the name of the layer in the DXF/DWG file. This field is not
editable.
4. Use the Include check boxes to specify which layers to import from the selected file.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
5. If there is an associated *.tech file, click Open to find and select it. A *.tech file is a plain
text file that includes units, layer names, color, elevation, and thickness information. For
example:
units um
6. Click Options.
7. In the Units area, the Specified field displays the layout units in the file for import. Use the
Override drop-down menu to select a different unit of measure.
8. In the Objects area, use the 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.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Self-stitch joins multiple straight line segments to form polylines. If the resulting
polyline is closed, a polygon is created.
o Default Tolerance uses default values to whether two coordinates should be
considered for joining.
o Tolerance allows you to specify a specific value for tolerance. This is useful if
particular features in a model are outside of a normal tolerance allowance.
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 Decimal Place rounds all imported data to the specified number
of decimal points.
l Convert closed wide lines to polygons imports wide polylines as polygons. This
affords more flexibility in changing the shape of such an object.
l Import as 2D sheet bodies causes imported objects to be organized in terms of 2D
sheets.
9. Select either Script or Acis for the import method.
10. Click OK.
Exporting Files
You can export the following types of files from Ansys Electronics Desktop projects:
l 2D model files
l 3D model files
l Graphics files
l Reports as data or graphics files
l Array Metadata
l Project Metadata
Q3D Extractor exports 2D models in AutoCAD *.dxf format. In this format, the geometry located
within the XY plane is exported.
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 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The file is exported to the specified location with the appropriate file format.
Type Extension(s)
ACIS SAB *.sab
ACIS SAT *.sat
AutoCAD *.dxf
CATIA *.exp, *.model
GDSII *.gds
IGES *.iges, *.igs
OBJ Files (for importing models to Ensight.) *.obj
Parasolid *.x_t, *.x_b
STEP *.step, *.stp
The file is exported to the specified location with the appropriate file format. Some file
types launch an additional dialog box for specifying settings prior to export. These are
described below.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
GDSII Files
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Parasolid Files
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Extension Contents
.bmp Bitmap files.
.gif Graphics Interchange Format files.
.jpg Joint Photographics Experts Group files.
.png Portable Network Graphics format files.
.tiff Tagged Image File Format files.
.wrl Virtual Reality Modeling Language
(VRML) files.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Options include: Current View, User Defined (which allows you to specify Width
and Height), Full Screen, 8K UHD, 4K UHD, 1080p HD, 720p HD, and 480p SD.
6. Click Save.
The file is exported to the specified location with the appropriate file format.
You can also export an image file to a specified resolution using scripting commands. Fonts and
line thickness are not scaled, only the image. You will have to iteratively increase font sizes until
you find a suitable output.
Example Script:
oEditor.ExportModelImageToFile("C:/Users/Documents/highresexample_
image.jpg", 7680, 4320,
"NAME:SaveImageParams",
"ShowAxis:=" , "True",
"ShowGrid:=" , "True",
"ShowRuler:=" , "True",
"ShowRegion:=" , "Default",
"Selections:=" , ""
])
Export options files by selecting Tools > Options > Export Options Files. This brings up a
browser dialog box to select the destination directory.
Click Open to copy all 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.
A script command has been added that exports options config files:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
ExportOptionsFiles
ExportOptionsFiles
Syntax <DestinationDirecto
ry>
Return V
None.
alue
Paramet BSTR <DestinationDirecto
ers ry>
Dim oAnsoftApp
Dim oDesktop
Set oAnsoftApp =
CreateObject
("Ansoft.Electronic
VBScript sDesktop")
Example
Set oDesktop =
oAnsoftApp.GetAppDe
sktop()
oDesktop.ExportOpti
onsFiles
"D:/test/export/"
oDesktop.ExportOpti
IPY Exa
onsFiles
mple
('D:/test/export')
Validating Projects
Before running an analysis on a model, it is important to first perform a validation check on the
project. During a validation check, the solver examines the setup details of the active project to
verify that all the necessary steps have been completed and that their parameters are
reasonable.
1. Click Q3D > Validation Check. You can also click the Validate icon on the Simulation
ribbon tab.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Electronics Desktop checks the project setup, and the Validation Check window
appears.
2. View the results of the validation check in the Validation Check window.
Ansys Electromagnetics Suite 2024 R1 - © 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. After you have revised any setup details, click Q3D > Validation Check to run another
validation check. Repeat until the Validation Check completes with no issues.
Note:
You can change the strictness with which 3D Model faults are validated.
6. Click Close.
There are three levels of model validation for a given design: Warning Only, Basic, and Strict.
Note:
This setting only affects the "3D Model" stage of a design validation.
l Warning Only – 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 Basic – 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
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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 Strict – enforces a tighter tolerance for model faults than the Warning Only and Basic
settings. All model faults 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 drop-down menu.
You can also click the Save as Default button to make the current selection the default, or
select Restore Default.
1. In the Project Tree, select a project or design to enable the menu command Edit > Copy.
2. Click Edit > Copy.
1. In the Project Tree, select a project or design to enable the menu command Edit > Paste.
2. Click Edit > Paste.
The project or design is pasted under the selected project, and an icon is added to the
project tree.
Note:
Renaming Projects
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.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The new project name appears in the directory and the project remains in the original
location.
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. Project archive files have an extension that is unique for each product, and is
generated by adding a 'z' to the project file extension (for example, *.aedtz, *.adsnz). This
extension displays as the default when saving and restoring archive files.
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 Save Archive.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Archive Notes – in this field, you can specify notes that will be visible when previewing
the archive. These notes can be viewed from the preview dialog box without restoring
the archive.
l External Files – selecting this check box causes all external files to be included in the
archive. These include 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.
l Results/Solution Files – selecting this check box causes the entire results directory to
be included in the archive. This may greatly increase the size of the archive file.
l Additional Files – clicking this opens the Add Additional Files to Archive dialog
box.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
You can click Add to browse and locate additional files you want to include in the
archive. You can select and the Remove any files listed.
2. Select any optional items, and make any desired notes in the text field.
3. When you have made your selections, click Preview Archive to view archive contents,
file types, the locations of the archive files, and the locations where restoring from archive
would place them. Additionally, there may be context or warning information.
To read longer locations, you can drag the column header to expand them.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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.
4. When you are ready to create the archive, Close the preview and click OK.
5. Specify a name for your file and select the format you want to use from the Save as type
drop-down menu.
6. Click OK to create the archive.
File Relocation
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
so that the external files are 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 the
archive will be updated to refer to the files at the new locations, and the original project file will
remain unaltered.
1. Click File> Restore Archive or select the Desktop tab of the ribbon and click Restore
Archive.
This displays an Archive to Restore browser window that lets you navigate your file
system for *.aedtz, legacy *.<solversuffix>z or *.zip archive files.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
2. If you select a valid archive file, you can click View Archive Contents to preview the
contents.
The Preview Archive dialog box lists all files in the archive, notes, the original and
restored locations, and any warnings that were generated at archive time. 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.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
While restoring an archive, a dialog box displays showing restore results. A progress bar
shows the relative progress, and the text window displays important information and
warnings.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Electronics Desktop also generates a full log file that 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, you can click View Full Log to open this log file, or
use a text editor and open the file at the specified location.
Read Only designs are marked with a red lock in the Project Manager:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note:
Read Only settings are not saved when you save the project file.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
2. Select either Show Items with newer definitions or Show All Items.
3. From the Show Types list in the List Options section, select the types of definitions you
want to show in the Item List.
4. Select the item(s) you want to update from the Item List, or use Select All.
5. Click Update.
Use the Undo command to cancel the last action you performed on the active project or design.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Both commands are useful for dealing with unintended actions 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 Q3D
Extractor > Analyze command.
2. Click Edit > [Undo/Redo], or click the Undo or Redo button ( ) on the
Desktop tab.
Important:
When you save a project, Electronics Desktop clears the entire undo/redo history for
the project and its designs.
This opens a file browser that lets you navigate your file system.
To add notes:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
To edit notes, use the same window or double-click the Notes icon ( ) in the Project Tree.
Note:
For project-level documentation, you can insert a documentation file into a project with
the Project > Insert Documentation File command.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Printing
Electronics Desktop printing commands enable you to send an image of the active window to the
printer.
2. Print options will vary based on your printer. Specify your desired options.
3. Click OK to print.
To preview what your printout will look like, click File > Print Preview.
Important:
To print from Ansys software on Linux, you must first configure a printer from the
MainWin control panel.
For more information, consult documentation for your specific instance of Linux.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Example Projects
Your Ansys Electronics Desktop installation includes an example directory containing projects
folders for several kinds of designs.
Several of these projects are associated with detailed getting started guides.
To open the example, click File > Open Examples, or click Open Examples on the Desktop
tab.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
To open the example, click File > Open Examples, or click Open Examples on the Desktop
tab.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Project-level datasets are typically used for defining material properties at the project level
(applicable to all designs in the project).
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.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The Datasets dialog box provides a browsable listing of all datasets currently defined for the
project or design. A preview window displays a plot of the currently selected dataset. Controls
allow you to Add, Edit, Remove, and Clone datasets; to Import and Export characteristic data;
and to launch the SheetScan tool to extract data from graphics such as data sheets.
Adding Datasets
The following procedure describes how to add a dataset manually.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
2. Click Add.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The left side of the Add Dataset window contains fields for the dataset name and a table
for X- and Y- coordinates. The right side contains a graphic display that draws a line for
the coordinates you add. It also includes buttons for the following functions:
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 box that lets you specify a number of rows to add to the
table.
l Delete Row – deletes the selected row or rows.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note:
Project-level datasets must begin with a dollar sign character ($). If you do not
type one, it will be added for you.
5. When you are finished, click OK to exit the Add Datasets window.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The dataset plot is extrapolated into an expression that can be used in parametric
analyses, boundary definitions, or assigned to a material property value.
You can now edit, remove, clone, or export the dataset. You can also change the plot
display properties.
Importing Datasets
To import a dataset from a file:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
2. Click Import.
3. In the file browser that appears, use the drop-down menu to select the file format of the file
you wish to import.
Note:
The table below lists the file types supported for Project level datasets. For
Design level datasets, only .tab files are supported.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
b. If you select an .xls or .xlsx file containing multiple sheets, a Table Properties dialog
box appears, where you can choose the desired sheet from a drop-down menu.
Otherwise, selecting an .xls or .xlsx file imports the data immediately.
Note:
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.
The first row of data is assumed to contain column headings and is ignored.
c. Selecting a .txt or .csv file opens an Import dialog box where you can specify 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.
4. When satisfied with the import settings, click OK to import the data.
Imported datasets take the name of the imported file. If a dataset of the same name
already exists, a number will be appended to the end of the new dataset (for example, a
duplicate 'dataset' becomes 'dataset1').
Once the data has been imported, you can edit, remove, clone, or export the dataset. You
can also change plot display properties.
Editing Datasets
To modify an existing dataset:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
2. Click Edit.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Cloning Datasets
Cloning a dataset creates an identical copy of an existing dataset. The clone can then be
modified as necessary.
To clone a dataset:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
2. Click Clone.
The Clone Dataset window appears. The default name is the original dataset name with a
number appended to the end.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Exporting Datasets
You can export datasets in .tab format.
To export a dataset:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The dataset file is saved to the specified location for later import.
Removing Datasets
To remove a previously added dataset:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note:
The Remove All option does not work across dataset types. That is, selecting
Remove All from the Project Datasets window does not remove design-level
datasets, and vice versa.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
1. Double-click a plot element (for example, a line, axis, or title) to open that element's
Properties window.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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.
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:
l Loading a datasheet into SheetScan.
l Defining a coordinate system for the imported datasheet picture.
l Defining a characteristic curve using the datasheet picture as reference.
l Exporting the characteristic curve data to a file or to a dataset.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note:
The Delete action cannot be undone. If you delete a picture from the SheetScan
editor, you must reload it from the source file or Internet web page.
l Coordinate System – provides options for creating and editing a coordinate system.
l Curve – provides options that allow you to define a curve.
l Window – provides options for rearranging the currently open SheetScan windows (for
example, overlapping and tiling).
l Help – accesses the Electronics Desktop online help.
You can toggle the following toolbars via View > Toolbar:
l Standard – provides access to basic functions such as file Open and Save, Cut, Copy,
Paste, Print, and Help.
l Curve – contains a drop-down menu allowing you to select a curve and tools for working
with curve values.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
From the View menu, you can also toggle the following:
l Status Bar – displays, at the bottom of the screen, the current cursor coordinates.
l Curve Values – dockable window that displays the data points used while creating a
characteristic curve.
l Grid – displays the coordinate grid you created over the sheet.
Once you have loaded a sheet, you can right-click in the SheetScan window to access curve and
coordinate system options:
SheetScan Settings
Default settings can be changed from Options > Settings.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Document – allows you to set the width and height of the sheet created when a picture is
imported. You can either enter the dimensions manually, or allow SheetScan to adapt the
dimensions to the picture being loaded.
l Axis – allows you to set the name, units, scaling, and offset for the X and Y axis. You can
also select Monotonicity in X to prevent adding consecutive data points whose X-values
are not increasing.
l Representation – allows you to choose whether to connect points on the characteristic
curve and to choose the connecting line color. You can also decide whether to display
markers and choose marker colors.
Note:
You can also override the default settings on the Axis and Representation tabs for
individual curves (See: Defining a Characteristic Curve in SheetScan).
There are two ways to load a datasheet picture into the editor: directly, or by using the
HTML Viewer.
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.
Note:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
After loading a datasheet picture into the SheetScan editor, the next step is defining a coordinate
system for the imported picture.
1. Select Coordinate System > New to open the Coordinate System dialog box.
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 the above steps for Point2 and Point3.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
7. Click OK.
Note:
l You can edit the grid after placement by selecting Coordinate System >
Properties, by clicking the coordinate system icon on the Curve toolbar ( ),
or by right-clicking in the SheetScan editing window and selecting Coordinate
System.
l You can hide the grid by selecting View > Grid.
The Curve Settings dialog box opens, containing the Axis and Representation tabs.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
2. Use the fields on the Axis tab to define the curve's properties. Use the buttons on the
Representation tab to change the curve's appearance.
3. 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.
See: Performing Operations on SheetScan Curves.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Warning:
You cannot undo this action. If you delete a curve and its data points from the
SheetScan editor, you must reconstruct it manually.
l Select Points – select this option, then click a point to select it. Ctrl+click allows you to
select multiple points.
l Append Points – select this option, then click to add data points to the end of a curve.
l Delete Points – select this option, then click a data point to remove it from the curve.
l Insert Points – select this option, then click to insert new data points between existing
data points.
l Change Curve Settings – opens the Curve Settings dialog box, where you can edit the
initial curve settings.
l Coordinate System – opens the Coordinate System dialog box, where you can edit the
coordinate system settings.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
2. If the characteristic curve is not monotonically increasing in X-value, a dialog box displays
informing you that errors were found. Click Yes to have SheetScan automatically correct
the errors.
Note:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Otherwise, selecting an .xls or .xlsx file imports the data immediately into the Add
Dataset dialog box.
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 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.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
3. Change Curve Settings as needed and click OK to complete the data import.
2. In the Save dialog box, choose Current Curve (default) to export current curve data, or
Curves to choose the curve(s) whose data you wish to export. Choosing Curves reveals
a list box showing all of the curves available for export.
Note:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
3. Choose Equidistant if you want to set the Start and Stop X-Channel values and a
Sample Rate or Number of samples for the exported dataset(s).
4. Click Dataset to export curve data directly to the project’s dataset file, or click File to
export as one of the supported file types.
A project variable can be assigned to any parameter value in the Q3D Extractor
project in which it was created. Q3D Extractor differentiates project variables from
other types of variables by prefixing the variable name with dollar sign symbol ($).
Project
You can manually include the $ in the project variable's name, or Q3D Extractor
Variables
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.
A design variable can be assigned to any parameter value in the Q3D Extractor
Design design in which it was created. From the Design Variables Properties dialog box,
(Local) you can Add, Add Array, Edit, or Remove design variables. Design Variables can
Variables be designated as Design, ArrayIndex or Separator variables and as Post-
Processing Variables.
Clicking View > Variables brings up a dockable variable window that is associated with the
active project and/or design. When there is an active project, there will be a corresponding
project variable tab. When there is an active design, there will be a corresponding design
variable tab. Each tab contains an Add... button allowing creation of new variable of this type. If
variables exist for the Project or Design, they are shown in the corresponding tab.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The Project Variables menu item allows you to access three tabs:
l Project Variables – variables, which you define, that apply to the entire project.
l Intrinsic Variables – pre-defined variables that cannot be changed. See: List of Intrinsic
Variables.
l Constants – pre-defined constants that cannot be changed. See: List of Constants.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Unit Type – for Variables, use the drop-down menu to select a type from the list (for
example, Charge, Density, Energy, ...). “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.
l Units – for Variables, use the drop-down menu to select a unit of measure.
l Value – for Variables and ArrayIndexVariables, enter a number, variable, or
mathematical expression. The quantity entered will be the current (or default) value for
the variable. If the mathematical expression includes a reference to an existing
variable, this variable is treated as a dependent variable. The units for a dependent
variable will automatically change to those of the independent variable on which the
value depends. Additionally, dependent variables, though useful in many situations,
cannot be the direct subject of optimization, sensitivity analysis, tuning, or statistical
analysis.
For ArrayIndexVariables, the index reference can be a constant (for example, 1), an
index (for example, ii) or an expression (for example, 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.
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.
The new variable appears in the list. You can sort project variables by clicking the Name
column header. Clicking once sorts them in ascending order, noted by a triangle pointing
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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. If desired, use the check boxes to designate a variable as Read-only, Hidden, or Sweep.
l Read-only – when selected, the variable's name, value, unit, and description cannot be
modified.
l Hidden – hidden variables do not appear in the Properties window unless
Show Hidden is selected.
l Sweep – allows you to designate variables to include in solution indexing as a way to
permit faster post-processing. Variables with the Sweep check box cleared are not
used in solution indexing. If a solution exists, selecting or clearing a variable's Sweep
setting produces a warning that the change will invalidate existing solutions. To
continue, click OK to dismiss the warning.
6. Click Apply to apply changes.
7. Click OK to exit the window.
The new variable can be assigned to a parameter value in the project in which it was created.
You can enable defined variables for Optimization/Design of Experiments, Tuning, Sensitivity, or
Statistics. See: Optimetrics.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
You can define array variables that contain numbers or strings. Number array variables can be
used in component property expressions, while string array variables can be used in certain
component property values.
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. The following are 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
To define an array variable, you must first define a Project Variable Array:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The value grid displays each array item's Index number, and the Data associated with
that index number.
3. Give the variable array a Name, and select a Unit Type and Unit from the drop-down
menus.
4. Use the control buttons 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:
Quotation marks (“ ”) are required as delimeters when array values are entered in
either the grid or text field.
You can add a variable to the array by adding an ArrayIndexVariable on the Project Variables
tab.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
For ArrayIndexVariables, the index reference can be a constant (for example, 1), an
index (for example, ii) or an expression (for example, 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.
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.
To view the list of Intrinsic Variables, click Project > Project Variables and select the Intrinsic
Variables tab.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
List of Constants
To view the list of constants, click Project > Project Variables and select the Constants tab.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The Design Properties menu item allows you to access up to three tabs, depending on your
design:
l Parameter Defaults – local variables with default values 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. Parameter defaults can be defined at the design level.
l Local Variables – variables, which you define, that apply to the current design only. Local
variables can be defined at the design level.
l General – pre-defined design variables that cannot be changed. You cannot use the
names of these variables when creating a new variable.
Note:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
3. Click Add.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note:
l Unit Type – for Variables and PostProcessingVariables, use the drop-down menu to
select a type from the list (for example, Charge, Density, Energy, ...).
l Units – for Variables and PostProcessingVariables, use the drop-down menu to select
a unit of measure.
l Value – for Variables, ArrayIndexVariables, and PostProcessingVariables, enter a
number, variable, or mathematical expression. The quantity entered will be the current
(or default) value for the variable. If the mathematical expression includes a reference
to an existing variable, this variable is treated as a dependent variable. The units for a
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
For ArrayIndexVariables, the index reference can be a constant (for example, 1), an
index (for example, ii) or an expression (for example, 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.
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.
The new variable appears in the list. You can sort local variables by clicking the Name
column header. 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.
6. If desired, use the check boxes to designate a variable as Read-only, Hidden, or Sweep.
l Read-only – when selected, the variable's name, value, unit, and description cannot be
modified.
l Hidden – hidden variables do not appear in the Properties window unless
Show Hidden is selected.
l Sweep – allows you to designate variables to include in solution indexing as a way to
permit faster post-processing. Variables with the Sweep check box cleared are not
used in solution indexing. If a solution exists, selecting or clearing a variable's Sweep
setting produces a warning that the change will invalidate existing solutions. To
continue, click OK to dismiss the warning.
7. Click Apply to apply changes.
8. Click OK to exit the window.
The new variable can be assigned to a parameter value in the project in which it was created.
You can enable defined variables for Optimization/Design of Experiments, Tuning, Sensitivity, or
Statistics. See: Optimetrics.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
You can override a variable value from an analysis setup's General tab.
Select the Override check box next to the value you wish to override, and enter a new value in
the Value field.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l 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 Design Variables
3. Click Add.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The new variable appears in the list. You can sort local variables by clicking the Name
column header. 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.
6. If desired, use the check boxes to designate a variable as Read-only, Hidden, or Sweep.
l Read-only – when selected, the variable's name, value, unit, and description cannot be
modified.
l Hidden – hidden variables do not appear in the Properties window unless
Show Hidden is selected.
7. Click Apply to apply changes.
8. Click OK to exit the window.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
You can override a parameter default from an analysis setup's General tab.
Select the Override check box next to the value you wish to override, and enter a new value in
the Value field.
You can define array variables that contain numbers or strings. Number array variables can be
used in component property expressions, while string array variables can be used in certain
component property values. Design variable arrays are only available within the Q3D Extractor
design for which they are defined.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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. The following are 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
To define an array variable, you must first define a Local Variable Array:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The value grid displays each array item's Index number, and the Data associated with
that index number.
If you elected to Edit in plain text field in the Add Array dialog box, the bracketed and
comma delimited format is used.
4. Give the variable array a Name, and select a Unit Type and Unit from the drop-down
menus.
5. Use the control buttons 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:
Quotation marks ("") are required as delimeters when array values are entered in
either the grid or text field.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
You can add a variable to the array by adding an ArrayIndexVariable on the Local Variables
tab.
For ArrayIndexVariables, the index reference can be a constant (for example, 1), an
index (for example, ii) or an expression (for example, ii + 1). This allows you to sweep
the index and simulate for different values that are stored in the array variable itself. In
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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.
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.
Design (Local) variables can be converted to parameter defaults, and vice versa.
2. Select either the Parameter Defaults tab or the Local Variables tab, depending on
which item you want to convert.
3. Select the variable/parameter and click Convert to Parameter or Convert to Variable.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Important:
If you wish to define a Project Variable, you must begin the name with a dollar
sign ($).
When you enter a name beginning with $, you will only be allowed to define it as a
Project Variable.
6. Press Enter.
The Value can be a number, variable, or mathematical expression. The quantity entered
will be the current (or default) value for the variable. If the mathematical expression
includes a reference to an existing variable, this variable is treated as a dependent
variable. The units for a dependent variable will automatically change to those of the
Ansys Electromagnetics Suite 2024 R1 - © 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.
9. From the Type drop-down menu, select Local Variable or Parameter Default.
Note:
If you wish to define a Project Variable, your variable name must begin with a
dollar sign ($).
However, if you define a variable as fixed, it is not swept and will not index solution data.
Consequently, defining variables as fixed can speed up simulation—particularly if there are
many variables to simulate.
l If a Sweep check box is selected (default) the corresponding variable is NOT fixed.
l If a Sweep check box is cleared, the variable is fixed.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
When setting up a sweep, the Setup window contains a list of variables being swept.
1. Click Add.
Orphaned Sweeps
If you create a simulation setup that contains a sweep of a variable, and then subsequently clear
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 Properties window, a warning message is added to the Message
Window for each orphaned sweep.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l If you edit an orphaned variable in the Properties window and reselect 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 pop-up dialog box asks if
you want to delete the orphaned sweeps. If you respond Yes, all orphaned sweeps are
deleted when the Properties window is closed. Even if you reselect a Sweep check box,
its orphaned sweep will NOT be restored. This action is undoable.
l 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.
1. Navigate either to the Project Variables Properties window (Project > Project
Variables), or to the Design Variables Properties window (Q3D Extractor or 2D
Extractor > Design Properties).
Important:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The selected variable(s) will be available for optimization in an Optimetrics setup defined
in the current design or project.
5. If desired, use the Min and Max fields to 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.
1. Navigate either to the Project Variables Properties window (Project > Project
Variables), or to the Design Variables Properties window (Q3D Extractor or 2D
Extractor > Design Properties).
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Important:
1. Navigate either to the Project Variables Properties window (Project > Project
Variables), or to the Design Variables Properties window (Q3D Extractor or 2D
Extractor > Design Properties).
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
4. Use the Include check boxes to select variables for sensitivity analysis.
Important:
The selected variable(s) will be available for sensitivity analysis in the current design or
project.
5. If desired, use the Min and Max fields to override the default minimum and maximum
values that Optimetrics will use for the variable in every sensitivity analysis. During
analysis, the optimizer will not consider variable values that lie outside of this range.
6. If desired, use the Initial Disp. field to override the default initial displacement value that
Optimetrics will use for the variable in every sensitivity analysis. During 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.
1. Navigate either to the Project Variables Properties window (Project > Project
Variables), or to the Design Variables Properties window (Q3D Extractor or 2D
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Important:
The selected variable(s) will be available for statistical analysis in the current design or
project.
5. If desired, click the Distribution Criteria button to override the distribution criteria that
Optimetrics will use for the variable in every statistical analysis.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The pasted variables appear in a tab separated column format. Fields that do not contain values
are left blank.
Defining an Expression
Expressions are mathematical descriptions that typically contain Intrinsic Functions, such as sin
(x), and arithmetic operators, such as +, -, *, and /, as 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 makes it 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 window lists all available pre-defined constants.
These may not be reassigned a new value.
Numerical values may be entered in Ansys shorthand for scientific notation. For example, 5x107
could be entered as 5e7.
The following table lists valid operators and the sequence in which they are accepted (listed in
decreasing precedence):
() Parenthesis 1
! Not 2
Exponentiation
^ (or **) (If you use "**" for exponentiation, as in previous software 3
versions, it is automatically changed to "^".)
- Unary minus 4
* Multiplication 5
/ Division 5
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
+ 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
&& Logical and 8
|| Logical or 8
Note:
If units are not specified, 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. To have values interpreted in degrees, supply the argument with the unit
name deg.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
clp Formula
You can use pwl in an expression that uses datasets for such things as a frequency dependent
material property (See: Adding Datasets).
You can create a design variable representing a dimension xSize as pwl(ds1, 1) where ds1
is a dataset.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
After the dataset is configured, the Properties window shows the new variable.
For example:
Note:
pwl can be used with datasets for Design Variables but not for Project variables.
Once created, a dataset (such as $ds1) may be used as the first parameter to piecewise linear
(pwl, pwlx, 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, pwlx, and pwl_periodic functions.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
You can generate a dataset using a series of points in a plot on the Datasets dialog box (See:
Adding Datasets). Each plot consists of straight line segments whose vertices represent their
end points. A curve is fitted to the segments of the plot. This curve, which best fits the segmented
plot, consists of the co-ordinates used in the creation of the dataset. The dataset may then be
used in the piecewise linear intrinsic functions.
Note:
1. For a project-level dataset, click Project > Datasets. For a design-level dataset, click Q3D
Extractor or 2D Extractor > Design Datasets.
2. Click Add.
3. Set the Name field and Coordinates as desired and click OK.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note:
By default, the dollar sign ($) is assigned to a project dataset even if you do not
use one while naming it.
4. Go to Tools > Edit Libraries > Materials to open the Edit Libraries dialog box.
5. Click Add Material.
6. Type in the piecewise linear function and use the dataset $ds1, as shown in the following
figure.
7. Click OK.
Temperature Units
Celsius Family
l cel, delta_cel (Legacy name for delta_cel, celdiff continues to be supported)
Kelvin Family
Ansys Electromagnetics Suite 2024 R1 - © 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 minor variations in these use cases specify how the actual units (Celsius 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.
For example:
l 10 cel - 5 cel = 5 delta_cel
l 100 kel - 90kel = 10 delta_kel
l 10 fah - 1 fah = 9 delta_fah
If they have different units, they are converted to the default units for temperature difference.
For example:
l 10cel - 1 kel = 9 delta_kel
The resulting temperature quantity will retain the units of the Temperature quantity (first
operand)
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
All other use cases in a plus or minus arithmetic operation are physically meaningless and revert
to previous bahavior, where Electronics Desktop converts quantities to their SI values and then
operates on the plain numbers.
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
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.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
4 - Assigning Materials
You can add, remove, and edit materials in two main ways:
l Using the Tools > Edit Libraries > Materials menu command.
l Under Definitions in the Project Manager, right-click Materials and select Edit Library.
Regardless of which of the preceding two methods you use to edit a library, any new material
you create exists only in the current project. Similarly, if you edit an existing material, the edited
version becomes a Project material and exists only within the current project. To make a new or
modified material available for other projects, you must export it to a user library and choose that
library (or select Show all libraries) within the Select Definition dialog box.
The Select Definition window appears. The current material is highlighted, with the
Name, Location, Origin library, and parameter values shown.
Note: You can resize the dialog box to show more of the materials and/or
material properties without having to use the scroll bars.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
When the Select 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
If you click the ellipsis button [...], you see a list of all available libraries. Any selected
libraries are highlighted. Shift-Click allows you select a range. Ctrl-Click allows you to
select any libraries.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The Origin column shows the originating library for each material, whether the sys library,
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.
GRANTA Materials Data for Simulation (MDS) is an optional, licensed feature, including
more than 700 generic materials and over 2100 producer-specific magnetic materials and
PCB materials. When you use or view the GRANTA licensing libraries, the GRANTA
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
license is checked out and held for 30 minutes. Viewing the contents of a GRANTA library
in the Materials dialog box or modifying an object to use a GRANTA material causes a
license check out and hold. If the license is already checked out, the hold time is reset to
30 minutes.
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.
l With an object selected in the Modeler window, on the Draw ribbon, select the Material
icon.
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.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
3. With an object selected in the Modeler window, on the Draw ribbon, select the Material
icon.
Note:
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.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
5. Click OK.
Note:
In the History Tree, by default, objects are grouped by material. You can easily change
the default grouping. Using the menu bar, click Modeler > History Tree Layout and
clear Group Objects by Material along with any other listed option you may wish to
disable. You can also perform this action from the Tree View drop-down menu on the
View ribbon tab or from the shortcut menu that appears when you right-click most of
the items in the History Tree.
If you check Show Material Colors on the Material Filters tab of the Select Definition or Edit
Library dialog box, the Materials tab will include a Color column showing a color swatch for
each listed material.
You can edit the color and transparency values for materials in the View/Edit Material dialog box.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
1. Access the Select Definition dialog box using one of the following methods:
With one or more objects selected (that is, to assign a material to selected objects):
l Click Modeler > Assign Material
l Click the Material value in the docked Properties window, and select Edit... from the
drop-down menu.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l On the Draw ribbon tab, choose Select from the Default material drop-down menu:
2. In the Search Criteria section, ensure that by Name is selected, and in Libraries, specify
the Libraries that you want to search. Only loaded libraries participate in text and keyword
matching.
3. In the Search by Name text box, type a portion of the desired material name. The search
text is case-insensitive.
A drop down under the Search Parameters field will show the a list of the materials from
selected libraries matching any part of the current text, and, if the Granta Materials library
is selected, matching keywords in the material definitions. The first row containing the
material name most similar to the characters you typed will be selected.
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 select the material above or below the currently
selected row.
l Use the scroll bar to scroll the listed materials upward or downward and click the
desired material when it is visible.
l Type different characters in the Search by Name text box.
.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
When the Select all libraries option is selected, the window lists all of the materials in
Ansys Electronics Desktop's global material libraries that are applicable to the current
design type as well as those in the project’s local materials library. The Granta Materials
Data for Simulation library now includes keywords that are used in the auto-complete
matching. For example, entering "glass" will generate an auto-complete list of all materials
with a name containing "glass" or with a keyword that contains "glass", all case-
insensitive, for materials showing in the grid. The drop down of potential matches under
the search field applies to all libraries. What shows in the grid is defined by which libraries
are selected, what material filters are selected, project/design-specific validation, and
whether project materials are selected for display.
With one or more objects selected (that is, to assign a material to selected objects):
Ansys Electromagnetics Suite 2024 R1 - © 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 in the table,
though all properties are available in this drop-down menu. To view the complete
table of properties, see Filtering Materials.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
4. In the Search Parameters area, type a numerical value in the Search by Property text
box and then click Search.
The materials are sorted according to the property you selected. Additionally, the material
with the property value closest to the one you typed, but without exceeding it, is selected.
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 select the material above or below the currently
selected row.
l Use the scroll bar to scroll the listed materials upward or downward and click the
desired material when it is visible.
l Type a different numerical in the Search by Property text box and click Search again.
When the Select all libraries option is selected, the window lists all of the materials in
Ansys Electronics Desktop's global material libraries that are applicable to the current
design type as well as those in the project’s local materials library.
Materials are added using the View/Edit Material dialog box, which can be opened from either
the Select Definition window or the Edit Libraries window.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
1. From either the Select Definition window or the Edit Libraries window, click Add
Material.
By default, only properties commonly used by the selected product are displayed. To view
the complete table of properties, see Filtering Materials.
2. Type a name for the material in the Material Name text box, or accept the default.
3. 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. When All Properties is
selected, Physics classification options are enabled to show or hide properties based on
simulation type (Electromagnetic, Thermal, or Structural).
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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.
6. If the material is linear, enter a Value for the following material properties:
l Relative Permeability
l Relative Permittivity
l Bulk Conductivity
l Dielectric Loss Tangent
l Magnetic Loss Tangent
If the material is a ferrite, enter a value greater than 0 in the Magnetic Saturation Value
box. You may also choose to enter values in the Lande G Factor and Delta H Value
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.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
7. 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.
8. To modify the units for a material property, double-click the Units box and select a new
unit system.
9. 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:
10. Clicking the Transparency box opens a Transparency dialog box with a text field and
slider bar for selection.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
14. If you want to add descriptive notes for the new material, click the ellipsis button [...] next
to the Notes field. This opens a dialog box in which you can enter text.
Select a material property type for each property from the Type drop-down menu. Some
properties only use the Simple type
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
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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.
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.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Piecewise Linear Frequency Dependent Material Input, Debye Model Input, and
Djordjevic-Sarkar Model Input remember the values previously used and also include
plots to show the property curves in real time as changes to the input are made. Input
values for each 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 box title will have "(Update)"
appended.
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. Q3D Extractor
automatically creates a dataset for each material property. Based on a varying property’s
dataset, Q3D Extractor can interpolate the property’s values at the desired frequencies during
solution generation.
Note:
Neither the piecewise nor the loss model asks for frequency-dependent conductivity
because the constant sigma represents DC loss and the frequency-dependent loss
tangent represents polarization losses.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
1. From the Select Definition window, select a material and click View/Edit Material.
2. Right-click a property (for example, relative permittivity or dielectric loss tangent), and
select View Property vs. Frequency.
The window contains boxes where you can edit 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 option is not
displayed for choice properties because frequency-dependence doesn’t apply to those.
You can choose OK to continue with the edit and remove the invalidated setup data, or choose
Cancel to discard any changes.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
From this window, you can enter material property values and view a property vs. frequency plot.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Use the fields to enter lower and upper frequency values for:
l Frequency Range – Q3D Extractor assumes that the material's property values remain
constant between these frequencies.
l Relative Permittivity – If the permittivity of the material does not vary with frequency,
enter the same value you entered for the Frequency Range Lower Frequency.
l Relative Permeability – If the permeability of the material does not vary with frequency,
enter the same value you entered for the Frequency Range Lower Frequency.
l Dielectric Loss Tangent – If the dieletric loss tangent of the material does not vary with
frequency, enter the same value you entered for the Frequency Range Lower Frequency.
l Magnetic Loss Tangent – If the magnetic loss tangent of the material does not vary with
frequency, enter the same value you entered for the Frequency Range Lower Frequency.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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.
From this window, you can enter material property values and view a property vs. frequency plot.
Use the fields to enter lower and upper frequency values for:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Frequency Range – Q3D Extractor assumes that the material's property values remain
constant between these frequencies.
l Relative Permittivity – If the permittivity of the material does not vary with frequency,
enter the same value you entered for the Frequency Range Lower Frequency. If you need
to specify a value for At High/Optical Frequency, select the check box and enter a value.
l Conductivity or Dielectric Loss Tangent – Select either At DC to specify conductivity,
or At Lower Frequency to specify Loss Tangent.
After you have entered the data for your selection, click OK to 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, Q3D
Extractor 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.
From this window, you can enter material property values and view a property vs. frequency plot.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The window contains a table that allows you to specify Frequencies, and the material's Relative
Permittivity and Dielectric Loss Tangent at each frequency.
Note:
Enter data values manually, or click Import Data to import data from a *.tab file.
Below is an example of the file format. Each row provides Frequency (assumed to be Hz),
Permittivity, and Loss Tangent.
0.00001 3.8136 0.00128
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
As you enter data, the plot updates. The input data is linearly interpolated using the Multipole
Debye model.
Double-click any plot element to change its properties (color, units, scaling, etc.).
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
To export the dataset in *.tab format for later use, click Export Data.
From this window, you can enter material property values and view a property vs. frequency plot.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
After you have entered the data for your selection, click OK to 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.
From this window, you can use datasets to set frequency-dependent material properties.
1. Select the Set Freq Dependent check box next to the property you wish to edit. This
enables the Dataset field.
2. Click the property's Dataset field and use the drop-down menu to select Add/Import
Dataset.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
You are returned to the Enter Frequency Dependent Data Points window, where
the Modify field is now active. If you need to modify the dataset, click Edit.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
1. In the View/Edit Material dialog box, you must enable the Thermal Modifier check box:
This option causes the properties table to expand to include a Thermal Modifier column.
By default, the Thermal Modifier option is set to None for all material properties.
2. Click a Thermal Modifier cell and select Edit... from the drop-down menu:
The Edit Thermal Modifier dialog box appears with the Expression option selected.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
With this option selected, the Modifier text box is displayed under Parameters. This text
box contains a conditional expression template, which you can use as a starting point for
creating your own expression. The property for which the multiplier is being defined and its
nominal value are indicated above the Parameters section.
n With Expression selected, you can write an equation for a thermal modifier in the
Modifier text box.
The following example defines a multiplier that varies linearly from 1.1 (at 0° C) to 0.2
(at 1000° C). The multiplier is constant at 1.1 for temperatures below 0° C and constant
at 0.2 for temperature above 1000° C:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
In this example, the linear equation -0.9 * Temp / 1000 + 1.1 (highlighted in yellow)
defines the multiplier for the range 0° C ≤ Temp ≤ 1000° C.
This command lets you define the thermal modifier dataset (a set of X and Y values).
Alternatively, if a suitable project dataset already exists, it will be available for selection
from the same drop-down menu.
When creating a new dataset, the X values are temperatures, and the Y values are the
corresponding thermal modifiers. The value of the nominal material property is
multiplied by this thermal modifier to determine the resultant property at a given
temperature. The modifier is interpolated linearly between specified data points.
The following example is a dataset defining thermal multipliers for the thermal
expansion coefficient (TEC) of an aluminum-beryllium alloy. The temperature range is -
150 to 250° C, and the nominal value (corresponding to 20° C) is 1.37e-5/°C:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
In addition to filling the table of values manually, you can also Import an existing tab-
delimited file to create the dataset.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Important:
When you add a dataset from the Edit Thermal Modifier dialog box, you
cannot specify the temperature units. The numbers in the X column will be
interpreted as degrees Celcius and cannot be changed. Also, you cannot
append a unit abbreviation (such as "fah" or "cel") to the numbers. You must
enter temperature values in degrees Celcius for correct results. The values in
the Y column are multipliers and therefore dimensionless.
For the dataset to be used later as a thermal modifier, you must click the X
column header and choose Temperature. Then, click the X column header
again and choose the desired temperature units. Finally, populate the table
with your temperature and multiplier values and then click OK and Done.
The dataset will now be available for selection from the drop-down menu in
the Edit Thermal Modifier dialog box.
After choosing or creating a dataset, it appears in the Modifier field of the Edit Thermal
Modifier dialog box, as shown in the following image:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The Y values in this case are simple multipliers and therefore unitless.
Note:
To edit an existing dataset, select Edit Dataset from the drop-down menu in
the Edit Thermal Modifier dialog box. The Datasets dialog box appears.
Select the dataset to modify and click Edit.
3. Alternatively, select the Quadratic option to display the tabs for Basic Coefficient Set
and Advanced Coefficient Set (as shown below):
l Under the Basic Coefficient Set tab, you can edit fields for the TempRef and units,
and fields for C1 and C2 for the following equation:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
where TempRef is 22 cel by default and where the Pref is defined as the reference
relative permittivity.
Note:
l Under 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
menu.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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 your edits and return to the View/Edit materials dialog box.
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.
Ansys Electromagnetics Suite 2024 R1 - © 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.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The View/Edit Material window appears. The material name and its property values are
listed.
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.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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.
Note:
Note:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
4. If you want to add descriptive notes for the new material, click the ellipsis button [...] to the
right of the Notes field. This opens a dialog box in which you can enter text. Pressing
Enter or clicking OK saves the note. To enter multiple lines of notes, use Ctrl+Enter at the
start of each new line.
5. Click OK on the View/Edit Materials dialog to add the new material to the material library.
6. 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.
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.
Copying Materials
1. In the Select Definition window, select the material you want to copy, and then click
Clone Material or right-click the selected material and select Clone from the shortcut
menu.
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.
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 the selected material and click
Remove on the short-cut menu.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note:
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.
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 library that is shared by more than one user, usually
in a central location.
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.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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:
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.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l With All Libraries checked, the table displays all materials, but may not show all
available properties.
The complex permittivity of water changes significantly in the 1 – 100 GHz range. Many HFSS
applications involve frequencies within this range and also involve water. Appropriate water
properties are needed for accurate electromagnetic modeling. The following image
demonstrates the widely varying properties of water versus temperature and frequency:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
These varying properties of water are included in HFSS through the addition of the material,
Water 0.2-35C 0.1-400GHz.l
Application Example: Companies test automotive radar at 24 GHz or 77 GHz with thin layers
of water applied on the target fascia. A thin layer of water may increase both signal reflection and
attenuation, significantly affecting the radiation pattern.
A relative permittivity (ϵr) of 81 is used as a typical value for water. If you were to assume this
value of ϵr for the radar example just described, the simulation would produce inaccurate results.
To solve this problem, a temperature-dependent and frequency-dependent material library,
Water_0p2-35C_0p1-400GHz, has been included within the syslib folder of the Ansys
Electronics Desktop application. Rather than containing multiple versions of water suitable for
different temperature and frequency combinations, the complex permittivity is expressed as a
function of temperature and frequency in a single material choice, Water 0.2-35C 0.1-400GHz.
Application Procedure
As with any material, you can choose the temperature-dependent and frequency-dependent
water as the Default material or apply it to specific solid objects, as follows:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
2. Alternatively, to apply the material to one or more selected objects, use one of the
following three methods:
l From the Attribute tab of the Properties dialog box or docked Properties window,
choose Edit from the Material drop-down menu.
l Select one or more solid objects in the History Tree. Then, right-click a selected object
and choose Assign Material from the shortcut menu.
l Graphically, in Select Objects mode, select one or more objects in the Modeler window.
Then, right-click in the window and choose Assign Material.
Regardless of whether you use the step 1 method or one of the three methods under step
2, the same Select Definition dialog box appears.
3. In the Libraries section within the Materials tab, take one of the following three actions:
l With Show all libraries not selected, click the library [sys] Water_0p2-35C_0p1-
400GHz to select it (A single SysLibrary entry will appear in the material list along with
any Project materials).
l Select the Show all libraries option. (All SysLibrary and Project materials will be listed
in the dialog box.
5. Click OK.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Temperature dependency is an optional feature that is not enabled by default. For the subject
water properties to work, you must select the Include Temperature Dependence option and
define each water object's temperature. The additional procedure is as follows:
6. Using the menu bar, click one of the following commands, depending on the design type:
l HFSS > Set Object Temperature
l Q3D Extractor > Set Object Temperature
l 2D Extractor > Set Object Temperature
Alternatively, right-click the top-level design entry in the Project Manager (HFSSDesignx,
Q3DDesignx, or 2DExtractorDesignx, by default), and choose Set Object Temperature.
Alternatively, select one or more rows of the table, specify a value in the Temperature text
box beneath the table, and click Set.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note:
The internal temperature unit in Ansys Electronics Desktop is Celsius. For any
other temperature unit you might specify, the value of Temp is automatically
converted to Celsius internally prior to the execution of the ϵr equation, which
ensures that the equation is valid for all temperature units.
9. Click OK.
This equation is comprised of several different factors, each defined by a specific part of the
overall expression. The equations for each factor were determined using available empirical
data and curve fitting techniques and were built upon previously published work (see the
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Reference section near the bottom of this topic). Let's look at the Relative Permittivity (ϵr)
equation and the individual parameters that comprise it.
where ω is the frequency in radians/second (equal to 2π * Freq in Hz), and the other factors
are as defined below.
ε = -0.37 * T + 188.75
ε2 = 10.9 - 0.15 * T
ε∞ = -2.35 + 0.23 * T
For each of the preceding five equations, T is the absolute temperature in degrees Kelvin (°K).
Since the internal calculation unit for temperature in Ansys Electronics Desktop is Celsius,
273.15° must be added to Temp, and this sum (Temp + 273.15) must be substituted for T in
each equation. The resultant complete expression for the relative permittivity, formatted
appropriately for the software, is as follows:
Reference:
4 June 1999, Chemical Physics Letters 306 (1999) 57-63
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The library files that ship with Electronics Desktop are stored under the syslib directory. These
libraries are intended to be read-only and should not be modified. They are available for any
material assignment in any project.
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 user (or
company)-defined materials. Customarily, userlib is a network repository for proprietary or
corporate definitions available to all seats in an enterprise, while personalLib contains project
and design-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.
Editing Libraries
There are two different methods of editing libraries:
l Right-click 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.
Note:
To import these materials from previous versions, you must have at least one design loaded in
the project window.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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.
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.
l On the Q3D Extractor > Analysis Setup> Revert to Initial Mesh.
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.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
See the following topics for more information and configuration tips:
l Remote Analysis
l Distributed Analysis
l Ansys Cloud Support for HPC Job Management
l Large Scale DSO for Parametric Analysis
l Interactive Scheduler Jobs
l HPC Integration
l Multi-Step Job Submission
l Windows to Linux Job Submission
l Distribution Command Line Options
l GPU Acceleration
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 will perform the solve (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 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Important:
The Export Options Files command writes XML files containing options settings at all levels to
the specified directory. Tools > Options > Export Options makes it easier for different users to
use Ansys EM tools installed on shared directories or network drives. For some example use
cases, see: Example Uses for Export Options Features.
1. You must have installed Ansys Remote Simulation Manager (RSM) or a supported High
Performance Computing (HPC) management software program (See: High Performance
Computing (HPC) Integration).
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
In each case, you see a dialog box confirming the registration. Click OK to confirm.
l From Linux, run RegisterEnginesWithRSM.pl, located in the product installation
directory (for example, /apps/AnsysEM/v241/RegisterEnginesWithRSM.pl).
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 can also set Remote Analysis Options from Tools > Options > General Options >
General > Remote Analysis.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Select whether to run simulation processes as the user running RSM (Service User), or sd 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
Messages window issues a warning, and the solver attempts to perform the analysis as the
Service User.
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 simulation continues. When the simulation is complete, you will see a message in the
Messages window.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Troubleshooting
Note:
Functionality featured in the example(s) in this section applies to multiple design types.
Problem:
When you try to solve from local to remote machine, a COM engine process
starts on the remote machine, but the 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.
Resolution:
Problem:
When you try to solve from a local to a remote machine, you receive the
following error message:
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.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Problem:
A solve that is distributed to multiple hosts using MPI fails because the
AnsysEM installation path is different on different hosts.
Resolution:
Problem:
Resolution:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Error:
Resolution:
Error:
Resolution:
1. To register the engine from the Windows menu, select Start > All
Programs > Ansys Electromagnetics Suite 2024 R1 > Register
with RSM.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Error:
Resolution:
To do this:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Error:
Resolution:
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.
Note:
All types of distribution use MPI, except when only distributing rows of a parametric table, either
as a regular DSO or as Large Scale DSO performed through command line. MPI may also be
used if Auto mode is specified, and rows of a parametric table are distributed. MPI must be
correctly configured if the distributed analysis uses MPI. See Setting HPC and Analysis Options
for setting MPI Licensing and the Ansys Electronics Desktop Installation Guide for details on
installing MPI.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
When running a suitable design with this feature enabled, the Solution Profile will show multiple
frequencies being adapted at the same time.
Before you can select a configuration, it must be active. See: Setting HPC and Analysis Options.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note:
You can also access the Analysis Configuration window from the HPC and
Analysis Options window by clicking Add or Copy. When using Add or Copy,
the steps are the same as below, but you will need to specify a
Configuration Name. The name cannot be empty and it cannot be a reserved
name.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note:
Available options may vary slightly depending on the solver and design.
2. If automatic settings are supported, the Use Automatic Settings check box allows you to
select this option and set parameters based on the best use of available resources for the
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
current analysis. Deselecting it enables the Job Distribution tab, where you can assign
resources manually.
3. Use the tabs to navigate through the rest of the settings:
l Machines – contains the machine list. You can add, enable, remove, test, and reorder
machines from the list.
l Job Distribution – when Use Automatic Settings is deselected, this tab appears and
allows you to select job distribution settings manually.
l Options – allows you to specify additional options, depending on the design type.
4. Click OK to save the configuration settings.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
You can add the Local machine, or add a machine by IP Address, DNS Name, or UNC Name.
Select the applicable radio button, enter the machine's information in the specified format, then
click Add Machine to List.
Important:
The remote machines must have the same Ansys Electromagnetics Suite version
installed on the same OS version, and have active RSM service.
The added machine(s) will appear under Machines for Distributed Analysis.
You can import a machine list from a text file. Each line of the file should contain a machine's
information in the following format:
<MachineName>:<NumTasks>:<NumCores>
The Machines for Distributed Analysis area lists machines in 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 and Move down buttons. To remove one or more machines,
select the machine(s) and click Remove.
If you have selected Use Automatic Settings, this column does not appear because
there is no need for it.
l Cores – specifies the total number of cores that will be used on the given machine. The
total number of Tasks and Cores are described just above the machine list.
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. The number of Cores must always be greater than or equal to the
number of Tasks.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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.
l RAM Limit (%) – specifies the maximum percentage of each machine's RAM you would
like to be in use by the solver.
l Enabled – use the check boxes to enable or disable machines.
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).
Testing 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 that no other Ansys EM
processes are running on the machine. To do this, select one or more machines and click Test
Machines.
The Test Machines dialog box appears. The test goes through the current machine list and
gives a report on the status of each machine. A progress bar shows testing progress. When the
test is complete, click OK to close the dialog box. If you need to disable or enable machines
based on the report, you can do so in the Analysis Configuration window.
The Job Distribution tab is disabled if you selected Use Automatic Settings.
Note:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The job distribution list allows you to specify which job distribution types to allow for the current
analysis configuration. Use the check boxes enable and disable distribution types. At solve time,
Q3D Extractor automatically selects the best distribution type from the enabled types.
Enabling a distribution type does not mean it will be used. It must be also allowed by the solve
setup. If you enable a distribution type for a given setup, and distribution is allowed, the preview
window updates to describe the distributions. Note that enabled distribution types 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.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The concurrent initial mesh generation workflow with Distributed Mesh Assembly relies on the
MPI based distribution technology inside the MeshAssemblyManager. The decision whether to
launch sequential or parallel mesh generation is based on the combination of the number of
individual meshes present, the HPC setting, and the number of tasks available.
l If there’s only one single mesh or if curvilinear contact exists: then normal initial mesh
workflow with single G3dmesher will be launched.
l If there are more than one individual mesh and no curvilinear contact exists:
l If Use Automatic Setting is not selected, under the Job Distribution tab, if “Mesh
Assembly” is not enabled, then meshes will be generated sequentially. If “Mesh
Assembly” is enabled and user assigns more than 1 tasks, then parallel mesh
generation will be launched.
l If Use Automatic Setting is selected and user assigns more than 1 core, then parallel
mesh generation will be launched.
l If Use Automatic Setting, the number of MPI tasks will be the number of cores user
assigned or the number of geometries to be meshed, whichever is smaller. If there are
more geometries than cores, the geometries will be dynamically assigned to tasks. If
there are more cores than geometries, the remaining available cores will provide some
of the tasks with multi-thread capabilities.
All the detailed progress information from the Mesher is suppressed and the progress will report
the number of meshes being finished. All the mesh profiles will be available under profile report
and the mesh feedback will also be available under mesh feedback tool.
Enabled distribution types are listed when you select a configuration in the HPC and
Analysis Options window.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
When you view the Solution Profile, distributions for unitCell show as parallel Volume Tasks.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Distribution Levels
For products and designs that support two-level distribution, you can select either single or two-
level distribution.
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.
Single-level Distributions
In a single-level distribution, one distribution type is 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.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Transient Excitations
l Domain Solver
l Iterative Solver Excitations
l Direct Solver Memory
Solver distributions require MPI. See: Setting HPC and Analysis Options.
Parallel distribution types (such as Optimetrics Variations, Frequencies, and Excitations) do not
require distribution. If these types are not able to distribute, the simulation can run sequentially.
Memory distribution types (such as Direct Solver Memory and Domain Solver) are set to require
distribution. 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, when both Optimetrics Variations and Iterative Solver Excitations are
enabled, Optimetrics Variations will be distributed. When both Optimetrics and Mesh Assembly,
are selected Optimetrics are distributed. 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.
Two-level Distributions
Selecting Enable two-level enables the Distributed solutions at first level box.
In a two-level distribution, the first level distributes the specified number of solutions. Each
solution will then 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.
For two-level distribution, the total number of tasks must be greater than or equal to the number
of tasks for level 1.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The Analysis Configuration window displays a preview of the job distribution, if allowed for that
configuration:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note:
These options settings will be in effect only when all the following are true:
l A design is being solved whose design type matches the analysis configuration design
type.
l The analysis configuration is the active configuration for its design type.
l You have not specified corresponding batchoptions on the command line.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Relation to Batchoptions
Command line batchoptions can be used to override the options specified by the active
configuration.
Analysis configuration option settings can be overwritten by specifying the option name and
value inside a -batchoption string.
To add batchoptions from the UI, click Q3D Extractor > Submit Job. Under Analysis Options,
click Add. This opens the Add Batchoption window.
See: Running Electronics Desktop from the Command Line and Batchoptions Command Line
Examples.
Click OK to accept the changes and close the Analysis Configuration window. Only machines
marked Enabled appear in the 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.
In the majority of situations, configuring a Distributed Solution Option (DSO) in combination with
the multiprocessing option to take optimal advantage of the available hardware results in
improved speed.
Note:
This assumes that there is enough hard drive space and memory for DSO simulations.
For multiple DSO simulations on a single machine, the total memory needed is the sum
of the memory used by each simulation. For example, consider a discrete frequency
sweep in which each frequency point needs 3.5GB. A quad core system with 8GB of
RAM would rely heavily on swap, which is highly inefficient. In this case, updating the
number of tasks in the machine list is ideal.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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 . A machine configuration
based on the machines and number of tasks described above is shown in the figures below.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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 an "Out of
Memory" failure.
The second consideration for the number of tasks is the number of excitations. Q3D Extractor
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.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Assembly is enabled and user assigns more than 1 tasks, then parallel mesh
generation will launch.
l If Use Automatic Setting is selected and user assigns more than 1 core, then parallel
mesh generation will launch.
l If Use Automatic Setting is selected, the number of MPI tasks will be the number of
cores user assigned or the number of geometries to be meshed, whichever is smaller.
If there are more geometries than cores, the geometries will be dynamically assigned to
tasks. If there are more cores than geometries, the remaining available cores will
provide some of the tasks with multi-thread capabilities.
All detailed progress information from the mesher is suppressed and the progress will report the
number of meshes being finished. All mesh profiles will be available under profile report and
mesh feedback will also be available under mesh feedback tool.
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.
For interactive scheduler jobs, only a limited set of batchoptions are supported. These
batchoptions include the DSO configuration options, the design-type-specific options, and the
following additional design-type-specific options that are not currently listed in the user interface
or command line help windows:
l CreateStartingMesh: Create the starting mesh only. Do not solve any other steps. Often
used for multi-step jobs where the mesh creation is solved in a separate step using fewer
resources than the rest of the analysis.
l NumCoresPerDistributedTask: Specifies the number of cores that are allocated to the
job to use for each distributed task, used when running jobs under a scheduler. The
scheduler communicates the number of cores allocated to the job on each host. This
setting is used to determine how to allocate the cores to each task.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l SolveAdaptiveOnly: Solve adaptive passes only. Do not solve any other steps. Often
used for multi-step jobs where the adaptive passes are solved in a separate step using
fewer resources than the rest of the analysis.
l TotalNumOfCores: The total number of cores for the job. This option is only used for
EKM (Engineering Knowledge Manager).
l ValidateOnly: Only validate the specified setup, design, or project. Do not analyze the
specified setup, design or project.
Any other batchoptions will result in a warning message and will be ignored.
Example:
ansysedt -batchoptions " 'TempDirectory'='C:\\TEMP'
'HFSS/SelectedDSOConfiguration'='Local'
'Desktop/Settings/ProjectOptions/DoAutoSave'=1
'LargeScaleDSO/MaxFolderInMB'=100 "
Batchoptions
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 window or other
dialog boxes used to specify options.
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
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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. There is an alternative to
using the NumCoresPerDistributedTask batchoption for Interactive Scheduler Jobs, . 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 window. You may use Edit in the HPC and
Analysis Options to open the Analysis Configuration window 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.
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, SGE or
SLURM scheduler, and only if the MPI Vendor is 'Intel'.
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, SGE or
SLURM scheduler, and only if the MPI Vendor is 'Intel'. To specify the value 'Scheduler' for this
option for a 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
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
scheduler 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 box.
When submitting a job using the Ansys Electromagnetics job submission GUI, the MPI Version
may be specified using the batchoption with pathname DesignType/MPIVersion, where
DesignType is the type of design to analyze (e.g. HFSS). It allows selection of which Intel MPI
version to use, for both Windows and Linux. Valid values are "Default", "2018", and "2021".
For interactive solves, the MPI version may be specified with the batchoption in the command
line used to launch the product, or as a design type option in the HPC and Analysis Options
dialog box.
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, Microsoft
Excel). They can also be imported as dataset solutions for post-processing. Non-rectangular
plots of the design (such as statistical eye or digital plot) are not extracted. In order to produce a
new output you must re-run the analysis.
Note:
For a machine with n cores, it should be expected that running n, single core,
distributed simulations in parallel will encounter additional overhead due to the need to
spawn n unique solve processes. Therefore, it should not be expected to observe an n
times speed up over the time taken to run n analyses in series with a single core. The
relative impact of this overhead increases as the size of the simulation and time to
complete a single solve shrink.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Large Scale Distributed Solve Operation could submit a parametric setup to be solved in multiple
machines, each machine may launch multiple EM-Desktop processes to solve the assigned
variations (Design Points). Variations are distributed to each task (EM-Desktop process)
equally, regardless of the machine hardware and each variation’s complexity. In practice, some
tasks may finish earlier than others, in some extreme case some tasks may hours behind fastest
task. DSO can redistribute tasks when a task finishes before other task. Variations are removed
from slow tasks and reassigned to fast tasks. If you abort a task, they can be re-assigned to the
running task, when the running task finish its original assignment. For more information, see
Large Scale DSO theory.
Large Scale DSO offers two new batchoptions related to the redistribution ability.
To abort the whole Job, select the Abort button on the Job Monitor dialog.
To abort using the Job progress bar, click the button next to the Job progress bar, Click the
Abort menu item in the popup.
To abort all tasks in a Node(host), click the button next to the node progress bar., and click the
Abort menu item in the popup. Aborted Variations will be redistributed to other running Nodes, if
redistribution is turned on.
To abort an individual task, click the button next to the node progress bar, and click the “Detail”
menu item in the popup. In the Task status dialog box, click the Task button in the grid. In the
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
variation status dialog box, click Abort button. Aborted Variations will be redistributed to other
running tasks, if redistribution is turned on.
To terminate a hanging EM-Desktop process, the hanging ansysedt.exe process won’t respond
to the first abort command. Send a second abort command to terminate the hanging process.
Remaining variations will be redistributed to other running tasks, if redistribution is turned on.
For an EM-Desktop process crashed or killed by Windows Task manager or other tools, the task
status will be shown as aborted, Remaining variations will be redistributed to other running
tasks, if redistribution is turned on.
Important:
Large Scale DSO does not support RSM Service running with system login
credentials.
l On each machine of the cluster, the 'desktopjob' application is registered with Ansys RSM
service using the command shown below:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
job can be run in an RSM environment by right-clicking directly on the parametric setup. The Job
Management window 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.
When you have selected the scheduler, perform the following steps to submit a Large Scale
DSO job:
1. Set up and prepare the model on your local workstation. Right-click the desired solution
setup and select Validate for Large Scale DSO.
In the RSM environment, you must specify a machine list (See: HPC and Analysis
Options).
5. Open a remote desktop session (or equivalent) on the node corresponding to the first
machine in the machine list (the designated Postprocessing Node on Linux).
6. Launch Electronics Desktop on that node and open the project.
7. Verify that the model has been prepared correctly.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note:
Options vary slightly depending on the selected scheduler. See: HPC Integration.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
For Large Scale DSO, select a Single setup from the drop-down menu and ensure the
Use large scale DSO check box is selected.
l Determine whether to Use Electronics Pro, Premium, Enterprise product
licensing, whether to Monitor job, and whether to Wait for license. If you wish to
monitor jobs through Tools > Job Management, you must enable job monitoring.
l Add Batchoptions, if desired.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
When available, Use automatic settings may be selected. If it is selected, also select the
Number of variations to distribute.
The values you specify represent minimal requirements for each condition that can
interact in leading to the total resources the Scheduler derives from them. A submission
preview shows the number of resources assigned.
When automatic settings are not available or not selected, additional options appear:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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 fail.
In the Job distribution area, you can enable or disable Two-level distribution by
clicking Modify. See: Two-level Distribution Guidelines.
12. If desired, click Preview Submission to view a summary of the commands to be sent to
the scheduler. The text can be copied to the clipboard.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note:
The RSM environment does not support queuing, so clicking Submit Job starts
it immediately.
14. If you enabled job monitoring, you can monitor the job via Tools> Job Management
> Monitor Jobs. See: Monitoring Jobs.
Options:
l -help
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l -preserve
Preserves the local storage space of the distributed job for investigation into the job's run.
If local storage directory (for example, the temp directory) is provisioned by scheduler,
ensure it is also configured to preserve the job's local storage. This storage should be
deleted manually.
l -batchoptions
For each task to re-simulate its failed variations when its assigned variations
are finished, specify the FailedVarRetryCount batch option with positive
integer. Default 0; Value-Zero(0) will disable the re-simulation for failed
variations. Value ranges from 0 or positive integer.
Example:
-batchoptions <config-file-on-shared-drive>
-batchoptions "'name1'='val1' 'n2'='v2' "
l -jobid
Specify a custom job ID for the job. The job's output is organized into a folder with job ID
name. This parameter is ignored when run under a scheduler.
l -machinelist
l In the context of Ansoft RSM:
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"
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Example 2:
-machinelist "list=m1:3,m2:2,m3"
Example 3:
-machinelist "list=m1:1:3,m2:2:2"
Example 4:
-machinelist "file=machines.txt"
l In the context of a scheduler such as LSF:
Specify the portion of total machines for distributed analysis. Use remaining for
overhead or shared memory multiprocessing.
Manual Example:
-machinelist "Num=10"
Auto Example:
-machinelist "NumCores=40"
l -auto
l Run the leaf jobs in auto mode. See Submitting Large Scale DSO Job Examples.
l -numdistributedvariations:
Specify the number of parallel leaf jobs to run in auto mode. Required when running under
a scheduler. If not specified when not running under a scheduler, then the number of tasks
for each machine must be specified in the machine list. The total number of tasks will be
the number of parallel variations (leaf jobs) to run.
Example:
-machinelist NumCores=40 -auto -NumDistributedVariations 10
l -usefolderasinput
Choose this option if the job's input represents an entire folder rather than just the project
file.
l -maxfolderInMB
Specify the maximum size input folder that is allowed for a valid job (in MBytes). 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. This option applies when -
usefolderasinput is used.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l -workdir
Specifies 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.
l -meregecsv: [acrossDPs | singleDP | both]
across DPs: Merge report csv files for all design-points (variations). One file is created per
trace, across all variations.
singleDP: Merge csv files within a single design-point (variation). One file is created per
variation, per a set of traces that can be merged.
both: Merge all traces that have the same primary sweep for all design-points (variations)
into one csv file.
Interpolation note: If primary sweep values are not uniformly spaced, mergecsv is enabled
with traced values and are re-sampled uniformly using '-batchoptions' syntax as shown
below:
-batchoptions "'LargeScaleDSO/NumTracePoints'=500"
-batchoptions
"'LargeScaleDSO/NumTracePoints'='PrimarySweepName:200'""
-batchoptions
"'LargeScaleDSO/NumTracePoints'='ReportName1:Trace1:100;ReportNam
e1:Trace1:100;ReportName1:TraceName2:200'"
l -abort
Abort a running job identified through the job's working directory. Example: -abort
<projectresultsfolder-path>/>jobid>. For a complete discussion of methods
for aborting jobs or specific tasks, see the discussion of Aborting a Large Scale DSO
Simulation under Large Scale DSO for Parametric Analysis.
l -repackageresults
Choose this option to add simulations results to the input archive file. Note: this option
only applies if an archive file is provided as input.
l -batchsolve
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note:
Non-Rectangular plots of the design (for example, statistical eye and digital plot) are
not extracted.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
1. In the Project Manager, right-click Optimetrics and select Import Large Scale DSO
Solution.
Note:
You can also access this window by right-clicking Results > Dataset Solutions.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
2. Click the ellipsis button (...) and browse to select a job folder. To select a results dataset,
double-click the results folder name. Results folders are organized by the scheduler prefix
(for example, RSM) and job number.
3. Click Open to return to the Import Large Scale DSO Solution window.
4. Review the Job Folder path and Solution Name, then click OK.
Selecting a dataset enables the Delete button, which you can click to remove it.
To do so:
1. In the Project Tree, right-click Results. Select Create Dataset Report > [Report Type].
The Report window for the report type opens. See: Creating Reports.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
1. In the Project Tree, under Results, right-click the report and select Clone from Dataset
Solution > [Solution Name].
The cloned solution appears. You can now reuse the existing report definition rather than
creating a new report.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
For a complete discussion of methods for aborting jobs or specific tasks, see the discussion of
Aborting a Large Scale DSO Simulation under Large Scale DSO for Parametric Analysis.
Temp directory is either on 'local storage' or on storage that has equivalent speed
characteristics. 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: This storage is freed at the end of the analysis.)
The amount of required space depends on the number of engines per node and the
cumulative variations solved on this node
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
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note:
Major limitation: In the Ansoft RSM environment, Large Scale DSO can only be enabled for one
product.
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 OR installed on a single shared-drive available to all nodes of cluster.
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.
Important:
Limitation: Currently heterogeneous cluster (with both linux and windows nodes) is not
supported. This is due to the shared drive requirement.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The startup of each task involves copying the project and launching ansysedt to solve a subset
of parametric table. Typically, one task solves several variations and this startup cost is
negligible in comparison to total time. Consider a case where each task is solving only single
variation. Additionally the actual solve time of one variation is relatively small, 3-5 minutes.
These factors make the startup cost significant. There is also some variance in solve times of
different variations. When all variations are solved in parallel, the total time is determined by
slowest variation, even though the expectation intuitively might be relative to average time. That
could make the perception of overhead worse in this case.
Another important factor is the number of parallel tasks on each machine relative to the total
number of cores on the machine. Each task is effectively running an ansysedt of its own and
solving subset of parametric table on a copy of project. The solve process does involve
significant disk IO. If you run too many tasks on a single machine, they may end up competing
with each other for single disk, and that could cause them to slowdown. The conflict in memory
access may also become a factor.
In a particular case, 26 tasks were run on one 26 core machine, and this caused significant
slowdowns. Spreading the tasks across machines helped scalability as an example with a 32
core machines in a Linux Cloud, we ran this job with 26 tasks on a single machine and then
another one over two machines with 13 tasks per machine. The single machine job finishes in
about 14 mins, while the job on two machine finishes in about 8.5 mins. This indicates that
spreading tasks across machines helps with scalability by minimize file read/write conflicts.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Job Restart
There is no provision for stopping and restarting a job. A new job does not reuse solved results; it
always solves all rows in the table. An abort or failure of a job restarts from the beginning, unless
a new parametric table with the unsolved rows is created.
Linux-Only Issues
l Deployment/Installation errors (such as mainsoft-related) are not captured. If there is such
an issue, the Large Scale DSO job will fail without useful messages in the logs.
l Report-based extraction fails if traces and parametric-setup are not prepared as per the
Getting Started guides.
l 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'.
l 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.
l Load Balancing: For models with 'unbalanced variations table' (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.
l 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.
To increase the number of tasks that can be run on a single machine, increase this limit
gradually, as needed, in multiples of 1024 (but not exceeding 8192). Ansys in-house testing has
shown success in running up to 64 tasks on a machine with the value of 4096.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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
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.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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.
Note:
Functionality featured in the example(s) in this section applies to multiple design types.
For interactive scheduler jobs, only a limited set of batchoptions are supported. These
batchoptions include the DSO configuration options, the design-type-specific options, and the
following additional design-type-specific options that are not currently listed in the user interface
or command line help windows:
l CreateStartingMesh: Create the starting mesh only. Do not solve any other steps. Often
used for multi-step jobs where the mesh creation is solved in a separate step using fewer
resources than the rest of the analysis.
l NumCoresPerDistributedTask: Specifies the number of cores that are allocated to the
job to use for each distributed task, used when running jobs under a scheduler. The
scheduler communicates the number of cores allocated to the job on each host. This
setting is used to determine how to allocate the cores to each task.
l RAMLimitPercent: Specifies the percentage of system RAM that the analysis is
expected to use on each host. Running out of memory can cause processes to be killed
by the Operating System or other failures. The analysis will be gracefully terminated if it
requires more than this limit. Typical limits are about 90%, to allow some RAM for the
Operating System and other services. If there are multiple jobs running on a single host,
then the RAM limit should be reduced accordingly. For example, if there are two jobs
running on a host, then the limit could be 45%, which would allow 10% of the RAM for the
Operating System and other services.
l RAMLimitPerCoreInGB: This is an alternative way to specify the RAM limit, instead of
using the RAMLimitPercent. In this case, the RAM limit is the limit per core multiplied by
the number of cores allocated to the job on each host. Typically used for jobs running
under a scheduler to ensure that the scheduler memory limit and the ansysedt memory
limit are consistent.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l SolveAdaptiveOnly: Solve adaptive passes only. Do not solve any other steps. Often
used for multi-step jobs where the adaptive passes are solved in a separate step using
fewer resources than the rest of the analysis.
l TotalNumOfCores: The total number of cores for the job. This option is only used for
EKM (Engineering Knowledge Manager).
l ValidateOnly: Only validate the specified setup, design, or project. Do not analyze the
specified setup, design or project.
Any other batchoptions will result in a warning message and will be ignored.
Note:
Functionality featured in the example(s) in this section applies to multiple design types.
When running an interactive scheduler job, there is only one DSO configuration available for
each design type. Each configuration is named "Interactive Scheduler Job". This configuration is
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
always the active configuration for an interactive scheduler job. and it is the only configuration
displayed in the list of available configurations shown in the "HPC and Analysis Options" dialog
box. No configurations can be added or removed, but the "Interactive Scheduler Job"
configuration may be modified using the "Edit" button, which pops up the "Analysis
Configuration" dialog.
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.
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.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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, and RAM limit for any
machine, or specify that a machine is enabled or disabled.
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
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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 -distributed includetypes=default maxlevels=2 numlevel1=3
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 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.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Example
Command line:
ansysedt -batchoptions 'HFSS/AllowOffCore'=0
Note:
Functionality featured in the example(s) in this section applies to multiple design types.
You can use the Options tab of the HPC and Analysis Options window to examine or modify
the design type options. 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 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 line. Any changes in the GUI also update the registry
settings for the current design type.
These settings are shared between interactive scheduler mode and other modes.
Example
The following example includes two command line options, one that is applicable to HFSS
('EnableGPU') and one that is applicable to all design types ('HPCLicenseType'). These opitons
would be included as part of the complete job submission command line syntax.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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.
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. The general procedure is to specify
the scheduler and head node, describe and submit the job, and monitor the results.
Scheduler Terminology
This help uses some specific terminology when discussing HPC and schedulers. See definitions
below.
Term Definition
Core Unit of processing.
Network of machines on which jobs run. Typically consists of head nodes
Compute Cluster
and many compute nodes.
Distributed Multiple engines are launched simultaneously on the same machine or on
Processing different machines.
Electronics Desktop application (aka. executable) launched during
Engine
analysis commands to generate analysis results.
Application (aka. program, executable) with command line options that
Job uses resources to produce results. For example, hfss.exe -ng -
BatchSolve
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Term Definition
Machine/Host/Node Consists of one or more processors, memory, disk, etc.
Multiprocessing A single engine uses multiple cores on the same machine.
Job that runs on multiple cores belonging to the same or different
Parallel Job
machines.
Processor Consists of one or more cores.
Resource Machines, licenses, etc. that a job uses.
Serial Job Job that runs on a single core.
Program that runs in the background (for example, RSM Service) and
listens on a port. The OS provides the programming interface through
Service which Applications communicate with services, once the machine and
port number are known. Launching an executable on a remote machine
requires a service to run on the remote machine.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Head node(s) typically maintain 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 manage jobs.
Ansys EM must be accessible using the same path on each host. All cluster users running Ansys
EM 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
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Because HPC is offered as a direct integration, you need only install the Ansys EM software. No
additional configuration is required.
Firewall Configuration
If firewall is turned off between the machines of the cluster, there is no need for any
configuration.
LINUX
Install the Ansys Electromagnetics Suite in a common directory that is accessible using the path
/opt/AnsysEM/v241 on each execution node of the cluster.
RSM is generally 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, you may not need to install RSM. For details of installation and
configuration of RSM, see the Ansys Electromagnetics Installation Guides.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
You can use the Job Management UI to submit batch jobs to RSM. The Job Management UI is
accessed by running Ansys Electronics 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...
You can also select the Simulation tab of the ribbon, and click the Scheduler icon.
This displays the selection dialog box. The Select scheduler drop-down menu 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.
If you select Remote RSM and your environment has been configured , you can select a
computer, user name, and password.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
After selecting a scheduler, click Refresh to display information for that scheduler.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Once you have selected a scheduler supported in your environment, you can go through the
following steps to submit a batch job.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
/home/projects/spool/test.adsn).
l In the RSM environment, you are required to specify a machine-list. See: HPC and
Analysis Options. For example, say the machine-list is: 3 cores from 'm1' and 3 cores
from 'm2', for a total of 6 engines. You select the list on the Compute Resources tab of
the Submit Job to RSM window, as described below.
3. Open a remote-desktop session (or equivalent such as vnc session) on the node
corresponding to the first machine of job's machine-list, 'm1' in this case. Launch Desktop
graphically on 'm1'.
4. 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: window. You can also access Submit Job from the shortcut menus for the Project
Name, Design name, Analysis Setup, or Optimetrics Setup.
Ansys Electromagnetics Suite 2024 R1 - © 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 area, 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 accessed the Submit
Job window from the right-click menus for Setup or Optimetrics Setup, this field can be
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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 select 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
Ansys Electromagnetics Suite 2024 R1 - © 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: window, you can enable Show advanced options to display
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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 box for
Additional Job Options.
The Add... button opens a New Environment Variable dialog box in which you can
include a variable name and value.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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 box where you can change the variable and value.
Selecting Show advanced options for RSM also shows the Use batch extract fields.
Ansys Electromagnetics Suite 2024 R1 - © 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.
9. The Compute Resources tab of the Submit Job to: RSM window displays other
parameters. Depending on the resources available for a scheduler environment, some of
the fields may be disabled.
Ansys Electromagnetics Suite 2024 R1 - © 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 check box and Num variations to distribute field appear.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ansys Electromagnetics Suite 2024 R1 - © 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:
l Specify node list
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
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
If you disable User automatic selection, you can modify the Job distribution settings.
l Single level or two level distribution (single level is the default). Click Modify to display the
Job Distribution dialog box and select the Enable two level option if appplicable and
desired.
Second level distribution operates within DSO. If available and enabled you can specify a
number of engines for level 1.
Ansys Electromagnetics Suite 2024 R1 - © 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 box displays. You can select Begin monitoring this job now and click OK.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
2. You can monitor this job either automatically (by selecting the option above ) 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'
$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.
This section describes how to change the port number used by the AnsoftRSMService.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
To change the port number, both the AnsoftRSMService and the Ansys Electromagnetics
Desktop must be configured to use the new port number. The same port number must be used
for Ansys Electromagnetics Desktop and for the AnsoftRSMService process running on each
host used for the analysis.
AnsoftRSMService Configuration
The AnsoftRSMService port number is configured in the ansoftrsmservice.cfg configuration file.
This configuration file is located in the platform specific subdirectory of the RSM installation
directory.
To modify the AnsoftRSMService configuration, first stop the ansoftrsmservice, then modify the
ansoftrsmservice.cfg configuration file, then restart the ansoftrsmservice.
Note:
When using Linux, root maintains exclusive control over systemd-managed services.
Once the startonboot command has been given, only root users can start and stop
AnsoftRSMService, using the commands:
$begin 'AnsoftCOMDaemon'
$begin 'Default:CommDetails'
$begin 'CommDetails'
'ListenPort'='32958'
$end 'CommDetails'
$end 'Default:CommDetails'
If there are additional lines between the following two lines, then they should not be modified:
$begin 'AnsoftCOMDaemon'
$begin 'Default:CommDetails'
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
To change the port number, modify the ListenPort setting within the single quotes from 32958 to
the desired port number. The single quotes should not be removed or changed.
For previous versions of the software, the ansoftrsmservice.cfg file may not contain the lines:
$begin 'Default:CommDetails'
$begin 'CommDetails'
'ListenPort'='32958'
$end 'CommDetails'
$end 'Default:CommDetails'
If these lines are not present, then add them to the ansoftrsmservice.cfg file after the first line of
the file, and change the ListenPort to the desired port number. For example, to change the port
number to 32000, the beginning of the ansoftrsmservice.cfg file should look like the following
after the changes:
$begin 'AnsoftCOMDaemon'
$begin 'Default:CommDetails'
$begin 'CommDetails'
'ListenPort'='32000'
$end 'CommDetails'
$end 'Default:CommDetails'
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Under RSM Service Options, the Ansoft Service Port field shows the current
AnsoftRSMService port number.
1. Click Change to modify this setting. This opens the Change Ansoft Service Port dialog
box.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
2. Enter the new port number in the Ansoft Service Port field.
3. Click OK to close the dialog box and accept the new port number.
4. Click OK to close the General Options window and accept the changes.
See the Ansys Electromagnetics Suite 2024 R1 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
GE commands or through Electronics Desktop's Job Management interface.
GE Job Management
You can use Ansys Electronics Desktop to submit batch jobs to GE and monitor those jobs.
1. Use Tools > Job Management > Select Scheduler to select SGE/OGE/GE as the
scheduler.
2. Use Tools > Job Management > Submit Job to submit a batch job to GE.
GE-specific Settings:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l On the Compute Resources tab, click the Resource Selection Parameters ellipses
button (...) to specify the ParallelEnvironment parameter. If you do not specify
anything, the scheduler will select a parameter.
l On the Compute Resources tab, select Specify node list if you wish to specify the
nodes. 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.
l Memory resource behavior is dependent on the GE version as well as the particular
scheduler settings. The output of the qconf -sc command shows all of the
complexes available to GE schedulers. For a complex to be considered valid for
memory resource selection, it must be of type "MEMORY", have relop "<=", be
requestable (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.
For Univa GE 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
l On the Scheduler Options tab, you can Customize Job Submission. When the
Override job submission radio button is selected, user-specified options replace
most of the job submission options. When the Additional job submission options
radio button is selected, user-specified options are appended to the bsub command.
Click Preview Submission to view the qsub commands to be used to submit the job.
3. Use Tools > Job Management > Monitor Job to monitor the job's progress.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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 from 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 2024 R1 - © 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 2024 R1, 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.
Scenario 2: The post-processing node and job-submission node roles are served by the
same machine.
The Select Scheduler... command 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: Selecting a 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.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
qacct -j job-id: Displays a log of the completed job with the specified job ID (if accounting is
enabled)
qstat -j job-id: Displays a log of the running job with the specified job ID
qconf -sp pe-name: Show details of the parallel environment with the specified name
qconf -sq queue-name: Show details of the queue with the specified name
The SGE qsub command may be used to submit Ansys EM jobs. Typical command formats are:
qsub qsub_args ansysEM_exe ansys_args
qsub qsub_args job_script
qsub qsub_args[ -]
where:
l qsub_args are the options of the qsub command,
l ansysEM_exe is the pathname of the Ansys EM tool executable to launch,
l ansys_args are the arguments to the Ansoft tool command, and
l job_script is a shell script containing the Ansys Electromagnetics desktop command to
run.
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.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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, 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.
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.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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).
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.
The suggestions below are for GE serial jobs and GE parallel jobs.
GE qstat Command
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The SGE qstat command may be used to display information on jobs and queues. If the -j option
is included, then information on jobs is displayed. If the option includes a job list ( -j [ 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.
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_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.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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 2024 R1 - © 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/v241/Linux64/ansysedt -ng -
BatchSolve -machinelist num=1 ~/projects/OptimTee.aedt.
Ansys Electromagnetics Suite 2024 R1 - © 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/v241/Linux64/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.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l name : mem_free
l shortcut : mf
l type : MEMORY
l relop : <=
l requestable : YES
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 job is
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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
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
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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
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/v241/Linux64/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 "\"".
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l mwrpcss
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
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
exit $?
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 3D
Layout, and Icepak 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.
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
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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 '
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 box 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.
l Submitting and Monitoring Jobs for Windows HPC
l Specifying the Number of Compute Resource Units for HPC Jobs
Jobs may be submitted from any Microsoft Windows host meeting the following requirements:
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 2024 R1, 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.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Job Monitoring
1. Windows HPC Jobs may be monitored using the Monitor Job dialog box, which is brought
up by the Tools > Job Management > Monitor Jobs... command. This dialog bos 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 box. You can also select the
Simulation tab of the ribbon and select the Monitor icon. 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 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.
This opens the Select Scheduler dialog box. Specify Windows HPC as the scheduler.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
After specifying the cluster head node, 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 box. Pressing OK verifies that the head
node can be contacted before accepting the changes. If no problem occurs, the dialog box will
close. If there is a problem contacting the head node, the dialog box will not close and the
changes will not be accepted.
After setting the job submission node, perform one of the following:
l Select Tools > Job Management > Submit Job...
l Click Project > Submit Job...
l Click Q3D Extractor > Submit Job...
l Select the Simulation tab and click the Submit icon.
l Use a shortcut menu to select Submit Job.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
On the Analysis Specification tab, enter path names for the Product and Project. 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 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
You can select which setups are analyzed in the Analysis Setups area of the dialog box. There
are radio buttons to select:
l All setups in the project
l All setups in a specified design (you select the design from the drop-down menu)
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Single setup (if you selected the Submit Job command from the shortcut menu, the setup
name populates the field)
If you specify multiple setups, they will be processed sequentially in the order displayed in the
edit box.
This dialog box 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 2024 R1 - © 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 box.
If you have the Show advanced options box checked in the Submit Job dialog box, the
Environment field and the Use batch extract fields display.
Ansys Electromagnetics Suite 2024 R1 - © 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 box.
Click the Add... button to open the New Environment Variable dialog box.
Ansys Electromagnetics Suite 2024 R1 - © 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 box.
Select a variable to enable the Remove and Edit... buttons. You can also click Add Debug
Environment Variables.
Note:
For certain methods of resource selection for Windows HPC job submission, Ansys
Electronics Desktop checks for nodes being online. In an auto-scaling cluster, nodes
can fail the online check because they're not online until a job is running. An
environment variable allows customers to bypass this check:
ANSYSEM_SKIP_NODE_ONLINE_CHECK
Set the variable value to 1 to disable the online check. Debug logging fully verifies what
aspects of the cluster are causing this check to fail.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
values: 0 or 1 (0 = disable; 1 = enable, i.e. require nodes to be online for submission). Default: 1
(if not set, Ansys Electronics Desktop requires nodes to be online for submission).
If you have enabled Show Advanced Options, any variables that you add will be displayed in
the Environment field of the Submit Job dialog box.
Enabling Show Advanced Options for Windows HPC also displays the Use batch extract
check box and script path field.
See Running Ansys Electronics Desktop from a Command line for an explanation 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 box.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
For Ansys Electronics Desktop configurations, the Submit Job To dialog box includes a Use
automatic settings check box that simplifies the Compute Resources tab.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
With Use automatic settings selected, the Job distribution field is removed. When using
automatic settings, you can specify Resource selection parameters. The ellipsis button [...]
opens the Compute Resource Selection Parameters dialog box. If you do not specify any
parameters, the default is "Using machines from entire pool."
The Method field of the Submit Job To dialog box has a drop-down menu with two or three
selections, depending on whether you select Use automatic settings.
Ansys Electromagnetics Suite 2024 R1 - © 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:
For Windows, there is a 64 core limit for a single machine. Each Method selection changes the
available options listed:
l Specify Number of Cores and (Optional) RAM
Ansys Electromagnetics Suite 2024 R1 - © 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 2024 R1 - © 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 box.
Ansys Electromagnetics Suite 2024 R1 - © 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
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Single level or two level distribution (single level is the default). Click Modify to display the
Job Distribution dialog box and select the Enable two level option if applicable and
desired.
l Second level distribution operates within DSO. If available and enabled you can specify
the number distributed solutions for level 1.
Ansys Electromagnetics Suite 2024 R1 - © 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.
Scheduler Options
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 2024 R1 - © 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 box,
AnalysisSpecification tab, you can invoke the Monitor Job window by clicking Tools > Job
Management > Monitor Jobs... This dialog box may also be brought up by checking the Begin
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
monitoring this job now check box when a job is successfully submitting using the job
submission dialog box. For more details, see: Monitor Jobs Window.
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 Microsoft
HPC Pack 2019: Job Templates white paper from Microsoft for additional details:
https://learn.microsoft.com/en-us/powershell/high-performance-computing/job-
templates?view=hpc19-ps
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.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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. For Windows, there is a
64 core limit for a single machine.
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.
Here:
l cluster_name = the name of the cluster (hostname of the head node)
l domain = optional domain name; if omitted, the following \ should also be omitted
l user = user name
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
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
See the Ansys Electromagnetics Suite 2024 R1 Linux Installation Guide for additional
information on supported schedulers.
Note:
If a temp directory is setup by the LSF cluster administrator, analysis engines use this
temp directory, overriding the setting in the Ansys EM product.
1. Use Tools > Job Management > Select Scheduler to select LSF as the scheduler.
2. Use Tools > Job Management > Submit Job to submit a batch job to LSF.
LSF-specific Settings:
l On the Compute Resources tab, click the Resource Selection Parameters ellipses
button (...) to specify the following:
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 – the minimum number of cores allowed on a node to be eligible
for selection; translates to bsub -R select[ncpus>=N]
l MaxCoresPerNode – the maximum number of cores allowed on a node to be
eligible for selection; translates to bsub -R select[ncpus<=N]
l MinMemoryPerNode – the 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]
l MaxMemoryPerNode – the maximum 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 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l For LSF, the only non-automatic method of Resource Selection 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.
3. Use Tools > Job Management > Monitor Job to monitor the job's progress.
For example:
bsub -n 1 ansysedt.exe -Batchsolve -ng -local -machinelist num=1
OptimTee.aedt
bsub -n 4 ansysedt.exe -Batchsolve -ng -Distributed -machinelist
num=4 OptimTee.adsn
The job is queued by LSF until the requested resources are available. Upon resource
availability, LSF starts Electronics Desktop with the specified command line on one of the
allocated machines. During analysis, Electronics Desktop dynamically obtains the allocated
'Distributed Analysis Machines' from LSF. Electronics Desktop interfaces with LSF to launch
engines on remote machines without going through Ansys RSM.
Ansys Electromagnetics Suite 2024 R1 - © 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 2024 R1 Linux Installation Guide for additional
information on supported schedulers.
Setup:
Permissions:
l All users of the cluster should have read/write permissions to temp directory.
l All users should have read/execute permissions to installation directory.
l Turn OFF firewall between cluster nodes.
When a desktop scheduler GUI is run the same node as the job submission node, no other
configuration is necessary; installation is sufficient. Select the scheduler through the Electronics
Desktop GUI. Ensure that scheduler commands are available in the path before you launch
Electronics Desktop.
Note:
There is no need to install RSM unless you are using the scheduler GUI on a post-
processing node that is different from the job submission node. In this case, RSM must
be configured with the scheduler type and path.
A post-processing node is a node in the cluster that can run Electronics 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_
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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. In Ansys Electromagnetics Suite 2024 R1, 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.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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.
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 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".
where:
l bsub_args are the options of the bsub command,
l ansysEM_exe is the pathname of the Ansys Electromagnetics desktop executable to
launch, and
l ansys_args are the arguments to the Ansys Electromagnetics desktop executable.
bsub Arguments
The bsub command has a large number of options that may be used to control the submission
process. Only a few options that are often used with Ansys Electromagnetics jobs are listed
here. The following options may be used to submit serial or parallel LSF jobs.
-nmin_proc, max_proc or -nmin_proc
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
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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 LSF documentation for a complete list of options for the bsub command.
Important:
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, these special characters must be properly quoted to ensure that the
correct command is launched by LSF. A similar problem may occur if any of the ansoft_
args require single quote, double quote or space characters. Note that the Ansys
Electronics Desktop command is processed by the shell twice: once when the bsub
command is processed, and again when the job starts. See: Example Command Lines.
Note:
The following examples use HFSS as the product, but similar command lines will work
for all Ansys EM products.
Serial Job
bsub -n 1 -R "select[mem>4000]"
/Program Files/AnsysEM/v241/Win64/ansysedt -ng
-BatchSolve -machinelist num=4 ~/projects/OptimTee.aedt
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
bsub -n 4 -R "span[ptile=4]"
"/Program Files/AnsysEM/v241/Win64/ansysedt -ng -BatchSolve
-batchoptions -machinelist num=4 ~/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 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 "\"".
If a command is included in the bsub command line, the entire command will be processed by
the command shell two times. The command is processed when the bsub command is
processed by the shell and is processed again when the command is started by the scheduler.
This example shows how to use a shell script so that the command line will be processed only
once. The command is placed in the shell script, and then the shell script pathname is placed in
the bsub command line. Then, the 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.
#!/bin/csh
/Program Files/AnsysEM/v241/Win64/ansysedt -ng -BatchSolve
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The suggestions below are for batch jobs run under LSF.
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 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.
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.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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. 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.
Stop a job cleanly - ensures that the results obtained until now are preserved:
bkill -s TERM <jobid>.
Stop an job abruptly - results are most likely lost. You have to manually remove the project lock
file:
bkill <jobid>
LSF Troubleshooting
The following are general troubleshooting steps:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
For example:
l Are the executable path and project path correct and complete?
l Are there sufficient resources (CPU/Memory/Disk) allocated to the job?
l Is the project available on the execution host?
l Does the job submitter have read/writer permissions on the project directory and
read/execute permissions on the installation directory?
l Is the project locked?
3. Determine whether this is a standalone product issue.
l Run Electronics Desktop on the machine outside of the scheduler and see if it opens
and analyzes.
4. Examine outputs and logs.
l Output of the LSF batch job. Obtain this using LSF commands: "bacct -l
<jobid>"
l Batch log (typically <projectname>.log, located in the project directory.
5. Enable additional debug logs using the steps below.
See the Ansys Electromagnetics Suite 2024 R1 Unix/Linux Installation Guide for additional
information on supported schedulers.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
1. Use Tools > Job Management > Select Scheduler to select PBS as the scheduler.
2. Use Tools > Job Management > Submit Job to submit a batch job to PBS.
PBS-specific Settings:
l On the Compute Resources tab, click the Resource Selection Parameters ellipses
button (...) to specify either the Queue or QueueAtServer parameter.
For Queue, you may select a queue for the job from the list of queues configured for the
default server. Only queues that are enabled and that do not have the from_route_only
attribute set to true are listed.
For QueueAtServer, you may specify a queue at the default server or at another server
by entering text into this field in one of three formats:
l queue_name
l @server_name
l queue_name@server_name
The queue_name format submits with the name queue_name. The other formats
submit with the 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.
Either Queue or QueueAtServer may be specified, but both may not be specified. If
neither Queue nor QueueAtServer is specified, the job is submitted to the default
queue at the default server.
3. Use Tools > Job Management > Monitor Job to monitor the job's progress.
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. The environment variable PBS_CONF may be used to specify a different
pathname for the PBSPro configuration file.
PBS/Torque
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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.
PBS Limitations
General Limitations
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.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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 'Managed COM Servers'
$end 'Managed COM Servers'
$begin 'Scheduler'
'SchedulerName'='pbs'
'ConfigString'='/share/pbs/default/bin'
$end 'Scheduler'
$end 'AnsoftCOMDaemon'
where:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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.
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 (e.g., .cshrc,
.profile, .bashrc) 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 Monitoring 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.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The suggestions below are for 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.
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.
Ansys Electromagnetics Suite 2024 R1 - © 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
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 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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
Serial job that needs a minimum of 4GB memory and two hours of real (wallclock) time:
qsub ~/pbs_scripts/OptimTee.sh
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
When you submit a job to SLURM scheduler or Remote RSM to a SLURM cluster, you can use
their own job options to override job options in the Scheduler Options tab. If you want to do
that, the override job options must have "--export=None".
Consult the Linux Installation Guide for additional information on supported schedulers.
Environment Variables
There are some environment variables for the Generic Scheduler proxy. All environment
variables apply on both Desktop and RSM Service.
ANSYSEM_GENERIC_SCRIPT_DIR
This variable adds a customized directory to be searched for proxy scripts. The path can be any
form of following addresses. Persistence script path will not change.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
This variable adds customized directories to be searched for proxy executables. Mono
executable and IronPython executable should be specified when they are not in the Ansys
Electronics Desktop installation. This environment variable must be set for RSM Service.
ANSYSEM_GENERIC_PROXY_PERSISTENCE
If set, this variable redirects the persistence script location to be used; otherwise, the default
persistence script path is used.
ANSYS_EM_EXEC_DIR
Set this variable to the same value with ANSYS_EM_INSTALL_DIR (not the RSM service path).
To ensure the RSM service can accurately locate the essential script files required for MPI
integration, it is necessary to set this variable within the RSM service environment.
Configuration File
The configuration file "proxies.cfg" is located at ${ANSYS_EM_INSTALL_DIR}/schedulers/. The
file can have multiple scheduler configurations. The file content and explanation are below.
# Proxy Scripts
SubmitJob=scripts/SLURM_SubmitJob_linux.py
ControlJob=scripts/SLURM_ControlJob_linux.py
GetSchedInfo=scripts/SLURM_GetInfo_linux.py
GetJobState=scripts/SLURM_GetJobState_linux.py
GetRunInfo=scripts/SLURM_GetRunInfo_linux.py
LaunchProcess=scripts/SLURM_LaunchProcess_linux.py
# Persistence Mode
Persistence=Yes
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Persistence Mode
Persistence mode uses a persistent process to communicate with Ansys Electronics Desktop
and proxy scripts. If persistence mode is disabled, Ansys Electronics Desktop uses proxy scripts
directly. Enabling persistence mode may help speed up communication with proxy scripts. Note:
disabling persistence will cause large delays in GUI functionality. The primary use case of
disabling persistence is to support troubleshooting.
l To enable persistence mode, make sure "Persistence=Yes" is in configuration file before
launching Ansys Electronics Desktop.
l To disable persistence mode, make sure "Persistence=No" is in configuration file before
launching Ansys Electronics Desktop.
Then, launch ansoftrsmservice in the AnsysEM RSM installation folder. (Be sure not to
confuse AnsysEM (Ansoft) RSM with Ansys RSM since these are two very different things.) It is
recommended that the user for ansoftrsmservice should be a dedicated service user account
for only running ansoftrsmservice. This account should have limited permissions for security
reasons. The service user should not have a login. It is recommended to disable login, so that
the only way to run as the user is to “su” to that user from the root (or other accounts with sudo
permissions). Other users can use any account credentials in the Desktop Select Scheduler GUI
to submit jobs as the requested user.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
1. Click Tools > Job Management > Select Scheduler..., or select the Simulation tab on
the ribbon, and click the Scheduler icon.
2. Select SLURM from the drop-down menu; or, if the Remote RSM service is used, fill in
scheduler master node address, and use valid account credentials.
3. Click Refresh.
Job submission and monitoring follow the same process and method as using other
schedulers. Currently, submission using a node-list is not supported.
5. Use Tools > Job Management > Monitor Job to monitor the job's progress.
Enable SSH:
<design-type>/RemoteSpawnCommand = “SSH”
Ansys Electromagnetics Suite 2024 R1 - © 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) 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
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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.
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.
Installation Requirements
The Ansys EM installation directory 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 path.
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 path.
Installation Details
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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
Files\AnsysEM\v241\Win64, then the scheduler proxy library must be installed in directory
C:\Program Files\AnsysEM\v241\Win64\schedulers.
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.
The proxy library should be compiled and linked as a 64 bit DLL, using the following
recommended compiler and linker options:
Compiler Options
l Use of MFC: Use Standard Windows Libraries
l Character Set: Use Multi-Byte Character Set [/D "_MBCS"]
l Runtime Library: Multi-threaded DLL [/MD]
l Calling Convention: __cdecl [/Gd (default)]
Linker Options:
l Create a DLL [/DLL]
l 32 bit code [MACHINE:X64]
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++:
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:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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
Returns true if the current process is running as a job of the scheduler. Otherwise, false is
returned.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note:
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.
Note:
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.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
GetMachineListAvailableForDistribution
Purpose
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.
Note:
l 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.
l 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
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Signature
extern "C" bool FN_PREFIX_GetMessageStringToRegisterForSigTerm
(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 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.
Note:
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
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Arguments
Return Value
Note:
l The hostName argument will be one of the hostnames provided by the function
GetMachineListAvailableForDistribution().
l 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.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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
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.
Note:
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
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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.
Note:
l 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.
l For many schedulers, the job ID may be obtained from the value of an
environment variable.
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.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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.
Note:
l 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.
l The scheduler display name is generally a fixed string.
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.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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.
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., frequency
sweep, 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:
l One processor on one host
l Several processors on one host
l One processor on each of several hosts
l Several processors on each of several hosts
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
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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., frequency sweep, 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 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.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Troubleshooting GetThisJobID
l Troubleshooting GetTempDirectory
l Troubleshooting GetMachineListAvailableForDistribution
l Troubleshooting LaunchProcess
l Troubleshooting GetUseRsmForEngineLaunch
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 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.
Ansys Electromagnetics Suite 2024 R1 - © 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 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.
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.
Ansys Electromagnetics Suite 2024 R1 - © 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 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.
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.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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\v241\Win64, then the IronPython program must be installed in directory
C:\Program Files\AnsysEM\v241\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.
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):
return "Example python script plugin extension"
. . .
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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.
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
Note:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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
Note:
IsProductLaunchedInYourEnvironment [IronPython]
Purpose
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.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note:
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.
Note:
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
GetThisJobID(self)
None.
Return Value
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note:
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.
Note:
If this function returns True, then the plugin extension will directly launch only one
process on each host.
GetTempDirectory [IronPython]
Purpose
Ansys Electromagnetics Suite 2024 R1 - © 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.
Note:
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
Note:
GetMachineListAvailableForDistribution [IronPython]
Purpose
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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
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.
Note:
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)
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Return Value
Note:
l The hostName argument will be one of the hostnames provided by the function
GetMachineListAvailableForDistribution().
l 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.
l 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.
Initialize the proxy library for scheduler interaction. The config argument contains scheduler
specific initialization information.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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 tab or the Submit Job To dialog box allows the user to specify
scheduler specific resources. This function returns the information used to create and
populate the Compute Resource tab.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Each line in the dialog box 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 2024 R1 - © 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 If the request is successfully submitted, then 0 is returned.
l If there is an error, then 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:
l the total number of distributed engines,
l the number of cores to allocate for each distributed engine,
l the maximum number of engines to allocate to a single node (optional), and
l the number of cores to allocated for the non-distributed portion of the analysis.
l It also contains a boolean parameter indicating whether nodes used for this job should be
exclusively allocated to this job.
Ansys Electromagnetics Suite 2024 R1 - © 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 tab of the Submit Job To dialog box. If no resource attributes are specified
by the user in this dialog box, 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 Scheduler Options tab of the Submit Job To dialog box allows the user to either specify
additional job submission options or to specify all submission options, replacing the settings from
the other Submit Job To dialog box controls.
Ansys Electromagnetics Suite 2024 R1 - © 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.
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:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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 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.
Important:
For this release you can submit HFSS, HFSS 3D Layout, Icepak, Maxwell 3D, Maxwell
2D, Mechanical, Q3D Extractor, and 2D Extractor jobs, monitor their progress, and
download and post process the results. Other solvers are either in Beta or are not yet
supported for Ansys Cloud.
Uploads to and downloads from Ansys Cloud use archives to improve speed. The Project
browser shows both .aedt and .aedtz (archive) files. If you submit an unarchived project, an
archive will be automatically created for upload. When the job completes, the results are
packaged into an archive. When the download is initiated, the repackaged archive file is
transferred to the download folder along with the other job-related files, such as the log.
For single setups, you can use multi-step submission. This separates the resource specification
and reporting as appropriate for each stage of the solve.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l You must select Ansys Cloud as your Job Management Scheduler, and, if necessary, log
in to the Ansys Cloud Service using the Ansys Discovery Account and associated
password.
1. Use Tools > Job Management > Select Scheduler to select Ansys Cloud as the
scheduler.
After a successful login, you may not need to log in again for several days if you do not log
out.
If you wish to log out, click Log out from the Select Scheduler window.
3. Use Tools > Job Management > Submit Job to submit a batch job to Ansys Cloud.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l On the Compute Resources tab, select a Config size and style (Flexible or fixed)
based on the following:
l Small: 16 cores, 1 node, 224 GB RAM total
l Medium: 32 cores, 2 nodes, 448 GB RAM total, Infiniband
l Large: 128 cores, 8 nodes, 1792 GB RAM total, Infiniband
l Extra Large: 256 cores, 16 nodes, 3584 GB RAM total, Infiniband
l XXL: Even larger.
l Flexible: Flexible queues permit the following resource selection methods:
Automatic Number of Nodes and Cores, Manual Number of Tasks and Cores. If you
select a Flexible queue for manual Number of Tasks and Cores, you will see a new
item in Resource Selection for "Total number of nodes" replacing the "Limit number
of tasks per node to" option that appears for fixed queues.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Important:
l On the Compute Resources tab, 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. 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.
l In response to a set of minimal constraints, Ansys Cloud 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. Click
Preview Submission to see the number of resources assigned, and that the
scheduler-generated code includes an MPI specification.
l To use Multi-Step Submission on Ansys Cloud, you must specify a single setup on
the Analysis Specification tab.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Click the Multi-Step button to open the Compute Resources for Multi-Step Jobs
dialog box. It has tabs for Starting Mesh, Adaptive, and Sweeps.
On the Adaptive tab, you can Use automatic settings, or specify Resource
Selection
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Click the Modify... button on the Adaptive tab to open the Job Distribution dialog box.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The Sweeps tab lets you specify resources or Use automatic settings.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The Sweeps tab includes an independent Modify... button to specify Job Distribution.
Select automatic settings, or specify different resources for each step. When a job is
finished, that is, on the last step, reports update and traces are extracted into CSV files.
If select fixed queue for automatic sections, the Resource selection panel only allows
cores and has RAM with RAM disabled:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
If you select flexible queue for automatic settings, The Resource selection panel only
allows nodes and cores for a flexible queue:
4. Use Tools > Job Management > Monitor Job to monitor the job's progress.
5. You will receive an email when the job has started, and another when it has finished.
6. Use the link in the email (or the Portal button on the job monitoring window) to launch the
Ansys Cloud Portal and view detailed results:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
These environment variable settings will override any attempts from the user to set the same
environment variables:
l ANS_NODEPCHECK=1
l ANSYSEM_FIX_REVERSE_LOOKUP=1
l ANSYSEM_DESKTOP_SUBNET_FROM_COMENGINE_ADDR=1
To keep downloaded files that help with troubleshooting, enable the environment variable
ANSYS_EM_PRESERVE_DOWNLOAD_FILES.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Debug logs (and other files generated in the working directory) from remote nodes are
automatically collected.
The license type batch option ("HPCLicenseType") is forced to be "Pack" because Cloud is
configured to only work with pack licensing. The following MPI batchoptions are automatically
set as "Intel" because Ansys Cloud is configured to only work with Intel MPI.
l HFSS 3D Layout Design/MPIVendor
l HFSS/MPIVendor
l Icepak/MPIVendor
l Maxwell 2D/MPIVendor
l Maxwell 3D/MPIVendor
l Q3D Extractor/MPIVendor
Selecting a Scheduler
Access the Select Scheduler window one of three ways:
l Click Tools > Job Management > Select Scheduler...
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note:
l If applicable for the scheduler type, enter server and user information.
l Information about the selected scheduler appears in the Scheduler info field.
l Click OK to complete your selection.
These settings may be used to specify the MPI Vendor and Version for distribution via MPI.
Go to the Options tab of the HPC and Analysis Options dialog box, and select the design
type. Then you can select the MPI Vendor and MPI version.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
MPI Vendor
The default MPI Vendor is "Intel". On Linux, "Intel" is the only supported MPI vendor. On
Windows, both "Intel" and "Microsoft" are supported MPI vendor options. For jobs distributed to
multiple hosts, the "Microsoft" MPI Vendor is only supported when running as a Windows HPC
job.
MPI Version
If only a single MPI Version is supported for the selected MPI Vendor, then the MPI Version
option is ignored. Multiple versions are only supported for Intel MPI, as follows:
l The value "Default" indicates that the default Intel MPI version should be used. This is
Intel MPI 2018 in most cases.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l The value "2018" indicates that Intel MPI 2018 should be used.
l The value "2021" indicates that Intel MPI 2021 should be used.
Submitting a Job
Ansys Electromagnetics Desktop supports its own Remote Simulation Management (RSM) and
Ansys Cloud software along with other High Performance Computing (HPC) software
management programs (See: HPC Integration). The Simulation tab of the ribbon includes
icons for setting HPC Options, creating and selecting analysis configuration, selecting the
scheduler, submitting jobs, and monitoring jobs.
There are two ways that the GUI may be used to submit jobs. The first (and most common) 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 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)
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
process on another host (which may be called the post-processing 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 (for example, root), so that
it can launch processes as any user. This mode is useful for cases in which the submission hosts
are not able to run graphical processes.
Note:
For certain methods of resource selection for Windows HPC job submission, Ansys
Electronics Desktop checks for nodes being online. In an auto-scaling cluster, nodes
can fail the online check because they're not online until a job is running. An
environment variable allows customers to bypass this check:
ANSYSEM_SKIP_NODE_ONLINE_CHECK
Set the variable value to 1 to disable the online check. Debug logging fully verifies what
aspects of the cluster are causing this check to fail.
To submit a job:
The Submit Job To window appears. The window header indicates your selected
scheduler.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The Product path and Project fields support mapped drives. Click the ellipses (...) to
select files.
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. After clicking
the Project path field's ellipsis button (...), a check box allows you to 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.
In the Analysis Setups area, select the radio button for All setups in project, All setups
in design, or a single setup.
For Parametric setups, you have the option to select Use Large Scale DSO. See: Large
Scale DSO for Parametric Analysis.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
9. If applicable, select the Scheduler Options tab and set the Job name and Priority.
14. Click Submit Job to submit the job to your selected scheduler.
Batchoptions
In the Submit Job To window, under Batchoptions, click Add to open the Add Batchoption
window.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The Show registry key entries drop-down menu allows you to select categories of registry
keys to display.
Note that Display only frequently used is selected by default. Deselect this to view all options
for the selected category.
Select a registry key to activate the Value field, where you can enter a value. Selecting a key
also populates the bottom of the window with a description of that key:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Environment Variables
In the Submit Job To window, under Environment, click the ellipses (...) to open the
Additional Job Options window.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Active variables display a value of 1. Inactive variables display a value of 0. Non-binary variables
may contain project paths, integer values, etc.
Batch Extract
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
In the Submit Job To window, select Use batch extract to enable the Script path field. Click
the ellipses (...) to browse and select a VBscript or Python script to execute along with the job.
See: Running Ansys Electronics Desktop from the Command Line for a description of Batch
Extract.
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:
l "Serial Job on a Single Processor" on the next page
l "Distributed Job Using Four Processors" on the next page
l "Multiprocessing Job Using Four Cores" on the next page
l "Distributed Analysis and Multi-Processing in the Same Job" on page 5-197
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
LSF
bsub -n 4 C:\Program Files\AnsysEM\v241\win64\ansysedt.exe -ng -
Batchsolve -monitor
-Distributed -machinelist num=4
\\shared_drive\projs\OptimTee.aedt
This requests 4 cores to come from the same machine, as multi-processing needs cores to be
on the same machine
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Important:
The Design Type of the DSO configuration must match the design type of one of
the designs in the project, so the Project path must be specified before using
the Import Configuration button.
Scripting
The SubmitJob scripting command uses job submission settings that have been exported from
the Submit Job window to an *.areg file. The path to this *.areg file is the first argument to the
SubmitJob scripting command. See: Job Submission Scripting.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
the first job to do initial meshing and adaptive passes, only reserving a single compute node, or
maybe even reserving just a partial node. The second job can then do the frequency sweep(s),
reserving and using multiple nodes. Note that while the first job runs, because it may only be
using one node, other nodes are available for other jobs. The Ansys Electronics Desktop job
submission GUI allows you to submit multi-step jobs, and specify compute resources individually
for each step. Electronics Desktop can also be used to monitor the execution of multi-step jobs.
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. 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
shortcut menu. This pre-populates the Submit Job To window's Analysis Specification tab for
the selected setup. Select the Compute Resources tab. If the design setup and selected
scheduler allow for multi-step submission, and your computing resource supports it, the
Compute Resources tab shows the Multi-Step... button and the Use multi-step submission
check box is enabled.
If the Multi-Step button and check box 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.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
On the Compute Resources tab, check the Use multi-step submission box and select the
appropriate submission option, that is:
l Two Steps for Adaptive and Sweeps
l Three Steps for Mesh, Adaptive, and Sweeps
Then click Multi-Step…, which will bring up a Compute Resources for Multi-Step Jobs dialog
box where there is a tab for each step used, that is for potential for Mesh, Adaptive, and Sweeps.
Ansys Electromagnetics Suite 2024 R1 - © 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.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Set the desired compute resources for each step and click OK.
The Summary field of the Compute Resources tab shows a text summary of resource
specifications used for each step.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
There is a new Fix job name as necessary check box 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 Preview Submission, 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 Submit Job, 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 Browse can to select the project.) Note that you must also select a single nominal setup
before the Use multi-step submission check box is enabled on the Compute Resources tab.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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.
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 following
table:
SLURM: 'generic'
IBM Spectrum LSF: ’’ (not required)
PBSPro or Torque:
ConfigString Directory containing ’/opt/pbspro/PBSPro_
scheduler commands 13.0.0/default/bin’
SLURM:'{"Proxy":"slurm"}'
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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.
In order to obtain full monitoring information from a job, the Windows host needs access to some
of the job processes. That is, the Windows monitoring host requires network access to the
processes 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:
l IBM Spectrum LSF
l Univa Grid Engine (GE)
l PBSPro
l Torque
If you select the Use a computer on the network option, you can enter a username and
password. This username and password are used when the job is submitted to the Linux
scheduler.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Submit Job
In the Submit Job To window, you must enter the Linux path to the product in the Product path
edit control. The browse button (labeled “...”) may not be used to browse for the product. There is
no requirement for the product installation directory to be accessible from the Windows GUI
host.
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.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The Options button opens a window that you can use to specify archive options for a job. The
lower portion of this window 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 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
If you specify a project in an archive, the window 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 2024 R1 - © 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 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Jobs are submitted to the Linux cluster using the user name and password entered in the Select
Scheduler window. These settings are persistent; in general, these settings need to be entered
only if they change. To ensure security, user passwords are stored in an encrypted format.
When a job 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.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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” check box disabled for Windows
HPC jobs, so that “exclusive” jobs cannot be submitted to a Windows HPC cluster. The
“exclusive” check box is now enabled for Windows HPC jobs. This allows you to submit
exclusive jobs to a Windows HPC cluster. If this check box 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 2024 R1 - © 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."
The Job Scheduler Configuration dialog box pops up, as shown below.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The cluster administrator may now select a radio button to select the desired Affinity Type:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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" check box 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" check box. In previous releases, this check box 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 2024 R1 - © 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 2024 R1 - © 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:
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.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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" check box 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" check box. In previous
releases, this check box 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
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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" check box 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" check box. In previous releases, this check box 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 configuration.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The following figure shows the Job Preview for this case, indicating that the exclusive parameter
for the job is true.
If the exclusive check box is unchecked, then the job is submitted with the exclusive parameter
set to false. The following figure shows this configuration.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The following figurescreen shot PreviewCoresAndRAMNonEx.png shows the Job Preview for
this case, indicating that the exclusive parameter for the job is false.
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
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
automatic settings" check box 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 check box 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.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
the design name (if restricting the solve to a particular design), and the setup name (if further
restricting the solve to a single setup within a design).
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 job submission window. 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 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.
The typical scenario for job submission scripting would be to do the following:
1. Manually select the scheduler. Use the Select Scheduler window to open the Submit
Job To window.
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
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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 > Q3D ExtractorScripting Help) for details on the
SelectScheduler, SubmitJob, LaunchJobMonitor and RefreshJobMonitor commands.
Monitoring Jobs
There are a number of tools that allow you to monitor jobs, including the Monitor Job window
and detailed .log files.
l Monitor Job Window
l Monitoring Ansys Cloud Jobs
l Monitoring Large Scale DSO Jobs
l Web Client for Batch solve Monitoring and Reporting
To monitor jobs:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note:
The window may look slightly different, depending on your selected scheduler and
design type.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The arrow button opens a menu that allows you to either Abort that analysis, or perform a
Clean Stop.
l Refresh Job Output – Allows you to select either manual or automatic refresh for the
Monitor Job window.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
To display less information, deselect Show analysis details. This removes the Simulation,
Design Variation, Profile, and Convergence information, instead displaying only Messages
and Progress.
Monitor job on Portal Opens a Portal Web interface that lets you monitor an Ansys Cloud
job. The additional menu options for Portal are for multi-step submissions, opening the
Portal Web interface directly to folders with Starting Mesh Files, Adaptive Files, or
Sweeps files.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Download – button that allows you to download the results, s-parameters, or specified
files. These are saved in a folder with same name as the job ID inside the /<project-
name>.aedtdownload folder (or /<project-name>.aedtzdownload folder, if the
submission was based on an archive). You can also select the Auto Download Results
check box to have the results downloaded to this location automatically.
If you choose to Download Files, the Download Cloud Files dialog box appears:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Specify the types of files you want to download (separated by semicolons) and click OK.
Drop-down boxes allow you to filter which Nodes and Tasks to display in the tree.
After you have selected the scheduler to use, when you access the Submit Job To: dialog, you
well see Enable Web Client checked.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
After specifying the project path and setting other parameters, you can then select Submit Job.
This opens the Monitor Job dialog for your scheduler, which includes the Open Web Client
button.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Click Open Web Client to open the Web Client in your default browser.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Aborting an Analysis
To end the solution process before it is complete:
l Right-click In the Progress window and click Abort.
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.
You must manually remove any solved results you do not want to keep.
To abort the solution process after the current adaptive pass or solved frequency point is
complete:
l Right-click the Progress window, and click Clean Stop on the shortcut menu.
The solver ends the analysis after the next solved pass or frequency point.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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.
Linux
For Linux, you can use TERM commands. Sigterm handling is done in the Desktop library. You
can abort a running batchsolve by sending a TERM signal to hfss.exe
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 (e.g., saving the results computed so far) should be same as if you interactively
aborted AnsysEDT solve. if AnsysEDT is 'busy' (e.g., doing Optimetrics calculation, 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
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
5. When making a change to any beta option, you may be prompted to restart the Ansys
Electronics Desktop application. If prompted, click Yes to do so.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The Open MPI option will now be available in the MPI Vendor drop-down menu within the
Options tab of the HPC and Analysis Options dialog box. You only need to perform this
procedure once; the Open MPI option will remain available for future sessions and
projects.
5. Click OK.
You can then run the simulation on a Linux cluster as follows.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
6. In the Project Manager, right-click the solution setup to solve and choose Submit Job
from the shortcut menu.
7. Specify the desired parameters and click Submit Job.
In the Submit Job dialog box, Open MPI is included as a batch option for each supported
design type along with other applicable batch options.
The following example is for an HFSS design:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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,
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
there are any job or test failures, please also provide the networking*.json files from the Hosts
subdirectory as well.
Basicdiagnostic job
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
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
Linux cluster creating 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:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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
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.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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 subfolder of the 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\v241\Win64
example
Linux /shared/AnsysEM/v241/Linux64
example
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
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Environment
ANSYSEM_DIAG_RESULTS_DIR
variable
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.
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.
Ansys Electromagnetics Suite 2024 R1 - © 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 Tools > Options > HPC and
Analysis to access the HPC and Analysis dialog box, and click the Options tab.
2. From the Change Priority menu (or the Default Process Priority drop-down menu),
select one of the following priorities:
Lowest Priority
Below Normal
Normal The
default.
Above Normal
Highest
3. Click OK.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
6 - Meshing
Once you have finished designing your model, you can generate the computational mesh that is
used as the basis of solutions.
A good computational mesh is essential for a successful and accurate solution. If the overall
mesh is too coarse, the resulting solution may be inaccurate. If the overall mesh is too fine, the
computational cost may become prohibitive. In summary, the cost and accuracy of the solution
are directly dependent on the quality of the mesh.
Note:
If you apply separate surface approximation mesh operations to specific objects, the
object settings take precedence over the general setting.
Meshing 6-1
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Meshing 6-2
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
To verify whether Ansys Prime remeshing was used during a simulation, check for lines
labeled "Prime Remesh" in the Solution Profile:
Meshing 6-3
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Use the check boxes to enable the fields and specify values:
o Surface Deviation – the distance between the true surfaces of the selected faces
and the meshed faces.
o Normal Deviation – the angular distance between the normal of the true surface
and the corresponding mesh surface.
o Aspect Ratio – 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.
Clicking Convert to Slider Value converts the manually entered values to an
equivalent slider setting and returns the panel to the slider view.
4. If desired, select Save as Default to keep your settings.
5. If desired, use the Advanced tab to 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.
Meshing 6-4
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Meshing 6-5
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
cases, directly using the legacy faceter can get the mesh in the first attempt so total
meshing time will be saved. The legacy faceter is not actively maintained. As such, this
option should be used only as a last resort.
6. Click OK to apply your choices.
The settings will be applied to the initial mesh generated.
TAU Flex is a multi-domain, priority mesher which provides more efficient and reliable meshing.
The priority mesh generation is driven by solver requirements for materials (metal/non-metal),
boundary conditions (ports, radiation,...), conduction paths, and so forth. The constraint-tolerant
meshing method gives the TAU Flex mesher flexibility to excuse mesh difficulties in lower-
priority regions so that the resulting mesh can still provide acceptable simulation results.
Note:
Meshing 6-6
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
To get the full benefits of TAU Flex, especially for complex or "dirty" models, follow these
recommended steps:
1. On the General tab of the Initial Mesh Settings window, select TAU.
2. Click Q3D Extractor > Design Settings to open the Design Settings window.
3. On the Set Material Override tab, select Enable material override.
4. Still in the Design Settings window, click the Validations tab and select Perform minimal
validations.
Meshing 6-7
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
This reduces pre-processing time for complex models, and allows simulation of "dirty"
geometry for which TAU Flex can provide a mesh.
5. Because TAU Flex is a parallel mesher for many processes, you should specify multiple
cores in HPC and Analysis Options to speed up the meshing process. Access the
Analysis Configuration window one of two ways:
l Select the Simulation tab on the ribbon and click Analysis Config.
l Use Tools > Options > HPC and Analysis Options or select the Simulation tab on
the ribbon and click HPC Options. Then double-click a configuration.
Meshing 6-8
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
6. In most cases, TAU Flex can provide mesh as accurate as TAU or Classic, but not always.
Therefore, we recommend that you Generate Mesh without solving, and that you review
the mesh before proceeding the simulation.
Meshing 6-9
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
1. Message Manager – Immediately after the mesh generation is done, if a tolerant mesh is
given, warnings display in the Message Manager. If the window is hidden, click Show
Messages.
Meshing 6-10
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
2. Mesh Statistics – On the Results tab of the ribbon, click Solution Data to open a
Solutions window.
On the Mesh Statistics tab of the Solutions window, if a tolerant mesh is generated, the
surface area difference between the mesh and geometric model at body level is listed as
"RecoveredPlanarArea" and "RecoveredCurveArea". 100% means that the body has a
strict mesh. You can click the surface area tab to sort the body list and see the tolerant
mesh bodies first.
3. Model Analysis – To view the details of the tolerant mesh, click Modeler > Model
Analysis > Show Analysis Dialog > View Mesh Feedback to launch the Model
Analysis window.
Meshing 6-11
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Click on the top list to display objects that have tolerant mesh.
Individual objects are listed under "Error Entities By Body/Face". You can select one or
multiple bodies to view the mesh at a more detailed level.
Meshing 6-12
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note:
If you apply separate surface approximation mesh operations to specific objects, the
object settings take precedence over the general setting.
Meshing 6-13
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Meshing 6-14
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Use the check boxes to enable the fields and specify values:
l Surface Deviation – the distance between the true surfaces of the selected faces
and the meshed faces.
l Normal Deviation – the angular distance between the normal of the true surface
and the corresponding mesh surface.
l Aspect Ratio – 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.
Clicking Convert to Slider Value converts the manually entered values to an
equivalent slider setting and returns the panel to the slider view.
3. If desired, select Save as Default to keep your settings.
4. If desired, use the Advanced tab to 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.
Meshing 6-15
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Meshing 6-16
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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. This command also allows you to override the automatic choice of
mesher used.
Meshing 6-17
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
mesh refinement you can set a ceiling on the mesh growth with the option Restrict the Number
of Additional Elements.
To apply a length based mesh operation either to an object face or inside an object:
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.
Meshing 6-18
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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.
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.
2. Click Q3D Extractor > Mesh > Assign Mesh Operation > Surface Approximation or
right click on Mesh in the Project Manager and select Assign Mesh Operation > Surface
Approximation.
The Surface Approximation dialog box appears.
Meshing 6-19
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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 your choice, ranging from a Coarse
Resolution (with a Small Mesh Count) through a nine position scale to a Fine Resolution
(with a Large Mesh Count). Here, "Mesh Count" refers to the number of elements
comprising the mesh.
Coarse Resolution, Small Mesh Count:
Meshing 6-20
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
5. If you choose Manual Settings, the dialog box changes to show text fields.
Meshing 6-21
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note:
If you selected Use dynamic surface resolution in Initial Mesh Settings, use of
Manual Settings is not permitted. You must use slider bar to specify one of three
levels of surface representation: coarse (1-3), normal (4-6), and fine (7-9).
6. Select Surface Deviation. Use the drop-down menu to select a unit of measure and then
enter the distance between the true surfaces of the selected faces and the meshed faces.
7. Select Normal Deviation. Use the drop-down menu to select a unit of measure and then
enter the angular distance between the normal of the true surface and the corresponding
mesh surface.
8. Select 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. Click OK.
The settings are applied to the initial mesh generated on the selected surface. The group
of settings is listed in the project tree under Mesh.
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.
Meshing 6-22
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note:
Selecting Use dynamic surface resolution in the Initial Mesh Settings specifies the
best-practice mesh operations over the geometric models. The default mesh
operations or user-defined mesh operations may or may not be replaced by optimized
mesh operations with model analysis. In general, large curve faces, curve faces with
small gaps, or skewed cables get smoother curvature representation while small curve
faces, such as fillets and small curve objects, get relatively coarse triangulations to
reduce overall mesh size.
This dynamic surface resolution mesh operation supports 3D volume mesh and
surface mesh in all products.
Important:
The consolidation of surfaces into a conformal mesh is skipped for dynamic and
tolerant meshing, including for light weight geometries. This can lead to overlapping
surfaces in SBR+ simulations. The user should carefully avoid overlapping surfaces or
objects as SBR+ can produce unexpected results.
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.
Meshing 6-23
Ansys Electromagnetics Suite 2024 R1 - © 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.
Meshing 6-24
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Important:
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.
a. Right-click either Mesh in the Project Tree, or right-click in the 3D Modeler window to
display the respective shortcut menu.
b. Click on Assign > Model Resolution in the Project Tree menu or click on Assign
Mesh Operation > Model Resolution on the shortcut menu.
The Model Resolution Mesh Operation dialog box contains text fields for the mesh
operation Name and radio buttons with choices for the following:
Meshing 6-25
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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:
l Tighter control of mesh accuracy.
l Objects of non-uniform thickness. For example, the thin section of the object shown
below might be lost with Auto Simplify:
This adds the named Model Resolution operation under the Mesh icon in the Project
Manager.
Note:
When two objects in contact have different model resolution lengths, the smaller length
will apply for the common regions.
Meshing 6-26
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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. This command also allows you to override the automatic choice of
mesher used.
To apply a length based mesh operation either to an object face or inside an object:
Meshing 6-27
Ansys Electromagnetics Suite 2024 R1 - © 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.
Meshing 6-28
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
To test various stacking models with pseudo bodies involves recreating the model with different
thicknesses and remaking the entire initial mesh. The Tau mesher may not be available for all
layer heights. You can achieve comparable results by using skin depth based refinement by
reverting to the initial mesh, changing settings and applying mesh operations. The following
figure shows a cut-plane image of the interior of a model that uses skin-depth based refinement
and layers of elements. The Skin Depth is the total depth of all layers combined. Layered
elements apply to the selected faces of solid bodies. The elements are stretched parallel to face,
and are compressed in the normal direction.
Meshing 6-29
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
While in some places the edges have imperfect layering, the interior is very good. You can also
view the results layer by layer by using the Model Analysis dialog.
Meshing 6-30
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The layered skin depth mesh operation provides a tool toward finding a good solution. You can
try different settings to improve results toward a good solution. For instance, for this example,
these different settings were tried. For comparison, a model built with seven layers required 85K
tets.
Meshing 6-31
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The goal is not to have perfect layering, but to have a good solution that is much easier to
achieve.
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.
Meshing 6-32
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
3. To calculate the skin depth based on the object's material permeability and conductivity
and the frequency at which the mesh will be refined, click Calculate Skin Depth.
The Calculate Skin Depth dialog box appears with values based on the selected object's
material properties and the solution setup frequency.
Accept or edit these values. When you click OK the solver calculates the skin depth and
enters its value in the Skin Depth text box. You can accept the calculated values or
provide your own.
4. In the Number of Layers of Elements text box, type the number of layers to add
perpendicular to the object's surface. The skin depth is the total depth of all layers
combined.
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.
5. Optionally, provide 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.
6. By default, the Restrict Number of Surface Elements setting is unchecked. This allows the
mesher to use symmetry more effectively. If you Restrict the number of surface elements,
this may affect symmetry but can be used to protect against runaway refinement in
specific cases. To restrict the number of elements added during refinement on the faces
uncheck the box to enable the field for Maximum Number of Surface Elements. With the
box unchecked, the field, unavailable, the number in the box provides an estimate of mesh
growth.
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.
Meshing 6-33
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
1. Select the object on which you have generated a meshplot, and click Modeler > Model
Analysis > Show Analysis Dialog > View Mesh Feedback.
The Model Analysis dialog box appears. If the project has solutions by different solvers,
the Selection drop-down menu lets you select which mesh to view.
2. On the upper left table, under Mesh Error, select 0 through n , where 0 is the selected
body, 1 is the layer closest to the face, 2 is the next, up to layer "n" as farthest.
Selecting one of these rows causes a Mesh Error Description to display for the selected
layer or body. The message gives the Total Expected count for triangles, as compared
with the Success percentage by count and by area.
Meshing 6-34
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
3. On the upper right table, select the body, face, or triangle desired, scrolling the list to find
any object, face, triangle, or area of interest.
The following figure shows Triangle and Segment both selected (using Shift+click).
Visually, the unfilled triangles represent places where the triangle is not on the desired
layer. However the mesh is still very good and supports an accurate solution.
Meshing 6-35
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
4. Check boxes allow you to Hide All Other Objects checked by default, and Auto zoom to
selection, unchecked by default.
Meshing 6-36
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
1. Select the object(s) to which you want to reassign the mesh operation.
2. In the Project Tree, under Mesh, right-click the mesh refinement you had previously
defined and select Reassign.
Meshing 6-37
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note:
This pertains to mesh setup operations only. If you want to see information about
a mesh that has been generated, see Viewing Mesh Statistics.
The objects to which the operation is assigned are selected in the modeling workspace.
Meshing 6-38
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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.
1. Select one or more surfaces or objects to create the mesh plot on or within. If the design is
HFSS and includes Layout Components, you can select the surfaces either before or after
selecting Plot Mesh.
Meshing 6-39
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The mesh appears on the surface or object you selected. For example:
An icon for the mesh also appears in the Project Manager under Field Overlays> Mesh
Plots.
Meshing 6-40
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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 select Update Plots. This updates the mesh plot to include the
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 subsequent 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.
After making selections click Done. The mesh plot will be generated on the objects belonging to
the selected layer/net combinations.
If you want to to re-assign a mesh or field plot, either select 3D geometries from layout
components in the modeler window before selecting Reassign in the right-click menu, or select
Reassign.
Meshing 6-41
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
For HFSS designs with layout components, the Select Layout Component Geometry dialog
appears. This has the same functionality and menus as the this Nets and Layers section of the
Create Mesh Plot dialog.
Change the selection in the dialog and click OK. The mesh plot will be re-assigned to the newly
selected objects, in addition to any 3D geometries previously selected from the modeler window.
If you click cancel, the plot is only re-assigned on 3D geometries previously selected. If there are
no previously selected 3D geometries, the program issues an error message. Change the
selection in the dialog and click OK to display the reassigned mesh plot.
Meshing 6-42
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Meshing 6-43
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note:
You can also open the MeshPlots window from Q3D Extractor > Fields
> Modify Plot Attributes. You will be prompted to select the folder containing
the mesh you want to modify.
A drop-down menu
Plot
of available plots.
Meshing 6-44
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Meshing 6-45
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
For Plot Quality, higher quality selections permit visualization of curvilinear mesh
elements. With the Coarse setting, facets do not snap to the midpoint edge:
Meshing 6-46
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The Very fine setting gives the most accurate display, but uses the most memory:
3. Click Save as default button if you want the tab's settings to apply to mesh plots created
after this point.
4. Click Close.
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. If you specified "Prompt for analysis machine
when launching analysis" under Tools > Options > General Options > Analysis Options, the
Server Setup dialog box appears and you can specify a solve machine.
l If a current mesh has been generated, the solver will refine it using defined mesh
operations.
Meshing 6-47
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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.
Tip:
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.
A dialog box opens with properties specific to that mesh (length-based, surface
approximation, etc.). You can edit the mesh settings as appropriate.
1. In the Project Tree, right-click the solution setup of interest, and then click Mesh
Statistics. Alternately, click the Solution Data icon on Results tab of the ribbon.
Meshing 6-48
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The Solutions window appears with the Mesh Statistics tab displayed.
The table lists design elements and for each includes: Num Tets, Min edge length, Max edge
length, RMS edge length, min tet vol., max tet vol., mean tet vol. and standard deviation.
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 sort mesh statistics by column from low to high values or vice-versa, click a column header.
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 order.
Click on a blank cell above the object list to invert the order of objects. In this case, the cell does
not display a directional triangle.
Meshing 6-49
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
7 - 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, use the 3D component libraries, the
Antenna Design Toolkit, the SBR+ Paramentric Antenna feature, as well as the Cable Modeling
toolkits.
If a 3D Modeler window for an existing design is not open, do one of the following:
l Click [solverName] > 3D Model Editor.
l Right-click the design name in the project tree, and then click 3D Model Editor on the
shortcut menu.
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.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
2. Select the new units for the model from the Select units drop-down menu.
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.
4. While most models should fit the default, you can check Advanced to enable Max model
extent (E) to specify model extents in the 3D modeler.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Parasolid kernel has a strict size limit of +/- 500 units. As many AEDT models go
beyond this limit in the desired units, we have implemented internal scaling to allow
creation of models with a larger extent. With our default model extent of 10,000, all
geometry will be internally scaled down by a factor of 100 to fit within parasolid size
limit. We recommend using the default extent of 10,000 as much as possible.
Modeling operations will output an error if model goes beyond 50,000 units.
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
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
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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:
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.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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.
1. From the menu bar, click Draw> Line or, on the Draw ribbon tab, click the Draw line
icon:
2. Select the first point of the line in one of the following ways:
l Click the point in the Modeler window, checking the Measure Data dialogue for the
precise coordinates.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l You can accept the first point or change it by editing its coordinates in the X, Y, and Z
boxes in the status bar. Note that the Status bar includes selections for Absolute or
Relative Coordinates, as well as for Cartesian, Cylindrical and Spherical Coordinates.
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 next point of the line by clicking the point or typing the coordinates in the text
boxes in the status bar.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The endpoint serves as the start point for a subsequent line segment. You can specify the
plane through which the line passes by selecting the X, Y, or Z keys to constrain
movement. For example, the following figure shows a line with five points that includes X,
Y, and Z movements.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
To delete all points and start over, press Esc or click Escape Draw Mode on the shortcut
menu.
The new line appears selected in the Modeler window and shown in the History tree.
Ansys Electromagnetics Suite 2024 R1 - © 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, in which you can modify the object's attributes by editing the object's
properties. You can also do this through the docked Properties window.
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.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
5. The Command tab Properties includes the Coordinate System that applies to the line, the
number of points and curves, as well as the ability to assign a specific Cross Section to the
line.
6. If you created the line with the Modeler option for editing properties of new primitives, click
OK to close the Properties dialog box.
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.
1. From the menu bar, click Draw> Arc> 3 Point or, on the Draw ribbon tab, click the
Draw 3 point arc icon:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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.
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.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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.
1. From the menu bar, click Draw> Arc> Center Point or, on the Draw ribbon tab, click
the Draw center point arc icon:
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.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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.
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. From the menu bar, click Draw> Spline or, on the Draw ribbon tab, click the Draw
spline icon:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Press Enter.
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.
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.
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.
Before drawing a polyline, determine how closed polylines will be handled in the 3D Modeler
options, as follows:
Using the menu bar, click Tools > Options > General Options. In the Options dialog box that
appears, choose 3D Modeler > Operation from the tree on the left side. Then, in the Polyline
Creation section of the operation options, select or clear the Automatically cover closed
polylines check box.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
If checked, closed polylines become sheet objects and are listed under Sheets in the History
Tree. If unchecked, closed polylines are listed under Lines in the History Tree.
1. From the menu bar, click Draw> Line or, on the Draw ribbon tab, 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. Depending on your selection in the previous step, do one of the following:
l If you clicked Straight, follow the procedure for drawing a straight line.
l If you clicked Spline, follow the procedure for drawing a spline.
l If you clicked 3 Point Arc, follow the procedure for drawing a three-point arc line.
l 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
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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 plotting
fields along a line. Notice that by going to the History Tree and selecting Create Polyline
for that object, you can assign a cross section and dimensions to a polyline.
7. Click OK.
If you select a polyline in the History Tree, you can use the Measure mode to see the total
length.
1. In the History Tree of the Modeler window, select the CreatePolyline entry for the polyline
that you want to give a cross section.
This action displays the polyline properties in the docked Properties window (if you have
it displayed). Alternatively, right-click the CreatePolyline entry and choose Properties...
from the shortcut menu to display the Properties dialog box.
2. In the Cross Section section of the properties, in the second column of the Type row,
click None to display the cross section choices.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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
cross section) or as a Solid object (Circle or two dimensional Rectangle cross section).
6. You can modify the new polyline either by editing the properties, or by using the History
Tree to select one of the segments that make up the polyline and right-clicking to display
the shortcut menu showing commands to Insert, Delete, or display the segment
Properties.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
A segment that you select in the History Tree is indicated in the Modeler window by black
highlighting. If you insert a new segment, it adopts the dimensions you specified for the
polyline object.
1. Select a line segment in the History Tree (not the modeler window). The individual
segments entries are CreateLine, CreateArc, CreateAngularArc, or CreateSpline.
This action highlights the object and enables the Insert Line Segment subcommands in
the Draw menu.
2. Using the menu bar, go to the Draw > Line Segment submenu and then choose either
the Insert Segment Before or Insert Segment After submenu.
Alternatively, right-click a polyline segment in the History Tree and, from the shortcut
menu, choose either the Insert Segment Before or Insert Segment After submenu
3. Use this submenu to specify the kind of segment to add. The inserted segment can be:
Straight, Spline. 3 Point Arc, or Center Point Arc.
4. Depending on your selection in the previous step, do one of the following:
l If you clicked Straight, follow the procedure for drawing a straight line.
l If you clicked 3 Point Arc, follow the procedure for drawing a three-point arc line.
l If you clicked Center Point Arc, follow the procedure for drawing a center-point arc
line.
l If you clicked Spline, follow the procedure for drawing a spline.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note:
When inserting straight segments or arcs, the insertion operation will terminate
as soon as you complete the definition of a single new segment. For splines, you
can insert a spline with any number of defining points, and the insertion operation
terminates as soon as you terminate the spline.
5. Repeat steps 1 through 4 for each segment of the polyline before or after which you want
to insert a new segment. The endpoint of the previous segment serves as the start point
for the next segment.
1. From the menu bar, click Draw> Equation Based Curve or, on the Draw ribbon tab,
click the Draw equation based curve icon:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note:
l The equations are taken to be meters. Use of units in equations is not properly
supported.
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.
l Functions that do not support intrinsic (_t for curve, _u and _v for surface) will
give an error if not supported.
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
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
arrows. The Show Direction property is most helpful to unambiguously show the line start
orientation when plotting fields along a line.
Functions, Operators and Quantities for the Edit Equation Dialog Box
This table lists the functions, operators and Quantities for the Edit Equation dialog box.
Item Definition
Functions
abs Absolute value of the simulation quantity which results in a number that is
always positive.
acos Arc cosine (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 (the inverse function of sine).
asinh Inverse hyperbolic sine.
atan Arc tangent (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
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Item Definition
and
cross
division
dot
equal
exp
exponent
greater_than
greater_than_
or_equal
if if( , ,)
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. From the menu bar, click Draw> Circle or on the Draw ribbon tab, click the Draw
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.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
3. Specify the radius by selecting a point on the 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.
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 Modeler permits drawing true curved objects. However, the solution is obtained
using 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 an Ellipse
Draw an ellipse by specifying a center point, base radius, and secondary radius.
1. From the menu bar, click Draw> Ellipse or, on the Draw ribbon tab, click the Draw
ellipse icon:
Ansys Electromagnetics Suite 2024 R1 - © 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 dXm 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.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note:
The 3D Modeler permits drawing true curved objects. However, the solution is obtained
using 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 Rectangle
Draw a rectangle (or square) by selecting two diagonally opposite corners.
1. From the menu bar, click Draw> Rectangle or, on the Draw ribbon tab, click the Draw
rectangle icon:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Type the point's coordinates in the text boxes in the status bar. The Status bar also
includes options to specify the Coordinate System as Absolute or Relative, and drop
down menu options to specify the cylinder in Cartesian, Cylindrical, or Spherical
coordinates.
To delete the selected point and start over, press Esc or click Escape Draw Mode on the
shortcut menu.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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. You can also use the
docked Properties window.
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, as shown in
the History tree in the figure below. Otherwise it will be a closed 1D polyline object.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
1. Click Draw> Regular Polygon or, on the Draw ribbon tab, 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.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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.
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.
1. From the menu bar, click Draw> Equation Based Surface or, on the Draw ribbon tab,
click the Draw equation based surface icon:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
2. Type equations for X(_u, _v), Y(_u, _v), and Z(_u, _v).
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
o You can combine the preceding two methods to build complex equations.
c. 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.
o The equations are taken to be meters. Use of units in equations is not properly
supported..
o While parsing expressions, equation based curves convert each variable separately
to model units and assume that the resulting expression is in model units.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
o Equation based curves depend on the variable value library to correctly evaluate the
units of expression.
o Functions that do not support intrinsic (_t for curve, _u and _v for surface) will give
an error if not supported.
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.
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. Before you draw a sphere, you can specify the coordinate system, and
you can set the drawing plane as Z, Y, or Z, or you can edit the plane in the properties.
1. From the menu bar, click Draw> Sphere or, on the Draw ribbon tab, click the Draw
sphere icon:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
2. Select the center point of the sphere in one of the following ways:
l Click the point. The Measure Data dialog shows the coordinates and other information.
l Type the point's coordinates in the text boxes in the status bar. The Status bar also
includes options to specify the Coordinate System as Absolute or Relative, and drop
down menu options to specify the cylinder in Cartesian, Cylindrical, or Spherical
coordinates.
3. Specify the radius by selecting a point on the sphere's circumference in one of the
following ways:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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. You can also use the
docked Properties window.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
4. Click OK.
Note:
The 3D Modeler permits drawing true curved objects. However, the solution is obtained
using 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
Modifying Objects
Ansys Electromagnetics Suite 2024 R1 - © 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. Before you draw a cylinder, you can specify the coordinate system, and
you can set the drawing plane as Z, Y, or Z, or you can edit the plane in the properties.
1. From the menu bar, click Draw> Cylinder or, on the Draw ribbon tab, click the Draw
cylinder icon:
2. Select the center point of the cylinder's base circle in one of the following ways:
l Click the point. The Measure Data dialog shows the coordinates and other information.
l Type the point's coordinates in the text boxes in the status bar. The Status bar also
includes options to specify the Coordinate System as Absolute or Relative, and drop
down menu options to specify the cylinder in Cartesian, Cylindrical, or Spherical
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
coordinates.
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 text
box.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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 Command and Attribute
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
5. If you used the Properties window, click OK. The cylinder appears in the Modeler window
and is listed in the History tree.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note:
The 3D Modeler permits drawing true curved objects. However, the solution is obtained
using 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 Box
Draw a box by selecting two diagonally opposite corners of the base rectangle, then specifying
the height. Before you draw a cylinder, you can specify the coordinate system, and you can set
the drawing plane as Z, Y, or Z, or you can edit the plane in the properties.
1. From the menu bar, click Draw> Box or, on the Draw tab of the ribbon, click the Draw
box icon:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
2. Select the first diagonal corner of the base rectangle in one of the following ways:
l Click the point. The Measure Data dialog shows the coordinates and other information.
l Type the point's coordinates in the text boxes in the status bar. The Status bar also
includes options to specify the Coordinate System as Absolute or Relative, and drop
down menu options to specify the cylinder in Cartesian, Cylindrical, or Spherical
coordinates.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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 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.
Ansys Electromagnetics Suite 2024 R1 - © 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. You can also use the
docked Properties window.
5. Click OK.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
1. From the menu bar, click Draw> Regular Polyhedron or, on the Draw ribbon tab, click
the Draw 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.
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.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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. From the menu bar, click Draw> Cone or, on the Draw ribbon tab, click the Draw 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.
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.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note:
The 3D Modeler permits drawing true curved objects. However, the solution is obtained
using 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 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. From the menu bar, click Draw> Torus or, on the Draw ribbon tab, click the Draw
torus icon:
2. Select the center point of the torus 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 major radius by selecting a 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.
4. Specify the minor radius by selecting a point relative to the major radius point.
Ansys Electromagnetics Suite 2024 R1 - © 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 3D Modeler permits drawing true curved objects. However, the solution is obtained
using 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 line or 2D sheet object that you create along a
vector that you define. The center of the helix is defined by the placement of the vector relative to
the swept object. You must define the vector so that the swept object will not self-intersect, the
rule being, do not draw the vector so that it centers on or overlaps a selected 2D object. After you
create the vector, the Helix dialog opens, where you then specify the turn direction, pitch,
number of turns, and radius of the turn to define the helix.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Once you have created a helix, you can changing it by edit the properties of the original object,
and by editing the helix command properties for coordinate system, center position (which
corresponds to the vector placement), direction, pitch, turns, radius change, and direction.
To create a helix:
1. Create and select the line or 2D object you want to sweep to form a helix. Selecting a valid
object enables the Helix icon on the Draw tab of the ribbon.
2. From the menu bar, click Draw> Helix or, on the Draw ribbon tab, click the Draw helix
icon:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
3. Draw the vector you want to sweep the object around. The two points that describe the
vector affect axis location and direction only and not the helix length. (The vector definition
corresponds to the Center Position and Direction properties of the CreateHelix
command in the History tree.) 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. It is important that the
swept object cannot intersect itself. For a 2D object, you should ensure that the vector you
draw does not intersect the interior. If it does, the object cannot be drawn due to self-
intersection and you receive a message that "Body could not be created because of
invalid parameters."
a. Select the start point by clicking the point or typing its coordinates in the X, Y, and Z
text boxes. (Remember that you can also edit the parameters of a completed helix).
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 drop-down menu.
6. In the Turns text box, type the number of complete revolutions the object will make along
the vector.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
7. In the Radius Change per Turn text box, type a number for the increase in the radius and
select the units from the drop-down menu.
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.
9. Click OK to create the Helix.
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. You can also select the
commands for the object and the helix command in the History Tree to access and edit
their properties.
Note:
The 3D Modeler permits drawing true curved objects. However, the solution is obtained
using 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:
1. Click Draw > User Defined Primitive > SegmentedHelix > PolygonHelix.
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.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
3. Click OK.
1. Click Draw > User Defined Primitive > SegmentedHelix > RectHelix.
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.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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.
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 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
8. Click OK.
This 3D spiral was created from a 2D circle drawn at z = 0. The turn direction was right hand, the
radius change was set at 2, and the number of turns was set at 2.
Note:
The 3D Modeler permits drawing true curved objects. However, the solution is obtained
using 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:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
1. From the menu bar, click Draw > User Defined Primitive > Examples >
RectangularSpiral (DLL) or Rectangular Spiral (Python).
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 box for the new object.
Tip:
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.
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 HFSS: Technical Notes before drawing a bondwire.
1. From the menu bar, click Draw> Bondwire or, on the Draw ribbon tab, click the Draw
bondwire icon:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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.
6. In the diameter field, specify a diameter value and select the units from the drop-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.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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. From the menu bar, click Draw> Point or, on the Draw ribbon tab, click the Draw point
icon:
Note:
There is no visible indication of the point in the drawing area unless it is selected
in the History Tree. Also, the point cannot be selected graphically once added to
the model. It must be selected from the History Tree or from the Geometry
window within the Fields Calculator.
Drawing a Plane
A plane object is a cut plane through the problem region. You can use plot fields to perform field
computations on its surface. Planes are always considered non-model objects by the modeler.
1. From the menu bar, click Draw> Plane or, on the Draw ribbon tab, click the Draw
plane icon:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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:
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.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Values of 1 and 2 are not valid values for the circle, ellipse, or cylinder command and will
cause an error.
You can assign output variables (default) and design variable as property values for non-model
objects.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Switch to non-model drawing mode. Objects you draw in non-model mode will not be included in
the solution process.
Alternatively, on the Draw ribbon tab, choose Non Model from the Set to model non
model type drop-down menu:
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.
Drawing a Region
To draw a region encompassing the objects in the current project:
1. From the menu bar, click Draw > Region or, on the Draw ribbon tab, click the Create
region icon:
Ansys Electromagnetics Suite 2024 R1 - © 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.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
If you select Absolute Offset, you also specify the units by selecting from a drop-down
menu.
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.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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.
3. Specify the Padding values in the fields and select the units from the drop-down menu.
4. If desired, select 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), 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.
Related Topics
Drawing a Sub-Region
Drawing a SubRegion
The Modeler allows you to define a subregion that encompasses a set of objects inside
previously defined region. Like regions, subregions automatically resize if the objects contained
in these subregions change. You can create nested subregions, and reassign the content of a
subregion.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
3. 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.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
If you select Absolute Offset, you also specify the units by selecting from a drop-down
menu.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
4. Specify the Padding values in the fields and select the units from the drop-down menu.
5. If desired, select the check box to save the values as Default.
6. Click OK to close the dialog and create the sub-region.
The sub-region is drawn, selected, and displayed in the History tree. It is created using the
current coordinate system.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
SubRegions can contain other SubRegions, that is, SubRegions can be nested.
The Properties dialog for the Create SubRegion icon in the History tree shows the coordinate
system and Padding values.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The Properties dialog for the selected model lists attributes tab including Name, Material
(Default, vacuum), Orientation, Model, Color, Display Wireframe, and Transparency. You can
edit all of these values.
You can use modeling operations on these sub region parts with following rules
l Geometry of non-subregion parts should not depend on sub-region parts. That is, sub-
region parts should not be allowed to be used as a tool, not even after cloning them
l Simple local operations like face move, fillet, and arrange operations should be allowed
on sub-region parts.
Global region should take the sub-regions into account in its computation.
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.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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; or, on the
Model ribbon, click Heal.
This displays the Analysis Options dialog box, which allows you to specify settings for entity
check level and small feature detection.
When you OK this dialog box, 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.
3. Small feature detection - small edge length, small face area and sliver face detection.
4. Misaligned entities detection - detects pairs of faces from objects that can be aligned to
remove object intersections. This improves the probability of mesh success.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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.
1. Select the object you want to analyze and click Modeler > Model Analysis > Analyze
Objects.
This displays the Analysis Options dialog box, with the Analysis Options tab selected.
Selecting Modeler > Model Analysis > Heal also displays this dialog box. If, during Modeler
> Import... you select Heal Imported Objects and Manual, you also see this dialog box.
This enables the Check Level menu. The setting can be Basic, Strict, or Comprehensive.
See: Modeler Validation Settings.
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.
l Small Edges, length less than
l Small Faces, area less than
l Sliver Faces, which enables:
l Object Bounding Box Scale Factor
l Sliver Edge Width
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 box, which contains the
results of the analysis.
Ansys Electromagnetics Suite 2024 R1 - © 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).
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
3. You can select Hide All Other Objects to suppress display of objects, faces, or surfaces
in the Modeler window not selected in the Mesh Feedback panel
4. Select the Auto zoom to selection check box to automatically zoom to the item selected
on the Objects tab.
5. 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 Mesh Feedback tab
6. Click Close to close the Model Analysis dialog box.
Objects Tab
All results relating to model analysis of specific objects are presented under the Objects tab.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Display Healing Log – checking this causes the Model Analysis dialog box to display a
healing log which includes information about operations performed on an object during
the healing process.
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 Align Faces 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 box 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 box 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.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Individual Objects
l Object Pairs
Note:
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.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Mesh 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 window depends on your
selections from the left hand table. When you select a row in errors panel (the left panel as
shown in above figure), all the faces are selected (second row in right panel) and if you enable
Auto Zoom, the view fits to the errors:
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.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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. If you enable Auto
Zoom, any selection whether it is body(ies), face(s) or error triangle(s) or error segment(s) will fit
to view. If all the faces are also selected (second row in right panel), then errors and selected
entities will fit to view.
The error shown in the figure above is a contact error between the faces. Focusing only on the
errors when an error is selected in right panel, improves visualization of these meshing errors
and provides you with precise information in order to take corrective action quickly.
As shown above the mesh errors are marked by ‘Red Circles’. The following table describes all
such markers:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
These markers are located at the center of errors or center of faces and their size correspond to
the maximum side size of the entity, such as error triangles, error segments or faces. The size of
these markers is clamped to a maximum and a minimum size. Additionally they have some
transparency. The size and transparency of these markers cannot be changed by the user.
If you select an individual face in the right panel, then the face is marked using a blue square as
shown below:
If many individual faces are selected in the right panel, each face is marked by a blue square. In
order to find which blue square corresponds to which face in the right panel in the dialog box,
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
click on the blue square. This action selects the corresponding face row in the right panel of the
dialog.
Face Selection
When the all faces row or individual face rows are selected, the Modeler selects the face(s). This
enables the face related commands in the Modeler window. Also when you select faces this
way, it makes the corresponding bodies of the selected faces visible, even when ‘Hide all other
objects’ is enabled. This provides some contextual information about the face location with
respect to its body.
You can select multiple rows in the right pane of the Mesh Feedback tab. To view all the
meshing errors, select all the rows and enable Auto Zoom, as shown in figures below:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
With Auto Zoom enabled, the view fits to all the errors, providing an overview of all the mesh
errors, as shown in above figure.
Also, when multiple errors are selected, right panel shows the merged information about all
bodies, faces, error triangles etc. And Mesh Error Description text box shows description of all
the errors.
Design Settings
The tabs and settings within the Design Settings dialog box are dependent on the design type,
and there is a product-specific topic for each applicable design type. Please click the appropriate
link below for the product of interest:
l HFSS
l HFSS Transient
l HFSS 3D Layout
l Icepak
l Mechanical
l Q3D
l 2D Extractor
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The Q3D Design Settings dialog box appears, on the Set Material Override tab.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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. An 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.
2. In the Design Settings window, click through the tabs to set various options.
l The Background tab shows the background material assignment.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Important:
Automatic casual material calculations are not performed under the following
circumstances:
l If the material permittivity or loss tangent is anisotropic.
l If the material permittivity or loss tangent is frequency dependent.
l If the material itself is not a lossy dielectric.
You can select either the Equivalent transmission line model or the Lumped RLGC
model.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l The Validations tab controls the extent of validations performed and, therefore, the
time involved.
3. If desired, select Save As Default on any tab. You must be careful since these settings
change the modeler's "ground rules" and may produce unexpected results.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
You can also view and set Design Settings by selecting the current project and then the Q3D tab
in the Properties window.
The 2D Extractor Design Settings dialog box appears, on the Length Settings tab.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The Length Settings tab controls the Distributed Units, Lumped Length and Rise time.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Important:
Automatic casual material calculations are not performed under the following
circumstances:
l If the material permittivity or loss tangent is anisotropic.
l If the material permittivity or loss tangent is frequency dependent.
l If the material itself is not a lossy dielectric.
3. If desired, select Save As Default on either tab. You must be careful since these settings
change the modeler's "ground rules" and may produce unexpected results.
You can also view and set Design Settings by selecting the current project and then the 2D
Extractor tab in the Properties window.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
1. Use the Q3D Extractor > Set Object Temperature command to display the
Temperature of Objects dialog box. You can also right-click the design in the project tree
and select from the shortcut menu.
This window includes a table of the objects in the design. In order, the table's columns
list: object name, material, a check box to show whether each object has temperature-
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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, a scroll bar will appear.
You can also use the Select by name field to find objects by name. Enter the name of the
object you want and click Select.
Selected objects are highlighted, and you can make multiple selections.
3. To set the temperature for the selected object(s), type a 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.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
If you click Set Default, the row(s) for the selected object(s) display the temperature value
and units.
6. To edit the material for an object, click the object's material to display a drop-down menu.
Note:
When Enable Feedback is selected, the right-click menu for Analysis and the
analysis setup includes the Revert to Initial Temperature command. Selecting
this command invalidates the current solution.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Remove Faces
l Remove Edges
l Perform Explicit Subtractions
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 2024 R1 - © 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
properties window and include only the parameters that are used by your currently selected
Simplify command type. None of the parameters of simplify operation accept variables.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
1. Select an object.
This enables the Simplify command on the Modeler > Model Preparation submenu.
2. Click Modeler > Model Preparation>Simplify or on the Model ribbon, select Simplify.
This opens the Simplify Bodies dialog box. 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 computed in operation’s coordinate system.
You can change the operation CS to get a bounding box in an appropriate orientation. For the
Ansys Electromagnetics Suite 2024 R1 - © 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.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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, and Length Threshold. For the Non History Operation options, see below.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The Non History Operation options are available for all Simplify Types.
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. You can also choose to
generate Primitive History.
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.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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.
l Some formats permit healing during Modeler > Import. These are:
Selecting these formats enables a check box at the bottom of this window, Validation and
Healing Options.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
See this table for details. The Quick option allows you to switch off healing to speed up the
import process.
l The Model Analysis dialog box that appears after running Modeler > Model Analysis >
Analyze Objects, or Modeler > Model Analysis > Show Analysis dialog includes a
Perform action menu with Heal Objects as a selection.
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 .
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The non-manifold edge is now removed. You may also remove or add a small portion of the
model.
1. Click Modeler > Model Preparation > Heal to open the Healing Options dialog box. You
can also open the Healing Options dialog box from the Model Analysis dialog box via
the Objects tab drop-down menu.
This enables a field for the Stitch Tolerance value, and a check box to Stop After First
Error.
l Perform Geometry Simplification
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
This enables fields for Simplification Tolerance and Maximum Generated Radius
values.
You can also select radio buttons to Simplify Curves, Surfaces, or Both.
l Tighten Gaps settings.
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:
l Allowable Change in Surface Area check box, and percent value.
l Allowable Change in Volume check box, and percent value.
4. Select the Properties tab to view the geometric properties of the currently selected object.
5. Click OK to apply the specified Healing options and to open the Analysis dialog box.
Stitch Sheets
Use the Modeler > Model Preparation > Stitch Sheets command to stitch selected sheets.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
This enables the Stitch Sheets command on the Modeler > Model Preparation
submenu.
2. Click Modeler > Model Preparation > Stitch Sheets; or, on the Model ribbon, click the
Stitch Sheets icon.
This displays a Stitch dialog box with a Maximum Stitch Tolerance field. The default
value (auto) comes from the Healing dialog box's Options tab with Manual Healing
selected. You may edit the value in the Stitch dialog box or in the Healing Options.
3. Click OK.
This closes the dialog box 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.
The Model ribbon also includes an Align Faces icon, which is enabled when you make
appropriate face selection. The first selected face defines the plane of alignment for subsequent
selection, that is, tool faces to blank faces.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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.
1. Use the Remove Faces command (Modeler > Model Preparation > Remove Faces) or
by performing Boolean subtract.
2. If overlap between objects is too large to be fixed by healing or by face alignment. Boolean
intersect shows the common portion between the bodies. In this case, use a subtract
operation to remove overlaps.
This enables the Modeler > Model Preparation > Perform Explicit Subtractions
submenu.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
If no parts are fully contained by other parts, a message explains that no explicit subtraction is
needed.
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 2024 R1 - © 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 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note:
On Linux, 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 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.
To create a UDP, see Creating a User Defined Primitive for requirements and the procedure for
building a proper DLL or Python library.
In order to share UDPs between users, an existing DLL or Python library may be copied into the
UserLib > User Defined Primitives subdirectory which can be given the paths specified in
Tools > General Options under General > Directories. Placing an appropriately constructed
DLL or Python library 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.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
other part
UDM Properties
See the Q3D Extractor Scripting Guide for information about Creating User Defined Primitives
and User Defined Models in Python Scripts.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
In contrast to UDP:
l UDM provides multiple Parts/CS/etc.
UDM Properties have four tabs - Definitions, Parameters, Options and Info
l Definition tab has:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
o UDM name
o Coordinate system used to position UDM
o May have external reference to file
l Info tab has:
o UDM dll or .py name, dll or .py location, version etc
l Option tab:
o may have options if any
UDM Properties
UDM Properties have four tabs - Definitions, Parameters, Options and Info.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Option tab:
l may have options if any
UDM Parameters
UDM Parameters
UDM geometry can be manipulated through its parameters.
l Can be mapped to design or project variable for animation, parametric analysis.
l IDs are persisted (allowing to retain boundaries) during parameter edits.
l You must run the Send Parameters and Generate command to synchronize parameters
with geometry
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ansys Electromagnetics Suite 2024 R1 - © 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.
l Engine side (default):
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Desktop side:
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 2024 R1 - © 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 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l The Options tab shows supported options. See: SpaceClaim Link Options.
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.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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.
The Context menu of SpaceClaim link UDM shown in the History tree has an entry to Launch
SpaceClaim and to Break Connection.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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.
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.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
1. Select Modeler > Discovery Link > Browse or Browse Discovery in the Model ribbon.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
2. Navigate to and select a *.dsco project to load into the Modeler window.
3. Click Open.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The progress bar displays import progress. When the model has loaded, it appears in the
Modeler window, and in the History Tree as a User Defined Model (UDM).
If there is an active Discovery session which is using the selected document, the created
UDM will be linked to the active Discovery session. If there is not one, a new non-graphical
Discovery session will be used, which makes the creating and refreshing slow. Afterwards, if
an active Discovery session is launched and opens the document, the UDM will be linked to
the active session.
When you select Modeler > Discovery Link > Connect to Active Session or Connect to
Discovery in the Model ribbon, the Active Discovery Sessions dialog box appears.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
It shows all active Discovery sessions with their document names and connection status.
Sessions which are not using a saved document are not included. You can select a session and
click Connect to import geometry from that session. Once connected, that session will be used
to regenerate the corresponding Discovery link UDM.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
You can edit the parameters and send them back to Discovery to get the geometry updated
accordingly.
After editing the parameter, you will need to use Send Parameters and Generate in the
context menu of the Discovery link UDM. If there is an active Discovery session linked, its
model will be updated but not saved. If there is not an active Discovery session linked, the
Discovery document will not be updated.
l The Options tab shows supported options. See: Discovery Link Options.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Discovery documents corresponding to the links will be included in the project archive
automatically. Once the archive file is unarchived, referenced Discovery 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.
3D Component Libraries
Both Q3D Extractor and 2D Extractor designs support 3D components. These can be inserted
into the design and then manipulated for simulation. See: Modifying Objects.
1. Create 3D component(s).
2. Encrypt component contents.
3. Insert into design from Component Libraries window.
4. Simulate.
3D components used in a design are listed in the Project Manager under 3D Components, and
in the History Tree under Model.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Components created in Q3D Extractor are compatible with other Electronics Desktop design
types.
3D Components in 2D Extractor
2D Extractor does not have any predefined 3D component libraries, but can create and use
custom 3D components.
Important:
To toggle display of the Component Libraries window, click View > Component Libraries.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Place any component into the design by dragging it into the modeling workspace, or by right-
clicking it and selecting Place Component.
You cannot create components from a design with an array setup. However, you can create 3D
component from a unit cell and use that to create a Multi-Unit Cell array.
Ansys Electromagnetics Suite 2024 R1 - © 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 Circuit Elements tab
l Hybrid Regions tab
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Mesh tab
l Coordinate Systems tab
l Parameters tab
l Encryption tab
l Licensing Tab
l Image tab
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.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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.
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.
Alternatively, you can type an object Name into the text box and click the Include or
Exclude button. Wildcards (? and *) are supported when you use this method, so you can
change the inclusion state of multiple objects with similar names in a single operation.
l The Material and Typecolumns 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 Selected Contents option selected
on Encryption tab.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Alternatively, you can type a boundary Name into the text box and click the Include or
Exclude button. Wildcards (? and *) are supported when you use this method, so you can
change the inclusion state of multiple boundaries with similar names in a single operation.
l The Type and Description columns are read only.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Alternatively, you can type an excitation Name into the text box and click the Include or
Exclude button. Wildcards (? and *) are supported when you use this method, so you can
change the inclusion state of multiple excitations with similar names in a single operation.
l Type and Description columns are read only.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Alternatively, you can type a mesh operation Name into the text box and click the Include
or Exclude button. Wildcards (? and *) are supported when you use this method, so you
can change the inclusion state of multiple mesh operations with similar names in a single
operation.
l Type and Description columns are read only.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Use the Include check box to include coordinate systems in the 3D component
(selected), or to Exclude them from the component (cleared).
Alternatively, you can type a coordinate system Name into the text box and click the
Include or Exclude button. Wildcards (? and *) are supported when you use this method,
so you can change the inclusion state of multiple coordinate systems with similar names
in a single operation.
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 The Reference CS must be included in the model (except for global).
The Reference system that you specify affects the orientation of the component upon insertion.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Alternatively, you can type a parameter Name into the text box and click the Include or
Exclude button. Wildcards (? and *) are supported when you use this method, so you can
change the inclusion state of multiple parameters with similar names in a single operation.
l You can fill in the Description field, if desired.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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.
If you create dependent variables, you can choose to display the values.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
If more variable dependency occurs for an Included variable, such variables are also displayed
with the option to include.
When you Insert a 3D Component with dependent Parameters included, you can edit the
Independent variables, but can only view the evaluated values of the Dependent Parameters.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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.
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.
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.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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
design contains an encrypted component with hidden contents, it will also protect solver inputs
and other project files containing data that could be used to extract component information.
However, note that solver inputs associated with SBR+ regions are not protected at this time,
even when encrypted components are in use. For a hybrid design that contains a combination of
SBR+, FEM, and IE regions; the FEM and IE regions will be fully protected, while the SBR+
regions will not. Also note that other design types, such as Maxwell, Q3D, or Icepak, do not
include extended protection of solver inputs and other project files.
Checking the Encrypt File check 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.
Enabling the Set Password button opens a dialog with fields for Password, and Confirm. This
dialog also opens automatically when you check Encrypt File.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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 2024 R1 - © 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 2024 R1 - © 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 theModel
tab which are enabled after encryption is set. You can test the visibility by looking at the Image
tab.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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 2024 R1 - © 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.
You can use Copy and Paste encrypted components. They will be remain encrypted when
copied and pasted.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
specify a 3D Component Licensing dll, a public key and an optional component identifier. You
can license a 3D Component only if it is also encrypted.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
If you use the Encryption tab and Model tab settings to hide/show the model or specified model
objects, the Image tab responds. You must use encryption to enable the Hide check boxes on
the Model tab.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
If you use the Encryption tab to display only an object outline, the Image tab responds.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ansys Electromagnetics Suite 2024 R1 - © 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.
Check the Display image box to enable the Image File field, and click Browse to open a
window to navigate your file system select the image.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
You can move the image in the modeling workspace by clicking the "3D Components" area of
the box and dragging it. You can hide the image by editing the 3D component and clearing the
Display image... check box, or by deselecting the Show Label check box in the Properties
window:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The default File name is the component Name specified in the Info tab.
The component will be inserted into the design, and will appear in the Component Libraries
window, under Most Recently Used.
Note:
To import a 3D component:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
3. Review the component information, and use the drop-down menu to select a Target
Coordinate System.
4. Click OK.
The component is inserted into the design, and is listed in the Component Libraries
window, Project Manager, and History Tree.
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
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
You can select any component from the library, and drag and drop to insert it in the design.
Double-click 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 2024 R1 - © 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:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Selection of a coordinate system in the History tree displays a potential location for inserting a
component.
1. Right-click 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.
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.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
You see the Insert 3D Component dialog opened on the Parameters tab.
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 2024 R1 - © 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 Open. If you use the Insert
Instance menu, select the component name.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
If the component has been encrypted, you may be prompted to enter a password. If you
insert another instance of the same component, you do not need to enter the password again
for that component.
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.
Note: There are some additional considerations with respect to projects using
encrypted components. When a project contains encrypted components, the project
file and other related files are also encrypted. Encrypted component contents may also
be hidden from view in the design where the component is used. For more details, see
Create 3D Component Encryption Tab.
Important: Only 3D components that are not encrypted can be edited as described in
this section.
The Edit Definition command creates a new project, named for the component, in the Project
Manager window.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
When the edited component is saved, an Update 3D Component window appears. From the
Update 3D Component window, choose whether to save the edited component as a local
instance or to the original library. To edit a 3D component definition:
1. Navigate to the Edit Definition window by following one of the following paths:
l From the History Tree, right-click the component and select Edit Definition.
l From the History Tree, right-click an instance under the component and select
Components > Edit Definition.
l From the Project Manager, right-click 3D Components and select Definitions to
open the 3D Component Definitions window. From the 3D Component Definitions
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Regardless of which path is taken, a copy of the 3D component opens in the Layout
Editor, and a new project folder appears in the Project Manager window, containing a
copy of the original design.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
This window is populated with all entities (objects, boundaries, excitations, etc.) in the
component design.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Updating Definitions
Once the updated component is saved, return to the original design and update all instances of
that component. See: Updating 3D Component Definitions.
Note: Definition update is not automatic even if Edit Component was initiated from
that design. Instead, when an assembly design becomes active, a dialog box appears,
prompting the user to update the 3D component definition. Then choose to update the
definition from the prompt.
Components with updates available display "Update Available" in the Definition Status
column.
Ansys Electromagnetics Suite 2024 R1 - © 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 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Modifying Objects
You can quickly modify the position, dimensions, and other characteristics of objects created in
the 3D Modeler window.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Split objects.
l Separate objects.
l Imprint Projection Commands
l Imprinting an Object
Note:
If the Properties window is not visible on the desktop, click View> Properties
Window or use Edit> Properties.
2. In the Properties dialog box or docked Properties window, click the Attribute tab.
3. Click the color sample in the Value column of the Color row.
Alternatively, you can specify a color by typing numbers between 0 and 255 to specify the
following values:
l Hue, Sat (saturation), and Lum (luminance), or
l Red, Green, and Blue
You can also specify a color by clicking within the color spectrum box and using the
luminance slider to the right of this box.
5. Optionally, click Add to Custom Colors to save the settings as a custom color, which
makes in easier to specify the same color for other objects.
Note:
If you wish to overwrite a previously defined or default custom color, choose the
custom color swatch to overwrite before specifying the new color parameters. To
clear your customizations and restore default choices, click Reset Custom
Colors to Defaults.
6. Click OK.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
1. Using the menu bar, click Tools> Options> General Options, or, from the Desktop
ribbon tab, click General Options.
2. In the tree at the left side of the Options dialog box, select 3D Modeler> Display>
Rendering.
3. In the Object Appearance section, click the color sample button to the right of Default
color.
4. Select a color from the Color palette, as described in the parent topic.
Any objects you draw after this point will be assigned the default color you selected.
However, if the Material Appearance option is selected within the Attributes tab of the
object properties, material color and transparency assignments will override the default
assignments.
Alternatively, select Use material appearance if available within the Options dialog box
to use the material color and transparency vlaues by default (when they exist).
5. Click OK.
Note:
If the Properties window not visible on the desktop, click View> Properties
Window or use Edit> Properties.
2. In the Properties dialog box or docked Properties window, click the Attribute tab.
3. Click the Value in the Transparent row.
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. Or, type a decimal number between 0
and 1 (inclusive) in the box to the right of the slider.
5. Click OK.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Any objects you draw after this point will be assigned the default transparency you
specified. However, if the Material Appearance option is selected within the Attributes tab
of the object properties, material color and transparency assignments will override the
default assignments.
Alternatively, select Use material appearance if available within the Options dialog box
to use the material color and transparency values by default (when they exist).
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.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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. Designs and projects containing encrypted
components can be copy pasted for products using 3D Modeler
To import a model from the Clipboard, the model for the current design must be empty. If the
design is not empty, existing geometry is deleted.
The geometry model is imported from the Clipboard with the ID preserved.
1. Select the objects you want to copy from the source design. For selecting all objects, you
can use Edit> Select All or Ctrl+A.
2. Click Edit> Copy.
The objects are copied to the Clipboard, a temporary storage area. The selected items are
not deleted from the source location.
3. Select the design into which you want to paste the objects. It can be in the same project as
the design from which you copied the items or in a different project.
4. Click in the 3D Modeler window.
5. Click Modeler> Import From Clipboard.
The geometry is pasted from the Clipboard with the IDs preserved. Additionally, the
source design's coordinate systems, materials, appearances, and other attributes are
preserved and duplicated in the target design.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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 Modeler window and paste it into another application:
1. Make the Modeler window from which you wish to capture an image active.
2. Copy an image to the clipboard using one of the following three methods:
l From the menu bar, click Edit> Copy Image.
l Right-click the Modeler window and select Copy Image from the shortcut menu.
l On the View ribbon tab, click Copy Image:
A raster image of the contents of the Modeler window is copied to the Clipboard.
3. Open the application into which you want to paste the image of your model and follow that
application's image pasting procedure.
1. Make the report the active window and use the Copy Image command from the Edit
menu, short-cut menu, or View ribbon tab.
2. Open the application into which you want to paste an image of the report and follow that
application's image pasting procedure.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Deleting Objects
1. Select the objects to delete.
2. Delete the selected objects using one of the following three methods:
l From the menu bar, click Edit> Delete.
l From the View, Draw, or Model ribbon tab, click the Delete icon:
Note:
1. In the History Tree, locate the polyline that contains the segment you want to delete and
expand the branch to expose the CreateLine, CreateArc, CreateAngularArc, or
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Alternatively, you can select the segment and choose Edit> Delete Start Point or Edit>
Delete End Point from the menu bar.
This command undoes the last geometry operation performed on the selected object,
including removing that operation from the History Tree and updating the context for the
Undo and Redo commands.
Cutting Objects
1. Select the objects to cut.
2. From the menu bar, click Edit> Cut or, on any ribbon tab, click the Cut icon:
The objects are copied to the Clipboard and removed from the design. They can
subsequently be pasted elsewhere, such as into a different design.
Moving Objects
The process for moving objects differs depending on the Drawing Data Entry Mode for the
Drawing Options, whether Point mode (F3) or Dialog mode (F4).
Ansys Electromagnetics Suite 2024 R1 - © 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.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
3. Enter the coordinates of the location to which the object should move and click OK.
Rotating Objects
Rotate objects about the x-, y-, or z-axis using the Edit> Arrange> Rotate command.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
5. Click OK.
To rotate and copy objects, use the Edit> Duplicate> Around Axis command.
Note:
The object will translate and rotate to make the geometry conform to the new
coordinate system. If your intention was to change the material orientation, but
the object had already been drawn in the correct physical orientation, you will
have to redefine it's properties. The coordinates and dimensions used to define
the object geometry must be based on the same coordinate system that is
needed for proper material orientation. To avoid this problem, it is best to choose
the correct coordinate system for material orientation before drawing the object.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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. From the menu bar, click Edit> Arrange> Mirroror, on the Draw ribbon tab, click the
Mirror icon:
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. 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..
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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.
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.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
3. Type the distance you want to move the object faces from their origins, and then select a
unit from the pull-down menu.
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.
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.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
To copy objects to another design, use the Edit> Copy and Edit> Paste commands.
Note:
3. Specify the vector along which the object will be duplicated. The Measure Data window
appears to help you choose points:
a. Select an arbitrary anchor point in one of the following ways:
l Click the point.
l Type the point's coordinates in the in the X, Y, and Z boxes.
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.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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.
Ansys Electromagnetics Suite 2024 R1 - © 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.
The object is duplicated around the axis at the angle you specified.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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.
Scaling Objects
Scale an object's dimensions in one or more directions using the Edit> Scale command.
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.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
1. If necessary, set a different working coordinate system to achieve the desired scaling.
2. Select the object to scale.
3. From the menu bar, click Edit> Scale.
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.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
3. Select the Sweep axis (that is, the axis you want to sweep the object around: X, Y, or Z).
4. Type an angle into the Angle of sweep text box and select the desired unit of measure.
This is the angle about the specified sweep axis through which you want the object to be
twisted or rotated as it is swept. The value must be between -360 and 360 degrees.
5. Type an angle into the Draft angle text box and select the desired unit of measure.
This is the angle to which you want a 2D object's profile, or shape, expanded (positive
angle) or contracted (negative angle) as it is swept. Among other purposes, drafts make it
easy to remove molded or cast parts from their molds.
For 1D objects, the draft angle progressively alters the sweep radius but does not alter the
length of the object as it is swept. For example, a 10 mm straight line swept around a
parallel axis with a nonzero draft angle would produce a spiral surface with a fixed width of
10 mm. When the sweep angle is positive, a positive draft angle produces a spiral surface
with a decreasing radius (that is, the distance from the generated surface to the sweep
axis decrease along the sweep angle. A negative angle produces a spiral surface with an
increasing radius along the sweep angle. When the sweep angle is negative, the spiral
behavior is the opposite of that just described.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
6. Select one of the following Draft type options from the drop-down menu. The draft type
instructs the modeler whether to maintain the original object shape and how to transition
between adjacent faces. This setting affects the results when sweeping 2D objects into 3D
solids or when sweeping lines and curves into 3D sheets.
l Extended
l Round
l Natural
For a complete description of the behavior of each of these three options, see the Draft
Types page.
7. Type the number of segments in the Number of segments text box and 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 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
4. Type an angle into the Draft angle text box and select the desired unit of measure.
This is the angle to which you want a 2D object's profile, or shape, expanded (positive
angle) or contracted (negative angle) as it is swept. Among other purposes, drafts make it
easy to remove molded or cast parts from their molds.
For 1D objects, the draft angle alters the sweep direction but does not alter the length of
the object as it is swept. For example, a 10 mm straight line swept with a 5-degree draft
angle does not produce a trapezoidal 2D object. It produces a rectangle with a constant 10
mm width but tilted 5 degrees relative to the specified sweep vector.
5. Select one of the following Draft type options from the drop-down menu. The draft type
instructs the modeler whether to maintain the original object shape and how to transition
between adjacent faces. This setting affects the results when sweeping 2D objects into 3D
solids or when sweeping lines and curves into 3D sheets.
l Extended
l Round
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Natural
For a complete description of the behavior of each of these three options, see the Draft
Types page.
6. Click OK.
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.
Note:
If the path curve is tangential to the sweep profile, then the sweep will fail.
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.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
4. Type an angle in the Angle of twist text box and choose the desired unit of measure.
This is the angle you want the profile to rotate about the sweep path vector as it is swept
through the complete path.
5. Type an angle into the Draft angle text box and select the desired unit of measure.
This is the angle to which you want the object's profile, or shape, expanded (positive
angle) or contracted (negative angle) as it is swept. Among other purposes, drafts make it
easy to remove molded or cast parts from their molds.
For 1D objects, the draft angle alters the sweep direction but does not alter the length of
the object as it is swept. For example, a 10 mm straight line swept with a 5-degree draft
angle does not produce a trapezoidal 2D object. It produces a rectangle with a constant 10
mm width but tilted 5 degrees relative to the specified sweep path.
6. Select one of the following Draft type options from the drop-down menu. The draft type
instructs the modeler whether to maintain the original object shape and how to transition
between adjacent faces. This setting affects the results when sweeping 2D objects into 3D
solids or when sweeping lines and curves into 3D sheets.
l Extended
l Round
l Natural
For a complete description of the behavior of each of these three options, see the Draft
Types page.
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.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
This command is useful for extruding faces, resizing holes, and removing rounded corners.
1. Right-click in the Modeler window and choose Select Faces from the shortcut menu.
Alternatively, with the Modeler window active, press F to switch to the Face selection
mode.
4. Type the distance you want to sweep the object face from its origin.
5. Click OK.
The face is swept the distance you specified to create a new 3D object.
When this type of feature is expanding, the corner can gradually become rounded. However, if
the same corner is contracting, the radius is already zero at the start of the sweep and cannot
contract or decrease further. Therefore, no rounding occurs in the latter case.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Now, consider a groove in the perimeter of a 2D object to be swept. Let's define a groove as any
indented feature, where the external angle between the adjacent faces is less than 180-degrees:
A groove will grow in size as the object is swept with a negative draft angle specified. In this
case, progressive rounding of the corners is possible.
You may need to experiment with the three draft type options to determine what the effect will be
for nontrivial object shapes. The behavior of each option can differ according to the shape of the
2D object, the draft angle, and whether it is swept along a vector, a path, or about an axis.
Examples
The images below compare the results of sweeping an object using each of the available Draft
type options. The first six images are of an object swept with a positive draft angle defined. The
final three images are of a different object swept with a negative draft angle defined. For all
examples, the original 2D object is highlighted in magenta.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Observations:
l Extended Option: Notice how two of the four sides of example 1a have been divided into
three faces each (the sides generated by sweeping curved edges). However, the other
two sides (those generated from straight edges) have not been divided.
In example 2a, all four sides have been divided into three faces each. Even the straight
sides generate a complex surface due to the combination of a positive draft angle and a
circular sweep path.
In example 3b (negative draft angle), only the corner of the groove has been rounded. The
indented feature is the only one increasing is size along the sweep direction.
l Natural Option: In both examples 1c and 2c, the corners adjacent to the convex curved
face remain sharp. However, the corners adjacent to the concave curved face are
progressively rounded in both cases (with the radius increasing from zero at the plane of
the original object to a maximum radius at the end of the sweep).
Thicken Sheet
To thicken one or more sheet objects to make 3D objects:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The resulting solid is the requested thickness, but the original sheet location corresponds
to the middle of the resulting solid's thickness.
6. Click OK.
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 of 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.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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 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 following figure:
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 the distance is close relative to the length of the 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 vertex will not be moved to the target edge unless it is
within modeling tolerances.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The following figure shows the situation when you move the edge to the edge before wrapping.
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.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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.
The next figure illustrates wrapping to a non-developable surface. The area of the sheet
changed from 0.7000 mm^2 before wrapping to 0.6986 mm^2 after wrapping.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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.
Limitations/Error Conditions:
l Wrapping on non-developable surfaces creates distortion in lengths.
l Wrapping is not allowed across curved boundaries between faces.
l Working with tolerant edges is successful only if the gaps can be tightened sufficiently for
the operation.
l Wrapping on the pole of a surface (such as sphere or cone) is not supported. A warning is
given:
WrapSheet: Wrapping sheet contacted pole of target surface. Recommend moving sheet
and splitting out pole from target surface.
l The choice of method for how the sheet body is moved to touch the target face is not
directly selectable by the user. If the sheet to be wrapped and target body touch, then the
sheet body is only rotated at point of contact.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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.
You can use the Tools> Options> General Options, 3D Modeler options to
automatically perform a Modeler> Boolean> Imprint command after performing a Wrap.
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 3D Modeler> Drawing section of the General
Options. 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.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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.
1. Switch to the Face selection mode: Click Edit> Selection Mode> Faces.
2. Select a face of the object you want to uncover.
From the menu bar, click Modeler> Surface> Uncover Faces. The selected face is
uncovered, leaving an open face on the object.
Note:
You can uncover one face of a 3D object at a time. If you select multiple faces, only the
first face will be uncovered.
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.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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 section plane is
set.
2. Select the object from which you want to create a cross section.
3. From the menu bar, click Modeler> Surface> Section.
4. Select the Section Plane you will use to divide the object: XY, YZ, or XZ.
5. Click OK.
A closed polyline object is created at the intersection of the 3D object and the specified
section plane. The original 3D object is unmodified.
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.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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 2024 R1 - © 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.
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.”
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
To Project a Sheet:
1. Select a planar sheet object and one or more appropriate solid objects.
2. From the menu bar, click Modeler> Surface> Project Sheet or, on the Draw ribbon tab,
click Sheet> Project Steet:
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 docked Propertieswindow. 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.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The following figure shows the effect of a negative value for thickness.
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.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Other examples of Project Sheet on complex models are show in the following figure.
This command is useful for extruding faces, resizing holes, and removing rounded corners, as
shown below.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
1. Right-click in the Modeler window and click Select Faces on the shortcut menu.
2. Select the face of the object you want to move.
If you have created a suitable face list, right-click the list and click Select Assignment
from the shortcut menu. You can operate on faces in the list.
To move every face of an object normal to its surface, use the Edit> Arrange> Offset
command.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
If you have created a suitable face list, right-click the list and click Select Assignment
from the shortcut menu. You can operate on faces in the list.
3. From the menu bar, click Modeler> Surface> Move Faces> Along Vector, or, on the
Draw ribbon tab, click Surface> Move Faces Along Vector:
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 2024 R1 - © 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.
This command is useful for extending or shrinking faces and resizing holes.
1. Right-click in the Modeler window and choose Select Edge on the shortcut menu.
2. Select the edge of the object you want to move.
3. From the menu bar, click Modeler> Edge> Move Edge or, on the Draw ribbon tab, click
Edge> Move Edges:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
5. Click OK.
The edge of the object is moved based on the value you specified.
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 tool objects before uniting in the 3D Modeler> Operation
section of the General Options. This option instructs the modeler to always keep
a copy of the original objects being joined.
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. From the menu bar, click Modeler> Boolean> Subtract or, on the Draw ribbon tab, click
the Subtract icon:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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.
Though you can type the name of objects into either list, you cannot access the Subtract
command unless you first select two or more model objects. Therefore, the lists will initially
be populated with the selected objects.
5. Optionally, select Clone tool objects before subtracting. This option instructs Ansys
Electronics Desktop to keep a copy of the original objects being subtracted.
6. Click OK.
The revised Blank Parts retain their original name, color, and material.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note:
By default, the Tool Parts (that is, the objects being subtracted from the Blank Parts)
are not preserved for later use. If you want to keep a copy of the objects being
subtracted from the blank parts, do one of the following:
l In the Subtract dialog box, select Clone tool objects before subtracting, as
stated in step 5 above. This action is a one-time override of the defdefault
behavior.
l In the 3D Modeler> Operation section of the General Options, select Clone tool
objects before subtracting. This option instructs Ansys Electronics Desktop to
always (that is, by default) 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. When three or more objects have been selected, an intersection
is created only if a common volume exists in which all the selected objects
overlap. Otherwise, a null object is created and all original objects vanish.
For example, assume that Part 1 overlaps Part 2, and Part 2 overlaps Part 3, but
all three parts do not overlap in a common volume. This situation results in no
intersection being created, and all three parts vanishing.
2. From the menu bar, click Modeler> Boolean> Intersect. (You can also access this
command from the Draw ribbon tab.)
The original objects vanish, leaving only the new object that was formed from their
intersection.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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 tool opbects before intersecting in the 3D Modeler> Operation
section of the General Options. This option instructs the modeler to always keep
a copy of the original tool parts (the second and subsequent objects selected)
that intersect the blank part (the first object selected). The blank part is not
preserved. To preserve the blank part, do as instructed in the preceding bullet.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
1. Right-click in the Modeler window and choose Select Faces from the shortcut menu.
2. Select the object face you want to copy. If you select multiple faces, each becomes a new
object.
3. From the menu bar, click Modeler>Surface>Create Object From Face or, on the Draw
ribbon tab, click Surface> Create Object From Face:
The face is copied, resulting in a new 2D sheet object in the same location.
Tip:
This command is useful for assigning a boundary to the partial intersection of two
faces. To do this, first select the faces and create objects from them using the
procedure shown above. Next, make sure the Clone tool objects before
intersecting option is cleared in the 3D Modeler> Operation section of the General
Options. Then, select the two sheet objects and use the Modeler> Boolean>
Intersect command to create a sheet object that includes only the intersection of the
two faces. Finally, assign the boundary to the new sheet object.
1. Right-click in the modeler window and choose Select Edges from the shortcut menu.
2. Select the object edge you want to copy. If you select multiple edges, each edge becomes
a new line object.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
3. From the menu bar, click Modeler> Edge> Create Object From Edge or, on the Draw
ribbon tab, click Edge> Create Object From Face:
The edge is copied. The resulting object appears in the History Tree as a line object.
Splitting Objects
To split an object or several objects using one of the global planes (XY, YZ, or XZ) or a plane
based on a selected face or arc, use the Modeler> Boolean> Split command.
1. Select the object you want to split. You can select more than one object.
2. From the menu bar, click Modeler> Boolean> Split or, on the Draw ribbon tab, click
the Split icon:
The Split dialog box appears. Also, a cyan colored wheel shows the current split plane and
points toward the positive side of the plane.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
3. Choose the desired Split method and specify the splitting plane:
l Split using plane: Select the desired splitting plane (XY, YZ, or XZ) from the drop-
down menu, or
l Split using plane from selected face/edge: Select a single face or edge (specifically,
a planar face or arc) to define the splitting plane.
The following example shows the top face of the box being used to define the splitting
plane for the cylinder:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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 splitting plane.
l Negative side: Keep objects on the negative side of the splitting plane.
l Both: Keep objects on both sides of the splitting plane.
The split plane is shown using a cyan colored wheel with spokes, as seen in the images
above and below left. A cyan arrow indicates which side of the split plane is the positive
side.
In the following example, the YZ plane (green and blue axes) is the splitting plane, and the
result on the positive side was kept. The picture on the left is before the split. The picture
on the right is the result of the completed Split command:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The next example shows the second Split method (Split using plane from selected
face/edge). You can only select one entity, a planar face or an arc (selected as an edge).
The face or edge used to define the splitting plane need not belong to one of objects
selected to be split. You can select any face or arc edge in the model.. You can pan,
zoom, or rotate the model viewpoint as needed to make the selection easier. Also, the
Keep result for Both sides option was selected. (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 of the completed Split command:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Separating Bodies
To separate an object with multiple lumps (geometric bodies) into individual single-body objects:
Ansys Electromagnetics Suite 2024 R1 - © 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 tree.
2. Click the polyline segment operation you want to change to select it.
The segment properties appear in the Segment tab of the docked Properties window.
3. Click in the Value text box in the Segment Type row and select the desired polyline
segment type from the drop-down menu.
Note:
4. By default, curved segments are generated as smooth (true) curves. If you want to
approximate an arc or spline using multiple discrete straight segments, enter an integer of
2 or greater in the Number of Segments value. A value of zero produces a smooth curve.
Segmented curves can be useful when sweeping polylines into surfaces. Segmented
surfaces provide some regularity to the mesh and can enable you to visualize surface
twisting when you sweep along a path with a twist angle specified.
5. If the changes are not what you expected, undo the change using the Edit> Undo
command or by pressing Ctrl+Z.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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.
2. From the menu bar, click Modeler> Fillet or, on the Draw ribbon tab, click the Fillet icon:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
3. Enter a value for the Fillet Radius and select units from the drop-down menu.
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 the Setback distance
has no effect. Also, you will get an error if it is greater then the length of the edge. Note that
the setback feature only works on corners where three or more edges meet and only if all
edges meeting at the vertex are selected.
The dialog box closes and the object edges and vertices are rounded as specified.
The angle between the original faces and the chamfer's face varies depending on the angle
between the original faces, and it also depends on the left and right chamfer distances. For
example, for two faces at 90° with an equal distance (symmetrical) chamfer, the edge chamfer's
face will be 45° from both of the original faces.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Vertices are only going to be replaced by new flat faces if all the edges connecting to the original
vertex are selected; otherwise, the vertex is preserved but moved (if necessary).
1. Right-click the desktop, and select Select Edges from the shortcut menu.
2. Select the edge (or edges) you want to change.
3. From the menu bar, click Modeler> Chamfer or, on the Draw ribbon tab, click the
Chamfer icon:
4. Type a Left Distance value and select the units from the drop-down menu.
5. Click OK to apply the change to the selected edges.
1. Select one or more edges and click Modeler> Chamfer to open the Chamfer Properties
dialog box.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note:
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. This process splits the larger face into two or more faces, with the
intersecting lines representing the edges of the imprinted face. The original face is cut so that it
no longer extends into the imprinted area.
Imprinting is often an essential capability for finite element analysis. It enables a boundary or
excitation to be applied to the exposed area of a model face while excluding it from areas of
intersection with other parts. One example is a thermal analysis where convection is applied to
the exposed surfaces of a heat sink. The area in contact with a semiconductor (the source or
heat) is not exposed to ambient air and should not receive a convection boundary. In this case,
you would imprint the semiconductor on the heat sink, producing a separate heat sink face in the
contact area. This face is excluded from the selection set when applying the convection
boundary.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
You can select the faces of the imprinted surface separately and assign properties as needed.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The Imprint dialog box displays 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. Optionally, select Clone the tool objects before operation to retain the tool part.
Otherwise, only its imprint on the blank part will remain.
4. Click OK to close the dialog box and perform the Boolean imprinting.
The History Tree retains the ImprintObject command and the Create<object> command
for the imprinted tool object:
Ansys Electromagnetics Suite 2024 R1 - © 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
docked Properties window. If you select the Create<object> icon, you can edit the properties of
that object. The changes you apply carry over to the imprinting operation, modifying the
imprinted face accordingly.
In the 3D Modeler > Operation section of the General Options, you can also enable the
Automatically imprint wrapped sheets option to automatically perform an Imprint operation
command after executing the Modeler > Surface > Wrap command.
If the receiving surface is curved or inclined, and you choose to project Along Normal direction,
the dimensions of the projection are affected. The reason is that the projection direction is
normal to the curved or inclined face of the receiving object and not normal to the object being
projected.
The projected shape will wrap around the target object, from the face nearest to the center of the
imprinting area and extending to the adjacent target object faces:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
If the projection of the imprinting object extends beyond the extents of the receiving object, the
imprinted shape is truncated:
You can select the imprinted faces on the target object separately, and perform subsequent
operations (such as creating sheet objects from the faces, assigning boundaries or excitations,
or selecting for field overlays).
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
1. If you want to preserve the tool object that will be imprinted on the target object, use one of
the following methods:
l Copy the tool object to the clipboard so that you can paste it back into the model after
the imprinting operation.
l In the 3D Modeler> Operation section of the General Options, select the Clone tool
objects before projecting option.
2. Select the projecting and target objects.
3. From the menu bar, click Modeler> Boolean> Imprint Projection> Along Normal or
Modeler> Boolean> Imprint Projection> Along Direction...
l If you select Along Normal, the projection occurs along the direction normal to the target
faces and the operation is completed immediately. Imprinting occurs only on target
faces visible from the imprinting object's point of view.
l If you select Along Direction, you must specify two points that define the imprinting
vector direction (step 3 below). Once you have done this, you see a dialog box for
specifying the projection Distance. This option allows you to limit the projection
distance so that only near faces are affected. Unlike the Along Normal option, the Along
Direction option can imprint onto the target object faces that are not visible from the
imprinting object's point of view (that is, those on the opposite side of the target object):
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
b. Specify the maximum projection Distanceand select the length unit from the drop-
down menu.
c. Click OK.
The dialog box closes and the Boolean imprinting operation is performed.
After you perform the imprinting, the History Tree shows the ImprintProjection 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 docked 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 operation.
Related Topics
Working with the History Tree
Generate History
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
object and use the Generate History command to reproduce, in the History Tree, the primitive
object definition or the individual line segments used to create a polyline. Generated History
uses the original coordinate system in which theobjects were created. Generate History also
retains boundary conditions.
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
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l All Sheets
l All Lines
Some Edit>Extend Selection menu commands are enabled when you select an appropriate
object:
l All Object Faces
l All Object Edges
l All Face Edges
l Faces on Plane
l Select Connected Vertices
l Select Connected Edges
l Select Connected Faces
l Select Edge Chain
l Select Face Chain
l Select Sheet Edges
You can also right-click 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 changing settings in the NVIDIA Control Panel application. In the
Select a Task tree, navigate to 3D Settings> Manage 3D Settings. Then, under the
Global Settings tab, choose Workstation App - Dynamic Streaming from the
Global presets drop-down menu.
For more information about graphics cards, see the section Open GL under Installation
Prerequisites in the Ansys EM Installation Guide.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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. As you hover the cursor over an entity, tooltips
indicate its type/ID (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.
If the modeler is not currently in object selection mode, you can switch to it using one of the
following methods:
l Press the O shortcut key while the Modeler window is active.
l Right-click in the Modeler window and click Selection Mode> Select Objects.
l From the menu bar, click Edit> Selection Mode> Objects.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l On the Draw or Model ribbon tabs, choose Object from the Select drop-down menu:
When you've selected an object, the menu bar's Edit> Extend Selection submenu and the
Extend Selection submenu in the Modeler window's shortcut menu show the following options:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Press Ctrl+A or, from the menu bar, click Edit> Select All Visible to select all visible
objects in the active Modeler window.
l From the menu bar, click Edit> Select Objects> or right-click in the Model window and
go to the Select Objects> submenu. Then, choose a command from the submenu
suitable for the objects you want to select:
l Right-click a History Tree icon for Model, Group, object, category (such as Solid or
Sheet), or material to perform context-sensitive selections. See Select Objects in the
History Tree.
2. Access the Select Object dialog box using one of the following three methods:
l From the menu bar, click Edit> Select Objects> By Name.
l On the Draw or Model ribbon tab, click Select by Name.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Right-click in the Modeler window and choose Select Objects> By Name from the
shortcut menu.
The Select Object dialog box appears, populated with a list of the objects in the model, by
name:
3. In the Name list, click the name of the object you want to select. Use the Ctrl key to select
more than one.
Alternatively, type the name of an object in the empty text box, click the arrow to the right
of the text box, and choose Select or Deselect.
4. Click OK.
2. Access the Select Object dialog box using one of the following two methods:
l From the menu bar, click Edit> Select Objects> By Material.
l Right-click in the Modeler window and choose Select Objects> By Material from the
shortcut menu.
The Select Object dialog box appears, populated with a list of the materials comprising the
model objects:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
3. In the Name list, click the material of the object or objects you want to select. Use the Ctrl
key to select more than one material.
Alternatively, type the name of a material in the empty text box, click the arrow to the right
of the text box, and choose Select or Deselect.
4. Click OK.
Select By Area
You can select items by area in the Modeler window by clicking and dragging a rubber band
(selection box) around objects. Rubber band selection works differently depending on the
direction you drag the mouse:
l From right-to-left: Selects all items that are wholly or partly enclosed within the rubber
band.
l From left-to-right: Selects only the items that are wholly enclosed within the rubber
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
band.
Area selection works with Object, Face, Edge, and Vertex selection modes, but not for the Multi
selection mode.
You can control which objects to include or exclude from area selections based on material,
object name, or object type. To do this:
1. From the menu bar, click Edit> Select By Area Filter to display the following dialog box:
2. Check Material filters to enable the Include and Exclude radio buttons. Use the text box
to specify filters by name, or use the ellipsis [...] button to display the Select Definition
dialog box, from which you can browse and select materials.
3. Check Object name filters to enable the Exclude and Include check boxes and
associated text boxes in which you can specify object names.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
4. Check Object type filters to enable the Include check boxes for including Solids,
Sheets, and/or Lines.
5. Check Select front entities only to prevent entities in the background (that is, those
hidden behind other entities) from being selected.
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 box.
Now when you 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.
1. From the menu bar, click Tools> Options> General Options or, on the Draw ribbon tab,
click General Options.
2. In the tree at the left side of the dialog box, select the 3D Modeler> Display> Rendering
group of settings.
3. In the Rendering Defaults section, choose Select from the Default color pull-down menu.
4. Click the color button to the right of Select.
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 to easily distinguish between selected
and non-selected objects and to see selected objects on the back side of the model.
The 3D UI Options dialog box appears. The When there is a selection region contains
check boxes for setting the transparency for selected and non-selected objects.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
2. Ensure that the check box is selected for any value you want to change.
Each check box enables the associated value box. 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.
3. In the Rendering Defaults section, choose Highlight from the Default color pull-down
menu.
4. Click the color button to the right of Highlight.
Outlines of all object you hover over temporarily become the default color you specified
above.
1. If you are selecting in the Modeler window, make sure that the modeler is in object
selection mode by pressing the O shortcut key. 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 appears in the History Tree
under Lists. Selecting an object list displays the properties of that list in the docked
Properties window. One of the properties is a list of objects contained in the list.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
To rename the Object list, edit its Name in the docked Properties window. Object lists are
sorted in alphanumeric order.
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. Select this list selects all objects in the
model. 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.
l Line objects in the list do not affect where the fields are saved. If all objects in the list are
lines, fields will be saved on all objects.
l To post processing on line object when saving fields on object/face list, include both the
line and its containing object/face in the list.
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.
1. If you are selecting in the Modeler window, make sure that the modeler is in object
selection mode by pressing the O shortcut key. 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 box 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 of the List shows the objects contained in the list, with each name separated by a
comma.
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.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The objects that are included in that list are selected in the Modeler window, and the
attributes appear in the docked Properties window.
To view the properties of the object list (including a list of the objects included):
The Properties dialog box appears. The objects included in the list appear as comma-
separated names in the Objects row.
The objects that are included in that list are selected in the Modeler window, and the
attributes appear in the docked Properties window.
3. Holding Ctrl, select any additional objects you might want to use in the operation.
4. Complete the operation.
For example, you could select an object list and an additional object, and then execute
one of the Boolean commands (such as Unite or Subtract).
This method, and the method that follows, is useful when you want to select objects using
the mouse, since the mouse cannot select invisible objects.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Make the objects on the outside of the model invisible using the menu bar's other View>
Visibility> commands:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Use the Select by Name command to select Objects or Faces inside the model.
l Use the Next Behind command in the Edit menu or Modeler shortcut menu, or use the B
shortcut key. This command selects the object that lies behind the one you initially
selected. This command does nothing if no objects have previously been selected or if no
object is behind the one you initially selected at the location you clicked.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Selecting Faces
If the modeler is in face selection mode, click an object face in the view window to select it. The
selected face is rendered in the section color (magenta by default) and is relatively opaque by
default. All other objects become relatively transparent.
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 3D
Modeler> Display> Rendering section the General Options.
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 Select Face dialog box.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
When you've selected a face, the menu bar's Edit> Extend Selection submenu and the Extend
Selection submenu in the Modeler window's shortcut menu show the following options:
Various tools are available for face selection, as described in the Related Topics listed below.
3. Use one of the following methods of selecting all faces of the objects of interest:
l From the menu bar, click Edit> Extend Selection> All Object Faces.
l Right-click in the Modeler window and choose Extend Selection> All Object Faces
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The selection is extended to include all faces of each object that had at least one face
selected originally.
2. From the menu bar, click Edit> Select Objects> By Name or, on the Draw or Model
ribbon tabs, click Select by Name.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
3. In the Object name box, click the name of the object with the face or faces you want to
select.
4. Click the face you want to select in the Face ID column. Use Ctrl+click to select more
than one face or Shift+click to select a range of faces.
The selected faces are highlighted in the list and in the Modeler window.
5. Click OK.
Method 1:
1. Make sure that the modeler is in face selection mode by pressing the F shortcut key.
2. In the History Tree, expand the Planes branch and select a plane to display (a global
plane, a user-defined plane, or a plane associated with a relative coordinate system).
3. From the menu bar, click Edit> Extend Selection> Faces on Plane or right-click in the
Modeler window and choose Extend Selection> Faces on Plane.
Method 2:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
1. Make sure that the modeler is in face selection mode by pressing the F shortcut key.
2. Select the object faces you want to include in the face list.
3. From the menu bar, 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.
4. Optionally, 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 change the Name
value in the docked Properties window.
If necessary, the lists in the History Tree are resorted to restore the proper alphanumeric
order.
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 the Surface option.
l Line objects in the list do not affect where the fields are saved. If all objects in the list are
lines, fields will be saved on all objects.
l To post processing on line object when saving fields on object/face list, include both the
line and its containing object/face in the list.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
If you right-click an existing face list and choose Select Assignment from the shortcut menu,
you can make boundary assignments or execute the Move Faces geometry operations for all
faces in the list.
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. The edge is rendered as nearly opaque using the default Select color. All other
objects become relatively transparent.
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.
Selecting an edge enables the following commands in the menu bar's Edit> Extend
Selection>...submenu and the Extend Selection>... submenu that appears when you right-
click in the Modeler window.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
You can also select multiple edges by holding the Ctrl key as you click additional edges.
1. Select a single edge or face that belongs to the object for which you wish to select all
edges.
You may also select the object itself. The type of entity you initially choose affects which
selection tools will be available in the next step:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
2. If you selected an object or an edge in step 1, the following All Edge command is
available:
l From the menu bar click Edit> Extend Selection> All Object Edges or right-click in
the Modeler window and choose Extend Selection> All Object Edges from the
shortcut menu.
3. If you selected a face in step 1, the following two All Edge commands are available:
l From the menu bar click Edit> Extend Selection> All Face Edges or right-click in the
Modeler window and choose Extend Selection> All Face Edges from the shortcut
menu.
All edges of the object to which the face belongs are selected.
If you selected multiple objects, all edges of those objects are selected.
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.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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 are rendered as using the
default Select color. All other objects become relatively transparent.
Selecting a vertex enables the following commands in the menu bar's Edit> Extend
Selection>... submenu and the Extend Selection>... submenu that appears when you right-
click in the Modeler window.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Select Connected Edges: Selects all edges that touch the initially selected vertices.
l Select Connected Faces: selects all faces touching the initially selected vertices.
Note:
Multiple vertices can exist at the same coordinates, one vertex for each object that
intersects at that point. There's no visual way to discern to which object a selected
vertex belongs. If you click a vertex and use any of the commands listed above, only
the entities that belong to the same object will be selected. To select the associated
entities for all objects, start by box-selecting the verticex at the point of interest (clicking
and dragging from left-to-right). This method selects all coincident vertices at the point.
Then, use one of the above three commands.
You can also pick a vertex and press B (Next Behind) to select a different vertex at the
point of interest. Use the trial and error method to select the related vertices, edges, or
faces of the desired object. For example, you may have to press B two or more times to
select the vertex of the desired object.
Selecting Multi
The Select Multi mode permits you to select a mixture of objects, faces, vertices, or edges,
depending on where you click. This mode can be very useful in conjunction with Measure Mode,
for measuring the distances between different entities. Enter the Multi selection mode using one
of the following methods:
l With the Modeler window active, press the M shortcut key.
l Right-click in the Modeler window and choose Selection Mode> Multi from the shortcut
menu.
l From the menu bar, click Edit> Selection Mode> Multi.
l On the Draw or Model ribbon tabs, choose Multi from the Select drop-down menu.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
As you hover the cursor over an entity, a Tooltip indicates the type/ID of the entity (object name
in the case of objects, Face_id in the case of faces, and so on). For example, this feature helps
you to distinguish between the the selection of the face of a sheet object versus a sheet object.
By holding down the Ctrl key, you can make multiple selections.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Clear a box filters out the associated item, preventing that type of entity from being selected
while the Multi selection mode is active.
Ansys Electromagnetics Suite 2024 R1 - © 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.
You can access Group commands in several ways: via Modeler > Group, via the right-click
shortcut menu in the History tree, via the right-click shortcut menu in the Modeler window, and
via the Group icons on the Model tab.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Group > Create works with or without a selection. If the History Tree Layout>Show Groups
command is disabled, a dialog box reports that groups are currently hidden, and that if you OK to
continue, groups will be shown. If there is no selection of objects for new group, an empty group
is created under Model. If there are selections, 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 the 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 > Flatten is enabled when you select a group. You can select multiple groups at different
levels. All of the selected group's contents (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. If the History Tree Layout > Show
Groups command is disabled, a dialog box reports that groups are currently hidden, and that if
you OK to continue, groups will be shown.
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. If the History Tree Layout > Show Groups command is
disabled, a dialog box reports that groups are currently hidden, and that if you click OK to
continue, groups will be shown.
Operations on Groups
Edit/Delete
Delete operations delete group and all the children, including sub-groups, under the group.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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.
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 2024 R1 - © 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 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The Group selection mode is only available when the model contains at least one defined group.
Use one of the following methods of setting the selection mode to Group:
l From the menu bar, click Edit> Selection Mode> Groups.
l With the Modeler window active, press the G shortcut key.
l Right-click in the Modeler window and choose Selection Mode> Groups from the
shortcut menu.
l On the Draw or Model ribbon tabs, choose Group from the Select drop-down menu. You
may have to scroll up to see this option.
If your design contains submodels, you can set the selection mode to Submodel:
l From the menu bar, click Edit> Selection Mode> Submodels.
l With the Modeler window active, press the U shortcut key.
l Right-click in the Modeler window and choose Selection Mode> Submodels from the
shortcut menu.
l On the Draw or Model ribbon tabs, choose Submodel from the Select drop-down menu.
You may have to scroll up to see this option.
Clearing a Selection
To clear an object, face, edge, or vertex selection, do one of the following:
l Click in an empty area of the Modeler window.
l To clear an object selection, click a point away from the object name in the History Tree.
l From the menu bar, click Edit> Deselect All.
l Press Shift+Ctrl+A.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note:
The desired entity must be behind the point where you clicked, not just behind the
initially selected face, edge, vertex, or object.
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 viewpoint to select an item.
The Select by Variable dialog box appears, which lists the variables in your design. Both
columns are sortable by clicking the header. You can resize and move the dialog box.
When you next open it, it remembers that size and location.
The dialog box closes, and the object affected by the variable is highlighted in the Modeler
window.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The Message window contains a reference that you can select and use to go to the
affected object.
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.
The Measure Data dialog box opens. As you move the cursor over the Modeler window,
the top line in the Measure Data dialog box 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.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
This action moves the reference point marker to the new location. The Measure Data
dialog box updates. The coordinates boxes in the Status Bar change to accept Relative
distance information. If you prefer, rather than setting the reference point with the cursor,
you can press Tab to jump to a coordinate box in the status bar, where you can specify the
coordinates numerically. Navigate among the three coordinate boxes by pressing the Tab
key again.
Tip:
Press Tab to move from one coordinate text box to the next. Press Ctrl+Tab to
move to the previous coordinate text box.
1. After clicking the desired drawing command, select Cylindrical from the pull-down menu
in the Status Bar.
Ansys Electromagnetics Suite 2024 R1 - © 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.
Tip:
Press Tab to move from one coordinate text box to the next. Press Ctrl+Tab to
move to the previous coordinate text box.
Note:
Even though you are inputting spherical coordinates, all data is internally stored in
Cartesian coordinates.
1. After clicking the desired drawing command, select Spherical from the drop-down menu
in the status bar.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
2. Type the point's r, theta, and phi coordinates in the Rho, Theta, and Phi text boxes in the
Status Bar.
Tip:
Press Tab to move from one coordinate text box to the next. Press Ctrl+Tab to
move to the previous coordinate text box.
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 drop-down menu in the Status Bar. Be sure to select
Absolute from this drop-down menu if you want the second point to be relative
the origin of the working coordinate system.
Ansys Electromagnetics Suite 2024 R1 - © 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:
To change the reference point, move the cursor to the desired point and Ctrl+click the point.
When creating 1D, 2D, or 3D geometry graphically (that is, by clicking points instead of by
defining coordinates numerically), points that you can select are dependent on the current
Movement Mode setting. You can move the cursor and place a point at one of the following
locations:
l In the same plane as the reference point (In Plane movement mode)
l Perpendicular to the reference point (Out of Plane movement mode)
l If an object is present, you can snap to one of its points – any snapable point in 3D space
(3D movement mode).
l Along the X-axis of the working coordinate system (CS)
l Along the Y-axis of the working CS
l Along the Z-axis of the working CS
Drawing commands that you choose may temporarily override the current movement mode. For
example, when you draw a box or cylinder, the first two points you click (defining the base) may
be in the drawing plane, but the third (defining the height) must be out of plane relative to the
base. In this case, you do not have to manually change the movement mode; it is automatically
overridden for the third click.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note:
For all six movement modes covered in this section, the following rules apply regarding
mode persistance:
l If you change the movement mode before executing a drawing command, the
new mode setting will be retained until you change it again.
l If you change the movement mode after executing a drawing command, it will be
treated as a temporary override. Upon completion of the drawing operation, the
mode will revert to the previous setting.
Before or after clicking a desired drawing command, change the movement mode using one of
the following methods:
l From the menu bar, click 3D Model> Movement Mode> In Plane.
l On the Draw ribbon tab, choose In Plane from the Movement mode drop-down menu:
The following additional method is available only after clicking a drawing command:
l Right-click in the Modeler window and choose Movement Mode> In Plane from the
shortcut menu.
The next point you select will be on the same plane as the reference point. The cursor's location
is displayed with a black diamond that indicates where it will snap to the drawing plane grid.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
If you click a snapping point on an object in 3D space (that is, one not on the drawing plane), the
point location is projected to the drawing plane along a perpendicular vector. In the following
example, a filled black square indicates the projected snapping point:
The symbol used for projected point matches the type of snapping point on the object (vertex,
edge center, face center, and so on).
The Measure Data window and the coordinate text boxes in the Status Bar provide precise
cursor location information.
Before or after clicking a desired drawing command, change the movement mode using one of
the following methods:
l From the menu bar, click 3D Model> Movement Mode> Out of Plane.
l On the Draw ribbon tab, choose Out of Plane from the Movement mode drop-down
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
menu:
The following additional method is available only after clicking a drawing command:
l Right-click in the Modeler window and choose Movement Mode> Out of Plane from the
shortcut menu.
A dashed line perpendicular to the drawing plane is displayed, and a filled black diamond
indicates the cursor's location:
The Measure Data window and the coordinate text boxes in the Status Bar provide precise
cursor location information.
Before or after clicking a desired drawing command, change the movement mode using one of
the following methods:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The following additional method is available only after clicking a drawing command:
l Right-click in the Modeler window and click Movement Mode> 3D from the shortcut
menu.
If one of an object's snapping points (vertex, edge center, face center, and so on) is within
snapping range of the cursor, the geometry you are drawing will snap to that point. The symbol
will indicate the type of snapping point. In the following example, the cursor will snap to the face
center point of the boxes top face:
If an object is not within snapping range of the cursor, the 3D movement mode is identical to the
In Plane mode. That is, the geometry being drawn will snap to a grid point on the drawing plane.
In either case, the Measure Data window and the coordinate text boxes in the Status Bar provide
precise cursor location information.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Before or after clicking a desired drawing command, change the movement mode using one of
the following methods:
l From the menu bar, click 3D Model> Movement Mode> Along X Axis.
l On the Draw ribbon tab, choose Along X Axis from the Movement mode drop-down
menu:
The following additional methods are available only after clicking a drawing command:
l Press and hold the X key while clicking the next point.
l Right-click in the Modeler window and choose Movement Mode> Along X Axis from the
shortcut menu.
The next point you select will be on the same plane as the reference point and in the positive or
negative X direction relative to the reference point.
The Measure Data window and the coordinate text boxes in the Status Bar provide precise
cursor location information.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Before or after clicking a desired drawing command, change the movement mode using one of
the following methods:
l From the menu bar, click 3D Model> Movement Mode> Along Y Axis.
l On the Draw ribbon tab, choose Along Y Axis from the Movement mode drop-down
menu:
The following additional method is available only after clicking a drawing command:
l Right-click in the Modeler window and choose Movement Mode> Along Y Axis from the
shortcut menu.
l Press and hold the Y key while clicking the next point.
The next point you select will be on the same plane as the reference point and in the positive or
negative Y direction relative to the reference point.
The Measure Data window and the coordinate text boxes in the Status Bar provide precise
cursor location information.
Before or after clicking a desired drawing command, change the movement mode using one of
the following methods:
l From the menu bar, click 3D Model> Movement Mode> Along Z Axis.
l On the Draw ribbon tab, choose Along Z Axis from the Movement mode drop-down
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
menu:
The following additional methods are available only after clicking a drawing command:
l Press and hold the Z key while clicking the next point.
l Right-click in the Modeler window and choose Movement Mode> Along Z Axis from the
shortcut menu.
The next point you select will be on the same plane as the reference point and in the positive or
negative Z direction relative to the reference point.
The Measure Data window and the coordinate text boxes in the Status Bar provide precise
cursor location information.
Measure Modes
The Measure modes lets you measure the position, length, area, and volume of objects. With
two faces selected, with two edges selected, or with an edge and a face selected, the Measure
Mode displays the angle and distance between them. The Measure Position mode dynamically
measures the distance between a reference point and the cursor location. You can pause
dynamic tracking in order to copy text information from the Measure Data window, and then
Resume dynamic updating.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
drop-down menu.
2. Select items to measure as described below under Measurement Modes and Data.
3. Optionally, to Pause the dynamic tracking, do one of the following:
l Right-click in the Modeler window and select Pause Tracking:
l Press P.
While paused, you can move the cursor without changing the Measure Data window
contents. You can also copy and paste the data to a text file:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note:
As you move the cursor, the Measure Data window displays the reference
point, current cursor location, and measurement information. Clicking on a
new vertex or other snap point updates the reference to the new location and
resets the measurement results to zero. To resent the reference point
location without clearing the measurement data, Ctrl+click the point.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l No. of Shells
l No. of Faces
l No. of Loops
l No. of Edges (the total number of unique edges)
l No. of CoEdges (the total number of coincident edges, where adjacent faces intersect)
l No. of Vertices
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 Global coordinate system (CS) is the fixed, default CS for each new project. It cannot
be edited or deleted.
l A Relative CS 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 and/or orientation accordingly. You can define a relative CS to be Offset
and/or Rotated from an existing CS.
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.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l A Face CS 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 working CS. 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 docked Properties window lists the CS associated with an object as the
Orientation. By default, the orientation is Global, but if you have created the object under a
different coordinate system, that CS will be shown for the orientation. You can click on the
current orientation to see a drop-down menu of other orientations that you can assign for an
object.
User-defined CSs are saved with the active project. When you open a project, the CS
designated as working CS when you last saved it is active.
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.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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> Options> General Options to display the Options dialog box.
Under the 3D Modeler> Drawing options, choose your prefered Relative Coordinate
System Creation Mode. The Axis/Position option uses the cursor or coordinate entry
boxes in the Status bar to define the CS. The Euler angle option causes the Set Origin,
Set Euler Angles, or Set Origin and Euler Angles dialog box to display (depending on the
type of Offset CS you are creating). You define the origin and angles numerically in the
dialog box.
You can also press F3 or F4 after clicking a RelativeCS command to switch between the
two entry modes on the fly.
Selecting the CS in the History Tree causes the docked Properties window to show the CS
properties.
1. In the History Tree, click the CS upon which you want to base the new relative CS, making
it the working CS.
2. From the menu bar, click Modeler> Coordinate System> Create> Relative CS> Offset
or, on the Draw ribbon tab, click Relative CS. (You do not have to access the drop-down
menu because Offset is the default option for a Relative CS in the ribbon:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
3. Depending on your Relative Coordinate System Creation Mode choice (Tools> Options>
General Options, 3D Modeler> Drawing), or whether you press F3 or F4, you can select
the origin in one of the following two ways:
l Axis/Position option selected, or F3 pressed – Use one of the following two coordinate
entry methods:
o Specify the coordinates graphically (click to select):
Use the cursor to click the point. You can see the coordinate information in the
Measure Data window.
To select a point that does not lie in the current plane, use the Movement Mode
commands or choose a different drawing plane.
o Specify the coordinates numerically (using the coordinate entry text boxes in the
Status Bar):
a. In the Status Bar, choose the type of coordinate system from the rightmost drop-
down menu (Cartesian, Cylindrical, or Spherical).
b. Select either Relative or Absolute coordinates from the other drop-down menu.
c. Type the CS origin coordinates in the X, Y and Z (or dX, dY, and dZ) text boxes.
l Euler angle option selected, or F4 pressed:
In the Set Origin dialog box, specify the X, Y, and Z coordinates and units and click OK.
Ansys Electromagnetics Suite 2024 R1 - © 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.
1. In the History Tree, select the CS upon which you want to base the new relative CS,
making it the working CS.
2. Click Modeler> Coordinate System> Create> Relative CS> Rotated or, on the Draw
ribbon tab, click Relative CS> Rotated:
.
3. Depending on your Relative Coordinate System Creation Mode choice (Tools> Options>
General Options – 3D Modeler> Drawing), or whether you press F3 or F4, you can
specify the axes in one of the following two ways:
n Axis/Position option selected, or F3 pressed – Use one of the following coordinate
entry methods:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
To select a point that does not lie in the current plane, use the Movement Mode
commands or choose a different drawing plane.
b. In the same manner, select any point lying on the XY plan that's not on the X-axis.
a. In the Status Bar, choose the type of coordinate system from the rightmost drop-
down menu (Cartesian, Cylindrical, or Spherical).
b. Select either Relative or Absolute coordinates from the other drop-down menu.
c. Type the coordinates of a point on the desired X-axis in the X, Y and Z (or dX, dY,
and dZ) text boxes and press Enter.
d. In the same manner, type the coordinates of a point lying on the XY plane, but not
on the X-axis, and press Enter again.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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.
1. In the History Tree, select the CS upon which you want to base the new relative CS,
making it the working CS.
2. Click Modeler> Coordinate System> Create> Relative CS> Both or, on the Draw
ribbon tab, click Relative CS> Both:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
3. Depending on your Relative Coordinate System Creation Mode choice (Tools> Options>
General Options – 3D Modeler> Drawing), or whether you press F3 or F4, you can
specify the origin and axes in one of the following two ways:
n Axis/Position option selected, or F3 pressed – Use one of the following coordinate
entry methods:
o Specify the Origin, X-axis, and XY plane graphically (click to select), as follows:
a. Use the cursor to click the Origin point. You can see the coordinate information in
the Measure Data window.
To select a point that does not lie in the current plane, use the Movement Mode
commands or choose a different drawing plane.
a. In the Status Bar, choose the type of coordinate system from the rightmost drop-
down menu (Cartesian, Cylindrical, or Spherical).
b. Select either Relative or Absolute coordinates from the other drop-down menu.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
c. Type the CS origin coordinates in the X, Y and Z (or dX, dY, and dZ) text boxes.
d. In the same manner, type the coordinates of a point on the X-axis and press
Enter.
e. Type the coordinates of a third point, one lying on the XY plan that's not on the X-
axis, and press Enter to complete the CS definition.
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 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The Measure Data window shows the current cursor coordinates. The cursor shape will
change to identify grid points, vertices, edge center, face center, quadrant, and arc
center points, but you can click any point on the selected face.
l Type the point's coordinates in the X, Y, and Z text boxes on the Status Bar.
4. Specify the positive X-axis direction in one of the following ways:
l Click a point on the selected face. If the point is not on the face, you will receive an error
message.
l Type the coordinates of a point that is relative to the previously selected point in the dX,
dY, and dZ text boxes, where d is the distance from the previously selected point.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Right-click in the Modeler window and select Auto Axis from the shortcut menu. The
modeler selects the X-axis based on the principal curvature of the face or the
dimensions of a flat face. The axial direction of a curved face or the long dimension of a
flat face is selected as the X-axis direction.
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 perpendicular to
the XZ plane.
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 any object created on it,
is not affected by operations that occur after the face CS 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 docked Properties window, 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 rotation operation
occurs later in the History Tree).
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
2. In the tree on the left side of the dialog box, select 3D Modeler> Operation.
3. In the Coordinate System section, select Automatically switch to face coordinate
system.
4. Click OK.
Now, when you select a face, and then click a drawing command, a new face CS will be created
on the selected face. The modeler automatically sets the new face CS as the working CS, and
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.
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 2024 R1 - © 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 a
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 docked Properties
window, 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.
1. Select the working CS to use as the basis of the new Object CS.
2. Select the object to use as the basis of the new Object CS.
3. From the menu bar, click Modeler> Coordinate System> Create> Object> Offset or,
from the Draw ribbon tab, click Object CS. (You do not have to access the Object CS
drop-down menu because Offset CS by offset is the default type of Object CS):
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
4. Click a point on the selected object to locate the Origin for the new CS.
l You can select any snap point on the object (depending on the current snapping mode
options) to select origin of the Object CS. When you hover the mouse over a valid point,
a coordinate system preview is shown.
1. Select the working CS to use as the basis of the new Rotated Object CS.
2. Select the object to use as the basis of the new Rotated Object CS.
3. From the menu bar, click Modeler> Coordinate System> Create> Object> Rotated or,
on the Draw ribbon tab, click Object CS> Rotated:
You are prompted to Select X axis. A preview of X axis is shown for valid selections.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
4. Click a point on the selected object to locate the X-axis direction for the new CS.
l The Origin {0,0,0} remains at the location defined for the working CS that was active
when you executed the Rotated Object CS command. You can edit the coordinates
later through the docked Properties window or the Properties dialog box.
l The clicked point must be on the selected object.
You are prompted to Select to define XY plane.
5. For 3D models, click a second point on the selected object to define the XY plane.
In the 2D modeler, you are prompted to select only the X axis. The 2D model lies on the
XY plane, and the Y-axis is 90 degrees from the X-axis.
1. Set the working CS to use as the basis of the new Object CS.
2. Select the object to use as the basis of the new Object CS.
The requirements to define this type of Object CS are a combination of Offset and Rotated
Object CS definitions. You are first prompted to select the Origin (refer to the Creating an
Offset Object CS page).
You are then prompted to define the XY plane (refer to the Creating a Rotated Object CS
page.
4. For 3D models, select a second point on the object to define the XY plane.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
In the 2D modeler, you are asked only to select the origin and the X axis. The 2D model
lies on the XY plane, and the Y-axis is 90 degrees from the X-axis.
If you have at least one operation after a CreateFaceCS or CreateObjectCS in the History Tree:
Then, selecting a Face or Object CS enables the Move CS to End command in the Modeler>
Coordinate System submenu and in the shortcut menu that appears when you right-click the
operation in the History Tree:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Executing this 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, and so on).
There are two ways to modify a coordinate system. You can select the coordinate system in the
History Tree and edit its parameters in the docked Properties window. This approach does not
allow you to change whether the coordinate system is Absolute or Relative. Nor does it allow you
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 coordinates, do the following:
This action places you in the graphical selection mode for redefining the CS (origin or X-
axis) and enables the editable text boxes in the Status Bar at the bottom right area of the
Ansys Electronics Desktop application.
4. You can click points to redefine the CS. Alternatively, you can specify the type of
coordinate definition (Absolute or Relative) and tab between the coordinate entry text
boxes in the Status Bar to numerically define new coordinates.
l If you selected a Relative CS, follow the directions for creating a relative CS.
l If you selected a Face CS, follow the directions for creating a face CS.
l If you selected an Object CS, follow the directions for creating an object CS.
5. Select the type of coordinate system from rightmost drop-down menu in the Status Bar
(Cartesian, Cylindrical, or Spherical).
The values you specify are translated to Cartesian coordinates in the Properties of the
revised coordinate system.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
An Object CS can be edited in the same way as it was created. For example, if the CS was
created in Offset mode, it will be edited in Offset mode only.
l You can edit the reference CS of an object CS through the docked Properties window or
the Properties dialog box. Doing so will impact object CSs created in Offset or Rotated
mode. It will not impact an object CS created in Both (offset and rotated) mode, as the CS
fully depends on the object.
l The Origin will be editable when an Object CS was created in Rotated mode. Otherwise
the Origin coordinates will be read-only text.
l The X Axis and Y Axis will be editable when an Object CS was created in Offset mode.
Otherwise it will be axis coordinates will be read-only text.
l Either the X Axis or Y axis can be reversed through the docked Properties window or the
Properties dialog box. When the X Axis is reversed, the Y Axis does not change and vice
versa.
l When origin or axis properties are defined from snapping points, the point ID is listed in
the properties instead of the coordinates. Some examples of snapping point IDs are:
Vertex_10, Face_7 center, Edge_9 midpoint, Edge_8 quadrant, and Edge_17 arc center.
l Cylindrical: Specify the point's radius, measured from the origin, is the R text box, the
angle from the x-axis in the Theta text box, and the z-distance from the origin in the Z text
box.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Spherical: Specify 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.
The CS will be deleted and, all objects drawn on it will be deleted. Furthermore, 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.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l On the Draw ribbon tab, select XY, YZ, or XZ from the Drawing plane drop-down menu:
l From the menu bar, click Modeler> Grid Plane> and select one of the planes XY, YZ, or
XZ.
When saving your project, you will be prompted to clean up your model's history if some parts
meet two conditions:
l No variables assigned to the part
l A history greater than a specified number of actions
The number of actions that triggers this prompt can be set in 3D Modeler Operations Options.
When promoted, you can choose Do not show this message again to hide the prompt for the
active project.
After the model has been cleaned up, you can view cleaned up parts in the Messages window:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
In addition to various menu bar, ribbon, and shortcut menu commands, you can manipulate the
view orientation of 3D models and 3D plots using the Orientation Gadget:
Finally, you can also access many of the Modify View features via the View Ribbon. The
following image has hot links for each area.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
You can also access many of the Modify View features via the View Ribbon. The following
image has hot links for each area.
You can also access the Show or Hide features by using the following icons on the View, Draw,
or Model ribbon tabs:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
1. Click View> Modify Attributes> Background color or, on the View tab of the ribbon,
click Modify Attributes and select Background Color... from the drop-down menu.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Use the RGB sliders under Change View Color Dynamically to specify the color's
red, green, and blue values.
3. To assign a background color that gradually changes from one color to another, do the
following:
a. Select Gradient Background.
b. Specify the background color at the top and bottom of the view window in one of the
following ways:
l Under Select Background Type, click the Top Color button and select a color
from the Color palette. Then click Bottom Color and select a color from the Color
palette.
l Under Change View Color Dynamically, click Top Color or Bottom Color and
use the RGB sliders to specify the color's red, green, and blue values.
4. Click Reset to revert to the default background colors.
5. Click Save As Default if you want the new background color to be the background color
for all 3D Modeler windows in either the current project or future projects.
6. Click OK.
Ansys Electromagnetics Suite 2024 R1 - © 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 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
1. Click View> Coordinate System> Triad, then click one of the following:
l Hide to hide the triad x-, y-, and z-axes at the lower right of the active view window.
l Show to display the triad x-, y-, and z-axes in the lower right active view window.
l Auto to generally hide the triad axes.
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 parallel planes perpendicular to the same axis) can be set.
Ansys Electromagnetics Suite 2024 R1 - © 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:
l Type (rectangular or circular)
l Style (dots or lines)
l Grid Extent (minimal for existing objects or as a plane)
l Density
l Spacing
l Visibility
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Snap settings
l Grid plane
2. Select a grid type for the active Modeler 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.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
For Cartesian grids, you define 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.
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.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
2. Select one of the following grid styles for the active view window:
3. To show a Minimal grid around existing objects, check Auto adjust grid extends. To
display a grid as a plane, deselect Auto adjust grid extends.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
2. If you want to change the density of the grid in the active Modeler 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 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 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 Modeler window.
4. Click OK.
Alternatively:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
2. Select Show to make the grid always visible in the active Modeler window. Select Hide to
make the grid always invisible in the active Modeler window. Select Auto so the grid
appears only while you are drawing an object in the Modeler window.
Ansys Electromagnetics Suite 2024 R1 - © 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 drop-down menu under Grid on the Draw ribbon tab:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The General tab lets you set defaults for the following view options:
l Stereo Mode (default, disabled) – This option is only applicable to systems with support
for stereographic viewing for greater 3D realism.
l Drag Optimization (default, disabled)
l Show Ansys logo (default, enabled)
l Default Color Key height (default = 16)
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The 3D Modeler Graphics tab lets you set the following options which are invoked for the next
Project and design created.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note:
You can also toggle the ruler visibility by clicking Ruler on the Draw ribbon tab or
by right-clicking in the Modeler window and choosing View > Ruler from the
shortcut menu.
1. Click View > Interaction > Pan or click the Pan icon on the View, Draw, or Model
ribbon tab.
View ribbon tab:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
2. Click and drag the mouse in the direction you want to pan the view.
The view will pan until you release the left mouse button.
3. To exit Pan mode, click Pan on the View menu again or press Esc.
Tip:
Note: Some international keyboards may not support the following hotkeys. If the Shift
key is required for a character, such as the plus sign (+), the hotkey may not function.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
1. Click View > Interaction > Zoom, click View > Zoom on the shortcut menu, or click
the Zoom icon on the View, Draw, or Model ribbon tabs.
View ribbon tab with Zoom commands.
Draw or Model ribbon tabs with Zoom icon, and drop-down menu for Zoom commands:
2. To zoom in, drag the mouse toward the top of the view window. The objects in view
expand as you drag.
To zoom out, drag the mouse toward 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.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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.
3. To end Zoom mode, click View > Interaction > Zoom again, or click the Zoom icon, or
press Esc.
1. Click View > Interaction > Zoom, click View > Zoom In or Zoom Out on the shortcut
menu, or click the Zoom icon on the View, Draw, or Model ribbon tabs.
View ribbon tab with Zoom In and Zoom Out.
Draw or Model ribbon tabs with Zoom icon, and drop-down menu for Zoom In and Zoom
Out:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
3. To end Zoom mode, click View > Interaction > Zoom again, or click the Zoom icon, or
press Esc.
It operates on any existing sequence of Zoom commands. That is, it undoes the last previous
Zoom command, and then, another exists, the one before that. To use Zoom Previous.
1. Click View > Interaction > Zoom Previous, click View > Zoom Previous or Zoom Out
on the shortcut menu, or click the Zoom icon on the View, Draw, or Model ribbon tabs.
View ribbon tab with .
Draw or Model ribbon tabs with Zoom icon, and drop-down menu for Zoom Previous:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
2. Zoom Previous undoes the last executed Zoom command, and then, if others exist, can
be used to undo them in reversed order of execution.
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.
3. To end Zoom mode, click View > Interaction > Zoom again, or click the Zoom icon, or
press Esc.
Tip:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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.
1. Use one of the following methods to begin the Zoom Area mode:
l Using the menu bar, click View > Interaction > Zoom Area.
l From the View ribbon tab, click Zoom Area:
l From the Draw or Model ribbon tab, click Zoom > Zoom Area:
l Right-click in the Modeler window and choose View > Zoom Area from the shortcut
menu.
2. Click and drag the mouse to draw a rectangle enclosing the area that you want to zoom
into.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
When you release the mouse button, the rectangular area will come close to filling the
display area of the window.
The absolute size of the zoomed geometry does not change, only the scaling of the model
view is affected.
3. To end the Zoom Area mode, click the command again or press Esc.
The rotate and zoom drop-down menu icons on the ribbon update dynamically to indicate
the current rotate/zoom mode. These ribbon buttons are also "sticky." That is, the last
active rotate or zoom mode becomes the button default until a different command is
chosen or the application is restarted. Default commands are restored the next time you
launch the Ansys Electronics Desktop program.
For 2D or 3D reports, axis labels and tick marks are adjusted after the zoom operation is
complete.
Rotating the wheel forward, away from you, moves the model away from you (zooming out).
Rotating the wheel backward, towards you, pulls the model closer (zooming in).
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.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
1. If needed, expand the Boundary or Excitation branch in the Project Manager to see the
previously assigned conditions.
2. Right-click the boundary or excitation of interest to highlight it in the model view and to
access the shortcut menu, as shown below:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Select the Orient drop-down Menu on the View ribbon tab and choose one of the
predefined view orientations:
The Orient drop-down menu can also be located on the Draw and Model ribbon tabs.
The sign and letter in parentheses that follows each standard view indicates the viewing
direction, not the model side. For example, consider a simple box aligned with the global
planes. The right side of the box is the +X side, but the viewing direction is -X (you look
leftward to see the right side of an object).
l Right-click in the Modeler window and, from the shortcut menu that appears, point to
View > Apply Orientation, and select the desired viewing direction from the submenu.
The choices include those shown in the preceding image plus any custom views you have
defined (see the next bullet).
l From the menu bar, click View > Modify Attributes > Orientation List.
A dialog box with orientation settings appears. It includes a table with the names of nine
basic orientations (Top, Bottom, Right, Left, Front, Back, Trimetric, Dimetric, and
Isometric), any additional orientations that you have added, and a section for managing
orientations (adding/removing orientations or setting the default view).
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The table includes columns that show the viewing angles relative to the global axes and
the equivalent vector components. These vector components are listed based on the
global coordinate system and any applicable local coordinate systems.
1. Select a default orientation or create a new orientation.
2. Click Apply to View for the selected view to appear in the window.
3. Optionally, click the Reset View Orientation button to restore the selected view to the
original angles.
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.
l Use the commands in the Orient drop-down menu located on the View, Draw, or Model
ribbon tabs:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Possible orientations are Top, Bottom, Right, Left, Front, Back, Trimetric, Dimetric, and
Isometric. These last three differ as shown below:
l Right-click in the Modeler window. In the shortcut menu that appears, go to the View >
Apply Orientation submenu:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
In addition to the standard views, any custom views that you have defined will appear in
this submenu.
After applying an orientation, you can click View > Undo View : orientation.
You can also right-click in the Modeler window and choose View > Add New Orientation to
create a custom viewpoint.
The Name that you assign will appear in the View > Apply Orientation submenu within the
Modeler window's shortcut menu. You can specify whether to Include Zoom/Pan (in addition to
the viewpoint orientation) and whether to Save Global, which makes the custom orientation
available for all projects.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The orange dashed circle appears only when the cursor is near the gadget, and its purpose is
discussed later in this topic.
There is a colored dot at the center of each face of the cube and red (X), green (Y), and blue (Z)
axes, indicating the axis positive directions for the currently active coordinate system.
Additionally, there is a smaller gray dot at the corner where the +X, +Y, and +Z faces meet.
The following list summarizes the results of clicking different parts of the gadget (and optionally
dragging the mouse while clicking):
l Click the large dot at the center of any of the six cube faces:
This action rotates the view orientation to place the side of the model that the clicked face
represents towards you, parallel with the screen. For example, if you click the dot on the -
Y face, the -Y side of the model faces you, which is the Left view (+Y viewing direction).
Note:
If the current viewing direction corresponds to one of the global or active user-
defined coordinate system axes (±X/Ux, ±Y/Uy, or ±Z/Uz), clicking the axis label
or dot at the center of the Orientation Gadget (on the face that is towards you)
reverses the view orientation. So, with a single click of the mouse, you can switch
from front-to-back, right-to-left, and top-to-bottom (or the inverses of these view
orientation changes).
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
This action freely rotates the view orientation. The rotation center depends on the Default
Rotation About option selected in the 3D UI Options dialog box. The behavior is
equivalent to clicking and dragging in the display area using the middle button / wheel but
is performed with the left mouse button. Additionally, you can constrain rotation to be
about any of the three active coordinate system axes by pressing one of the following
keys while clicking and dragging the mouse:
o X + click and drag to rotate the view orientation about the active X axis.
o Y + click and drag to rotate the view orientation about the active Y axis.
o Z + click and drag to rotate the view orientation about the active Z axis.
During constrained rotation, a heavy red (X), green (Y), or blue (Z) axis line appears in the
Modeler window to provide a clear visual indication of the axis of rotation. These axes
pass through the center of rotation, and this center is marked by crosshairs. When
dragging the view orientation gadget to rotate the view, the center of rotation is the
centerpoint of the drawing canvas. The following image shows the appearance of the
rotation axes and center markers:
Addtionally, a pair of gold, circular arrows appear on the view orientation gadget indicating
the axis of constrained rotation:
While the same constrained rotation functionality for 3D models is also available for 3D
reports, the red, green, and blue axes do not appear in 3D report windows during axis-
constrained rotation. However, the pair of circular, gold arrows appear on the view
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
orientation gadget in both the Modeler and 3D Report windows to indicate the axis of
constrained rotation.
For more information and tips about the usage of this feature, see Rotating or Spinning
the View.
l Orange dashed circle:
This circle is used to rotate the current view about an axis normal to the screen. That is,
the view rotation is constrained to the plane of the screen regardless of the current
viewing direction. The line weight of the dashed orange circle becomes heavier when the
cursor is touching it, indicating a correct clicking point. There are three actions, as follows:
o Click anywhere on the circle: The model rotates 90 degrees clockwise.
o Ctrl+click anywhere on the circle: The model rotates 90 degrees
counterclockwise. This action and the preceding one are particularly useful for
changing the in-plane positive axis directions for standard top, bottom, left, right, front,
or back views.
o Click and drag: Freely rotates the model in either direction. Release the mouse
button when the desired orientation is reached. While the mouse button remains
pressed, the cursor changes to a rotation icon:
You do not have to keep the cursor on the circle while dragging. You can often achieve
more precise rotations with the cursor further away from the orientation gadget. Moving
the cursor in a radial direction away from the center of the orientation gadget produces
minimal rotation. Then, move it tangentially for precise rotation. The greater the
distance from the gadget, the finer the rotational control.
The appearance of the Orientation Gadget for each of the standard view orientation is as shown
in the following image:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note:
The orientation, colored dots, and axes of the Orientation Gadget correspond to the
active coordinate system, whether Global or user-defined. All standard views are
defined in the same manner as they are for the global CS, but Ux, Uy, and Uz
directions are used instead of global X, Y, and Z.
1. Access the Active View Visibility dialog box using one of the following two methods:
l From the menu bar, click View > Visibility > Active View Visibility.
l On the View, Draw, or Model ribbon tab, click Hide/Show overlaid visualization
in the active view.
2. Select the View Gadgets tab.
3. Select or clear the checkbox in the Visibility column to the right of View Orientation
Gadget to control the gadget visibility.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Rotation Using Only the Mouse: You can use the middle mouse button to rotate the view
without selecting a Rotation command. From the menu bar, click View > Options to access the
General tab of the 3D UI Options dialog box. Here, you can choose the desired Default
Rotation About option. The view rotates about the Screen Center by default. The other
available options are rotation about the Model Center, Current Axis (active coordinate system
origin), or Cursor location. This setting also controls the rotation center for the Spin command.
Rotation using Only the Keyboard: You can use the key combination Alt + arrow keys to
rotate the model view about a vertical or horizontal axis. Similar to using the middle mouse
button, the center of rotation, through which the vertical or horizontal rotation axis runs, is
determined by the Default Rotation About selection in the 3D UI Options dialog box.
For each active Rotation command, or when using the middle mouse button, the behavior differs
depending on where you click and drag, as follows:
l Click and drag the cursor near any border of the Modeler window's display area:
The view is constrained to rotate about an axis that is perpendicular to the screen. The
location of the axis, which is the rotation centerline, depends on the active rotation mode
(Current Axis, Model Center, Screen Center, or Cursor) or, when no command is active,
the Default Rotation About option previously described.
l Click and drag the cursor within the interior of the display area (not close to a
border):
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
In this case, the view rotates freely about any axis, depending on the direction you drag
and the relative positions of the cursor and center of rotation. The rotation center depends
on the active rotation mode (Current Axis, Model Center, Screen Center, or Cursor) or,
when no command is active, the Default Rotation About option previously described.
l Click and drag on or near the View Orientation Gadget to freely rotate the view:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Additionally, a pair of gold, circular arrows appear on the view orientation gadget,
indicating the axis of constrained rotation:
While the same constrained rotation functionality for 3D models is also available for 3D
reports, the red, green, and blue axes do not appear in 3D report windows during axis-
constrained rotation. However, the pair of circular, gold arrows appear on the view
orientation gadget in both the Modeler and 3D Report windows to indicate the axis of
constrained rotation.
This feature provides a very convenient means of achieving the ideal model viewpoint for
setup operations and for presentation purposes, giving you much more control than free
rotation.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Tip:
l For best results, drag the cursor in a roughly circular path around the rotation
centerpoint. The model orientation will follow the cursor movement, with the
angle of rotation matching the angle of the cursor's arc about the same
centerpoint.
l Hold down the X, Y, or Z key throughout the constrained rotation operation.
The axial rotation constraint is canceled as soon as you release the key,
though the rotation mode remains active. Depending on how you initiated
rotation, cancel it by either releasing the middle mouse button, pressing Esc,
or clicking the command again.
l During an active constrained rotation operation, you can release the current
hotkey and press one of the other hotkeys to choose a different rotation axis,
without first canceling the operation.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
1. Choose the Model Center rotation mode using one of the following four methods:
l From the View ribbon tab, choose Rotate:
Note:
The Center icon on the View ribbon tab is for rotation about the screen center,
not the model center.
l From the Draw or Model ribbon tab, choose Rotate > Rotate Model Center.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Tip:
After selecting a rotation mode, the selected option becomes the default
operation for the remainder of the application session or until a different
rotation option is selected. To repeat the last rotation command, you do not
have to access the drop-down menu; just click Rotate:
l From the menu bar, click View > Interaction > Rotate Model Center.
l Right-click in the Modeler window and choose View > Rotate > Rotate Model Center
from the shortcut menu.
2. Click and drag the mouse in the direction you want to rotate the view.
3. To exit the rotation mode, click the command again (per step 1) or press Esc.
Current Axis option – To rotate the view about the origin of the currently active coordinate
system axes:
1. Choose the Current Axis rotation mode using one of the following four methods:
l From the View ribbon tab, click Axis.
l From the Draw or Model ribbon tab, choose Rotate > Rotate Current Axis.
l From the menu bar, click View > Interaction > Rotate Current Axis.
l Right-click in the Modeler window and choose View > Rotate > Rotate Current Axis
from the shortcut menu.
2. Click and drag the mouse in the direction you want to rotate the view.
3. To exit the rotation mode, click the command again (per step 1) or press Esc.
1. Choose the Screen Center rotation mode using one of the following four methods:
l From the View ribbon tab, click Center.
l From the Draw or Model ribbon tab, choose Rotate > Rotate Screen Center.
l From the menu bar, click View > Interaction > Rotate Screen Center.
l Right-click in the Modeler window and choose View > Rotate > Rotate Screen Center
from the shortcut menu.
2. Click and drag the mouse in the direction you want to rotate the view.
3. To exit the rotation mode, click the command again (per step 1) or press Esc.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
1. Choose the Cursor rotation mode using one of the following three methods:
l From the View ribbon tab, click Cursor.
l From the menu bar, click View > Interaction > Rotate Cursor.
l Right-click in the Modeler window and choose View > Rotate > Rotate Cursor from
the shortcut menu.
2. Click and drag the mouse in the direction you want to rotate the view.
3. To exit the rotation mode, click the command again (per step 1) or press Esc.
Spin Mode: This tool is useful for capturing animations (for presentation purposes) that show a
360 degree view of the model geometry, mesh, or simulation results.
To Spin the model view (that is, to keep it rotating after you release the mouse button):
1. Choose the Spin mode using one of the following two methods:
l From the Draw or Model ribbon tab, choose Rotate > Spin.
l From the menu bar, click View > Interaction > Spin.
2. Click and drag the mouse in the direction you want to spin the view. Release the mouse
button while still dragging.
l The model will continue to spin in the specified direction. The spinning speed will be
proportional to how fast you were dragging the cursor when you released the mouse
button.
l The center of rotation for the Spin mode is controlled by the Default Rotation About
option selected in the 3D UI Options dialog box.
l The X, Y, and Z keys also work as modifiers for the Spin mode (for constrained spinning
about one of the active coordinate system axes).
3. To exit the Spin mode, click the command again (per step 1) or press Esc.
Note:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
click view navigation method is also applicable to report windows containing 3D Plots (such as a
3D Polar Gain plot).
The Back, Trimetric, and Dimetric standard view orientations are not available via Alt + double-
click zones. For these three views, use other available ribbon commands or shortcut menus. For
user-defined views, use the Update View Orientation dialog box or the Modeler window's
shortcht menu (Right-click > View > Apply Orientation).
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
1. Access the Update View Orientation dialog box using one of the following two methods:
l From the View ribbon tab, click List.
No icon is associated with this command.
l From the menu bar, click View > Modify Attributes > Orientation List.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
You can use the Reset View Orientation button to restore the view to the original angle.
5. Click Close.
1. Access the Update View Orientation dialog box using one of the following two methods:
l From the View ribbon tab, click List.
No icon is associated with this command.
l From the menu bar, click View > Modify Attributes > Orientation List.
Ansys Electromagnetics Suite 2024 R1 - © 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 Modeler window, click Get
Current View Direction.
l To modify the selected orientation's vector components, select Input vector
components under Add Orientation to List and then modify the values in the Vx, Vy,
or Vz text boxes, and the Up vector boxes for Ux, Uy, and Uz.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l To modify the selected orientation's input angles, select Input angles under Add
Orientation to List and then modify the values in the psi, phi and theta text boxes.
3. Type a name for the new orientation in the Name text box.
4. Click Add/Edit.
The new orientation is added to the list of viewing directions.
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.
Removing an Orientation
To remove a viewing direction from the list in the orientation settings dialog box:
1. Access the Update View Orientation dialog box using one of the following two methods:
l From the View ribbon tab, click List.
No icon is associated with this command.
l From the menu bar, click View > Modify Attributes > Orientation List.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
2. Click the viewing orientation you want to delete from the list of names.
3. Click Remove.
The viewing direction is removed from the list.
Note:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
All view windows displaying the active design change to include all model objects.
To fit only the active view: click View > Fit All > Active View.
The view in the active Modeler window changes to include all model objects.
Tip:
Alternatively, fit all objects in the active view window using one of the following
methods:
l Press Ctrl+D
l Right-click in the Modeler 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.
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.
Tip:
Alternatively, fit the selection in the active view window by clicking View > Fit
Selection on the shortcut menu.
You can also use the Fit Selected icon in the Draw and Model ribbon tabs:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
1. Select the objects or components of interest and right-click to display the shortcut menu.
2. Select View > Fit in Active View or Fit in All Views:
1. Select the object you want to hide from view. This enables the menu commands and
View, Draw, and 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.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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 selected objects icon in the View, Draw, or Model ribbon
tabs to hide selected objects in the active view.
If there are many objects, you may find it easier to hide objects using the Active View Visibility
dialog box. You can also choose to Show only selected objects in all or active views, effectively
hiding all unselected objects.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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.
Showing Objects
You can show or hide objects in several ways, using the Active View Visibility dialog box 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 box 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 select or deselect Visibility.
You can access the dialog box from the menu bar (View > Visibility > Active View Visibility...)
or by clicking the Hide/Show visualization icons in the View, Draw, or Model Ribbon tabs.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The Visibility menus are available on the View menu and as shortcut menus in the Modeler
window and in the History Tree when you right-click the Model icon:
To show one or more objects that are currently hidden by using the Active View Visibility dialog
box:
1. Click View > Visibility > Active View Visibility..., or click the visibility icons on the
View, Draw, or Model ribbon tabs.
2. Select the tab for the objects you want to show or hide. The dialog box contains tabs for
3D Modeler objects: Color Key objects, Boundaries, Excitations, and Fields Reporter
objects.
Ansys Electromagnetics Suite 2024 R1 - © 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 box 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:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
1. Click View > Visibility > Show All or use the shortcut menu in 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.
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, Draw, or Model ribbon tab icons to Show selected objects
in active views. Or, open the Active View Visibility dialog box.
1. In the History Tree, select one or more 3D components. This activates the Hide/Show
icons on the View,Draw, and Model ribbon tabs and the View menu selections.
2. You can right-click to display the shortcut menu and select View > Show All.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
1. Select the object from the Project Manager 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 an object in the History Tree and use the shortcut menu:
3. You can right-click to display the shortcut menu and select View > Show in Active View,
Show in All Views, or Show Only Selection In Active View.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
You can also use the View/Draw/Model ribbon icons to Show selected objects in all
views and Show selected objects in active views.
1. Click View > Visibility > Active View Visibility, or click the equivalent Hide/Show icon
on the View, Draw, or Model ribbon tabs.
Ansys Electromagnetics Suite 2024 R1 - © 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.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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.
The objects in the view window are displayed as skeletal structures, enabling you to
see all sides of the objects at one time.
The objects in the view window are displayed as shaded objects with smooth edges.
You can also use the F7 key to display a smooth shaded view.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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.
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 the view to be in the “Enhanced Display” mode but some of the parts in the
model could have “Use Material Appearance” unchecked. In this case you can edit the Color or
Transparent values, or select Use Material Appearance in the docked Properties window, but
they are not applied to the active view visualization. This resembles how the Wire Frame setting
is handled currently.
Sheet objects in the 3D modeler do not have a material assignment, but they could have a
boundary assignment with material assigned to the boundary. In this case sheet object
visualization resembles solid object visualization, where the material appearance from the
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 the material definition was updated.
If you want to update, click Tools > Project Tools > Update Definitions to open the Update
Definitions dialog box.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Here you can multi-select rows of materials to update them. In case of updates available from
multiple libraries, you can choose the library location. Selecting material rows enables the
Update button. Selecting Update then produces a message on a successful update.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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 Visualizationdialog for the active modeler
window. The dialog contains areas for setting the Maximum Deviation, and the Maximum
Normal deviation.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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 box without changing settings.
1. Click View > Clipping > Clip Plane or click the Clipping Planes icon on the View ribbon
tab.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
This displays the Clip Plane dialog box with the Plane tab selected.
2. The Add button contains a drop-down menu with choices for Specify center, normal,
and Use selection. If you want to use a selection, you must first select a face or an
existing cut plane.
l If you first select a face or cut plane, and then click Add > Use Selection, the clip plane
is added on that face.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l If you select Add > Specify center, normal, this launches a Measure dialog box and
enters a mode for you to click to define the start location (shown as a triad).
a. 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
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Planes dialog box shows the clip plane name, that it is enabled, the cap (which is
the plane surface), and the handle. Flip selection lets you reverse the direction of
the clip plane. If you deselect 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 of the Clip Planes dialog box 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
box. Select a default or custom color and click OK.
Ansys Electromagnetics Suite 2024 R1 - © 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.
1. Click View > Modify Attributes > Lighting or, on the View tab of the ribbon, click on
Modify Attributes and select Lighting from the drop-down menu.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
2. To turn off ambient and distant lighting, select Do Not Use 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:
l Add a new distant light by clicking Add.
l Copy an existing distant light that you intend to modify by first selecting it in the Distant
Light Vectors table and then clicking Clone.
l 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 Φ (phi) and θ (theta) 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.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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.
1. Click View> Modify Attributes> Projection or, on the View tab of the ribbon, click
Modify Attributes and select Projection from the drop-down menu.
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 dialog box 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 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Assigning a Boundary
To assign a boundary:
1. In the Modeling Workspace, select the appropriate geometry for the boundary.
For Q3D Extractor, see: Infinite Ground Plane Boundary and Thin Conductor Boundary.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
5. Click Close.
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.
Reassigning a Boundary
To reassign a previously assigned boundary:
1. In the Modeling Workspace, select the new object to which you want the boundary
reassigned.
2. Right-click the boundary in the Project Manager and select Reassign.
The boundary is removed from the original object and reassigned to the new object.
Deleting Boundaries
To delete a boundary, right-click the boundary in the Project Manager and select Delete.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
In the Thin Conductor dialog box, you are asked to specify the thin conductor Name, Material,
and Thickness.
This boundary replaces a thin 3D conductor with a 2D sheet. The 2D sheet can be any curved
surface without limitations.
Note:
Thin 3D conductors (aspect ratio > 1000) significantly slow down the mesh generation.
This creates a problem for the solvers (ill-conditioned matrices), and results in long run
times or failures. The benefits are less memory usage and shorter run times.
The solver assumes that the charges are on the 2D sheet instead of on the top, bottom, and
boundary surfaces.
For example:
is modeled as:
++++++++++++++++++++++++++++++
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
For large aspect ratios, 3D results agree with the 2D thin conductor approach. For smaller
aspect ratios, it is a tradeoff between performance and accuracy.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
In the Infinite Ground dialog box, you can specify a Name for the infinite ground plane.
To assign an infinite ground plane boundary, you must select a face or object on the XY plane.
Important:
Important:
Objects should not lie on both sides of ground plane, or intersect the ground plane.
Note:
When infinite ground planes are present, CG results may differ slightly from releases
prior to 2022 R2.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note:
Finite conductivity boundary can only be assigned to the following conductor types:
Signal Line, Non-Ideal Ground, Reference Ground or Floating Line.
Note:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
In the Finite Conductivity dialog box, you are asked to specify the Name, Coating Options,
and Advanced Options.
l Use Coating – If you want to add a layer on top of the base object, select Use Coating
and specify a Coating Thickness.
When this is deselected, the the project is solved using the Conductor Thickness
specified while assigning conductors.
l Use Material – If you want to select an existing material for the coating, select Use
Material.
Otherwise, you will need to specify the Conductivity and Relative Permeability.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
For Hammerstad-Jensen, you must specify the Surface Roughness and unit of
measure.
For Huray, you must specify a Nodule Radius and Surface Ratio. The Nodule Radius
describes the radius of copper spheres that model the surface roughness, while the
Surface Ratio is a unitless quantity defined by the parameter sr:
where:
Note:
You can define Impedance Boundary Conditions (except for on perfect conductors).
If Impedance Boundary Conditions are not specified on all edges of the conductor, the software
creates implicit conditions on those edges.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
This modification fixes a causality problem with the original Huray model by adding some
frequency-dependent reactance to the roughness-enhanced surface impedance. The purpose
is to provide a complex-valued causal analytic model that exactly matches the loss results of the
original model but is also suitable for time domain computations.
The original Huray model was limited to calculations in the frequency domain and did not
account for the effects of roughness on the phase of the transmitted signal. These limitations
have been eliminated. The enhanced causal model not only provides accurate broadband
modeling of the losses in very rough copper foils (typically used in PCB manufacturing) but also
accurately predicts increased phase delay due to the surface roughness.
Essentially, the smooth surface impedance (Zsmooth) is increased by a complex “Huray” factor
(Hc), a function of frequency, given by the following equation (1):
where:
l ω is the frequency in radians/second
l ω0 is a corner frequency represented by the equation (2):
in which:
l SR is the Hall-Huray surface ratio:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note:
For more information about this complex causal Huray model (its necessity, background,
derivation, proof of accuracy, and consistency with the original real-valued model), see
Reference 6 below.
Once the Huray surface roughness factor is determined, the rough surface impedance (Zrough)
is determined by the equation (4):
References:
1. P.G Huray, S.G Pytel, S.H Hall, F. Oluwafemi, R.I. Mellitz, D. Hua, and P. Ye,
"Fundamentals of a 3-D "Snowball" Model for Surface Roughness Power Losses", 11th
Annual IEEE SPI Proceedings, May 13 – 16, 2007.
2. S.H Hall, S.G. Pytel, P.G Huray, D. Hua, A. Moonshiram, G. Brist, and E. Sijercic, "Multi-
GHz, Causal Transmission Line Modeling Methodology with a Hemispherical Surface
Roughness Approach", IEEE Transactions on Microwave Theory and Techniques,
December 2007 pp 2614 – 2624.
3. S.G Pytel, P.G Huray, A. Moonshiram, S.H Hall, R.I Mellitz, G. Brist, F. Oluwafemi, H.M
Meyer, L. Walker, and M. Garland, "Analysis of Copper Treatments and the Effects on
Signal Propagation", 58th Annual IEEE ECTC, May 26 – 30, 2008, pp 1144 – 1149.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
4. S.G Pytel, "Multi-gigabit data signaling rates for PWBs including dielectric losses and
effects of surface roughness", PhD. Dissertation, University of South Carolina, 2007.
5. P.G Huray, O. Oluwafemi, J. Loyer, E. Bogatin, and X. Ye; "Impact of Copper Surface
Texture on Loss: A Model That Works", DesignCon 2010, February 1 - 4, 2010.
6. J. Eric Bracken, Ansys, Inc., "A Causal Huray Model for Surface Roughness", DesignCon
2012, January 2012.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
All conductor types (except for Surface Ground) can only be assigned to conducting, non-
touching, and non-overlapping bodies. Surface Ground conductors are only allowed in a closed
solution type, can only be assigned to the bounding box, and can only be assigned to a non-
conducting object.
Important:
To pass the validation check, make sure that you follow these rules:
l Conductors can only be assigned to "bodies", any other entity type is not
allowed.
l All conductor types except Surface Ground must be assigned to conducting
object.
l No conductor assignment is allowed on touching bodies.
l You cannot assign multiple conductor assignments on same body.
Assigning Conductors
To assign a conductor:
1. In the Modeling Workspace, select the appropriate object(s) for the conductor(s).
2. Assign the conductor one of three ways:
l Right-click in the Modeling Workspace and select Assign Conductor > [Conductor
Type].
l Right-click Conductors in the Project Manager and select Assign Conductor >
[ConductorType].
l Select [2D Extractor] > Conductor > Assign > [Conductor Type].
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note:
l Solve Inside – forces the solver to always solve inside and ignores any IBC in the
design. This might lead to failure of RL solve for very high frequencies because of the
failure of accurate field approximations at very small skin depth regions. Mesh
operation assignments are highly recommended for high frequency simulations.
l Solve on Boundary – uses the IBC formulation for accurate field solutions at very high
frequencies. The solver does not solve the fields inside the conductors. This might lead
to failure of RL solve for low frequencies because no mesh refinement is performed
inside the conductors during adaptive simulation. This option must be selected for finite
conductivity boundary settings (for example, surface roughness) to be considered.
l Automatic – allows the solver to blend Solve Inside and Solve on Boundary for the
nominal solution and the frequency sweep. The solver automatically determines upper
and lower frequency limits for blending. For frequencies between these limits, the
solver blends both methods via weighting factors. For frequencies below the lower limit,
the solver uses Solve Inside only. For frequencies above the upper limit, the solver
uses Solve on Boundary only.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Important:
l Automatic is the best option for simulating problems with a wide frequency
spectrum. Solve on Boundary gives incorrect results at very low
frequencies, while Solve Inside gives incorrect results at very high
frequencies.
l Solve on Boundary and Automatic require that you specify Conductor
Thickness. The value must be greater than 0. The default conductor
thickness is obtained by dividing the conductor 's area by its perimeter (A/p).
When selecting multiple conductors, the default value is the average
conductor thickness.
4. If you selected multiple objects, you must select one additional setting:
l Create Multiple Conductors – creates a separate conductor for each selected object.
l Create Single Conductor – creates a single conductor, joined in parallel.
5. Click OK.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
5. Click Close.
Zooming to a Conductor
The Zoom To command zooms the view in the Modeling Workspace in or out to show the
selected conductor. This can be useful in looking at problem areas.
To zoom to a conductor, right-click the conductor in the Project Manager and select Zoom To.
Reassigning a Conductor
To reassign a previously assigned conductor:
1. In the Modeling Workspace, select the new object to which you want the conductor
reassigned.
2. Right-click the conductor in the Project Manager and select Reassign.
The conductor is removed from the original object and reassigned to the new object.
Deleting Conductors
To delete a conductor, right-click the conductor in the Project Manager and select Delete.
Conductor Types
You can add five types of conductors:
l Signal Line – to model signal carrying transmission lines.
l Non-Ideal Ground – to model switching noise.
l Reference Ground – to indicate return paths for current flow.
l Floating Line – to model objects with a charge but no current.
l Surface Ground – to model a perfectly conducting grounded object surrounding a
transmission line.
In a transmission line problem, there must be at least one signal line and one grounded
reference (a reference ground for an open solution type, or a surface ground for a closed
solution type).
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
2D Extractor only computes matrix entries for objects declared as signal lines or non-ideal
grounds. However, the matrices are affected by all conductors, since they have an effect on the
field solutions from which the circuit parameters are extracted.
Matrix Computations
Any number of conductors can be identified as signal lines in the 2D Extractor. For each
conductor you define, another row is added to the requested parameter matrices. For example, if
six lines are defined as signal lines and you requested admittance and impedance, the software
generates a 6x6 CG matrix and a 6x6 RL matrix for the structure.
Automatic Assignment
You can automatically assign signal line conductors so that all conducting objects are assigned
as Signal Line conductors. To do so, select 2D Extractor > Conductor > Auto Assign Signals.
Important:
l To pass validation, you must also define a Reference Ground in the design.
l If you have some pre-defined conductors in your design, you will receive a
warning that existing conductors assignments will be deleted if you proceed.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Use non-ideal grounds to model switching noise in circuits. Non-ideal grounds are nonzero
impedance grounded conductors whose voltages are allowed to fluctuate during a circuit
simulation.
Non-ideal grounds are included in the parametric matrices. During matrix computations, they are
treated exactly like signal lines. (Non-ideal grounds are provided to help you determine which
conductors are signal lines and which are ground references). The sink point of a non-ideal
ground is connected to ground and its source point connected to a source, allowing all other
points along its length to float, rather than being forced to zero as in an ideal ground.
During matrix computations, reference grounds are treated in the same way that they were in the
general field solution. In addition to serving as return paths for currents applied to matrix
computations, they are the return paths for other currents in the circuit.
Floating conductors are not included in the parameter matrix solutions because they are not
within the circuit current loop. However, they indirectly affect the inductance and capacitance
matrix solutions because they affect the energy results that are part of the field solutions.
Typically, this type of conductor is used in situations where the transmission line is surrounded
by a grounded object, such as the outside ring in the shielded transmission line. In such a case,
declare the outside ring to be a surface ground.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note:
If the outer ring were instead defined as a reference ground, the entire ring would be
modeled as a solid conductor.
However, as a surface ground, only the outer surface of the object is assumed to be conductive.
The system allows you to later define the material characteristics of any material inside the ring
that is not occupied by other objects.
You cannot assign a Surface Ground conductor for the open solution type. If you want to toggle
any conductor to Surface Ground and you have an open problem, you have to switch the design
type to closed when prompted by 2D Extractor. Only when the solution type is switched is the
conductor toggled.
To toggle a conductor:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
2. In the Perfect Conductor field, enter a value. Any conductor having conductivity above or
equal to this threshold is considered a perfect conductor in the design.
3. In the Insulator/Conductor field, enter a value. Any object having conductivity equal to or
greater than this conductivity is considered a conducting object in the design.
4. If desired, use the Save as default check box to make these settings your default.
5. Click OK.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Nets and Terminals can be modified using the Q3D Extractor > Nets submenu.
Important:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
5. Click Close.
To zoom to a net or terminal, right-click it in the Project Manager and select Zoom To.
1. In the Modeling Workspace, select the new object you want to be a net or terminal.
2. Right-click the net or terminal in the Project Manager and select Reassign.
The net or terminal is removed from the original object and reassigned to the new object.
Warning:
Perfect electric conductors (PECs) and non-PECs cannot be part of the same net.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Important:
l Unconnected multilump solids cannot be assigned as nets.
l Perfect electric conductors (PECs) and non-PECs cannot be part of the same
net.
l Automatically identifying nets may undo any changes you've made to net
assignments.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Usually, the default conductor assignments generated by this command do not need to be
changed.
After auto identifying, the name of the net depends on the number of objects:
l If the net consists of a single object, the object's name is used as the net name.
l When a multi-object net is auto identified, an automatically generated name is given to the
new net.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
2. Drag rows to reprioritize. The top row has highest priority and the bottom row has lowest.
3. Click OK.
The conductivity thresholds are used while identifying nets to determine which objects are
considered conductors. Objects with conductivity equaling or exceeding the threshold are
considered to be conductors, and those with lower conductivity are considered to be non-
conductors. Materials that fall between the two thresholds are treated as normal conductors that
can carry current throughout the volume of the material.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
2. In the Perfect Conductor field, enter a value. Any conductor having conductivity above or
equal to this threshold is considered a perfect conductor in the design. These are treated
as having infinite conductivity and surface current only.
3. In the Insulator/Conductor field, enter a value. Any object having conductivity equal to or
less than this conductivity is considered an insulator in the design. These are treated as
having no conductivity and no current carrying capability.
4. In the Magnetic Material field, enter a value. Any object having permeability equal to or
greater than this is considered a magnetic object in the design.
5. If desired, select the Save as default check box to make these settings your default.
6. Click OK.
If you want to generate a capacitance solution, you do not need to assign any sources or sinks.
However, for resistive or inductive solutions, any net that you want to include in the
inductance/resistance matrix solution must have a single sink defined, along with at least one
source.
Before assigning either a source or a sink, you must select a face of the 3D object or select a 2D
object that is touching a 3D object.
A whole face of a 3D object must be chosen to apply an excitation. You cannot cut or use
boolean operations to split a planar face of a body into multiple pieces and set the excitation on
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
one piece(s). If an excitation should be applied to part of a larger plane face, a 2D sheet body of
the needed size can be created and the excitation can be applied to that body. It is necessary for
an excitation to be on a complete face or sheet body to ensure the mesh outlines are correct.
1. Access the Assign Terminals from List dialog box one of two ways:
l Select Q3D Extractor > Nets > Assign Terminals from List.
l In the Project Manager, right-click Nets and select Assign Terminals from List.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
2. Select an object.
You can also use the Filter field to search for objects by regular expression.
3. Use the Terminals drop-down menu to assign either Source or Sink. Click Clear
Assignment to remove a Source or Sink and return the object to Unassigned state.
4. Click OK.
However, in some applications, the properties of these terminals can lead to unwanted or non-
physical inductance values.
An alternate form of excitation, the Uniform Current, enforces the condition that the current along
the perimeter of a terminal is uniformly distributed for AC-RL calculations, and that the current
over the area of a terminal is uniformly distributed for DC-RL calculations.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
For AC-RL calculations, both Constant Voltage and Uniform Current terminals use the following
procedure for extraction:
1. For excitation of the structure, one terminal is excited with 1V while all other terminals are
kept at 0V.
2. Q3D Extractor solves the system equation:
For DC-RL calculations, see: Extracting DC Inductance from the Field Solution.
The differences between Constant Voltage and Uniform Current are described below.
Constant Voltage
l The potential on the terminal perimeter is constant for AC calculations, and constant on
the terminal area for DC calculations.
l The current distribution is non-uniform on the perimeter of the terminal, or on the terminal
area.
l Introducing additional terminals will change the path of the current, and self-inductance
entries may also change.
Uniform Current
l Forces a uniform current distribution on the perimeter of the terminals for AC calculations,
or on the area of the terminals for DC calculations to approximate those terminals as point
ports.
l For terminals comprising multiple disjoint facets, each facet has its own constant current
density different from all other facets. This is for the scenario of a terminal defined over a
pingroup.
l The voltage on the terminal is not constant, and voltage (1V or 0V) will be observed at one
point only.
l Due to the uniform current distribution, the self-inductance is usually higher.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
You can define more than one setup per design, and each solution setup includes:
l General data about the solution's generation.
l Adaptive mesh refinement parameters if you want the mesh to be refined iteratively in
areas of highest error.
Note:
3. Select the appropriate settings. See: detailed instructions for Q3D Extractor and
2D Extractor.
4. Click OK.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
You can define more than one setup per design, and each solution setup includes:
l General data about the solution's generation
l Adaptive mesh refinement parameters if you want the mesh to be refined iteratively in
areas of highest error
Note:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
7. If desired, click HPC and Analysis Options to change HPC and Analysis settings.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note:
9. In order to save disk space, the Save Fields check box is disabled by default. To enable
fields post processing or workbench coupling, select it.
Note:
10. If you are performing transition region analysis, enable Enhanced Accuracy in DC-to-
AC Transition Region and specify the relative error.
Note: This option is only available if you have enabled both DC and AC analysis.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Solution order refers to the accuracy level. The solver will give accurate results at the
Normal setting for most applications. The High, Higher, and Highest options offer
greater accuracy at the expense of speed and memory.
l Select either Iterative Solver or Direct Solver.
l Iterative Solver – The Iterative Solver is generally the fastest option. However, it
uses FMM compression, which may lead to slow convergence of GMRES iterations
for poorly conditioned matrices.
l Direct Solver – The Direct Solver has a higher setup time and uses more memory
than the Iterative Solver. In the setup phase of the direct solver, an LU factorization
of the FMM-compressed MoM system of equations is performed. In the solution
phase, each right hand side is solved using forward(L) and backward(U)
substitutions.The Direct Solver converges quickly for poorly conditioned matrices
and should only be used in cases requiring longer solution times (e.g., cases with
extreme geometries and cases with more than 500 nets).
By default, the Direct Solver Solution Tolerance is 1e-6 for Normal or High solution
order, 1e-7 for Higher, and ie-8 for Highest. Putting a larger tolerance requires less
setup time and memory, while putting a tighter tolerance requires more setup time
and memory but leads to rapid convergence and faster solution time.
Important:
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 Q3D Extractor
requesting more memory than is available or taking excessive time to compute
solutions.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Percent Error – the desired solution accuracy. Smaller values produce more accurate
but slower solutions; larger values produce less accurate but faster solutions.
l Percent Refinement Per Pass – determines how many tetrahedra are added at each
iteration of the adaptive refinement process. The tetrahedra with the highest error are
refined. For example, entering 10 causes the mesh to increase approximately 10
percent each pass. If your mesh consisted of 1000 elements, the tetrahedra or triangles
would be refined so that 100 new elements are added to the mesh. The default value is
30% and you can you generally accept the default value.
4. Click OK.
Temperature-Dependent CG Analysis
Q3D Extractor's CG solver can intake temperature-dependent dielectric materials.
Note:
When infinite ground planes are present, CG results may differ slightly from releases
prior to 2022 R2.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Important:
l Ansys recommends using Distributed Memory CG Solutions for applications that
are large in size and cannot fit on a single node.
l Using too many tasks for smaller meshes will slow down the solver.
l For best performance, use a smaller number of cores per task (ideally 4).
l CG Matrix Solver cannot be enabled simultaneously with the Solver
Nets/Sources Distribution Type option.
l Click OK.
l From the Submit Job window:
l Select the Compute Resources tab.
l Ensure Use Automatic Settings is disabled.
l In the Job Distribution area, click Modify to launch the Job Distribution window.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Click OK.
Important:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Important:
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 Q3D Extractor
requesting more memory than is available or taking excessive time to compute
solutions.
Note:
l Solution Order – refers to the accuracy level. The solver will give accurate results at
the Normal setting for most applications. The High, Higher, and Highest options offer
greater accuracy at the expense of speed and memory.
3. Click OK.
Important:
For designs containing Pulse Width Modulated (PWM) voltages and currents (common
in power electronics), an advanced workflow is required to accurately estimate losses
in bus bars, connectors, and PCBs. See: Electrothermal Flow for Power Electronics.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Important:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Important:
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 Q3D Extractor
requesting more memory than is available or taking excessive time to compute
solutions.
Note:
A growth rate lower than the maximum occurs when there are not enough high
error elements to warrant adaption. This reduces memory usage without
sacrificing accuracy.
Note:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
For these scenarios, Q3D Extractor has an option to enable enhanced accuracy in the DC to AC
transition region. With this option enabled, Q3D Extractor computes RL values at some points in
the transition region (between KHz and MHz), and combines these values with the values at DC
and AC points for an accurate frequency sweep. Q3D Extractor solves the field inside and
outside a conductor and enforces the boundary condition on the conductor surface to provide
accurate RL values at the transition region frequencies.
1. From the Solve Setup window, enable both AC RL and DC RL simulations, and select
Enhanced Accuracy in DC-to-AC Transition Region.
2. The Relative Error in R/L field determines accuracy. In most cases, the default value
(0.1) is sufficient. If a more accurate frequency sweep is desired, 0.01 or 0.001 can be
used and Q3D Extractor will solve more points in the transition region. However, using a
smaller error percentage can cause the transition region solver to consume a great deal of
time and memory.
3. Run the AC and DC simulations.
Q3D Extractor collects the DC, AC and transition region RL values and uses the transition
region interpolator to plot R/L.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Power loss density is calculated for the real and imaginary parts of the net current at each
frequency separately.
The skin and proximity effects on losses are not simulated directly. Instead, they are
approximated by scaling the dissipated power of a net with the AC resistance value from the
matrix at each frequency. This approach cannot provide high accuracy in the power loss density
distribution for cases in which geometry parts with different conductivity values are combined in
one net.
1. Set up a Q3D Extractor design. Ensure that DC RL, AC RL, and Save Fields are
enabled.
2. Add a Frequency Sweep to the solution setup. Ensure that the type is Interpolating, and
that the frequency points cover the entire range of interest, including DC point.
Tip:
For higher accuracy of the power loss density distribution, consider applying
additional mesh operations (Inside Selection > Length-Based).
3. Create Design Datasets for frequency-dependent real and imaginary currents at each
source either manually or by performing the following steps:
a. Create a Circuit design, for which the Q3D model is a part. If using Ansys Circuit or
Ansys Twin Builder, you can include the Q3D parasitic model using Dynamic Link.
b. Run a Circuit Transient analysis.
c. After Transient simulation reaches steady state for one period of fundamental
frequency, record the current values corresponding to each source in the
Q3D Extractor model.
d. Perform FFT on all recorded currents, plotting real and imaginary parts separately.
e. Export real and imaginary currents vs. frequency for all Q3D sources as datasets,
ensuring that the frequency points are the same in all datasets.
f. In the Q3D Extractor design, import the datasets as Design Datasets.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note:
Optionally, you can enable and use the beta option Push Excitations to Q3D
from Circuit.
4. In the Edit Sources window, select the Harmonic Loss tab and set real and imaginary
current values for the corresponding sources.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
You can define more than one setup per design, and each solution setup includes:
l General data about the solution's generation
l Adaptive mesh refinement parameters if you want the mesh to be refined iteratively in
areas of highest error
Note:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
7. If desired, click HPC and Analysis Options to change HPC and Analysis settings.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note:
9. In order to save disk space, the Save Fields check box is disabled by default. To enable
fields post processing or workbench coupling, select it.
Note:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
If the final delta is less than the target delta, then the pass is considered converged with
respect to parameter convergence.
3. Click OK.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
If the final delta is less than the target delta, then the pass is considered converged with
respect to parameter convergence.
3. Click OK.
Note:
Epsilon is assumed to be zero for all objects in the design since displacement current
terms (omega * epsilon) are not included during the simulation.
By default, the solution order is Normal, but you can increase the accuracy for problems where
high accuracy is essential.
Note:
If the DC RL tab is not visible, ensure that DC is selected on the General tab.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
3. Use the Solution Order drop-down menu to select the solution order
(Normal, High, Higher, or Highest).
4. Click OK.
The Expression Cache tab lists any expressions you have added, in a table.
You can edit the Title, Context, Intrinsics, and Convergence directly in the table:
l The Context column allows you to select the original or a reduced matrix.
l The Intrinsics column contains a button that opens an Edit Calculation Range dialog
box. If the button reads "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.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l The Adaptive Convergence column contains a button that opens the Adaptive
Convergence dialog box. From there, you can specify whether to use the expression for
convergence, and specify a Maximum Delta.
4. Click Add.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
If you have defined one or more output variables, you can see them listed as Quantities by
clicking Output Variables.
7. On the Calculation Range tab, you can view and edit the values of available sweep
variables.
For example:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Important:
Q3D Extractor's blending algorithm assumes that DC inductance is always higher than
AC inductance. If DC inductance values are smaller than AC inductance values, the
sweep will fail and give constant curves.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note:
The available tabs and options change with the selected sweep type.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note:
l Enabled – select to enable the sweep or clear the check box to disable it.
l Frequency Sweeps – use the Add Above/Add Below and Delete Selection buttons
to add or remove sweeps.
Specify the Start and End frequency for each sweep, as well as any additional options
for that sweep type.
l 3D Fields Save Options – for discrete sweeps only, you can select Save Fields (all
frequencies) to save the calculated 3D field solutions associated with the chosen
frequencies.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
4. If you are running an Interpolating sweep, select the Interpolation tab to specify
additional settings:
l Max Solutions – the maximum number of solutions that will be solved for the
frequency range. The default is 50.
l Error Tolerance – the maximum relative difference allowed between two successive
interpolation solutions. The default is 0.01 percent, which is usually satisfactory.
l Minimum Solutions – the minimum number of converged solutions that will be solved
for the frequency range. For example, if this value is three, then once the sweep
reaches convergence it simulates at two extra frequencies. 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. The
default value is 0.
l Minimum Number of Sub Ranges – the sub range number acts as an initial condition
on the sweep to force initial even breakup of the null range into subranges. 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 datapoint. The default value is 1.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
5. If desired, select the Defaults tab to save your settings as the default or change your
settings to the current default settings.
6. Click OK to add the sweep.
Disabled sweeps appear grayed out in the Project Tree (see Sweep2 in this example):
To enable a disabled Frequency Sweep, right-click the sweep and select Enable Sweep.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note:
The available tabs and options change with the selected sweep type.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note:
l Enabled – select to enable the sweep or clear the check box to disable it.
l Frequency Sweeps – use the Add Above/Add Below and Delete Selection buttons
to add or remove sweeps.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Specify the Start and End frequency for each sweep, as well as any additional options
for that sweep type.
l 3D Fields Save Options – for discrete sweeps only, you can select Save Fields (all
frequencies) to save the calculated 3D field solutions associated with the chosen
frequencies.
4. If you are running an Interpolating sweep, select the Interpolation tab to specify
additional settings:
l Max Solutions – the maximum number of solutions that will be solved for the
frequency range. The default is 50.
l Error Tolerance – the maximum relative difference allowed between two successive
interpolation solutions. The default is 0.01 percent, which is usually satisfactory.
l Minimum Solutions – the minimum number of converged solutions that will be solved
for the frequency range. For example, if this value is three, then once the sweep
reaches convergence it simulates at two extra frequencies. 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. The
default value is 0.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Minimum Number of Sub Ranges – the sub range number acts as an initial condition
on the sweep to force initial even breakup of the null range into subranges. 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 datapoint. The default value is 1.
5. If desired, select the Defaults tab to save your settings as the default or change your
settings to the current default settings.
6. Click OK to add the sweep.
Disabled sweeps appear grayed out in the Project Tree (see Sweep2 in this example):
To enable a disabled Frequency Sweep, right-click the sweep and select Enable Sweep.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Reducing a model 's capacitance, inductance, and resistance matrices enables you to quickly
and easily vary the excitations and connections of the conductors in your model without having
to modify the conductor and source assignments and generate a new solution. In addition, it lets
you model designs that cannot otherwise be simulated in Q3D Extractor — such as conductors
connected in parallel or series. The reduced matrices can then be used to generate SPICE
equivalent subcircuits for the model via the Make SPICE File command, and can also be input to
other circuit simulation packages.
Reduce Matrix operations allow you to modify conductor definitions and generate new matrices
containing fewer elements. Operations for Q3D Extractor include:
l Move Sink
l Add Sink
l Join in Series
l Join in Parallel
l Join Selected Terminals
l Float Net
l Ground Net
l Float Terminal
l Float at Infinity
l Return Path
l Change Frequency
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l For capacitance matrices, model the case where the charge at infinity is zero (that is,
infinity is not held at zero potential).
l For AC problems, find the resistance at different frequencies.
l For inductance and resistance matrices:
l Change the location of current sink points within conductors.
l Add current sink points to multi-terminal conductors.
l Specify that current returns through a conductor in the model.
Based on these modifications, Q3D Extractor generates new matrices without computing new
field solutions for any selected parameters that already have field solutions. This saves
computing time and resources and allows you to easily optimize ground assignments when you
generate a SPICE equivalent circuit.
Important:
Before you solve, remember that you must assign all signal-carrying conductors to
nets.
You can select any object in the Modeler window and right-click, then select Assign Reduce
Matrix. If the selected objects are valid terminals for the reduce matrix operation, they are
considered for reduction; otherwise, they are ignored.
After reduction, reduced matrices and their Reduce Matrix operations appear in the
Project Manager:
You can right-click the original or a reduced matrix in the project tree to see more options.
You can also right-click a Reduce Matrix operation and click Select Assignment to select the
objects to which it applies.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Important:
The Reduce Matrix - Move Sink window appears, with a list of source terminals in the left
pane.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
2. Select a source to move. As soon as you click the source terminal, it is removed from the
terminal list and added to the Reduced Net List.
3. If you have a long list of terminals, you can filter the list by entering search criteria and
clicking Filter. Use multiple search criteria with a comma separator (for example,
"Redsource*, BlueSource*").
4. Click one of the following:
l Save and Create to save and leave the Reduce Operation window open to add an
additional operation. You must select the next operation from the drop-down menu
before clicking this button.
l Save and Close to save the current operation and close the window.
l Cancel to close the window without making changes.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Important:
If you convert all the source terminals in a net to sink terminals, you have short-
circuited the net, but it still has some effect on the inductance matrices.
The Reduce Matrix - Add Sink window appears, with a list of source terminals in the left
pane.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
2. Select a source to convert into a sink. As soon as you click the source terminal, it is
removed from the terminal list and added to the Reduced Net List.
Tip:
3. If you have a long list of terminals, you can filter the list by entering search criteria and
clicking Filter. Use multiple search criteria with a comma separator (for example,
"Redsource*, BlueSource*").
4. Click one of the following:
l Save and Create to save and leave the Reduce Operation window open to add an
additional operation. You must select the next operation from the drop-down menu
before clicking this button.
l Save and Close to save the current operation and close the window.
l Cancel to close the window without making changes.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
For capacitance and conductance CG) matrices, conductors in series are considered to be
connected by ideal wires. Because of this, they are assumed to be at the same voltage —
therefore the series connection produces the same capacitance result as a parallel connection.
In inductance and resistance (IR) matrices, the currents leaving the selected sink terminals are
considered to be forced into the selected source terminal. Because the connections between the
source and sink terminals are ideal, the exact order of connection is not important.
This matrix reduction operation is used to model the inductance and resistance of a closed loop
in Q3D Extractor. The software directly solves for partial inductance and resistance matrices,
which only include the effects of currents in the section of the loop that is being modeled. Matrix
reduction allows you to calculate loop inductances and resistances.
The Reduce Matrix - Join in Series window appears, with a list of sources and sinks in
the left pane.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
2. Select the source terminal and sink terminal(s) you want to join. As soon as you click a
source or sink, it is removed from the terminal list and added to the Reduced Net List.
Tip:
3. If you have a long list of terminals, you can filter the list by entering search criteria and
clicking Filter. Use multiple search criteria with a comma separator (for example,
"Redsource*, BlueSource*").
4. Click one of the following:
l Save and Create to save and leave the Reduce Operation window open to add an
additional operation. You must select the next operation from the drop-down menu
before clicking this button.
l Save and Close to save the current operation and close the window.
l Cancel to close the window without making changes.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
In capacitance (CG) matrices, all parallel conductors are considered to be at the same voltage.
As a result, there is no mutual or coupling capacitance between them. (Alternatively, you can
think of the coupling capacitance as being shorted out since both of its terminals are at the same
potential.)
In inductance and resistance (IR) matrices, source terminals in parallel conductors are
considered to be connected, and therefore are dependent. The corresponding sink terminals are
also considered to be connected. Parallel reduction is based on the impedance of the
conductors being reduced.
The Reduce Matrix - Join in Parallel window appears, with a list of sources in the left
pane.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
2. Select the terminals you want to join. As soon as you click a source, it is removed from the
terminal list and added to the Reduced Net List.
Tip:
3. If you have a long list of terminals, you can filter the list by entering search criteria and
clicking Filter. Use multiple search criteria with a comma separator (for example,
"Redsource*, BlueSource*").
4. Enter a New net name, New source name, and New sink name. These names should
be unique.
5. Click one of the following:
l Save and Create to save and leave the Reduce Operation window open to add an
additional operation. You must select the next operation from the drop-down menu
before clicking this button.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Save and Close to save the current operation and close the window.
l Cancel to close the window without making changes.
To join terminals:
1. Click Q3D Extractor > Reduce Matrix > Join Selected Terminals.
The Reduce Matrix - Join Selected Terminals window appears, with a list of sources in
the left pane.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
2. Select the terminals you want to join. As soon as you click a source, it is removed from the
terminal list and added to the Reduced Net List.
Tip:
3. If you have a long list of terminals, you can filter the list by entering search criteria and
clicking Filter. Use multiple search criteria with a comma separator (for example,
"Redsource*, BlueSource*").
4. Enter a New source name. This name should be unique.
5. Click one of the following:
l Save and Create to save and leave the Reduce Operation window open to add an
additional operation. You must select the next operation from the drop-down menu
before clicking this button.
l Save and Close to save the current operation and close the window.
l Cancel to close the window without making changes.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
In inductance and resistance matrices, the total charge in a floating net is constrained to zero
amps. This simulates an open circuit.
In a capacitance matrix, a floating net is considered to have a total zero charge. The potential is
the same everywhere on the net because it is considered to be a perfect conductor. The
potential of the floating net lies somewhere between the potential of the surrounding sources
and ground. The exact value depends on the source excitations and on the model 's geometry.
The Reduce Matrix - Float Net window appears, with a list of nets in the left pane.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
2. Select the nets you want to float. As soon as you click a net, it is removed from the
terminal list and added to the Reduced Net List.
Important:
3. If you have a long list of nets, you can filter the list by entering search criteria and clicking
Filter. Use multiple search criteria with a comma separator (for example, "Redsource*,
BlueSource*").
4. Click one of the following:
l Save and Create to save and leave the Reduce Operation window open to add an
additional operation. You must select the next operation from the drop-down menu
before clicking this button.
l Save and Close to save the current operation and close the window.
l Cancel to close the window without making changes.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
In capacitance (CG) matrices, grounded conductors are considered to have a potential of zero
volts. The ground reference at infinity is also considered to have a potential of zero volts.
For inductance and resistance (IR) matrices, when a conductor is grounded, its source terminals
are connected to its sink terminal. Current can flow in the newly created loops due to fields
induced by the surrounding conductors. The fields produced by this loop affect voltage drops
observed in surrounding conductors. Thus, the inductance matrix of the remaining conductors is
altered by this operation.
Matrix reduction is the only way to model grounded conductors in inductance and resistance
computations.
The Reduce Matrix - Ground Net window appears, with a list of nets in the left pane.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
2. Select the nets you want to ground. As soon as you click a net, it is removed from the
terminal list and added to the Reduced Net List.
Important:
3. If you have a long list of nets, you can filter the list by entering search criteria and clicking
Filter. Use multiple search criteria with a comma separator (for example, "Redsource*,
BlueSource*").
4. Click one of the following:
l Save and Create to save and leave the Reduce Operation window open to add an
additional operation. You must select the next operation from the drop-down menu
before clicking this button.
l Save and Close to save the current operation and close the window.
l Cancel to close the window without making changes.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The Reduce Matrix - Float Terminal window appears, with a list of terminals in the left
pane.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
2. Select the terminal(s) you want to float. As soon as you click a terminal, it is removed from
the terminal list and added to the Reduced Net List.
Important:
3. If you have a long list of terminals, you can filter the list by entering search criteria and
clicking Filter. Use multiple search criteria with a comma separator (for example,
"Redsource*, BlueSource*").
4. Click one of the following:
l Save and Create to save and leave the Reduce Operation window open to add an
additional operation. You must select the next operation from the drop-down menu
before clicking this button.
l Save and Close to save the current operation and close the window.
l Cancel to close the window without making changes.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
When computing capacitance, Q3D Extractor uses the voltage at infinity as a reference, and
assumes that this voltage is equal to zero. This implies that the charge inside the problem region
is balanced by the charge at infinity—that is, that there is charge induced at infinity.
However, in some cases, you may want to use a grounded net in the model as a reference. To
do this, Q3D Extractor changes the capacitance values to reflect a local reference—modeling
the case where no field lines leak from the solution region. The potential at infinity is not fixed at
zero, and depends on the voltages inside the model.
1. In the Project Manager, select either the original matrix or a previously reduced matrix.
2. Click Q3D Extractor > Reduce Matrix > Float at Infinity.
The Project Manager displays the floated matrix either as a top-level matrix or under a
previously reduced matrix:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
If you identify a net as a current return path, the total current exiting from the sink terminals on
the remaining conductors returns inside the selected conductor. This total current is forced into
the sink terminal of the return path conductor and re-emerges from the source terminal. It is as if
the return conductor was connected via an ideal wire to the source conductors, creating a closed
current loop—only part of which is explicitly modeled. Current flow in the conductor specified as
the return path is automatically reversed.
Specifying a return path does not simulate the effect of the full current loop. The effect of
returning current on the partial inductance and resistance matrices is confined to the region
being modeled and does not include the rest of the loop.
This matrix reduction operation is used to model the inductance and resistance of a closed loop
in Q3D Extractor. The software directly solves for partial inductance and resistance matrices,
which only include the effects of currents in the section of the loop that is being modeled.
The Reduce Matrix - Return Path window appears, with a list of terminals in the left
pane.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
2. Select the source terminal you want to specify as a return path. As soon as you click a
terminal, it is removed from the terminal list and added to the Reduced Net List.
Important:
3. If you have a long list of terminals, you can filter the list by entering search criteria and
clicking Filter. Use multiple search criteria with a comma separator (for example,
"Redsource*, BlueSource*").
4. Click one of the following:
l Save and Create to save and leave the Reduce Operation window open to add an
additional operation. You must select the next operation from the drop-down menu
before clicking this button.
l Save and Close to save the current operation and close the window.
l Cancel to close the window without making changes.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
where:
l fnew is the new frequency (which you will be asked to supply).
l fold is the solution frequency for the matrix you are reducing.
Important:
Change Frequency only affects the AC resistance matrix. It has no effect on any other
solution matrices.
1. In the Project Manager, expand Reduce Matrix and select the matrix you want to
reduce.
2. Click Q3D Extractor > Reduce Matrix > Change Frequency.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
3. Enter a Frequency and select a unit of measure from the drop-down menu.
4. Click OK.
bo
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Based on these modifications, 2D Extractor generates new matrices without computing new field
solutions for any selected parameters that already have field solutions. This saves computing
time and resources and allows you to easily optimize ground assignments when you generate a
SPICE equivalent circuit.
You can select any object in the Modeler window and right-click, then select Assign Reduce
Matrix. If the selected objects are valid terminals for reduce matrix operation, they are
considered for reduction; otherwise, they are ignored.
After reduction, reduced matrices and their Reduce Matrix operations appear in the
Project Manager:
You can right-click the original or a reduced matrix in the project tree to see more options.
You can also right-click a Reduce Matrix operation and click Select Assignment to select the
objects to which it applies.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Important:
When a conductor is grounded, its source terminals are connected to its sink terminal. Current
can flow in the newly created loops due to fields induced by the surrounding conductors. The
fields produced by this loop affect voltage drops observed in surrounding conductors. Thus, the
inductance matrix of the remaining conductors is altered by this operation.
The Reduce Operation window appears, with a list of the model's conductors in the left
pane.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
2. Select a conductor to ground. As soon as you click the conductor, it is removed from the
conductors list and added to the Reduced Conductors List.
Note:
3. If you have a long list of conductors, you can filter the list by entering search criteria and
clicking Filter. Use multiple search criteria with a comma separator (for example,
"Redsource*, BlueSource*").
4. Click one of the following:
l Save and Create to save and leave the Reduce Operation window open to add an
additional operation. You must select the next operation from the drop-down menu
before clicking this button.
l Save and Close to save the current operation and close the window.
l Cancel to close the window without making changes.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The Reduce Operation window appears, with a list of the model's conductors in the left
pane.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
2. Select the conductors you want to ground. As soon as you click the conductor, it is
removed from the conductors list and added to the Reduced Conductors List.
Note:
You can select an already reduced conductor. However, you cannot select all
conductors.
3. If you have a long list of conductors, you can filter the list by entering search criteria and
clicking Filter. Use multiple search criteria with a comma separator (for example,
"Redsource*, BlueSource*").
4. Click one of the following:
l Save and Create to save and leave the Reduce Operation window open to add an
additional operation. You must select the next operation from the drop-down menu
before clicking this button.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Save and Close to save the current operation and close the window.
l Cancel to close the window without making changes.
The Reduce Operation window appears, with a list of the model's conductors in the left
pane.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
2. Select a conductor to float. As soon as you click the conductor, it is removed from the
conductors list and added to the Reduced Conductors List.
Note:
You can select a conductor that has already been reduced. However, you cannot
select all conductors.
3. If you have a long list of conductors, you can filter the list by entering search criteria and
clicking Filter. Use multiple search criteria with a comma separator (for example,
"Redsource*, BlueSource*").
4. Click one of the following:
l Save and Create to save and leave the Reduce Operation window open to add an
additional operation. You must select the next operation from the drop-down menu
before clicking this button.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Save and Close to save the current operation and close the window.
l Cancel to close the window without making changes.
The Reduce Operation window appears, with a list of the model's conductors in the left
pane.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
2. Select two or more conductors to connect in parallel. As soon as you click a conductor, it is
removed from the conductors list and added to the Reduced Conductors List.
Note:
3. If you have a long list of conductors, you can filter the list by entering search criteria and
clicking Filter. Use multiple search criteria with a comma separator (for example,
"Redsource*, BlueSource*").
4. Enter a New Name. Since these conductors are treated as a single conductor in the
reduced matrix, their names will be replaced with the one you specify here.
Note:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The Reduce Operation window appears, with a list of the model's conductors in the left
pane.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
2. Select two conductors to create a differential pair. As soon as you click a conductor, it is
removed from the conductors list and added to the Reduced Conductors List.
Note:
3. If you have a long list of conductors, you can filter the list by entering search criteria and
clicking Filter. Use multiple search criteria with a comma separator (for example,
"Redsource*, BlueSource*").
4. Enter a New Name for the pair. The positive reference will be called "<new name>.cm"
and the negative reference will be "<new name>.df".
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note:
Reordering Matrices
To reorder any matrix:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
For 2D Extractor, this window contains only one tab. For Q3D Extractor, it contains tabs
for RL and CG. Both tabs have the same two options.
3. Select either Sort in ascending alphanumeric order or Sort in the below order.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
4. If you selected Sort in the below order, use the up and down arrows to rearrange the
selected conductors, nets, or terminals; or drag-and-drop the items.
5. Click OK.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
14 - 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
Q3D Extractor. 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 14-1
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note:
Sensitivity, Statistical, Design Xplorer, and some Optimizers have been placed in
legacy mode because they are no longer under active development. Go to Tools >
Options > General Options > Miscellaneous and toggle the Enable Legacy
Optimetrics Tools check box to show or hide these legacy tools.
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.
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
Q3D Extractor 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 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
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 within which optimal conditions will
occur.
Optimetrics 14-2
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
of variable values within a range that you want the software to solve when you run the
parametric setup.
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.
After you define a parametric sweep, a shortcut menu becomes available when you right-
click the setup name in the Project Manager.
Note:
Sweeping or using a complex variable is not allowed in any optimetrics setup, including
optimization, statistical, sensitivity, and tuning setups.
Optimetrics 14-3
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
These methods open a file browser for a comma delimited file (.csv) or a tab delimited .txt file.
The first row lists the Project and Design Variable names, and when followed by parentheses,
the units. When unit not present, SI unit is assumed. The following rows provide the variable
values and units, where SI is assumed if not specified. 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.
After you have imported a valid file, the detailed information regarding sweep values can be
found at the lower portion of the Parametric Setup Sweep Analysis dialogSweep Definitions
tab (Operation/Description panel). It is treated as: first row as single point. then each time a new
sweep point is added.
Optimetrics 14-4
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note:
All the independent variables associated with the design are listed in the Variable drop-
down menu of the Add/Edit Sweep dialog.
3. Click the variable for which you are defining the sweep definition from the Variable drop-
down menu.
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.
Optimetrics 14-5
Ansys Electromagnetics Suite 2024 R1 - © 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:
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.
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 14-6
Ansys Electromagnetics Suite 2024 R1 - © 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.
Prerequisites
l For animation of a field plot/overlay plot over a geometric variable, you must define and
solve at least one optimetric sweep with same variable values and Save Fields selected
before you can create a parametric animation of a field solution. See Creating Geometry
Animations.
l For animation of geometry and VRT plots, solving parametric setup is not required.
l Animations can be based on time variables and objects whose location is linked to the
time variable. See the animated example below.
Procedure:
1. Right-click in the Modeler window, and click View> Animate..., or select the View tab of
the ribbon, and click the Animate icon.
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.
Optimetrics 14-7
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note:
If previous animations have been created for this project, the Select Animation
dialog box 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.
3. If your have created one or more Parametric Sweeps for one or more geometric variables,
you can select Parametric setup, the setup to use, and the variable values to animate.
Optimetrics 14-8
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
4. Click OK.
The animation begins in the view window. It will display one frame for each variable value.
The Animation control panel lets you to stop, restart, and control the speed and
sequence of the frames.
Optimetrics 14-9
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
While a parametric animation is running, you can also turn on other field plots.
Optimetrics 14-10
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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:
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
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.
Optimetrics 14-11
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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.
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.
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, Q3D Extractor extracts the solution quantities and lists them in the
results table.
Optimetrics 14-12
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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 box. 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 box's
Calculation Expression field to the Calculations tab of the Setup Sweep Analysis dialog
box.
4. Click Done to close the Add/Edit Calculation dialog box.
The Setup dialog boxes for each of the Optimetrics types include a Setup Calculations button.
Clicking this button displays the Add/Edit Calculation dialog box, which contains distinct panes
and tabs to set the Context, the Calculation Expression, and the Calculation Range.
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 box 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 menu of available solutions.
4. If the Geometry field is available, select from the drop-down menu.
5. In the Trace tab, specify the solution Category, a Quantity, and Functions. The resulting
expression will be displayed in the Calculation Expression field.
Optimetrics 14-13
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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 Click Output Variables.
Note:
The calculation you specify must be able to be evaluated into a single, real
number.
The selected function is applied to the Quantity in the Calculation Expression field.
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
Optimetrics 14-14
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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 Setup Calculations.
5. In the Value box, click a value at which the solution quantity will be extracted.
6. Click Update and then click Edit.
If you do a distributed solve, the Electronics Desktop 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.
Note:
After you define a parametric sweep, a shortcut menu becomes available when
you right-click the setup name.
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.
Optimetrics 14-15
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Right-click the progress window, and select Hide Subtask Progress Bars.
2. Select the parametric setup with the results you want to view from the drop-down menu 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 Modeler window is changed to represent the selected design
variation.
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.
Choosing an Optimizer
Conducting an optimization analysis allows you to determine an optimum solution for your
problem. In optimization analyses, there are many available optimizers.
Optimetrics 14-16
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
These use a Decision Support Process (DSP) based on satisfying criteria as applied to the
parameter attributes using a weighted aggregate method. In effect, the DSP can be viewed as a
post-processing action on the Pareto fronts as generated from the results of the various
optimization methods.
l Screening (Search based) – a non-iterative direct sampling method that uses a quasi-
random number generator based on the Hammersley algorithm. You can start with
Screening to locate the multiple tentative optima and then refine with NLPQL or MISQP to
zoom in on the individual local maximum or minimum value. Usually Screening is used for
preliminary design, which can lead you to apply one of the other approaches for more
refined optimization results.
l Multi-Objective Genetic Algorithm – an iterative random search algorithm that can
optimize problems with continuous input parameters. It is better for calculating the global
optima. You can start with MOGA to locate the multiple tentative optima and then refine
with NLPQL or MISQP to zoom in on the individual local maximum or minimum value.
l Nonliner Programming by Quadratic Lagrangian (Gradient) – a gradient-based, single-
objective optimizer based on quasi-Newton methods. Ideally suited for local optimization.
l Mixed-Integer Sequential Quadratic Programming (Gradient and Discrete) – a gradient-
based, single-objective optimizer that solves mixed-integer non-linear programming
problems by a modified sequential quadratic programming (SQP) method. Ideally suited
for local optimization.
l Adaptive Multiple Objective – an iterative, multi-objective optimizer that employs a Kriging
response surface and MOGA. In this method, the use of a Kriging response surface
allows for a more rapid optimization process because all design points are not evaluated
except when necessary and part of the population is simulated by evaluations of the
Optimetrics 14-17
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Kriging response surface, which is constructed of all design points submitted by Multi-
Objective Genetic Algorithm (MOGA).
l Adaptive Single Objective (Gradient) – a gradient-based, single-objective optimizer that
employs an OSF (Optimal Space-Filling) DOE, a Kriging response surface, and MISQP.
l MATLAB
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.
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.
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.
Legacy Optimizers
These include:
Optimetrics 14-18
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
ASO supports a single objective and multiple constraints. It is available for continuous
parameters, including those with manufacturable values. It does not support the use of
parameter relationships in the optimization domain and is available only for a Direct Optimization
system.
Like MISQP, ASO solves constrained nonlinear programming problems of the form:
Minimize:
Subject to:
Where:
ASO Workflow
Optimetrics 14-19
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Optimetrics 14-20
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
AMO Steps
1. OSF Sampling
OSF (Optimal Space-Filling Design) is used for the Kriging construction. In the original
OSF, the number of samples equals the number of divisions per axis and there is one
sample in each division.
When a new OSF is generated after a domain reduction, the reduced OSF has the same
number of divisions as the original and keeps the existing design points within the new
bounds. New design points are added until there is a point in each division of the reduced
domain.
In the following example, the original domain has eight divisions per axis and contains
eight design points. The reduced domain also has eight divisions per axis and includes
two of the original design points. To have a design point in each division, six new design
points need to be added.
2. Kirging Generation
A response surface is created for each output, based on the current OSF and
consequently on the current domain bounds.
A Kriging response surface is created for each output, based on the first population and
then improved during simulation with the addition of new design points.
Optimetrics 14-21
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
3. MISQP
MISQP is run on the current Kriging response surface to find potential candidates. A few
MISQP processes are run at the same time, beginning with different starting points, and
consequently, giving different candidates.
All the obtained candidates are either validated or not, based on the Kriging error
predictor. The candidate point is checked to see if further refinement of the Kriging surface
changes the selection of this point. A candidate is considered as acceptable if there aren't
any points, according to this error prediction, that call it into question. If the quality of the
candidate is not called into question, the domain bounds are reduced. Otherwise, the
candidate is calculated as a verification point.
l Refinement Point Creation (If the selection is not to be changed)
When a new verification point is calculated, it is inserted in the current Kriging response
surface as a refinement point and the MISQP process is restarted.
l Domain Reduction(If the selection is to be changed)
When candidates are validated, new domain bounds must be calculated. If all of the
candidates are in the same zone, the bounds are reduced, centered on the candidates.
Otherwise, the bounds are reduced as an inclusive box of all candidates. At each
domain reduction, a new OSF is generated (conserving design points between the new
bounds) and a new Kriging response surface is generated based on this new OSF.
The optimization is considered to be converged when the candidates found are stable.
This occurs when all of the MISQP processes run on the response surface converge to
the same verified candidate point. However, there are four stop criteria that can stop the
algorithm: Maximum Number of Evaluations, Maximum Number of Domain Reductions,
Percentage of Domain Reductions, and Convergence Tolerance.
Following is the procedure for setting up an optimization analysis using the Adaptive Single-
Objective (OSF + Kriging + MISQP) Optimizer. Once you have created a setup, you can Copy
and Paste it, and then make changes to the copy, rather than redoing the whole process for
minor changes.
This gradient-based method employs automatic intelligent refinement to provide the global
optima. It requires a minimum number of design points to build the Kriging response surface,
but, in general, this method reduces the number of design points necessary for the optimization.
Failed design points are treated as inequality constraints, making it fault-tolerant.
Optimetrics 14-22
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The Adaptive Single-Objective method is available for input parameters that are continuous,
including those with manufacturable values. It can handle only one output parameter goal,
although other output parameters can be defined as constraints. It does not support the use of
parameter relationships in the optimization domain. For more information, see Adaptive Single-
Objective Optimization (ASO). It requires advanced options. Ensure that the Show Advanced
Options check box is selected.
1. Set up the variables you want to optimize in the Design Properties dialog box. The
variables must be swept in a Parametric setup.
2. Click Q3D Extractor > Optimetrics Analysis > Add Screening & Optimization. The
Setup Optimization dialog box appears.
3. Under the Goals tab, choose the optimizer by selecting Adaptive Single Objective
(Gradient) from the Optimizer drop-down menu.
4. Optionally press the Setup button to open the Optimizer Options window and check
Advanced Options.
Optimetrics 14-23
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Number of Initial Samples: Number of samples generated for the initial Kriging and
after all domain reductions for the construction of the next Kriging. You can enter a
minimum of (NbInp+1)*(NbInp+2)/2 (also the minimum number of OSF samples
required for the Kriging construction) or a maximum of 10,000. The default is
(NbInp+1)*(NbInp+2)/2.
Because of the Adaptive Single-Objective workflow (in which a new OSF sample set is
generated after each domain reduction), increasing the number of OSF samples does
not necessarily improve the quality of the results and significantly increases the number
of evaluations
l Maximum Number of Evaluations:Stop criterion. Maximum number of evaluations
(design points) that the algorithm is to calculate. If convergence occurs before this
number is reached, evaluations stop. This value also provides an idea of the maximum
possible time it takes to run the optimization. The default is 20*(NbInp +1).
l Convergence Tolerance: Stop criterion. Minimum allowable gap between the values
of two successive candidates. If the difference between two successive candidates is
smaller than the value for Convergence Tolerance multiplied by the maximum variation
of the parameter, the algorithm is stopped. A smaller value indicates more convergence
Optimetrics 14-24
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
iterations and a more accurate (but slower) solution. A larger value indicates fewer
convergence iterations and a less accurate (but faster) solution. The default is 1E-06.
l Random Generator Seed: The value for initializing the random number generator
invoked internally by OSF. The value must be a positive integer. This property allows
you to generate different samplings by changing the value or to regenerate the same
sampling by keeping the same value. The default is 0.
l Maximum Number of Cycles: Number of optimization loops that the algorithm needs,
which in turns determines the discrepancy of the OSF. The optimization is essentially
combinatorial, so a large number of cycles slows down the process. However, this
makes the discrepancy of the OSF smaller. The value must be greater than 0. For
practical purposes, 10 cycles is usually good for up to 20 variables. The default is 10.
l Number of Screening Samples: Number of samples for the screening generation on
the current Kriging. This value is used to create the next Kriging (based on error
prediction) and verified candidates.
You can enter a minimum of (NbInp+1)*(NbInp+2)/2 (also the minimum number of OSF
samples required for the Kriging construction) or a maximum of 10,000. The default is
100*NbInp for a Direct Optimization system. There is no default for a Response Surface
Optimization system.
The larger the screening sample set, the better the chances of finding good verified
points. However, too many points can result in a divergence of the Kriging.
l Number of Starting Points: Determines the number of local optima to explore. The
larger the number of starting points, the more local optima explored. In the case of a
linear surface, for example, it is not necessary to use many points. This value must be
less than the value for Number of Screening Samples because these samples are
selected in this sample. The default is the value for Number of Initial Samples.
l Maximum Number of Domain Reductions: Stop criterion. Maximum number of
domain reductions for input variation. (No information is known about the size of the
reduction beforehand.) The default is 20.
l Percentage of Domain Reductions: Stop criterion. Minimum size of the current
domain according to the initial domain. For example, with one input ranging between 0
and 100, the domain size is equal to 100. The percentage of domain reduction is 1%, so
the current working domain size cannot be less than 1 (such as an input ranging
between 5 and 6). The default is 0.1.
l Retained Domain per Iteration (%): Advanced option that allows you to specify the
minimum percentage of the domain you want to keep after a domain reduction. The
percentage value must be between 10 and 90. A larger value indicates less domain
reduction, which implies better exploration but a slower solution. A smaller value
indicates a faster and more accurate solution, with the risk of it being a local one. The
default percentage value is 40.
5. Add a cost function by selecting the Setup Calculations button to open the Add/Edit
Calculation dialog box.
Optimetrics 14-25
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
When you have created the calculation, click Add Calculation to add it to the
Optimization setup, and Done to close the Add/EditCalculation dialog box.
6. In the Optimization setup, in the Goal column drop-down menu, select either Edit as
Expression... or Edit as Numeric Value....
7. This reopens the Add/Edit Calculation dialog box. If you are satisfied with the expression
or value displayed, click Done to close the dialog box. This enters the expression/value
into the Goal column.
8. In the Optimization setup, 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
Optimetrics 14-26
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
function uses the maximum among all the weighted goal errors, which means 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.
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.
Optimetrics 14-27
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
necessary, the optimizer does not evaluate all design points. The general optimization approach
is the same as MOGA, but a Kriging response surface is used. Part of the population is
"simulated" by evaluations of the Kriging response surface. The Kriging error predictor reduces
the number of evaluations used in finding the first Pareto front solutions.
AMO Workflow
Optimetrics 14-28
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
AMO Steps
Optimetrics 14-29
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
2. Kirging Generation
A Kriging response surface is created for each output, based on the first population and
then improved during simulation with the addition of new design points.
3. MOGA
MOGA is run, using the Kriging response surface as an evaluator. After the first iteration,
each population is run when it reaches the number of samples defined by the Number of
Samples Per Iteration property.
Each point is validated for error. If the error for a given point is acceptable, the
approximated point is included in the next population to be run through MOGA (return to
Step 3).
l No: Error Not Acceptable
If the error is not acceptable, the points are promoted as design points. The new design
points are used to improve the Kriging response surface (return to Step 2) and are
included in the next population to be run through MOGA (return to Step 3)
6. Convergence Validation
MOGA converges when the maximum allowable Pareto percentage has been reached.
When this happens, the process is stopped.
l No: Optimization Not Converged
If the optimization is not converged, the process continues to the next step.
If the optimization has not converged, it is validated for fulfillment of the stopping criteria.
l Yes: Stopping Criteria Met
When the maximum number of iterations has been reached, the process is stopped
without having reached convergence..
l No: Stopping Criteria Not Met
Optimetrics 14-30
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
If the stopping criteria have not been met, the MOGA algorithm is run again (return to Step
3).
8. Conclusion
Steps 2 through 7 are repeated in sequence until the optimization has converged or the
stopping criteria have been met. When either of these things occurs, the optimization
concludes.
Following is the procedure for setting up an optimization analysis using the Adaptive Multiple
Objective (Random Search) Optimizer. Once you have created a setup, you can Copy and
Paste it, and then make changes to the copy, rather than redoing the whole process for minor
changes.
The Adaptive Multiple Objective (Kriging + MOGA) is an iterative algorithm that allows you to
either generate a new sample set or use an existing set, providing a more refined approach than
the Screening method. It uses the same general approach as MOGA, but applies the Kriging
error predictor to reduce the number of evaluations needed to find the global optimum. The
Adaptive Multiple-Objective method is available only for continuous input parameters, including
those with manufacturable values. It can handle multiple objectives and multiple constraints. For
more information, see Adaptive Multiple-Objective Optimization.
1. Set up the variables you want to optimize in the Design Properties dialog box. The
variables must be swept in a Parametric setup.
2. Click Q3D Extractor > Optimetrics Analysis > Add Screening & Optimization. The
Setup Optimization dialog box appears.
3. Under the Goals tab, select the optimizer by selecting Adaptive Multiple Objective
(Random-search) from the Optimizer drop-down menu.
Optimetrics 14-31
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
4. Optionally press the Setup button to open the Optimizer Options window.
l Number of Initial Samples: Initial number of samples to use. This number must be
greater than the number of enabled input parameters. The minimum recommended
number of initial samples is 10 times the number of enabled input parameters. The
larger the initial sample set, the better your chances of finding the input parameter
space that contains the best solutions.
The number of enabled input parameters is also the minimum number of samples
required to generate the Sensitivities chart. You can enter a minimum of 2 and a
maximum of 10000. The default is 100.
If you switch from the Screening method to the MOGA method, MOGA generates a new
sample set. For the sake of consistency, enter the same number of initial samples as
you used for the Screening method.
l Number of Samples Per Iteration: Number of samples to iterate and update with
each iteration. This number must be greater than the number of enabled input
parameters but less than or equal to the number of initial samples. The default is for a
Direct Optimization system.
Optimetrics 14-32
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Optimetrics 14-33
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Crossover Probability: Advanced option for specifying the probability with which
parent solutions are recombined to generate offspring solutions. The value must be
between 0 and 1. A smaller value indicates a more stable population and a faster (but
less accurate) solution. If the value is 0, the parents are copied directly to the new
population. A high probability of crossover (>0.9) is recommended. The default is 0.98.
5. Add a cost function by selecting the Setup Calculations button to open the Add/Edit
Calculation dialog box.
When you have created the calculation, click Add Calculation to add it to the
Optimization setup, and Done to close the Add/EditCalculation dialog box.
6. In the Optimization setup, in the dropdown for the Goal column, select either Edit as
Expression... or Edit as Numeric Value....
7. This reopens the Add/Edit Calculation dialog box. If you are satisfied with the expression
or value displayed, click Done to close the dialog box. This enters the expression/value
into the Goal column.
Optimetrics 14-34
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
8. In the Optimization setup, 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 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.
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.
Optimetrics 14-35
Ansys Electromagnetics Suite 2024 R1 - © 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.
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).
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
Optimetrics 14-36
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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.
The Genetic Algorithm (GA) search for Optimization analysis is an iterative process that goes
through a number of generations. In each generation some new individuals (Children / Number
of Individuals) are created and the so 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).
If you select the Genetic Algorithm for an Optimization analysis, a Setup button is enabled on
the Setup Optimization page.
1. Click Setup to open the Advanced Genetic Algorithm Optimizer Options dialog box.
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 toward 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 toward 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 box.
Optimetrics 14-37
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
5. Click Reproduction setup for the dialog box to specify the Crossover setup, and the
Mutation setup.
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.
Optimetrics 14-38
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
crossover probability
Variable crossover
probability
Variable exchange
probability
Mu
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 box, click OK to close it and return to the Advanced Genetic
Algorithm Optimizer Options dialog box.
10. In the Advanced Genetic Algorithm Optimizer Options dialog box, 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 box.
Optimetrics 14-39
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Following is the procedure for setting up an optimization analysis using the Genetic Algorithm
(Random search) Optimizer. Once you have created a setup, you can Copy and Paste it, and
then make changes to the copy, rather than redoing the whole process for minor changes.
1. Set up the variables you want to optimize in the Design Properties dialog box.
2. Click Q3D Extractor > Optimetrics Analysis > Add Screening & Optimization.
3. Under the Goals tab, select the optimizer by selecting Genetic Algorithm(Random
search) from the Optimizer pull-down list.
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.
Optimetrics 14-40
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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.
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.
Optimetrics 14-41
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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
To see if the optimization toolbox is installed, the user can type the "ver" command at the
command prompt of a running MATLAB instance. For example:
>> ver
---------------------------------------------------------------------
----------------------------------
MATLAB Version: 8.1.0.604 (R2013a)
MATLAB License Number: 162684
Operating System: Microsoft Windows 10
Java Version: Java 1.6.0_17-b04 with Sun Microsystems Inc. Java
HotSpot(TM) 64-Bit Server VM mixed mode
---------------------------------------------------------------------
----------------------------------
MATLAB Version 8.1 (R2013a)
Simulink Version 8.1 (R2013a)
Optimization Toolbox Version 6.3 (R2013a)
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 =
Optimetrics 14-42
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The Tools> General Options: Miscellaneous group 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.
MATLAB optimization starts by creating an optimization and selecting MATLAB from the
optimizer drop-down menu. If you select MATLAB as the optimizer, the Setup Optimization
dialog box 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
Optimetrics 14-43
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The initial Script Section display for the Optimization algorithm shows the following:
% invoke optimization
[x,fval,exitflag,output] = fmincon(wrapperfunc, startingpoint, [],
[], [], [], $ANS_MINVAL, $ANS_MAXVAL, nlcon, options)
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:
l Change the optimization algorithm (e.g., call fminsearch instead of fmincon).
l Change the parameters/options of the optimization algorithm (see the MATLAB
documentation for details).
l Specify a plot function to provide graphical output during optimization.
l Specify a user defined output function to be called at completion or per iteration.
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 14-44
Ansys Electromagnetics Suite 2024 R1 - © 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.
% set up optimization
Optimetrics 14-45
Ansys Electromagnetics Suite 2024 R1 - © 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 14-46
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Following is the procedure for setting up an optimization analysis using the MATLAB Optimizer.
Once you have created a setup, you can Copy and Paste it, and then make changes to the
copy, rather than redoing the whole process for minor changes.
1. Set up the variables you want to optimize in the Design Properties dialog box.
2. Click Q3D Extractor> Optimetrics Analysis > Add Screening & Optimization.
3. Under the Goals tab, select the optimizer by selecting MATLAB from the Optimizer drop-
down menu. Selecting MATLAB enables the Acceptable Cost and Noise fields.
4. Click Setup... 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 box.
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.
Optimetrics 14-47
Ansys Electromagnetics Suite 2024 R1 - © 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 more detail, 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.
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.
Optimetrics 14-48
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Minimize:
Subject to:
Where:
The symbols and denote the vectors of the continuous and integer variables, respectively. It is
assumed that problem functions and are continuously differentiable subject to all . It is not
assumed that integer variables can be relaxed. In other words, problem functions are evaluated
only at integer points and never at any fractional values in between.
MISQP solves MINLP by a modified sequential quadratic programming (SQP) method. After
linearizing constraints and constructing a quadratic approximation of the Lagrangian function,
mixed-integer quadratic programs are successively generated and solved by an efficient branch-
and-cut method. The algorithm is stabilized by a trust region method as originally proposed by
Yuan for continuous programs. Second order corrections are retained. The Hessian of the
Lagrangian function is approximated by BFGS updates subject to the continuous and integer
variables. MISQP is able to solve also non-convex nonlinear mixed-integer programs.
Convergence Rate % and Initial Finite Difference Delta % in NLPQ and MISQP
Optimetrics 14-49
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The main difference between these algorithms and Multi-Objective Genetic Algorithm (MOGA) is
that MOGA is designed to work with multiple objectives and does not require full continuity of the
output parameters. However, for continuous single objective problems, the use of NLPQL or
MISQP gives greater accuracy of the solution as gradient information and line search methods
are used in the optimization iterations. MOGA is a global optimizer designed to avoid local
optima traps, while NLPQL and MISQP are local optimizers designed for accuracy.
For NLPQL and MISQP, the default convergence rate, which is specified by the Allowable
Convergence (%) property, is set to 0.1% for a Direct Optimization system. The maximum value
for this property is 100%. This is computed based on the (normalized) Karush-Kuhn-Tucker
(KKT) condition. This implies that the fastest convergence rate of the gradients or the functions
(objective function and constraint) determine the termination of the algorithm.
The default convergence rate is used in conjunction with the initial finite difference delta
percentage value, which is specified by the Initial Finite Difference Delta (%) advanced property.
This property defaults to 1% for a Direct Optimization system. You use this property to specify a
percentage of the variation between design points to ensure that the Delta use in the calculation
of finite differences is large enough to be seen over simulation noise. The specified percentage
is defined as a relative gradient perturbation between design points.
The advantage of this approach is that for large problems, it is possible to get a near-optimal
feasible solution quickly without being trapped into a series of iterations involving small solution
steps near the optima. To work most effectively with NLPQL and MISQP, keep the following
guidelines in mind:
l If the Initial Finite Difference Delta (%) is greater than the Allowable Convergence (%), the
relative gradient perturbation gets iteratively smaller, until it matches the allowable
convergence rate. At this point, the relative gradient value stays the same through the rest
of the analysis.
Optimetrics 14-50
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l If the Initial Finite Difference Delta (%) is less than or equal to the Allowable Convergence
(%), the current relative gradient step remains constant through the rest of the analysis.
l Both the Initial Finite Difference Delta (%) and Allowable Convergence (%) should be
higher than the magnitude of the noise in your simulation.
When setting the values for these properties, you have the usual trade-offs between speed and
accuracy. Smaller values result in more convergence iterations and a more accurate (but
slower) solution, while larger values result in fewer convergence iterations and a less accurate
(but faster) solution. At the same time, however, you must be aware of the amount of noise in
your model. For the input variable variations to be visible in the output variables, both values
must be greater than the magnitude of the simulation's noise.
In general, default values for Initial Finite Difference Delta (%) and Allowable Convergence (%)
cover the majority of optimization problems. For example, if you know that the noise magnitude
in your direct optimization problem is 0.0001, then the default values (Allowable Convergence
(%) = 0.001 and Initial Finite Difference Delta (%) = 0.01) are good.
When the defaults are not a good match for your problem, of course, you can adjust the values
to better suit your model and your simulation needs. If you require a more numerically accurate
solution, you can set the convergence rate to as low as 1.0E-10% and then set the Initial Finite
Difference Delta (%) accordingly.
Following is the procedure for setting up an optimization analysis using the Merit-based
Sequential Quadratic Programming(Gradient) Optimizer or MBSQ Optimizer. Once you have
created a setup, you can Copy and Paste it, and then make changes to the copy, rather than
redoing the whole process for minor changes.
Optimetrics 14-51
Ansys Electromagnetics Suite 2024 R1 - © 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 Q3D Extractor> Optimetrics Analysis > Add Screening & Optimization.
3. Under the Goals tab, select the optimizer by selecting Merit-based Sequential
Quadratic Programming(Gradient) from the Optimizer drop-down menu.
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 box.
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.
Optimetrics 14-52
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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.
Following is the procedure for setting up an optimization analysis using the Mixed-Integer
Sequential Quadratic Programming optimizer. Once you have created a setup, you can Copy
and Paste it, and then make changes to the copy, rather than redoing the whole process for
minor changes.
1. Set up the variables you want to optimize in the Design Properties dialog box. The
variables must be swept in a Parametric setup.
2. Click Q3D Extractor > Optimetrics Analysis > Add Screening & Optimization. The
Setup Optimization dialog box appears.
3. Under the Goals tab, select the optimizer by selecting Mixed-Integer Sequential
Quadratic Programming (Gradient and Discrete) from the Optimizer drop-down
menu.
Optimetrics 14-53
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
4. Optionally press the Setup button to open the Optimizer Options window.
Optimetrics 14-54
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The default percentage value is 0.001. The minimum is 0.0001, and the maximum is 1.
For parameters with Allowed Values set to Manufacturable Values or Snap to Grid, the
value for Initial Finite Difference Delta (%) is ignored. In such cases, the closest allowed
value is used to determine the finite difference delta.
5. Add a cost function by selecting the Setup Calculations button to open the Add/Edit
Calculation dialog box.
When you have created the calculation, click Add Calculation to add it to the
Optimization setup, and Done to close the Add/EditCalculation dialog box.
Optimetrics 14-55
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
6. In the Optimization setup, in the dropdown for the Goal column, select either Edit as
Expression or Edit as Numeric Value...
7. If you are satisfied with the expression or value displayed, click Done to close the dialog
box. This enters the expression/value to the Goal column.
8. In the Optimization setup, 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 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.
Optimetrics 14-56
Ansys Electromagnetics Suite 2024 R1 - © 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.
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.
Following is the procedure for setting up an optimization analysis using the Nonlinear
Programming by Quadratic Lagrangian (Gradient) Optimizer. Once you have created a setup,
you can Copy and Paste it, and then make changes to the copy, rather than redoing the whole
process for minor changes.
The NLPQL (Nonlinear Programming by Quadratic Lagrangian) method can be used for Direct
Optimization systems. It allows you to generate a new sample set to provide a more refined
approach than the Screening method. Available for continuous input parameters only, NLPQL
can handle only one output parameter goal. Other output parameters can be defined as
constraints. For more information, see Convergence Rate % and Initial Finite Difference Delta %
in NLPQL and MISQP and Nonlinear Programming by Quadratic Lagrangian (NLPQL).
1. Set up the variables you want to optimize in the Design Properties dialog box. The
variables must be swept in a Parametric setup.
Optimetrics 14-57
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
2. Click Q3D Extractor > Optimetrics Analysis > Add Screening & Optimization. The
Setup Optimization dialog box appears.
3. Under the Goals tab, select the optimizer by selecting Nonlinear Programming by
Quadratic Lagrangian (Gradient) from the Optimizer drop-down menu.
4. Optionally press the Setup button to open the Optimizer Options window.
Optimetrics 14-58
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The default percentage value is 0.001. The minimum is 0.0001, and the maximum is 1.
For parameters with Allowed Values set to Manufacturable Values or Snap to Grid, the
value for Initial Finite Difference Delta (%) is ignored. In such cases, the closest allowed
value is used to determine the finite difference delta.
Optimetrics 14-59
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
5. Add a cost function by selecting the Setup Calculations button to open the Add/Edit
Calculation dialog box.
When you have created the calculation, click Add Calculation to add it to the
Optimization setup, and Done to close the Add/EditCalculation dialog box.
6. In the Optimization setup, in the dropdown for the Goal column, select either Edit as
Expression or Edit as Numeric Value...
7. If you are satisfied with the expression or value displayed, click Done to close the dialog
box. This enters the expression/value to the Goal column.
8. In the Optimization setup, if you want to select a Cost Function Norm Type:
l Check the Show Advanced Option check box.
Optimetrics 14-60
Ansys Electromagnetics Suite 2024 R1 - © 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, which means 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.
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.
Optimetrics 14-61
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The first Pareto front solutions are archived in a separate sample set internally and are distinct
from the evolving sample set. This ensures minimal disruption of Pareto front patterns already
available from earlier iterations. You can control the selection pressure (and, consequently, the
elitism of the process) to avoid premature convergence by altering the Maximum Allowable
Pareto Percentage property. For more information about this and other MOGA properties, see
Setup Multi-Objective Genetic Algorithm.
MOGA Workflow
Optimetrics 14-62
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
MOGA Steps
MOGA is run and generates a new population via cross-over and mutation. After the first
iteration, each population is run when it reaches the number of samples defined by the
Number of Samples Per Iteration property. For details, see MOGA Steps to Generate
New Population below.
4. Convergence Validation
Optimetrics 14-63
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
If the optimization is not converged, the process continues to the next step.
If the optimization has not converged, it is validated for fulfillment of stopping criteria.
l Yes: Stopping Criteria Met
When the Maximum Number of Iterations criterion is met, the process is stopped
without having reached convergence.
l No: Stopping Criteria Not Met
If the stopping criteria have not been met, MOGA is run again to generate a new
population (return to Step 2).
6. Conclusion
Steps 2 through 5 are repeated in sequence until the optimization has converged or the
stopping criteria have been met. When either of these things occurs, the optimization
concludes.
The process MOGA uses to generate a new population has two main steps: Cross-over and
Mutation.
1. Cross-over
Optimetrics 14-64
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Consider the following two parents (each consisting of four floating genes), which have
been selected for cross-over:
The concatenation of these chains forms the chromosome, which crosses over with
another chromosome.
Optimetrics 14-65
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Uniform
A uniform cross-over operator decides (with some probability, which is known as the
"mixing ratio") which parent contributes each of the gene values in the offspring
chromosomes. This allows the parent chromosomes to be mixed at the gene level
rather than the segment level (as with one and two-point cross-over). For some
problems, this additional flexibility outweighs the disadvantage of destroying building
blocks.
2. Mutation
Mutation alters one or more gene values in a chromosome from its initial state. This can
result in entirely new gene values being added to the gene pool. With these new gene
values, the genetic algorithm might be able to arrive at a better solution than was
previously possible. Mutation is an important part of the genetic search, as it helps to
prevent the population from stagnating at any local optima. Mutation occurs during
evolution according to a user-defined mutation probability.
Optimetrics 14-66
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
where C is the child, P is the parent, and δ is a small variation calculated from a
polynomial distribution.
l Mutation for Discrete Parameters and Continuous Parameters with
Manufacturable Values
Convergence criteria are the conditions that indicate when the optimization has converged. In
the Multi-Objective Genetic Algorithm (MOGA)-based multi-objective optimization methods, the
following convergence criteria are available:
The Maximum Allowable Pareto Percentage criterion looks for a percentage that represents a
specified ratio of Pareto points per Number of Samples Per Iteration. When this percentage is
reached, the optimization is converged.
The Convergence Stability Percentage criterion looks for population stability, based on mean
and standard deviation of the output parameters. When a population is stable with regards to the
previous one, the optimization is converged. The criterion functions in the following sequence:
l Population 1: When the optimization is run, the first population is not taken into account.
Because this population was not generated by the MOGA algorithm, it is not used as a
range reference for the output range (for scaling values).
l Population 2: The second population is used to set the range reference. The minimum,
maximum, range, mean, and standard deviation are calculated for this population.
Optimetrics 14-67
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Populations 3 – 11: Starting from the third population, the minimum and maximum
output values are used in the next steps to scale the values (on a scale of 0 to 100). The
mean variations and standard deviation variations are checked. If both of these are
smaller than the value for the Convergence Stability Percentage property, the algorithm is
converged.
At each iteration and for each active output, convergence occurs if:
Where:
S=Stability Percentage
Max = Maximum Output Value calculated on the first generated population of MOGA
Min = Minimum Output Value calculated on the first generated population of MOGA
Following is the procedure for setting up an optimization analysis using the Multi-Objective
Genetic Algorithm (Random Search) Optimizer. Once you have created a setup, you can Copy
and Paste it, and then make changes to the copy, rather than redoing the whole process for
minor changes.
Optimetrics 14-68
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The Multi-Objective Genetic Algorithm (MOGA) is a hybrid variant of the popular NSGA-II (Non-
dominated Sorted Genetic Algorithm-II) based on controlled elitism concepts. It supports all
types of input parameters. The Pareto ranking scheme is done by a fast, non-dominated sorting
method that is an order of magnitude faster than traditional Pareto ranking methods. The
constraint handling uses the same non-dominance principle as the objectives. Therefore,
penalty functions and Lagrange multipliers are not needed. This also ensures that the feasible
solutions are always ranked higher than the infeasible solutions.
The first Pareto front solutions are archived in a separate sample set internally and are distinct
from the evolving sample set. This ensures minimal disruption of Pareto front patterns already
available from earlier iterations. You can control the selection pressure (and, consequently, the
elitism of the process) to avoid premature convergence by altering the Maximum Allowable
Pareto Percentage property.
1. Set up the variables you want to optimize in the Design Properties dialog box. The
variables must be swept in a Parametric setup.
2. Click Q3D Extractor > Optimetrics Analysis > Add Screening & Optimization. The
Setup Optimization dialog box appears.
3. Under the Goals tab, select the optimizer by selecting Multi-Objective Genetic
Algorithm (Random Search) from the Optimizer drop-down menu.
Optimetrics 14-69
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
4. Optionally press the Setup button to open the Optimizer Options window.
l Number of Initial Samples: Initial number of samples to use. This number must be
greater than the number of enabled input parameters. The minimum recommended
number of initial samples is 10 times the number of enabled input parameters. The
larger the initial sample set, the better your chances of finding the input parameter
space that contains the best solutions.
The number of enabled input parameters is also the minimum number of samples
required to generate the Sensitivities chart. You can enter a minimum of 2 and a
maximum of 10000. The default is 100.
If you switch from the Screening method to the MOGA method, MOGA generates a new
sample set. For the sake of consistency, enter the same number of initial samples as
you used for the Screening method.
l Number of Samples Per Iteration: Number of samples to iterate and update with
each iteration. This number must be greater than the number of enabled input
parameters but less than or equal to the number of initial samples. The default is for a
Direct Optimization system.
Optimetrics 14-70
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Optimetrics 14-71
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Crossover Probability: Advanced option for specifying the probability with which
parent solutions are recombined to generate offspring solutions. The value must be
between 0 and 1. A smaller value indicates a more stable population and a faster (but
less accurate) solution. If the value is 0, the parents are copied directly to the new
population. A high probability of crossover (>0.9) is recommended. The default is 0.98.
5. Add a cost function by selecting the Setup Calculations button to open the Add/Edit
Calculation dialog box.
When you have created the calculation, click Add Calculation to add it to the
Optimization setup, and Done to close the Add/EditCalculation dialog.
6. In the Optimization setup, in the dropdown for the Goal column, select either Edit as
Expression... or Edit as Numeric Value....
7. If you are satisfied with the expression or value displayed, click Done to close the dialog
box.
Optimetrics 14-72
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
8. In the Optimization setup, 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 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.
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.
Optimetrics 14-73
Ansys Electromagnetics Suite 2024 R1 - © 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.
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.
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.
Optimetrics 14-74
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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 14-75
Ansys Electromagnetics Suite 2024 R1 - © 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.
Following is the procedure for setting up an optimization analysis using the Pattern Search
(Search-based) Optimizer. Once you have created a setup, you can Copy and Paste it, and
then make changes to the copy, rather than redoing the whole process for minor changes.
1. Set up the variables you want to optimize in the Design Properties dialog box.
2. Click Q3D Extractor> Optimetrics Analysis > Add Screening & Optimization.
Optimetrics 14-76
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
3. Under the Goals tab, select the optimizer by selecting Pattern Search (Search-based)
from the Optimizer drop-down menu.
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 box.
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 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.
Optimetrics 14-77
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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.
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
Optimetrics 14-78
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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 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
following figure illustrates the problem of local minima.
Optimetrics 14-79
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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.
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
Optimetrics 14-80
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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,
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.
Following is the procedure for setting up an optimization analysis using the Quasi Newton
(Gradient) Optimizer. Once you have created a setup, you can Copy and Paste it, and then
make changes to the copy, rather than redoing the whole process for minor changes.
1. Set up the variables you want to optimize in the Design Properties dialog box.
2. Click Q3D Extractor> Optimetrics Analysis > Add Screening & Optimization.
3. Under the Goals tab, select the optimizer by selecting Quasi Newton (Gradient) from the
Optimizer drop-down menu. Selecting Quasi Newton (Gradient) enables the Acceptable
Cost and Noise fields.
Optimetrics 14-81
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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 box.
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.
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.
Optimetrics 14-82
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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.
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.
Following is the procedure for setting up an optimization analysis using the Sequential Mixed
Integer Nonlinear Programming (Gradient and Discrete) Optimizer. Once you have created a
setup, you can Copy and Paste it, and then make changes to the copy, rather than redoing the
whole process for minor changes.
1. Set up the variables you want to optimize in the Design Properties dialog box.
2. Click Q3D Extractor > Optimetrics Analysis > Add Screening & Optimization.
3. Under the Goals tab, select the optimizer by selecting Sequential Mixed Integer
Nonlinear Programming (Gradient and Discrete) from the Optimizer drop-down
menu.
Optimetrics 14-83
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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 box.
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.
l Optionally, set Linear constraints.
l Select the View all columns check box to see all columns, including hidden columns.
Optimetrics 14-84
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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.
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.
Optimetrics 14-85
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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.
Following is the procedure for setting up an optimization analysis using the Sequential Nonlinear
Programming (Gradient) Optimizer. Once you have created a setup, you can Copy and Paste it,
and then make changes to the copy, rather than redoing the whole process for minor changes.
1. Set up the variables you want to optimize in the Design Properties dialog box.
2. Click Q3D Extractor > Optimetrics Analysis > Add Screening & Optimization.
3. Under the Goals tab, select the optimizer by selecting Sequential Nonlinear
Programming (Gradient) from the Optimizer drop-down menu.
Optimetrics 14-86
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
>
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 box.
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 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.
Optimetrics 14-87
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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.
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.
Optimetrics 14-88
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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:
l Screening (Search based)
l Multi-Objective Genetic Algorithm
l Non-linear Programming by Quadratic Lagrangian (Gradient)
l Mixed-Integer Sequential Quadratic Programming (Gradient and Discrete)
l Adaptive Multiple Objective (Gradient)
l Adaptive Single Objective
l MATLAB
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:
Optimetrics 14-89
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The following optional optimization solution setup options can also be used:
l Modify the starting variable value.
l Edit the Calc. Range text field or use the Edit Calculation Range dialog box.
l Modify the minimum and maximum values of variables that will be optimized.
l Exclude variables from optimization.
l Modify the values of fixed variables that are not being optimized.
l Set the minimum and maximum step size between solved design variations (for the Quasi
Newton (Gradient) and Pattern Search (Search based optimizers), Variables tab).
l Set the minimum and maximum focus size (for the SNLP Gradient and SMINLP Gradient
and Discrete optimizers, Variables tab).
l Set Linear constraints.
l Request that Optimetrics solve a parametric sweep before an optimization analysis.
l Request that Optimetrics solve a parametric sweep during an optimization analysis.
l Automatically update optimized variables to the optimal values during an optimization or
after an optimization analysis is completed.
l Change the norm used for the cost function calculation (Advanced Option)
l Open the HPC and Analysis Options window.
Note:
Sweeping or using a complex variable is not allowed in any optimetrics setup, including
optimization, statistical, sensitivity, and tuning setups.
Optimetrics 14-90
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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.
Note:
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.
Optimetrics 14-91
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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.
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.
Optimetrics 14-92
Ansys Electromagnetics Suite 2024 R1 - © 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.
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 14-93
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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 or Design of Experiments dialog box, click
Setup Calculations...
2. In the Add/Edit Calculation dialog box, follow these general steps to set up a cost function.
Optimetrics 14-94
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note:
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 drop-down
menu.
4. To edit the calculation on which to base the cost function goal, select Edit from the drop-
down menu.
5. In the Condition text box, click one of the following conditions from the drop-down menu:
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
value must be complex; two goal values must be specified. The Minimize and Maximize
options do not require you to specify a Goal value.
Optimetrics 14-95
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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 and 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.
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:
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.
Optimetrics 14-96
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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 drop-down menu that displays all of the defined output variables. Click
an output variable from the drop-down menu.
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 drop-down menu, 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 drop-down menu. 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 drop-down menu, 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.
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 be complex. You can type the goal value in the Goal text box. Alternatively, you can
Optimetrics 14-97
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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.
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 drop-down menu 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 14-98
Ansys Electromagnetics Suite 2024 R1 - © 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:
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 14-99
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
where
l G is the number of sub-goals.
l Wj is the weight factor associated with the jth sub-goal.
l Nj is the number of frequencies for the jth sub-goal.
l ei is the error contribution from the jth sub-goal at the ith frequency.
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.
You can select the norm to be used in the calculation of the cost goal.
Optimetrics 14-100
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
3. Select a norm from the drop-down menu in the Cost Function Norm Type field. The
options are L1, L2, and Maximum. L2 is the default.
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:
Optimetrics 14-101
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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.
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:
Optimetrics 14-102
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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.
Note:
Functionality featured in the example(s) in this section applies to multiple design types.
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.
Optimetrics 14-103
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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.
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.
Note:
Functionality featured in the example(s) in this section applies to multiple design types.
In the Setup Optimization dialog box, you can enter the Calc. Range Sweep Min/Max by directly
editing the Calc. Range field or by accessing an Edit Calculation Range dialog box.
Optimetrics 14-104
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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".
l sweep that uses a full range:
If you click Edit.. on the menu, you see the Edit Calculation Range dialog box. 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 14-105
Ansys Electromagnetics Suite 2024 R1 - © 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, indicating 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.
Optimetrics 14-106
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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 Q3D Extractor> Design
Properties.
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:
Optimetrics 14-107
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
A more general distance measure incorporates some "stretching" of the design space:,
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.
where Dmin consists of diagonal elements 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.
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 14-108
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
5. Click OK.
Tip:
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 14-109
Ansys Electromagnetics Suite 2024 R1 - © 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.
Optimetrics 14-110
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
When optimization is complete, the current variable value for each optimized variable is
changed to the optimal value.
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 primary output is not used, the specified initial
displacement values define those intervals.
Optimetrics 14-111
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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:
l Regression value at the current variable value.
l First derivative of the regression.
l Second derivative of the regression.
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 Design Properties dialog box.
2. Click Q3D 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:
Optimetrics 14-112
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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 Primary Output.
5. Specify the value of the design point at which the sensitivity analysis should stop in the
Approximate Error in Primary 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.
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:
l Modify the starting variable value.
l Modify the minimum and maximum values of variables that will be solved.
l Exclude variables from the sensitivity analysis.
l Set the initial displacement.
l Modify the values of fixed variables that are not being modified during the sensitivity
analysis.
l Set linear constraints.
l Request that Optimetrics solve a parametric sweep before a sensitivity analysis.
Optimetrics 14-113
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l You can also request that Optimetrics solve a parametric sweep during a sensitivity
analysis.
Note:
Sweeping or using a complex variable is not allowed in any optimetrics setup, including
optimization, statistical, sensitivity, and tuning setups.
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 Primary Output if you want
Optimetrics to use the output parameter to base its selection of solved design variations.
Optimetrics 14-114
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note:
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:
Optimetrics 14-115
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
4. The Calculation Range tab applies to swept variables and allows you to specify the
range of the sweep over which to apply the calculation.
5. When the desired Calculation Expression has been obtained, click Add Calculation to
add the entry to the calculation table in the Setup Sensitivity Analysis dialog box. You may
add multiple entries to the table simply by changing the Calculation Expression and
using the Add Calculation button.
6. To update or edit a selected cost function, enter the desired Calculation Expression and
click the Update Calculation button.
7. Click Done to return to the Setup Sensitivity Analysis dialog box.
Note:
The solution quantity you specify must be able to be evaluated to a single, real
number.
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.
Optimetrics 14-116
Ansys Electromagnetics Suite 2024 R1 - © 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
optimetric analysis.
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.
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 14-117
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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.
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.
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 Q3D Extractor> 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.
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.
Optimetrics 14-118
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
3. In the Initial Disp. text box, type the initial displacement value. Optionally, modify the unit
system in the Units text box.
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 drop-down menu.
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.
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 drop-down menu.
3. Select Solve the parametric sweep during analysis.
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
Optimetrics 14-119
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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).
Second, follow Setting Up a Sensitivity Analysis in the 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 14-120
Ansys Electromagnetics Suite 2024 R1 - © 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:
Note:
Under the Context pane in the Report dialog box, 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 14-121
Ansys Electromagnetics Suite 2024 R1 - © 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.
Optimetrics 14-122
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Tip:
Transpose the table for an alternate view (double-click 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.
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
Optimetrics 14-123
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
this up. The upper and lower bound of performance can be found on the edge of
performance distribution.
Tip:
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.
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.
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 Q3D Extractor> Optimetrics Analysis > Add Statistical , or select the
Simulation tab of the ribbon and, under the Optimetrics icon, select Statistical from the
drop-down menu:
Optimetrics 14-124
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
3. Under the Calculations tab, type the maximum number of iterations you want Q3D
Extractor to perform in the Maximum Iterations text box.
4. Specify a solution quantity to evaluate.
5. In the Calculation text box, set the value at which the solution quantity is to be computed.
6. Optionally, modify the distribution criteria to be used.
7. The following optional statistical analysis setup options can also be used:
l Modify the starting variable value.
l Exclude variables from the statistical analysis.
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:
8. If you want to save the field solution data for the design variations solved during analysis,
select Save Fields.
Optimetrics 14-125
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
1. In the Calculations tab of the Setup Statistical Analysis dialog box, click Setup
Calculations.
The Add/Edit Calculations dialog box is displayed, allowing you to define one or more
mathematical expressions for statistical evaluation.
Optimetrics 14-126
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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.
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 Analysis dialog box.
Optimetrics 14-127
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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.
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 Distributiontext 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.
Optimetrics 14-128
Ansys Electromagnetics Suite 2024 R1 - © 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.
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 Q3D Extractor> Design
Properties, select Statistics.
If the variable is a project variable, do the following: Click Project> Project Variables.
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.
Optimetrics 14-129
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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.
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 14-130
Ansys Electromagnetics Suite 2024 R1 - © 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.
Optimetrics 14-131
Ansys Electromagnetics Suite 2024 R1 - © 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.
The design variations are solved with a logarithmic distribution using the shape, scale and
location parameters provided.
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 14-132
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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.
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 drop-down menu.
3. Select Solve the parametric sweep during analysis.
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.
Optimetrics 14-133
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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 variation table much faster.
Optimetrics 14-134
Ansys Electromagnetics Suite 2024 R1 - © 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
simultaneously if the analysis system is set up to do so; sequentially, if not. After the solution is
Optimetrics 14-135
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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:
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.
Optimetrics 14-136
Ansys Electromagnetics Suite 2024 R1 - © 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 14-137
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Once you have set parameters and click OK, the Design of Experiments setup appears under
the Optimetrics icon in the Project tree.
Optimetrics 14-138
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
From here you can right-click 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.
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
Optimetrics 14-139
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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.
Optimetrics 14-140
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Design of
Brief Description (see links for more details)
Experiments Types
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.
Statistical design where no two experiments share input parameters of
the same value.
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.
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:
Optimetrics 14-141
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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.
l Design Type: The following choices are available:
o Max-Min Distance (default): Maximizes the minimum distance between any two
points. This strategy ensures that no two points are too close to each other. For a small
size of sampling (N), the Max-Min Distance design generally lies on the exterior of the
design space and fill in the interior as N becomes larger. Generally, this is the faster
algorithm.
o Centered L2: Minimizes the centered L2-discrepancy measure. The discrepancy
measure corresponds to the difference between the empirical distribution of the
sampling points and the uniform distribution. This means that the centered L2 yields a
uniform sampling. This design type is computationally faster than the Maximum
Entropy type.
o Maximum Entropy: Maximizes the determinant of the covariance matrix of the
sampling points to minimize uncertainty in unobserved locations. This option often
provides better results for highly correlated design spaces. However, its cost increases
non-linearly with the number of input parameters and the number of samples to be
generated. Thus, it is recommended only for small parametric problems.
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.
o 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:
n 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.
n Linear Model Samples: Generates the number of samples as needed for a linear
metamodel.
n Pure Quadratic Model Samples: Generates the number of samples as needed for
a pure quadratic metamodel (no cross terms).
n Full Quadratic Samples: Generates the number of samples needed to generate a
Optimetrics 14-142
Ansys Electromagnetics Suite 2024 R1 - © 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.
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.
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:
o 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.
o 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.
o 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.
o 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.
o 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
Optimetrics 14-143
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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:
o Standard
o Enhanced: Choose this option for a possible better fit for the response surfaces
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).
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.
No additional properties are available for the Box-Behnken Design DOE type.
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 14-144
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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.
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.
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.
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:
o 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.
Optimetrics 14-145
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
o Linear Model Samples: Generates the number of samples as needed for a linear
metamodel.
o Pure Quadratic Model Samples: Generates the number of samples as needed for a
pure quadratic metamodel (no cross terms).
o Full Quadratic Samples: Generates the number of samples needed to generate a full
quadratic model.
o 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.
Optimetrics 14-146
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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.
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:
l A gray background indicates a read-only cell
l A white background indicates an editable cell
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:
l Comma delimited data files, (*.csv)
l Tab delimited data files, (*.tab)
l Ansoft Plot data files, (*.dat)
l Post Processor format data files, (*.txt)
The Table updates automatically when you change your selections on the Design of
Experiments tab.
Optimetrics 14-147
Ansys Electromagnetics Suite 2024 R1 - © 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.
l Number of Refinement Points: Read-only property indicating the number of existing
refinement points.
If you check Show Advanced Options at the bottom of the Setup dialog box, you can also
specify Crowding Distance Separation Percentage:
Optimetrics 14-148
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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.
Optimetrics 14-149
Ansys Electromagnetics Suite 2024 R1 - © 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 check box in the Discrete column is checked the button in the “Levels”
column will be enabled and Use Manufacturable Values is disabled.
The Levels show the variable values. For continuous variable, Levels is determined by the
min/max columns. 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 manufacturable values.
Optimetrics 14-150
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Click the enabled Levels button for the row to edit the Discrete values. An edit dialog for
the variable appears.
Optimetrics 14-151
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Optimetrics 14-152
Ansys Electromagnetics Suite 2024 R1 - © 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.
l Min Max Search
l Refinement points table
l Response points table
l Verification points table
l Goodness of Fit
l Response Curve
l Response Curve (2D Slices)
l Response Surface
l Local Sensitivity Charts
l Local Sensitivity Curves
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 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.
Optimetrics 14-153
Ansys Electromagnetics Suite 2024 R1 - © 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.
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:
l Comma delimited data files, (*.csv)
l Tab delimited data files, (*.tab)
l Ansys Plot data files, (*.dat)
Optimetrics 14-154
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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 Apply is enabled, and you can then apply the selected variation variable values to
the variables’ nominal values.
Optimetrics 14-155
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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.
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 you do not need to solve for an initial
response surface (without the refinement point) before updating it 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.
Manual Refinement Point can be inserted from the Response point table and Verification Points
Table.
Optimetrics 14-156
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Design of Experiments Post Analysis Display dialog box, 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.
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 14-157
Ansys Electromagnetics Suite 2024 R1 - © 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:
l Comma delimited data files, (*.csv)
l Tab delimited data files, (*.tab)
l Ansoft Plot data files, (*.dat)
l Post Processor format data files, (*.txt)
Optimetrics 14-158
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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.
Response Curve
When Continuous Variable is chosen as the X-axis, and Continuous XY plot will be shown.
Optimetrics 14-159
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Discrete Variable
If you choose Discrete Variable as the X-axis, a bar chart plot is shown:
Optimetrics 14-160
Ansys Electromagnetics Suite 2024 R1 - © 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.
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 check box 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 14-161
Ansys Electromagnetics Suite 2024 R1 - © 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 14-162
Ansys Electromagnetics Suite 2024 R1 - © 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:
l Comma delimited data files, (*.csv)
l Tab delimited data files, (*.tab)
l Ansys Plot data files, (*.dat)
l Post Processor format data files, (*.txt)
l Ansys Report Data *.rdat files
Optimetrics 14-163
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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.
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.
Optimetrics 14-164
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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 14-165
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Optimetrics 14-166
Ansys Electromagnetics Suite 2024 R1 - © 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 14-167
Ansys Electromagnetics Suite 2024 R1 - © 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 14-168
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Optimetrics 14-169
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Comprehensive online help for optiSLang is available from the optiSLang Help menu, or at:
https://ansyshelp.ansys.com/account/secured?returnurl=/Views/Secured/corp/v241/en/opti_
ug/opti_ug_intro.html
This section covers only its integration with Ansys Electronics Desktop.
Each optiSLang setup resides in one specific design of an AEDT project and is linked to one
specific analysis setup. When an optiSLang setup is executed within AEDT, optiSLang runs in
the background in batch mode and executes the algorithm that the optiSLang setup represents.
optiSLang administers an optiSLang project file (*.opf) and a normal optiSLang project directory
(*.opd), stored relative to the AEDT project.
The standalone optiSLang GUI allows for further editing of the optiSLang project structure,
with each analysis setup represented as a single Ansys EDT node:
Optimetrics 14-170
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
If the original Ansys EDT node and its copies are all kept in the optiSLang Setup run mode, they
will remain linked to the specific optiSLang setup existing in the referenced AEDT project. The
optiSLang project can contain and execute multiple algorithm systems, which means that the
linked optiSLang setup in the AEDT project represents a connector, not an algorithm, in that
case.
Prerequisites
Before working with optiSLang in AEDT, specify the path to the optiSLang installation using
Tools > General Options > General > Miscellaneous.
Optimetrics 14-171
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note:
optiSLang scans parameters at both the project and design level. Hidden
parameters are also scanned. See: Parametrization for optiSLang Integration.
l Project is solved.
l Results reports exist and are prepared for the specific use case
l For a standard use case, set all variables to nominal.
l For a use case with a user-defined sweep, display all variations.
2. Invoke the Solver Wizard in optiSLang or create an optiSLang project directly from AEDT.
Optimetrics 14-172
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
6. Reload the AEDT project in optiSLang to see the effects of changed settings.
Optimetrics 14-173
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Variables act as Inputs in optiSLang, while simulation results (reports) act as Outputs.
Inputs
When integrated with AEDT, optiSLang automatically detects project variables and design
variables for every design in the project. Note that:
l Dependent parameters are skipped.
l Any parameter marked as "hidden" is always included.
Users decide whether to treat parameters from different models in the project as independent or
communal (kept synchronized). In optiSLang, the AEDT integration has a Shared Parameters
View with an additional Include non-omnipresent parameters as shared option.
Optimetrics 14-174
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
It is best to leverage features on both sides of the optiSLang-AEDT integration for managing
overlapping (that is, partially synced) parameter sets. optiSLang's standard parametrization
management tools offer the parameter type Dependent for aligning or otherwise controlling
parameters.
A project walker mechanism inquires a given AEDT project and stores the generated project
structure info in a JSON file for optiSLang. If the same reference project is linked for use in a
different AEDT node even from a different optiSLang project, the stored project inquiry results
can be recalled and the parametrization can be instantly displayed. This mechanism spares
users wait time for the project inquiry call.
Outputs
The framework for result data transfer from AEDT to optiSLang is very simple: each report trace
shows up in optiSLang response listings as a signal object. You can register the signals directly
or apply math functions offered by optiSLang's calculator with each integration node. The
transfer vessels are CSV files.
Even such plots as Smith charts or 3D polar plots can be collected as groups of signal objects
using the uniform CSV file export function offered in AEDT.
The parametrization scheme should connect to the goals of the optiSLang analysis.
Bad parametrization might hide the design optimum from the best optimizer or destroy the
connection of a robustness sampling with reality. Thoughtfully improved parametrization can
achieve simulation goals with a fraction of the designs that would be needed for a task within the
most simple ad hoc parametrization scheme.
The algorithms being applied in a specific scenario should also guide your parametrization
scheme. For example, it makes sense to give a robustness sampling algorithm the chance to
examine a parameter space where the simulation can represent the relevant physical effects
happening in the real world. An optimizer algorithm, meanwhile, needs the chance to hit feasible
designs frequently.
Some tips:
l Think ahead to devise a stable and meaningful parametrization
l Be attentive to the kinds of errors encountered by failing designs
Optimetrics 14-175
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Be quick to eliminate the origins of errors that appear most frequently in error logs
l Learn to use optiSLang post-processing as a diagnostic toolbox
l Apply feedback and lessons learned to your parametrization schemes
Additionally, all Optimetrics setups in AEDT (incuding optiSLang setups) have a Calculations
tab, allowing for additional results. See: Setting up Calculations for Optimetrics.
When the scripted AEDT integration machinery within optiSLang exports reports, it is just as if a
user had exported a CSV file from within the AEDT UI. Any reports that can be exported as CSV
(rectangular plots, data tables, polar plots, etc.) are sent in CSV format, and the reports' traces
can be registered as responses in optiSLang. As a general rule, each data column of a CSV file
is exposed as a signal trace.
Note:
For 3D Polar Plots, this can cause a small disadvantage by yielding, for example, 180
signal objects instead of a matrix. However, the simplicity of the routine achieves good
performance and robustness, and allows the AEDT integration node in optiSLang to
cover a large array of use cases.
Below, find considerations for setting up reports for use in optiSLang's different run modes.
In optiSLang's Single Simulation run mode, optiSLang modifies the parameters of the nominal
design and triggers the solution process. Therefore, reports used in this way should be
configured to display the nominal design if they are to contain traces after modification and
solution update. To ensure all report parameters are set to nominal, open the report settings and
select the Families tab. From the Nominals field, select Set All Variables to Nominal.
Optimetrics 14-176
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
In optiSLang's Regular DSO mode, the result export script cycles over all design variations of
the Optimetrics setup created by previous script commands for holding the set of design
variations demanded by optiSLang. In the loop, it applies the next design to be displayed as the
nominal design, forces a refresh of all reports, and exports all reports. This loop is repeated for
all design variations and the CSV files are stored each time in the corresponding design folder.
Therefore, reports used in this mode should also be configured to display the nominal design. To
ensure all report parameters are set to nominal, open the report settings and select the Families
tab. From the Nominals field, select Set All Variables to Nominal.
In optiSLang's optiSLang Setup mode, the software solves a pre-existing Optimetrics setup
(either serially or as a DSO job). This is commonly used to represent a parametric sweep or a
prescribed set of operating points. In these use cases, reports should contain all data from all
design variations to support a single export report call. To ensure the reports are adequate, open
the report settings and enable all available variations:
Optimetrics 14-177
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l From the Project Manager, right-click Optimetrics and select Add > optiSLang Setup.
l Click Q3D Extractor > Optimetrics Analysis > Add optiSLang Setup.
The optiSLang Setup window appears, with content based on the current design.
Optimetrics 14-178
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Table – lists the values of the any variable(s) selected for inclusion.
l Calculations – allows for the setup of optiSLang calculations, similar to Optimetrics or
Parametric setup. See: Setting up Calculations below.
l Options – lists mesh options. See: Setting Options below.
Each tab of the window also provides access to Edit Variables and HPC and Analysis Options.
Setting up Calculations
Initially, the Calculations tab is empty.
This window contains Context, Category, Quantity, and Function fields that can be used to
build an optimization calculation expression, just as for other optimization or parametric
calculations.
Once you have created an expression, click Add Calculation to add it to the optiSLang setup.
Optimetrics 14-179
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Click Done to close the Add/Edit window and return to the Calculations tab.
Setting Options
The Options tab contains options determining whether to Save Fields and Mesh and whether
to Copy geometrically equivalent meshes.
In order to preserve disk space, by default AEDT does not save field solution data for every
solved design variation. Save Fields and Mesh overrides this behavior.
Copy geometrically equivalent meshes directs AEDT to copy a mesh that was calculated for
one sweep variation for reuse on a geometrically equivalent sweep variation. See: Copying
Meshes in Optimetrics Sweeps.
Optimetrics 14-180
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Finishing Setup
Click OK when you have completed the setup.
Optimetrics 14-181
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
By preparing an optiSLang setup in an AEDT project, you can create regular DSO jobs even
though the AEDT integration node is left in the single simulation run mode. In every design
folder, the clone of the reference project contains the optiSLang setup and its solution is
triggered under the Analyze All umbrella. Depending on the HPC settings active in AEDT for the
model type in question, this yields optiSLang DSO jobs.
A key setting is the check box for enabling Optimetrics Variations in the Job Distribution tab
of the Analysis Configuration window:
Optimetrics 14-182
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note:
The Use Automatic Settings check box must be disabled to view this tab.
The working points being solved completely independently (simultanization) enables nice
speed-up degrees for all designs within the optiSLang setup.
Optimetrics 14-183
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
In Example 1, performance drag can exist if the analysis setup of the nominal design is also
solved in every optiSLang design folder in series with a desired Optimetrics setup. Keeping the
optiSLang setting Copy Simulation Results on the value Always can avoid redundant solution
of the nominal design at the cost of the time for copying the *.aedtresults folder of the reference
design repeatedly into every design folder.
Optimetrics 14-184
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
In optiSLang, an AEDT node can be used to copy a reference project along with its associated
*.aedtresults directory of solution data. When this node is used for evaluating different
combinations of postprocessing variables, AEDT does not call any solver and that the evaluation
time per design is accordingly fast. The only drag consists in loading a fresh instance of the
AEDT program for every new design.
Optimetrics 14-185
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The Q3D Extractor > Analyze All command solves all projects in a design, including
Optimetrics setups. See: Running More Than One Simulation.
Before using the Analyze All command, remove any unnecessary analysis setups from the
project.
There are additional considerations for using Distributed Analysis and Large-Scale DSO to
analyze optiSLang setups.
l Using the AEDT node's run mode "regular DSO" is not the only way to create DSO jobs.
Also in run mode "single simulation" DSO jobs can be spawned. For example, due to the
Analyze All command, a user-created pre-existing Optimetrics setup could be solved for
every one of optiSLang's design evaluations.
l The integration node's Designs Per Execution setting can work with HPC and DSO
settings for AEDT solvers in many different ways. If set to 4, optiSLang can send 4
designs per AEDT call when AEDT is geared at solving 4 design variations
simultaneously. If Designs Per Execution is set to 9999, however, each optiSLang
algorithm will always send all designs waiting in the pipeline at once (a robustness
Optimetrics 14-186
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
sampling of 1000 designs can be cast into one single DSO job). Using HPC settings,
AEDT can still be made to break it down with ntasks=ncores=4. The drawback is that the
success/failure info becomes visible in optiSLang only at the very end of the job. A large
value for Designs Per Execution can make sense for optimization algorithms
demanding design sets of fluctuating size.
l With population-based optimizers, it can be useful to match the population size with
compute resources to avoid job load fluctuations.
l Several optiSLang nodes offer the feature to list files to be copied from the reference
location into each design folder. However, this may not work for directories. A simple
solution is to use a Python node and the shutil.copytree command.
l Avoid redundant solve actions. It may be helpful to copy not only the bare *.aedt file but
also the *.aedtresults directory into each design folder. When the AEDT node issues the
Analyze All command on the project level, pre-existing solution data can reduce the
scope of analysis setups that are triggered to be solved. Compare the time for copying the
data of solved projects against the time gain due to less computation. Avoid disc space
concerns by activating design directory purging rules to be applied to every design folder
after finished evaluation.
l AEDT offers a special type of postprocessing variables. When they are varied while other
parameters stay constant, a new design variation can be evaluated with very little
computational burden as compared to solving from scratch. The AEDT integration node
provides copy functionalities for *.aedtresults folders allowing to benefit from AEDT
features around postprocessing variables in certain use cases.
Optimetrics 14-187
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Optimetrics 14-188
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
For more information, use optiSLang's Help menu to access the optiSLang online help.
Optimetrics 14-189
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
When you view results in Table format, you can sort the results based on each column.
Click a column's header to sort. Click again to invert the current sort.
l Click Options... to open a dialog box that allows 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. Click a column heading to sort the table by variation
number, variable value, start, stop, elapsed time, or machine.
See the help topics in this section for more details about viewing Optimetrics analysis results.
1. Click the Q3D Extractor menu and then select Results > Solution Data.
2. Click the browsing dots beside the Design Variation box (...).
1. In the project tree, right-click the Optimetrics solution setup of interest, and select View
Analysis Result.
Optimetrics 14-190
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
4. Optionally, to examine more detailed profile data for a specific design variation, do the
following:
a. Click a design variation in the table.
b. Click Solver Profile.
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:
l 1 is the precision type: M (mixed) or D (double)
l 2 is the matrix data type: R (real) or C (complex)
l 3 is the symmetry type: S (symmetric), A (asymmetric), H (hermitian)
2. Select the parametric setup with the results you want to view from the drop-down menu 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 Modeler window is changed to represent the selected design
variation.
Optimetrics 14-191
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
1. In the project tree, right-click the parametric setup for which you want to view the results,
and select View Analysis Result.
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 drop-down
menu.
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 select View Analysis Result.
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.
Optimetrics 14-192
Ansys Electromagnetics Suite 2024 R1 - © 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 select View Analysis Result.
2. Under the Result tab, select Table as the view type, if it is not already selected.
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.
1. In the project tree, right-click the sensitivity setup for which you want to view the output
parameter results, and select View Analysis Result.
Optimetrics 14-193
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
3. Select the sensitivity variable with the sweep values you want to plot on the x-axis from the
X drop-down menu.
4. Select the output parameter results you want to plot on the y-axis from the Y drop-down
menu.
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 drop-down menu 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 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 drop-down menu.
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 changes to represent the selected
design variation.
Optimetrics 14-194
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Click Revert to return the design in the view window to the original value.
2. Select the statistical setup with the results you want to view from the drop-down menu 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 drop-down menu.
A histogram plot appears in the Post Analysis Display dialog box. It displays the
distribution of the selected solution quantity.
You can change the general options for a particular design type (HFSS, Q3D, and so on) so that
any new Optimetrics setup you define will default to saving the fields. The instructions to do so
are included on this page.
Alternatively, you can choose to save the fields on an individual setup basis, without enabling
the option to save fields by default. See the subtopics listed in the Related Topics section at the
bottom of this page for instructions to do so for each type of optimetrics setup.
To save the fields for all design variations, change the default setting for all projects:
1. Using the menu bar, select Tools> Options> General Options or, from the Desktop
ribbon tab, click General Options.
2. In the tree on the left side of the dialog box, expand the branch for the product/design type
of interest (HFSS, Q3D, Mechanical, and so on).
Optimetrics 14-195
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
3. Select General.
The appropriate group of options appears on the right side of the dialog box.
The Save Fields option will now be selected by default when you create a new
Optimetrics setup in each product for which you selected the Save Optimetrics field
solutions option.
To save the fields for all design variations solved during a Design of Experiments analysis:
1. Right-click Optimetrics in the Project Manager and choose Add > Design of
Experiments from the shortcut menu to create a new Design of Experiments setup.
Alternatively, to change the settings of an existing setup, right-click the desired Design of
Experiments setup under Optimetrics in the Project Manager and choose Properties.
Ansys Electronics Desktop will save the field solution data for every solved design
variation in the design of experiments setup.
Note:
Alternatively, you can modify the Ansys Electronics Desktop General Options to save
fields by default for any new Optimetrics setup. See: Saving Field Solutions for
Optimetrics Analyses for instructions.
Changing the default setting in the General Options has no effect on previously defined
Optimetrics setups.
Optimetrics 14-196
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
To save the fields for all design variations solved during a parametric analysis:
1. Right-click Optimetrics in the Project Manager and choose Add > Parametric from the
shortcut menu to create a new parametric setup.
Alternatively, to change the settings of an existing setup, right-click the desired Parametric
setup under Optimetrics in the Project Manager and choose Properties.
Ansys Electronics Desktop will save the field solution data for every solved design
variation in the parametric setup.
Note:
Alternatively, you can modify the Ansys Electronics Desktop General Options to save
fields by default for any new Optimetrics setup. See: Saving Field Solutions for
Optimetrics Analyses for instructions.
Changing the default setting in the General Options has no effect on previously defined
Optimetrics setups.
To save the fields for all design variations solved during an optimization analysis:
1. Right-click Optimetrics in the Project Manager and choose Add > Optimization from the
shortcut menu to create a new optimization setup.
Optimetrics 14-197
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ansys Electronics Desktop will save the field solution data for every solved design
variation in the optimization setup.
Note:
Alternatively, you can modify the Ansys Electronics Desktop General Options to save
fields by default for any new Optimetrics setup. See: Saving Field Solutions for
Optimetrics Analyses for instructions.
Changing the default setting in the General Options has no effect on previously defined
Optimetrics setups.
To save the fields for all design variations solved during a sensitivity analysis:
1. Right-click Optimetrics in the Project Manager and choose Add > Sensitivity from the
shortcut menu to create a new sensitivity analysis setup.
Alternatively, to change the settings of an existing setup, right-click the desired Sensitivity
analysis setup under Optimetrics in the Project Manager and choose Properties.
Ansys Electronics Desktop will save the field solution data for every solved design
variation in the sensitivity analysis.
Optimetrics 14-198
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note:
Alternatively, you can modify the Ansys Electronics Desktop General Options to save
fields by default for any new Optimetrics setup. See: Saving Field Solutions for
Optimetrics Analyses for instructions.
Changing the default setting in the General Options has no effect on previously defined
Optimetrics setups.
To save the fields for all design variations solved during a statistical analysis:
1. Right-click Optimetrics in the Project Manager and choose Add > Statistical from the
shortcut menu to create a new statistical analysis setup.
Alternatively, to change the settings of an existing setup, right-click the desired Statistical
analysis setup under Optimetrics in the Project Manager and choose Properties.
Ansys Electronics Desktop will save the field solution data for every solved design
variation in the statistical analysis.
Note:
Alternatively, you can modify the Ansys Electronics Desktop General Options to save
fields by default for any new Optimetrics setup. See: Saving Field Solutions for
Optimetrics Analyses for instructions.
Changing the default setting in the General Options has no effect on previously defined
Optimetrics setups.
Optimetrics 14-199
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
1. Define a variable for the kind of Optimetrics sweep you intend to set up.
2. Select Ansys Electronics Desktop and then select the appropriate Optimetrics > Add
command to display the associated Setup dialog box.
3. Click the Options tab in the setup dialog box.
4. Select Copy geometrically equivalent meshes.
l When this option is enabled, you can additionally 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 does not apply for a Transient
solve setup with a mesh link.
Ansys Electronics Desktop copies the mesh for a particular parametric sweep for reuse on
each geometrically equivalent sweep variation.
Optimetrics 14-200
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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.
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.
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:
Optimetrics 14-201
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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
l αij are coefficients.
l cj is a comparison value for the jth linear constraint.
l xi is the ith parameter.
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 drop-down menu.
6. Type the inequality value, which should be a constant value, in the text box to the right of
the condition.
Optimetrics 14-202
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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.
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.
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.
Optimetrics 14-203
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Link to DesignXplorer
You can export a .xml file containing information on a Q3D Extractor 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 Manager window, and select
Add Design Xplorer Setup from the short-cut menu.
This opens the Design Xplorer dialog box with the General tab selected. it lists the
setups available in the current project, and the input variables it contains.
This opens the Add/Edit Calculation dialog box. 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.
Optimetrics 14-204
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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.
6. To create a .xml file with the setup information for Design Xplorer, first Save your project.
7. Then right-click 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. This 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 box Miscellaneous tab, to provide a path.
Optimetrics 14-205
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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.
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.
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.
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.
Optimetrics 14-206
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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.
2. After running the simulation, click the product in the menu bar and then select Tune.
Alternatively, right-click Optimetrics in the Project Manager and choose Tuning from the
shortcut menu.
The Tune dialog box appears, listing the variables which have been included for tuning.
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.)
Optimetrics 14-207
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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.
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:
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. The 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:
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 box with a name field and an Apply tuned values
to design check box.
Optimetrics 14-208
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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
box opens the Apply Tuned Variation dialog box. 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 box and go back to the Tune dialog box.
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 associated setup dialog box.
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.
l When saving a tuned state.
l When reverting to a tuned state.
Optimetrics 14-209
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
2. Type the name of the tuned state you want to apply or click a name in the drop-down
menu.
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.
Optimetrics 14-210
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Solutions for the design variations solved during tuning analyses remain available for post
processing.
Optimetrics 14-211
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
15 - Running Simulations
After you specify how Ansys Electronics Desktop is to compute the solution, you need to begin
the solution process. You can access the Analyze commands for a specific setup by right-
clicking on a solution or sweep in the Project tree and selecting from the shortcut menu, you by
selecting the Analyze All from the solver menu, or the Analyze All icon on the Simulation tab
of the ribbon.
In general, the Analyze command on the shortcut menu applies to the selected setup and
associated sweeps, if any, or to a selected sweep. To use this command, right-click on a setup or
sweep in the Project Manager and click the command on the context menu.
The Analyze All command applies to all, and sweeps at or below the level invoked in the Project
Manager. To use this command, either click Q3D Extractor> Analyze All or right-click the
Analysis icon in the Project Manager and select Analyze All.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Important:
If the UI shows an error with a code, it means that solver exited unexpectedly.
Local Analysis
Ansoft RSM Service does not need to be installed or running for local analysis and should not be
running if the user only will be running local analysis. If running a distributed analysis, consult
Distributed Analysis.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note:
MPI distribution may be affected by starting or stopping a VPN, even if the MPI
distribution is limited to the local host.
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.
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.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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.
1. In the project tree, under the design you want to solve, select Analysis.
2. Click Q3D Extractor> Analyze All.
Each enabled solution setup is solved in the order it appears in the Project Manager.
The example here shows an analysis invoked from the Project Manager shortcut menu with
three setups: one disabled, two enabled. The first setup has one sweep enabled, and one
disabled (shaded 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. Clearing 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.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Each solution sweep under that setup is solved in the order it appears in the Project
Manager, using the available machines. The following example shows a setup with two
enabled sweeps.
This displays a dialog box showing all the simulations and their current status. You can
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.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
You can also view the following solution data at any time during or after the solution:
l The convergence data
l The matrices computed for the S-parameters, impedances, and propagation constants
l A profile showing the status of the analysis process, including the progress and number of
valid passes completed for adaptive solutions, elapsed time, memory usage, and more
l Mesh statistics (numbers of elements, lengths, volumes, and volume standard deviation;
all on a per-object basis).
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.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l The Statistics tab of the Solutions dialog box displays path information as well as format,
number of files, and size.
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 Tools> Options> HPC and Analysis
and click the Options tab of the resulting dialog box.
2. From the Change Priority menu (or the Default Process Priority drop-down menu),
select one of the following priorities:
Highest
Above
Normal
Normal The
default.
Below
Normal
Lowest Priority
3. Click OK.
Related Topics
Monitoring Queued Simulations
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Aborting an Analysis
To end the solution before the currently running process is complete:
l Right-click in the Progress window and click Abort.
The solver ends the analysis immediately. The data for the currently running adaptive
pass, frequency point, time step, or variation is lost. Previously completed solutions may
or may not be retained (depending on what process was interrupted by the Abort
command). If you want to ensure that the results of all completed solutions are saved, use
Clean Stop instead of Abort.
To abort the solution after the currently running process is complete:
l Right-click the Progress window and click Clean Stop on the shortcut menu.
The analysis ends after the currently running adaptive pass, frequency point, time step, or
variation has been solved. Solutions completed before the stop request are retained.
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.
Linux
For Linux, you can use TERM commands. Sigterm handling is done in Desktop library. You can
abort a running batchsolve by sending a TERM signal to hfss.exe.
To generate a new solution after modifying a design, follow the procedure for running a
simulation.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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.
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 Ansys Electronics Desktop to Ansys Workbench and back
can continue until you decide that Temperature delta reported in the Solution Report low and
stable for the designs.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
From the Project Manager, right-click the solution setup and select Profile from the shortcut
menu.
The Solutions dialog box appears, on the Profile tab. 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
box.
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).
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.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Task The matrix solver task reports the type of solution performed
by the solver, based on the physics of the problem.
It takes the format "Solver pdsn" where:
l Precision Type p = M (Mixed, for Direct Solver) or D
(Double, for Iterative Solver)
l Matrix Data Type d = R (Real) or C (Complex)
l Symmetry Type s = S (Symmetric), A (Asymmetric), or
H (Hermitian)
l n = Number of processors used. Specify the number
available on the local machine. If a solve does not
require all available processors, the number reported
may be less than the number available.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
1. Open the Solutions dialog box. The Profile tab should already be selected.
2. Click Export Profile.
This opens a file save dialog that lets you provide a file name and location.
3. Click Save.
The Solutions dialog box appears, with the Convergence tab selected.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note:
If the solution converged within the specified stopping criteria, fewer passes than
requested may have been performed.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Use the radio buttons to switch between Table view (shown above) and Plot view:
During adaptive refinement, the convergence of the solution is monitored by reviewing the
changes in the entries of the RLGC parameter matrices.
Where:
l
is the entry of matrix at row and column , at the adaptive pass.
The maximum is taken across all rows and columns. A small Delta_% is usually a good indicator
that the result is accurate.
By default, Q3D monitors only the convergence of the C and L parameter matrices. This
convergence criteria emphasizes matrix entries with larger relative values. Small off-diagonal
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
terms are not weighted as heavily. You can monitor the convergence of off-diagonal terms of the
R and G matrices using the expression cache.
Select Matrix...
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
2. In the Design Variation text box, set the design variation by clicking the ellipses (...) icon.
The Set Design Variation window appears, listing all solved variations in the design.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note:
You can also access this window from the project tree by right-clicking Results
and selecting Apply Solved Variation.
3. From the Simulation drop-down menus, you can select setups and either adaptive or
sweep solutions. Select the solution and type of matrix you want to view (CG, DC RL, or
AC RL). Available types differ based on the solution type.
4. The Matrix tab contains four sub-tabs: View, Format, Passivity, and Export. The View
tab displays by default.
From the View tab:
l Select the Units in which to display matrix information. Available units depend on the
matrix type.
The units are saved in the matrix panel. Units are stored only for the current session
and current project. Changing the units in a project does not affect the units in another
project open at the same time. Closing the project resets the units, and changes are
lost.
l Use the drop-down menus to select reduced matrices to display. Choices include
Coupling Coefficient, Maxwell Matrix, and Spice Matrix. Maxwell Matrix and Spice
Matrix are only available in the Capacitance matrix. By default, the Original solved
matrix displays.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l To show matrix entities for reduced operations, click the Original menu and select
Reduced matrices.
l Select the solved frequencies to display using the provided options:
o Frequency Drop-Down Menu – allows you to select the frequency for which you
want to view matrix entries.
o All Freqs – allows you to display matrix entries for all solved frequencies.
o Pass – for an Adaptive Pass, allows you to select the pass for which you want to
view matrix entries.
o Edit Freqs – for an Interpolating Sweep, opens the Edit Sweep window, allowing
you to insert or delete displayed frequencies.
l Use the Self Terms check box to display only the diagonal of the selected matrix.
5. Click the Format tab.
The Format tab displays, with additional options.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l To export matrix data, click Export and select either RLGC or S Parameters from the
drop-down menu that appears.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note:
You can only export the current problem type, and will receive an error
message if you try to export both CG and RL.
Note:
Selections in the Solutions window persist during execution, but are reset to their
defaults on exit.
Coupling Coefficient
For a matrix with entries Mij, i, j = 1, ..., N, the coupling coefficient for row i and column j is
given by the following equation:
Maxwell Matrix
The entries of the Maxwell capacitance matrix represent the total charge on a conductor due to
the voltages on the various conductors.
If Qi is the total charge on conductor i, and V1, V2, ..., VN are the conductor voltages, then:
Spice Matrix
The entries of the Spice capacitance matrix represent the values of a network of 2-terminal
capacitors. Imagine that between every pair of conductors (say, i and j, i different from j), you
have a capacitor of value CSi,j.
In addition, let every conductor (say the ith) have a capacitor CSi,0 connected to "ground" (the
values of these grounded capacitors are the entries on the main diagonal of the Spice
capacitance matrix).
The total charge on a given conductor will be found by summing up the charges on the individual
capacitor plates connected to it.
Qi = CSi,0 * Vi + CSi,1 * (Vi-V1) + CSi,2 * (Vi -V2) + ..... + CSi,N * (Vi -VN)
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Because there are two different expressions for the same thing, the entries of the Maxwell matrix
and Spice capacitance matrices can relate to each another.
So the off-diagonal entries of the Maxwell capacitance matrix (which are generally negative) are
the opposite of the off-diagonal entries of the Spice capacitance matrix (which are positive). The
main-diagonal entries of the Maxwell matrix are the sum across an entire row of the Spice
capacitance matrix.
Alternatively, you could express the grounded capacitor in the Spice matrix as the sum across a
whole row of the Maxwell capacitance matrix:
Note:
Since the off-diagonal entries of the Maxwell matrix are negative, the diagonal entry
of the Spice matrix is generally smaller than the diagonal entry of the Maxwell matrix.
It can even go to zero if the conductor is well shielded from the ground at infinity.
1. In the project tree, right-click the solution setup and select Matrix from the shortcut menu.
Alternatively, click Results > Solution Data and select the Matrix tab.
The Solutions window appears with the Matrix tab selected.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
4. Enter the name of the file you are exporting to in the File name field.
5. Select one the following file formats from the Save as type drop-down menu:
l Ansys EM Legacy Format Files (*.lvl)
l Data Table(spreadsheet) (*.txt)
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Matlab (*.m)
If you select the data table format, a text file will be created. The elements of the RLGC-
matrix are arranged in a series of columns that are tab-separated and include a first row of
headings.
If you select the Matlab format, the elements of the R-,L-, G-, or C- matrix will be arranged
in a series of rows.
6. Select the RLGC data to be exported. You can select Capacitance/Conductance, DC
Resistance/Inductance, AC Resistance/Inductance or Add DC and AC Resistance.
7. Select the Matrix Type.
8. Select the Frequency.
9. Click Save.
1. In the project tree, right-click the solution setup and select Matrix from the shortcut menu.
Alternatively, click Results > Solution Data and select the Matrix tab.
The Solutions window appears with the Matrix tab selected.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
4. Enter the name of the file you are exporting to in the File name field.
5. Select one the following file formats from the Save as type drop-down menu:
l Ansys EM Legacy Format Files (*.szg)
l Citi Files (*.cit)
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
7. Select the format in which the data is to be exported. Available formats depend on the
matrix type being displayed.
8. Enter a value for the Reference Impedance.
9. Click Save.
The Solutions dialog box appears, with the Mesh Statistics tab selected.
The table lists the design elements and depending on the solution type may include: Num
Elements, Min edge length, Max edge length, RMS edge length, min elem area, max elem area,
mean elem area, and standard deviation.
If mesh repairs have been performed, two additional columns appear in the table: Recovered
%, and Repaired %. These columns indicate the fraction of an object that was successfully
recovered and the fraction that needed some repair.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l View solution data including the following: convergence information, computing resources
used during the solution process, and matrices during each adaptive, non-adaptive, or
sweep solution.
l View analysis results for Optimetrics solutions.
l Plot field overlays - representations of basic or derived field quantities on surfaces or
objects.
l Create 2D or 3D reports of RLGC matrices and basic and derived field quantities.
l Plot the finite element mesh on surfaces or within 3D objects.
l Change an excitation's magnitude.
Note:
If a particular pass is not solved for CG or RL, last adaptive solution is used.
However if last adaptive solution is not valid, then you can see the data for only
those passes for which both CG and RL are available.
From the Project Manager, right-click the solution setup and select Profile from the shortcut
menu.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The Solutions dialog box appears, on the Profile tab. 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
box.
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).
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.
1. Open the Solutions dialog box. The Profile tab should already be selected.
2. Click Export Profile.
This opens a file save dialog that lets you provide a file name and location.
3. Click Save.
The Solutions dialog box appears, with the Convergence tab selected.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Total Loss – power loss measured over the entire computational domain.
l Delta Loss – the percentage change in the total loss from one pass to the next.
l Loss Error – the error in the losses computed by the finite element solution.
l See Convergence Criteria below for additional details.
Use the radio buttons to switch between Table view (shown above) and Plot view:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Where:
l is the effective complex permittivity
l
is the electric field vector
l denotes the problem domain
Total Energy
Where:
l is the effective complex permeability
l
is the magnetic field vector
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Delta Loss
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Loss Error Loss Error is displayed as a percentage of the total loss. In a well
converged solution, the Loss Error should be much less than the
Total Loss. Delta Loss and Loss Error criteria are used during the
adaptive process only if the CG/RL Advanced option Use Loss
Convergence is selected.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Select Matrix...
l Or, from the ribbon, click Results > Solution Data.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
2. In the Design Variation text box, set the design variation by clicking the ellipses (...) icon.
The Set Design Variation window appears, listing all solved variations in the design.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note:
You can also access this window from the project tree by right-clicking Results
and selecting Apply Solved Variation.
3. From the Simulation drop-down menus, you can select setups and either adaptive or
sweep solutions. Select the solution and type of matrix you want to view (CG, DC RL, or
AC RL). Available types differ based on the solution type.
4. The Matrix tab contains four sub-tabs: View, Format, Passivity, and Export. The View
tab displays by default.
From the View tab:
l Select the Units in which to display matrix information. Available units depend on the
matrix type.
The units are saved in the matrix panel. Units are stored only for the current session
and current project. Changing the units in a project does not affect the units in another
project open at the same time. Closing the project resets the units, and changes are
lost.
l Use the drop-down menus to select reduced matrices to display. Choices include
Coupling Coefficient, Maxwell Matrix, and Spice Matrix. Maxwell Matrix and Spice
Matrix are only available in the Capacitance matrix. By default, the Original solved
matrix displays.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l To show matrix entities for reduced operations, click the Original menu and select
Reduced matrices.
l Select the solved frequencies to display using the provided options:
o Frequency Drop-Down Menu – allows you to select the frequency for which you
want to view matrix entries.
o All Freqs – allows you to display matrix entries for all solved frequencies.
o Pass – for an Adaptive Pass, allows you to select the pass for which you want to
view matrix entries.
o Edit Freqs – for an Interpolating Sweep, opens the Edit Sweep window, allowing
you to insert or delete displayed frequencies.
l Use the Self Terms check box to display only the diagonal of the selected matrix.
5. Click the Format tab.
The Format tab displays, with additional options.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l To export matrix data, click Export and select either RLGC or S Parameters from the
drop-down menu that appears.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note:
You can only export the current problem type, and will receive an error
message if you try to export both CG and RL.
Note:
Selections in the Solutions window persist during execution, but are reset to
their defaults on exit.
For a matrix with entries Mij, i, j = 1, ..., N, the coupling coefficient for row i and column j is given
by the following equation:
The entries of the Maxwell capacitance matrix represent the total charge on a conductor due to
the voltages on the various conductors.
If Qi is the total charge on conductor i, and V1, V2, ..., VN are the conductor voltages, then:
The entries of the Spice capacitance matrix represent the values of a network of 2-terminal
capacitors. Imagine that between every pair of conductors (say, i and j, i different from j), you
have a capacitor of value CSi,j. In addition, let every conductor (say the ith) have a capacitor
CSi,0 connected to "ground" (the values of these grounded capacitors are the entries on the
main diagonal of the Spice capacitance matrix). The total charge on a given conductor will be
found by summing up the charges on the individual capacitor plates connected to it.
Qi = CSi,0 * Vi + CSi,1 * (Vi-V1) + CSi,2 * (Vi -V2) + ..... + CSi,N * (Vi -VN)
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Because there are two different expressions for the same thing, the entries of the Maxwell matrix
and Spice capacitance matrices can relate to each another.
So the off-diagonal entries of the Maxwell capacitance matrix (which are generally negative) are
the opposite of the off-diagonal entries of the Spice capacitance matrix (which are positive.) And
the main-diagonal entries of the Maxwell matrix are the sum across an entire row of the Spice
capacitance matrix.
Alternatively, you could express the grounded capacitor in the Spice matrix as the sum across a
whole row of the Maxwell capacitance matrix:
Note:
Since the off-diagonal entries of the Maxwell matrix are negative, the diagonal entry
of the Spice matrix is generally smaller than the diagonal entry of the Maxwell matrix.
It can even go to zero if the conductor is well shielded from the ground at infinity.
1. In the project tree, right-click the solution setup and select Matrix from the shortcut menu.
Alternatively, click Results > Solution Data and select the Matrix tab.
The Solutions window appears with the Matrix tab selected.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
4. Enter the name of the file you are exporting to in the File name field.
5. Select one the following file formats from the Save as type drop-down menu:
l Ansys EM Legacy Format Files (*.lvl)
l Data Table (spreadsheet) (*.txt)
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Matlab (*.m)
l Ansys EM Legacy Capacitance Matrix (*.cap)
l Ansys EM Legacy Inductance Matrix (*.ind)
l Ansys EM Legacy Admittance Matrix (*.adm)
l Ansys EM Legacy Impedance Matrix (*.imp)
The default file type is .txt.
If you select the data table format, a text file will be created. The elements of the RLGC-
matrix are arranged in a series of columns that are tab-separated and include a first row of
headings.
If you select the Matlab format, the elements of the R-,L-, G-, or C- matrix will be arranged
in a series of rows.
6. Select the Problem Type of the RLGC data to be exported. You can select
Capacitance/Conductance or AC Resistance/Inductance.
The convention of entry names remains the same as in the previous version:
l For RL problem types, the return path name is specified along with entry name. For
example: “Object1-Ground1”.
l If there is a default return path or surface ground is defined, then return path name is left
empty. For example “Object1-”.
l If any reduce matrix is specified, then no return path is specified. For example:
“Object1”.
Note:
RLGC matrix data is always exported in SI units just like in lvl format.
If you select Lumped, you can enter the value and units for the Length.
9. Click Save.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
1. In the project tree, right-click the solution setup and select Matrix from the shortcut menu.
Alternatively, click Results > Solution Data and select the Matrix tab.
The Solutions window appears with the Matrix tab selected.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
4. Enter the name of the file you are exporting to in the File name field.
5. Select one the following file formats from the Save as type drop-down menu:
l Ansys EM Legacy Format Files (*.szg)
l Citi Files (*.cit)
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
7. Select the format in which the data is to be exported. The available formats depend on the
matrix type being displayed.
8. Enter a value for the Reference Impedance.
9. Click Save.
The Solutions dialog box appears, with the Mesh Statistics tab selected.
The table lists the design elements and depending on the solution type may include: Num
Elements, Min edge length, Max edge length, RMS edge length, min elem area, max elem area,
mean elem area, and standard deviation.
If mesh repairs have been performed, two additional columns appear in the table: Recovered
%, and Repaired %. These columns indicate the fraction of an object that was successfully
recovered and the fraction that needed some repair.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
inductances and capacitances. To model the transmission line, the software uses modal
transformation matrices to transform an n-conductor coupled line into an n-mode decoupled line,
where each mode can be visualized as a specific pattern of voltages on the physical conductors.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
2. The Mode Data tab contains three sub-tabs: View, Format, and Export. The View tab
displays by default.
From the View tab:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Use the drop-down menu to select a frequency, or select the All Freqs check box.
l Click View Options to open the Set View Options window.
l From this window, you can set Matrix Visibility for Modal Characteristic Impedance
and Propagation Velocities, as well as preferred units of measurement.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note:
Selections persist during execution, but are reset to their defaults on exit.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
2D Extractor can display characteristic impedances resulting from a system transformed using
the modal transformation matrices.
From the Set View Options window, you can select Modal Characteristic Impedance.
Note:
You must solve for both admittance and impedance to activate this option.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The modal characteristic impedance is not the characteristic impedance matrix for the physical
transmission structure, and is generally only directly useful in simple differential problems. It is
used by the software to calculate the characteristic impedance matrix for the structure.
Propagation
2D Extractor can display signal propagation velocities associated with each mode.
From the Set View Options window, you can select Propagation.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
You can set the Option Preferences to view the Velocity and Attn. Const.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
2. The Tline Data tab contains three sub-tabs: View, Format, and Export. The View tab
displays by default.
From the View tab:
l Use the drop-down menu to choose from Original or Reduced matrices.
l Use the drop-down menu to select a frequency, or select the All Freqs check box.
l Click View Options to open the Set View Options window.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l From this window, you can set Matrix Visibility for characteristic impedance, crosstalk
coefficients, and mode voltages and currents, as well as preferred units of
measurement.
l Click OK to apply changes.
Note:
Selections persist during execution, but are reset to their defaults on exit.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Characteristic Impedance
2D Extractor can display a characteristic impedance (Z0) matrix for a transmission line. These
matrices specify the relationship between voltages and currents on a multiple conductor
transmission line.
From the Set View Options window, you can select Characteristic Impedance.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
For a decoupled line, the software defines characteristic impedance as the following:
with values given in ohms. Thus, you must solve for both admittance and impedance.
For a decoupled lossless line, the software assumes that R ≪ jωL and G ≪ jωC (that is, losses
are small), and defines characteristic impedance as with values given in ohms.
When you design a circuit using the model of a single transmission line, this is the appropriate
value to use as a resistance termination for that line.
The decoupled Zo values are used to compute the coupled characteristic impedance.
The matrix row and column headings are the conductor names.
For a set of coupled lines, the diagonal entries of the matrix (both approximately 91Ω here) are
the appropriate termination values for both lines. The off-diagonal entries (both approximately
1.9 Ω here) give information about the crosstalk at the near end. The near end voltage on line i
caused by a current in line j is represented by:
Thus, if line j carries 1 mA as it switches, there would be (1.9 Ω)(1 mA) = 1.9 mV of crosstalk on
line i.
This displays the characteristic impedance for a lossy line. Characteristic impedance values are
given as (R, X), where R and X are both in ohms. In this case, characteristic impedance is a
complex number in the form Z0 =R + jX, where X is the reactance j(wL-1/(wC)) with w being 2p
times the frequency (1kHz in the example) of the AC voltages during the solution.
Crosstalk Coefficients
2D Extractor can calculate crosstalk coefficients if you have solved for both the inductance and
capacitance matrices.
From the Set View Options window, you can select Crosstalk Coefficients Forward and
Crosstalk Coefficients Backward.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Background
Crosstalk coefficients were originally introduced in a classic paper by D. B. Jarvis [IEEE Trans.
on Electronic Computers, Oct 1963, p. 476]. Jarvis analyzed the case of two weakly coupled,
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
lossless, transmission lines having the same self-capacitance and inductance values. His paper
gave formulas to estimate the crosstalk that would result when one of the lines is driven by a
pulse with a finite rise time. Versions 16 and earlier of 2D Extractor implemented Jarvis' formulas
in essentially their original form. In version 17 and later, 2D Extractor implements a new set of
crosstalk formulas based on an extension of Jarvis' approach to the more general case of
transmission lines with different self-inductance and capacitance values. These formulas
provide higher accuracy when calculating crosstalk between lines with different LC parameters.
The new formulas reduce to Jarvis' original equations when the inductance and capacitance
values of the transmission lines are the same.
The formula for the backward crosstalk on line 2 due to a 1-Volt pulse on line 1:
The formula for the forward crosstalk on line 2 due to a 1-Volt pulse on line 1:
It is important to note that C21 is the off-diagonal term of the per-unit-length Maxwell capacitance
matrix. It is typically negative for transmission lines operated in single-ended mode (This might
not be true for differential mode). Here l is the length of the lines, T1 and T2 are the time of flight
delays, tr is the input signal rise time, and ζ1 and ζ2 are the characteristic impedances.
The derivation of these formulas assumes the driven line is excited by an ideal voltage source at
the near end and terminated at the far end in its characteristic impedance. The victim line is
assumed to be terminated at both ends in its characteristic impedance. If different terminations
or excitations are used, then the crosstalk coefficients may not correctly predict the actual
crosstalk. Also note that the formulas assume weak coupling. If coupling is very strong then
accuracy may start to degrade. The crosstalk coefficients should only be used as an estimate of
the actual crosstalk; they are not a replacement for detailed transient simulation.
If the you set the environment variable ANSYS_R16_CROSSTALK to a non-zero value before
invoking the software, then 2D Extractor will revert to using the older version of the crosstalk
formulas. These are essentially the original formulas derived by Jarvis.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The value of Kf has units of seconds per meter, and is displayed in this form when the
Distributed option is selected in the Set View Options dialog box.
The actual forward crosstalk is strongly dependent on the length of the transmission line and the
rise time.
To obtain the actual crosstalk the "distributed" Kf value must be multiplied by the line length and
divided by the signal rise time. If Lumped crosstalk is selected, then the software performs this
multiplication for you and displays a dimensionless number representing the total far end
crosstalk.
From the Set View Options window, you can select Modes Voltage and Modes Current.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Modes Voltage converts voltage signals to voltage modes. Select this option to display the
transformation matrix for converting a system of n individual voltage signals to a system of n
voltage modes.
Modes Current converts current signals to current modes. Select this option to display the
transformation matrix for converting a system of n individual currents to a system of n current
modes.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The Post Analysis Display dialog box appears, on the Result tab.
Plot View:
Table View:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Use the drop-down menu at the top of the window to select the Optimetrics setup for
which you want to view results.
l Under View, select either Table or Plot to change how the results are displayed.
l In Table view, select a design variation from the table and click Apply to apply that
variation.
l In Table view, select Show Complete Output Name to view full solution names.
l In Plot view, use the X and Y drop-down menus to select which data is plotted.
l Click Options to select the number of significant digits to display.
l Use the Profile tab to view the Optimetrics solution profile.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
By default, the Use Nominal Design check box is selected. Select any variation from the list,
and the check box clears.
1. From the Project Manager, right-click an Optimetrics solution setup and select
View Analysis Result.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
3. Use the drop-down menu at the top of the window to select the Optimetrics setup of
interest.
4. In the table, select a design variation.
5. Click Solver Profile.
2. Specify the Units. All solutions in 2D Extractor are per unit length. For example,
capacitance extracted by the solver is actually in "<SI units of C>/<SI units of Length>".
You can choose the distributed units and view the solutions in the selected length unit.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
2. Select the tab whose magnitude you want to edit - CG or RL. AC RL voltage and current
sources are assumed to be peak quantities.
3. Click OK.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
To clean up solutions:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Any post-processing reports or field overlays that included data you deleted will be invalidated
until new solution data is generated.
Deleting Reports
You can delete one or all reports.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Warning:
In the Project Manager, all items under the Results folder are removed.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Function – allows you to insert completed expressions into the Expression area of the
Output Variables section.
Note:
When using non-SI units in expressions, surprising outcomes might result. For
example, the expression 1+ang_deg(S11) represents an angle and the number 1 is
treated as 1 rad. 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. For example, if the complex S11 lies on the positive Y axis,
ang_deg_val(S11) would be 90 and 1 + ang_deg_val(S11) would be 91.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Some of these functions can operate along an entire curve. These are: min, max, integ, avg,
rms, pk2pk, cang_deg and cang_rad.
You can select from the functions in the Output Variables dialog box's Function list or type
them directly into the Expression field, if necessary.
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> , 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.
The Results tab for the Ribbon will show icons and drop-down menus for available report types
for the active project.
Ansys Electromagnetics Suite 2024 R1 - © 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 Q3D
ExtractorResults > 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, select the Ansoft
ReportData Files (.rdat) format, and Save the file, which you can later select to Create Report
from File.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note:
The Report2D> Import Data command lets you import plot data from comma delimited files
(*.csv), tab delimited files (*.tab), Ansoft PlotData files (*.dat), post-processor files (*.txt), or
Ansoft ReportData files (*.rdat).
The imported traces appear in the Project tree under the current report.
Note:
For a report trace where the primary sweep is NOT the same as the x-
component, an export report then import report may not produce the same curve.
In this circumstance, only *.rdat import the same curve/trace. For other formats,
the import produces two separated traces.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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.
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 box.
1. On the Q3D Extractor menu or the Project Manager, point to Results, select Create
<type> Report, and select the Display Type template. There are more Report Type
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
templates available for terminal solutions (terminal, modal, fields, near fields, and far
fields) and for modal solutions (modal and fields). For Eigenmode solutions, the Report
Type <templates> 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.
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
Q3D Extractor> Results> 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 report 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 box, 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
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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.
Note:
e. Range Function button -- opens the Set Range Function dialog box. This applies to
the currently specified Quantity and Function.
f. To use a dataset in this report, set the Y component to a Piecewise Linear Function
pwl(dataset_expression, primary_sweep) where is the primary_sweep is
what you set in the next step.
4. 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 from the Primary Sweep, uncheck the
Default field to enable the X field and Browse [...] button. Click Browse [...] to display
the Select X Component dialog.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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 box to assign the X component.
b. If sweeps are available, you can select Browse [...] to display a panel that lets you
select Use all values, or selected sweep or sweeps, or access an Edit Sweep dialog
box with further editing options. Post-Processing variables are Post-Processing
sweeps/editable sweeps, so you can use the Edit Sweep dialog box 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 box. This can be useful if you expect a trace to take
time to display. You can then add additional traces without having to wait.
6. The Report dialog command buttons permit you create a new report with the settings you
provide, or to modify an existing report.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note:
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". 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.
1. Solution field with a drop down selection list. This lists the available solutions, whether
sweeps or adaptive passes.
2. Domain field with a drop down selection list. Whether this field appears, and domains are
listed, depends on the Solution type and the report <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.
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. If you manually enter Phi or Theta component of a far field
quantity when you using Az/El or El/Az far field infinite sphere definition, then the Report
uses the Z axis of the Az/El or El/Az coordinate system definition as pole to calculate
theta/phi component for rE.
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
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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. 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.
5. A Sources combo box appears in the Reporter when you have specified at least one
source in the Edit Sources dialog box. See Specifying Source Contexts for Creating
Radiated Field Reports. For a usage example, see: User Defined Solution for MIMO
Calculations.
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.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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.
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.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Select the Available variations radio button to list the choices that derive from variable
combination.
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
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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.
Modifying Reports
To modify the data that is plotted in a report:
3. The Report dialog box 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 box.
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 2024 R1 - © 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 box. 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 box.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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.
Note:
e. Range Function button – opens the Set Range Function dialog box. 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 from the Primary Sweep, uncheck the
Default field to enable the X field and Browse [...] button. Click Browse [...] to display
the Select X Component dialog box.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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 Browse [...] to display a panel that lets you
select Use all values, or selected sweep or sweeps, or access an Edit Sweep dialog
box with further editing options. Post-Processing variables are Post-Processing
sweeps/editable sweeps, so you can use the Edit Sweep dialog box 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.
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 Manager to display the Properties dialog box. Selecting the
Display Type field displays a menu with selections available for that plot.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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 box described here: Setting Default
Boundary/Excitation Base Names.
This may save you the need to edit individual names in the plots.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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.
You can also select Browse [...] here to display the Edit Sweep dialog for Modify Reports, which
includes additional editing features.
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.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
1. Right-click the Results icon in the Project Manager to display the short cut menu and
select Create Report From File, or click Q3D > 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.
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:
n Cartesian – controls the scroll bar and thumb properties for 2D rectangular plots.
n Header – controls 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
check box are grouped in the Properties dialog box as Subtitle. Edits to the Subtitle
Font Property affects both of them.
n General – controls 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.) An Auto Scale
Fonts property is on by default and scales text in plots and colorkey (contour plot, field
plots in 3D modeler) for high resolution screens.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
n Legend – controls the properties for whether to include a Legend Name, Show Trace
Name, Solution Name, and Variation Key. At least one of these must be selected.
Legend Name is blank by default. When non-empty, a header row for the Legend in plot
shows up with that string. 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. See: Modifying the Legend in a
Report.
n Color Key – for 3D plots, controls the appearance of the color key (colors,
transparency, border appearance, fonts, number format, field width and precision.
n Contour – for 3D plots, controls the appearance of the color map, including map type,
ramp color, spectrum, IsoValType, levels, number of contours, and values shown.
n Radiation Pattern – for 2D polar plots, controls whether to show the circular grid and
angle lines.
n Stacked – for stacked plots, controls properties for X scrollbar, thumb properties, and
stack layout, auto fit, and stack height.
n Smith – for Smith charts, controls whether to show grids for Imp., Adm., Cir, and angle
lines.
n Traces – controls the properties for traces, including: 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. You can select traces either in
the Legend or on the plot. See: Editing the Display Properties of Traces.
n 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 OptionsAxis 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 box.
l Axis Color – set the color by double-clicking to display the Set color dialog box.
Select a default or custom color and click OK.
l Axis Font – click the cell to display the Edit Text Font dialog box. The dialog box lets
you select from a list of available fonts, styles, sizes, effects, colors, and script. The
dialog box also contains a preview field. OK the selections to apply the font edits and
to close the dialog box.
l Display Units – this specifies whether to display the axis units.
l Window (section):
o Window Mode – can be Axis range, Continuous moving window, or Step moving
window.
o Window Width (in) – provide an integer value for the previous selection.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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 Q3D Extractortreats
as zero, in the data, for example, dB Gain.
o Map Infinity To – enter a real value for the Map Infinity Mode.
n 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 box to apply the changes.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
4. Enable the visibility check box, and click OK to close the dialog box and apply the change.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
This lets you edit the Properties for Dock Mode, Legend Name (default is no name. When
non-empty, a header row for the Legend in plot shows up with that string.), whether to
Show Trace Name, Solution Name, and Variation Key (which applies to parametric
variables, if present). If none of these three are selected, only a trace color shows.
You can also edit the Font by clicking the Font cell to display the Edit Text Font dialog
box. The dialog box 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 box.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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.
2. Click OK to close the Properties dialog box and apply the selections.
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.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
2. Use the Save as type drop-down menu to select Ansoft Report Data Files (*.rdat)
format.
3. Browse to a destination folder and enter a name for your file in the File name field.
4. The Export Uniform Points option, if available for your report type, allows the *.rdat file to
contain points for the start, stop, and step at the given frequencies. If you do not select this
option, the file contains only the current file format, including any modifications you have
applied.
5. Click Save.
The file is exported to the specified location as an Ansoft Report Data file (*.rdat).
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The file will then be available for import using Create Report from file.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l .png
l .tiff
l .wrl
4. When you select a graphics format, the Image Export Options appear at the bottom of
the dialog box:
5. Specify the Image Export Options by selecting from the drop-down menu. You may
need to scroll or click the up or down arrows to see all selections. These include: Current
View, User Defined (which enables the Width and Height fields), Full Screen, 8K UHD, 4K
UHD, 1080p HD, 720p HD, and 480p SD. The resolution for the current selection is
displayed in the Width and Height fields.
6. Click Save to close the browser window, and then OK to close the Export window.
To export an image file of a report to specified high resolution, use the scripting commands. The
image can be created at a specified resolution. Fonts and line thickness is not scaled. Only the
image. You will have to iteratively increase font sizes until you find a suitable output.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
File
Information
Extension
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.
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 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.
All *.rpt templates in the userLib directory appear on the Results> Report Templates>
PersonalLib menu. Selecting a report from the PersonalLib menu opens a report that you can
then Modify to add traces or perform other edits. Templates in the SysLib directory appear on the
Report Templates menu.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
1. In the Project Tree, right-click 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.
S-, Y-, and Z-parameter data are available to plot, along with propagation
Modal constant, characteristic port impedance, reflection/transmission coefficients for
Solution HFSS designs, and Voltage Standing Wave Ratio (VSWR) data.
Data
For HFSS calculations, phase is currently assigned zero value.
This solution type results in a terminal-based description in terms of voltages and
Terminal
currents. Some modal data is also available. The terminal-based S-, Y-, and Z-
Solution
parameters, VSWR, Port Zo, and Active S-, Y-, Z- and VSWR parameters are
Data
available to plot.
Eigenmode Eigen Modes and Eigen Q data are available to plot.
Parameters
Basic or derived field quantities calculated on lines or integrated over surfaces or
objects are available to plot.
Predefined thermal field results include temperature, heat flux magnitude, and EM
loss densities.
Radiated fields computed in the far-field region. The following quantities are
available to plot: rE, gain, realized gain, beam area, directivity, axial ratio,
polarization ratio, and normalized antenna calculated by HFSS. You can do
Contour Plots with a Domain of either Theta, Phi, or Sine Space.
Far Fields You must have defined an infinite sphere geometry and at least one radiation or
PML boundary to create a far-fields report. If you manually enter Phi or Theta
component of a far field quantity when you using Az/El or El/Az far field definition,
then the Report uses the Z axis of the Az/El or El/Az coordinate system definition
as pole to calculate theta/phi component for rE.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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 create Contour Plots with a Domain of either Theta, Phi, or Sine Space.
Near Fields You must have defined a near-field line, box, rectangle, or near-field sphere and at
least one radiation or PML boundary to create a near-fields report.
Field components and positions in reports are in the local coordinate system of the
near field domain, not global coordinates.
Whereas far field reports are computed as points around an infinite sphere,
Antenna antenna parameters provide one value per quantity for the entire sphere.
Parameters You must have defined an infinite sphere geometry and at least one radiation or
PML boundary to create an antenna parameters report.
You can conduct an emission test under the same conditions as for a near field
Emission report except that.an emission test cannot be conducted for a ports-only solution.
Test You must have defined a near-field line or near-field sphere and at least one
radiation or PML boundary.
When you click Product > Results or right-click Results in the Project tree, or select the
Results tab of the ribbon, one or more of the following report types and displays are available.
Available options depend on the nature of your installation and project(s).
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
An Eye Diagram report can be depicted in any of the following display types:
Create Eye l Rectangular Plot
Diagram Report l Data Table
Statistical Eye Plot
l
Create Report A Data File report can be created in any of the available display types
From File using a previous report that has been saved to a file.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
For the initial plot, you can also select from the following Display Type formats in the
Create<type> Report submenu:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Contour 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 box. 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.
1. On the Results menu (under the Q3D Extractor menu, or right-click Results in the
Project Manager), 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 report <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.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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.
Note:
e. Range Function button -- opens the Set Range Function dialog box. 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 Add Trace on the Report dialog.
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 box. Selecting the
Display Type field displays a menu with selections available for that plot.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Once you make a selection, the plot display updates for the current selection.
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.
Ansys Electromagnetics Suite 2024 R1 - © 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
Rectangular Bar Plot" on page 16-126.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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. 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 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.
Note:
e. Range Function button -- opens the Set Range Function dialog box. This applies
currently specified Quantity and Function.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
5. 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.
6. 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 box that
lets you select particular values. The quantity will be plotted against the primary sweep
variable listed.
7. Click New Report.
This creates a new report in Project tree, displays the report with the defined trace, and
enables Add Trace on the Report dialog box. 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 Manager. 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.
8. Optionally, add another trace to the plot by following the procedure above, using Add
Trace rather than New Report.
Selecting a bar in the plot shows the customizable attributes of bars in a 3D Rectangular Bar
plot.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Filled
l Show Outline
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Bar Width, controls the thickness of the bar. Medium (default), Wide and Narrow are the
width that equals to ½, ¾ and ¼ of the min spacing between adjacent points respectively.
l Bar Infinity represents the third coordinate (z) using the bottom of the bar.
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 box. The Visual Detail property on the General tab
also provides control suited to different screen and plot sizes.
Ansys Electromagnetics Suite 2024 R1 - © 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.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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 2024 R1 - © 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 2024 R1 - © 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.
Ansys Electromagnetics Suite 2024 R1 - © 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:
Ansys Electromagnetics Suite 2024 R1 - © 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.
l If Num. Ticks is 0, then no ticks are shown on the axis.
l If Num. Ticks is 1, then only the max value tick is shown on the axis.
l If Num. Ticks is 2, then only the min and max value ticks are shown on the axis.
l If Num. Ticks is greater than 2, then evenly spaced ticks (including min and max) are
shown on the axis.
Note:
With the addition of the Ticks Specification property to Axis properties, the Specify
Spacing property was removed as an Axis property.
l If an R18.0 or R18.1 project is opened with Specify Spacing as Unchecked,
Ticks Specification is set to Auto.
l If an R18.0 or R18.1 project is opened with Specify Spacing as Checked, Ticks
Specification is set to Spacing.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
1. On the Results menu (under the Q3D Extractor menu or right-click Results in the Project
Manager), 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 report <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 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note:
e. Range Function button -- opens the Set Range Function dialog box. 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 Add Trace on the Report dialog box. 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 box. 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 2024 R1 - © 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 box. 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
l Grid [XY|YZ|ZX]: Properties related to the 3 grids
l ColorKey: Properties related to ColorKey, including borders, background, Min and Max,
as well as number format and precision.
l Contour: Properties related to contouring of all curves/surfaces
l Surface: Properties related to the curve
Ansys Electromagnetics Suite 2024 R1 - © 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 (under the Q3D Extractor menu or right-click Results in the Project
Manager), 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.
Note:
e. Range Function button -- opens the Set Range Function dialog box. 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:
Ansys Electromagnetics Suite 2024 R1 - © 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 Add Trace on the Report dialog box. 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 Manager. 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 box. The Visual Detail property on the General tab also
provides control suited to different screen and plot sizes.
Ansys Electromagnetics Suite 2024 R1 - © 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 2024 R1 - © 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 2024 R1 - © 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 2024 R1 - © 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.
l If Num. Ticks is 0, then no ticks are shown on the axis.
l If Num. Ticks is 1, then only the max value tick is shown on the axis.
l If Num. Ticks is 2, then only the min and max value ticks are shown on the axis.
l If Num. Ticks is greater than 2, then evenly spaced ticks (including min and max) are
shown on the axis.
Note:
With the addition of the Ticks Specification property to Axis properties, the Specify
Spacing property was removed as an Axis property.
l If an R18.0 or R18.1 project is opened with Specify Spacing as Unchecked,
Ticks Specification is set to Auto.
l If an R18.0 or R18.1 project is opened with Specify Spacing as Checked, Ticks
Specification is set to Spacing.
1. On the Results menu (Q3D Extractor menu or right-click Results in the Project
Manager), click Create <type> Report, and select Rectangular Contour plot from the
report type menu.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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.
Note:
e. Range Function button -- opens the Set Range Function dialog box. 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.
Ansys Electromagnetics Suite 2024 R1 - © 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 Add Trace on the Report dialog box. 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 Manager. 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.
General tab, including Back Color, Plot Area Color, Enable Y Axis Stripes, Field Width,
Prevision, and whether to Use Scientific Notation.
You can also access these properties by double-clicking on the Contour plot and viewing
the Contour tab.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
7. Optionally, add another trace to the plot by following the procedure above, using Add
Trace rather than New Report.
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.
To create a Sine Space plot, after you have specified radiated field Setups.
1. Click Results> Create Far Fields Report> Rectangular Contour Plot or Data Table
Results> Create Near Fields Report> Rectangular Contour Plot or Data Table.
The Report dialog box displays and shows choices for Domain in the Context field.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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 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.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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).
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
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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 box.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
You can use the Contour tab of the Properties dialog box to modify the appearance of the plot.
See Creating Rectangular Contour Plots for discussion and examples.
1. On the Results menu (Q3D Extractor menu or right-click 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 2024 R1 - © 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 menu, 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.
Note:
e. Range Function button -- opens the Set Range Function dialog box. 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 Add Trace on the Report dialog box. 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.
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 2024 R1 - © 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.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
To convert a 3D Polar plot to a 3D Spherical Plot, select the plot in the Project tree, and select
from the Display type menu in the Properties window:
Double-clicking anywhere in the plot brings up the display Properties dialog box. 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.
l Contour: Properties related to contouring of all curves/surfaces
l Surface: Properties related to the curve
You can edit the properties on these tabs to customize the appearance of the plot. See
"Controlling Visual Detail in a 3D Polar Plot" on page 16-154 below.
1. On the Results menu ( HFSS menu or right-click Results on the Project tree), click
Create <type> Report, and select 3D Polar Plot from the report type menu.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
You can also select 3D Polar Plots from the Results tab of the ribbon if such plots are
appropriate for the current design.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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. From the Category drop-down menu, select the type of information to plot. The
selected category provides the default plot name.
b. In the Quantity list, click the values to plot. Ctrl+click to make multiple selections.
c. In the Function list, click the mathematical function to apply to the quantity for the plot.
Ansys Electromagnetics Suite 2024 R1 - © 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.
Note:
e. Range Function button -- opens the Set Range Function dialog box. This applies
currently specified Quantity and Function.
4. On the Trace tab Theta (Secondary Sweep) line, select the sweep variable from the
drop-down menu 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
menu, and specify all values or select values to plot along the phi-axis.
6. Click New Report.
This button creates a new report in Project tree, displays the report with the defined trace,
and enables Add Trace on the Report dialog box. 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 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.
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. Also, see Using the Orientation Gadget.
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 box. Clicking on a plot entity selects it, highlighting the
selected entity in bold.
The Visual Detail property on the General tab also provides control suited to different screen
and plot sizes.
Ansys Electromagnetics Suite 2024 R1 - © 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.
Ansys Electromagnetics Suite 2024 R1 - © 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.
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.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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 2024 R1 - © 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.
You can edit the Num. Ticks field when Ticks Specification is Num. Ticks; otherwise, it is read
only.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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.
l If Num. Ticks is 0, then no ticks are shown on the axis.
l If Num. Ticks is 1, then only the max value tick is shown on the axis.
l If Num. Ticks is 2, then only the min and max value ticks are shown on the axis.
l If Num. Ticks is greater than 2, then evenly spaced ticks (including min and max) are
shown on the axis.
Note:
With the addition of the Ticks Specification property to Axis properties, the Specify
Spacing property was removed as an Axis property.
l If an R18.0 or R18.1 project is opened with Specify Spacing Unchecked, Ticks
Specification is set to Auto.
l If an R18.0 or R18.1 project is opened with Specify Spacing Checked, Ticks
Specification is set to Spacing.
You can control a range of display properties for the pho-rho and theta-rho grids, including line
styles and colors for major and minor grids.
For a 3D polar plot to be eligible for overlay, it must have its primary and secondary sweep from
variables Phi and Theta or IWavePhi and IWave Theta in that order. If the plot is unsuitable, the
Overlay commands are disabled.
Once you create a suitable plot, you can overlay the 3D polar plot on the model window.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
To convert a 3D Spherical plot to a 3D Polar Plot, select the plot in the Project tree, and select
from the Display type menu in the Properties window:
Double-clicking anywhere in the plot brings up the display Properties dialog box. The display
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
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
You can edit the properties on these tabs to customize the appearance of the plot. See
"Controlling Visual Detail in a 3D Spherical Plot" on page 16-163 below.
1. On the Results menu (HFSS menu or right-click Results on the Project tree), click Create
<type> Report, and select 3D Spherical plot from the report type menu.
You can also select 3D Polar Plots from the Results tab of the ribbon if such plots are
appropriate for the current design.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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 menu, 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.
Ansys Electromagnetics Suite 2024 R1 - © 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.
Note:
e. Range Function button -- opens the Set Range Function dialog box. This applies
currently specified Quantity and Function.
4. On the Trace tab Theta(Secondary Sweep) line, select the sweep variable from the
drop-down menu 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 menu, and specify all values or select values to plot along the phi-axis.
6. Click New Report.
This button creates a new report in Project tree, displays the report with the defined trace,
and enables Add Trace on the Report dialog box. 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 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.
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. Also, see Using the Orientation Gadget.
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 box. Clicking on a plot entity selects it, highlighting the
selected entity in bold.
The Visual Detail property on the General tab also provides control suited to different screen
and plot sizes.
Ansys Electromagnetics Suite 2024 R1 - © 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.
Ansys Electromagnetics Suite 2024 R1 - © 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 Spherical 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 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
With Visual Detail set to Low, 3D Spherical 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.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
With Visual Detail set to High, a 3D Spherical 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 2024 R1 - © 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.
You can edit the Num. Ticks field when Ticks Specification is Num. Ticks; otherwise, it is read
only.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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.
l If Num. Ticks is 0, then no ticks are shown on the axis.
l If Num. Ticks is 1, then only the max value tick is shown on the axis.
l If Num. Ticks is 2, then only the min and max value ticks are shown on the axis.
l If Num. Ticks is greater than 2, then evenly spaced ticks (including min and max) are
shown on the axis.
Note:
With the addition of the Ticks Specification property to Axis properties, the Specify
Spacing property was removed as an Axis property.
l If an R18.0 or R18.1 project is opened with Specify Spacing Unchecked, Ticks
Specification is set to Auto.
l If an R18.0 or R18.1 project is opened with Specify Spacing Checked, Ticks
Specification is set to Spacing.
You can control a range of display properties for the pho-rho and theta-rho grids, including line
styles and colors for major and minor grids.
For a 3D Spherical plot to be eligible for overlay, it must have its primary and secondary sweep
from variables Phi and Theta or IWavePhi and IWave Theta in that order. If the plot is unsuitable,
the Overlay commands are disabled.
Once you create a suitable plot, you can overlay the 3D spherical plot on the model window.
1. On the Results menu ( HFSS menu or right-click Results on the Project tree), click
Create <type> Report, and select Smith Chart from the report type menu.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
a. On the Category drop-down menu, click the type of information to plot. The category
selected 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.
Note:
e. Range Function button -- opens the Set Range Function dialog box. 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 Add Trace on the Report dialog box. 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.
1. On the Results menu (HFSS menu or right-click Results on the Project tree), click Create
<type> Report, and select Smith Chart from the report type menu.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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.
Note:
e. Range Function button -- opens the Set Range Function dialog box. This applies
currently specified Quantity and Function.
3. On the Trace tab (Secondary Sweep) line,select the sweep variable from the drop-down
menu and specify all values or select values to plot along the theta-axis:
To select an Secondary sweep component that is different from the default, uncheck the
Default field to enable the X field and Browse [...] button. Click Browse [...] to display the
Select X Component dialog box. 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 Browse [...] 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
menu, and specify all values or select values to plot along the phi-axis:
To select an X component that is different from the default, uncheck the Default field to
enable the X field and browse [...] button. Click Browse [...] to display the Select X
Component dialog box. 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 Browse [...] 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
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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 Add Trace on the Report dialog box. 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.
6. Optionally, add another trace to the plot by following the procedure above, using Add
Trace rather than New Report.
1. Click Q3D Extractor> Results> Create <type> Report or right-click Results in the
Project Manager 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 report <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 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
a. On the Category drop-down menu, 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.
Note:
e. Range Function button -- opens the Set Range Function dialog box. This applies
currently specified Quantity and Function.
5. On the Trace tab X (Primary sweep) line, select the sweep variable from the drop-down
menu 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 Add Trace on the Report dialog box. 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 box. 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 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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 area, specify the Primary Sweep and Ang information to plot along the R-
axis, or the axis measuring magnitude. The Primary Sweep field has a drop-down menu of
current choices for Theta, Phi, and defined variables. Click the ellipsis button if you want to
select from available values.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
5. In the Ang, if you want to change the default, uncheck to enable the field and ellipsis
button.
a. On the Category drop-down menu, 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 Mag field displays the currently specified Quantity and Function. You can edit this
field directly.
Note:
e. Range Function button -- opens the Set Range Function dialog box. This applies
currently specified Quantity and Function.
5. The Families tab is helpful if you want to use the plot as an overlay and you need to
restrict the Phi (default) or Theta values to make the plot appropriate for overlay. See
Overlaying 2D Radiation Field Plots on Models.
6. Click New Report.
This creates a new report in Project tree, displays the report with the defined trace, and
enables Add Trace on the Report dialog box. 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.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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 box. 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.
1. Set the first marker by 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.
In the marker text window, you see the difference between the two markers instead of the X, Y
value of marker.
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
S11 / ( 1 - S11 )
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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
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.
For HFSS, HFSS 3D or Layout Linear Network Analysis on Circuit, to create a plot in the Time
Domain:
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.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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., 1/(10fmax), at the expense of extra computation time.
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:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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.
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.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
(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
(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:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
(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" (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.
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.
Ansys Electromagnetics Suite 2024 R1 - © 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.
Hanning A moderate dynamic range function, designed for narrow band applications.
(default)
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Window
Preferred Use
Function
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.
You can use the Save as Default to set the current values as a default, and the Use Defaults
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
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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 Linux systems, the cursor changes to a solid black arrow, rather than the default black
outline.
1. Select a report in the Project window and right-click and select Modify Report.
2. In the Report dialog box, 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.
Note:
e. Range Function button -- opens the Set Range Function dialog box. This applies the
currently specified Quantity and Function.
3. In the Report dialog box, 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
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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 Manager.
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 box. 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
This enables editing of either the Name field in the docked properties dialog box, 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):
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
This displays the an edit Component field window from which you can edit the category,
quantity and function.
1. Select the trace in the Project Manager 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 Manager 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 box.
From this dialog box, you can select the Sweeps or Variations radio buttons. If other
nominal values are available you can click the ellipsis button to select from a list.
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.)
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 box.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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.
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.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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.
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
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
You can also access these commands from the shortcut menu that appears when you right-click
inside a report plot window.
These command 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 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
Maximum – places a marker at the Maximum value on the selected trace.
l
Minimum – places a marker at the Minimum value on the selected trace.
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:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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.
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.
l
Previous Minimum – places a marker on the previous minimum on a selected trace.
You must exit marker mode and select a marker to enable this command.
l Go to Start (Right arrow) – moves a selected trace marker to the first data point. Enabled
by leaving marker mode and selecting a marker.
l Go to Previous (Left arrow) – moves a selected trace marker to the previous data point.
l Go to Next – moves a selected trace marker to the next data point.
l Go to End – moves a selected trace marker to the last data point.
l Next Curve – selects the next curve in the report, based on the order in the trace legend.
l Previous Curve – selects the previous curve in the report, based on the order in the trace
legend.
l Clear All – clears all markers on a report.
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 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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 2024 R1 - © 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 following figure shows that when Y marker in bottom stack was dragged, Y
marker in top stacks moved as well:
Ansys Electromagnetics Suite 2024 R1 - © 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 following figure 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 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ansys Electromagnetics Suite 2024 R1 - © 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 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note that on deleting a stack, Y Markers in other stacks are not affected.
Ansys Electromagnetics Suite 2024 R1 - © 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:
The Rectangular Stacked XY Plot in the previous figure, when converted to Rectangular XY
Plot, looks like the following figure:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The following shows the shortcut 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.
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.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
3. Select Favorites and then select the function you want. The specified characteristic is
added to the trace.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
4. Click the Favorite check box in front of any function you want to add to your 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 menu.
Note:
You can remove favorites by clearing the Favorite check box for one or more
functions, and clicking Close.
You can add characteristics to a selected trace by selecting from the Add Trace
Characteristics window.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The available categories depend on the plot, and the selecting of a category displays its
associated functions.
Note: Categories and Functions only appear if they are available for that plot.
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,
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Category Functions
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 box 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
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.
Ansys Electromagnetics Suite 2024 R1 - © 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 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 Results in the project tree of the target design and select Paste.
Right-click the trace or traces under a report name in the project tree and select Copy Data.
Right-click 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.
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.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note:
l 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
l 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 the report name in the Project Manager and select Copy Definition from the shortcut
menu.
Right-click Results in the Project Manager of the target design and select Paste.
Right-click the trace or traces under a report name in the project tree and select Copy
Definition.
Right-click 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.
Removing Traces
You can remove traces from the traces list in the following ways:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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)
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 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 box so that you can specify points.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Select From Selected Curve to open the Limit Line From Curve dialog box.
Select Specify Equation to open the Limit Line from Equation dialog box.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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.
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 box 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.
l Shift and Offset relative to the Y, either as a Y Offset value or as a Y Shift %.
l Create Mode as Above Curve, Below Curve, or Above and Below Curve.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
4. You can use the Limit Line from Equation dialog box to create a limit line based on an
equation in the form Y = f(x).
l Only x variable is allowed
l x value is linearly sampled and f(x) is evaluated to get y. By default, the entire range for
plot is covered. You can uncheck Entire Range to specify Start and Stop. You can
always edit Step and unit values for x.
l If y results in NaN, an error is indicated and limit line is shown.
l If y results in Inf value, then it maps to the MapInfValue specified on its associated y
axis.
l Selecting the limit line added in such a way should show: Start, Stop, Step, and
Equation in limit line property window. You can edit these values in the Properties
window.
5. Once you Click OK, the limit line, or lines, you define are added to the plot. Each limit line
divides the plot into two regions within the context of its length. By default, the upper
region is hatched to designate constraint violation.
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 2024 R1 - © 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 2024 R1 - © 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 until 1.5 GHz, and cannot be below -50 dB at
1.5 GHz or higher. 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:
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:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note:
As shown in the following figure, if no curve violates a limit line, then the limit line
hatching is restrained to 10 pixels in length. The minimal hatching keeps the focus on
the curve traces rather than the limit lines.
Error Handling
If an error is encountered while calculating Limit Line Violations for a particular plot trace, the
Curve Info window shows "NaN (<Limit Line name>)" under the Limit Line Violations column for
that curve. For example, if a value is not available or goes to infinity at a particular point, the
program is unable to evaluate that point. One of the coordinates is "Not-a-Number" (NaN).
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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 box, select the variable from the X (Primary Sweep) drop-down
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 pop-up list of the possible values.
b. Select Use all values or click the Edited button to display a dialog that lets you specify
the sweeps to use.
If you are plotting a near-field quantity along a line, set up a near-field line.
2. In the Reportdialog 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.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note:
All maximum near-field data calculated by Q3D Extractor 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.
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 box. 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:
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.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note:
These functions can also be applied to previously specified Quantities and Functions as Range
Functions when using the Set Range Function dialog box.
Some of these functions can operate along an entire curve. These are: min, max, integ, avg,
rms, pk2pk, cang_deg and cang_rad.
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 (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. Returns angular
values in degree units, and not suitable for use in Optimetrics, which
works in SI values and evaluates ang_deg expressions in radians. See
ang_deg_val.
ang_deg_val Angle (phase) of a complex number in unitless degree values, and
suitable for use in Optimetrics, which works in SI 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 (the inverse function of sine).
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Important:
Available solution quantity categories depend on the design type, solution type, setup
parameters, and plot domain. The selected category provides the default name for the
plot, such as "S Parameter Plot n". You can edit plot names in the project tree and plot
header text in the Properties window.
1. Click Results > Standard Report and select the type of report you would like to generate.
Category Description
Intrinsic variables (such as frequency or theta), or user-defined
Variables project variables (such as the length of a quarter-wave
transformer).
User-defined expressions applied to derive quantities from the
Output Variables
original field solution.
S-parameters from the S-matrix. For designs which include a
Frequency Selective Surface (FSS)-referenced radiation
S-Parameter
boundary, S11 and S21 represent the extracted reflection and
transmission coefficients, respectively.
Admittance matrix parameters computed from the S-
Y-Parameter
parameters and port impedances.
Impedance matrix parameters computed from the S-
Z-Parameter
parameters and port impedances.
Quantity calculated as rate of change of the total phase shift
with respect to angular frequency,
Group Delay
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Category Description
Matched S is the S-matrix produced by solver. It becomes
useful to view when passive ports exist and the matched S-
matrix is rectangular instead of square. When passive ports
exist, S is the square matrix of the active ports and the passive
Matched S Parameter
ports represent a loss mechanism. Matched S-matrix provides
coupling information to the passive ports. In Transient, we show
Matched S entries while the simulation is in process which is not
clean for regular S when port post processing exists.
Short circuit impedance, calculated as:
Short Circuit Z
Calculated as:
Loop Resistance
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Category Description
Active S parameters represent the reflection coefficient of one
port when another port is excited. HFSS offers passive S-
parameters as well as active S-Parameters. If you plot Active S-
Parameters, HFSS includes the effects of mutual coupling with
other ports or elements. One use is in Optimization, to view how
S-parameters change as design parameters change. In this
case you may plot Active S Parameters. In such cases they
allow you to forecast design behavior in the presence of an ideal
feed network. A 0w value is a matched load, but 1w values take
that into account.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Category Description
Y0(M) is the port admittance of the m-th mode.
Active Y-Parameter
Ansys Electromagnetics Suite 2024 R1 - © 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 box, 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 box, 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.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
This opens the Set Range Function dialog box. 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 following table 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 box.
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 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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,
Measurements EyeSignalToNoise, EyeOpeningFactor, EyeWidth, EyeJitterP2P,
EyeJitterRMS, EyeRiseTime, EyeFallTime, MinEyeWidth, MinEyeHeight
Note:
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.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Math Functions
integabs Absolute value of integral.
max Returns maximum value of the simulation quantity.
mean Returns the average in the set of quantities selected.
mean = sum( all y-value) / (number of y-values)
min Returns the minimum value of the simulation quantity.
rms Returns the root mean square value of the selected quantity.
rmsAC Returns the AC RMS for the selected quantity.
ripple Returns the ripple factor (AC RMS/Mean) for the selected quantity.
pkavg Returns the ratio of the peak to peak-to-average for the selected quantity.
pkp2pk Peak to peak. Difference between max and min of the first parameter over
the second parameter. Returns the peak-to-peak value for the selected
simulation quantity.
sum Returns the sum of the given values.
stddev Returns the standard deviation of given values.
variance Calculates the variance of the given values.
XAtYMax Threshold crossing time: report first time (x value) at which an output
quantity crosses YMax.
XAtYMin Threshold crossing time: report first time (x value) at which an output
quantity crosses a user definable threshold.
XAtYVal Returns the X value at the first occurrence of Y value.
XWidthAtYVal Returns the X width between the first 2 occurrences of Y value.
YAtXMax Returns the X value at maximum value of Y.
YAtXMin Returns the Y value at minimum value of X.
YAtXVal Returns the Y value at the first occurrence of X value.
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 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.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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.
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 Returns the rms of the negative pulse width input stream.
Ansys Electromagnetics Suite 2024 R1 - © 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.
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.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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.
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.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The new report appears under Results in the Project Manager. The new report name
prefixes FFT to the name of the original report. Trace names are also prefixed with FFT.
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
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Window
Preferred Use
Function
Van Hann A moderate dynamic range function, designed for narrow band applications.
Blackman A high dynamic range function, with lower resolution, designed for wide band
applications.
Ansys Electromagnetics Suite 2024 R1 - © 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.
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.
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.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note:
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". 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.
1. Select the report you want from the list in the dialog box.
2. Specify the input signal as Step or Impulse.
3. Set the Rise Time.
4. In the Type drop-down menu, select which 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.
5. To specify a window width, enter a percentage into the Width (%) field.
6. If you select the Kaiser function, specify a number in the Kaiser Parameter.
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.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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.
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
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Fourier transform of the rectangle (Fig 1.b). The final result is an edge with a finite rise time and
some oscillation.
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
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
rectangle which distort the time waveform in ways which may be more desirable. In particular, it
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 2024 R1 - © 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.
Figure 5. The effect of Welch windows of three different widths on an ideal step
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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 2024 R1 - © 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 2024 R1 - © 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
edge approximates an ideal finite edge depends only on br, the dimensionless product of the
bandwidth and the rise time (Fig. 9).
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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
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).
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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 box. 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.
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
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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 box. 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.
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.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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 2024 R1 - © 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 2024 R1 - © 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 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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 2024 R1 - © 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 field.
4. Select one of the following file formats from the Save as type drop-down menu:
Extension Contents
.csv Comma-delimited data file
.tab Tab-separated file
.dat Ansoft plot data file
.txt Post processor format file
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Extension Contents
.rdat Ansoft report data file
.emf Microsoft EMF files
.gif GIF files
.bmp BMP files
.wrl VRML files
.tif, .tiff TIFF files
.jpg, .jpeg JPEG files
l When exporting to *.csv or .tab files for an XY Plot, Eye Diagram or Data Table, a
Separate Columns for Curves check box will be shown. Otherwise the check box will
be hidden.
l When it is checked the data is exported with one column per curve, and variable values
appear in the column's header cell.
l When it is unchecked the data is exported with one column per a trace, each variable
has its own column.
l When the design has many variables, uncheck the check box may keep the column
header from becoming too long and hard to read.
l When trace has more curves than number of sweep values, uncheck the check box to
prevent the number of columns from being larger than the number of rows.
l When a report only has one trace or all trace have same variations, this option is
unchecked by default. Otherwise, this feature is checked.
l For 2D reports, you can select Export Uniform Points and specify a full sweep range
by editing start, stop, and step values.
Note:
For a report trace where the primary sweep is NOT the same as the x-component,
exporting and then importing a report may not produce the same curve. In this
circumstance, only *.rdat format imports the same curve/trace. For other formats, the
import produces two separated traces.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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:
l Overlaying Surface Currents on a 3D View
l Overlaying Far Fields on a 3D View
l Overlaying Near Fields on a 3D View
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 2024 R1 - © 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 2024 R1 - © 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 box. Click OK to
apply any changes and close the dialog box. 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 drop-down menu s (m, n, and k
identify the particular solution setup, sweep setup, and surface current setup,
respectively).
Ansys Electromagnetics Suite 2024 R1 - © 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 2024 R1 - © 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 drop-down menu (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 2024 R1 - © 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 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 Apply 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 Cancel is active as long as no changes have been applied. Cancel 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 2024 R1 - © 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.
Ansys Electromagnetics Suite 2024 R1 - © 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 2024 R1 - © 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 drop-down menu.
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 2024 R1 - © 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 2024 R1 - © 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 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 2024 R1 - © 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 the overlay, and select Frequency from the menu. The Frequencies dialog
Ansys Electromagnetics Suite 2024 R1 - © 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 the
overlay, and select Properties from the menu. Use the Quantities tab to select a
reference frequency for the phase animation:
Ansys Electromagnetics Suite 2024 R1 - © 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 2024 R1 - © 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 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 2024 R1 - © 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.
Ansys Electromagnetics Suite 2024 R1 - © 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 box.
Clicking Cancel closes the dialog without making any changes.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Important:
l You must have selected Save Fields in the solution setup in order to enable
the Plot Fields selections.
l The available options depend on the design, the selected geometry, and
solutions.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Specify Name – choose a name for the field overlay, or leave the default.
l Specify Folder – select the folder under which the overlay will appear in the
Project Manager. All field plots under a folder share the same color key.
l Category – from this drop-down menu, select either Standard to use standard
quantities or Calculator and click Fields Calculator to specify calculated quantities.
l Context – select the Solution, Field Type, and Intrinsic Variables to alter the
available quantities in the Quantity list.
l Quantity – list of either Standard quantities or Calculator quantities, depending on the
Category selection.
Note:
l 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 return 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.
l 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. The list will not contain scalar values when a line is selected as
the geometry.
l In Volume – 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.
l Plot on surface only (Q3D Extractor only) – select to plot on the surface only.
Selecting this option also enables the Surface Smoothing button, from which you can
enable Gaussian smoothing.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Plot on edge only (2D Extractor only) – select to plot on the edge only. Selecting this
option disables the Surface Smoothing button.
l Streamline – select to display the overlay as streamlines. These are often used to
indicate magnetic flux lines, etc.
4. Select the desired options and click Done.
5. The field overlay appears under Field Overlays in the Project Manager.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Alternately, navigate to View > Visibility > Active View Visibility to open the Active View
Visibility dialog box. The Fields Reporter tab lists all field overlays in the design and you can
select and deselect their Visibility.
The Modify Field Plot window appears, with the same options as the Create Field Plot
window.
CG Fields
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
DC R/L Fields
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
AC R/L Fields
J
Surface current density vector from AC RL
SurfaceJac
solution, measured in Amps/meter.
Mag_SurfaceJac Magnitude of SurfaceJac vector.
H
Mag_H The magnitude of H.
The magnetic field. This is a complex vector
Vector_H
quantity.
Other
Resistive power loss density from the AC RL
solution, defined as:
Surface_Loss_DensityAC
CG Fields
Phi
Mag_Phi The magnitude of Phi.
The real part of Phi at a particular value of
PhiAtPhase
phase.
E
The electric field. This is a complex vector
VectorE
quantity.
Mag_E The magnitude of E.
J
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
R/L Fields
A
The magnetic vector potential. This is a
VectorA
complex vector quantity.
A plot showing contours of constant
Flux_Lines
magnitude of A.
B
The magnetic flux density vector. This is a
VectorB
complex vector quantity.
Mag_B The magnitude of B.
H
The magnetic field vector. This is a complex
VectorH
vector quantity.
Mag_H The magnitude of H.
J
VectorJrl The conduction current density.
Jrl The magnitude of VectorJrl.
Other
In RL solution, emloss combines the ohmic
loss and dielectric loss.
Emloss Emloss is represented by:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
It is represented by:
1. Click Q3D Extractor > Fields > Modify Plot Attributes. Alternatively, right-click
Field Overlays in the Project Manager and select Modify Attributes from the shortcut
menu.
The Select Plot Folder dialog box appears.
2. In the Select Plot Folder dialog box, select the plot type that you want to modify and click
OK. You can also right-click the specific plot in the Project Manager and choose Modify
Attributes from the shortcut menu.
A dialog box with attribute settings for the selected plot type (whether a field result or a
mesh plot) appears.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
3. For field result overlays (not mesh plots), the available plot attributes under each tab in the
dialog box are listed in the following table:
l Color map:
The number of colors used and how they are displayed. The field data must be
available for the color key to appear.
l 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.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Marker/Arrow
o The appearance of points (for scalar point plots).
o The appearance of arrows (for vector plots).
o 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.
l Deformation Scale:
This is for use with plots that include Stress feedback from Ansys Workbench
Integration.
l Plots (if not vector or streamline):
o The Plot selected. If multiple plots are available, you can select from a drop down
menu. Plots can be OnSurface or InVolume. If both types are available, the dialog
includes tabs for each.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
o Plots can be OnSurface or InVolume. If both types are available, the dialog includes
tabs for each.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
o The type of isovalue display (for scalar plots.) For Line, Fringe and Tone
IsoValType, Outine is enabled. For Gourad, it is disabled. The IsoValue display
selection also affects InVolume, which also has other options discussed below.
o Whether to use Shading (for scalar plots), if lighting is turned on. By default, the
Shading is set to None which is equivalent to "Do not use lighting."
o The transparency based on solution value.
o Whether to add a grid (that is, a mesh overlay), and to set the grid color.
o Specify the plot resolution as Coarse, Normal, Fine, or Very Fine.
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.
If an InVolume plot is available, and you select the tab, additional display options are
available to allow visibility of internal layers and objects, particularly those with high
field values. For IsoValSurface for an InVolume Scalar plot, the choices are for Scale
threshold and Map transp.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
o The “Scale threshold” slider bar allows you to set a field value threshold so that iso
surfaces with field value lower than the given threshold will show as translucent with
given transparency specified by the slider bar below it.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
o Iso surfaces with field value higher than the threshold will show as opaque. The
range of the “Scale threshold” is the same as the color key range from Min to Max.
o When "Map transp." is checked, translucent iso surfaces field values map to [0.0,
transparency] so lower field value map to higher transparency while higher field
value to lower transparency. If it is unchecked, all translucent iso surfaces will have
the same given transparency from the slider bar.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note:
When the Map transp. slider bar is at the left most position, transparency is
0. This feature is essentially disabled, and the “Scale threshold” slider bar
will be disabled. Also, high fidelity transparency should be enabled for best
results.
o For Cloud plots, field values are represented by points that illustrate the spatial
distribution of the solution. You can use the Particle spacing slider bar to adjust the
plot. The higher the solution value, the greater the cloud density. You can also
specify Min and Max values (numeric values based on the active model length unit)
and adjust Particle size.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The Reset button resets a good initial spacing (and thus Min, Max spacing range)
without the need to recreate the field plot.
l Plots (if streamline is checked):
o The Plot selected
o The Line style as solid or cylinder from drop-down menu.
o Line width, specified using a slider.
o Whether to show Marker on Streamline.
o Seeds density spacing. This affects the number of stream lines used to represent
the quantity in the plot. Moving the slider to the left decreases the spacing and
increases the number of stream lines. Moving the slider to the right increases the
spacing and decreases the number of lines used to represent the quantity.
o Min. and Max. values represented (in Magnitude filtering settings).
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
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
window.
c. If this option is cleared, click Apply when you want to see the changes.
1. If a plot folder has not been created, click Field Overlays in the Project Manager.
2. Click Q3D Extractor> Fields> Set Plot Defaults.
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 Q3D Extractor 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 Select the existing folder in which you want to store new plots.
existing
folder
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.
1. Click Q3D Extractor > Fields > Modify Plot Attributes or, in the Project Manager,
right-click Field Overlays and select Modify Plots from the shortcut menu (or use the "m"
hotkey).
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
4. Optionally, to change the number of divisions in the field plot scale, set the Num. Division
field to a new value. You can click Save as Default, if desired.
5. Select one of the following scale options:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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.
Only the field values between the minimum and maximum values
Use will be plotted. Field values below or above these values will be
Limits 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.
Field values have a precision of at most 6 decimal places (field
solution files are saved in floating precision), so Min/Max
numbers are displayed to this precision.
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.
The auto-min is the greater of the following:
l Actual computed Min
l Max/pow(10, num digits of field precision)
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 OK. To close the dialog box without making changes, click Cancel.
8. If you selected Auto or use Limits or dB, you can select one of the following options:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Log Field values are plotted on a logarithmic scale. If field plots have
negative and positive values and when auto-scale is selected, the
log-scale choice automatically sets the Min value as the Max/Min
Ratio. (If field plots have all negative values, Log is not allowed.)
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 the 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
Auto scale is the default for new plots. For scalar-in-volume plots, iso-surface (rather than
cloud) is the default display
12. Click Close to dismiss the dialog box.
2. Select the plot folder you want to modify and click OK.
A dialog box with attribute settings for the selected folder appears.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Uniform Field quantities are plotted in a single color. Click the button to choose the plot
color from the Color button palette.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Spectru Field quantities are plotted in multiple colors. Choose a color spectrum from
m the drop-down menu. The values are Rainbow, Temperature, Magenta, and
Grey. Each field value is assigned a color from the selected spectrum.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
1. Click Q3D Extractor> Fields> Modify Plot Attributes or, in the Project Manager,
right-click on Field Overlays and select Modify Plot Attributes. Alternatively, under
Field Overlays in the Project Manager, right-click a subfolder (overlay type) heading and
select Modify Attributes.
If you select Modify Plot Attributes, the Select Plot Folder dialog box appears. If you
select Modify Attributes, the appropriate attributes dialog box appears, bypassing the
Select Plot Folder dialog box. In this case, skip to step 3.
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 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
3D/round.
Umbrella The arrow tails are displayed as 1D lines. The arrowheads are displayed as
3D/round.
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.
Ansys Electromagnetics Suite 2024 R1 - © 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.
3. Click the Plots tab. If you have more than one plot, a drop down lets you select. The
OnSurface tab appears for surface plots and InVolume for volume plots.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
b. Optionally, if you selected Fringe or Tone, select Outline to add a border line between
isovalues.
c. For shading on OnSurface plots, if you are using Lighting, you can adjust the Shading
as None, Flat, or Smooth.
5. If the plot is a scalar volume plot, do the following:
a. Select one of the following display types:
IsoValSurf Color is drawn on the isovalues. This choice includes “Scale threshold”
ace slider barthat allows you to set a field value threshold so that iso
surfaces with field value lower than the given threshold will show as
translucent with given transparency specified by the slider bar below it.
When "Map transp." is checked, translucent iso surfaces field values
map to [0.0, transparency] so lower field value map to higher
transparency while higher field value to lower transparency. If it is
unchecked, all translucent iso surfaces will have the same given
transparency from the slider bar.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Cloud Field values are represented by points that illustrate the spatial
distribution of the solution. The higher the solution value, the greater the
cloud density. You can adjust particle spacing, Min. and Max, values,
and Particle size.
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.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
2. Select the plot folder you want to modify and 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.
Alternatively, to hide the color key, right-click on the color key in the active view window and
choose Hide from the shortcut menu.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Color keys will only be visible for the plots that are selected in the Active View Visibility dialog
box. If a hidden color key is shared by two or more overlay plots (such as a Heat Flux key, which
is shared by heat flux magnitude and heat flux vector plots), then the color key will be hidden in
all plots that share it. The Active View Visibility dialog box only lists a single incidence of a
particular key, regardless of how many overlay plots share it. Use this dialog box to restore
visibility of hidden color keys.
There are two cases of eligible radiation pattern plots for overlay, defining a single plane in a 3D
Polar Plot.
l Primary sweep on "Theta" and with one value for "Phi" in "Families" of curves, typically 0
or 90.
l 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
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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.
Radiation Pattern plots are added to the Overlay radiation field dialog that displays when you
right-click Field Overlays in the Project Tree and select Plot Fields>Radiation Field... from the
shortcut menu. The dialog lets you toggle visibility for the Model window and set plot parameters
for Transparency, Scale, and Type (2D or 3D).
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 2024 R1 - © 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. Typically, you can select the Families Tab, and select the desired Phi value.
When the plot is valid, Apply then shows the plot in the modeler 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.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
You can edit the visibility, transparency and scale of the polar plot by using the dialog.
You also toggle the overlay of an existing plot by right-clicking on the plot in the Project tree and
clicking Overlay Visibility on the shortcut menu.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
For a 3D polar plot to be eligible for overlay, it must have its primary and secondary sweep from
variables Phi and Theta or IWavePhi and IWave Theta in that order. If the plot is unsuitable, the
Overlay commands are disabled.
1. Create one or more suitable 3D Polar Plots of near or far fields for your model.
This enables the Radiation Field... command on the Plot Fields submenu.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
This displays a dialog listing any existing 3D polar plots of near or far fields.
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 box. Other properties of the 3D
plot are controlled in its properties window.
If a 3D polar plot is unsuitable for overlay, the message field provides a description of the
issue.
Ansys Electromagnetics Suite 2024 R1 - © 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.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
1. On the main menu click Q3D Extractor and then select Fields> Plot Fields> Marker>
Add 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> Add
Marker.
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 box 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 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
1. On the main menu click Q3D Extractor and then select Fields> Plot 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 Plot 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.
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.
2. On the main menu click Q3D Extractor and then select Fields> Plot Fields> Marker>
Delete Marker to delete the selected marker(s).
l Alternatively, you can right-click anywhere in the Modeler window, or on the Field
Overlays folder icon in the Project Manager, and select Plot Fields> Marker> Delete
Marker.
l You can also simply press the Delete key to delete the selected marker(s).
1. On the main menu click Q3D Extractor and then select Fields> Plot Fields> Marker>
Export Marker Table.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Alternatively you can right-click anywhere in the modeler window, or on the Field Overlays
folder icon in the Project Manager, and select Plot 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.
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 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
5. 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.
Modify the shape and size of markers in the plot attributes window:
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.
8. Click Close.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Important:
In the Solve Setup window, you must select the Save Fields option. See: Specifying
Solution Settings in Q3D Extractor.
To set up EM fields, access the EM Fields setup window one of two ways:
l In the Project Manager, right-click EM Fields > Insert EM Fields Setup > [Field Type].
l Select Q3D Extractor > EM Fields > Insert EM Fields Setup > [Field Type].
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
If desired, you can click View Sweep Points to preview a list of points based on your
entry.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The rectangle is centered at the coordinate system's origin, with length and width aligned
along the X and Y axis, respectively.
l In the U area, enter the rectangular field's Length. Use the drop-down menu to select a
unit of measure. Enter the number of Samples.
l In the V area, enter the rectangular field's Width. Use the drop-down menu to select a unit
of measure. Enter the number of Samples.
If desired, you can click View Sweep Points to preview a list of points based on your
entries.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The box is centered at the coordinate system's origin, with length, width, and height
aligned along the X, Y, and Z axis, respectively.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l In the U area, enter the rectangular field's Length. Use the drop-down menu to select a
unit of measure. Enter the number of Samples.
l In the V area, enter the rectangular field's Width. Use the drop-down menu to select a unit
of measure. Enter the number of Samples.
l In the W area, enter the rectangular field's Height. Use the drop-down menu to select a
unit of measure. Enter the number of Samples.
If desired, you can click View Sweep Points to preview a list of points based on your
entries.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
If desired, you can click View Sweep Points to preview a list of points based on your
entries.
l Click the Coordinate System tab to select either Use global coordinate system or Use
local coordinate system.
Important:
In the Solve Setup window, you must select the Save Fields option. See: Specifying
Solution Settings in Q3D Extractor.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Once you have added an EM Fields report, you can overlay it on your design:
1. In the Project Manager, right-click Field Overlays > CG Fields > EM Fields.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
2. In the Visible column, select the check box next to the EM Fields report you wish to
overlay.
Creating Animations
An animated plot is a series of frames that displays a field, frequency, parametric value, mesh,
virtual ray trace or geometry at varying values.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
To create an animated plot, you specify the values of the plot that you want to 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.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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.
Note:
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 accessing NVIDIA Control Panel> 3D Settings>
Manage 3D Settings – Global Settings tab and choosing the Workstation App –
Dynamic Streaming option from the Global Presets drop-down menu.
You can export the animation to animated Graphics Interchange Format (GIF), to Audio Video
Interleave (AVI) format, or to WebM (.webm) format.
Prerequisites
l For animation of geometry solving Design of Experiments setup is not required.
Procedure:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
1. Right-click in the Modeler window, and click View> Animate..., right click on the Design of
Experiments setup in the Project tree and click Animate... in the short-cut menu, or select
the View tab of the ribbon, and click the Animate icon.
If multiple geometries can be varied in the design, the Select Drawing dialog box
appears, proceed to step 2. If only one geometry is assigned variable(s), proceed to step
3.
2. In the Select Drawing dialog box select the drawing for animation. The drawing should be
appropriate for geometry animation:
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.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
If no existing animation setup is acceptable, select New and continue at Step 3 below.
3. If your have created one or more Design of Experiments setups for one or more geometric
variables, you can select, DOE setup to filter existing DesignOfExperimentsSetups, and
the setup to use, and the variable values to animate. With All variations checked, the
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
variable table is not selectable. If you uncheck All variations, you can use select from the
available setup values. All variations are selected [highlighted] when you uncheck All
variations.
If you check Sort variations, the values are sorted. You can click to select the variations
you want.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
4. Click OK.
The animation begins in the view window. It will display one frame for each variable value.
The Animation control panel lets you to stop, restart, and control the speed and
sequence of the frames.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l
Click HFSS>Fields>Animate .
l Right-click the field overlay plot of interest and click Animate... from the shortcut menu.
l Select the field overlay plot of interest, select the View tab of the ribbon, and click the
Animate icon.
4. If you already created an animation, the Select Animation dialog box appears
Selecting an existing animation from that list starts it when you click OK. Click Edit... to
open the Modify Animation Setup dialog. To create a new animation, click New and
the Create Animation Setup dialog box appears.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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.
9. Deselect the Use defaults check box. In the table, select the row corresponding to the
variable setting of interest.
10. Click OK and 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
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
desktop, enabling you to stop, restart, and control the speed and sequence of the frames.
Prerequisites
You must define at least one variable associated with the geometry before you create a
geometry animation.
If you want to overlay a Field Solution on a geometry animation you must have solved fields for
an Optimetrics setup using the same variable.
Procedure:
Following is the general procedure for creating an animation that varies a part of the model
geometry.
Select the View tab of the ribbon, and click the Animate icon.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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.
2. In the Select Drawing dialog box, select the object that you want to animate.
If previous animations have been created for this project, the Select Animation dialog box
will appear. Selecting an existing animation from that list starts it when you click OK. Click
Edit... to open the Modify Animation Setup dialog box. 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.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
5. If you have created a Design of Experiments setup, you can select to define an
animation based on that setup and values.
6. If the design has multiple project or intrinsic variables, you use the Design Point tab to set
the values of the non-animated variables.
7. Click OK.
The animation begins in the view window. It will display one frame for each variable value.
Prerequisites:
l You must define at least one variable associated with the geometry before you create a
mesh animation.
l You must create a Mesh plot.
Procedure:
1. Select the Mesh plot in the Project Manager, right-click in the Modeler window, and click
View> Animate..., or right-click the Mesh plot, and click Animate...
Select the View tab of the ribbon, and click the Animate icon.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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.
2. In the Select Drawing dialog box, select the object that you want to animate.
Note:
If previous animations have been created for this project, the Select Animation
dialog box will appear. Selecting an existing animation from that list starts it when
you click OK. Click Edit... to open the Modify Animation Setup dialog box. If no
existing animation setup is acceptable, select New and continue below.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
b. If desired, specify the values to include in the animation. Selected values are
highlighted.
c. If the design has multiple project or intrinsic variables, you use the Design Point tab to
set the values of the non-animated variables.
4. Click OK.
The animation begins in the view window. It will display one frame for each variable value.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The Animation control panel lets you to stop, restart, and control the speed and sequence
of the frames.
Prerequisites
l For animation of a field plot/overlay plot over a geometric variable, you must define and
solve at least one optimetric sweep with same variable values and Save Fields selected
before you can create a parametric animation of a field solution. See Creating Geometry
Animations.
l For animation of geometry and VRT plots, solving parametric setup is not required.
l Animations can be based on time variables and objects whose location is linked to the
time variable. See the animated example below.
Procedure:
1. Right-click in the Modeler window, and click View> Animate..., or select the View tab of
the ribbon, and click the Animate icon.
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 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note:
If previous animations have been created for this project, the Select Animation
dialog box 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.
3. If your have created one or more Parametric Sweeps for one or more geometric variables,
you can select Parametric setup, the setup to use, and the variable values to animate.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
4. Click OK.
The animation begins in the view window. It will display one frame for each variable value.
The Animation control panel lets you to stop, restart, and control the speed and
sequence of the frames.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
While a parametric animation is running, you can also turn on other field plots.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Prerequisites
Before creating a phase animation, you must solve a frequency sweep for the project.
Procedure:
Or right-click the field overlay plot of interest and click Animate... from the shortcut menu,
Or select the field overlay plot of interest, select the View tab of the ribbon, and click the
Animate icon.
If you already created an animation, the Select Animation dialog box appears. Selecting an
existing animation from that list starts it.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Selecting an existing animation from that list starts it when you click OK. Click Edit... to open
the Modify Animation Setup dialog.To create a new animation, click New.
3. Under the Swept Variable tab, select Single Variable and accept Phase.
4. Specify the phase values you want to include in the animation, as Start, Stop, and Steps to
include (e.g., 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.). If the
design has multiple project or intrinsic variables, click the Design Point tab to set the
values of the non-animated variables.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
8. Click OK and 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.
2. Type a name for the animation in the Name box, or accept the default name.
3. Optionally, type a description of the animation in the Description box.
4. Under the Swept Variable tab, the Swept Variable list includes all of the defined
geometric project and design variables. Select the geometry variable that you want to
animate from the Swept variable drop-down menu.
5. Specify the values of the variable that you want to include in the animation:
a. Type the starting value of the variable in the Start box.
b. Type the stopping value of the variable in the Stop box.
c. Type the number of steps to include in the animation in the Step Size box.
For example, if the Start value is 0.15in, the Stop value is 0.45in, and the step size
is 15, the animation displays the geometry at 15 values between 0.15 inches and
0.45 inches. The animation also includes the start value, which is the first frame
displayed, resulting in a total of 16 frames in the animation.
6. Click OK.
The animation begins in the view window. It will display one frame for each variable value.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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.
Animation Each dot on the slider represents a frame in the animation. Drag the slider to
slider the right to display the next frame in the animated plot. Drag the slider to the left
to display the previous frame.
Plays the plot 's animation sequence backwards.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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
information the control buttons.
Enables you to export the animation to an animated Graphics Interchange
Format (GIF) or to Audio Video Interleave (AVI) format.
It opens showing the selections for variables and the selected values.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
If other variables have been defined, you can select from the drop down list.
If the other variables have or can be set to appropriate values, you can modify the animation.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
If Parametric Setups or DOE Setups are available, you can select these.
Creating Animations
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Animation Each dot on the slider represents a frame in the animation. Drag the slider to
slider the 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
Enables you to export the animation to an animated Graphics Interchange
Format (GIF) or to Audio Video Interleave (AVI) format.
Closes the animation window.
Ansys Electromagnetics Suite 2024 R1 - © 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
check box appears in the animation. You can select the label with the mouse and drag it
to a 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.
Exporting Animations
You can export animations from the Animation control dialog, or, for Ensight format, from the
Select Animation dialog.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Navigate to the desired location and provide a file name. The format will be Ensight .case
files.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
4. When you select Save, the Ensight Case File Options dialog opens.
The binary option permits a more compact and efficient animation creation process in
Ensight. The Single File options leverages the Ensight transient dataset capability to
export all frames of field/geometry data to a single case file. On OK, every visible and
animatable field plot should generate a case file with name in the format of
“UserTypedName_fieldPlotName.case”
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
3. Specify the directory to Save in, the File name, and use the Save as type drop-down
menu to select Animated GIF File (.gif), AVI File (.avi), or WebM File (.webm).
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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:
l INTEL Indeo
l Cinepak
l Microsoft Video 1
l None
6. For GIF format export, specify the number of loops. The default "0" denotes infinite loops.
7. Click OK to close the Animation Options dialog box.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The Fields Calculator includes predefined expressions appropriate for each solver and lets you
create and save additional named expressions.
At the top-left corner of the calculator is a list of Named Expressions, which are standard or
user-defined field quantities that are accessible from outside of the calculator. They can be
added, copied to stack, saved to, or loaded from a library file using the buttons right beneath the
list.
At the top-right corner of the calculator is the Solution Context section, in which you can select
the desired solutions, field types, frequency, and phase for the current session.
The middle of the calculator contains the Data Stack, in which calculator entries are held in
stack registers. The data type in the Data Stack is denoted by its prefix abbreviation.
Immediately beneath the stack is the row of Stack Command buttons that define some basic
operations for the data in the Data Stack.
The bottom half of the calculator holds the columns containing the actual calculator buttons,
organized into columns, classifying them by the type of operation and the type of data upon
which the operation can be performed. These columns are headed Input, General, Scalar,
Vector, and Output. At the very bottom of the calculator is the button to exit, Done. The Fields
Calculator interface is discussed in detail in subsequent sections.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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.
Scripting Support
All calculator operations are fully scriptable. You can save the commands used in a Fields
Calculator session by first clicking the Tools > Record Script to File menu and replay the same
commands by clicking the Tools > Run Script menu in a later session.
In order to obtain high accuracy results from calculations on field data, we recommend that you
take extra precautions to assure that the model’s field data is dependable. This might include:
l Running the project to a tighter than usual convergence value.
l Seeding or manually refining the mesh in the areas to be used for calculations.
l Running parametric variations to isolate sensitivity to modeling parameters (such as
adaptation frequency or circular cross-section facetization).
l Specifying expressions for output convergence.
As long as the accuracy of specific field data points to be used has been assured, the results of
the Field Calculator operations should provide valuable information for your electromagnetic
design tasks.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Inputs/Excitations
Use HFSS > Fields > Edit Sources to set the field excitation appropriate to the calculation to
be performed. In some cases (e.g., FSS calculations) picking the right field solution set (incident,
scattered, or total) is also paramount to obtaining the intended result.
Any field calculation which has not yet been completed (such that the calculator stack still shows
some form of “text” string rather than a simple numerical value) is merely a placeholder. Altering
the field data loaded in the Post-Processor (by altering port excitations, changing frequency, or
picking a different solution set using HFSS > Fields > Edit Sources) will result in subsequent
evaluation of the placeholder to the newly loaded data. To preserve a placeholder's association
to an existing data set before altering the excitation to a different data set, you should export the
register stack by using the Write button. You can bring the correctly associated quantity back
into the stack by using Read after you have changed the field data set selection.
Units
All units in Driven HFSS field solutions are expressed in the MKS system, regardless of drawing
units. Therefore E-mag is always in V/m, H-mag in A/m, etc. The exception is that when plotting
along a geometry (e.g., along a line) the dimension along the X axis of the graph shows the
position along the line in the drawing units, while the vertical (field quantity) axis will be in the
MKS system.
Eigenmode Solutions
Field values in Eigenmode solutions are normalized to a peak value of 1.0, since there is no real
excitation to which to scale the internal field results. If desired, you can scale the peak value to a
user-selected number using the HFSS > Fields > Edit Sources menu.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
For example, 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.
To create a field overlay of a named expression, the expression must be a real value (scalar or
vector) that has values everywhere in space (or at least on every point in the geometry you plan
to use for the field overlay).
To create a 2D report from a named expression that evaluates in the Fields Calculator as a
single scalar value, the expression must result in a single-valued, real, scalar value. A single-
valued item could be the value on a single point in space or the result of a function that returns a
single value (such as an integration, max/value, min/value, or other function).
To create a 2D report from a named expression that is evaluated (in the Fields Calculator) along
a polyline, the expression must be a real scalar that has values everywhere in space (or at least
everywhere on the line object you want to use to sample the values).
Named expressions can be created in the Fields Calculator. Please see Field quantities in Q3D
Extractor and Field quantities in 2D Extractor for more information.
or
l Right-click Field Overlays in the Project Manager and choose Calculator from 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 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ansys Electromagnetics Suite 2024 R1 - © 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, Q3D, Icepak, and Mechanical). Some products have more than one
field type for different solution types. If only one Field Type is available the drop-down menu is
unavailable. 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 box. By default, it has
Use Nominal Design checked. Unchecking the box lets you select another variable value. OK
the dialog box to accept the selection.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
To perform a computation on the field solution, you must first load a basic field quantity into a
register on the stack.
Stack Commands
Stack Commands influence the entries in the calculator stack and their position. These
commands are for manipulating stack contents only, such as copy/paste, delete, or rearrange.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The names for these commands match standard stack manipulation conventions. Many are self
explanatory, and some can be used in pairs.
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
Deletes the top register from the stack.
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
Exchanges the top two registers in the stack.
Clear
Clears the contents of the stack.
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.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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.
The calculator is capable of performing operations on a number of different data types. In many
instances, a calculation requires certain type(s) of data to be present in the correct order in the
stack register. Many operations result in a different data type than the inputs. In order to show
you the type of data contained in each stack entry, calculator denotes its data type by a prefix
indicator as shown in Stack Contents showing Data Type Indicators (at left), below.
The following table describes and defines each indicator, and provides guidance regarding
operations which can convert data from one type to another.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Users must be cautious concerning what type of data the Fields Calculator is manipulating and
whether or not it is compatible with the desired operation. For example, the integral operation is
often misused. Note that the integral sign is in the Scalar column, implying that, to integrate
complex number/quantities, the user will have to integrate the real and imaginary components
separately. In other words, performing integration on complex number/quantities must be
achieved by parts.
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.
Input Commands
The Input Column contains all the calculator functions which place new values into the stack,
such as field data, constant, geometry data, coordinate system selection, or user-entered vector
or complex numbers.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Field data (e.g., E-field, H-field, Poynting vector) for the current project solution is input from the
Quantity drop-down menu selection.
The quantities specifically available from the calculator are dependent on the solution type and
include the E-field, H-field, J-vol (volume current), Poynting vector, Displacement, Temperature,
Heat Flux, and Surface and Volume Loss Densities. All quantities are Peak Phasors, and not
RMS quantities, with the phase information captured in the real and imaginary components and
the field orientation captured in the vector components. Although the Poynting vector is
automatically calculated by the interface as 0.5, it will appear in the calculator stack as a
Complex Vector quantity. The imaginary portion should however be zero or ignored.
Use the following commands to load data onto the top of the calculator stack:
Ansys Electromagnetics Suite 2024 R1 - © 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.
Quantity Command
The Quantity command loads a specified 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 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
listed.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Geometry Command
The Fields Calculator Geometry command opens a dialog box. From the dialog box, 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.
See Drawing a Point Object. Drawn points are listed in the History
Point Tree, and in the calculator's Geometry dialog box when Point is
selected.
See Drawing a Line Segment or Drawing a 3D Line Segment.
Drawn lines are listed in the History Tree, and in the calculator's
Line
Geometry dialog box when Line is selected. To set the number of
points on a line, see Geom Settings.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
This check box is only available when users select a sheet object for
surface geometry
● All calculation on this geometry will be done using data from the
adjacent side of the surface.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
In the modeler window, these Layout Component objects are drawn as visualizations
without actual geometry. However, they can be used to calculate field quantities as shown
below.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
These geometry operators can be used to perform computations just like one constructed
from regular 3D geometry. These additional objects are generated only after reading a
mesh, so they won’t show up if there is no solution.
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.
Constant Command
The Constant command loads one of the following four predefined constants or a selected
conversion constant into the top register of the calculator:
Pi π
Epsi0 The permittivity of free space, ε0 = 8.85418782 x 10-12 C2/Nm2
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Number Command
The Number command enters one of the following into the top register of the calculator:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Function Command
The Function command enters a predefined scalar or vector function into the top register of the
calculator:
A scalar function.
To enter a function:
1. Click Function.
Scalar
2. Select Scalar.
3. Select the function from the list.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Vector
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, and 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.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
2. Enter a value in the Line Discretization text box and click OK.
Read Command
This Read 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.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
General Commands
The General Column contains calculator operations which can be performed on many different
data types (e.g., vector, scalar, complex). With the exception of the Complex menu, all are
distinct functions. Most are self-explanatory, with the exception of Smooth which performs some
data “smoothing” or statistical averaging on the top stack entry.
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)
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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
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 Cat 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:
l A is the real part of the complex number.
l B is the imaginary part of the complex number.
The Complex commands includes a drop-down menu that let you do the following:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
to define the points , separately obtain the value of the real part, then the
imaginary part, and use those values to calculate the magnitude and and
phase. For the sequence for using the Fields Calculator to obtain the real
and imaginary parts, see the procedure here.
CmplxPhase Takes the phase of the complex quantity(φ).
Takes the complex conjugate of the quantity in the top register. If a complex
Conj
number is given by C = A + jB, its complex conjugate is given by C* = A - jB.
Lets you specify the phase angle, θ, at which an field quantity is evaluated.
These quantities can be represented in the form
.
where
AtPhase l ω is the angular frequency at which the quantities are oscillating,
specified during the solution.
l θ(x,y,z) is the phase angle (the offset from a cosine wave that peaks at
t=0).
Entering the phase angle lets you compute the real part of the field's
magnitude at different points in its cycle.
Converts the real scalar of the top register to the real part of a complex
CmplxReal
number.
Converts the real scalar of the top register to the imaginary part of a
CmplxImag
complex number.
Calculates the peak value of a given complex vector. Intuitively, this
CmplxPeak 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 filterednumeric, points that are filtered
out by the domain will not be written out.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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
(real2+imag2).
Mean Command
Takes the mean of the quantity in the top register.
Scalar Commands
The Scalar Column contains calculator operations which can only be performed on scalar stack
entries.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Drop-down menus in this column include Vec? (convert scalar to vector), Trig (trigonometric,
containing sin, cos, etc. functions), d/d? (derivative with respect to...), Max and Min (self-
explanatory), Gradient, ln (natural logarithm base e), log (logarithm base 10), mean, and Std
(standard deviation). Note that the calculator’s Integrate function is located in the Scalar column.
The implication is that integration can only be performed on scalar quantities. To perform
integration upon complex quantities, you must perform the integration separately on real and
imaginary subcomponents.
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)
Performs a selected trigonometric operation on the value in the top register of
the calculator stack (Sin, Cos, Tan, ASin, ACos, ATan). Angles are in radians.
Trig Additionally, the ATan2 operation is available, which requires two arguments.
This operator calculates the arc tangent of the following ratio:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Example: If the top register value is 1.5, and the second register value is 2, the
ATan2 function returns ATan(2/1.5) = 0.5880 radians. All other Trig functions
operate on a single argument (top register only).
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.
To perform integration upon complex quantities, you must perform the
(Integral) integration separately on real and imaginary subcomponents.
Computes the minimum of a scalar field quantity on a line, surface, or volume
Min
relative to your choice of Value or Position.
Computes the maximum of a scalar field quantity on a line, surface, or volume
Max
relative to your choice of Value or Position.
∇
Takes the gradient of the scalar quantity in the top register.
(Gradient)
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.
Vec? Command
Makes the scalar quantity in the top register a vector component. Choose from the following:
The x-component of a
VecX
vector.
The y-component of a
VecY
vector.
The z-component of a
VecZ
vector.
Pow Command
Raises a scalar quantity to the power you specify.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
(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 any geometry selection onto the calculator stack. Q3D Extractor
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.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Min Command
Computes the minimum of a scalar field quantity on a line, surface, or volume. Two options are
available:
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.
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.
Ansys Electromagnetics Suite 2024 R1 - © 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.
∇ (Gradient) Command
Takes the gradient of the scalar quantity in the top register.
Ln Command
Takes the natural logarithm (base e) of the scalar quantity in the top register.
Log Command
Takes the logarithm (base 10) of the scalar quantity in the top register.
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:
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.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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.
Dot Command
Takes the dot product of the vector quantities in the top two registers.
Cross Command
Takes the cross product of the vector quantities in the top two registers.
Divg Command
Takes the divergence of the vector quantity in the top register.
Curl Command
Takes the curl of the vector quantity in the top register.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Tangent Command
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:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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 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 Q3D
Extractor, the fields calculator uses the surface normal of the face of the 3D object
that is coincident with the sheet.
Computes the unit vector tangent to the line specified at the time of plotting,
Tangent
integrating, or report generation based on the context.
Computes the unit vector normal to the surface specified at the time of plotting,
Normal
integrating, or report generation based on the context.
Computes the unit vector in the X-dimension of the relative coordinate system
CoordSys
in the top register of the calculator stack. Add the relative CS as a geometric
(X)
object using the Geometry/Coord command.
Computes the unit vector in the Y-dimension of the relative coordinate system
CoordSys
in the top register of the calculator stack. Add the relative CS as a geometric
(Y)
object using the Geometry/Coord command.
Computes the unit vector in the Z-dimension of the relative coordinate system
CoordSys
in the top register of the calculator stack. Add the relative CS as a geometric
(Z)
object using the Geometry/Coord command.
X Form
Fields are defined in the Cartesian coordinate system. In many applications it is much more
convenient to use a cylindrical or spherical coordinate system – for example, when the object is
of cylindrical or spherical shape. The XForm command allows the user to transform vectors into
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
either the cylindrical or spherical coordinate system. Selecting XForm displays a selection menu
for the coordinate system (ToCylindrical or ToSpherical):
After you select the coordinate system you want, the Offset Values dialog displays.
Here you enter X, Y, and Z offsets to be used as the origin of the new coordinate system.
Click OK to compute the offset coordinate transformation to apply to the (complex) vector
quantity in the top register on the calculator stack based on your selection of Cylindrical or
Spherical coordinates and your input of X, Y, and Z offsets. The new expression will be pushed
onto the stack. This provides the origin of the new coordinate system. 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.
After you transform the quantities, you can then access the vector components in the Fields
Calculator.
You will then use the ScalarX/ScalarY/ScalarZ commands under Scal?. For a vector converted
to cylindrical coordinates, ScalarX gives the radial component, ScalarY gives the phi (polar)
component, and ScalarZ gives the Z component. For a vector in spherical coordinates, ScalarX
gives the radial component, ScalarY gives the phi (polar) component and ScalarZ gives the
theta (azimuthal) component.
Std Command
Takes the standard deviation of the quantity in the top register.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Vector Commands
The Vector Column contains calculator operations which can only be performed on vector stack
entries. Drop-down menus in this column are Scal? (convert vector to scalar) and Unit Vec
(create unit vector). Standard vector algebra operations (Dot, Cross, etc.) are also present.
Scal? Replaces the vector in the top register with a scalar quantity whose value is a
component of the vector, your choice of ScalarX, Scalar Y, or ScalarZ.
Matl Multiplies or divides the vector field quantity in the top register by a material
property, or 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 Vec 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.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Output Commands
The Output Column contains those calculator operations that result in final data outputs from
calculations. The Eval button obtains final numerical results from the last stack placeholder
(such as integrations).
Use these commands to compute or evaluate expressions and to output the data in the
calculator.
Value
Computes the value of a field quantity on a geometry.
command
Eval Numerically evaluates and displays the results of calculator operations from
command the last stack placeholder, such as integrations.
Write
Saves the contents of the top register to a disk file for future re-use.
command
Export Saves field quantities in a format that can be read by other modeling or post-
command processing software packages.
To plot/tabulate the extracted data using create report or create field overlays, you should use a
named expression.
Value Command
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The Value command applies the value of the next-to-top stack entry (a field quantity) on the
geometry entry at the top stack entry. The field quantity entry may be scalars, real or complex
vectors. The geometry entry may be of any type (point, surface, line, or volume).
For example, if the top stack entry in the Field Calculator is a surface and the second stack
register is for the real part of the E Vector ("Real(<Ex, Ey, Ez>)"), the resulting quantity will be an
expression for the real part of the E vector on the surface (a VecSrf quantity). Again, the result of
this command is still a placeholder expression, not the final numerical values.
Strictly speaking, the Value command provides access to the field quantity, not data outputting.
It simply provides a handle to the (numerical) values of a field quantity on a given geometry, and
thus the outcome of the command is not numerical values themselves. If the numerical value of
a field quantity is desired, you will need to follow it up with one of the three other output
commands, or define a named expression for the quantity and plot it with the Reporter.
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 2024 R1 - © 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.
Eval Command
The Eval command finalizes computations and converts the text-string indicating the
computation being performed to an actual numerical value. 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. For this command to work
properly, the stack entry must be reduced to a single-value entry which can be a scalar,
complex, or vector (real or complex). 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. Units of the numerical value are not provided.
For a calculator expression that evaluates to a single value, the Eval command offers a quicker
way to obtaining the final numerical result than defining a named expression and then trying to
plot/tabulate it in the reporter. But for many expressions that don't evaluate to single values,
such as the wave impedance along a line mentioned earlier, Eval command does not apply. As
such, use of named expression and the Report Editor will be the only option.
Evaluate the expression for voltage along a line shows the definition of an expression for the
voltage between two conductors by integrating the electric field along a line using the recipe
given for Calculating the Current along a Wire or Trace. Then, by clicking the Evaluate command
in the Output column, we obtain the numerical value for the voltage as shown in the top of the
stack. It can then be either written down or copied/pasted to other programs.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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:
Write Command
If the calculator operations performed have obtained a stack entry that is intended for use in still
other calculator operations, the stack entry can be saved for this purpose by using the Write
button in the calculator Output column.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note that in this case no name will be requested for the expression; only a save filename
location will be required. This function will not work for field values derived upon a specific
geometric quantity (those containing either Lin, Srf, or Vol in the stack data type indicator) as the
calculator cannot know that these geometric quantities exist in identical forms in other post-
processing sessions.
When you try to read a file written with the Write command by clicking the Read button in the
Input column, you must ensure that the mesh used for generating the current solution is the
same as the one with which the saved field data is generated. Since the two results must be
generated on the same mesh, not only the geometries of the designs on which the Write/Read
commands were applied must be the same, they must also have gone through the same
adaptive meshing process. In practice, this limits the use of Write/Read command to solutions
for different frequency sweeps of the same analysis (adaptive) setup of the same design.
This command saves the contents of the top register to a disk file. Use this command to:
l Save registers for use during a later post-processing session.
l Save a field quantity for use when post processing a different model.
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 data with a constrained quantity (such as jsurf), you see a
dialog that gives a choice of constraining geometries. For example:
Ansys Electromagnetics Suite 2024 R1 - © 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.
Export Command
To output a field quantity or calculation result for use by some third-party post-processors, use
the Export button in the calculator Output column. You can map the field quantity to either a
customized grid of points specified by a points file or a three-dimensional Cartesian, Cyclindrical,
or Spherical grid specified interactively through a dialog box. In the latter case, you must specify
the dimensions and spacing of the grid in the coordinate system with units. For Cyclindrical and
Spherical coordinate systems, you can also specify an offset from the origin.
The Export command opens the Export Solution dialog box, from which you can export the
field quantity in the top register to a file, mapping it to a grid of points.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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 grid
Maps the field quantity to a customized grid of points. Before using this
points
command, you must create a file containing the points and units.
from file
Maps the field quantity to a three-dimensional cartesian grid. You specify the
Calculate
dimensions and spacing of the grid in the cartesian, cylindrical, or spherical
grid
coordinates, with units that you specify. The initial units are taken from the
points
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 2024 R1 - © 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
File Name text box. You can use the file icon to open the file browser to specify the file
name and directory path. The .fld extension is automatically assigned to this file.
5. If the design contains multiple coordinate systems, a drop-down menu lets you select the
coordinate system to use. This can be helpful in evaluating the fields output when relative
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
6. 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.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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.
7. For larger files, for the Export Settings,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.
8. You can also specify SI or Model Units. Modul Units can be helpful to evaluate the fields
output when relative coordinate systems are unitized in the design.
9. If field to be exported has type vector or complex vector, the 'Export Field in reference CS'
checkbox is enabled and you can specify that field to be exported in reference CS. It can
be helpful to evaluate the fields output when rotated coordinate systems are unitized in the
design
The field quantity is mapped to the grid and saved to the file you specified (.fld
extension.).
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
2. In the Target Design drop-down menu, click the design containing the solution data you
want to plot.
3. Select Fields from the Report Type drop-down menu.
4. In the Display Type drop-down menu, select the type of report you want to create.
5. Click OK.
6. In the Solution drop-down menu, 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.
1. Click Q3D Extractor or 2D Extractor and then click Results> Create Report.
2. In the Target Design drop-down menu, click the design containing the solution data you
want to plot.
3. Select Fields from the Report Type drop-down menu.
4. In the Display Type drop-down menu, select the type of report you want to create.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
5. Click OK.
6. In the Solution drop-down menu, click the solution containing the data you want to plot.
7. Select the geometry you want to plot from the Geometry drop-down menu.
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. The list will not contain 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
synchronizes. Once you have created a report, additional options become available on
the Results submenu.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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 a Q3D Extractor 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):
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Mechanical.
Mag(Smooth(<Ux,Uy,Uz>)). Magnitude of
Mag_Displacement displacement, used with Workbench in projects
exploring stress feedback.
Smooth(<Ux,Uy,Uz>). Used with Workbench in
Displacement_Vector
projects exploring stress feedback.
You can combine calculator Input commands in any legal fashion, including complex quantities,
to produce new named expressions.
l Adding named expressions to the Fields Calculator expression library
l Copying named expressions to the Calculator Stack
l Saving named expressions to a Personal Library
l Loading named expressions
l Deleting named expressions that you added
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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.
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:
2. If any new named expressions exist, you can select one or more to save to a file.
3. Specify 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.
Ansys Electromagnetics Suite 2024 R1 - © 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.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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. 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.
This means that you select solution, context, and 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.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Import Statements
The base class to use 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:
from Ansys.Ansoft.ModulePluginDotNet.Common.API import *
from Ansys.Ansoft.ModulePluginDotNet.Common.API.Interfaces import *
from Ansys.Ansoft.ModulePluginDotNet.UDO.API.Interfaces import *
from Ansys.Ansoft.ModulePluginDotNet.UDO.API.Data import *
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.
The UDOExtension abstract class declares the optional Validate abstract method that may be
implemented in the UDOExtension class or one of its base classes.
Example:
def BaseClassUDO ((IUDOPluginExtension):
#base class implementation
…
def UDOExtension ((BaseClassUDO):
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Validate
This optional method is used to validate the user choices. The values of the properties entered,
the probes etc. can be checked for suitability. This function, while a part of the
IUDOExtensionabstract class, has a meaningful default implementation and is therefore
optional. However, it can be overridden to take advantage of advanced functionality.
UI Access NA
Name Type
Description
<errorStringList> List<string>
[out] C# list of
Python strings.
Should be set only
if validation failed;
ignored if
validation is
successful. One
error string should
Parameters be set per each
validation error.
<udsProbParams> List<UDSProbeParams> [in] C# list of
UDSProbeParams
objects.
<propList> IPropertyList object [in] list of
properties
< List<UDSProbeParams> [in] C# list of
userSelectionForDynamicProbes UDSProbeParams
> objects.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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.
l GetUDSName
l GetUDSDescription
l GetUDSSweepNames
l GetCategoryNames
l GetQuantityNames
l GetQuantityInfo
l GetInputUDSParams
l GetDynamicProbes
l Compute
GetUDSName
Return a string that is used as a prefix for all solution instances created using this UDO.
UI Access NA
Parameters None
Python GetUDSName
Syntax
def GetUDSName(self):
Python
return "MinMaxAvg"
Example
udsName = UDOPluginEntention.GetUDSName
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
GetUDSDescription
Returns a description for the UDO, its purpose, etc. This is used in multiple UDO related dialogs
in the application to describe the UDO.
UI Access NA
Parameters None
Python GetUDSDescription
Syntax
GetUDSSweepNames
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.
UI Access NA
Parameters None
Return Value List of strings. If the UDO outputs have no sweeps, return the empty list [].
Python GetUDSSweepNames
Syntax
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
GetCategoryNames
The outputs that the UDO solution provides or generates can be classified into multiple
categories, like how the application is displayed in the report creation dialog box.
The output will be listed in the categories box in the dialog when creating
UI Access
reports from the UDO generated solution data.
Parameters None
Python GetCategoryNames
Syntax
GetQuantityNames
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:
The quantity names must be unique across the categories; that is, no two categories
can have quantities with the same name.
UI Access NA
Python GetQuantityNames(<categoryName>)
Syntax
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
GetQuantityInfo
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.
UI Access NA
Python GetQuantityInfo(<quantityName>)
Syntax
GetInputUDSParams
This is the main definition method of the UDO. The supplied arguments 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.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
When a report is created from the UDO dialog box, the category and quantity
names specified by the UDO are used (as seen below).
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Return Value Boolean. If true, the event was handled successfully. If false, it was not.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
return True
GetDynamicProbes
This is the primary mechanism by which the UDO script obtains the probe data (as double
precision values) for its compute process.
UI Access NA
Return Value Boolean. If true, the method was successful. If false, it was not.
Python GetDynamicProbes(<dynamicProbes>)
Syntax
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Compute
This is the main computation method which generates the data for the quantities that make up
the UDO solution.
The data is received from the UI using IUDSInputData. It is processed and the
UI Access
result data is sent to the UI using IUDSOutputData.
Return Value Boolean. If true, the method was successful. If false, it was not.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
maxVal:
maxVal = probeVal
avgSum += probeVal
if seenAny:
avgVal = avgSum/probeData.Count
To pass data from a Python script to the UI, the objects must be created in the Python script.
Then they can be set as a function's return values or set to the output parameters using their
API.
Constants
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Abstract Classes
l IProgressMonitor
l IUDSInput
l IUDSOutput
IUDSInputData
The purpose of this class is to get data (probe and sweep) from Desktop. The IUDSInputData
abstract class declares the following abstract methods:
l GetDoubleProbeData
l GetSweepsDataForProbe
l GetComplexProbeData
l GetSweepNamesForProbe
l GetRequiredQuantities
l GetVariableValues
l GetInterpolationOrdersData
Examples in this section are just to show proper syntax of the function calls. For actual usage of
the class, see the Compute function's example.
GetDoubleProbeData
This is the primary mechanism by which the UDO script obtains the probe data (as double
precision values) for its compute process.
UI Access NA
Double array of data for the specified probe if the probe exists or null if the
Return Value
probe is unknown.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
GetSweepsDataForProbe
All probe data that is supplied is associated with one or more sweep (an intrinsic quantity like
Time, Frequency, Theta, Phi, etc. that is swept) quantities.
UI Access NA
Return Value Double array of data for the specified probe and sweep.
GetComplexProbeData
The primary mechanism by which the UDO retrieves data for its input probes (if it expects
complex data for the probe).
UI Access NA
Return Value Double array (float in Python) of data for the specified probe. Each pair of
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
floats represents one complex number. The first value is for real part and the
second value it the imaginary part. For instance, array [10.0, 0, 5.1, 2.1]
represents 2 complex numbers: (10.0, 0) and (5.1, 2.1).
Python GetComplexProbeData(<probeName>)
Syntax
GetSweepNamesForProbe
Retrieves a 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).
UI Access NA
Return Value IList<string> - list of sweep names for the current probe name.
Python GetSweepNamesForProbe(<probeName>)
Syntax
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
GetRequiredQuantities
A given UDO can specify that it provides one or more computed quantities. The user might
choose to create a report from only a few among the various available UDO outputs. This
function returns the list of UDO output quantities that the user requested. Only these need be
computed in the UDO's Compute method.
UI Access NA
Parameters None
Python GetRequiredQuantities()
Syntax
GetVariableValues
This allows the UDO to obtain the names and values of all the design variables for which the
UDO quantities are being requested.
UI Access NA
Parameters None
Python GetVariableValues()
Syntax
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
GetInterpolationOrdersData
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.
UI Access NA
Byte array of interpolation order for the specified probe. These are to be
Return Value
treated as 8-bit signed integers, that is, their values range from 0-127.
Python GetInterpolationOrdersData(<probeName>)
Syntax
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. The IUDSOutputData abstract class declares the following abstract
methods:
l SetSweepsData
l SetDoubleQuantityData
l SetComplexQuantityData
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Examples in this section are just to show proper syntax is function calls. For actual usage of the
class, see the Compute function example.
SetSweepsData
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.
UI Access NA
Return Value Boolean. If true, the event was handled successfully. If false, it was not.
SetDoubleQuantityData
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.
UI Access NA
Return Value Boolean. If true, the event was handled successfully. If false, it was not.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
SetComplexQuantityData
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.
UI Access NA
Return Value Boolean. If true, the method was successful. If false, it was not.
doubleFromComplexList=[]
complexList = [(1+1j), (2+4j), (9.1+3.2j)]
Python for aComplex in complexList:
Exampl doubleFromComplexList.append(aComplex.imag)
e doubleFromComplexList.append(aComplex.real)
outData. SetComplexQuantityData ("V1PlusV2",
doubleFromComplexList)
There are 3 supported property types that could be used in the UDO script:
l INumberProperty to specify number properties (with unit support).
l IMenuProperty to allow the user to select from a list of options.
l ITextProperty to allow the user to enter text.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Attributes:
l AllProperties (IEnumerable<IProperty> - see IProperty)
l NumProperties (int)
Functions:
l GetProperty(string propName): Returns a named property as an IProperty.
l GetMenuProperty (string propName): Returns the named property as an IMenuProperty.
l GetTextProperty (string propName): Returns the named property as an ITextProperty.
l GetNumberProperty (string propName): Returns the named property as an
INumberProperty.
l DeleteProperty (string propName): Deletes an already added named property.
l AddNumberProperty(string name, string numberWithUnits): Adds a new number
property. If a property with the same name already exists, it is overwritten.
l AddTextProperty(string name, string textValue): Adds a new named text property with the
supplied value. Any existing property with the same name is overwritten.
l AddMenuProperty(string name, IList<string> menuChoices): Creates a new named menu
property with the supplied list of choices. The default selection is set to item 0 (the first
item). Any property with the same name is overwritten.
Attributes:
l Name (string)
l Description (string)
l PropType (read-only EPropType - see Constants)
Constructor:
l IProperty(string name, EPropType type)
The class is used as base class for INumberProperty, IMenuProperty, and ITextProperty.
Base class:
l abstract class IProperty
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Attributes:
l ValueSI (read-only double)
l ValueInUnits (read-only double)
l Units (read-only string)
l HasUnits (read-only bool)
Constructor:
l INumberProperty(string name)
Functions:
l Set(string numberWithUnits)
l SetDouble(double number, string unitString)
Base class:
l abstract class IProperty
Attributes:
l Text (string)
Constructor:
l ITextProperty(string name)
Base class:
l abstract class IProperty
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:
l IMenuProperty (string name)
Example:
# adding data to IPropertyList propList; used in Compute function
prop = propList.AddNumberProperty('Offset 1', '0')
prop.Description = 'Trace 1 Offset'
prop = propList.AddNumberProperty("TRATE", "800 MHz")
Post Processing and Generating Reports 16-432
prop.Description = "Frequency"
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
prop = propList.AddTextProperty("Text", "The Text")
information of ANSYS, Inc. and its subsidiaries and affiliates.
prop.Description = "Text Property"
Q3D Extractor Help
Constants Class
UDSProbeParams Class
UDSDynamicProbes Class
QuantityInfo Class
Constants Class
The constants used in a Python script are defined in the Constants class.
Attributes:
l kDoubleParamStr : string constant used to specify double as the type of a quantity
l kComplexParamStr: string constant used to specify complex as the type of a quantity
l Enum EPropType: (used to set property type)
o EPropType.PT_NUMBER
o EPropType.PT_TEXT
o EPropType.PT_MENU
Example:
paramType = Constants.kDoubleParamStr
propType = Constants.EPropType.PT_NUMBER
UDSProbeParams Class
This class defines which data quantity that a UDO will be pulled from the Design to compute the
UDO output (results). The objects of this class must be created in a Python script with the
GetInputUDSParams function. They are supplied to the Validate function if implemented.
Attributes:
l ProbeName (read-only string)
l ProbeDescription (read-only string)
l ParamType (read-only string)
l ReportTypeName (read-only string)
l ComponentExpression (read-only string)
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Example:
udsProbParam = UDSProbeParams("probe1","", Constants.kDoubleParamStr,
"", "",)
UDSDynamicProbes Class
Attributes:
l UDSParam (read-only UDSProbeParams)
l UserSelectedProbeName (read-only string)
Example:
udsProbParam = UDSProbeParams("probe1","", Constants.kDoubleParamStr,
"", "",)
selectedName = "probe1"
udsDynamicProbParam = UDSDynamicProbes(udsProbParam, selectedName )
QuantityInfo Class
Attributes:
l ParamType (read-only string)
l FullUnitType (read-only string)
Constructors:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l QuantityInfo(string paramType)
l QuantityInfo(string paramType, string fullUnitType)
Parameters:
l paramType can be one of the Constants:
o kDoubleParamStr
o 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)
quantityInfo2 = QuantityInfo(Constants.kDoubleParamStr,"ghz")
The object of this class is a progress monitor. It displays a task's calculated progress in the UI
and checks if the user has requested to abort the computation. Use this object for computations
that take a long time to complete or if the UI might freeze during 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
Example:
progMon.BeginTask("Process DQS")
progMon.SetSubTaskName("Compute UI segments")
progMon.SetTaskProgressPercentage(33)
progMon.SetSubTaskName("Compute the rest")
progMon.SetTaskProgressPercentage(100)
progMon.EndTask(True)
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note:
SetTaskName
UI Access NA
SetSubTaskName
UI Access NA
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
BeginTask
Sets the name of the task whose progress will be monitored. Call this method only once for each
task and subtask.
UI Access NA
SetTaskProgressPercentage
UI Access NA
Python progMon.SetTaskProgressPercentage(33)
Example
CheckForAbort
Checks if a user has aborted the task. Call this method if the quantities are computationally
expensive. This method can be called multiple times.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Parameters None
Boolean flag that if true indicated that the user requested an abort and you
Return Value
should call EndTask. If false, allow the task to continue.
Python CheckForAbort
Syntax
EndTask
Stops a task from running. Call this method only once for each task and subtask. In a script,
there should be the same number of BeginTask calls as EndTask calls.
UI Access NA
Python progMon.EndTask(True)
Example
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
.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:
for sweep in sweepsNamesList:
print sweep
for in in xrange(listSize)
print sweepsNamesList[i]
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:
varValuesSize = varValues.Count
varValuesSize = len(varValues)
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:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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)
Example script:
##############################################################
# Imports
##############################################################
from Ansys.Ansoft.ModulePluginDotNet.Common.API import *
from Ansys.Ansoft.ModulePluginDotNet.Common.API.Interfaces import *
from Ansys.Ansoft.ModulePluginDotNet.UDO.API.Interfaces import *
from Ansys.Ansoft.ModulePluginDotNet.UDO.API.Data import *
class UDOExtension(IUDOPluginExtension):
def __init__(self):
pass
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
def GetUDSName(self):
return "MinMaxAvg"
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
"", "")
udsParams.Add(param1)
return True
#-----------------------------------------------------------------
# IUserDefinedSolutionHandle API implementation.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
count = 0
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
else:
if probeVal < minVal:
minVal = probeVal
if probeVal > maxVal:
maxVal = probeVal
avgSum += probeVal
if seenAny:
avgVal = avgSum/probeData.Count
# Finally set the output values. Note that these are always set
# as lists even if we have just one item.
outData.SetDoubleQuantityData("min_val", [minVal])
outData.SetDoubleQuantityData("max_val", [maxVal])
outData.SetDoubleQuantityData("avg_val", [avgVal])
AddErrorMessage
UI Access NA
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
AddInfoMessage
Call this method to convey an informational message to the user. This is the call to use when
outputting messages for debugging purposes.
UI Access NA
AddWarningMessage
Call this method to convey a warning message, typically used for conditions that are not ideal
but can be tolerated by the script.
UI Access NA
Ansys Electromagnetics Suite 2024 R1 - © 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
sys.path.append("full path to your .NET assembly location")
Ansys Electromagnetics Suite 2024 R1 - © 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 Q3D Extractor> 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.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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 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 box the report type (Standard,
Eye Diagram, User Defined), solution name, context, and the quantity for which you want the
trace data.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
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 2024 R1 - © 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 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
assembly called com.Acme.UDDLib You can keep the .NET assembly under:
l UserDefinedDefintions\Lib
l UserDefinedDefintions\a\Lib
l UserDefinedDefintions\a\b\Lib
l UserDefinedDefintions\a\b\c\Lib
3. Add the following lines to your Python script:
l Import clr
l clr.AddReference("com.Acme.UDDLib")
l import com.Acme.UDDLib -or- from com.Acme.UDDLib import * etc
If for some reason you cannot place the .NET assemblies into a Lib directory under
UserDefinedDefintions, you need to do a couple more steps before step 3 listed above:
l Import sys
l sys.path.append("full path to your .NET assembly location")
This API supports multiple data types in the forms of constants and classes. It also has several
input interfaces.
User Defined Document scripting commands are provided in this product's scripting guide. An
complete example with a line by line explanation of how to use these methods is available.
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 UDD script: the following import
statements should be added to the top of the python script:
from Ansys.Ansoft.DocGeneratorPluginDotNet.DocGenerator.API.Data
import *
from
Ansys.Ansoft.DocGeneratorPluginDotNet.DocGenerator.API.Interfaces
import *
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
To pass data from a Python script to the UI, the objects of the C# class must be created in the
Python script using their C# constructors. Then they can be set as a function's return values or
set to the output parameters using their API.
Constants
Abstract Classes
The object of this class is a progress monitor. It displays a task's calculated progress in the UI
and checks if the user has requested to abort the computation. Use this object for computations
that take a long time to complete or if the UI might freeze during 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
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l SetTaskProgressPercentage(int progressPercent)
l CheckForAbort()
l EndTask (bool passFail)
Example:
progMon.BeginTask("Process DQS")
progMon.SetSubTaskName("Compute UI segments")
progMon.SetTaskProgressPercentage(33)
progMon.SetSubTaskName("Compute the rest")
progMon.SetTaskProgressPercentage(100)
progMon.EndTask(True)
Note:
SetTaskName
UI Access NA
SetSubTaskName
UI Access NA
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
BeginTask
Sets the name of the task whose progress will be monitored. Call this method only once for each
task and subtask.
UI Access NA
SetTaskProgressPercentage
UI Access NA
Python progMon.SetTaskProgressPercentage(33)
Example
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
CheckForAbort
Checks if a user has aborted the task. Call this method if the quantities are computationally
expensive. This method can be called multiple times.
Parameters None
Boolean flag that if true indicated that the user requested an abort and you
Return Value
should call EndTask. If false, allow the task to continue.
Python CheckForAbort
Syntax
EndTask
Stops a task from running. Call this method only once for each task and subtask. In a script,
there should be the same number of BeginTask calls as EndTask calls.
UI Access NA
Python progMon.EndTask(True)
Example
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The IUDDPluginExtension abstract class declares the following abstract methods which must
be implemented in the UDDExtension class or one of its base classes. If any of these methods
are not implemented, a run-time error will occur and the UDD will not function.
l GetUDDName
l GetUDDDescription
l ShowDefaultSetupDialog
l GetUDDInputParams
l Generate
GetUDDName
Retrieves a prefix to use for all solution instances created using this UDD.
UI Access NA
Parameters None
Python GetUDDName()
Syntax
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
GetUDDDescription
UI Access NA
Parameters None
Python GetUDDDescription()
Syntax
ShowDefaultSetupDialog
Retrieves whether to show the default setup dialog box. If not, the user might want to implement
or show a customized setup dialog.
UI Access NA
Parameters None
Boolean. If true, the default dialog should be shown. If false, the user does
Return Value
not want to see the default dialog.
Python ShowDefaultSetupDialog()
Syntax
GetUDDInputParams
Retrieves inputs parameters for the User Defined Document. These parameters are the input’s
name, description, and data type. The UDD user specifies the value of the inputs through a
dialog or within the script.
UI Access Depending on the input parameters, the following dialog may be displayed when
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
you click Q3D Extractor> Results> Create Document. The name and
description of the UDD are also displayed in this dialog.
Return Boolean. If true, the method was successful. If false, it was not.
Value
Pytho GetUDDInputParams(<probeName>)
n
Syntax
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
uddInputs.Add(param2)
# Number input
param3 = UDDInputParams("Version","Script Version",
Constants.kNumberTypeStr, 1021)
uddInputs.Add(param3)
# Solution input
param5 = UDDInputParams("DLMetrics","Data Line
Metrics",Constants.kSolutionTypeStr)
uddInputs.Add(param4)
# Trace input
param5 = UDDInputParams
("DQ0","DQ0",Constants.kTraceTypeStr)
uddInputs.Add(param5)
return True
Generate
This is the main method which accesses the data from the uddInputs and generates the
document.
UI Access NA
Return Value Boolean. If true, the method was successful. If false, it was not.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
# Add Section
section1 = docroot.AddSection("Summary", "Overall
Results ")
# Add a table
table1 = section1.AddTable("Test Summary")
oProject = oDesktop.GetActiveProject()
if oProject != None:
projectname= oProject.GetName()
text1 = tgroup1.AddContent()
text1 .Add(0, "Project")
text1 1.Add(1, projectname)
oDesign = self.GetUDDDesignContext()
if oDesign != None:
designname = oDesign.GetName()
text1 = tgroup1.AddContent()
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
return True
SetupUDDInputParams
This optional method displays a customized dialog and returns the user choices for the input
params.
UI Access NA
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Return Value Boolean. If true, the event was handled successfully. If false, it was not.
Python SetupUDDInputParams(<uddInputs>)
Syntax
# Number input
param3 = udddialog.GetInput("Version")
uddInputs.Add(param3)
HandleUDDEvents
This optional method is the event handler for all link events set by the SetEventLink() method on
a IUDDText. Refer to the definition of the IUDDText object in the Document Generator Interface.
The tags associated with the event are received by plugin using this abstract class.
UI Access NA
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Return Value Boolean. If true, the event was handled successfully. If false, it was not.
Python HandleUDDEvents(<eventTags>)
Syntax
GetUDDSchema
This optional method retrieves the file path of the schema to validate the XML. This will override
the default schema used.
UI Access NA
Parameters None
Return Value String containing the full file path of the schema.
Pytho GetUDDSchema()
n
Synta
x
def GetUDDSchema(self):
Pytho
return "C:\\Program
n
Files\\AnsysEM\\v241\\Win64\\common\\docbook\\schema\\xsd\\doc
Exam
book.xsd"
ple
schemaPath = pluginExt.GetUDDSchema()
GetUDDStyleSheetForHtml
This optional method retrieves the file path of the style sheet used to generate the HTML
document. This will override the default stylesheet for HTML.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
UI Access NA
Parameters None
Return Value String containing the full file path of the style sheet.
Python GetUDDStyleSheetForHtml()
Syntax
def GetUDDStyleSheetForHtml(self):
Python
return "C:\\Program
Exampl
Files\\AnsysEM\\v241\\Win64\\common\\docbook\\"
e
styleSheet = pluginExt.GetUDDStyleSheetForHtml()
GetUDDStyleSheetForPdf
This optional method retrieves the file path of the style sheet used to generate the PDF
document. This will override the default stylesheet for PDF.
UI Access NA
Parameters None
Return Value String containing the full file path of the style sheet.
Pytho GetUDDStyleSheetForPdf()
n
Synta
x
def GetUDDStyleSheetForPdf(self):
Pytho
return "C:\\Program
n
Files\\AnsysEM\\v241\\Win64\\common\\docbook\\xsl\\fo\\docbook
Exam
.xsl"
ple
styleSheet = pluginExt.GetUDDStyleSheetForPdf()
GetFopExecutable
This optional method retrieves the file path of the fop executable used to generate the PDF
document.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
UI Access NA
Parameters None
Return Value String containing the full file path of the fop executable.
Pytho GetFopExecutable()
n
Syntax
GetUDDAppContext
This optional method retrieves the UDD Owner if it is set. This is a Dispatch wrapper that is
essentially a COM IDispatch implementation and corresponds to the IDispatch pointing to the
desktop app.
UI Access NA
Parameters None
Python GetUDDAppContext()
Syntax
GetUDDDesignContext
This optional method retrieves the UDD Owner if it is set. This is a Dispatch wrapper that is
essentially a COM IDispatch implementation and corresponds to the IDispatch pointing to the
design.
UI Access NA
Parameters None
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Python GetUDDDesignContext()
Syntax
UDDExtension Class
The UDD itself should be implemented as an IronPython class called UDDExtension which
must derive from the IUDDPluginExtension abstract base class (from the
Ansys.Ansoft.DocGeneratorPluginDotNet.DocGenerator.API.Interfaces namespace).
Note that power users could derive a class hierarchy tuned toward a specific type of UDDs and
that they can derive from their own base classes. The only requirement is that directly or
indirectly, the UDD class must derive from IUDDPluginExtension.
Example:
def BaseClassUDD ((IUDDPluginExtension):
#base class implementation
…
def UDDExtension ((BaseClassUDD):
#UDD class implementation
…
Note:
This class is modeled after the UDO class UDOExtension, therefore the usage is
similar.
UDDInputData class
This class contains user input data and can be used in the generated document. UDDInputData
has the constructor UDDInputData(string name) and the following properties accessors:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The data can be any of the following types, based on the UDDInputParams type specified in the
script.
l UDDInputBool
l UDDInputDouble
l UDDInputSolution
l UDDInputText
l UDDInputTrace
UDDInputBool
UDDInputDouble
UDDInputSolution
Return
Method purpose Data type of the returned value in C#
Value
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
UDDInputText
UDDInputTrace
Return
Method purpose Data type of the returned value in C#
Value
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
UDDInputParams class
The objects of this class must be created in Python script in the GetUDDInputParams and
SetUDDInputParams functions.
Attributes :
l Input Name (string)
l Input Description (string)
l Input Type (string) (This can be boolean, number, text, trace, or solution.)
l BoolData (boolean)
l DoubleData (double)
l TextData (string)
l ReportType (string)
l SolutionName (string)
l DomainName (string)
Constructors:
l UDDInputParams(string name, string description, string type)
l UDDInputParams(string name, string description, string type, bool data)
l UDDInputParams(string name, string description, string type, double data)
l UDDInputParams(string name, string description, string type, string data)
l UDDInputParams(string name, string description, string type, string reportType, string
solutionName, string domainName)
Property Accessors :
l Name : Get/Set the name of an input
l Description : Get/Set the description of an input
l Type : Get/Set the type of an input
l BoolData : Get/Set the data of a boolean input
l DoubleData : Get/Set the data of a number input
l TextData : Get/Set the data of a text input
l ReportType : Get/Set the report type
l SolutionName : Get/Set the name of the solution
l DomainName : Get/Set the name of the domain
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Examples
def Generate(self, input, docgen, progMon):
# Getting the boolean data set by the user
boolinput = input[0].Data()
# Getting the double data set by the user
dblinput = input[1].Data()
# Getting the text data set by the user
textinput = input[2].Data()
# Getting the category names in a solution
categories = input[3].CategoryNames()
# Getting the quantity names based on a category
quantities = input[3].QuantityNames(categories[0])
# Getting the XY data from the trace
xydata = input[4].DoubleData()
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
' This array contains trace selection for the solution and trace inputs.
Array("NAME:DocTraces", ' Document traces keyword
' This array defines a trace similar to the UDO. This trace definition is a User defined solution
Array("User Defined", "", "DDR3 AC-Timing 4-DQ1", Array("Context:=",
""), Array("Index:=", Array("All"), "Trise:=", Array("Nominal"),
"Tfall:=", Array("Nominal"), "Pulse_Width:=", Array("Nominal"),
"Data_Rate:=", Array("Nominal"), "Length:=", Array("Nominal")), Array
("Probe Component:=", Array("")), Array())),
' This array defines a trace similar to the UDO. This trace definition is a Standard solution.
Array("Standard", "DQ0", "NexximTransient", Array("NAME:Context",
"SimValueContext:=", Array(1, 0, 2, 0, false, false, -1, 1, 0, 1, 1,
"", 0, 0, "DE", false, "0", "DP", _
false, "20000000", "DT", false, "0.001", "WE", false, "100ns", "WM",
false, _
"100ns", "WN", false, "0ps", "WS", false, "0ps")), Array("Time:=",
Array("All"), "Trise:=", Array( _
"Nominal"), "Tfall:=", Array("Nominal"), "Pulse_Width:=", Array
("Nominal"), "Data_Rate:=", Array("Nominal"), "Length:=", Array
("Nominal")), Array("Probe Component:=", Array( _
"DQ0")), Array())))
(Ansys.Ansoft.DocGeneratorPluginDotNet.dll)
Gets the application context. Use this interface to get the active project ad the version of
the product.
oDesktop = oApp.GetAppDesktop()
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
if oDesktop != None:
vr = oDesktop.GetVersion()
oProject = oDesktop.GetActiveProject()
l oDesign = self.GetUDDDesignContext()
Gets the design context. Use this interface to get the design name.
oDesign = self.GetUDDDesignContext()
if oDesign != None:
nm = oDesign.GetName()
l IUDDGenerator interface
Calling GetDocumentRoot() on the IUDDGenerator interface provides you with the this
interface. This interface can be used to:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
2. Add a new section to the document. Provide a section title and subtitle.
section1 = docroot.AddSection("Section title", "Section
subtitle")
3. Add a new title
section1 = docroot.AddTitle("Title")
4. Add a new subtitle
section1 = docroot.AddSubtitle("Subtitle")
l IUDDSection interface
Calling AddSection() on the IUDDRoot interface provides you with this interface. This
interface can be used to:
Calling AddImage() on the IUDDSection interface provides you with this interface. In this
interface, you can call the following methods:
Calling AddText() on the IUDDSection interface provides you with the this interface. In this
interface, you can call the following methods:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Calling AddTable() on the IUDDSection interface provides you with the this interface. In
this interface, you can call the following methods:
Calling AddTableGroup() on the IUDDTable interface provides you with the this interface.
In this interface, you can call the following methods:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Calling AddHeader() & AddContent() on the IUDDTableGroup interface provides you with
the this interface. In this interface, you can call the following methods:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
7. Set cell text. Takes a column index and a double value. It is added to the first row.
IUDDTextElement trow1.Add(int column, double value)
8. Set cell text. Takes a column index, row index and a double value.
IUDDTextElement trow1.Add(int column, int subrow, double
value)
9. Set cell text spanning 2 columns. Can be cell content or header text. Takes a sub row
index , starting column index., ending column index and a text string.
IUDDTextElement trow1.AddSpanningcolumnst(int subrow, int
columnstart, int columnend, string text)
10. Set cell text. Can be cell content or header text. Takes a column index, starting sub
row index, ending sub row index and a text string.
IUDDTextElement trow1.AddpanningRows(int column, int
subrowstart, int subrowend, string text)
l IUDDTableRow interface
Calling Add() on the IUDDTableGroup interface provides you with the this interface. In this
interface, you can call the following methods :
CMA does not currently interact with Electronics Desktop. However, you can launch CMA from
within Electronics Desktop by clicking Tools > Chip Model Analyzer (CMA).
From there, you can import CPM files for analysis or create a pseudo CPM.
For more information about using CMA, consult the CMA training documentation by launching
CMA and selecting Help > Content.
PinToPinUtility
The PinToPin utility can quickly extract HFSS or SIwave models for specified nets of package
and PCB geometries. It establishes a repeatable process for robust geometry extraction, port
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
configuration, and passive model assignment. Process execution can be done via the user
interface (Windows only) or in non-graphical mode (Windows or Linux).
For more information, consult the SIwave and HFSS 3D Layout help.
After importing the new data file to PSpice, HSPICE, or Maxwell Spice, you can include wave
effects in circuit simulations.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l File Name – enter a file path and name for the circuit file to be exported.
Important:
To save the circuit as an IBIS package model, use all lowercase names to
facilitate portability between operating systems. The length should not be
more than 20 characters.
To save the circuit in IBIS ICM format, use all lowercase names to facilitate
portability between operating systems. The extension should be no more than
three characters in length. There is no length restriction on the base file name;
however, only lowercase letters, digits 0 through 9, underscore and hyphen
are valid characters.
l Model Name – enter a name for the model within the circuit file. Upper and lowercase
letters, digits 0 through 9, and underscore are valid characters. Spaces are not
accepted. Any invalid characters will be replaced with underscores.
For interpolating sweeps, you can click Edit Freq to open the Edit Sweep dialog box
and enter start and end values.
l Matrix – select either the original solved matrix or any reduced matrices.
l Select Matrix Type – select one or more matrix types for export. Note that selecting
DC Resistance or DC Inductance disables the option for AC Resistance or
AC Inductance, and vice versa. Select Add DC and AC Resistance if you want to
create a circuit with a total resistance computed from AC and DC values.
l IBIS Export – by default, names are created in the form _NAME_src. Selecting the
Extract pin names from source names check box will change that to just NAME.
l Number of Cells – enter the number of cells (that is, sections) to be used while
exporting the circuit. Finer discretization (i.e., a larger number of sections) gives a
closer approximation to the underlying Partial Differential Equations. However, this also
leads to increased simulation time. See the technical notes for Equivalent Circuits.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Select a Coupling Type and enter limit values. RLCG values smaller than those
specified will be ignored.
l Include Chip Package Protocol – select this option and click Edit to specify
Chip Package Protocol header information for SPICE formats.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The CPP is primarily used to help automate the co-simulation of IC (die) and package or
package/board. For example, Apache's Redhawk utilizes CPP to import the package or package
and PCB model into the full chip dynamic voltage drop analysis, and the global IO-SSO analysis.
Package/PCB simulation tool can utilize the CPP to import the chip model in the system level
analysis.
1. When exporting circuit data, select the Include Chip Package Protocol check box.
2. Click Edit.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
OTHER). Enter a regular expression into the search field and click Select to select the
applicable pins.
l Select All – Click to select all pins in the design.
5. Use the Component Name, Pin Type, and Port Type fields to modify the information for
selected pin(s). Click Set to apply changes.
6. Click OK to exit the Edit Chip Package Protocol window.
After importing the new data file to PSpice, HSPICE, or Maxwell Spice, you can include wave
effects in circuit simulations.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l File Name – enter a file path and name for the circuit file to be exported.
Note:
To save the circuit in IBIS ICM format, use all lowercase names to facilitate
portability between operating systems. The extension should be no more than
three characters in length. There is no length restriction on the base file name;
however, only lowercase letters, digits 0 through 9, underscore and hyphen
are valid characters.
l Model Name – enter a name for the model within the circuit file. Upper and lowercase
letters, digits 0 through 9, and underscore are valid characters. Spaces are not
accepted. Any invalid characters will be replaced with underscores.
For interpolating sweeps, you can click Edit Freq to open the Edit Sweep dialog box
and enter start and end values.
l Matrix – select either the original solved matrix or any reduced matrices.
l Solution Type – select one or more solution types for export.
4. If you chose the Lumped export, in the Lumped Length Settings area, set the following:
l Number of Cells – enter the number of cells (that is, sections) to be used while
exporting the circuit. Finer discretization (i.e., a larger number of sections) gives a
closer approximation to the underlying Partial Differential Equations. However, this also
leads to increased simulation time. You can calculate the number of cell using the
Compute Cells option. See the technical notes for Equivalent Circuits.
l Length – specify the length of the transmission line by entering a value and selecting a
unit of measure from the drop-down menu. This option is also available for certain
distributed exports.
l Rise Time – specify the rise time, in seconds.
l Compute Cells– click to open the Calculate Cells dialog box, which allows you to
calculate how many cells to use in a lumped ladder model.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Enter the Length of the transmission line, and select the units. Enter the minimum
rise/fall time of the signals on the line in the t_rise box, and select the units. From the
Edit drop-down menu, select the quantity you want to edit. Enter the number of cells
into which the lumped ladder model will be broken in the Cells box. Enter the number of
cells per meter in the Cells/Length box. Enter the delay through a single cell in the t_
delay box. This is computed as t_delay = 1/c0 * length/cells; where c0 = speed of light in
a vacuum, length = length of the transmission line and cells = number of cells into
which the lumped ladder model is broken. Enter the ratio of t_rise to t_delay in the t_
rise/t_delay box. This should be 3 or more for good results.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Select a Coupling Type and enter limit values. RLCG values smaller than those
specified will be ignored.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
To access Network Data Explorer, click Tools > Network Data Explorer.
1. NDE ribbon – allows you to perform many functions of the Network Data Explorer.
2. Network Data Selection pane – allows you to select a network data file.
3. Cell and Frequency Selection pane – allows you to narrow your selection.
4. Data View pane – displays data in table or plot format.
The panes are shown in the following figure. Additional information about each pane follows.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
NDE Ribbon
The ribbon provides access to many of the Network Data Explorer's functions and display
options.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Export – allows you to export either SYZ data (*.s1p, *.ts, *.nmf, *.tab, *.m, *.cit) or
Broadband data (*.sp).
l Check – allows you to check causality.
l Cores – allows you to enable or disable multithreading.
l Post-Process Selection – allows you to choose between Terminal Data and Differential
Pairs, if your design includes Differential Pairs
This pane also lists available variations for AEDT design solution data. Variations are listed
under a setup name icon (for example “Setup1 : Sweep1”) that is listed under a design icon
(“TeeModel”). Variations can be selected and displayed just like other data sets.
Use the Shift and Ctrl keys to select and display data sets from multiple files simultaneously.
Multiple data sets can be selected to display multiple traces in sweep plots, but not in tables.
Click the Files icon to select all data sets under Files. Click the Edited icon or a design/setup
icon to do the same.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note: When solution data that is loaded into NDE is modified and resimulated in
another Ansys product, the NDE data automatically updates.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note:
When this type of file is loaded, Network Data Explorer regenerates s-parameter
data based on the file.
To import a file into Network Data Explorer, either drag and drop an analysis from the Project
Manager into Network Data Explorer or
The file browser allows you to open multiple files at a time. However, the displayed data always
corresponds to the data set indicated in the Network Data Selection pane. Click the file you want
in that pane to switch between data sets.
To export SYZ data from within Network Data Explorer, click the Save As icon on the NDE
ribbon. The Save File As window appears.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Select a file type and name for export. A Specify Export Options window appears.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Depending on the type of export file, different options appear. However, all file types allow you
to:
l Select from S Matrix, Y Matrix, and Z Matrix data.
l Select the Display Format.
Some types allow you to create an NPort Model in the active project.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Change Output File Format – Check this box to open a submenu allowing you to select
a new output format.
l Use Common Ground – Check this box to use common ground. When this option is on,
ports are referenced to ideal ground (node 0). When this option is off, extra ports are
generated to provide the reference levels. Common grounding is best when the pins are
physically near to each other and ideal ground is suitable. For distant connections and
circuits with non-ideal reference levels such as differential pairs, common grounding is not
used.
Note:
o R and L values may be quite sensitive to the values of the S-parameters. This
is an issue if the actual impedance value is much greater than or much less
than the reference impedance of the S-parameters.
o Since resistances of power cables is typically in the milliohms range at DC,
using a reference impedance of 50 ohms is 5000 times higher. This causes
any fitting errors in the state space model to get multiplied by 5000 times when
the R and L values are computed.
o As a general rule, for high power applications a reference impedance of 1 ohm
is probably a better choice than 50 ohms.
Note:
o R and L values may be sensitive to S-parameter values. This presents an
issue if the actual impedance value is much greater than or much less than the
reference impedance of the S-parameters.
o Since resistances of power cables are typically in the milliohms range at DC,
using a reference impedance of 50 ohms is 5000 times higher. This causes
any fitting errors in the state space model to be multiplied by 5000 when the R
and L values are computed.
o For high-power applications, a reference impedance of 1 ohm is generally a
better choice than 50 ohms.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note:
For a more detailed explanation on any of the passivity options, see the
technical note section of the Circuit help.
l Column Fitting Options – This area allows you to choose how poles are matched to
columns:
o One Column at a Time – The set of poles will be shared across all entries of a single
column.
o One Entry at a Time – Each entry will be fitted using a separate set of poles.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
o Entire Matrix – The set of poles will be shared across all entries of the matrix being
fitted.
Note:
n Typically, using the same set for all entries is adequate, and yields the most
compact models. However, if all the entries of the matrix have completely
unrelated transfer functions, it may be better to fit them using separate pole
sets.
n The options One column at a time and One entry at a time do not work
when either Ensure accurate Z-fit or FastFit is used.
l State Space Fitting Algorithm – Allows you to select FastFit, TWA, Iterated rational
fitting.
o FastFit (default) – FastFit is the Ansys-proprietary method for state-space fitting.
Network Data Explorer uses FastFit for calculating the state-space matrices from the
network data. The FastFit algorithm for state-space fitting is an alternative to the Tsuk-
White algorithm (TWA) and Iterated Rational Fitting (IRF) methods. FastFit is generally
as accurate as TWA, but is significantly faster than both TWA and IRF. It also aims to fit
the lower frequencies with higher fidelity.
o TWA – The Tsuk-White Algorithm is an Ansys-proprietary method for fitting a state
space model to extracted s-parameter data. It uses techniques based on Singular
Value Decomposition (SVD) to quickly determine required number of poles for fitting a
model.
o Iterated Rational Function – The IRF fitting approach takes a matrix of S-parameter
data and, for each matrix entry, tries a succession of different pole-zero approximations
(increasing the number of poles used at each iteration) until it can find an acceptable fit
to the data. For broad frequency sweeps and large numbers of excitations, this process
can be time consuming because of all the iterations and is not guaranteed to produce a
good fit to the data. It is retained as a fallback if the TWA algorithm fails.
l Enable Relative Error Tolerance – Allows you to enable relative error tolerance, which
works best with TWA fitting.
Note:
The Enable Relative Error Tolerance option works best with the TWA fitting
algorithm, is not recommended for use with iterated rational fitting, and is
disabled when either FastFit or Ensure accurate Z-fit is used.
l Enforce Causality – Allows you to make non-causal data causal. Use this option only if
fitting fails without it.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note:
Click OK to begin the export. The Messages pane details the export process.
Creating an NPort Model exports the active data set back to the design, either as a static n-port
model or as a parametric n-port model. If there are multiple variations, a parametric n-port model
is automatically created containing all variations. When only a single variation exists, the user
can create a static n-port model that either links to a file (the data is exported first) or stores the
data itself. Linking to a file reduces the size of the ADSN file. The newly created model can be
placed as a component in a circuit. This is particularly useful after reducing the number of ports
via termination.
The import of the exported solution is done by reading the exported Touchstone file.
Network Data Explorer can be invoked in the following contexts, and scripting is available from
the Project Context and the Design Instance Context (simulation setup):
l Project Context – In the context of a project, you can open a touchstone file and then
export.
l Design Instance Context – In the context of a solution (RCM from the simulation setup
in a design), you can export the corresponding network data solution.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
When there is no design available, export functionality and scripting are not available.
Data Sources
Cell Filtering
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The Number Format options allow you to specify Field Width (the minimum number of
characters used to display a number) and Precision (the number of decimals to display). You
can also check the Use scientific notation check box, if desired.
The Data comparisons options allow you to choose Post-format difference or Pre-format
difference.
l Pre-format difference- when comparing data sets, subtract values before applying the
formatting function (e.g. dB, magnitude); the values displayed will be the magnitude,
dB, etc., of the complex difference.
l Post-format difference – when comparing data sets, subtract values after applying the
formatting function (e.g. dB, magnitude); the values displayed will be the difference
between the magnitude, dB, and so on.
The Units option allows you to specify the Length unit (the unit used to display and interpret
length values). The default is mm.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
To save field settings as the default, click the Save Settings icon on the NDE ribbon. The
next time Network Data Explorer is opened, the chosen settings will be selected by default.
To restore the default settings (i.e. the settings previously saved using the Save Settings
button), click the Restore Settings icon on the NDE ribbon. The next time Network Data
Explorer is opened, the original settings will be selected by default.
Smoothing
To access data smoothing options:
2. The Smoothing Parameters area allows you to choose the Expansion Order. This can
be any discrete value between 1 and 150.
3. If desired, check the Enforce Causality check box.
4. If desired, check the Create a new data set containing the smoothed data check box.
If selected, the smoothed data appears alongside the original data.
5. Click OK.
The Data View Pane updates. The following image shows a plotted result with Create a new
data set containing the smoothed data unchecked and checked.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
A least-squares polynomial fit of the specified order is used to interpolate new data points for the
magnitude and phase components of the S-parameters.
Cell Filtering
The cells available in the data selection pane may be restricted using cell filtering. The Cell
Filtering control are located on the NDE ribbon.
Cell filtering is modeless, and filters are immediately applied to the cell list. Filtering remains in
effect when the window has been closed.
For an n-port model with a total of 2n pins in the standard arrangement, the choices are:
l Show all – display all available cells. There are n-squared choices.
l Return loss – show S(i, i). There are n choices.
l Insertion loss – show S(i, i+1). There are n choices.
l Lower triangle – show S(i, j) for all j < i. There are n(n-1)/2 choices.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
To access these options, click Edit Ports on the NDE tab. The Ports Properties
window opens.
Note: For HFSS Driven Terminal designs, selecting the solution data will disable this
ribbon button. The user must make port/differential pair changes directly in the HFSS
Design and re-import the solution.
Ports appear in a table. Click a column heading to sort by that column. Click within a cell to edit
the port property:
l Zo (ohm) and ZL (ohm) – specify Impedance values. Accepted syntaxes are:
l real (e.g., 50)
l real + imag i (e.g., 50+5i)
l imag i (e.g., 5i).
l Terminated – use the check box to terminate a port. Terminated ports are eliminated from
the matrix, reducing the matrix size. Existing data sets with mismatching port numbers will
no longer be available for data comparisons.
l De-Embedding – this column appears only if gamma values are available. Default units
can be changed from the Set Display Format window.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
4. Select a pair from the list on the left and click Add Pairs.
5. Click OK.
6. To disable all differential pairs, click the Enabled column header in the Differential Pairs
dialog to deselect all pairs.
For HFSS Driven Terminal designs, selecting the solution data will disable this ribbon button.
The user must make port/differential pair changes directly in the HFSS Design and re-import the
solution. When the HFSS Driven Terminal Design has differential pairs defined, NDE shows this
drop down menu and you can change between showing reports for Terminals or Differential
Pairs.Select Differential Pairs from the Post-process selection field to view mixed-mode
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
parameters.
Note:
The Network Data Explorer Edit menu option Reset All Port Properties deactivates
all pairs, but it does not clear the differential pair settings. And since Reset All Port
Properties also clears reference impedances and terminations, it should not be
used when the user simply wishes to disable all differential pairs.
Note: For HFSS Driven Terminal designs, selecting the solution data will disable this
ribbon button. The user must make port/differential pair changes directly in the HFSS
Design and re-import the solution.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
always the first matrix displayed, followed by matrices for each individual frequency. The
Multiple Frequency Statistics option also indicates the data used in the colored matrix plot
when multiple frequencies have been selected.
This right click menu option appears in the Matrix plot, regardless of whether you are in Table or
Plot view.
The selected information also appears in a tool-tip when you hover the cursor over a cell.
Highlight Min/Max
The Highlight Min/Max menu option determines whether the minimum and maximum matrix
entries should be highlighted in the matrix table and color plot view.
This right click menu option appears in the Matrix plot, regardless of whether you are in Table or
Plot view.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Select Transpose
The Select Transpose menu option determines whether transpose cells are highlighted along
with selected cells.
This right click menu option appears in the Matrix plot, regardless of whether you are in Table or
Plot view.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Alternatively, double-click the matrix plot's legend to open the Legend Attributes window.
Options include:
l Number of colors – allows you to select number of color entries in the legend (the
number of divisions between the start/end of the data range). This can be set to any
discrete number between 1 and 50.
l Automatic selection of min/max – check the Use the data minimum and
maximum check box to automatically select the data range using the minimum and
maximum values from either selected frequencies or all frequencies in the data set.
l Manually specified min/max – when the when the range is not automatically
determined, these fields permit the user to manually enter hard values. For example, for
S parameter data magnitude data, you could enter a minimum of 0 and a maximum of 1.
Using a standard range across all frequencies permits you to quantitatively compare plots, and
ndExplorer remembers legend settings for each data-type and display-format pair.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The Add Note menu option allows you to add a note to the plot.
The note appears at the location you right-clicked. You can click and drag the note to a new
location, or double-click the note to change its color and font.
The View sub-menu provides commands for viewing, panning, zooming, and fitting elements to
your plot.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Click Visibility to open the Active View Visibility window, where you can select the
visibility of traces, notes and legends.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The Copy Bitmap Image menu option copies the plot to your clipboard. You can then paste it
into a graphics editor.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Maximum values are highlighted in red stripes. If Select Transpose is enabled, transposes are
highlighted in red stripes as well.
Selected cells appear in solid blue. If Select Transpose is enabled, the transpose is highlighted
in blue as well.
Double-clicking a cell switches to a matrix cell view, in which values for all frequencies for that
cell are displayed. The double-clicked frequency is highlighted with solid red shading
Complex values are compared using their modulus. When multiple frequencies are selected, the
data display depends on the Multiple Frequency Statistics setting.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Matrix values display in a color-coded grid. If the selected Format is a complex value, only the
real component is used to determine the display color. When multiple frequencies or variations
are selected, the data display depends on the Multiple Frequency Statistics setting. Maximum
values are highlighted in red. Minimum values are highlighted in dark blue.
Hover the cursor over any cell to view information about it.
Click any cell to select it. Selected cells appear with a pink outline. If Select Transpose is
enabled, the transpose is selected in pink as well.
Double-click any cell to view a matrix cell plot in which all frequency values for that matrix cell are
displayed as a graph.
1. On the NDE ribbon, click Sweep. The Data View Pane updates if necessary.
2. Use the Parameter type drop-down menu to select S parameter, Y parameter, or Z
parameter.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
3. In the Cell and Frequency Selection pane, select cells to display or click the Select All
check box on the NDE ribbon to select all cells.
4. To add a log scale to the X-axis, click Log X-Axis on the NDE ribbon.
5. To add a log scale to the Y-axis, click Log Y-Axis on the NDE ribbon.
6. Right click to see a right click menu with other commands.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Only real (not complex) data formats are offered for statistical analysis. Passivity is only
available for S-parameter data (comparisons inactive). NTI refers to the number of trivial items;
for S-parameters, this includes all zeros and ones; for all other data (and data comparisons),
only zeros are counted as trivial. The minimum value for each column is highlighted in blue; the
maximum is highlighted in red.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
2. In the Cell and Frequency Selection pane, select statistics to display. The information
displays in a table in the Data View pane.
For S-parameters, the Number of Trivial Items (NTI) includes all values of 0 and 1. For other
data and data comparisons, only values of 0 are counted as trivial.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
2. In the Cell and Frequency Selection pane, select statistics to display. The selected
statistics are plotted.
Hover the cursor over a statistic to view more information about it.
For S-parameters, the Number of Trivial Items (NTI) includes all values of 0 and 1. For other
data and data comparisons, only values of 0 are counted as trivial.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
4. In the Cell and Frequency Selection pane, select which cells you want to compare . For
each value along the X-axis, the Y-axis values are subtracted, one from the other, to
create the comparison plot. The second selected data is subtracted from the first selected
data.
5. Optionally, check Show Statistics to show values applied to all cells and all frequencies
It is not possible to compare a data set against itself unless the data set has been cloned. Then,
you can compare the original data set to the clone.
Traces for a given cell or statistical measure are displayed for all data sets; you can use tool tips
to distinguish between them.
If a single cell or statistical measure is displayed, different colors are used for each data trace. If
multiple cells or statistical measures are selected, a single color is used for all data traces for
each cell or statistical measure.
In a data comparison, traces are shown for all selected data sets. This is true for both cell and
statistical traces.
If dB format is shown, you can either subtract values before or after applying the dB function.
See Display Format to make this choice.
When S-parameter data is loaded into Network Data Explorer, the Causality button is enabled.
1. On the NDE ribbon, click Causality. The Causality Options dialog opens.
2. Enter a Causality tolerance and click OK to start the causality check. Depending on the
size of the S-parameter data, the causality check may take several minutes to complete.
The check's status displays in the Message Manager.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
When the check completes, the Message Manager updates to display a summary of results.
Maximum Causality Error – The maximum causality error for all port pairs and all frequencies,
along with the matrix indices (port numbers) where the maximum noncausality occurs. A
noncausal response is one where all matrix entries can be conclusively analyzed, and at least
one entry exceeds the causality tolerance. The maximum reconstruction appears first, followed
by port numbers in brackets (e.g., [port number, port number]). When all results are conclusive
but no matrix reconstruction error exceeds the tolerance, the maximum causality error is
reported as zero, and no matrix entry is listed.
If the data does not contain enough frequency points to determine whether the data is or is not
causal, the Messages Pane will note an inconclusive result. Network Data Explorer will also
report the data set as inconclusive if any cells are inconclusive, even if other entries exhibit
causality violations.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
In this plot, the cells go from (Port 1, Port 1) at the upper-left area to (Port N, Port N) at the
lower-right corner. The result shows the causality over all frequencies in the data. In this
example, the matrix is asymmetric, so that S12 is noncausal, while S11, S21, and S22 are
causal.
To see the details for each frequency, click the Table check button on the NDE ribbon.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The plot appears, showing the reconstruction error at each frequency divided by the
tolerance.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The reconstruction error ratio for parameter S12 is positive for frequencies less than about
680MHz, indicating a broad range of noncausal behavior.
4. To compare the real part of the reconstructed data to the real part of the actual data, set
the Format to Real.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
For a causal frequency response, the actual data (solid line) will be within the upper and
lower bounds of the reconstruction (dotted lines) at all frequencies.
5. To compare the imaginary part of the reconstructed data to the imaginary part of the
actual data, set the Format to Imaginary.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
For a causal frequency response, the actual data (solid line) will be within the upper and
lower bounds of the reconstruction (dotted lines) at all frequencies.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The discretization error is the error that is due to the fact that the data are available only at
discrete frequencies rather than for a continuous spectrum. A discretization error near or
greater than the causality tolerance renders the causality check inconclusive. Data at
more frequencies could reduce the discretization error and render the analysis conclusive.
This set of data exhibits low discretization errors (<<0.01) at all frequencies, and the
causality check is conclusive (conclusively noncausal in this example).
Multithreading
By default, multithreading (execution on multiple cores) is enabled for Causality Checking and
Macro Model export. Multithreading saves significant time in the Causality Check calculation,
and improves the time for other state-space fitting operations. See Technical Notes.
The Cores field in the Network Data Explorer Control Pane defaults to half the number of cores
detected on your computer.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Minerva has its own HTML web interface with additional features as a knowledge management
application that secures critical simulation data, and provides simulation process and decision
support to simulation teams across geographies and functional silos.
Minerva Settings
When you first login via the desktop, or to the Web Client, you must provide a Minerva URL, a
database name, a user name, and a password. You will need to obtain these from your system
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
administrator. Once you provide the connection settings, the other Minvera commands are
enabled.
Open : opens the Choose File to Open browser that lets you select and download an archive
file, extract it, and open it. The [..] button moves up one level in the file hierarchy. The [+] button
creates a new folder at the current level.
Save : archives the current project, and saves it to a remote Minerva system.
Save As... prompt for remote file, archive project, save to remote Minerva system.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
In order to prevent users from overwriting each other’s work, Minerva has added the concept of
claiming and unclaiming files. A file claimed by one user cannot be overwritten on the Minerva
server by another user. Unclaimed files can be overwritten by anyone at any time. Once a file
has been claimed by one user, it cannot be claimed by a different user until it has been
unclaimed by the original claimer. Note: even if a project is claimed by one user, other users are
free to download, open and edit the file locally.
1. Claim the file, make sure you are working with the most recent version
2. Make edits
3. Save the file to Minerva
4. Unclaim the file
File properties: opens a dialog letting you view remote file properties. Notice the Claim Status
and Claimed By properties.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ansys Minerva, powered by Aras, is a knowledge management application that secures critical
simulation data, and provides simulation process and decision support to simulation teams
across geographies and functional silos. Launching the Minerva Web Client gives access to
these features. This opens a dialog calling for you to specify provide login information. It
attempts to open a web browser window, so your default browser must be compliant.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Clicking on the triple bar icon left of the Ansys logo opens up access to the more robust Minerva
Web Client functionality.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
From the schematic, you can interact with applications (called workspaces) that are native to
Ansys Workbench and that display within the Ansys Workbench interface. Native workspaces
include: Project Schematic, Engineering Data, and Design Exploration (Parameters and Design
Points).
You can also launch applications that are data-integrated with Ansys Workbench, meaning the
application's interface remains separate, but the data from the application communicates with
the native Ansys Workbench data. Thus, data can be passed back and forth between any Ansys
Electromagnetics product on a Workbench Project Schematic and any supported Ansys or
Ansys Electromagnetics desktop product. Depending on the application, data integration can
include basic actions such as saving projects, as well as more complex actions such as the
coupling of Ansys Electromagnetics product variables to Workbench Design Exploration
parameters.
Note:
For detailed information on working with Ansys Workbench, please refer to the
Workbench documentation.
1. From the Start menu, select Ansys EM Suite 2024 R1 > Modify Integration with
Ansys...
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
2. When the Integration with Ansys step displays, ensure that the Yes radio button is
selected.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
You can confirm that Ansys 2024 R1 is aware of Ansys Electromagnetics via Ansys Workbench.
From Workbench, click Tools > Options to open the Options window. If Ansys EM is detected,
the Electromagnetics tab shows the path to the integrated Ansys EM application. From this tab,
you can also specify Workbench's default journal recording language; changes applied here
apply to any new Ansys Electronics Desktop launch after the change. Any open instance will
continue recording in the language that was in effect when it was launched.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note:
To decouple Ansys EM Suite from Ansys 2024 R1, follow the same steps and select
No.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
If you invoke Ansys DesignXplorer to use variables for refining a design, a Parameters cell is
added, with a link to the associated Workbench Parameter Set. Refer to the Ansys Workbench
help for details on working with systems, cells, and parameter sets.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
All Ansys Electromagnetics desktop products integrate with Workbench commands, services,
and DesignXplorer in a similar manner. Some capabilities include:
l Adding new analysis systems
l Importing existing desktop projects
l Editing models
l Analyzing models
l Performing parameter studies
l Scripting
In addition to these major features, Workbench can archive, save, back up, duplicate, and delete
Ansys Electromagnetics projects used in a Workbench project. Progress information and
messages from integrated Ansys Electromagnetics projects are also displayed in Workbench.
Note:
Detailed information for using these operations can be found in the Ansys
Workbench help.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Alternately, you can add a system by right-clicking in the Workbench Project Schematic area
and selecting New Analysis Systems > [System Type].
Related Topics
Editing models
Analyzing models
Scripting
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note:
Object, material, and parameter names with non-ASCII characters are not allowed for
data transfer. Such transfers fail and produce an error message.
Doing so launches the Ansys Electromagnetics desktop application and loads the project so that
you can set up your project in a familiar desktop environment. Changes made to the Ansys
Electromagnetics project are saved to the project instance in the Workbench project folder.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Parameters from the Ansys Electromagnetics project are exposed to Workbench through the
DesignXplorer setup. The Ansys Electromagnetics system's cell status on the Workbench
project is updated as changes are made in the Ansys Electromagnetics application desktop.
The workflow for using Electronics Desktop systems with the Workbench to take advantage of
Distributed Analysis is as follows.
1. In the Ansys Electronics Desktop, specify a variable an as input parameter. The following
figure shows a DesignXplorer Setup that includes a geometry variable called XW This
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
2. In the Workbench Design, change the P5 expression to a new value (in this example
figure, the P5 parameter is assigned and expression of P1/1[meter] to tie it to the
geometry system's variable.
In the Workbench, the Export Design Points to Optimetrics and Run Design
Points Table commands are enabled.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
3. In the Electronics Desktop, you can click on the default DesignXplorer Setup, and choose
Generate Variation Data.
If you have configured your Analysis Configuration for multiple machines, the
Project is ready for Distributed Analysis. After analysis, the Workbench Parameter
table should be updated correctly for all design points.
Scripting in Workbench
Scripts that include Ansys Electromagnetics projects can be recorded and run in Workbench.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
When a WB journal is run from the command line, Electronics Desktop provides a beta feature
that allows the Ansys EDT portion to also run in batch mode (that is, when using RunWB2 -B).
Note how the HFSS design is linked visually to Ansys Thermal on the Workbench project
schematic.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Geometry sharing is possible, provided you activate Beta Options in Workbench. A geometry
from the Component Systems in the Toolbox in Workbench Schematic can be shared as shown
in the image below.
In this example, HFSS coax model Solution provides heat loss data as a thermal load to the
Ansys Thermal Setup. The resulting analysis shows a thermal "hotspot", providing the user with
the information needed to adjust the design's material to fix the problem.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
You enable this feature by checking Enable Feedback in the dialog for Setting the Temperature
of Objects.
In this example, the Maxwell 3D electromagnetic force density Solution is used as the load in
Ansys Structural to determine how these forces deform the motor's stator and coils.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ansys CAD integration provides a bi-directional dynamic link through Workbench. This makes it
possible to get updated geometry from CAD, modify CAD parameters in Ansys
Electromagnetics products, and return an updated geometry. The feature is non-associative due
to a need to reassign boundaries if a modified CAD model is used. The process creates a User
Defined Model (UDM) for each geometry source.
The UDM format makes it possible to exchange parameters. Ansys online help contains further
description of the UDM feature and function.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note:
The parameters shown in the previous example all have a DS prefix. This is the
default for the Workbench Tools>Options for Geometry Import. To import
parameters with different prefixes or names, assign an appropriate prefix or clear the
Filtering Prefixes and Suffixes field.
Ansys Electromagnetics CAD integration makes it possible to consume geometry from multiple
upstream sources (any CAD or Ansys Electromagnetics product).
This feature supports direct interfaces with major CAD systems, including:
l Creo Parametric
l UG NX
l CATIA V5
l SOLIDWORKS
l Autodesk Inventor
l Ansys Design Modeler (DM)
l Ansys SpaceClaim Direct Modeler (SCDM)
Note:
The CAD software must be installed on the user machine (not required for solve
nodes).
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ansys Mechanical does not do implicit subtraction. Ansys Electromagnetics products can do
explicit subtractions before sending geometry to Ansys using Modeler > Model Preparation
> Perform Explicit Subtraction.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Through the Ansys Electromagnetics CAD integration, the linked UDM includes the same
parameters.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note:
The parameters shown in these examples all have a DS prefix. This is the default for
the Workbench Tools>Options for Geometry Import. To import parameters with
different prefixes or names, assign an appropriate prefix or clear the Filtering
Prefixes and Suffixes field.
Once you import a geometry with parameters to an Electromagnetics application in the desktop,
you need to map to local variables. In the target Electromagnetics application, select the
geometry associated with the parameters. Update the geometry and view the Parameters tab in
the Properties window. The Value column shows the values of the imported parameters. Type
names for local variables in the Name column.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Once you have local variables for the imported Design Modeler parameters, you are ready to
use Design Xplorer for multiple design parameters.
You make an edit in a CAD application and run Refresh on an Ansys Electromagnetics
Geometry Cell.
Refresh pulls the current state of CAD model (geometry, parameters, materials etc) and updates
the corresponding data in the Ansys Electromagnetics application.
Alternatively, you can run Generate on the UDM in the Ansys Electromagnetics window.
If you edit UDM (CAD) parameters in the Ansys Electromagnetics modeler window you can run
the Send Parameters and Generate command.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The command passes the edited parameters to the linked CAD application and then pulls
corresponding CAD geometry.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
For example, the following figure shows a DM Model, a Maxwell model, and ProE model linked
to HFSS in Workbench, and displayed in the HFSS History tree as three UDMs.
Update the Circuit Design to open the Electronics Desktop. In the menu bar, select Workbench
> Update Dynamic Link Components. This command will create components in the project
tree for each design in the Workbench project.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note that in this example, a GSSGSSG Stripline component was created corresponding to the
GSSGSSG Stripline design in WorkBench. Once created, you can drag the component into a
schematic to place it.
For example, imagine an HFSS design with a variable wire_rad of 3mm. If a dynamic link is
created for this design in a Circuit design, then a design variable “d_wire_rad” is created in the
Circuit design and the component instance of the HFSS design has a parameter wire_rad set to
d_wire_rad.
Design variables can be created from existing or newly added variables in the dynamic link
design.
1. In the Circuit or 3D Layout design, create a dynamic link to the target design.
2. Either:
a. In the Schematic or Layout editor, right-click the new instance of the linked design and
click Add Design Variables for Dynamic Link.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
b. From the Project Manager window, right-click Project Name > Design Name >
Dynamic Link Design and select Add Design Variables for Dynamic Link.
To create design variables based on variables added to a dynamic link design after it was linked:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
2. In the Project Manager of the Circuit or 3D Layout design, Right-click Project Name >
Design Name > Dynamic Link Design and click Refresh Dynamic Link.
3. Either:
a. In the Schematic or Layout editor, right-click the new instance of the linked design and
select Add Design Variables for Dynamic Link.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
b. From the Project Manager window>, right-click Project Name > Design Name >
Dynamic Link Design and select Add Design Variables for Dynamic Link.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Healing options are None, Auto and Manual. By default, healing is off (None) and should be
turned on only if required.
Make sure Parameters is checked and that the parameter key (filter) is appropriate for CAD
parameters.
The default parameter key filtering means that only parameters whose names start with DS will
come through. This is the default for the Workbench Tools>Options for Geometry Import. To
import parameters with different prefixes or names, assign an appropriate prefix or clear the
Filtering Prefixes and Suffixes field.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The Mixed Import Resolution option is used to resolve parts with mixed dimension (typically
from Pro/E)
The following figure shows how the information is transferred between simulators.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Material assignment
The CAD Integration geometry link is dynamic (you can get updated geometry from Ansys
Electromagnetics) and associative (IDs persist between Ansys Electromagnetics model and
Ansys model during model refresh).
Boundary conditions in Ansys are preserved. Object, material, and parameter names with non-
ASCII characters are not allowed for data transfer. Such transfers fail and produce an error
message.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Consider an HFSS model linked to DM through the Workbench. In the following example, a
chamfer operation on geometries is being imported.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Detailed Behavior
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The geometry-to-ED link can be created by dragging the Ansys Electromagnetics Desktop
system geometry cell to the ED cell of a downstream system. When the downstream system's
ED cell refreshes, the upstream system generates a MatML format XML file, which is consumed
by Workbench to update the downstream system. This file is stored in the workbench project
files according to design point. Note that Workbench ED cell material names are case-sensitive,
as are material names within Ansys Electromagnetics Desktop products.
For material assignments to work with the ED in the downstream model, the downstream
geometry cell must have the Material Properties check box selected. A convenient way to do
this is to have this property checked by default, by setting this in Tools > Options > Geometry
Import. Systems created after this default option is set will have Material Properties
automatically checked for the geometry cell.
When the downstream model cell is refreshed or updated, material properties from the ED in the
same system are used in the model's materials, based on material assignments set during the
geometry cell refresh. Note that if material assignment fails, the Workbench default material
(Structural Steel) is used.
Workbench resolves name conflicts by changing the name of any materials being transferred
over from the upstream system. For example, if the upstream Ansys Electromagnetics Desktop
system uses a material named "Structural Steel", this will conflict with the existing downstream
default material of the same name. The update will result in the Ansys Electromagnetics Desktop
material being named "Structural Steel 2" in the downstream ED, but the downstream model will
still use the properties supplied by Ansys Electromagnetics Desktop for the material.
Note that some materials may not satisfy all requirements for downstream system physics. For
example, vacuum has no thermal conductivity, but downstream steady state thermal systems
require a non-zero value for this property. Material properties in the workbench ED cell of the
downstream system can be modified after refresh to ensure that validity criteria can be met. Any
property added to a material in the downstream ED is preserved in subsequent ED cell updates.
However, any existing property that is edited in the downstream ED will be overwritten by a
subsequent ED cell update.
Feedback Iterator
Background Information
Prior to the introduction of the Feedback Iterator, Ansys Workbench supported a two-way loose-
coupling protocol with Ansys Electromagnetics products.
SystemCoupling already uses the word coupling to mean low-level solver coupling. Existing
Electromagnetics product coupling is loose compared to SystemCoupling and is limited to file-
transfers at the end of a complete solve in a standalone system/product. No communication
occurs during a solve. The coupling is two-way.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The one way portion (Upstream source component to Downstream target component) is
handled via existing workbench data/transfer connection mechanism.
The round trip is handled by a separate protocol, agreed upon by the participating systems,
whereby the downstream system exports a set of file to a location specified by the upstream
system via its one way transfer. This exported data is then incorporated by the upstream system
in its next update.
To run the next coupled solve iteration, invoke the Enable Update Gui operation, as shown
below, which updates all systems involved.
These steps (Enable Update, Update Project) are continued as long as needed
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Callback Interface
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Iterator also allows control over the number of iterations (iteration termination criteria), target
temperature, and displacement convergence criteria.
The Feedback Iterator appears in the Workbench Toolbox user interface under Component
Systems.
If you drag and drop an instance of the Feedback Iterator into Workbench Schematic, the default
system name is Feedback Iterator.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The Feedback Iterator Addin functions the same way with all systems that participate in
Electromagnetics product two-way loose coupling (Maxwell and HFSS for sources and Fluent,
Thermal, and Structural for targets).
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note:
• The Maxwell and HFSS design Profile tab displays absolute/relative delta data,
while the delta temperate in Workbench means the relative delta (expressed as
%).
The Feedback Iterator properties also display the most recently achieved Latest Delta
Temperature % and Latest Delta Displacement % values, allowing the user to manually abort
when satisfied with the achieved deltas.
Note:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Running a two-way feedback simulation from Workbench while keeping the Maxwell or HFSS
Profile tab open shows that the 3D solver keeps track of two feedback related quantities:
l Maximum Absolute/Relative Delta Temperature (if temperature feedback is enabled)
l Maximum Absolute/Relative Delta Displacement (if displacement feedback is enabled)
These signify the maximum difference on the solution mesh of the quantity in question from one
feedback iteration to the next (thus the value is only available from the second iteration onward).
This data forms the basis for the convergence controls in the FeedbackIterator. These controls
allow the user to base the termination of feedback iterations on a target max delta T and/or max
delta displacement. The target max delta forms the convergence condition.
1. Updates the Electromagnetics product system, which will incorporate any previous
feedback from the downstream system.
2. Updates the downstream system.
3. All coupled systems (Electromagnetics product, Electromagnetics product Downstream,
and Iterator) are in the UpToDate state.
4. Iterator's “Iterations Completed” property increments by 1.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Right-clicking the Feedback Iterator component and selecting Update allows you to run
iterations automatically. Iterations continue to run either until convergence criteria are met, or
until the Max Iterations value is reached.
Callback Interface
The callback interface allows you to react to each step of the iteration process as implemented
by the FeedbackIterator component. This is useful for implementing special iterations or solving
transient simulations with a limited scope.
Related Topics
Callback and State API
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
will be persisted across functions calls and across updates. When the Iterations Completed
property is rest, the dictionary is also cleared out.
IterationNumber An integer representing the current iteration. This always starts from 1.
ContainerList A python list of containers (DataContainerReference). This is the entire
list of the coupled containers managed by the Feedback Iterator. You
typically loop through them and, using the utility methods listed below,
identify them.
Container A single container that is being processed. This is a
DataContainerReference.
State A read/write python dictionary used to maintain state across function calls
and iterations.
Only return values from BeforeIterationEx are processed. Returns from all other functions are
discarded.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
If the callback scripts use other files to send commands to various containers (vb, js, apdl,
python, etc.), all of those files are best saved in the user_files directory. This allows you to use
FBGetUserFilePath(str) to get the absolute path of the file and allows the files to be packaged
with any created archive.
Utility Functions
Output/Debugging Functions
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Iterating to Convergence
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
OR
l Update all design
points
OR
l DX Update
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
OR
l Select the Project
Update menu
option from the
toolbar, etc.
Iterating to Convergence
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
OR
l DX Update
The following temperature convergence example uses Feedback Iterator with a Maxwell design,
coupled with a Steady-State Thermal component. Iterating to convergence operates similarly for
HFSS projects.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The example uses defaults of 5% for the convergence targets and a value of 100 max iterations.
Recall that the max iterations value is set as a safety measure to ensure that iterations do not
continue indefinitely if the solution does not converge. As we progress through the iterations, we
observe the following:
End of Iteration #1
The first iteration, since it has no previous iteration, cannot return a meaningful delta value.
At the end of this iteration, the Latest Delta value is listed as Not Available.
Convergence Achieved
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
When convergence criteria are met, the simulation stops. If you attempt to update after
convergence has been achieved, the simulation will not be launched since the current solutions
satisfy the convergence criteria.
You can monitor the iteration progress by opening the Maxwell editor and selecting
Results > Solution data. Choose the Profile tab and keep the dialog box open. As you solve
each iteration, you can observe the reported Delta-T (with thermal feedback) and/or delta-
displacement (with displacement feedback) and abort the iterations (or stop single iteration
updates) when the values reach acceptable convergence levels.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
20 - Scripting
Information about creating, editing, and using IronPython scripts and VB scripts is in the
product's scripting guide in the help. You can also access PDF versions of the scripting guide
from the help system.
Scripting 20-1
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
AC vs. DC Analysis
Q3D Extractor can compute resistance and inductance matrices for AC or DC problems.
AC Region
In the AC region, inductance is nearly constant with frequency. The AC self-inductance is lower
than the DC inductance because skin effect reduces the magnetic fields (and the corresponding
stored inductive energy) inside the conductors. Only the stored inductive energy in the region
between conductors remains.
Resistance in the AC region increases proportionately with the square root of frequency. This
occurs because the skin depth decreases with frequency, reducing the effective cross-section
for current flow.
DC Region
In the DC region, resistance and inductance are both nearly constant with frequency.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Transition Region
Between the DC and AC regions of operation is a region that spans about 1 decade of frequency
where neither the DC nor the AC models are truly valid. Here the skin depth is an appreciable
fraction of the conductor depth. See: Estimating R and L Values in the Transition Region.
where:
Thus, given a conductor with thickness d, you can calculate the lower bound of the AC Region
by calculating the smallest frequency that produces a skin depth (δ) much smaller (say 3 times
smaller) than this thickness. Using the formula for d and the definition of , you have the
frequency limit:
For copper, this reduces to f ≥ (0.04 Hz m2)/d2. For a 1 mm thick conductor, the AC
inductance/resistance calculation is good for frequencies of 40 kHz or more. For a 100 μm thick
conductor, the minimum frequency rises to 4 MHz, and so forth.
A similar calculation can be performed to determine the upper frequency bound for DC
resistance and inductance calculations. By assuming that the skin depth must be greater than
the conductor thickness d, the frequency becomes:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The following figure shows how typical circuit parameters vary according to frequency and
illustrates the different frequency regions where the parameter calculations are valid:
An equivalent circuit model (shown below) is used to interpolate between the DC and AC
solutions:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
This circuit has the correct limiting behavior at low and high frequencies. At intermediate
frequencies, it has a frequency-dependent impedance:
The effective resistance R(ω) and inductance L(ω) can be extracted from the real and imaginary
parts of this impedance.
When there are multiple conduction paths in the problem, all of the elements in the above circuit
become multi-port devices, but the same basic procedure applies.
The interpolation scheme described above is not a solution of the underlying physics, but rather
is intended as a rough estimate of the behavior at intermediate frequencies. A more rigorous
solution can be obtained by employing a finite element field solver, such as Maxwell Field
Solver, to solve the eddy current equation within the conductors.
Choose a discrete sweep if only a few frequency points are necessary to accurately represent
the results in a frequency range.
Be aware that Q3D Extractor uses the finite element mesh refined during an adaptive solution at
the solution frequency. The solution frequency for the Solution Setup should be chosen taking
into consideration that the well-established skin effect is assumed at that frequency; therefore,
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
the solution frequency has to be chosen so that this assumption is true and correct. The
frequency must be in the AC region for the model under analysis.
The procedure for a discrete frequency sweep is shown below, where n equally spaced
frequencies are included in the sweep.
Equivalent Circuits
When you export a SPICE subcircuit, the Q3D Extractor constructs an equivalent circuit for your
model using the circuit parameters you have requested.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Single-Source Conductors
If all conductors have just one source terminal and one sink terminal, the system creates a
balanced circuit to model the transmission structure — that is, a circuit whose impedance is the
same regardless of the direction of current flow. For instance, a two-conductor transmission
structure is shown below. Each conductor has a single source terminal through which current
flows.
In the equivalent circuit for this structure, the negative of the mutual capacitance (C12) is used
directly as a circuit element. The self-capacitances of each conductor (C11, C22) are used to
compute the capacitances between the conductor and ground (C10, C20).
To create a balanced circuit, each inductance or resistance matrix entry is divided into two series
inductors or resistors and placed in the circuit as shown in the following figure:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
All sinks on a conductor are considered to be connected to each other. Sinks on different
conductors are independent.
Multiple-Source Conductors
Balanced models are used for multiple-source nets. The conductor in the following figure has
two source terminals.
To create a balanced model of this structure, two "T" sections are used (just as if there were
separate nets) and then the two are shorted together at the sink point:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The capacitance of the net is evenly divided between the two "T" sections.
When the dimensions of the RLGC matrices become large, these circuit models become very
lengthy, making it difficult for users to untangle the basic topology of the equivalent circuits.
While this is inevitable, it's also unfortunate, because the topologies are simple.
The T Model
To begin, let's assume that we have N separate nets (independent electrically connected paths)
and that each net has exactly one source and sink. Later we will expand the discussion to
consider nets with multiple sources.
The most commonly used equivalent circuit model is the "T" model. It is used when the number
of lumps requested is 1. It consists of a grounded "shunt" element (XY1) representing the
capacitance matrix and a pair of "series" elements (XZhalf1 and XZhalf2) representing the
inductance and resistance matrices. Note that we are assuming that you have actually solved for
both sets of matrices-if not, then the model will be simplified further. We postpone discussing
these special cases to a later section.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
All three subcircuits are contained within a single top-level subcircuit. The terminals of the top-
level subcircuit are nodes 1 through 2N. Nodes 1 to N correspond to source terminals and nodes
to correspond to the sink terminals. To provide connection points between the internal
subcircuits, the top-level subcircuit has a set of internal nodes (nodes 2N+1 through 3N.)
The "T" model is used to represent single-lump equivalent circuits. The gray box in the figure
represents the top-level subcircuit. It contains 3 lower-level subcircuit instances. The bold lines
represent N-wire bundles or "buses" of wires.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The topology of the shunt subcircuit XY1, illustrated for the case of 3 nets.
The values of the two-terminal capacitors in the subcircuit do not correspond directly to the
entries of the Maxwell capacitance matrix displayed in the software. The "floating" capacitors (
C12, C13and C23 ) are the same as the corresponding off-diagonal entries of the capacitance
matrix, but the signs are flipped from negative to positive. The grounded capacitors (C10,C20
and C30 ) are actually the sums across the corresponding row of the Maxwell capacitance
matrix. If the row sum is zero (this happens when a "floating at infinity" matrix reduction operation
is used), then the capacitor is eliminated from the circuit.
Note:
If you only solve for capacitance, then only the shunt subcircuit will be produced and
it will be the top-level subcircuit.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note:
If you do not have to solve for capacitance, then you don 't need to divide the series
elements in 2. There will be only a single series subcircuit in this case.
The self and mutual inductances are modeled in the standard way, using Spice's L and K
elements. The self resistance is modeled using Spice's R elements, but there is no element in
Spice corresponding directly to the mutual resistance (the off-diagonal entries of the R matrix). If
we consider two mutually coupled resistors, their defining equations are:
v1=R11i1+R12i2
v2=R21i1+R22i2
v1=R11[i1+R12/R11i2]
v2=R22[R21/R22i1+i2]
The desired voltage drop v1 can be obtained by forcing a current equal to i1+(R12/R11)i2 through
the resistance R11.
Similarly, we can force a current (R21/R22)i1+i2 through a resistance R22 to get the voltage drop
v2.
This can be accomplished by putting a current-controlled current source (the Spice F element) in
parallel with the self-resistances R11 and R22. But in order to use a current-controlled current
source, we must have a way to measure the currents i1 and i2. This can be done by placing zero-
valued voltage sources in series with R11 and R22. These zero-valued sources don't change the
total voltage drop, but do provide a convenient "ammeter" for measuring the currents. Thus we
arrive at the final series circuit model shown in the following figure.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The series subcircuit, shown for the case of 2 nets. If there are more than 2 nets, additional
controlled current sources will be added in parallel to model the mutual resistance coupling to
them.
For an N-lump model, it consists of N+1 series elements and N shunt elements. Each of the
shunt elements (XY1, XY2, …, XYN) represents 1/N times the original capacitance matrix. Thus
the total capacitance of the structure is equal to that in the original matrix.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The series elements are not all equal. On the left and right ends we use "half" elements (XZhalf1
and XZhalf2) whose R and L values are equal to 1/2N times the original resistance and
inductance matrices. Between these we have (N-1) series elements (XZ1, XZ2, …, XZN-1)
whose R and L values are equal to 1/N times the original. Again, the total resistance and
inductance will be equal to that in the original matrices.
The ladder model is a generalization of the T model. Its chief advantage is that it provides a
higher bandwidth model of structures with uniform cross-sections (such as transmission lines).
The structures of the shunt and series elements are the same, and only the RLGC element
values are scaled differently.
An example of an equivalent circuit for nets that have multiple sources (in this case, Net1 has 2
sources). The beige box represents the top-level subcircuit.
Notice that the wires in the figure are not bundled into buses. Net1's capacitance is divided by 2
within the shunt subcircuit XY1 and assigned to its two source-to-sink current paths.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
To make this procedure work, the shunt capacitance subcircuit must be "expanded" so that its
number of terminals matches the total number of sources. Internally Q3D achieves this by
dividing up the self and mutual capacitances of nets with multiple sources. If there are M source
terminals on a net, then each source-to-sink current path receives an equal share of 1/M times
the total net capacitance. This procedure preserves the total capacitance on the net as well as
the coupling capacitances between nets.
In general, FEM divides the full problem space into smaller regions (tetrahedral elements) and
represents the field in each sub-region with a local function. MoM divides up the surface (or
volumes) of conductors and dielectrics into many triangular (or tetrahedral) elements to
represent the charges and currents present.
The choice of which method to use depends on the quantity being calculated. Q3D solves DC
resistance problems using FEM (to model current flow within the conductors), while inductance
and capacitance problems are solved using MoM.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
When field quantities are represented in this way, it is possible to transform Maxwell 's partial
differential equations into a sparse matrix of linear algebraic equations ("sparse" because it has
many zero-valued entries) that can be solved using traditional direct or iterative numerical
methods.
For capacitance problems, the field quantity of interest is the charge density on the surface of a
conductor or dielectric interface. Triangular elements are used, and the charge density is
approximated with a piecewise-constant basis function.
For inductance problems, the field quantity is a vector (current density), and again piecewise-
constant basis functions are used. For DC inductance problems, the elements are tetrahedra
(volume currents), and for AC inductance problems the elements are triangles (surface
currents).
MoM differs significantly from FEM in the way that Maxwell 's equations are transformed into a
matrix equation. A mathematical device called a Green 's function is used to represent the
electrical interaction between any pair of elements. Using integrals of the Green 's function and
the basis functions, a dense matrix of linear equations ("dense" because there are few or no
zero-valued entries) is derived. A straightforward direct solution of such a dense matrix is
prohibitively expensive, and so Q3D uses iterative matrix solvers and the Fast Multipole Method
to make it practical to solve large problems.
Piecewise-quadratic basis functions are used for the DC conduction solution (DC resistance).
These have one unknown value at each vertex of a tetrahedron, and one unknown at the center
of every tetrahedron edge.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Causality
Causality is a property of a system. Simply stated, a causal system initially in a steady state
should not show any change in its output until its input signal is changed. Equivalently, a causal
system cannot anticipate changes in its input signal and react before those changes occur. One
criterion for deciding if a model is physically reasonable is to ask if it is causal.
and
Here PV denotes the Cauchy principal value of the complex integral. The important point to
notice about these relations is that the real and imaginary parts of the permittivity are not
independent of one another: in fact the real part determines the imaginary part, and vice versa.
Therefore, you can not choose the two independently.
The imaginary part of the permittivity is governed by the loss tangent (or, equivalently, the
effective conductivity.) This means that the loss tangent and the relative permittivity must be
chosen in such a way that the resulting complex permittivity satisfies the above relations. If you
are not careful to do this, then the resulting model may not be causal.
When working in the frequency domain, a non-causal model may produce perfectly acceptable
results. However, these results are used in a time-domain analysis, they will cause serious
problems, such as non-physical transient responses or simulation failures.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The special case of a lossless material (zero loss tangent) with constant permittivity is causal,
however.
where:
l epsrlower is the relative permittivity of a material below the frequency range 20 - 50 GHz.
l epsrupper is the relative permittivity of a material above the frequency range 20 - 50 GHz.
l flower is the lower frequency, below which the material property is constant.
l fupper is the upper frequency, above which the material property is constant.
In general, to account for this variance within a given frequency range, use the Piecewise
Linear Material Input window to specify a material property 's values at frequencies below and
above the frequency range. Based on these values, Q3D Extractor automatically creates a
piecewise linear dataset that specifies the property's values at the desired frequencies during
solution generation. This dataset can be modified with additional points if desired.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The piecewise linear model is quite general, and permits the relative permittivity to be specified
independently from the loss tangent. As a result, it does not guarantee that the Kramers-Krönig
causality conditions will be satisfied.
Here, denotes the high-frequency (or optical) limit of the relative permittivity and is the
difference between the low-frequency (DC limit) of the relative permittivity and .
is the DC conductivity (typically zero for low-loss dielectric materials). The model has lower
and upper "corner frequencies" and respectively, which are described further below. All
of these parameters are real-valued, and are computed for you from the material measurement
data you provide.
The effective relative permittivity and conductivity for the Djordjevic-Sarkar model can be derived
from the real and imaginary parts of Equation One (1) above.
The frequency-dependent behavior of the relative permittivity and loss tangent are illustrated in
the following figure. The frequency axis in this figure is shown on a logarithmic scale.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Suppose that the relative permittivity and loss tangent are given at a frequency
lying between the corner frequencies. Because the loss tangent determines the slope of the line,
and the relative permittivity defines a point on the line, the line is completely determined by a
single measurement. The only remaining parameters to be decided are the corner frequencies.
The upper corner frequency has not been observed in practice, and so it is set to a very high
value ( ) The lower corner frequency will be determined by the DC permittivity, at the
point where the flat DC part of the permittivity curve meets the linear part. If the user does not
provide the DC permittivity, the software will pick a value such that the lower corner frequency is
on the order of 10 krad/s.
References
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The Set Material Override dialog box appears. Click Allow metals to override dielectrics if
you want some intersections to be resolved automatically in the mesh. If metal intersects
dielectric, the metal overrides the dielectric in the overlap region. (That is, the metal object is
subtracted from the dielectric.) 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 feature allows 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.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
solution lies within a specified error tolerance. The sweep is complete when the solution meets
the error tolerance criterion or generates the maximum number of solutions. To view more
information about the solution, increase the number of steps and perform the sweep again.
The field solution for each point is deleted so that a new field solution can be generated for the
next point. The full-field solution is only saved for the final frequency point computed. The S-
parameters are saved for every solved frequency point.
Choose an interpolating sweep if the frequency range is wide and the frequency response is
smooth, or if the memory requirements of a sweep exceed your resources. An interpolating
sweep's time requirement is much less than a discrete sweep's because a solution for the entire
frequency range is interpolated based on solutions for a minimal number of frequency points.
The maximum time required for an interpolating sweep is the time required for a single frequency
solution multiplied by the maximum number of solutions.
Be aware that Q3D Extractor uses the finite element mesh refined during an adaptive solution at
the solution frequency or, if you did not request an adaptive solution, the initial mesh generated
for the problem. It uses this mesh without further refinement.
The procedure for an interpolating sweep is shown below, where n frequencies determined by
the system are included in the sweep.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Multipole Acceleration
Multipole expansion is a way to accelerate the computation of the potential distribution produced
by a known distribution of charges.
Computing the potential at n locations due to the charge on n triangles without multipole
acceleration would require O(n2) computations, because every pair of interacting triangles must
be accounted for. Multipole acceleration reduces this computation to O(n). Instead of directly
computing the potential due to each source at each observation point, the multipole method
does the following:
l The charges on triangles that touch the triangle where the potential is being evaluated
contribute significantly more to the result than the charges on triangles that are farther
away. The contributions to the potential from these charges are computed directly.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l The charges on triangles that are farther away have a significantly smaller contribution to
the result. They are approximated using a multipole expansion, which groups the charges
into a single set of equivalent terms.
Directly computing the potential on the triangles that are near neighbors minimizes the error in
the solution. Using a multipole expansion to compute the potential on triangles that are farther
away is somewhat less accurate than directly computing them but greatly speeds up the solution
and uses less computer memory. The accuracy of the overall solution can be controlled by using
distance criteria to decide where to apply the multipole expansion technique.
The causality check itself happens between the message Checking causality. Reconstruction
error tolerance: 0.025 (time 10:38:46) and the message Causality check is inconclusive: Please
add more frequency samples (time 10:52:11). The difference between these two times is the
time for the causality check after setup, 13:25 or thirteen minutes and twenty-five seconds.
There is a fixed overhead of around 25 minutes involved in the overall time duration for this
example.
Here are the causality check messages for the same 278-port file using 8 cores:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Now the causality check happens between times (1:03:55) and (1:10:35), a difference of (6:40)
or six minutes and forty seconds, about half the time for the two-core example.
The speedup from multithreading is not linear in practice. Here are the messages from the same
278-port file using 16 cores:
Now the causality check happens between times (11:29:54) and (11:36:08), a difference of
(6:14) or six minutes and fourteen seconds, not significantly better than the eight-core
performance.
Here is a graph showing the speedup of the causality checker using multithreading on this 278-
port file. The plot is generated using data from runs with 1, 2, 4, 6, 8, 10, and 12 cores, then
averaging the known times to approximate the speedup for 3, 5, 7, 9, and 11 cores. The
speedup for N cores is the time with one core divided by the time with N cores.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
To compute the entries of a matrix, Q3D solvers individually excite each conductor net or source
terminal you have defined. Conducting objects, whether part of a net or not, influence the matrix
calculations. Non-net conductive objects are grounded.
Since a model may contain many nets, the electromagnetic interaction between nets is
described by a matrix, calculated as follows:
l As each source is excited, the field solution is used to compute a capacitance, inductance,
or resistance for that conductor relative to the reference ground and to the other
conductors. Each excitation yields one column of the matrix.
l The resistance and inductance matrices have one row for each source terminal. However,
the capacitance and conductance matrices contain one row for each net.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Capacitance Matrices
At the simplest level, capacitance is proportional to the amount of energy stored in the electric
field in and around a structure. In a circuit, this is the energy stored in the electric field resulting
from the voltage differential across a dielectric:
where:
l Ue is the energy stored in the electric field
l C is the capacitance
l v is the voltage across the dielectric
Q3D Extractor uses AC conduction to compute the capacitance between two lines by simulating
the electric field that arises when a voltage differential is applied and then computing the energy
stored in the field. The solver uses the following equation to solve for capacitance in terms of Ue:
To compute the elements in the capacitance matrix for an n conductor transmission line, the
Q3D Extractor performs a sequence of field simulations. In each field simulation, 1 volt is applied
to a single conductor and 0 volts are applied to all other conductors. The energy stored in the
electric field is given by the following relationship:
where:
l Uij is the energy stored in the electric field linking conductor i with conductor j.
l Di is the electric flux density produced when 1 volt is applied to conductor i and 0 volts are
applied to all other conductors.
l Ej is the electric field produced when 1 volt is applied to conductor j and 0 volts are applied
to all other conductors.
Since a standard SPICE component only has two terminals, the software derives a SPICE
matrix format from the Maxwell matrix capacitance elements.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Conductance Matrices
Conductance matrices are analogous to capacitance matrices. In the case of the conductance
matrix the total currents I1, I2, etc. replace the total charges Q1, Q2, etc.
More concisely:
The entries of the conductance matrix are specified in units of Siemens (Amps/Volt.)
Resistance Matrices
In a device with n source terminals, the resistance relationship is expressed by an n x n matrix:
V = RI
Q3D Extractor computes partial resistances—that is, the resistance only of the specific part of
the structure being modeled. The rest of the current loop is not considered. The total resistance
of the loop is the sum of the partial resistances of each section of it.
Resistance
Resistance in the Q3D Extractor refers to the ohmic losses in the signal conductors.
Conductance is the inverse of the shunt resistance, and is calculated in the AC conduction
solver.
To compute resistance, the eddy current solver calculates ohmic loss, P, using the following
relationship:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
and
Resistance is therefore:
Since the software assumes that the object for which resistance is being computed has a peak
current of one amp per coil turn flowing through it, the resistance is simply 2P.
Note:
The computed resistance for an eddy current problem is higher than the equivalent
DC resistance, due to the skin concentration of currents.
This results in the following matrix equation, which gives the relationship between I and V for the
two current loops:
Where:
l Vi and Ii are voltage and current phasors.
l Z11 = R11 + jωL11 (the self-resistance of loop 1).
l Z12 = R12 + jωL12 (the mutual resistance between loops 1 and 2).
l Z22 = R22 + jωL22 (the self-resistance of loop 2).
DC Resistance Matrices
The resistance matrix gives the relationship between voltage drops and currents. For instance,
the transmission structure shown below consists of two regular conductors, one of which has
multiple sources of current.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
ΔV3 = i3R33
where:
l R11, R22, and R33 are the self-resistances of each current path.
l R12 is the mutual resistance between current paths 1 and 2. For DC resistance matrices,
the mutual resistance is only nonzero for current paths within the same net (that is,
conductor nets that have multiple sources of current).
Note:
AC Resistance Matrices
The resistance matrix gives the relationship between voltage drops and currents.
For example, the transmission structure below consists of two regular conductors, one of which
has multiple sources of current.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
R11, R22, and R33 are the self-resistances of each current path.
R12is the mutual resistance between current paths 1 and 2. Mutual resistance only applies to
current paths within the same net (that is, conductor nets that have multiple sources of
current).where:
R13 is the mutual resistance between paths 1 and 3. R23 is the mutual resistance between
paths 2 and 3.
Note:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
AC resistance is computed after determining the surface currents on a net. Surface currents are
computed as a step in determining AC inductance.
The main reason to use perfect conductors in Q3D Extractor is when you have an application
with both good and poor conductors. By defining the good conductors as perfect conductors,
induced currents are simulated in these conductors, while only volume currents are simulated on
the poor conductors.
Inductance Matrices
At the simplest level, inductance is proportional to the energy stored in the magnetic field when
current flows:
where Um is the energy stored in the magnetic field, L is the inductance, and I is the current
flowing in the circuit. Q3D Extractor uses the eddy current simulator to compute the inductance
between two lines by simulating the magnetic field that arises when a current is applied and then
computing the energy stored in the field.
The solver uses the following equation to solve for inductance in terms of Um:
To compute the elements in the inductance matrix for an n conductor transmission line, Q3D
Extractor performs a sequence of field simulations. In each field simulation, 1 amp is allowed to
flow in a single conductor, and no current is allowed to flow in any other conductor.
The energy stored in the magnetic field associated with the inductance between two conductors
is given by the following relationship:
where:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Uij is the energy stored in the magnetic field linking conductor i with conductor j.
l Bi is the magnetic flux density produced when one amp is allowed to flow through
conductor i and no current flows in the other conductors.
l Hi is the magnetic field produced when one amp is allowed to flow through conductor j and
no current flows in the other conductors.
To compute conductance, the AC Conduction solver calculates power, P, using the following
relationship:
and:
conductance is therefore:
Since the software assumes that the object for which resistance is being computed peaks at one
volt, the conductance is simply 2P.
Note:
The computed resistance for an eddy current problem is higher than the equivalent
DC resistance, due to the skin concentration of currents.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The current density in the DC case (on the left) is evenly distributed throughout the cross-section
of the conductor. The current density in the AC case (on the right) is distributed close to the
surface due to skin concentration of currents. Since the area through which current can flow is
smaller, resistance to the current is higher in the AC case than in the DC case.
In the DC example, eddy currents do not occur because the magnetic field created by the
current flowing through the conductor is static. In the AC example, the oscillating magnetic field
induces currents in the conductors. These induced currents affect the computation of
inductance, causing it to be different from (generally lower than) the DC case. At higher
frequencies the magnetic field can propagate completely outside the conductor, whereas
current (the movement of electrons) still must travel in the conductor, though with a smaller
cross-sectional area. Therefore, at higher frequencies, there is less interaction of the magnetic
field with the conductor, so it is impeded less, thus there is less inductance. The inductance
flattens out because the magnetic field still interacts with the surface of the conductor but has
avoided pulling fields along through the metal.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
This results in the following matrix equation, which gives the relationship between λ and i for the
three conductors:
Inductance matrix values are in henries. In a device with n conductors, this relationship would be
expressed by an n x n inductance matrix. The diagonal terms in the matrix (such as λ11)
represent the self-inductance of each signal line. The off-diagonal terms (such as λ12 and λ13)
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
represent the mutual inductances between the signal lines. Note that the inductance matrix is
symmetric about the diagonal. This indicates that the mutual effects between any two signal
lines are identical. Since the software assumes that the object for which resistance is being
computed has a peak current of one amp per coil turn flowing through it, the inductance is simply
4Uav.
where Um is the instantaneous value of the energy stored in the magnetic field, L is the
inductance, and i = Ipeak cos(ωt + θ)— the instantaneous value of the current flowing in the
circuit, related to the peak value of the current.The average value for the energy can then be
found by integrating Um.
and
Given the three transmission lines shown in the following figure, the voltage changes caused by
the time-varying current source on each line are given by the following relationship:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
This inductance matrix gives the voltages that are induced on lines 2 and 3 when a time-varying
current source is applied to line 1— that is, the inductive coupling between the three lines or the
open circuit inductance. Inductance matrix values are in henries.
Now suppose we exchange the locations of the source and sink terminals on one current path,
so that the two current paths have the opposite orientation. The mutual inductance will now
become negative. In the partial inductance example above, the loop inductance would be given
by the modified formula:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
This of course gives the same result as before, because the signs of the partial mutual
inductance terms have changed.
Finally, suppose we take one conductor and turn it 90 degrees relative to the other. The mutual
inductance will become zero.
This section of technical notes explains the meanings of various matrix reduction operations
available in Q3D Extractor and 2D Extractor, as well as the assumptions behind them. It is
divided into the following topics:
l Introduction – explains basic concepts from electromagnetics and circuit theory that are
essential for understanding this section.
l Grounding and Floating Conductors – describes the effects of grounding and floating
conductors on the capacitance and inductance matrices.
l Connecting Elements – describes the effects of connecting elements in parallel or in
series on the capacitance and inductance matrices.
l Joining Elements in Parallel – describes the effects of joining elements in parallel on
the inductance matrix. The Join Selected Terminals operation is also covered.
l Floating at Infinity – describes the Float at Infinity operation and its effect on the
capacitance matrix.
l Return Path Reduction – describes the Return Path Reduction operation and its effect
on the inductance matrix.
l Redefining the Ground Reference – describes redefining the ground reference and the
effect of doing so on the capacitance matrix.
l Operations for Multiterminal Conductors – describes operations for multiterminal
conductors (such as moving source and sink points or adding sink points) and their effect
on the inductance and capacitance matrices.
l Set Ground vs Add Ground in 2D Extractor – describes the two different grounding
options available in 2D Extractor and the effects of each.
l Differential Pair Matrix Reduction in 2D Extractor – describes the differential pair
matrix reduction operation and its effects.
Circuit-oriented approaches will be used to explain the concepts involved, and the examples will
distinguish between the cases of inductance and capacitance matrices because many (if not all)
matrix reduction operations have very different effects on the two types of matrices.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Introduction
This topic reviews a few basic concepts from electromagnetics and circuit theory that are
essential to this discussion.
Two-Terminal Capacitor
A two-terminal capacitor of value is shown in the figure below, with the charges on the top and
bottom plates shown. below. Recall from basic circuit theory that each "plate" of the capacitor
has associated with it a certain charge. The "top" plate (the one that serves as the positive
reference for the branch voltage ) has a total charge spread over it. The bottom plate
has an equal and opposite charge . The charges are always equal and opposite
because it is assumed that the field lines from the top plate terminate on the bottom plate.
When two or more capacitors are connected to the same node, the total charge on the node is
simply the sum of the charges on the various capacitor plates connected to the node.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Similar relationships hold for conductors 2 and 3. The role of a field solver is to compute the
that is, .
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The collection of these capacitance coefficients is known as the Maxwell capacitance matrix
. For the 3-conductor example, the Maxwell capacitance matrix could be written as:
This employs the reciprocity condition to replace with , etc. This is the capacitance
matrix that the field solvers in Q3D Extractor compute.
Assume that the voltages and on nodes 1, 2, and 3 are known. The total charge on
these nodes can be computed. For example, on node 1 the total charge is:
Therefore, there is a relationship between the two-terminal capacitor values and the entries of
the Maxwell capacitance matrix:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
And so on. The diagonal entries of the Maxwell capacitance matrix are found by summing the
total of all two-terminal capacitances connected to the given node. The off-diagonal entries of
the Maxwell capacitance matrix are found by taking the negative of the coupling capacitance
between two nodes.
Thus, the Maxwell capacitance matrix is given in terms of two-terminal capacitor values as:
The diagonal entries of the Spice capacitance matrix are the sum of the rows of the Maxwell
capacitance matrix: . The off-diagonal entries of the Spice
capacitance matrix are the negative of the corresponding entries of the Maxwell capacitance
matrix: for .
When Q3D Extractor solves a problem involving lossy dielectric materials, the losses give rise to
a non-zero conductance (G) matrix. The G matrix can be visualized as a set of two-terminal
resistors connected in parallel with each of the two-terminal capacitors in this figure:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
These resistors are characterized in terms of their conductance values (the reciprocal of their
resistance), measured in siemens.
The G matrix relates the leakage currents in the dielectrics to the conductor voltages. Thus, a
system of two conductors gives a 2x2 conductance matrix:
The admittance matrix must be used when a problem requires Q3D Extractor to enforce
conditions on the total current. For example, when floating a conductor in a lossy problem, its
total current must equal zero.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The matrix reduction operations that require use of the admittance matrix are: floating a
conductor and floating at infinity.
To simplify the information that follows, these operations are explained in terms of the
capacitance matrix, as if the problem were lossless. The results derived could also apply to a
lossy problem if were replaced by The reduced Y matrix can be separated into the
reduced G and C matrices by taking the real and imaginary parts, respectively, and then dividing
the imaginary part by to obtain C.
Two-Terminal Inductor
The figure below shows an ideal two-terminal inductor with its branch voltage, branch current,
and magnetic flux.
A two-terminal inductor is described by the following relationship between its branch voltage
and the time derivative of its branch current :
It’s often convenient to instead separate this into two separate relationships. The magnetic flux
is defined as:
Accompanying this is the relationship between voltage and the time derivative of the flux:
For this example, force the voltages on two inductors to be equal to one another; in other words,
, or:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Assuming there was some time in the past when both inductances were completely discharged,
integrate this equation to arrive at the result:
It is often more convenient to work with inductor fluxes than voltages, as this avoids carrying the
time derivative operator.
Coupled Inductances
Two coupled inductances have their fluxes determined by the currents in both inductors:
The quantities are the entries of the inductance matrix for these two conductors:
The voltages across these coupled elements are computed from the fluxes in exactly the same
way as for uncoupled elements:
It is easy to expand these two relationships in terms of time-derivatives of the two currents. It is
also straightforward to generalize from the case of two coupled inductances to an arbitrary
number of couplings.
In certain situations, it is meaningful to consider mutual resistance effects. The simplest case to
visualize is the multiterminal conductor (“net”) shown below.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
This figure demonstrates mutual resistance between two current-carrying paths on the same
multiterminal conductor. In this example, a current flowing into one terminal produces voltage
drops throughout the conductor. Part of this voltage drop is across the bottom leg of the Y shape.
This portion of the voltage drop is shared between and , and so it appears in both. The
"shared" voltage drop creates mutual resistance. Consider:
Thus, the mutual resistance is the voltage drop sensed by due to a one ampere current
flowing in . For linear, isotropic media, this is the same as the voltage drop induced in by a 1
amp current in .
Note:
If the voltage drops were measured on two disjoint conductors and the frequency was
zero, there could be non-shared voltage drop, and the mutual resistance in this case
would be zero, not infinity. Zero-valued mutual resistance means that a current flowing
in one conductor does not induce voltage drop on the other.
When dealing with multiple conductors, it is natural to describe them with a resistance matrix.
For the two-conductor example, the resistance matrix would consist of the self-resistances on
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
the main diagonal and the mutual resistance values between the conductors on the off-
diagonals:
At non-zero frequency, the voltage on a conductor will have resistive and inductive components.
Therefore, the impedance matrix must be used when the matrix reduction operation enforces
conditions on the voltage drop. These cases include: joining conductors in parallel, joining
selected terminals, and grounding a conductor. For simplicity, the reduction formulas for these
operations are derived as if the problem were lossless (having zero resistance).
The results obtained will also apply to problems with non-zero resistance if is replaced by the
impedance in the formulas. As with the admittance matrix, the reduced impedance matrix,
once computed, can be separated into the reduced R and L matrices by taking the real and
imaginary parts of Z respectively and then dividing the imaginary part by to get L.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Suppose it is necessary to ground node number 2. This would involve placing a short across the
capacitor:
This eliminates from the circuit, effectively leaving in parallel with , and in
parallel with .The former node-to-node coupling capacitances and are now
grounded.
The corresponding Maxwell capacitance matrix for the reduced system is:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The diagonal entries that remain are unchanged because the total capacitance on each node is
the same as before. The remaining off-diagonal entries are also unchanged. This reduced 2x2
capacitance matrix could also have been obtained simply by deleting row and column number 2
of the original 3x3 capacitance matrix.
Summary:
The G matrix is affected in the same way as the capacitance matrix when a conductor is
grounded: delete the corresponding row and column of the matrix.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The situation here is completely analogous to what happened to the capacitance matrix when
grounding a conductor. To float a conductor, simply delete one row and column from the
inductance matrix.
Summary:
It’s worth noting that there is still a voltage drop across conductor 2 (findable by taking the time
derivative of its flux). This may seem counter-intuitive. How can there be a voltage drop if there’s
no current flowing through the conductor? This paradox is resolved by remembering that the
voltage drop is induced by magnetic fields produced by the time-varying currents flowing in the
surrounding conductors. The resistance matrix is affected in the same way as the inductance
matrix when open-circuiting a conductor.
The figure below shows an example of "grounding" an inductance element by zeroing out its
voltage drop with an ideal short circuit. Conductor 2 has been zeroed out here:
Zeroing an inductor’s voltage is equivalent to zeroing its flux. If the example above is a set of 3
coupled inductances where conductor 2 has been grounded, then:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Zeroing out the voltage does not simultaneously force the current in conductor 2 to be zero. It’s
possible for a current to flow in the loop formed by this conductor and the ideal short placed
across it. In fact, this current can be computed by solving the above equation:
The same result could be arrived at by taking the original 3x3 matrix and performing a single step
of Gaussian elimination on it using entry (2,2) as the pivot.
Notice that the self-inductances in the reduced matrix will be lower than the self-inductances of
the original matrix, due to the subtraction of positive quantities like .
The discussion above is only rigorously true for lossless (zero-resistance) conductors. For
conductors with finite resistances, work with the Z matrix, as described in the section
introduction.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Thus, zeroing the current in a particular capacitor forces the charge on it to become a constant. If
the open-circuited capacitor is discharged initially (i.e., it has zero charge), then it has zero
charge forever. Assume from this point on that all capacitors are initially discharged. This
simplifies the following discussion.
Notice that the voltage on conductor 2 is not necessarily equal to zero. In fact, it is now controlled
entirely by the voltages on the surrounding conductors:
The voltage on conductor 2 must be able to adjust itself in response to changes in the voltages
on the surrounding conductors to ensure that its total charge remains equal to zero.
Eliminate any occurrence of the voltage in the expressions for the charges on the remaining
conductors. For example, for conductor 1:
Following the same procedure for conductor 3 arrives at the reduced 2x2 capacitance matrix for
the problem:
Taking the original capacitance matrix and deleting row and column 2 would arrive at a similar
result, but there is clearly an additional correction term that must then be subtracted from the
remaining entries.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
To think of the effect on coupling capacitance in another way, return to this figure:
If node 2 is disconnected from any external voltage sources, there is now an additional
capacitive path from node 1 to node 3 by way of capacitances and ( is involved as
well, in a complicated way). This extra path is in parallel to the direct coupling capacitance .
Since capacitors connected in parallel add, the coupling between the two nodes is increased.
The Maxwell self capacitance on node 1 drops because the capacitance seen looking through
this extra path consists of in series with the parallel combination of and . Adding
capacitors in series lowers the capacitance value, so the contribution of to the Maxwell self-
capacitance is decreased.
Connecting Elements
This topic describes the effects of connecting elements in parallel or in series.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l
The coupling capacitance is shorted out and vanishes.
l
Capacitances and are placed in parallel; they add to form a new coupling
capacitance from node 1 to the combined nodes 2 and 3.
l
Capacitances and also add in parallel to become .
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The net effect of this is to produce the reduced 2x2 Maxwell capacitance matrix given below:
The same reduced 2x2 matrix could have been obtained by:
l Adding row 2 to row 3 of the original 3x3 Maxwell capacitance matrix, then deleting the
original row 2 to obtain:
l Adding the resulting column 2 to column 3, then deleting the old column 2 to obtain:
Summary:
To compute the reduced capacitance matrix obtained by connecting conductor in
parallel with conductor (that is, short-circuiting the conductors together), add row to
row of the capacitance matrix (and delete the old row ). Then add column of the
result to column (and delete the old column ).
The figure below shows an example of connecting two floating inductances (in this case,
branches 2 and 3) in series. In this example, the – node of branch 2 is connected to the + node
of branch 3.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Since the inductance element is floating (neither end necessarily grounded), the series
connection can be accomplished in two different ways. For this example, assume it is desirable
to connect the – reference node of one element to the + node of another. Performing the
connection another way (for example, connecting two – nodes together) would involve first
performing a source-sink exchange operation on one of the branches to redefine the +/–
reference direction (See: Joining Elements in Parallel).
In the scenario pictured above, the series connection produces a single "macro" branch. Two
features of the series connection are clear from the figure:
Using these observations, obtain the branch relationship for the series combination of 2 and 3
as:
However, implies:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Collecting together the results for the remaining branch fluxes and obtains the reduced 2x2
inductance matrix for the problem:
Comparing this with the original inductance matrix, note that the same result could have been
obtained by adding rows 2 and 3, and then adding the resulting columns 2 and 3 together.
Summary:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The math of dealing with this connection is more complicated than that in previous topics.
For this particular problem, first excite with 1 amp while keeping . Then set
and .
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Using the equation for would have obtained the same result. The quantity in brackets above
is the mutual inductance between conductor 1 and the parallel combination of conductors 2 and
3.
The new self-inductance of conductor 1 is always lower than the original self-inductance .
Why should placing conductors 2 and 3 in parallel affect the self-inductance of a different
conductor? The answer can be reasoned as follows: before the parallel connection was made, a
current flowing in conductor 1 would induce voltage drops in conductors 2 and 3. These drops
are not necessarily the same. When the connection between conductors 2 and 3 is made
parallel, their voltage drops must equalize. This is accomplished by inducing a current which
flows in the closed loop formed by conductors 2 and 3 and the ideal shorts across them. The
existence of this current in branches 2 and 3 in turn induces a voltage drop back on conductor 1.
This back-EMF opposes the one induced by direct current flow.
Since :
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The quantity in brackets is the self-inductance of the parallel combination. The parallel
combination has a self-inductance which is lower than either of the original self-inductances of
the two branches that were connected together.
Summary
The reduced 2x2 inductance matrix for the parallel connection is given below:
Sometimes this is desired; sometimes it’s not. Sometimes what is desired is that the balloon
have zero total charge, as if the connection from ground to the conducting balloon has been
broken. If it’s initially discharged, it will continue to have zero total charge. An interesting
consequence of making this change is that the balloon may no longer have a potential of zero
volts; the ground reference for the problem has “shifted” to a new location at a finite distance.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
What is the effect of this operation on the capacitance matrix computed by Q3D? Consider the
following figure.
If the ground connection is broken and the former ground node is left open-circuited, the result
looks like the following:
The voltage on the former ground node is unknown. This voltage can be determined by
calculating the total charge on the node, and asking what voltage is required to ensure that this
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
total charge is zero. Summing over the bottom plates of , , and , the total charge is
found to be:
Demanding zero total charge allows computation of the voltage on the ground node:
With this result, the new Maxwell capacitance matrix for the problem can be determined. Recall
that the capacitance matrix can be calculated by zeroing all of the node voltages (1,2,3) except
for one, which is set to 1 Volt. The total charges on nodes 1—3 are then determined. This set of
charges constitutes one column of the Maxwell capacitance matrix.
The quantity in brackets is the new (Maxwell) self-capacitance term for conductor 1. The old self-
capacitance was , and so the self-capacitance has been decreased by this
operation.
Using a similar approach, the charges on conductors 2 and 3 can be computed. The results are:
The quantities in brackets are the new coupling capacitances from node 1 to nodes 2 and 3,
respectively. The original coupling capacitances were and , so the magnitude of the
coupling has increased.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Using the procedure outlined above, similar experiments can be performed, setting ,
, and then , . The new Maxwell capacitance matrix
summarizes the results:
This is the first example of a matrix reduction operation that leaves the size of the matrix
unchanged.
One thing to note about this operation is that the resulting capacitance matrix is indefinite. That
is, the sum of the matrix rows (or columns) is zero. Thus, if trying to determine the values of the
two-terminal capacitors to ground for the reduced matrix, they will be zero; the grounded
capacitors disappear.
When there is a non-zero G matrix, the total current at the ground node (instead of total charge)
must be equal to zero. Therefore, the Y matrix (not the capacitance matrix) must be used to
derive the matrix reduction formula. The result shown above still applies, with replaced by
.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
When performing this operation, no other connections can be made to the bottom node (the one
to which all – references are connected). If connections were made, then current could flow
through these external connections and disrupt the balance of currents shown in the figure.
For this reason, it is convenient to redefine the – reference for the branch voltages in the
problem as the + node of the return path conductor. The new branch voltages are named and
. When making this change, it is imperative that calculations incorporate the voltage drop
across the return path conductor in calculations.
To calculate these new branch voltages from the two remaining independent currents and ,
switch to the element fluxes and observe that:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
From these relationships, read out the entries of the 2x2 reduced inductance matrix:
Notice that the self-inductance of the return path conductor adds to every element of the matrix.
For mutual inductances, subtract the mutuals between both of the coupled conductors and the
return path conductor.
Assume that nodes 1, 2, and 3 have known voltages, and suppose that it is desirable to make
node 3 the new ground reference. The new situation is shown below.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Comparing with the original Maxwell capacitance matrix, the redefinition of ground can be
accomplished by replacing row 3 and column 3 with new entries. The off-diagonal entries are the
former capacitances to ground, and the diagonal entry is the sum of the capacitances to ground
from the original system.
The currents entering the source terminals may be considered to be independent of one
another; the current leaving the sink terminal is clearly not independent of the others because it
is just the sum of the source terminal currents.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Q3D Extractor also defines a set of independent branch voltages for the multiterminal
conductor, measured by taking the difference in potential from the source terminal to the sink
terminal. The sink terminal is the common reference point for all of the branch voltages.
The relationship between the branch voltages and the source terminal currents is described by
inductance and resistance matrices (or equivalently, an impedance matrix). The figure
below shows a 4-terminal conductor with 3 source terminals and 1 sink terminal. It is
characterized by a set of 3 independent currents which are defined as entering the source
terminals. A set of 3 independent voltages is also defined. These voltages share a common –
reference in the sink terminal.
The approach is similar to the one we used earlier in performing return path reduction.
The figure below shows an example in which the sink point is moved to terminal 3. The former
sink current must now be treated as one of the three independent currents in the problem.
Also, the branch voltages must be redefined with their common – reference as terminal 3.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The KCL relationship is key, because it allows us to eliminate from the problem:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
With these results, compute the new set of fluxes for the problem:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Add Ground – the same as the grounding operations previously described. Add Ground
forces the potential on one capacitor node to zero volts and ensures that the voltage drop
across one inductor is zeroed. In effect, the conductor is connected to the ground
reference everywhere.
l Set Ground – In a closed problem, a non-conducting object must be assigned to act as a
"surface ground." The outer boundary of this object is treated as the ground reference for
capacitance calculations and as the current return path for inductance computations.
Using the Set Ground operation in a closed problem, redefines the ground reference to be
the user-selected signal or non-ideal ground conductor. The surface ground is converted
to a floating conductor.
The figure below shows a typical situation in which the Set Ground operation is employed in 2D
Extractor.
The effect of Set Ground on the inductance matrix is easier to understand. The newly
designated ground is taken as the return path for all currents. The matrix operations needed to
do this are identical to the ones described in Return Path Reduction for Inductance Matrices.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The current in the bounding conductor always remains equal to the negative of the sum of the
currents in the original signal conductors. Forcing one of the signal conductors to act as a return
path ensures that the sum of these currents is zero. Therefore, this operation effectively open-
circuits the bounding conductor. Thus, it is consistent with the operations performed on the
capacitance matrix.
It is easy to go back and forth between the single-ended and mixed-mode voltages. To illustrate:
A 2x2 capacitance matrix can be converted to mixed-mode form. To begin, take the Maxwell
capacitance matrix and rewrite the single-ended voltages in terms of the mixed-mode voltages:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note that because a capacitor’s current is the time-derivative of its charge, the charges and
must be combined in the same way as the single-ended currents to find the mixed-mode
charges (and currents):
Notice that in a symmetrical structure , and so the capacitance coupling between the
differential and common mode will be zero in that case.
For the mixed-mode inductance matrix, start with the single-ended inductance matrix
relationship and rewrite the single-ended fluxes in terms of mixed-mode currents. Thus:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The fluxes must be combined in the same way as the single-ended voltages to yield the
differential fluxes:
If the structure is symmetrical, and the inductive coupling between the differential
and common-mode signals will be zero. This is why differential pairs are laid out in a symmetric
fashion.
Therefore, if Q3D is asked to compute S-parameters from its RLGC solution, there is no unique
way to accomplish that. Q3D must pick one circuit topology from the infinite universe of possible
circuits, and then compute the S-parameters from it.
When computing S-parameters in Q3D, you can choose from two options: the Equivalent
transmission line model and the Lumped RLGC model. The differences in the two
approaches are described below.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
This approach works well when the 3D structure being analyzed matches the above
assumptions: a collection of parallel wires of similar length. However, it can lead to non-physical
results when the structure deviates substantially from this situation. Examples of structures that
might cause problems are ones that involve wires with very different lengths, such as a 50 cm
long wire next to a 5 mm long wire. For such structures, the new Lumped RLGC model
approach is more appropriate.
The S-parameters are then calculated from this network. This approach is recommended when
dealing with arbitrary 3D structures.
Solution Process
Basic Assumptions in Q3D Extractor
All electromagnetic phenomena, including capacitance and inductance effects, are described by
Maxwell 's equations. These relate the electric field to the magnetic field in the presence of
materials described by electric permittivity ε, conductivity σ and magnetic permeability μ.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
and
Q3D is based upon a simplification of Maxwell 's equations called the quasistatic approximation:
it is assumed that the size of the structure to be analyzed is small compared to the wavelength at
the maximum frequency of interest. A general rule of thumb is that the size of the structure
should be less than one tenth of a wavelength. The wavelength is inversely proportional to
frequency. In most printed circuit, IC and packaging materials it is approximately 15 cm at 1
GHz, and 1.5 cm at 10 GHz. This assumption allows Q3D to solve very complicated structures in
an efficient way.
For structures that are larger than one tenth of a wavelength, a full-wave field solver (one that
considers the two-way coupling between the electric and magnetic fields, such as HFSS) should
be used. The full-wave solver will ensure that all electromagnetic phenomena are modeled, but
may be more time-consuming to run than Q3D.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l The above process is repeated, with each signal net being set to 1 Volt in turn while the
other nets are maintained at 0 volts, until solutions have been obtained for each net.
Here the operator || || denotes the Euclidean length of a vector. The equation is based upon an
implicit assumption that the potential will go to zero as the distance between the source and
observation points goes to infinity. This assumption can be relaxed by applying the Floating at
Infinity matrix reduction operation as a post-processing step.
If dielectric objects are present in the problem, they must also be taken into account. The
electromagnetic boundary condition at the interface between two dissimilar dielectrics is the
continuity of the normal electric flux:
Here n̂ is the unit vector normal to the dielectric interface. The dielectric constants ε1 and ε2 on
opposite sides of the interface are real-valued for lossless dielectrics and complex-valued (and
possibly frequency-dependent) for lossy dielectrics. and are the corresponding electric
field vectors.
ρb
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Because the electric field appearing in this equation is the negative of the gradient of the
electrostatic potential Φ, it can be found by carefully differentiating the equation. The bound
charge density ρb appearing in the equation constitutes an additional set of field sources that
must be computed by the solver. Q3D creates additional mesh triangles on the dielectric
interface and solves for the bound charge densities in these triangles, iteratively updating them
until all conditions are satisfied.
Here ω is the angular frequency, and we have made use of the fact that the current is the time
derivative of the charge on the circuit node, Q. This implies that we can extract the conductance
and capacitance if we know the total charge on the conductor and the applied voltage using the
formula:
By matching the real and imaginary parts on both sides of this equation, we get separate
expressions for the capacitance and conductance:
and
Qmn
and
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Under steady state DC conditions, the amount of charge leaving any infinitesimally small region
must equal the charge flowing into that region. That is, the charge density, ρ (x,y,z), in any region
will not change with time:
This is one form of Laplace 's equation. The conduction solver uses the finite element method
with quadratic basis functions to compute the potential at each vertex and edge midpoint in the
mesh. The finite element matrix is solved using a direct solver that exploits the sparsity of the
linear system of equations. The boundary conditions that must be applied are:
l The normal component of the current density must be zero at an interface between the
conductor and an insulating region, such as a dielectric or free space.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
From circuit theory, the DC power loss in a resistor Rnn is given by:
Since In,= 1 Amp, the equations above imply that the self resistance is given by:
If multiple conduction paths exist, then the mutual resistance Rmn between paths m and n can
be calculated from the formula:
DC current density , the resulting magnetic vector potential can be calculated from the
volume integral equation:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Here V denotes the volume of the conducting objects. The calculation of the vector potential
can be time-consuming if direct integration from every source to every observation point is
used. To make the calculation efficient, Q3D uses the fast multipole method.
If magnetic materials are present, Q3D uses Adaptive Cross Approximation (ACA) with the help
of the fast multipole method.
Because the applied current In = 1 Amp, the equations above imply that the self inductance of
source n is:
If there are multiple sources in the problem, then the above procedure must be modified slightly.
To compute the mutual inductance Lmn between two different current paths m and n, the
formula is:
To calculate the AC resistance and inductance matrices, Q3D Extractor does the following:
l Divides the surfaces of the conductors into a finite element mesh.
l Applies one volt to one of the source terminals while short-circuiting the remaining
terminals.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l Solves the boundary element equation using the high frequency "lossless" assumption
that tangential component of the E-field vanishes.
l Repeat the previous two steps for each source to generate the high frequency or AC
inductance matrix.
l Use the "lossless" currents in conjunction with a skin effect-based surface resistance
matrix to determine the perturbation of the inductance matrix caused by the resistance.
The first condition is enforced using the quasi-static version of the electric field integral equation:
This equation relates the incident tangential electric field to the surface current density. This
integral equation is solved using divergence conforming basis functions. To prevent charge build
up at the terminals, and also to enforce the second condition, these basis functions are then
projected into a solenoidal subspace.
Since total tangential electric field is enforced to be zero, the resulting impedance matrix is
lossless (pure inductive.) Therefore, the imaginary part of Z determines the inductance matrix L
where:
To get the resistance matrix, the power losses due to the surface current density are computed
using the following integral over the metal surfaces:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
distribution .
If multiple conduction paths exist, then the AC mutual resistance Rmn between paths m and n
can be calculated from the formula:
If there are multiple sources in the problem, then the above procedure must be modified slightly.
To compute the mutual inductance Lmn between two different current paths m and n, the
formula is:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
H Fields
In order to visualize H fields in Ensight after AC/RL extraction, H fields must be computed at all
required observed points in the space or model surface based on the solution of surface current
density. Q3D Extractor uses radiation integrals, which in quasistatic case collapses to:
Where N is the total number of elements. Q3D Extractor also assumes that current density on
each element is constant.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
2D Extractor computes RLGC circuit parameter matrices for any arbitrary multi-conductor
transmission line. These circuit parameters depend only upon the geometry of the structure and
the characteristics of the materials that make up the structure. Once computed, these circuit
parameters can then be transformed into a SPICE subcircuit that can be incorporated within a
larger circuit or schematic, allowing you to analyze its impact on signal integrity.
This section outlines the technical aspects of the general procedure used by 2D Extractor to
generate an equivalent subcircuit for a transmission line. Although much of this procedure is
transparent, a general knowledge of the underlying theory can help you operate 2D Extractor
more efficiently.
Basic Assumptions
The following basic assumptions are made in 2D Extractor:
l You are only trying to model quasi-TEM wave effects (structures with two or more
conductors).
l The transmission line has a uniform cross-section along its length, and can therefore be
represented by a single cross section. Discontinuities associated with bends, junctions,
and vias are not taken into account by the software. To model the effect of such
discontinuities, use Q3D Extractor (for low to middle frequencies) or HFSS (for high
frequencies), which allow you to draw and analyze a full three-dimensional model of a
structure.
l All electric and magnetic fields lie in the XY cross-section being modeled. No component
of the E-field or B-field lies in the direction of propagation, except possibly a small electric
field component due to conductor losses.
Required Input
To generate a solution, 2D Extractor requires you to:
l Draw the cross-section of the structure being modeled.
l Identify which objects are signal lines, ground lines, and floating conductors.
l Specify object materials.
l Specify boundary conditions.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Output
2D Extractor provides (as requested):
l RLGC parameter matrices for a lossless transmission line.
l A SPICE equivalent subcircuit of the structure.
l Forward and backward crosstalk coefficients.
l Characteristic impedance matrices.
l Propagation velocity, delay and attenuation.
Phasor Notation
Solution Process
Balloon Boundary
Inside 2D Extractor, three layers of increasingly large triangles surrounding the problem region
are created, as shown below:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
On the outer surface of this "balloon" region, a zero-total-charge boundary condition is imposed
for CG solutions. That is, the integral (over the outer surface) of the normal component of the
electric field is required to be zero. This integral is expressed in terms of the finite element DOFs
and imposed as an additional constraint equation on the solution.
This prevents any net field lines from escaping from the drawn region to the outer boundary.
Thus the outer boundary will not act like an additional ground.
For RL solutions, 2D Extractor imposes the condition Az = 0 (where Az is the z-component of the
magnetic vector potential). This ensures there is no net current on the boundary, so it will not act
as an additional current return path.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l For a lossless transmission line, both capacitance and inductance matrices are required
to generate a SPICE equivalent circuit.
l For a lossy transmission line, one of the following combinations is required to generate a
SPICE equivalent circuit:
l Resistance, capacitance, and inductance
l Conductance, capacitance, and inductance
To compute all elements in a matrix for an n conductor transmission line, 2D Extractor performs
a sequence of field simulations, then computes the energy stored in the simulated field. In each
field simulation, 1 volt (for capacitance and conductance matrices) or 1 amp (for inductance and
resistance matrices) is applied to a single conductor and 0 volts or 0 amps is applied to all other
conductors. Therefore, for an n -conductor system, n field simulations are performed.
The CG matrices generated from field simulator outputs are in a Maxwell matrix format. Since a
standard SPICE component only has two terminals, the software derives a SPICE matrix format
from the Maxwell capacitance and conductance elements. This is only necessary for the
capacitance and conductance matrices, because both formats yield the same results for the
inductance and resistance matrices.
Capacitance Matrices
At the simplest level, capacitance is proportional to the amount of energy stored in the electric
field in and around a structure. In a circuit, this is the energy stored in the electric field resulting
from the voltage differential across a dielectric:
where:
l Ue is the energy stored in the electric field
l C is the capacitance
l v is the voltage across the dielectric
Q3D Extractor uses AC conduction to compute the capacitance between two lines by simulating
the electric field that arises when a voltage differential is applied and then computing the energy
stored in the field. The solver uses the following equation to solve for capacitance in terms of Ue:
To compute the elements in the capacitance matrix for an n conductor transmission line, the
Q3D Extractor performs a sequence of field simulations. In each field simulation, 1 volt is applied
to a single conductor and 0 volts are applied to all other conductors. The energy stored in the
electric field is given by the following relationship:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
where:
l Uij is the energy stored in the electric field linking conductor i with conductor j.
l Di is the electric flux density produced when 1 volt is applied to conductor i and 0 volts are
applied to all other conductors.
l Ej is the electric field produced when 1 volt is applied to conductor j and 0 volts are applied
to all other conductors.
Since a standard SPICE component only has two terminals, the software derives a SPICE
matrix format from the Maxwell matrix capacitance elements.
For example, given the three conductors in the following figure, with the Background object
used as a grounded reference, the net charge on each object is:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
This results in the following matrix equation, which gives the relationship between Q and V for
the three conductors:
Given the three transmission lines shown below, the current changes caused by the time-
varying voltage source on each line are given by the following relationship:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
This capacitance matrix gives the currents that are induced on lines 2 and 3 when a time-varying
voltage source is applied to line 1—that is, the capacitive coupling between the three lines, or
the short circuit capacitance (Capacitance matrix values are in farads).
Maxwell Matrices
The matrices generated by the software from the field simulators are in Maxwell matrix format.
Since a standard SPICE component only has two terminals, the software derives a SPICE
matrix format from the Maxwell matrix capacitance and conductance elements. You can then
use the elements of the SPICE matrix directly in a circuit design (as an exported subcircuit), or to
create a SPICE deck. This is only necessary for the capacitance and conductance matrices,
because both formats yield the same results for the inductance and resistance matrices. Thus,
using the definitions:
and
The Maxwell capacitance matrix equation, calculated from the energy (Ue) of the field solution
for two conductors, is:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The self-capacitances (the diagonal matrix elements) are greater than zero, and the mutual
capacitances (the off-diagonal matrix elements) are less than or equal to zero. This is because
physically, placing a positive voltage on a conductor while leaving the other conductors
grounded causes positive charge to accumulate on the excited conductor, while a
corresponding negative charge develops on surrounding conductors.
In a SPICE matrix, the elements are the values of the ideal two-terminal components that must
be connected between nodes to create the equivalent of the Maxwell matrix. The SPICE circuit
equivalent for previous two-conductor matrix appears as:
where:
l C10 (of the SPICE matrix) = C11 + C12 (of the Maxwell matrix)
l C20 (of the SPICE matrix) = C22 + C12 (of the Maxwell matrix)
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
This matrix is symmetric. Its diagonal entries are greater than or equal to zero (they may be
exactly zero if the conductors are shielded from each other), and its off-diagonal entries are also
greater than or equal to zero. This is because the SPICE matrix represents actual circuit values,
rather than one where each conductor is included separately.
Modeling conductance to generate the conductance matrix is similar, except that charge is
replaced by current.
This section of technical notes explains the meanings of various matrix reduction operations
available in Q3D Extractor and 2D Extractor, as well as the assumptions behind them. It is
divided into the following topics:
l Introduction – explains basic concepts from electromagnetics and circuit theory that are
essential for understanding this section.
l Grounding and Floating Conductors – describes the effects of grounding and floating
conductors on the capacitance and inductance matrices.
l Connecting Elements – describes the effects of connecting elements in parallel or in
series on the capacitance and inductance matrices.
l Joining Elements in Parallel – describes the effects of joining elements in parallel on
the inductance matrix. The Join Selected Terminals operation is also covered.
l Floating at Infinity – describes the Float at Infinity operation and its effect on the
capacitance matrix.
l Return Path Reduction – describes the Return Path Reduction operation and its effect
on the inductance matrix.
l Redefining the Ground Reference – describes redefining the ground reference and the
effect of doing so on the capacitance matrix.
l Operations for Multiterminal Conductors – describes operations for multiterminal
conductors (such as moving source and sink points or adding sink points) and their effect
on the inductance and capacitance matrices.
l Set Ground vs Add Ground in 2D Extractor – describes the two different grounding
options available in 2D Extractor and the effects of each.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Circuit-oriented approaches will be used to explain the concepts involved, and the examples will
distinguish between the cases of inductance and capacitance matrices because many (if not all)
matrix reduction operations have very different effects on the two types of matrices.
Phasor Notation
Time varying quantities that have the form F(t) = Fmcos(ωt + θ) can be represented as rotating
phasors in the complex plane.
F(t) = Fmcos(ωt + θ)
= ℜ [Fmej(ωt + θ)]
Each time-varying quantity now has the form Fmejωtejθ. The Fmejθ component is a complex
constant that can be represented by a stationary phasor in the complex plane. The (Fmejθ)ejωt
component is a complex number that depends on t, and can be represented as a rotating phasor
in the complex plane, as shown in the following figure:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The phasor 's projection on the real axis oscillates sinusoidally. It reaches a peak when parallel
with the real axis, and is zero when parallel with the imaginary axis. Therefore, a phasor with θ =
90° represents a quantity that peaks 90 degrees after a phasor with θ = 0°.
You need to enter magnitudes and phase angles when you specify voltages, currents and other
boundary or source quantities in models where time-varying fields are computed (that is, eddy
current and AC conduction models).
Magnitude and phase angle are more readily handled in calculations when they are expressed
in rectangular form (using the real and imaginary form x + jy) than in polar form (using
magnitude and phase angle). Therefore, to specify currents and boundary conditions as
functions you must describe them in terms of real and imaginary components.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The real and imaginary components of the following three-phase system are related to the
magnitude and phase of a sinusoid in this manner:
Solution Process
As Q3D Extractor solves for the matrices you have requested, it goes through the following
steps:
1. Uses the appropriate field simulators to generate a field solution. Different field simulators
(field solvers) are used to compute the various matrices. For example, the electrostatic
field simulator is used to simulate the electric fields from which capacitances are
computed. Similarly, the magnetostatic field simulator is used to simulate the magnetic
fields from which inductances are computed.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note:
Because circuit parameters are computed using the final mesh generated during
the field solution, adequate refinement of the mesh during the field solution
increases the accuracy of circuit parameter solutions.
2. After the field solutions are complete, the simulator performs an error analysis in each
triangle in the mesh. The triangles with the highest energy error are broken down into
smaller triangles — producing a more accurate solution in these areas.
3. Individually applies one volt (for CG parameters) or one amp (for RL parameter problems)
to each conductor you have defined — objects made of conducting materials may or may
not be defined conductors for your problem. The rest of the conductors are temporarily set
to zero (volts or amps).
l As each conductor is excited, the field solution is used to compute a capacitance,
inductance, or resistance for that conductor relative to the reference ground and to the
other conductors.
l The resulting parameter is entered in the matrix (the desired end result). For instance,
in the capacitance matrix, the capacitance of the first conductor relative to ground is
element C10. The diagonal elements of the matrix would represent self-capacitances,
and the off-diagonal elements would represent mutual capacitances (mutual elements).
The resulting matrix is in Maxwell matrix format. These cannot be used to generate SPICE
equivalent subcircuits in capacitance and conductance problems, so a SPICE matrix is
generated.
4. If both capacitance and inductance matrices are requested, the Q3D Extractor
automatically generates a modal solution of voltage and current modes once both
matrices have been computed. The software uses per unit length capacitances and
inductances to compute:
l The modal transformation matrix that converts voltage signals into voltage modes and
current signals into current modes. This matrix is used to generate a distributed SPICE
equivalent subcircuit that models voltage and current signals carried on the
transmission line as decoupled modal lines. This provides a more accurate
representation of the line than modeling it using lumped circuits.
l The velocity of each mode.
l The characteristic resistance matrix (Z0) of the physical transmission line structure.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
AC Conduction Solver
To generate an conductance matrix associated with a lossy transmission line, the software uses
the AC conduction solver to compute the energy stored in the electric fields and energy losses in
dielectrics (the electric scalar potential), , at all points in the problem region. It then derives the
E-field, D-field, and the current density j from .
where:
l is the angular frequency at which the potential is oscillating.
l is conductivity.
l is permittivity.
l is the electric field, E.
Assumptions
The AC Conduction field solver makes the following assumptions about the field quantities it
solves for:
l All time-varying electromagnetic quantities have the periodic waveform:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l All quantities must have the same value of ω, but can have different phase angles (θ). If a
current is not a pure sinusoid, it is decomposed into sinusoidal harmonics, and solved
separately at each frequency.
l The component E, due to time-varying magnetic fields caused by conduction currents,
can be neglected.
Note:
l Use the AC conduction solver to compute conduction currents resulting from
time-varying electric fields in lossy dielectrics.
l Eddy solver uses magnetic loss tangent and ignores the dielectric loss tangent.
l In Q3D and 2D Extractor, displacement current is assumed to be negligible
during Eddy current computations, and is therefore neglected in the RL solution.
The following two equations are solved by the eddy current field simulator using the finite
element method:
and
where:
l A is the magnetic vector potential.
l Φ is the electric scalar potential.
l μ is the magnetic permeability.
l ω is the angular frequency.
l σ is the conductivity.
l IT is the total current flowing in conductors.
l Ω is the area of the conductor cross-section.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
These are derived from Maxwell 's equations, and use the total current you specify in conductors
connected to an external source. Phasor notation is used to represent complex quantities.
The eddy current solver makes the following assumptions about the field quantities for which it
solves:
l All quantities must have the same value of , but can have different phase angles and
amplitudes (Fm). If a current is not a pure sinusoid, it is decomposed into sinusoidal
harmonics, and solved separately at each frequency.
l The time-varying electromagnetic quantities B and D are assumed to have the periodic
waveform F(t) = Fm cos(t + q) .
l All currents (source and eddy) are assumed to flow in the z-direction. Therefore, the
magnetic fields associated with these currents lie within the xy-plane. As a result, the
magnetic vector potential, A, has a z-component only.
l Because no currents flow in the xy-plane, the electric field, E, has a z-component only. It
follows that f is constant over the cross-section of each conductor in the problem.
Substituting this into the first of Maxwell 's equations, and neglecting the displacement current
term,
So:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
where Jsource =
and Jeddy =
The jω term in Jeddy indicates that eddy current becomes increasingly significant as frequency
increases.
The integral of this expression over the cross-section of a conductor is must equal the total
current that you specify in that conductor when you set up a problem.
Where:
l Isource is the source current, and Jsource is the source current density, due to the potential
difference –σ∇ Φ generated by the external source. It is the current that the source would
supply if you reduced the potential difference by the back EMF produced by eddy current
in the conductor.
l Ieddy is the eddy current –∫jωσAdΩ, and Jeddy is the eddy current density –jωσA, induced
in the conductor by time-varying magnetic fields.
Since A only has a z-component in the eddy current solver, Φ is constant for each cross-section
of a conductor. Therefore, the field simulator does not have to solve for Φ at every node.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Where:
l
ω is the angular frequency, , where fis the frequency at which source currents and
voltages oscillate during the solution.
l σ is the conductor 's conductivity.
l μ is the conductor 's relative permeability.
l
μ0 is the permeability of free space, henries.
Currents are concentrated near the surface of the conductor, decaying rapidly past the skin
depth. As the formula above indicates, skin depth gets smaller as the frequency increases.
2D Extractor 's eddy current solver can model the development of the skin effects.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Note:
Q3D Extractor uses modal analysis to decouple the transmission line voltages and currents, and
to create the distributed model. The following figure shows the network used for a lossy,
distributed transmission line model:
The equivalent circuit transforms n voltage signals arriving at one end of the line into a set of n
voltage patterns or modes. After a delay of t seconds, the modes are assumed to arrive at the
other end of the line, and are transformed back into a collection of n individual signals.
where:
l V(z,t) = [v1, v2, v3,..., vn] are vectors of the signal voltages.
l vn is the voltage between the nth conductor and ground.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
l t is time, in seconds.
l L is the nxn matrix of self- and mutual- inductances between lines.
l R is the nxn matrix of losses resulting from series resistance.
and:
where:
l I(z,t) = [v1, v2, v3,..., vn] are vectors of the signal voltages.
l in is the current flowing in the nth conductor
l z is the position along the length of the line.
l C is the nxn matrix of self- and mutual- capacitances between lines.
l G is the nxn matrix of losses resulting from conductance between lines.
The equations are used to derive frequency domain wave equations for lossy and lossless
transmission lines. These equations and the wave equations are fully coupled. To make them
easier to solve in the time domain, the software uses modal analysis to decouple the equations.
This allows a single, coupled, n-conductor transmission line to be modeled using a set of n
uncoupled single transmission lines.
Typically, ports are defined at the ends of the lines and the Telegrapher's equations are then
solved analytically to compute the port responses.
If you solve for a frequency sweep, 2D Extractor can produce a frequency dependent distributed
model. Otherwise, the distributed model is independent of frequency.
Lumped circuit models are an approximation to the Telegrapher's equations. In the frequency
domain, the equations for a single line are:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The lumped approximation makes use of a finite difference formula to eliminate the partial
derivative with respect to z. We approximate the partial derivative of the current at z as:
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
This equation can be realized using the following lumped equivalent circuit:
The two circuit models can then be combined into an RLC "ladder" equivalent network to model
the entire transmission line:
The ladder model above can be generalized to handle coupled systems of transmission lines.
Each line will have its own ladder network, and in addition to the "self" RLC elements there will
be coupling capacitances and mutual inductances between them.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The following figure shows the ladder network for a frequency independent lumped model:
You can export either a lumped, frequency independent equivalent circuit, or a distributed
transmission line model.
For a lossy transmission line, the following frequency domain wave equations are derived from
the Telegrapher's equations:
where:
l Z = R(ω) + jωL(ω)
l Y = G(ω) + jωC(ω)
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
A system of N lossy, coupled transmission lines is defined by its length l and by its set of per-
unit-length circuit parameter matrices R,L,G, and C. These matrices are N x N and are typically
frequency dependent. It is convenient to also define per-unit-length impedance Z(jω) and
admittance matrices Y(jω) as follows:
The frequency-domain telegrapher equations for the transmission lines are then defined as:
Here v and i are N x 1 vectors representing respectively the voltages and currents on the
transmission lines. Both are functions of the frequency ω and the position variable x, which
ranges from 0 to l.
This is a set of coupled differential equations. To make it possible to solve them, we can
decouple the equations using the eigenvectors of the matrix ZY.
where Mv is a matrix whose columns represent the eigenvectors (voltage modes) and
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Using this definition we can transform the coupled second-order differential equations into a
system of uncoupled equations:
Here the coefficients An and Bn are determined by the voltages at the ends of the transmission
line. The first term corresponds to a backward-traveling modal wave, and the second
corresponds to a forward-traveling wave.
The propagation constants γn are complex numbers with real part αn and imaginary part βn.
It can be seen that αn represents the attenuation per unit length that the mode experiences as it
moves down the transmission line. The imaginary part βn represents the change in phase per
unit length.
So:
εn
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Finally we note that it is possible to define a characteristic impedance matrix Z0for the system of
transmission lines. This is a matrix that describes the ideal, reflection-free termination for the
system of transmission lines. It is possible to express it as:
To produce circuit models for these simulators, the following time domain wave equations are
derived from the telegrapher's equations:
Here R and G terms have been ignored. To produce an equivalent circuit model from these
equations, Q3D Extractor uses Modal Analysis.
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Glossary
This section defines the terminology used in the Ansys desktop help topics. Terms are listed in
alphabetical order.
A B C
D E F
G H I
J K L
M N O
P Q R
S T U
V W X
Y Z
Glossary: A
A/D
See Analog-to-Digital.
ACPR
Active Substrate
A hybrid or multichip module substrate formed from a semiconductor. Termed active because
components such as transistors can be fabricated directly into the substrate.
Active Trimming
The process of trimming components such as resistors while the circuit is under power. Such
components are fabricated directly onto the substrate of a hybrid or multichip module, and the
trimming is usually performed using a laser beam.
Active-High
Active-Low
Glossary 23-1
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Actuator
A transducer that converts an electronic signal into a physical equivalent. For example, a
loudspeaker is an actuator which converts electronic signals into corresponding sounds.
Adaptive Hardware
Refers to devices which allow new design variations to be "compiles" in real-time, which may be
thought of as dynamically creating subroutines in hardware (see also Virtual Hardware and
Cache Logic).
Additive Process
Address Bus
Analog
A continuous value that most closely resembles the real world and can be as precise as the
measuring technique allows.
Analog Circuit
Analog-to-Digital (A/D)
Anisotropic Adhesive
Special adhesives which contain minute particles of conductive material. These adhesives find
particular application with the flipped-chip techniques used to mount bare die on the substrates
of hybrids, multichip modules, or circuit boards. The conducting particles are only brought in
contact with each other at the sites where the raised pads on the die are pressed down over their
corresponding pads on the substrate, thereby forming good electrical connections between the
pads.
Anti-Fuse Technology
A programmable logic device technology in which conducting paths (anti-fuses) are grown by
applying signals of relatively high voltage and current to the device's inputs.
Anti-Pad
Glossary 23-2
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The area of copper etched away around a via or a plated through-hole on a power or negative
signal plane, thereby preventing an electrical connection being made to that plane.
Refers to an integrated circuit created by a device manufacturer using ASIC technologies, and
for these components to be sold as standard parts to anybody who wants to buy them.
ASIC
ASIC Cell
Assertion-Level Logic
Special symbols which are used to more precisely indicate the function of gates with active-low
inputs.
ASSP
Asynchronous
A signal whose data is acknowledged or acted upon immediately, irrespective of any clock
signal.
Atto
Unit qualifier (symbol = a) representing one millionth of one millionth of one millionth, or 10-18.
For example, 3aS stands for 3 x 10-18 seconds.
Attenuator
A passive device used to reduce signal strength while maintaining proper input and output
impedance.
Glossary: B
Backplane
Glossary 23-3
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The medium used to interconnect a number of circuit boards. Typically refers to a special,
heavy-duty printed or discrete wired circuit board.
A packaging technology similar to a pad grid array, in which a device's external connections are
arranged as an array of conducting pads on the base of the package. However, in the case of a
ball grid array, small balls of solder are attached to the conducting pads.
Bandpass
Bare Die
Base
Refers to the number of digits in a numbering system. For example, the decimal numbering
system is said to be base-10. May also be referred to as the "radix".
Basic Cell
A pre-defined group of unconnected components that is replicated across the surface of a gate
array.
BER
BGA
BiCMOS
A technology in which the function of each logic gate is implemented using low-power CMOS,
while the output stage is implemented using high-drive bipolar transistors
Binary Encoding
A form of state assignment for state machines that requires the minimum number of state
variables.
BiNMOS
Bi-quinary
Glossary 23-4
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
A system which utilizes two bases, base-2 and base-5, to represent decimal numbers. Each
decimal digit is represented by the sum of two parts, one of which has the value of decimal zero
or five, and the other the values of zero through four. The abacus is one practical example of the
use of a bi-quinary system.
Bit
A family of transistors.
Blackbox
Same as N-Port.
Blind Via
Bobble
A small circle used on the inputs to a logic gate symbol to indicate an active-low input or control,
or on the outputs to indicate a negation (inversion) or a complementary signal. Some engineers
prefer to use the term bubble.
Bounce Pad
A special pattern etched onto the power or negative signal plane of a microwire circuit board to
be used in conjunction with a laser beam which is employed to create blind vias. The laser beam
evaporates the epoxy forming the outer layers of the board and continues down to the bounce
pad which reflects, or bounces, it back up, thereby terminating the via.
Braze
To unite or fuse two pieces of metal by heating, or with a hard solder with a high melting point.
Bulk Storage
Refers to some form of media, typically magnetic, such as tape or a disk drive which can be used
to store large quantities of information relatively inexpensively.
Buried Via
A via used to link conducting layers internal to a substrate. Such a via is not visible from either
side of the substrate.
Bundle
Glossary 23-5
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
A set of signals related in some way that makes it appropriate to group them together for ease of
representation or manipulation. May contain both scalar and vector elements; for example,
{a,b,c,d[5:0]}.
Bus
A set of signals performing a common function and carrying similar data. Typically represented
using vector notation; for example, address[7:0].
Byte
Glossary: C
Capacitance
A measure of the ability of two adjacent conductors separated by an insulator to hold a charge
when a voltage differential is applied between them. Capacitance is measured in units of
Farads.
CDMA
Cell Library
The collective name for the set of logic functions defined by the manufacturer of an application-
specific integrated circuit. The designer decides which types of cells should be realized and
connected together to make the device perform its desired function.
Ceramic
An inorganic, nonmetallic material, such as alumina, beryllia, steatite, or forsterite, which is fired
at a high temperature and is often used in electronics as a substrate or to create component
packages.
CGA
Channel
(1)The area between two arrays of basic cells in a channeled gate array.
(2)The gap between the source and drain regions in a MOS transistor.
Glossary 23-6
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Application-specific integrated circuit organized as arrays of basic cells. The areas between the
arrays are known as channels.
Application-specific integrated circuit organized as a single large array of basic cells. May also
be referred to as a "sea of cells" or a "sea of gates" device.
Checksum
The final cyclic-redundancy-check value stored in a linear feedback shift register (or software
equivalent). Also known as a "signature" in the guided-probe variant of functional test.
Chip
Chip-On-Board (COB)
A process in which unpackaged integrated circuits are physically and electrically attached to a
circuit board, and are then encapsulated with a "glob" of protective material such as epoxy.
Chip-On-Chip (COC)
A process in which unpackaged integrated circuits are mounted on top of each other. Each die is
very thin and it is possible to have over a hundred dies forming a 3D cube.
Chip-On-Flex (COF)
Similar to chip-on-board (COC), except that the unpackaged integrated circuits are attached to a
flexible printed circuit.
Circuit Board
The generic name for a wide variety of interconnection techniques, which include rigid, flexible,
and rigid-flex boards in single-sided, double-sided, multilayer, and discrete wired configurations.
CMOS
Logic gates constructed using both NMOS and PMOS transistors connected in a
complementary manner.
Coaxial Cable
A conductor in the form of a central wire surrounded first by a dielectric (insulating) layer, and
then by a conducting tube which serves to shield the central wire from external interference.
Defines the amount a material expands and contracts due to changes in temperature. If
materials with different coefficients of thermal expansion are bonded together, changes in
temperature will cause shear forces at the interface between them.
Glossary 23-7
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Cofired Ceramic
A substrate formed from multiple layers of "green" ceramic that are bonded together and fired at
the same time.
A packaging technology similar to a pad grid array, in which a device's external connections are
arranged as an array of conducting pads on the base of the package. However, in the case of a
column grid array, small columns of solder are attached to the conducting pads.
Combinatorial
A digital function whose output value is directly related to the current combination of values on its
inputs. Also known as combinational.
A technique used to create portions of a standard cell application-specific integrated circuit. The
masks used to create components and interconnections are directly generated from Boolean
representations using a silicon compiler. May also be used to create data-path functions and
memory functions.
Complementary Output
Refers to a function with two outputs carrying complementary logical values. One output is
referred to as the true output and the other as the complementary output.
A device that contains a number of PLA or PAL functions sharing a common programmable
interconnection matrix.
Component
Components are items placed on schematics and layouts to represent electrical elements and
sub circuits. The component information defines a signal-processing function or source, or
secondarily a data source, data channel, or similar entity. Components have pins for
connections, bitmaps in the project tree, and properties for simulation. The information that
constitutes a component includes its component chooser bitmap, schematic symbol, layout
footprint, pin properties, parameters and parameter values, and netlist string definition. A
component can be associated with more than one simulation if it can be analyzed in more than
one simulator.
Refers to a slice of quartz or similar material into which three-dimensional patterns are cut using
a laser. The angles of the patterns cut into the quartz are precisely calculated for use in the
optical communication strategy known as holographic interconnect. All of these calculations are
performed by a computer, and the laser used to cut the three-dimensional patterns into the
Glossary 23-8
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
quartz is also controlled by a computer. Thus, the slice of quartz is referred to a computer-
generated hologram.
A technique in which tracks are screen printed directly onto the surface of a circuit board using a
conductive ink.
Configurable Hardware
A product whose function may be customized once or a very few times (see also Reconfigurable
Hardware, Remotely Reconfigurable Hardware, Dynamically Reconfigurable Hardware, and
Virtual Hardware).
Conjunction
Propositions combined with an AND operator; for example, "You have a parrot on your head
AND you have a fish in your ear." The result of a conjunction is true if all the propositions
comprising that conjunction are true.
Conversion Loss
The ratio in dB of the IF output of a mixer to the RF input power. All conversion loss
measurements and specification are normally based on the mixer being terminated on all ports
and a stated LO signal power level being applied.
Cost Function
In an optimization setup, a cost function is based on goal values specified for at least one
solution quantity. Optimetrics changes the design parameter values to fulfill the cost function. In
Q3D, the cost function can be based on any solution quantity that Q3D Extractor can compute,
such as resistance, inductance, and capacitance.
CPLD
CRC
CSIC
An alternative and possibly more accurate name for an ASIC, but this term is rarely used in the
industry and shows little indication of finding favor with the masses.
Glossary 23-9
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
A process for growing thin films on a substrate, in which a gas containing the required molecules
is converted into a plasma by heating it to extremely high temperatures using microwaves. The
plasma carries atoms to the surface of the substrate where they are attracted to the crystalline
structure of the substrate. This underlying structure acts as a template. The new atoms continue
to develop the structure to build up a layer on the substrate's surface.
A process similar to chemical vapor deposition (CVD) but, in this case, the process commences
by placing a crystalline powder of the required substance in a mold. Additionally, thin posts, or
columns, can be pre-formed in the mold, and the powder can be deposited around them. When
exposed to the same plasma as used in the CVD technique, the powder coalesces into a
polycrystalline mass. After the CVI process has been performed, the posts can be dissolved
leaving holes through the crystal for use in creating vias. CVI processes can produce layers
twice the thickness of those obtained using CVD techniques at a fraction of the cost.
CW
A calculation used to detect errors in data communications, typically performed using a linear
feedback shift register. Similar calculations may be used for a variety of other purposes such as
data compression.
Glossary: D
D/A
See Digital-to-Analog.
Data Bus
A bi-directional set of signals used by a computer to convey information from a memory location
to the central processing unit and vice versa. More generally, a set of signals used to convey
data between digital functions.
Data-Path Function
A well-defined function such as an adder, counter, or multiplier used to process digital data.
dBm
Glossary 23-10
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
DC Balance
Stream of data encoded to ensure an equal balance of 1 or 0 . 8b10b encoding has been
developed to ensure DC balancing.
DC Coupling
A method of coupling two different circuits together, allowing them to share both the static DC
and varying AC characteristics of a signal.
Decoder (digital)
A logic function that uses a binary value, or address, to select between a number of outputs and
to assert the selected output by placing it in its active state.
Deep Sub-Micron
Typically taken to refer to integrated circuits containing structures which are smaller than 0.5
microns.
DeMorgan Transformation
The transformation of a Boolean expression into an alternate, and often more convenient, form.
Design
Designs are the building blocks of projects, and can be Circuit designs or 3D planar EM models.
Designs consist of schematics or geometrical models, model data, solution setup information,
output graphs and tables, and other pieces of information that go into describing simulation of
electrical circuits. A design is the largest single simulatable entity in a project.
Design Variation
A single combination of variable values that is solved during a parametric or optimization setup.
Device
Die
(1)An unpackaged integrated circuit. In this case, the plural of die is also die (in much the same
way that "a shoal of herring" is the plural of "herring"). (2)A piece of metal with a design engraved
or embossed on it for stamping onto another material, upon which the design appears in relief.
Die Separation
The process of separating individual die from the wafer by marking the wafer with a diamond
scribe and fracturing it along the scribed lines.
Die Stacking
Glossary 23-11
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
A technique used in specialist applications in which several bare die are stacked on top of each
other to form a sandwich. The die are connected together and then packaged as a single entity.
Dielectric Layer
(2) An insulating layer used to modify the electrical characteristics of an MCM-D substrate.
Diffusion Layer
The surface layer of a piece of semiconductor into which impurities are diffused to form P-type
and N-type material. In addition to forming components, the diffusion layer may also be used to
create embedded traces.
Digital
A value represented as being in one of a finite number of discrete states called quanta. The
accuracy of a digital value is dependent on the number of quanta used to represent it.
Digital Circuit
A primarily digital component used to process either digital or analog signals. In the case of the
latter, the signal may first be conditioned, then converted into a digital equivalent using an
analog-to-digital (A/D) converter function. The signal conditioning and A/D functions may either
be external to the DSP or resident in the device. A typical DSP application might be the
compression/decompression of video data.
Digital-to-Analog (D/A)
Diode
A two-terminal device that only conducts electricity in one direction; in the other direction it
behaves like an open switch. The term diode is typically taken to refer to a semiconductor
device, although alternative implementations such as vacuum tubes are available.
Logic gates implemented using particular configurations of diodes and bipolar junction
transistors. For the majority of today's designers, diode-transistor logic is of historical interest
only.
Discrete Device
Glossary 23-12
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Doping
The process of inserting selected impurities into a semiconductor to create P-type or N-type
material.
Double-Sided
DPSK
DQPSK
DRAM
DSP
DTL
DUT
Dynamic Flex
A type of flexible printed circuit which is used in applications that are required to undergo
constant flexing such as ribbon cables in printers.
Glossary 23-13
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
A memory device in which each cell is formed from a transistor-capacitor pair. Called dynamic
because the capacitor loses its charge over time, and each cell must be periodically recharged if
it is to retain its data.
Glossary: E
E2PROM
EBE
ECL
Edge port
A place in a layout or footprint geometry through which excitation signals enter and leave the
structure.
Edge-Sensitive
An input that only affects a function when it transitions from one logic value to another.
EEPROM
A memory device whose contents can be electrically programmed by the designer. Additionally,
the contents can be electrically erased allowing the device to be reprogrammed. Also known as
EEPROM and E2PROM.
Electromigration
(1)A process in which structures on an integrated circuit's substrate are eroded by the flow of
electrons in much the same way as land is eroded by a river (also known as subatomic erosion).
(2)The process of forming transistor-like regions in a semiconductor using an intense magnetic
field.
Glossary 23-14
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
A technique for creating thin films on substrates in precise patterns, in which the substrate is first
coated with a layer of dopant material before being placed in a high vacuum. A guided beam of
electrons is fired at the substrate causing the dopant to be driven into it, effectively allowing
molecular-thin layers to be "painted" onto the substrate where required.
An integrated circuit fabrication process in which fine beams of electrons are used to draw
extremely high-resolution patterns directly into the resist without the use of a mask.
The process of moving around can generate static electricity. The term electro-static discharge
refers to a charged person, or object, discharging static electricity. Although the current
associated with such a static charge is low, the electric potential can be in the millions of volts
and can severely damage electronic components. CMOS devices are particularly prone to
damage from static electricity.
EM
Electromagnetic.
Enzyme
One of numerous complex proteins which are produced by living cells and catalyze biochemical
reactions at body temperatures.
EPROM
Equivalent Gate
A concept in which each type of logic function is assigned an equivalent gate value for the
purposes of comparing functions and devices. However, the definition of an equivalent gate
varies depending on who you're talking to.
A memory device whose contents can be electrically programmed by the designer. Additionally,
the contents can be erased by exposing the die to ultraviolet light through a quartz window
mounted in the top of the component's package.
Glossary 23-15
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
ESD
Etching
The process of selectively removing any material not protected by a resist using an appropriate
solvent or acid. In some cases the unwanted material is removed using an electrolytic process.
Eutectic Bond
A bond formed when two pieces of metal, or metal-coated materials, are pressed together and
vibrated at ultrasonic frequencies.
Euler Angles
Euler angles are used in Ansoft software to carry out a coordinate transformation from one
coordinate system to another. The Swiss mathematician and physicist Leonhard Euler first
developed the classical rotation theorem to describe rotations in 3D space. The angles used are
Euler angles and can be used to describe any 3D rotation. These angles, given by (ö, è, ø)
represent a series of sequential rotations about two axis of the coordinate system. The first
rotation (ö) represents a rotation about the Z-axis of the source coordinate system (X, Y, Z)
which results in an intermediate coordinate system denoted by (X'', Y'', Z''). The second rotation
(è) represents a rotation of the intermediate coordinate system about the X''-axis, again resulting
in an intermediate coordinate system denoted by (X', Y', Z'). The third and final rotation (ø)
represents a rotation about the Z'-axis of the intermediate coordinate system. The final rotation
completes the rotation and results in the "target" coordinate system denoted (X, Y, Z).
For further information see, Eric W. Weisstein, "Euler Angles." From MathWorld - A Wolfram
Web Resource.
http://mathworld.wolfram.com/EulerAngles.html .
Eye Diagram
Eye diagrams are commonly used to analyze signal integrity issues with communications
channels. The bits are superimposed at unit intervals representing the duration of each bit.
Eye Mask
The size of the eye opening in the center of an eye diagram indicates the amount of voltage and
timing margin available to sample this signal. Thus, for a particular electrical interface, a fixed
reticule or window could be placed over the eye diagram showing how the actual signal
compares to minimum criteria window, know as the eye mask. If a margin rectangle with width
equal to the required timing margin and height equal to the required voltage margin fits into the
opening, then the signal has adequate margins. Voltage margin can often be traded off for timing
margin.
Glossary 23-16
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Glossary: F
Fan-Out Via
In the case of surface mount devices attached to double-sided or multilayer boards, each
component pad is usually connected by a short length of track to a via which forms a link to other
conducting layers, and this via is known as a fan-out via. The term fan-out via is generally also
taken to include any vias that fall inside the device's footprint (under the body of the device).
Some designers attempt to differentiate these vias from those that fall outside the device's
footprint by referring to them as fan-in vias, but this is not an industry-standard term.
Falling-Edge
Falltime
The time it takes for a waveform to transition from the high logic state to the low logic state.
Falltime is usually measured from 90% of the total signal swing to 10% of the signal swing.
In the case of surface mount devices attached to double-sided or multilayer boards, each
component pad is usually connected by a short length of track to a via which forms a link to other
conducting layers, and this via is known as a fan-out via. The term fan-out via is generally also
taken to include any vias that fall inside the device’s footprint (under the body of the device).
Some designers attempt to differentiate these vias from those that fall outside the device’s
footprint by referring to them as fan-in vias, but this is not an industry-standard term.
Femto
Unit qualifier (symbol = f) representing one thousandth of one millionth of one millionth, or 10-15.
For example, 3fS stands for 3 x 10-15 seconds.
FET
A transistor whose control, or gate, signal creates an electro-magnetic field which turns the
transistor ON or OFF.
A programmable logic device which is more versatile than traditional programmable devices
such as PALs and PLAs, but less versatile than an application-specific integrated circuit. Some
Glossary 23-17
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
field-programmable gate arrays use fuses such as those found in programmable logic devices,
but others are based on SRAM equivalents.
A device which is used to connect logic devices together, and which can be dynamically
reconfigured in the same way as standard SRAM-based FPGAs. Because each FPID may have
around 1,000 pins, only a few such devices are typically required on a circuit board.
Filter
Filters are used to block out undesired frequencies. There are two types of filters: band pass and
rejection. A band pass filter permits only the desired range to pass through, while the rejection
filter attenuates an undesired range of frequencies.
Firmware
Refers to programs, or sequences of instructions, that are hard-coded into non-volatile memory
devices.
A memory device in which data is read out in the same order that it was written in.
An extremely thin layer of gold with a thickness measured on the molecular level which is either
electroplated or chemically plated onto a surface.
FLASH Memory
An evolutionary technology that combines the best features of the EPROM and E2PROM
technologies. The name FLASH is derived from the technology's fast reprogramming time
compared to EPROM.
Flex
A specialist circuit board technology, often abbreviated to "flex", in which tracks are printed onto
flexible materials. There are a number of flavors of flex, including static flex, dynamic flex, and
rigid flex.
Flipped Chip
Glossary 23-18
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
A generic name for processes in which unpackaged integrated circuits are mounted directly onto
a substrate with their component-sides facing the substrate.
Flipped TAB
Footprint
Fourier Analysis
A mathematical procedure used to determine the collection of sine waves (differing in frequency
and amplitude) that is necessary to make up the square-wave pattern under consideration.
FPC
FPGA
FPIC
FPID
FR4
The most commonly used insulating base material for circuit boards. FR4 is made from woven
glass fibers which are bonded together with an epoxy. The board is cured using a combination of
temperature and pressure which causes the glass fibers to melt and bond together, thereby
giving the board strength and rigidity. The first two characters stand for "Flame Retardant". FR4
is technically a form of fiberglass, and some people do refer to these composites as fiberglass
boards or fiberglass substrates, but not often.
A form of optical interconnect in which laser-diode transmitters communicate directly with photo-
transistor receivers without employing optical fibers or optical waveguides.
Full Custom
An application-specific integrated circuit in which the designer has complete control over every
mask layer used to fabricate the device. The manufacturer does not provide a cell library or pre-
fabricate any components on the substrate.
Functional Latency
Glossary 23-19
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Refers to the fact that, at any given time, only a portion of the logic functions in a device or
system are typically active (doing anything useful).
Functional Test
A test strategy in which signals are applied to a circuit's inputs, and the resulting signals which
are observed on the circuit's outputs are compared to known good values.
Fuse
A programmable logic device technology which employs links called fuses. Individual fuses can
be removed by applying pulses of relatively high voltage and current to the device's inputs.
Fuzz-Button
A small ball of fibrous gold used in one technique for attaching components such as multichip
modules to circuit boards. Fuzz-buttons are inserted between the pads on the base of the
package and their corresponding pads on the board. When the package is forced against the
board, the fuzz-buttons compress to form good electrical connections. Even when the pressure
is removed, the fuzz-buttons act in a similar manner to Velcro and continue to hold the
component in place. One of the main advantages of the fuzz-button approach is that it allows
broken devices to be quickly removed and replaced. Even though fuzz-button technology would
appear to be inherently unreliable, it is used in such devices as missiles, so one can only
assume that it is fairly robust.
Glossary: G
Gain
The ratio of the power output to the power input of the amplifier in dB. The gain is specified in the
linear operating range of the amplifier where a 1 dB increase in input power gives rise to a 1 dB
increase in output power. Gain = 20*log(S21)
Gate Array
Glue Logic
Glossary 23-20
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Gold Flash
An extremely thin layer of gold with a thickness measured on the molecular level which is either
electroplated or chemically plated onto a surface.
Goal
In an optimization setup, a goal is the value of a solution quantity that you want to be achieved
during the optimization. A goal is represented as one row in the cost function table. Each cost
function defined in an optimization setup must include at least one goal.
Gray Code
A sequence of binary values in which each pair of adjacent values differs by only a single bit; for
example, 00, 01, 11, 10.
Green Ceramic
Ground Bounce
Momentary noise on the device negative signal plane causing a 0 signal to erroneously be seen
as a 1. Ground bounce is caused by simultaneously switching outputs (SSO).
Guard Condition
A Boolean expression associated with a state transition in a state diagram or state table. The
expression must be satisfied for that state transition to be executed.
Guided Probe
A form of functional test in which the operator is guided in the probing of a circuit to isolate a
faulty component or track.
Guided-Wave
A form of optical interconnect, in which optical waveguides are fabricated directly on the
substrate of a multichip module. These waveguides can be created using variations on standard
opto-lithographic thin-film processes.
Glossary: H
Glossary 23-21
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Hardware
Generally understood to refer to any of the physical portions constituting an electronic system,
including components, circuit boards, power supplies, cabinets, and monitors.
Harmonic
Harmonic Balance
A frequency domain analysis technique for simulating nonlinear circuits and systems. This
method assumes the input stimulus consists of a relatively few steady state sinusoids. Therefore
the solution can be expressed as a sum of steady state sinusoids that includes the input
frequencies in addition to any significant harmonics or mixing terms. A circuit with a single input
source will require a single tone HB simulation. The harmonic balance simulation is ideal for
situations where transient simulation methods are problematic, such as:
l Components modeled in frequency domain, for instance (dispersive) transmission lines
l Circuit time constants large compared to period of simulation frequency
l Circuits with lots of reactive components
Harmonic balance methods, therefore, are the best choice for most microwave circuits excited
with sinusoidal signals (e.g., mixers, power amplifiers).
Harmonic Tuning
Hertz (Hz)
Unit of frequency. One Hertz equals one cycle, or one oscillation, per second.
Heterojunction
The interface between two regions of dissimilar semiconductor materials. The interface of a
hetrojunction has naturally occurring electric fields which can be used to accelerate electrons,
and transistors created using hetrojunctions can switch much faster than their counterparts of
the same size.
Hexadecimal
Base-16 numbering system. Each hexadecimal digit can be directly mapped onto four binary
digits, or bits.
Glossary 23-22
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The state on a signal that is not being driven by any value. A high-impedance state is indicated
by the character Z.
Holographic Interconnect
A form of optical interconnect based on a thin slice of quartz, into which three-dimensional
images are cut using a laser beam. Thus, the quartz is referred to as a computer-generated
hologram, and this interconnection strategy is referred to as holographic.
Homojunction
An interface between two regions of semiconductor having the same basic composition but
opposing types of doping. Homojunctions dominate current processes because they are easier
to fabricate than heterojunctions.
Hybrid
Hydrogen Bond
The electrons in a water molecule are not distributed equally, because the oxygen atom is a
bigger, more robust fellow which grabs more than its fair share. The end result is that the oxygen
atom has an overall negative charge, while the two hydrogen atoms are left feeling somewhat on
the positive side. This unequal distribution of charge means that the hydrogen atoms are
attracted to anything with a negative bias; for example, the oxygen atom of another water
molecule. The resulting bond is known as a hydrogen bond.
Hz
See Hertz.
Glossary: I
IBIS
IBIS (I/O Buffer Information Specification) is a standard for electronic behavioral specifications of
integrated circuit input/output analog characteristics. The core of an IBIS model is a table of
current versus voltage and I/O switching timing information. Xilinx IBIS models contain tables for
typical, slow/MIN (weak transistors, high temperature, low voltage) and fast/MAX (strong
Glossary 23-23
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
transistors, low temperature, high voltage) process corners. IBIS models are derived from
SPICE simulation results and/or lab measurements. The benefit for IBIS model user is fast and
accurate simulation while preserving IC vendors intellectual property (information about circuit
and process details).
IC
ICR
Impedance
The resistance to the flow of current caused by resistive, capacitive, or inductive devices (or
undesired elements) in a circuit.
Impedance Matching
Function of ensuring that the impedance of the transmitter, the receiver, and the transmission
line are identical. Mismatched impedances could result in signal reflections, ringing, overshoot,
undershoot, and stairstep waveforms.
Incident Voltage
Inductance
A property of a conductor that allows is to store energy in a magnetic field which is induced by a
current flowing through it. Inductance is measured in units of Henries (the base unit is a Henry).
Insertion Loss
Insertion Loss (dB) is defined as the drop in power as a signal enters an RF component. This
value not only includes the reflected incoming signal, but also the attenuation of the component.
A device in which components such as resistors, capacitors, diodes, and transistors are formed
on the surface of a single piece of semiconductor.
Glossary 23-24
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Ion
A particle formed when an electron is added to, or subtracted from, a neutral atom or group of
atoms.
Ion Implantation
A process in which beams of ions are directed at a semiconductor to alter its type and
conductivity in certain regions.
Isolation
The ratio (expressed in dB) of the power level at one port compared to the resulting power level
of the output port.
ISP
Glossary: J
JEDEC
Jitter
The jitter of a periodic signal is the delay between the expected transition of the signal and the
actual transition. Jitter is a zero mean random variable. When worst case analysis is undertaken
the maximum value of this random variable is used.
Jitter Tolerance
Jitter tolerance is defined as the peak-to-peak amplitude of sinusoidal jitter applied on the input
that causes a predefined, acceptable loss at the output. For example jitter applied to the input of
an OC-N equipment interface that causes an equivalent 1dB optical power penalty.
Jitter Transfer
Jitter transfer is defined as the ratio of jitter on the output of a device to the jitter applied on the
input of the device, versus frequency. Jitter transfer is important in applications where the
system is utilized in a loop-timed mode, where the recovered clock is used as the source of the
transmit clock.
Glossary 23-25
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
A council which creates, approves, arbitrates, and oversees industry standards for electronic
devices. In programmable logic, the term JEDEC refers to a textual file containing information
used to program a device. The file format is a JEDEC approved standard and is commonly
referred to as a JEDEC file.
Jumper
Glossary: K
Karnaugh Map
A graphical technique for representing a logical function. Karnaugh maps are often useful for the
purposes of minimization.
A scale of temperature which was invented by the British mathematician and physicist William
Thomas, first Baron of Kelvin. Under the Kelvin, or absolute, scale of temperature, 0 K
(corresponding to -273oC) is the coldest possible temperature and is known as absolute zero.
Kilo
Unit qualifier (symbol = K) representing one thousand, or 103. For example, 3KHz stands for 3 x
103 Hertz.
The sum of all currents entering a node is equal to the sum of all currents leaving the node.
The directed sum of the electrical potential differences around a circuit must be zero.
Glossary: L
Laminate
A material constructed from thin layers or sheets. Often used in the substrate of circuit boards.
Glossary 23-26
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Refers to the number of logic gates in a device. By one convention, large-scale integration
represents a device containing 100 to 999 gates.
Laser Diode
A memory device in which data is read out in the reverse order to which it was written in.
Latch-Up Condition
A condition in which a circuit draws uncontrolled amounts of current, and certain voltages are
forced, or "latched-up", to some level. Particularly relevant in the case of CMOS devices which
can latch-up if their operating conditions are violated.
Good lateral thermal conductivity means that the heat generated by components mounted on a
substrate can be conducted horizontally across the substrate and out through its leads.
Layers are used in the layout editor to organize and isolate sets of geometry or other visual
indicators. Signal, Negative Signal, and Dielectric are common physical layers, while Symbol (to
show component symbols in layout), Error, and Ratsnest (to show connectivity) are non-physical
layers. The 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.
LDMOS
Lead
(2) A metal conductor used to provide a connection from the inside of a device package to the
outside world for soldering or other mounting techniques. Leads are also commonly called pins.
Lead Frame
A metallic frame containing leads and a base to which an unpackaged integrated circuit is
attached. After encapsulation, the outer part of the frame is cut away and the leads are bent into
the required shapes.
Glossary 23-27
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
A technique for populating circuit boards in which component leads are inserted into plated
through-holes. Often abbreviated to "through-hole" or "thru-hole". When all of the components
have been inserted, they are soldered to the board, usually using a wave soldering technique.
Level-Sensitive
An input whose effect on a function depends only on its current logic value or level, and is not
directly related to it transitioning from one logic value to another.
LFSR
Library
LIFO
Limiting Level
The input power level when the output power is goes into compression and no longer becomes
linear.
Line
Used to refer to the width of a track; for example, "This track has a line-width of 0.12mm."
A shift register whose data input is generated as an XOR or XNOR of two or more elements in
the register chain.
Linearity
Describes how closely an output signal is to a perfectly scaled multiple of a corresponding input
signal.
Load Pull
Logic Function
Glossary 23-28
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
A mathematical function that performs a digital operation on digital data and returns a digital
value.
Logic Gate
Logic Synthesis
A process in which a program is used to optimize the logic used to implement a design.
Low-Fired Cofired
Similar in principle to standard cofired ceramic substrate techniques. However, low-fired cofired
uses modern ceramic materials with compositions that allow them to be fired at temperatures as
low as 650oC to 750oC. Firing at these temperatures in an inert atmosphere such as nitrogen
allows non-refractory metals such as copper to be used to create tracks.
LSI
LTH
Glossary: M
Mask Programmable
A device such as a read-only memory which is programmed during its construction using a
unique set of masks.
Maximal Displacement
A linear feedback shift register whose taps are selected such that changing a single bit in the
input data stream will cause the maximum possible disruption to the register's contents.
Maximal Length
A linear feedback shift register that sequences through (2n - 1) states before returning to its
original value.
Maxterm
The logical OR of the inverted variables associated with an input combination to a logical
function.
Glossary 23-29
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
MBE
MCM
Refers to the number of logic gates in a device. By one convention, medium-scale integration
represents a device containing 13 to 99 gates.
Meg
Unit qualifier (symbol = M) representing one million, or 106. For example, 3MHz stands for 3 x
106 Hertz.
Metallization Layer
A family of transistors where the controlling terminal is connected to a plate that is separated
from the semiconduxtor by an insulating layer. This plate was originally made out metal (we now
use polysilicon, or poly) and the insulator is an oxide -- hence the "metal-oxide" appellation.
Meta-Stable
A condition where the outputs of a logic function are oscillating uncontrollably between
undefined values.
Micro
Unit qualifier (symbol = u) representing one millionth, or 10-6. For example, 3uS stands for 3 x
10-6 Seconds.
Microwave
The range in the electromagnetic spectrum from 300 MHz to 30 GHz (with corresponding
wavelengths from 100 cm to 1 cm).
Microwire
A trade name for one incarnation of discrete wire technology. Microwire augments the main
attributes of multiwire with laser-drilled blind vias, allowing these boards to support the maximum
number of tracks and components.
Millman's method
Glossary 23-30
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The voltage on the ends of branches in parallel is equal to the sum of the currents flowing in
every branch divided by the total equivalent conductance.
Minterm
The logical AND of the variables associated with an input combination to a logical function.
MMIC
Mod or Modulus
Refers to the number of states that a function such as a counter will pass through before
returning to its original value. For example, a function that counts from 00002 to 11112 has a
modulus of 16 and would be called a modulo-16 or mod-16 counter.
A technique for creating thin films on substrates in precise patterns, in which the substrate is
placed in a high vacuum, and a guided beam of ionized molecules is fired at it, effectively
allowing molecular-thin layers to be "painted" onto the substrate where required.
MOS
MOSFET
MSI
A generic name for a group of advanced interconnection and packaging technologies featuring
unpackaged integrated circuits mounted directly onto a common substrate.
Multilayer
A printed circuit board constructed from a number of very thin single-sided and/or double-sided
boards which are bonded together using a combination of temperature and pressure.
Multiplexer (digital)
A logic function that uses a binary value, or address, to select between a number of inputs and
conveys the data from the selected input to the output.
Multiwire
Glossary 23-31
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Multizone
A stackup that contains zones or areas, each of which contains a subset of the layers in the
stackup.
Mutual Capacitance
The capacitance between two conductors (one considered aggressor, the other victim) when all
other conductors are connected together and then regarded as an ignored ground. It describes
the amount of coupling due to the electric field. The mutual capacitance will inject an often
undesired current into the victim line proportional to the rate of change of voltage on the
aggressor line. Mutual Capacitance it a cause of crosstalk.
Mutual Inductance
The inductance between two conductors (one considered aggressor, the other victim) placed
close enough that the magnetic field induced by a current flowing into the aggressor line
encompasses the victim. The mutual inductance will inject an often undesired voltage noise onto
the victim proportional to the rate of change of the current on the aggressor line.
Glossary: N
Nano
Unit qualifier (symbol = n) representing one thousandth of one millionth, or 10-9. For example,
3nS stands for 3 x 10-9 Seconds.
Nanobot
Nanophase Materials
A form of matter which was only recently discovered, in which small clusters of atoms form the
building blocks of a larger structure. These structures differ from those of naturally occurring
crystals, in which individual atoms arrange themselves into a lattice.
Nanotechnology
Glossary 23-32
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Refers to the order in which the semiconductor is doped in a MOS device. That is, which
structures are constructed as N-type versus P-type material.
Negative-Edge
Negative Ion
Negative Logic
A convention which dictates the relationship between logical values and the physical voltages
used to represent them. The more negative potential is considered to represent TRUE and the
more positive potential is considered to represent FALSE. Also known as negative true logic.
Negative Resist
A process where ultraviolet radiation passing through the transparent areas of a mask causes
the resist to be cured. The uncured areas are then removed using an appropriate solvent.
A conducting layer in, or on, a substrate providing a grounding, or reference, point for
components. There may be several negative signal planes separated by insulating layers.
Negative-True
A convention which dictates the relationship between logical values and the physical voltages
used to represent them. The more negative potential is considered to represent TRUE and the
more positive potential is considered to represent FALSE. Also known as negative logic.
Nibble
See Nybble.
NMOS
The Noise Factor of a transducer at a specified input frequency is the ratio of (a/b) where “a and
b” are:
(a) the available Signal to Noise Ratio (SNR) at the signal generator terminals per unit
bandwidth when the temperature of the input termination (generator or source) is 290 K
and the bandwidth is limited by the transducer, to
(b) the available SNR per unit bandwidth at the output terminals of the transducer.
Traditionally:
Glossary 23-33
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Where:
l Te is the noise temperature
l To is standard temperature 290 K
l F is noise factor
Noise Floor
This is defined as the lowest possible input to a chain or a component, that will produce a
detectable output.
Noise Temperature
This is the amount of thermal noise in a chain or a component. Noise Factor and Noise
Temperature (Te) are related as follows:
Where:
l Te is the noise temperature
l To is standard temperature 290 K
l F is noise factor
Nominal Design
Non-Volatile
A memory device which does not lose its data when power is removed from the system.
Non-Volatile RAM
A device which is generally formed from an SRAM die mounted in a package with a very small
battery, or as a mixture of SRAM and EEPROM cells fabricated on the same die.
Norton's theorem
Any two-terminal collection of voltage sources and resistors is electrically equivalent to an ideal
current source in parallel with a single resistor.
Refers to the order in which the semiconductor is doped in a bipolar junction transistor.
Glossary 23-34
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
N-Port
N-type
A piece of semiconductor doped with impurities that make it amenable to donating electrons.
Nybble
Glossary: O
Octal
Base-8 numbering system. Each octal digit can be directly mapped onto three binary digits, or
bits.
Ohm
Unit of resistance. The Greek letter omega, *, is often used to represent ohms; for example, 1M*
indicates one million ohms.
Ohm's law
The voltage across a resistor is the product of its resistance and the current flowing through it.
One-Hot Encoding
A form of state assignment for state machines in which each state is represented by an
individual state variable.
One-Time Programmable
A device such as a PAL, PLA, or PROM that can only be programmed a single time and whose
contents cannot be subsequently erased.
Optical Interconnect
The generic name for interconnection strategies based on opto-electronic systems, including
fiber-optics, free-space, guided-wave, and holographic techniques.
Optical Lithography
Glossary 23-35
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
A process in which radiation at optical wavelengths (usually in the ultraviolet range) is passed
through a mask, and the resulting patterns are projected onto a layer of resist coating the
substrate material.
Optical Mask
A sheet of material carrying patterns that are either transparent or opaque to the wavelengths
used in an optical-lithographic process. Such a mask can carry hundreds of thousands of fine
lines and geometric shapes.
Opto-Electronic
Organic Resist
A material which is used to coat a substrate and is then selectively cured to form an impervious
layer. These materials are called organic because they are based on carbon compounds as are
living creatures.
Organic Solvent
A solvent for organic materials such as those used to form organic resists.
Organic Substrate
Substrate materials such as FR4, in which woven glass fibers are bonded together with an
epoxy. These materials are called organic because epoxies are based on carbon compounds as
are living creatures.
Overglassing
One of the final stages in the integrated circuit fabrication process in which the entire surface of
the wafer is coated with a layer of silicon dioxide or silicon nitride. This layer may also be referred
to as the barrier layer or the passivation layer. An additional lithographic step is required to
pattern holes in this layer to allow connections to be made to the pads.
Glossary: P
Package
Leaded assembly (inside of which one or more dies are mounted and connected) for use in
larger circuits.
Pad
Glossary 23-36
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
An area of metallization on a substrate used for probing or to connect to a via, plated through-
hole, or an external interconnect.
Padstack
Refers to any pads, anti-pads, and thermal relief pads associated with a via or a plated through-
hole as it passes through the layers forming the substrate.
Padcap
A special flavor of circuit board used for high-reliability military applications. Distinguished by the
fact that the outer surfaces of the board have pads but no tracks. Signal layers are only created
on the inner planes, and tracks are connected to the surface pads by vias.
Refers to a shift register in which the data is loaded in parallel and read out serially.
Parasitic Effects
The effects caused by undesired resistance, capacitance, or inductance inherent in the material
or topology of a track or component.
Passive Trimming
A process in which a laser beam is used to trim components such as thick-film and thin-film
resistors on an otherwise unpopulated and unpowered hybrid or multichip module substrate.
Probes are placed at each end of a component to monitor its value while the laser evaporates
some of the material forming the component.
Pass-Transistor Logic
A technique for connecting MOS transistors such that data signals pass between their source
and drain terminals. Pass-transistor logic minimizes the number of transistors required to
implement a function, and is typically employed by designers of cell libraries or full-custom
integrated circuits.
PGA
Photo-Transistor
A special transistor which converts an optical input in the form of light into an equivalent
electronic signal in the form of a voltage or current.
Pico
Glossary 23-37
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Unit qualifier (symbol = p) representing one millionth of one millionth, or 10-12. For example, 3pS
stands for 3 x 10-12 Seconds.
PIN Diode
A diode where a thin layer exists between the N and P regions. Rectification with pin diodes is
limited. They actually behave more like a variable resistor that changes based upon the DC bias.
PISO
Place-Value
Refers to a numbering system in which the value of a particular digit depends both on the digit
itself and its position in the number.
PlasmA gaseous state in which the atoms or molecules are dissociated to form ions.
(2) An alternative name for the lead through-hole technique for populating circuit boards in which
component leads are inserted into plated through-holes.
Refers to the order in which the semiconductor is doped in a MOS device. That is, which
structures are constructed as P-type versus N-type material.
Refers to the order in which the semiconductor is doped in a bipolar junction transistor.
Polysilicon Layer
An internal layer in an integrated circuit used to create the gate electrodes of MOS transistors. In
addition to forming gate electrodes, the polysilicon layer can also be used to interconnect
components. There may be several polysilicon layers separated by dielectric (insulating) layers.
Populating
Positive Logic
Glossary 23-38
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
A convention which dictates the relationship between logical values and the physical voltages
used to represent them. The more positive potential is considered to represent TRUE and the
more negative potential is considered to represent FALSE. Also known as positive true logic.
Positive Resist
A process where radiation passing through the transparent areas of a mask causes previously
cured resist to be degraded. The degraded areas are then removed using an appropriate
solvent.
Positive-Edge
Positive-True
A convention which dictates the relationship between logical values and the physical voltages
used to represent them. The more positive potential is considered to represent TRUE and the
more negative potential is considered to represent FALSE. Also known as positive logic.
Power Amplifier
A class of amplifier with the primary purpose of delivering high output power (usually
accompanied by significant dissipated power).
Power Plane
A conducting layer in or on the substrate providing power to the components. There may be
several power planes separated by insulating layers.
Prepreg
Primitives
Simple logic functions such as BUF, NOT, AND, NAND, OR, NOR, XOR, and XNOR may be
referred to as primitive logic gates or primitives.
Product Term
A programmable logic device in which the AND array is programmable but the OR array is pre-
defined.
Glossary 23-39
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The most user-configurable of the traditional programmable logic devices, because both the
AND and OR arrays are programmable.
The generic name for a device constructed in such a way that the designer can configure, or
"program" it to perform a specific function.
A programmable logic device in which the OR array is programmable but the AND array is pre-
defined. Usually considered to be a memory device whose contents can be electrically
programmed (once) by the designer.
Project
A container that groups designs and their associated settings, including report definitions, in a
file with a .adsn extension. To the fullest extent possible, projects are portable in that they
include, rather than merely refer to, the library elements (graphical symbols, materials,
footprints, and so on) of the components and models they contain. Multiple projects can be open
simultaneously.
PROM
Pseudo-Random
PTH
P-type
A piece of semiconductor doped with impurities that make it amenable to accepting electrons.
Pulling
The difference between the maximum frequency of a VCO when the phase angle of the load
impedance reflection coefficient varies through 360 degrees.
Pulsed Radar
A transmit and receive system used for ranging and detection that transmits a train of short
bursts of high microwave signals and receives return signals reflected from a target.
Pushing
The change in frequency when the supply voltage changes, expressed in MHz/V.
Glossary 23-40
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Glossary: Q
QAM
QFP
QPSK
The most commonly used package in surface mount technology to achieve a high lead count in
a small area. Leads are presented on all four sides of a thin square package.
Quinary
Glossary: R
The range in the electromagnetic spectrum loosely defined from 30 MHz to 3 GHz (with
corresponding wavelengths from 1000 cm to 10 cm).
Radix
Refers to the number of digits in a numbering system. For example, the decimal numbering
system is said to be radix-10. May also be referred to as the "base".
Rats Layer
A non-physical, default layer in the stackup that displays a drawing of logical connections
between different components, circuit elements, and net connections. A single connection is
called a rat and all of the connections on a rat layers is a rat's nest.
Reed-Müller Logic
Glossary 23-41
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Refractory Metal
Metals such as tungsten, titanium, and molybdenum which are capable of withstanding
extremely high, or refractory, temperatures.
A product whose function may be customized remotely, by telephone or radio, while remaining
resident in the system (see also Configurable Hardware, Reconfigurable Hardware, Dynamically
Reconfigurable Hardware, and Virtual Hardware).
Reflection
The appearance of a previously transmitted signal on the transmission line causing interference
with the current signal. Reflections are caused by a poorly terminated or discontinuous
transmission line, where the signal energy is not fully absorbed within the receiver and is
therefore transmitted back toward the transmitter.
Resist
A material which is used to coat the substrate and is then selectively cured to form an impervious
layer.
Logic gates implemented using particular configurations of resistors and bipolar junction
transistors. For the majority of today's designers, resistor-transistor logic is of historical interest
only.
Return Loss
Return Loss (dB) is defined as a ratio of the incoming signal to the same reflected signal as it
enters a component.
RF
RF Power
A class of engineering. Circuits and signals primarily concerned with power levels ranging from a
few watts to tens of thousands of watts in the RF spectrum.
RF Power Transmitter
Rigid Flex
Glossary 23-42
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Hybrid constructions which combine standard rigid circuit boards with flexible printed circuits,
thereby reducing the component count, weight, and susceptibility to vibration of the circuit, and
greatly increasing its reliability.
Ringing
Common name for the waveform that is seen when a transmission line ends at a high
impedance discontinuity. The signal first overshoots, then dips down below the target value, and
continues this with decreasing amplitude until it converges on the target voltage.
Risetime
The time it takes for a signal to rise from 10% of its total logic swing to 90% of its total logic swing.
Rising-Edge
RTL
Glossary: S
Sample Rate
Sampling
Scalar Notation
A notation in which each signal is assigned a unique name; for example, a3, a2, a1, and a0.
Scaling
A technique for making transistors switch faster by reducing their size. This strategy is known as
scaling, because all of the transistors features are typically reduced by the same proportion.
Schematic
Scrubbing
Glossary 23-43
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The process of vibrating two pieces of metal, or metal coated materials, at ultrasonic frequencies
to create a friction weld.
Seed Value
An initial value loaded into a linear feedback shift register or random number generator.
Sensor
A transducer that detects a physical quantity and converts it into a form suitable for processing.
For example, a microphone is a sensor which detects sound and converts it into a corresponding
voltage or current.
Sequential
A function whose output value depends not only on its current input values, but also on previous
input values. That is, the output value depends on a sequence of input values.
A laser diode constricted at the edge of an integrated circuit's substrate such that, when power is
applied, the resulting laser beam is emitted horizontally; that is, parallel to the surface of the
substrate.
Sign Bit
The most significant binary digit, or bit, of a signed binary number. If set to a logic 1, this bit
represents a negative quantity.
Signal Conditioning
Signal Layer
A layer carrying tracks in a circuit board, hybrid, or multichip module. See also wiring layer.
Signature
Refers to the checksum value from a cyclic-redundancy-check when used in the guided-probe
form of functional test.
Signature Analysis
A binary number in which the most-significant bit is used to represent a negative quantity. Thus,
a signed binary number can be used to represent both positive and negative values.
Sign-Magnitude
Glossary 23-44
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Silicon Bumping
The process of depositing additional metallization on a die's pads to raise them fractionally
above the level of the Barrier Layer.
Silicon Chip
Although a variety of semiconductor materials are available, the most commonly used is silicon
and integrated circuits are popularly known as silicon chips, or simply chips.
Silicon Compiler
The program used in compiled cell technology to generate the masks used to create
components and interconnections. May also be used to create data-path functions and memory
functions.
Single-Sided
Sintering
A process in which ultra-fine metal powders weld together at temperatures much lower than
those required for larger pieces of the same materials.
Refers to a shift register in which the data is loaded in serially and read out in parallel.
Refers to a shift register in which the data is both loaded in and read out serially.
Skew
Time delay between different bits transmitted at the same time, measured at the receiver.
Skin Effect
In the case of high frequency signals, electrons are only conducted on the outer surface, or skin,
of a conductor. This phenomenon is known as the skin effect.
Refers to the number of logic gates in a device. By one convention, small-scale integration
represents a device containing 1 to 12 gates.
SMD
Glossary 23-45
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
SMOBC
SMT
SNR
Signal-to-noise ratio.
Solder Bumping
A flipped chip technique in which spheres of solder are formed on the die's pads. The die is
flipped and the solder bumps are brought into contact with corresponding pads on the substrate.
When all the chips have been mounted on the substrate, the solder bumps are melted using
reflow soldering or vapor-phase soldering.
Solder Mask
A layer applied to the surface of the substrate that prevents solder from sticking to any
metallization except where holes are patterned into the mask.
A technique in which the solder mask is applied in advance of the tin-lead plating. This results in
lighter circuit boards because the tin-lead alloy is only used to plate the pads.
Solution
A solution is the successful result of an analysis, or imported results available for plotting.
Space
SPICE
SRAM
Glossary 23-46
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
SS-CDMA
SSI
Stackup
An arrangement of physical signal and dielectric layers that is used in the design of circuit
boards. In Circuit, the stackup editor lists conceptual non-stackup layers with the physical
stackup layers.
Standard Cell
An application-specific integrated circuit which, unlike a gate array, does not use the concept of
a basic cell and does not have any pre-fabricated components. The manufacturer creates
custom masks for every stage of the device's fabrication allowing each logic function to be
created using the minimum number of transistors.
State Assignment
The process by which the states in a state machine are assigned to the binary patterns that are
to be stored in the state variables.
State Diagram
State Machine
The actual implementation (in hardware or software) of a function that can be considered to
consist of a set of states through which it sequences.
State Table
A tabular representation of the operation of a state machine. Similar to a truth table, but also
includes the current state as an input and the next state as an output.
State Transition
State Variable
One of a set of registers whose values represent the current state occupied by a state Static
Flex.
Statement
Glossary 23-47
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Static Flex
A type of flexible printed circuit which can be manipulated into permanent three-dimensional
shapes for applications such as calculators and high-tech cameras which require efficient use of
volume and not just area.
A memory device in which each cell is formed from four or six transistors configured as a latch or
a flip-flop. The term static is used because, once a value has been loaded into an SRAM cell, it
will remain unchanged until it is explicitly altered or until power is removed from the device.
Steady State
Subatomic Erosion
A process in which structures on an integrated circuit's substrate are eroded by the flow of
electrons in much the same way as land is eroded by a river (also known as electromigration)
Substrate
Generic name for the base layer of an integrated circuit, hybrid, multichip module, or circuit
board. Substrates may be formed from a wide variety of materials, including semiconductors,
ceramics, FR4 (fiberglass), glass, sapphire, or diamond depending on the application. Note that
the term substrate has traditionally not been widely used in the circuit board world, at least not by
the people who manufacture the boards. However, there is an increasing tendency to refer to a
circuit board as a substrate by the people who populate the boards. The main reason for this is
that circuit boards are often used as substrates in hybrids and multichip modules, and there is a
trend toward a standard terminology across all forms of interconnection technology.
Subtractive Process
A process in which a substrate is first covered with conducting material, then any unwanted
material is subsequently removed, or subtracted.
Superconductor
A component whose packaging is designed for use with surface mount technology.
A technique for populating hybrids, multichip modules, and circuit boards, in which packaged
components are mounted directly onto the surface of the substrate. A layer of solder paste is
screen printed onto the pads and the components are attached by pushing their leads into the
Glossary 23-48
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
paste. When all of the components have been attached, the solder paste is melted using either
reflow soldering or vapor-phase soldering.
A laser diode constricted on an integrated circuit's substrate such that, when power is applied,
the resulting laser beam is emitted directly away from the surface of the substrate.
Sweep Definition
Also called variable sweep definition. A set of variable values within a range that Optimetrics
drives the Electronics Desktop to solve when a parametric setup is analyzed. A parametric setup
can include one or more sweep definitions.
Synchronous
(1)A signal whose data is not acknowledged or acted upon until the next active edge of a clock
signal. (2)A system whose operation is synchronized by a clock signal.
System Gain
The net loss of a system as a measure of reliability with respect to system parameters. It
measures the difference between the output power and minimum input power required for
satisfactory performance. It represents a system net loss, and is represented as a negative dB
value that is larger than or equal to the summed gains and losses of a signal propagating in a
system from transmitter to receiver.
Glossary: T
Tap
A register output which is used to generate the next data input to a linear feedback shift register.
A process in which transparent flexible tape has tracks created on its surface. The pads on
unpackaged integrated circuits are attached to corresponding pads on the tape which is then
stored in a reel. Silver-loaded epoxy is screen printed on the substrate at the site where the
device is to be located and onto the pads to which the device's leads are to be connected. The
reel of TAB tape is fed through an automatic machine which pushes the device and the TAB
leads into the epoxy. When the silver-loaded epoxy is cured using reflow soldering or vapor-
phase soldering, it forms electrical connections between the TAB leads and the pads on the
substrate.
Glossary 23-49
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
TDM
Time-division multiplexing.
TDMA
Technology File
Tertiary Logic
An experimental technology in which logic gates are based on three distinct voltage levels. The
three voltages are used to represent the tertiary digits 0, 1, and 2, and their logical equivalents
FALSE, TRUE, and MAYBE.
Thermal Impedance
Relates the temperature rise for a given dissipated power (which employs an analogy to the
voltage-current relationship of impedance).
A special pattern etched around a via or a plated through-hole to connect it into a power or
ground plane. A thermal relief pad is necessary to prevent too much heat being absorbed into
the power or ground plane when the board is being soldered.
Thermal Tracking
Typically used to refer to the problems associated with optical interconnection systems whose
alignment may be disturbed by changes in temperature.
Thevenin's theorem
Thick-Film Process
A process used in the manufacture of hybrids and, to a lesser extent, multichip modules in which
signal and dielectric (insulating) layers are screen-printed onto the substrate.
Glossary 23-50
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Thin-Film Process
A process used in the manufacture of hybrids and multichip modules in which signal layers and
dielectric (insulating) layers are created using opto-lithographic techniques.
Time-Of-Flight
The time taken for a signal to propagate from one logic gate or opto-electronic component to
another.
Tin-Lead Plating
An electroless plating process in which exposed areas of copper on a circuit board are coated
with a layer of tin-lead alloy. The alloy is used to prevent the copper from oxidizing and provides
protection against contamination.
Tinning
Toggle
Refers to the contents or outputs of a logic function switching to the inverse of their previous
logic values.
TOI
Total Voltage
Trace
A conducting connection between electronic components. May also be called a track or a signal.
In the case of integrated circuits, such interconnections are often referred to collectively as
metallization.
Tracks
A conducting connection between electronic components. May also be called a trace or a signal.
In the case of integrated circuits, such interconnections are often referred to collectively as
metallization.
Transducer
A device that converts input energy of one form into output energy of another.
Transistor
Glossary 23-51
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
A three-terminal semiconductor device that, in the digital world, can be considered to operate
like a switch.
Tri-State Function
A function whose output can adopt three states: 0, 1, and Z (high-impedance) The function does
not drive any value in the Z state and, in many respects, may be considered to be disconnected
from the rest of the circuit.
Truth Table
A convenient way to represent the operation of a digital circuit as columns of input values and
their corresponding output responses.
Glossary: U
ULA
Refers to the number of logic gates in a device. By one convention, ultra-large-scale integration
represents a device containing a million or more gates.
ULSI
One of the original names used to refer to gate array devices. This term has largely fallen into
disuse.
A binary number in which all the bits are used to represent positive quantities. Thus, an unsigned
binary number can only be used to represent positive values.
Undershoot
The percentage a waveform falls below its lowest determined value before setting at the correct
value.
Glossary 23-52
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Glossary: V
Vapor-Phase Soldering
A surface mount process in which a substrate carrying components attached by solder paste is
lowered into the vapor-cloud of a tank containing boiling hydrocarbons. This melts the solder
paste thereby forming good electrical connections. However, vapor-phase soldering is
becoming increasingly less popular due to environmental concerns.
Vaporware
Refers to either hardware or software that exist only in the minds of the people who are trying to
sell them to you.
Also called sweep definition. A set of variable values within a range that Optimetrics drives
HFSS or Q3D to solve when a parametric setup is analyzed. A parametric setup can include one
or more sweep definitions.
Vector Notation
A notation used in logic simulation and synthesis in which a single name is used to reference a
group of signals, and individual signals within the group are referenced by means of an index; for
example, a[3:0] = a[3], a[2], a[1], and a[0].
Refers to the number of logic gates in a device. By one convention, very-large-scale integration
represents a device containing 1,000 to 999,999 gates.
Via
A hole filled or lined with a conducting material which is used to link two or more conducting
layers in a substrate.
Virtual Memory
Glossary 23-53
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
A trick used by a computer's operating system to pretend that it has access to more memory
than is actually available. For example, a program running on the computer may require ten
mega-bytes to store its data, but the computer may have only five mega-bytes of memory
available. To get around this problem, whenever the program attempts to access a memory
location that does not physically exist, the operating system performs a slight-of-hand and
exchanges some of the contents in the memory with data on the hard disk.
VLSI
Volatile
Refers to a memory device which loses any data it contains when power is removed from the
system; for example, random-access memory in the form of SRAM or DRAM
Glossary: W
Wafer Probing
The process of testing individual integrated circuits while they still form part of a wafer. An
automated tester places probes on the device's pads, applies power to the power pads, injects a
series of signals into the input pads, and monitors the corresponding signals returned from the
output pads.
Wave Soldering
A process used to solder circuit boards populated with through-hole components. A wave
generating mechanism maintains a wave of hot, liquid solder traveling back and forth across the
surface of a tank. The populated circuit boards are passed over the wave soldering machine on
a conveyor belt. The velocity of the convener belt is carefully controlled and synchronized such
that the solder wave brushes across the bottom of the board only once.
Waveguide
W-CDMA
Wideband code-division multiple access. Typically defined with 5 MHz channels and 3.84 MHz
carrier signals.
Wire Bonding
Glossary 23-54
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
The process of connecting the pads on an unpackaged integrated circuit to corresponding pads
on a substrate using wires that are finer than a human hair. Wire bonding may also be used to
connect the pads on an unpackaged integrated circuit, hybrid, or multichip module to the leads
of the component package.
Wiring Layer
A layer carrying wires in a discrete wired board. See also signal layer.
Word
A group of signals or logic functions performing a common task and carrying or storing similar
data; for example, a value on the data bus could be referred to as a data word.
Glossary: X
X-Ray Lithography
Similar in principle to optical lithography, but capable of constructing much finer features due to
the shorter wavelengths involved. However, X-ray lithography requires an intense source of X-
rays, is more difficult to use, and is considerably more expensive than optical lithography.
Glossary: Y
Yield
The number of devices that work as planned, specified as a percentage of the total number
actually fabricated.
Glossary: Z
Zepto (z)
Zone
Glossary 23-55
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
A spatial area on a printed circuit board that may contain a subset or all of the layers in the
board’s stackup.
Glossary 23-56
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
2 orientation 8-28
spinning 8-35
3
user interface options 8-13
3D modeler window 2-92
zooming 8-19
history tree 2-96
commands 2-107 A
Index-1
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Index-2
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Index-3
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Index-4
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Index-5
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
E t model 21-8
edges errors
reports 16-320
Index-6
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Index-7
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
integration 5-58
G
load sharing facility (LSF) 5-118
GDSII
Microsoft Windows HPC 5-97
importing 3-109
overview 5-1
layer mapping files 3-112
portable batch system (PBS) 5-128
tech file colors 3-112
remote simulation management
getting started guides 1-1 (RSM) 5-61
grid engine (GE) 5-81 schedulers 5-59
grids SLURM Scheduler (Linux Utility) 5-136
settings 3-49 terminology 5-58
grouping third party schedulers 5-140
options 3-42 highlighting selections 3-37
groups history tree 2-96
selecting 7-275 commands 2-107
Index-8
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
monitoring 5-224
I
multi-step submission 5-197
Icepak
scripting 5-222
EM Loss Link 12-16
submitting 5-186
impedance boundary conditions
(IBCs) 9-9 submitting using command line 5-
195
importing
Windows to Linux 5-203
datasets 3-162
files 3-105 K
Index-9
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Index-10
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Index-11
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
boxes 7-42
N
center-point arc 7-12
nets
circles 7-24
assigning automatically 11-4
cones 7-46
assigning manually 11-3
connecting 7-214
deleting 11-1
creating a list of 7-255
overview 11-1
creating cross-section 7-214
reassigning 11-1
creating from edges 7-227
reprioritizing types 11-5
creating from faces 7-226
showing and hiding 11-1
creating from intersections 7-225
zooming to 11-1
cylinders 7-37
nets window 2-36
deleting 7-184
network data explorer 17-1
drawing 7-3
cell filtering 17-19
Index-12
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Index-13
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Index-14
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Index-15
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Index-16
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
AC 21-1
R
DC 21-1
range functions 16-227
drawing 7-63, 7-66
read-only designs 3-149
transition 21-1
redo command 3-151
release
reduce matrix 13-1
obtaining information about 2-79
in 2D Extractor 13-23
remote analysis
in Q3D Extractor 13-1
overview 5-1
operations
troubleshooting 5-4
add ground 13-25
remote simulation management
add sink 13-5 (RSM) 5-61
change frequency 13-22 remote spawn (Linux) 3-62
diff pair 13-33 report window 2-95
float 13-29 reports
float at infinity 13-19 animated 16-254
float net 13-13 context 16-93
float terminal 13-17 creating 16-85
ground net 13-15 creating a quick report 16-87
join in parallel 13-9 custom templates 16-113
join in series 13-7 data tables 16-172
join selected terminals 13-11 EM fields 16-320
move sink 13-3 exporting 16-252
Index-17
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
resistance selecting
Index-18
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Index-19
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
Index-20
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
traces variables
U editing 3-195
project-level
V
adding 3-186
validation check 3-138
arrays 3-189
Index-21
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
view options
rotate 8-35
water 4-44
window displays
3D modeler 2-92
components 2-35
nets 2-36
Index-22
Ansys Electromagnetics Suite 2024 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential