Table of Contents

2 downloads 0 Views 8MB Size Report
Keyboard Shortcuts for HFSS General Purposes . ...... Model Geometry • The translated geometry's construction history is unavailable; therefore the original ...
Table of Contents

1.

Getting Started with HFSS System Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-2 Windows . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-2 Sun Solaris . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-4 Linux . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-4 Setting Up a Printer on Solaris/Linux . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-5

Welcome to HFSS Online Help . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-7 HFSS User Interface Quick Links . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-7 Modeling Quick Links . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-8 Materials Quick Links . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-8 Ports Quick Links . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-9 Meshing Quick Links . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-9 Analysis Quick Links . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-10 Optimetrics Quick Links . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-10 Results Quick Links . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-11 Scripting Quick Links . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-11

The HFSS Desktop . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-13 Showing and Hiding Windows . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-13 Moving and Resizing Desktop Windows . . . . . . . . . . . . . . . . . . . . . . . . . 1-14 Working with the Menu Bar . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-15 Working with the Toolbars . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-17 Customize Toolbar Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-17 Customize Toolbar Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-18 External User Tools . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-18 Working with the Shortcut Menus . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-19 Contents - 1

Shortcut Menu in the Toolbars Area . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-19 Shortcut Menu in the 3D Modeler Window . . . . . . . . . . . . . . . . . . . . . . . . . 1-20 Shortcut Menus in the Project Manager Window . . . . . . . . . . . . . . . . . . . . 1-21

Keyboard Shortcuts for HFSS General Purposes . . . . . . . . . . . . . . . . . . 1-21 Working with the Status Bar . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-23 Working with the Project Manager . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-23 Working with the Project Tree . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-24 Setting the Project Tree to Expand Automatically . . . . . . . . . . . . . . . . 1-24 Viewing HFSS Design Details . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-24 Viewing the Design List . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-25 Viewing Material Definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-26

Working with the Properties Window . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-26 Showing and Hiding the Properties Window . . . . . . . . . . . . . . . . . . . . . . . . 1-27 Setting the Properties Window to Open Automatically . . . . . . . . . . . . . . . . 1-27 Modifying Object Attributes Using the Properties Window . . . . . . . . . . . . 1-28 Modifying Object Command Properties Using the Properties Window . . . 1-28

Working with the Progress Window . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-28 Stopping or Aborting Simulation Progress . . . . . . . . . . . . . . . . . . . . . . . . . 1-29

Working with the Message Manager . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-29 Working with the 3D Modeler Window . . . . . . . . . . . . . . . . . . . . . . . . . 1-29 Working with the History Tree . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-31 Controlling the View of Objects in the History Tree . . . . . . . . . . . . . . . . . . 1-33

Keyboard Shortcuts for the 3D Modeler Window . . . . . . . . . . . . . . . . . . 1-33

Using the Password Manager to Control Access to Resources . . . . . . . . . 1-35 Running HFSS from a command line . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-36 Getting Started Guides . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-40 Example Projects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-43 cavity.hfss . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-43 Getting Started Projects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-44 Dielectric Resonator Antenna . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-46 Optiguide . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-47 Package Example Project . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-50 Waveguide Combiner Example Project . . . . . . . . . . . . . . . . . . . . . . . . . . 1-51

Copyright and Trademark Notices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-53

2.

Getting Help Conventions Used in the Online Help . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-3 Searching in Help . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-4 Using WebUpdate . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-5

3.

Working with HFSS Projects HFSS Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-2

Contents - 2

Creating Projects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-3 Projects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-4 Opening Recent Projects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-4 Opening Legacy HFSS Projects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-4 Legacy HFSS Project Translation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-4

Closing Projects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-7 Saving Projects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-8 Saving a New Project . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-8 Saving the Active Project . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-9 Saving a Copy of a Project . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-9 Renaming a Project . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-9 Saving Project Data Automatically . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-10 Save Before Solve Option . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-10 Recovering Project Data in an Auto-Save File . . . . . . . . . . . . . . . . . . . . . . 3-11

Deleting Projects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-12 Undoing Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-13 Redoing Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-14 Validating Projects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-15 Modeler Validation Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-16

Exporting Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-18 Exporting 2D Geometry Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-18 Exporting 3D Model Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-18 Exporting Graphics Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-20 Exporting Data Table Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-20

Importing Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-22 Importing 2D Model Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-22 Importing GDSII Format Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-23 Importing 3D Model Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-25 Importing DXF and DWG Format Files . . . . . . . . . . . . . . . . . . . . . . . . . 3-27 Importing Solution Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-30 Importing Data Tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-30 Importing HFSS Plot Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-32 Importing Plot Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-32 Importing from the Clipboard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-32

Inserting a Documentation File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-33 Printing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-34 Saving Project Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-35 Setting Options in HFSS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-36 Setting General Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-36 General Options: Project Options Tab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-36 Contents - 3

General Options: Default Units Tab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-37 General Options: Analysis Options Tab . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-37 General Options: WebUpdate Options Tab . . . . . . . . . . . . . . . . . . . . . . . . . 3-39 General Options: Miscellaneous Options Tab . . . . . . . . . . . . . . . . . . . . . . . 3-39

Setting HFSS Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-40 HFSS Options: General Options Tab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-40 HFSS Options: Solver Tab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-41

Setting Fields Reporter Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-42 Setting Report2D Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-42 Report 2D Options: Curve Tab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-43 Report2D Options: Axis Tab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-43 Report2D Options: Grid Tab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-44 Report2D Options: Header Tab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-44 Report2D Options: Note Tab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-44 Report2D Options: Legend Tab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-44 Report2D Options: Marker tab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-45 Report2D Options: Marker Table Tab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-45 Report2D Options: General Tab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-46 Report2D Options: Table Tab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-46

Setting Modeler Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-47 Modeler Options: Operation Tab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-47 Modeler Options: Display Tab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-47 Modeler Options: Drawing Tab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-49

Report Setup Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-50

Working with Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-51 Adding a Project Variable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-51 Deleting Project Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-52 Adding a Design Variable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-52 Deleting Design Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-53 Defining an Expression . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-54 Using Valid Operators for Expressions . . . . . . . . . . . . . . . . . . . . . . . . . . 3-54 Using Intrinsic Functions in Expressions . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-55 Using Piecewise Linear Functions in Expressions . . . . . . . . . . . . . . . . . . . . 3-57 Using Dataset Expressions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-57

Adding Datasets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-58 Modifying Datasets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-59 Defining Mathematical Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-59 Assigning Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-60 Choosing a Variable to Optimize . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-60 Including a Variable in a Sensitivity Analysis . . . . . . . . . . . . . . . . . . . . . 3-61 Choosing a Variable to Tune . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-62 Including a Variable in a Statistical Analysis . . . . . . . . . . . . . . . . . . . . . 3-62 Contents - 4

4.

Setting up an HFSS Design Inserting an HFSS Design . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-2 Selecting the Solution Type . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-3 Setting the Model’s Units of Measurement . . . . . . . . . . . . . . . . . . . . . . . . 4-4

5.

Drawing a Model Drawing Objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-2 Drawing a Straight Line Segment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-2 Drawing a Three-Point Arc Line . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-3 Drawing a Center-Point Arc Line . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-4 Drawing a Spline . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-4 Drawing a Polyline . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-5 Inserting Line Segments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-6 Drawing an Equation-Based Curve . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-7 Drawing a Circle . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-7 Drawing an Ellipse . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-8 Drawing a Rectangle . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-9 Drawing a Regular Polygon . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-10 Drawing an Equation-Based Surface . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-11 Drawing a Sphere . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-11 Drawing a Cylinder . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-12 Drawing a Box . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-13 Drawing a Regular Polyhedron . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-13 Drawing a Cone . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-14 Drawing a Torus . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-14 Drawing a Helix . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-15 Drawing a Segmented Helix with Polygon Cross-Section Using a User Defined Primitive . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-16 Drawing a Segmented Helix with Rectangular Cross-Section Using a User Defined Primitive . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-17 Drawing a Spiral . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-18 Drawing Spiral using User Defined Primitives . . . . . . . . . . . . . . . . . . . . 5-20 Drawing a Bondwire . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-21 Drawing a Point . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-22 Drawing a Plane . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-22 Creating Segmented Geometry . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-23 Segmented Objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-23

Drawing Non-Model Objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-24 Selecting Non-Model Drawing Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-25 Changing an Object to Non Model . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-25 Contents - 5

Drawing a Region . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-25

Model Analysis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-27 Analysis Options Dialog . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-28 Model Analysis dialog . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-29 Objects Tab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-29 Object Misalignment Tab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-31 Surface Mesh (Single/Pairs) Tab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-31 Last Simulation Mesh Tab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-32

Align Faces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-33 Remove Faces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-33 Remove Edges . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-33 Set Material Override . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-34 Heal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-34 Healing Non-Manifold Objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-36 Setting the Healing Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-36

Creating a User Defined Primitive . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-39 User Customization through User Defined Primitives (UDPs) . . . . . . . . 5-41

Modifying Objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-43 Assigning Color to Objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-44 Setting the Default Color of Objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-44 Setting the Default Color of Object Outlines . . . . . . . . . . . . . . . . . . . . . . . . 5-44

Assigning Transparency to an Object . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-44 Setting the Default Transparency of Objects . . . . . . . . . . . . . . . . . . . . . . . . 5-45

Copying and Pasting Objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-45 Copying to the Clipboard as Images . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-45 Deleting Objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-46 Deleting Polyline Segments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-46 Deleting Start Points and Endpoints . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-47

Delete Last Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-47 Moving Objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-47 Rotating Objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-48 Changing the Orientation of an Object . . . . . . . . . . . . . . . . . . . . . . . . . . 5-48 Mirroring Objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-49 Offsetting Objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-49 Duplicating Objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-50 Duplicating Objects Along a Line . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-50 Duplicating Objects Around an Axis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-51 Duplicating and Mirroring Objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-51

Scaling Objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-52 Sweeping Objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-52 Sweeping Around an Axis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-53 Sweeping Along a Vector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-54 Contents - 6

Sweeping Along a Path . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-54 Sweeping Faces Along Normal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-55 Thicken Sheet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-55

Covering Lines . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-56 Covering Faces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-56 Uncovering Faces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-56 Detaching Faces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-56 Detaching Edges . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-57 Creating a Cross-Section . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-57 Connecting Objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-57 Moving Faces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-58 Moving Faces Along the Normal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-58 Moving Faces Along a Vector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-59

Uniting Objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-59 Subtracting Objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-60 Creating Objects from Intersections . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-61 Creating an Object from a Face . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-62 Creating an Object from an Edge . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-63 Splitting Objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-63 Separating Bodies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-64 Converting Polyline Segments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-65 Rounding the Edge of Objects (Fillet Command) . . . . . . . . . . . . . . . . . . 5-66 Flattening the Edge of Objects (Chamfer Command) . . . . . . . . . . . . . . . 5-66 Purge History . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-66 Generate History . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-67

Selecting Items in the 3D Modeler Window . . . . . . . . . . . . . . . . . . . . . . . 5-69 Selecting Objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-69 Selecting Several Objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-70 Selecting Objects by Name . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-70 Setting the Default Color and Transparency of Selected Objects . . . . . . . . 5-70 Setting the Default Color of Highlighted Objects . . . . . . . . . . . . . . . . . . . . 5-71 Creating an Object List . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-71 Reassigning Objects to Another Object List . . . . . . . . . . . . . . . . . . . . . . . . 5-72

Selecting Faces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-72 Selecting All Faces of an Object . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-73 Selecting Faces by Name . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-74 Selecting Faces by Plane . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-74 Face Selection Toolbar Icons . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-75 Creating a Face List . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-75

Selecting Edges . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-76 Selecting Vertices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-77 Selecting Multi (a Mode for Selecting Objects, Faces, Vertices or Contents - 7

Edges) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-78 Clearing a Selection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-79 Selecting the Face or Object Behind . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-79 Selecting Cartesian Coordinates . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-79 Selecting Cylindrical Coordinates . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-80 Selecting Spherical Coordinates . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-80 Selecting Absolute Coordinates . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-81 Selecting Relative Coordinates . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-82

Choosing the Movement Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-83 Moving the Cursor In Plane . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-83 Moving the Cursor Out of Plane . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-83 Moving the Cursor in 3D Space . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-84 Moving the Cursor Along the X-Axis . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-85 Moving the Cursor Along the Y-Axis . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-86 Moving the Cursor Along the Z-Axis . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-86

Choosing Snap Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-87 Snap Setting Guidelines . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-88

Measure Modes for Objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-89 Measuring Position and Distance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-90

Setting Coordinate Systems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-92 Setting the Working Coordinate System . . . . . . . . . . . . . . . . . . . . . . . . . 5-92 Creating a Relative Coordinate System . . . . . . . . . . . . . . . . . . . . . . . . . . 5-93 Creating an Offset Relative CS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-93 Creating a Rotated Relative CS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-93 Creating an Offset and Rotated Relative CS . . . . . . . . . . . . . . . . . . . . . . . . 5-94

Creating a Face Coordinate System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-95 Automatically Creating Face Coordinate Systems . . . . . . . . . . . . . . . . . . . . 5-96

Modifying Coordinate Systems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-96 Deleting Coordinate Systems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-96

6.

Assigning Boundaries Zoom to Selected Boundary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-2 Setting Default Boundary/Excitation Base Names . . . . . . . . . . . . . . . . . 6-3

Assigning Perfect E Boundaries . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-4 Assigning Perfect H Boundaries . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-5 Assigning Impedance Boundaries . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-6 Assigning Radiation Boundaries . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-7 Assigning PML Boundaries . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-9 Creating PMLs Automatically . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-9 Creating PML Boundaries Manually . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-11 Contents - 8

Guidelines for Assigning PML Boundaries . . . . . . . . . . . . . . . . . . . . . . . 6-12 Modifying PML Boundaries . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-13

Assigning Finite Conductivity Boundaries . . . . . . . . . . . . . . . . . . . . . . . . 6-14 Assigning Symmetry Boundaries . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-15 Assigning Master Boundaries . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-16 Assigning Slave Boundaries . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-17 Assigning Lumped RLC Boundaries . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-19 Assigning Screening Impedance Boundaries . . . . . . . . . . . . . . . . . . . . . . 6-20 Assigning Layered Impedance Boundaries . . . . . . . . . . . . . . . . . . . . . . . . 6-22 Designating Infinite Ground Planes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-24 Modifying Boundaries . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-25 Deleting Boundaries . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-26 Reassigning Boundaries . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-27 Reprioritizing Boundaries . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-28 Global Material Environment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-29 Duplicating Boundaries and Excitations with Geometry . . . . . . . . . . . . . 6-30 Showing and Hiding Boundaries and Excitations . . . . . . . . . . . . . . . . . . . 6-31 Showing and Hiding Boundaries and Excitations in the Active View Window . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-31 Showing and Hiding Boundaries and Excitations in Every View Window . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-32

Reviewing Boundaries and Excitations in the Solver View . . . . . . . . . . . 6-33 Setting Default Values for Boundaries and Excitations . . . . . . . . . . . . . . 6-34

7.

Assigning Excitations Zoom to Selected Excitation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-2

Assigning Wave Ports . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-3 Assigning Wave Ports for Modal Solutions . . . . . . . . . . . . . . . . . . . . . . . 7-3 Assigning Wave Ports for Terminal Solutions . . . . . . . . . . . . . . . . . . . . 7-5 Set Reference Impedance for Terminals . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-6 Auto Assign for Terminals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-7

Manually Assigning Terminals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-7 Manually Assigning a Wave Port . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-8

Assigning Lumped Ports . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-10 Assigning Lumped Ports for Modal Solutions . . . . . . . . . . . . . . . . . . . . . 7-10 Manually Assigning Lumped Ports for Terminal Solutions . . . . . . . . . . 7-11

Assigning Floquet Ports . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-13 Defining an Integration Line . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-16 Guidelines for Defining Integration Lines . . . . . . . . . . . . . . . . . . . . . . . . 7-16 Contents - 9

Duplicating Integration Lines . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-17 Modifying Integration Lines . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-17 Setting up Differential Pairs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-18

Assigning Incident Waves . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-20 Incident Plane Wave . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-21 Incident Hertzian-Dipole Wave . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-22 Incident Cylindrical Wave . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-23 Incident Gaussian Beam Wave . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-24 Incident Linear Antenna Wave . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-26 Far Field Wave . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-27 Near Field Wave . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-30

Assigning Voltage Sources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-34 Modifying Voltage Sources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-34

Assigning Current Sources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-35 Modifying Current Sources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-35

Assigning Magnetic Bias Sources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-36 Setup Link Dialog . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-38 Modifying Excitations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-39 Deleting Excitations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-40 Reassigning Excitations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-41 Duplicating Excitations with Geometry . . . . . . . . . . . . . . . . . . . . . . . . . . 7-42 Showing and Hiding Excitations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-43 Setting the Impedance Multiplier . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-44 Renormalizing S-Matrices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-45 De-embedding S-Matrices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-46

8.

Assigning Materials Solving Inside or on the Surface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-3 Searching for Materials . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-4 Searching by Material Name . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-4 Searching by Material Property . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-4

Adding New Materials . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-5 Assigning Material Property Types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-6 Defining Anisotropic Relative Permeability Tensors . . . . . . . . . . . . . . . . . 8-6 Defining Anisotropic Relative Permittivity Tensors . . . . . . . . . . . . . . . . . . 8-7 Defining Anisotropic Conductivity Tensors . . . . . . . . . . . . . . . . . . . . . . . . 8-7 Defining Anisotropic Dielectric Loss Tangent Tensors . . . . . . . . . . . . . . . . 8-8 Defining Magnetic Loss Tangent Tensors . . . . . . . . . . . . . . . . . . . . . . . . . . 8-8

Defining Variable Material Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-9 Defining Frequency-Dependent Material Properties . . . . . . . . . . . . . . . . 8-9 Contents - 10

Defining Frequency-Dependent Material Properties for Lossy Dielectrics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-11 Enter Frequency Dependent Data Points . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-12 Specify Thermal Quadratic Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-13

Defining Material Properties as Expressions . . . . . . . . . . . . . . . . . . . . . . 8-13 Defining Functional Material Properties . . . . . . . . . . . . . . . . . . . . . . . . . 8-13

Viewing and Modifying Material Attributes . . . . . . . . . . . . . . . . . . . . . . . 8-14 Validating Materials . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-15 Copying Materials . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-16 Removing Materials . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-17 Exporting Materials to a Library . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-18 Sorting Materials . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-19 Filtering Materials . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-20 Working with Material Libraries . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-21 Working with Ansoft’s System Material Library . . . . . . . . . . . . . . . . . . 8-21 Working with User Material Libraries . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-21 Editing Libraries . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-21 Configuring Libraries . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-21

9. 10.

Assigning DC Thickness Modifying the Model View Rotating the View . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-2 Panning the View . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-3 Zooming In and Out . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-4 Zooming In or Out on a Rectangular Area . . . . . . . . . . . . . . . . . . . . . . 10-4

View Options: 3D UI Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-6 Fitting Objects in the View Window . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-7 Fitting All Objects in a View Window . . . . . . . . . . . . . . . . . . . . . . . . . 10-7 Fitting a Selection in a View Window . . . . . . . . . . . . . . . . . . . . . . . . . . 10-7

Hiding Objects from View . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-8 Showing Objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-9 Active View Visibility Dialogue . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-11 Rendering Objects as Wireframes or Solids . . . . . . . . . . . . . . . . . . . . . . 10-12 Setting the Default View Rendering Mode . . . . . . . . . . . . . . . . . . . . . . 10-12

Setting the Surface Visualization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-13 Modifying the View Orientation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-15 Applying a Default View Orientation . . . . . . . . . . . . . . . . . . . . . . . . . . 10-15 Applying a New View Orientation . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-15 Removing an Orientation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-16 Contents - 11

Modifying the Lighting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-17 Setting the Projection View . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-18 Setting the Background Color . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-19 Modifying the Coordinate System Axes View . . . . . . . . . . . . . . . . . . . . 10-20 Showing or Hiding the Axes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-20 Show the Axes for Selected Objects . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-20 Enlarging or Shrinking the Axes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-20 Showing or Hiding the Triad Axes . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-20

Choosing Grid Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-21 Setting the Grid Type . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-21 Setting the Grid Style . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-21 Setting the Grid Density and Spacing . . . . . . . . . . . . . . . . . . . . . . . . . . 10-21 Setting the Grid’s Visibility . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-22 Setting the Grid Plane . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-22

11.

Defining Mesh Operations Assigning Length-Based Mesh Refinement on Object Faces . . . . . . . . . 11-2 Assigning Length-Based Mesh Refinement Inside Objects . . . . . . . . . . 11-3 Assigning Skin Depth-Based Mesh Refinement on Object Faces . . . . . . 11-4 Modifying Surface Approximation Settings . . . . . . . . . . . . . . . . . . . . . . 11-6 Specifying the Model Resolution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-7 Reverting to the Initial Mesh . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-9 Applying Mesh Operations without Solving . . . . . . . . . . . . . . . . . . . . . . 11-10

12.

Specifying Solution Settings Add Dependent Solve Setup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-2

Renaming a Solution Setup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-4 Copying a Solution Setup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-5 Setting the Solution Frequency . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-6 Solving for Ports Only . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-7 Setting the Minimum Frequency . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-8 Setting the Number of Modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-9 Setting Adaptive Analysis Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-10 Setting the Maximum Number of Passes . . . . . . . . . . . . . . . . . . . . . . . . 12-10 Setting the Maximum Delta S Per Pass . . . . . . . . . . . . . . . . . . . . . . . . . 12-11 Setting the Maximum Delta Energy Per Pass . . . . . . . . . . . . . . . . . . . . 12-11 Setting the Maximum Delta Frequency Per Pass . . . . . . . . . . . . . . . . . . 12-12 Specifying Convergence on Real Frequency Only . . . . . . . . . . . . . . . . . . 12-12

Specifying Output Variable Convergence . . . . . . . . . . . . . . . . . . . . . . . 12-12 Specifying a Source for the Initial Mesh . . . . . . . . . . . . . . . . . . . . . . . . 12-13 Contents - 12

Clearing Linked Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-14

Setting Lambda Refinement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-14 Setting the Percent Maximum Refinement Per Pass . . . . . . . . . . . . . . . 12-15 Setting the Maximum Refinement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-16 Setting the Minimum Number of Passes . . . . . . . . . . . . . . . . . . . . . . . . 12-16 Setting the Minimum Number of Converged Passes . . . . . . . . . . . . . . . 12-16 Setting Matrix Convergence Criteria . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-16 Setting the Order of Basis Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-18 Enable Iterative Solver . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-18 Use Radiation Boundary on Ports . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-19 Port Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-19

Adding a Frequency Sweep . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-20 Selecting the Sweep Type . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-21 Options for Discrete Sweeps . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-21 Options for Fast Sweeps . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-21 Options for Interpolating Sweeps . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-22

Setup Interpolating Sweep Advanced Options . . . . . . . . . . . . . . . . . . . 12-22 Setting the Error Tolerance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-23 Setting the Maximum Number of Solutions . . . . . . . . . . . . . . . . . . . . . . . 12-24 Interpolation Basis Convergence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-24

Specifying the Frequency Points to Solve . . . . . . . . . . . . . . . . . . . . . . . 12-25 Specifying Frequency Points with a Linear Step Size . . . . . . . . . . . . . . . . 12-25 Specifying a Linear Count of Frequency Points . . . . . . . . . . . . . . . . . . . . 12-26 Specifying a Logarithmic Spaced Frequency Sweep . . . . . . . . . . . . . . . . . 12-27 Specifying Single Frequency Points . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-27 Change the Value of an Existing Frequency Point . . . . . . . . . . . . . . . . . . 12-28 Deleting Frequency Points . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-28 Inserting Frequency Points . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-29 Choosing Frequencies for Full-Wave SPICE . . . . . . . . . . . . . . . . . . . . . . . 12-29 Guidelines for Calculating Frequencies for Full-Wave SPICE . . . . . 12-30 Requirements for Full-Wave SPICE . . . . . . . . . . . . . . . . . . . . . . . . . . 12-31

Disabling a Frequency Sweep . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-32 Disabling an Analysis Setup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-33 Specifying the Number of Processors . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-34 Specifying the Desired RAM Limit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-35 Specifying the Hard Memory Limit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-36

13.

Running Simulations Solving a Single Setup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13-2 Running More Than One Simulation . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13-2 Remote Analysis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13-3 Contents - 13

Determining the Desired Configuration . . . . . . . . . . . . . . . . . . . . . . . . . 13-4 Common Windows Configurations (Advantages and Disadvantages) . . . 13-5 Unix Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13-6 Determining User Accounts to Use with the Selected Configuration . . . . 13-6 Common Windows Configuration 1 . . . . . . . . . . . . . . . . . . . . . . . . . . 13-7 Common Windows Configuration 2 . . . . . . . . . . . . . . . . . . . . . . . . . . 13-8 Common Windows Configuration 3 . . . . . . . . . . . . . . . . . . . . . . . . . . 13-8 Unix User Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13-9 Using Groups for Security Permissions on Windows . . . . . . . . . . . . . . . . 13-10 Windows Built-In Local Groups . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13-10 Pre-Defined Windows System Identities . . . . . . . . . . . . . . . . . . . . . . 13-11 Manually Adding a Windows Local Group . . . . . . . . . . . . . . . . . . . . 13-11

Configuring the Remote Machine . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13-11 A. Configuring the Remote Machine for Windows XP Professional (32-bit and 64-bit) and Windows Server 2003 (32-bit and 64-bit) . . . . . . 13-11 A(1) Remote Machine Configuration Prerequisites . . . . . . . . . . . . . . 13-12 A(2) Configuring Distributed COM for the Remote Machine . . . . . . 13-12 A(3) Configuring Policy Settings for the Remote Machine . . . . . . . . 13-16 A(4) Enabling Firewall Access on the Remote Machine . . . . . . . . . . 13-16 A(5) Configuring Software Settings on the Remote Machine . . . . . . 13-18 A(6) Setting Up Security Permissions on the Remote Machine . . . . . 13-18 A(7) Analyzing a Test Design as a Remote User on the Remote Machine . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13-19 B. Configuring the Remote Machine for Unix . . . . . . . . . . . . . . . . . . . . . . 13-19 B(1) (Linux Only) Ensure loopback adapter not associated with remote machine name . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13-19 B(2) Install Visual MainWin Remote Security Authority . . . . . . . . . 13-21 B(3) Install MainWin Core Services on Remote Machine . . . . . . . . . 13-21 B(4) Configure MainWin Core Services for Remote Machine . . . . . 13-22 B(5) Configure Port Access for Remote Machine . . . . . . . . . . . . . . . 13-23 B(6) Install and Configure Ansoft products in Incoming Request mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13-24 B(7) Automating the Remote Machine Configuration . . . . . . . . . . . . 13-25

Configuring the Local Machine . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13-27 A. Configuring the Local Machine for Windows XP Professional (32-bit and 64-bit) and Windows Server 2003 (32-bit and 64-bit) . . . . . . 13-27 A(1) Local Machine Configuration Prerequisites . . . . . . . . . . . . . . . . 13-27 A(2) Configuring Distributed COM on a Local Machine . . . . . . . . . . 13-27 A(3) Enabling Firewall Access for the Local Machine . . . . . . . . . . . 13-29 A(4) Configuring the Software on the Local Machine . . . . . . . . . . . . 13-30 B. Configuring the Local Machine for Unix . . . . . . . . . . . . . . . . . . . . . . . 13-31 B(1) (Linux Only) Ensure loopback adapter not associated with local machine name . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13-32 B(2) Install Visual MainWin Remote Security Authority (VMRSA) 13-33 Contents - 14

B(3) Install MainWin Core Services on Local Machine . . . . . . . . . . . 13-34 B(4) Configure MainWin Core Services for Local Machine . . . . . . . 13-34 B(5) Configure Port Access for Local Machine . . . . . . . . . . . . . . . . . 13-36 B(6) Install and Configure Ansoft products in Outgoing Request mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13-36 B(7) Starting products in Outgoing Request mode . . . . . . . . . . . . . . . 13-37

Troubleshooting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13-38

Distributed Analysis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13-44 Configuring Distributed Analysis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13-44 Licensing for Distributed Analysis . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13-45 Selecting an Optimal Configuration for Distributed Analysis . . . . . . . . 13-46

Monitoring the Solution Process . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13-48 Monitoring Queued Simulations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13-49

Changing a Solution’s Priority . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13-50 Aborting Analyses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13-51 Re-solving a Problem . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13-52

14.

Optimetrics Parametric Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14-3 Setting Up a Parametric Analysis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14-4 Adding a Variable Sweep Definition . . . . . . . . . . . . . . . . . . . . . . . . . . . 14-4 Specifying Variable Values for a Sweep Definition . . . . . . . . . . . . . . . . . 14-5 Synchronizing Variable Sweep Definitions . . . . . . . . . . . . . . . . . . . . . . . . 14-6

Modifying a Variable Sweep Definition Manually . . . . . . . . . . . . . . . . 14-6 Overriding a Variable's Current Value in a Parametric Setup . . . . . . . . 14-7 Specifying a Solution Setup for a Parametric Setup . . . . . . . . . . . . . . . 14-8 Specifying the Solution Quantity to Evaluate for Parametric Analysis . . . 14-8 Setup Calculations for Optimetrics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14-9 Specifying a Solution Quantity's Calculation Range . . . . . . . . . . . . . . . . . 14-10

Viewing Results for Parametric Solution Quantities . . . . . . . . . . . . . . . 14-10 Using Distributed Analysis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14-12

Optimization Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14-13 Choosing an Optimizer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14-13 Quasi Newton . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14-13 Pattern Search . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14-16 Sequential Non-linear Programming (SNLP) . . . . . . . . . . . . . . . . . . . . . . 14-18 Sequential Mixed Integer NonLinear Programming . . . . . . . . . . . . . . . . . 14-19 Genetic Algorithm . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14-20

Optimization Variables and the Design Space . . . . . . . . . . . . . . . . . . . . 14-21

Setting Up an Optimization Analysis . . . . . . . . . . . . . . . . . . . . . . . . . . . 14-22 Optimization Setup for the Quasi Newton Optimizer . . . . . . . . . . . . . . 14-23 Contents - 15

Optimization Setup for the Pattern Search Optimizer . . . . . . . . . . . . . . 14-24 Optimization Setup for the SNLP Optimizer . . . . . . . . . . . . . . . . . . . . . 14-25 Optimization Setup for the SMINLP Optimizer . . . . . . . . . . . . . . . . . . 14-26 Optimization Setup for the Genetic Algorithm Optimizer . . . . . . . . . . . 14-27 Setting the Maximum Iterations for an Optimization Analysis . . . . . . . 14-28 Cost Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14-29 Acceptable Cost . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14-30 Cost Function Noise . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14-30 Adding a Cost Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14-30 Adding/Editing a Cost Function Calculation . . . . . . . . . . . . . . . . . . . 14-32 Specifying a Solution Quantity for a Cost Function Goal . . . . . . . . . 14-33 Setting the Calculation Range of a Cost Function Goal . . . . . . . . . . . 14-33 Setting a Goal Value . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14-34 Specifying a Single Goal Value . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14-34 Specifying an Expression as a Goal Value . . . . . . . . . . . . . . . . . . . . . 14-35 Specifying a Variable-Dependent Goal Value . . . . . . . . . . . . . . . . . . 14-35 Goal Weight . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14-35

Modifying the Starting Variable Value for Optimization . . . . . . . . . . . 14-37 Setting the Min. and Max. Variable Values for Optimization . . . . . . . . 14-37 Overriding the Min. and Max. Variable Values for a Single Optimization Setup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14-38 Changing the Min. and Max. Variable Values for Every Optimization Setup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14-38

Step Size . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14-38 Setting the Min. and Max. Step Sizes . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14-40

Setting the Min and Max Focus . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14-40 Equalizing the influence of different optimization variables. . . . . . . . . . . 14-41 To set the Min and Max Focus values: . . . . . . . . . . . . . . . . . . . . . . . . . . . 14-41

Solving a Parametric Setup Before an Optimization . . . . . . . . . . . . . . . 14-41 Solving a Parametric Setup During an Optimization . . . . . . . . . . . . . . . 14-42 Automatically Updating a Variable's Value After Optimization . . . . . . 14-42 Changing the Cost Function Norm . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14-42 Explanation of L1, L2 and Max norms in Optimization . . . . . . . . . . . . . . 14-43 Example of a More Complex Cost Function . . . . . . . . . . . . . . . . . . . . . . . 14-45

Advanced Genetic Algorithm Optimizer Options . . . . . . . . . . . . . . . . . 14-46

Sensitivity Analysis Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14-49 Selecting a Master Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14-49

Setting Up a Sensitivity Analysis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14-50 Setting the Maximum Iterations Per Variable . . . . . . . . . . . . . . . . . . . . 14-51 Setting Up an Output Parameter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14-51 Specifying a Solution Quantity for an Output Parameter . . . . . . . . . . . . . 14-52 Setting the Calculation Range of an Output Parameter . . . . . . . . . . . . . . . 14-53 Contents - 16

Modifying the Starting Variable Value for Sensitivity Analysis . . . . . . 14-53 Setting the Min. and Max. Variable Values . . . . . . . . . . . . . . . . . . . . . . 14-54 Overriding the Min. and Max. Variable Values for a Single Sensitivity Setup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14-54 Changing the Min. and Max. Variable Values for Every Sensitivity Setup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14-55

Setting the Initial Displacement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14-55 Solving a Parametric Setup Before a Sensitivity Analysis . . . . . . . . . . 14-55 Solving a Parametric Setup During a Sensitivity Analysis . . . . . . . . . . 14-56

Statistical Analysis Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14-57 Setting Up a Statistical Analysis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14-58 Setting the Maximum Iterations for a Statistical Analysis . . . . . . . . . . 14-58 Specifying the Solution Quantity to Evaluate for Statistical Analysis . 14-59 Setting the Solution Quantity's Calculation Range . . . . . . . . . . . . . . . . 14-60 Setting the Distribution Criteria . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14-60 Overriding the Distribution Criteria for a Single Statistical Setup . . . . . . 14-61 Changing the Distribution Criteria for Every Statistical Setup . . . . . . . . . 14-62 Statistical Cutoffs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14-63 Edit Distribution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14-63

Modifying the Starting Variable Value for Statistical Analysis . . . . . . 14-65 Solving a Parametric Setup During a Statistical Analysis . . . . . . . . . . . 14-65

Tuning Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14-66 Tuning a Variable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14-67 Applying a Tuned State to a Design . . . . . . . . . . . . . . . . . . . . . . . . . . . 14-68 Saving a Tuned State . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14-68 Reverting to a Saved Tuned State . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14-68 Resetting Variable Values after Tuning . . . . . . . . . . . . . . . . . . . . . . . . . 14-69

Saving Field Solutions for Optimetrics Analyses . . . . . . . . . . . . . . . . . . 14-70 Saving Field Solutions for a Parametric Setup . . . . . . . . . . . . . . . . . . . 14-70 Saving Field Solutions for an Optimization Setup . . . . . . . . . . . . . . . . . 14-70 Saving Field Solutions for a Sensitivity Setup . . . . . . . . . . . . . . . . . . . . 14-71 Saving Field Solutions for a Tuning Analysis . . . . . . . . . . . . . . . . . . . . 14-71 Saving Field Solutions for a Statistical Setup . . . . . . . . . . . . . . . . . . . . 14-72

Copying Meshes in Optimetrics Sweeps . . . . . . . . . . . . . . . . . . . . . . . . . 14-73 Adding an Expression in the Output Variables Window . . . . . . . . . . . . . 14-74 Excluding a Variable from an Optimetrics Analysis . . . . . . . . . . . . . . . . 14-75 Modifying the Value of a Fixed Variable . . . . . . . . . . . . . . . . . . . . . . . . 14-76 Linear Constraints . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14-77 Setting a Linear Constraint . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14-77 Modifying a Linear Constraint . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14-78 Contents - 17

Deleting a Linear Constraint . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14-78

Running an Optimetrics Analysis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14-80 Viewing Analysis Results for Optimetrics Solutions . . . . . . . . . . . . . . . 14-81 Viewing Solution Data for an Optimetrics Design Variation . . . . . . . . 14-81 Viewing an Optimetrics Solution's Profile Data . . . . . . . . . . . . . . . . . . 14-82 Viewing Results for Parametric Solution Quantities . . . . . . . . . . . . . . . 14-82 Plotting Solution Quantity Results vs. a Swept Variable . . . . . . . . . . . . . . 14-83

Viewing Cost Results for an Optimization Analysis . . . . . . . . . . . . . . . 14-83 Plotting Cost Results for an Optimization Analysis . . . . . . . . . . . . . . . . . . 14-84

Viewing Output Parameter Results for a Sensitivity Analysis . . . . . . . 14-84 Plotting Output Parameter Results for a Sensitivity Analysis . . . . . . . . . . 14-84

Viewing Distribution Results for a Statistical Analysis . . . . . . . . . . . . . 14-85 Plotting Distribution Results for a Statistical Analysis . . . . . . . . . . . . . . . 14-85

15.

Post Processing and Generating Reports Viewing Solution Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-2 Viewing Convergence Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-2 Viewing the Number of Completed Passes . . . . . . . . . . . . . . . . . . . . . . . . 15-3 Viewing the Max Magnitude of Delta S Between Passes . . . . . . . . . . . . . 15-3 Viewing the Output Variable Convergence . . . . . . . . . . . . . . . . . . . . . . . . 15-4 Viewing the Delta Magnitude Energy . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-4 Viewing the Magnitude Margin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-5 Viewing the Phase Margin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-5 Viewing the Max Delta (Mag S) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-5 Viewing the Max Delta (Phase S) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-6 Viewing the Maximum Delta Frequency . . . . . . . . . . . . . . . . . . . . . . . . . . 15-6 Plotting Convergence Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-7

Viewing a Solution Profile . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-7 Viewing Matrix Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-8 Selecting the Matrix Display Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-10 Exporting Matrix Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-11 Renaming Matrix Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-12 Exporting Equivalent Circuit Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-13 Exporting W-element Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-14

Viewing Mesh Statistics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-15 Viewing Eigenmode Solution Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-15 Deleting Solution Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-16 Deleting Reports . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-17

Export Results to Thermal Link for ANSYS Mechanical . . . . . . . . . . . . 15-18 Exporting the Model Geometry to ANSYS Workbench . . . . . . . . . . . . . . 15-20 Creating the Thermal Link Coupling File . . . . . . . . . . . . . . . . . . . . . . . . . 15-20

Scaling a Source’s Magnitude and Phase . . . . . . . . . . . . . . . . . . . . . . . . 15-23 Contents - 18

Guidelines for Scaling a Source’s Magnitude and Phase . . . . . . . . . . . 15-25

Creating Animations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-26 Creating Phase Animations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-26 Creating Frequency Animations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-27 Creating Geometry Animations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-27 Controlling the Animation’s Display . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-28 Exporting Animations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-30

Creating Reports . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-31 Creating a Quick Report . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-33 Creating a New Report . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-33 Modifying Reports . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-35 Modifying the Background Properties of a Report . . . . . . . . . . . . . . . . 15-36 Modifying the Legend in a Report . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-38 Creating Custom Report Templates . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-39

Selecting the Report Type . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-41 Selecting the Display Type . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-42 Creating 2D Rectangular Plots . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-42 Creating 3D Rectangular Plots . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-43 Creating 2D Polar Plots . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-45 Reviewing 2D Polar Plots . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-46 Creating 3D Polar Plots . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-46 Creating Smith Charts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-48 Creating Data Tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-49 Creating Radiation Patterns . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-50 Delta Markers in 2D Reports . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-51

Plotting in the Time Domain . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-51 Working with Traces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-56 Editing Trace Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-58 Editing the Display Properties of Traces . . . . . . . . . . . . . . . . . . . . . . . . . . 15-59 Adding Data Markers to Traces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-60 Discarding Report Values Below a Specified Threshold . . . . . . . . . . . . . . 15-62 Add Trace Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-62 Removing Traces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-63 Copy and Paste of Report and Trace Definitions . . . . . . . . . . . . . . . . . . . . 15-64 Copy and Paste of Report and Trace Data . . . . . . . . . . . . . . . . . . . . . . . . . 15-65

Sweeping a Variable in a Report . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-65 Sweeping Values Across a Distance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-66 Sweeping Values Across a Sphere . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-66

Selecting a Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-67 Selecting Solution Quantities to Plot . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-71 Selecting a Field Quantity to Plot . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-73 Selecting a Far-Field Quantity to Plot . . . . . . . . . . . . . . . . . . . . . . . . . . 15-74 Contents - 19

Plotting Vertical Cross-Sections of Far Fields . . . . . . . . . . . . . . . . . . . . 15-78 Plotting Horizontal Cross-Sections of Far Fields . . . . . . . . . . . . . . . . . 15-78 Selecting a Near-Field Quantity to Plot . . . . . . . . . . . . . . . . . . . . . . . . . 15-79 Selecting an Emission Test Quantity to Plot . . . . . . . . . . . . . . . . . . . . . 15-80 Plotting Imported Solution Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-81 Setting a Range Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-82

Specifying Output Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-84 Adding a New Output Variable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-84 Building an Expression Using Existing Quantities . . . . . . . . . . . . . . . . . . 15-84 Deleting Output Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-86

Plotting Field Overlays . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-87 Plotting Derived Field Quantities . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-88 Creating Scalar Field Plots . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-89 Modifying SAR Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-89

Creating Vector Field Plots . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-90 Modifying Field Plots . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-90 Setting Field Plot Attributes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-90 Modifying Field Plot Colors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-92 Setting the Color Key Visibility . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-93 Moving the Color Key . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-93 Modifying the Field Plot Scale . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-94 Modifying Vector Field Plot Arrows . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-95 Setting the Mesh Visibility on Field Plots . . . . . . . . . . . . . . . . . . . . . . . . . 15-96 Modifying Scalar Field Plot Isovalues . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-96 Mapping Scalar Field Plot Transparency to Field Values . . . . . . . . . . . . . 15-97 Modifying Markers on Point Plots . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-97 Modifying Line Plots . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-98

Setting a Plot’s Visibility . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-99 Saving a Field Overlay Plot . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-99 Opening a Field Overlay Plot . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-100 Deleting a Field Overlay Plot . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-100 Setting Field Plot Defaults . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-100

Using the Fields Calculator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-102 Opening the Fields Calculator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-102 Context Area . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-104 The Calculator Stack . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-104 Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-104 Enlarging the Register Display Area . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-105 Units of Measure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-105

Stack Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-105 Input Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-106 Quantity Command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-106 Contents - 20

Geometry Command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-108 Constant Command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-109 Number Command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-110 Function Command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-110 Geom Settings Command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-111 Read Command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-111

General Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-111 Scalar Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-113 Vec? Command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-114 1/x (Inverse) Command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-114 Pow Command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-114 (Square Root) Command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-114 Trig . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-114 d/d? (Partial Derivative) Command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-115 (Integral) Command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-115 Min Command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-115 Max Command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-116 ∇ (Gradient) Command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-116 Ln Command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-116 Log Command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-116

Vector Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-117 Scal? Command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-117 Matl Command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-117 Mag Command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-118 Dot Command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-118 Cross Command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-118 Divg Command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-118 Curl Command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-118 Tangent Command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-118 Normal Command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-119 Unit Vec Command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-119

Output Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-120 Value Command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-120 Eval Command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-120 Write Command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-121 Export Command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-122

Calculating Derived Field Quantities . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-123 Named Expression Library . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-124 Exiting the Fields Calculator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-125

Radiated Fields Post Processing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-126 Setting up a Near-Field Sphere . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-126 Setting up a Near-Field Line . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-128 Computing Maximum Near-Field Parameters . . . . . . . . . . . . . . . . . . . . 15-128 Contents - 21

Setting up a Far-Field Infinite Sphere . . . . . . . . . . . . . . . . . . . . . . . . . . 15-129 Defining Antenna Arrays . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-131 Defining a Regular Antenna Array . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-131 Defining a Custom Antenna Array . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-132

Computing Antenna Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-132 Exporting Antenna Parameters and Maximum Field Data . . . . . . . . . . . . 15-134

Plotting the Mesh . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-136 Setting Mesh Plot Attributes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-136

16.

Technical Notes The Finite Element Method . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-2 Representation of a Field Quantity . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-2 Basis Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-2 Size of Mesh Vs. Accuracy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-3

The HFSS Solution Process . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-4 The Mesh Generation Process . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-4 Seeding the Mesh . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-5 Guidelines for Seeding the Mesh . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-5 Length-Based Mesh Refinement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-6 Skin Depth-Based Mesh Refinement . . . . . . . . . . . . . . . . . . . . . . . . . 16-6 Surface Approximation Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-7 Guidelines for Modifying Surface Approximation Settings . . . . . . . . 16-8 Meshing Region Vs. Problem Region . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-8

Model Resolution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-9 Port Solutions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-10 Excitation Fields . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-10 Wave Equation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-10 Mesh Refinement on Ports . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-11 Modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-11 Mode Conversion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-12 Modes, Reflections, and Propagation . . . . . . . . . . . . . . . . . . . . . 16-12 Modal Field Patterns and Frequency . . . . . . . . . . . . . . . . . . . . . . 16-12 Multiple Ports on the Same Face . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-12 Port Field Accuracy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-13 Saving Field Solutions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-13

The Adaptive Analysis Process . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-13 Maximum Delta S . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-14 Maximum Delta E . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-15 Percent of Tetrahedra Refined Per Pass . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-15 Magnitude Margin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-15 Phase Margin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-15 Maximum Delta Frequency . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-16 Max Delta (Mag S) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-16 Contents - 22

Max Delta (Phase S) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-16

Matrix Solvers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-17 Iterative Matrix Solver . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-17 Guidelines for Using the Iterative Solver . . . . . . . . . . . . . . . . . . . . . . . . . . 16-17 Multiprocessing and the Iterative Solver . . . . . . . . . . . . . . . . . . . . . . . . . . 16-17 Iterative Matrix Solver Technical Details . . . . . . . . . . . . . . . . . . . . . . . . . 16-18

Single Frequency Solution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-19 Frequency Sweeps . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-20 Fast Frequency Sweeps . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-21 Discrete Frequency Sweeps . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-22 Interpolating Frequency Sweeps . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-23

Solution Types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-24 Eigenmode Solutions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-25 Calculating the Resonant Frequency . . . . . . . . . . . . . . . . . . . . . . . . . . 16-25 Calculating the Quality Factor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-26 Calculating the Free Space Wave Number . . . . . . . . . . . . . . . . . . . . . 16-26

Field Solutions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-26 Field Overlay Plots . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-27 Field Quantities . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-27 Specifying the Phase Angle . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-28 Peak Versus RMS Phasors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-28 Calculating the SAR . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-29

S-Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-31 Renormalized S-Matrices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-31 Calculating Characteristic Impedance . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-32 Renormalizing to Zpv or Zvi Impedances . . . . . . . . . . . . . . . . . . . . . 16-33 Calculating the PI Impedance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-33 Calculating the PV Impedance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-33 Calculating the VI Impedance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-33 Impedance Multipliers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-34 Calculating Terminal Characteristic Impedance Matrix . . . . . . . . . . . 16-34 Calculating the S-Matrix . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-34 Calculating the Z-Matrix . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-35 Calculating the Y-Matrix . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-36 Calculating the W-Elements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-36 Calculating the Complex Propagation Constant (Gamma) . . . . . . . . . . . . 16-36 Calculating the Effective Wavelength (Lambda) . . . . . . . . . . . . . . . . 16-37 Calculating the Relative Permittivity (Epsilon) . . . . . . . . . . . . . . . . . 16-37 De-embedded S-Matrices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-37

Passivity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-38

Radiated Fields . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-39 Spherical Cross-Sections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-40 Maximum Near-Field Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-42 Contents - 23

Maximum Far-Field Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-43 Array Factors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-44 Theory of the Array Factor Calculation . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-44 Regular Uniform Arrays . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-45 Scan Specification for Regular Uniform Arrays . . . . . . . . . . . . . . . . . 16-46 Custom Arrays . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-47 Power Normalizations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-49

Antenna Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-49 Polarization of the Electric Field . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-50 Spherical Polar . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-51 Ludwig-3 Polarization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-51 Circular Polarization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-51 Axial Ratio . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-51 Polarization Ratio . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-52 Max U . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-53 Peak Directivity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-53 Peak Gain . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-54 Peak Realized Gain . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-55 Radiated Power . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-55 Accepted Power . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-56 Incident Power . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-56 Radiation Efficiency . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-57

Calculating Finite Thickness Impedance . . . . . . . . . . . . . . . . . . . . . . . . . 16-58 Modes to Nodes Conversion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-59 Terminal-Based Models for Circuit Analysis . . . . . . . . . . . . . . . . . . . . 16-61 Terminal Characteristic Impedance Matrix . . . . . . . . . . . . . . . . . . . . . . 16-62

Geometric Objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-65 Bondwires . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-65 Healing and Meshing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-66 Detecting and Addressing Model Problems to Improve Meshing . . . . . 16-67 One: Healing during geometry import . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-67 Two: Healing after geometry import . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-68 Three: Removing Object Intersections . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-70 Four: Removing Small Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-71 Five: Aligning Objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-72 Six: Troubleshooting if meshing still fails . . . . . . . . . . . . . . . . . . . . . . . . . 16-73

Handling Complicated Models . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-74 Interface Options for Complicated Models . . . . . . . . . . . . . . . . . . . . . . . . 16-74 RAM Settings for Large Geometries . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-75 Geometry Imperfections and Complicated Models . . . . . . . . . . . . . . . . . . 16-75 Object Overlap Settings for Complicated Models . . . . . . . . . . . . . . . . . . . 16-75 Post Processing for Complicated Models . . . . . . . . . . . . . . . . . . . . . . . . . . 16-75

Boundaries . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-77 Contents - 24

Perfect E Boundaries . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-77 Impedance Boundaries . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-77 Units of Impedance Boundaries . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-78

Radiation Boundaries . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-79 PML Boundaries . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-79 Material Tensors Applied at PML Boundaries . . . . . . . . . . . . . . . . . . . . . 16-80 Tensor Entries . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-81 Boundaries at PML Surfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-82

Finite Conductivity Boundaries . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-82 Symmetry Boundaries . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-83 Perfect E Vs. Perfect H Symmetry Boundaries . . . . . . . . . . . . . . . . . . . . . 16-83 Symmetry and Port Impedance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-84 Symmetry and Multiple Modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-84

Master and Slave Boundaries . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-84 Calculating the E-Field on the Slave Boundary . . . . . . . . . . . . . . . . . . . . . 16-86

Lumped RLC Boundaries . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-87 Layered Impedance Boundaries . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-87 Impedance Calculation for Layered Impedance Boundary . . . . . . . . . . . . 16-88 Surface Roughness Calculation for Layered Impedance Boundary . . . . . . 16-89

Infinite Ground Planes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-89 Frequency-Dependent Boundaries and Excitations . . . . . . . . . . . . . . . . 16-89 Default Boundary Assignments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-90

Excitations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-91 Wave Ports . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-91 Polarizing the E-Fields . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-91

Deembedding . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-92 Lumped Ports . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-98 Setting the Field Pattern Direction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-98 Differential Pairs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-99 Computing Differential Pairs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-99 Differential Admittance and Impedance Matrices . . . . . . . . . . . . . . . . . . . 16-101 Differential S-Matrices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-101

Magnetic Bias Sources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-102 Uniform Applied Bias Fields . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-102 Non-uniform Applied Bias Fields . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-103

Incident Waves . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-103 Port Terminals in HFSS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-104 Formula Summary for HFSS Floquet Modes . . . . . . . . . . . . . . . . . . . . 16-106

Materials . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-113 Relative Permeability . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-113 Relative Permittivity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-113 Bulk Conductivity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-114 Contents - 25

Dielectric Loss Tangent . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-114 Magnetic Loss Tangent . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-115 Ferrite Materials . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-115 Magnetic Saturation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-115 Lande G Factor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-116 Delta H . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-116

Anisotropic Materials . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-116 Anisotropic Relative Permeability Tensors . . . . . . . . . . . . . . . . . . . . . . . . 16-117 Anisotropic Relative Permittivity Tensors . . . . . . . . . . . . . . . . . . . . . . . . . 16-117 Anisotropic Conductivity Tensors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-118 Anisotropic Dielectric Loss Tangent Tensors . . . . . . . . . . . . . . . . . . . . . . 16-119 Anisotropic Magnetic Loss Tangent Tensors . . . . . . . . . . . . . . . . . . . . . . . 16-120 Anisotropic Materials and Ports . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-120

Frequency-Dependent Material Properties . . . . . . . . . . . . . . . . . . . . . . 16-121 Frequency Dependent Material Loss Model in HFSS . . . . . . . . . . . . . . 16-122 Conclusions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-131

17.

Scripting Recording a Script . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17-1 Stopping Script Recording . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17-1 Running a Script . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17-2 Pausing and Resuming a Script . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17-2 Stopping a Script . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17-3

18.

Glossaries

Contents - 26

1 Getting Started with HFSS

HFSS is an interactive software package for calculating the electromagnetic behavior of a structure. The software includes post-processing commands for analyzing this behavior in detail. Using HFSS, you can compute:



Basic electromagnetic field quantities and, for open boundary problems, radiated near and far fields.

• • •

Characteristic port impedances and propagation constants. Generalized S-parameters and S-parameters renormalized to specific port impedances. The eigenmodes, or resonances, of a structure.

You are expected to draw the structure, specify material characteristics for each object, and identify ports and special surface characteristics. HFSS then generates the necessary field solutions and associated port characteristics and S-parameters. Note

If you are using the Eigenmode Solution solver, you do not need to specify sources for the problem. HFSS calculates the resonances for the model based on the geometry, materials, and boundaries.

As you set up the problem, HFSS allows you to specify whether to solve the problem at one specific frequency or at several frequencies within a range.

Getting Started with HFSS 1-1

HFSS Online Help

System Requirements HFSS supports the following operating systems:

• • •

Windows Sun Solaris Linux

For details regarding which revisions of each of these operating systems are supported; as well as, memory and disk requirements and known issues at the time of shipping, consult the readme file shipped with this release of the software by . On all systems when you run HFSS for the first time (that is, with no project directory specified in the registry), or if the project directory or the temp directory does not exist, HFSS displays a dialog that asks you to set the project and temp directories. For the temp directory, there is a comment asking you to ensure that adequate disk space is available. HFSS 11 requires at least FLEXlm for Ansoft v10.8.5 license server. Note

If you attempt to run HFSS and get a message reporting a corrupted license file, please contact Ansoft.

Note

HFSS displays a warning message if the license file expires within 15 days.

Note

All operating systems must have 32-bit OpenGL libraries installed regardless of whether the OS is 32-bit or 64-bit.

Windows Supported Platforms

• •

Windows XP Professional (32-bit and 64-bit) Windows Server 2003 (32-bit and 64-bit)

32-Bit System Requirements

Minimum System Requirements Processor: All fully compatible 686 (or later) instruction set processors, 500 MHz Hard Drive Space (for HFSS software): 200 MB RAM: 512 MB

Recommended Minimum Configuration Processor: All fully compatible 786 (or later) instruction set processors, 1 GHz Hard Drive Space (for HFSS software and temporary files): 500 MB RAM: 2 GB

Increasing RAM on 32-Bit PC 1-2 Getting Started with HFSS

HFSS Online Help

Users with the appropriate Windows OS can take advantage of potentially all the installed RAM up to a limit of 3 GB on 32-bit PCs. Doing so also requires setting up the appropriate OS boot.ini switch (/3GB) to tell the OS that 3 GB is to be used for application space and only one GB for the OS kernel and related overhead. Note

If you are using the NVIDIA Quadro2 MXR/EX video card on Windows 2000 or Windows XP, you should also download Version 40.41 or greater video driver, available for download at http://www.nvidia.com.

64-bit System Requirements Minimum System Requirements: Supported processors: AMD Athlon 64, AMD Opteron, Intel Xeon with Intel EM64T support, Intel Pentium 4 with Intel EM64T support Hard Drive Space (for HFSS software): 200 MB RAM: 2 MB Recommended Minimum Configuration (for Optimal Performance) Supported processors: AMD Athlon 64, AMD Opteron, Intel Xeon with Intel EM64T support, Intel Pentium 4 with Intel EM64T support Video card: 128-bit SVGA or PCI Express video card Hard Drive Space (for HFSS software and temporary files): 700 MB RAM: 8 GB

Getting Started with HFSS 1-3

HFSS Online Help

Sun Solaris Supported Platforms

• • •

Solaris 8 Solaris 9 Solaris 10

Minimum System Requirements Processor: UltraSparc v9 processor, 450 MHz Hard Drive Space (for HFSS software): 550 MB RAM: 1 GB

Recommended Minimum Configuration Processor: UltraSparc v9 dual processor or better, 900 MHz Hard Drive Space (for HFSS software and temporary files): 800 MB RAM: 4 GB

Note

You must install Sun OpenGL libraries before installing and running HFSS. This is available for free download at: http://wwws.sun.com/software/graphics/opengl/download.html.

Note

Some older graphics cards may have minor display issues (such as the appearance of check marks or "t" in a report title.

Linux If you attempt to open an HFSS v9 project in Linux, you receive an error message that the project must first be converted to HFSS v11. This must be done using the -BatchSave command on a nonLinux system running HFSS v11. See the discussion here.

Supported Platforms

• • •

Red Hat Enterprise Linux v3 Red Hat Enterprise Linux v4 SuSE Linux Enterprise Server v9

32-bit System Requirements Minimum System Requirements: Processor: All fully compatible 686 (or later) instruction set processors, 500 MHz Hard Drive Space (for HFSS software): 200 MB 1-4 Getting Started with HFSS

HFSS Online Help

RAM: 512 MB Recommended Minimum Configuration (for Optimal Performance): Processor: All fully compatible 786 (or later) instruction set processors, 2 GHz Hard Drive Space (for HFSS software and temporary files): 700 MB RAM: 4 GB 64-bit System Requirements Minimum System Requirements: Supported processors: AMD Athlon 64, AMD Opteron, Intel Xeon with Intel EM64T support, Intel Pentium 4 with Intel EM64T support Hard Drive Space (for HFSS software): 200 MB RAM: 2 MB Recommended Minimum Configuration (for Optimal Performance): Supported processors: AMD Athlon 64, AMD Opteron, Intel Xeon with Intel EM64T support, Intel Pentium 4 with Intel EM64T support Video card: 128-bit SVGA or PCI Express video card Hard Drive Space (for HFSS software and temporary files): 700 MB RAM: 8 GB

Setting Up a Printer on Solaris/Linux To print from Ansoft software on Solaris or Linux, you must first configure a printer. To do this, launch the MainWin control panel. 1.

Run mwcontrol & in the installation subdirectory. The MainWin Control Panel appears.

2.

Double-click on the Printers icon to start the MainWin Printers panel.

3.

Then double-click on the Add New Printer icon. This starts the Add Printer Wizard.

4.

Select the Let the wizard search for printers radio button and click Next.

5.

In the Identify your Unix Printer dialog do one of the following:

• •

Note

If your printer is listed, select it. If your printer is not listed, you will need to cancel and get someone with root permission to setup a printer queue on your machine (and then you will need to come back and run this wizard later). On Solaris you setup a new print queue by running "lpadmin" (as root). On Red Hat Linux, you can run 'System Settings/Printing' to launch printconf-gui (as root).

6.

Click Next. The Print Command dialog appears.

7.

Change the Print Command only if instructed to do so by your user administrator.

8.

Click Next. The Choose PPD File dialog appears. Getting Started with HFSS 1-5

HFSS Online Help

9.

Select your printer manufacturer and model from the list or use the Choose File button to browse to a PPD file provided by your printer manufacturer. Click Next. The Printer Name dialog appears.

10. Enter a Name to identify the printer. Click Next. 11. Choose whether this printer should be the default and click Next. 12. Choose whether you would like to print a test page and click Next. 13. In the Finish Adding New Printer dialog, verify the printer setup information. If the information is incorrect, use the Back button to return to the appropriate dialog and correct the entry. If the information is correct, click Finish to complete the setup of your printer. With a print queue setup, and the printer added, you should then see the printer when running the software.

1-6 Getting Started with HFSS

HFSS Online Help

Welcome to HFSS Online Help Use the following links for quick information on the following topics. HFSS User Interface

Modeling and Materials

Boundaries and Ports

Meshing

Analysis

Optimetrics

Results

Scripting

Example Projects

Ansoft Website

For detailed information on these and many other topics:

• •

Use F1 on any open dialog to open the Online Help for that dialog.

• • • •

With the Online Help Contents tab selected, navigate the help topic hierarchy.

Click the "?" icon on the toolbar, and then click on any menu command, icon, or window for help on that selection. With the Online Help Index tab selected, search the help index. With the Online Help Search tab selected, search the full help text. With Online Help Favorites tab selected, create a custom list of favorite topics.

HFSS User Interface Quick Links Use the following links for quick information on the following topics. The HFSS Desktop

Customize Toolbar Options

Setting Options in HFSS

Working with Short Cut Menus

Keyboard Shortcuts for HFSS General Purposes

Running HFSS From a Command Line

For detailed information on these and many other topics:

• •

Use F1 on any open dialog to open the Online Help for that dialog.

• • • •

With the Online Help Contents tab selected, navigate the help topic hierarchy.

Click the "?" icon on the toolbar, and then click on any menu command, icon, or window for help on that selection. With the Online Help Index tab selected, search the help index. With the Online Help Search tab selected, search the full help text. With Online Help Favorites tab selected, create a custom list of favorite topics.

Getting Started with HFSS 1-7

HFSS Online Help

Modeling Quick Links Use the following links for quick information on the following topics. Set the model’s units of measurement.

Setting Modeler Drawing Options

Assign transparency to an object.

Selecting Items in the Modeler Window

Subtract objects.

Drawing Objects

Measuring Objects

Choosing the Cursor Movement Mode

Drawing Bondwires

Importing Files

Keyboard shortcuts for the 3D Modeler Window.

Modifying Objects

Modifying the Model View

Creating a User Defined Primitive

For detailed information on these and many other topics:

• •

Use F1 on any open dialog to open the Online Help for that dialog.

• • • •

With the Online Help Contents tab selected, navigate the help topic hierarchy.

Click the "?" icon on the toolbar, and then click on any menu command, icon, or window for help on that selection. With the Online Help Index tab selected, search the help index. With the Online Help Search tab selected, search the full help text. With Online Help Favorites tab selected, create a custom list of favorite topics.

Materials Quick Links Use the following links for quick information on the following topics. Assigning Materials

Solve Inside or On a Surface

Searching for Materials

Adding New Materials

Assigning Material Property Types

Defining Variable Material Properties

Defining Frequency Dependent Material Properties

Defining Material Properties as Expressions

Defining Functional Material Properties

Viewing and Modifying Material Attributes

For detailed information on these and many other topics:

• •

Use F1 on any open dialog to open the Online Help for that dialog.

• •

With the Online Help Contents tab selected, navigate the help topic hierarchy.

Click the "?" icon on the toolbar, and then click on any menu command, icon, or window for help on that selection. With the Online Help Index tab selected, search the help index.

1-8 Getting Started with HFSS

HFSS Online Help

• •

With the Online Help Search tab selected, search the full help text. With Online Help Favorites tab selected, create a custom list of favorite topics.

Ports Quick Links Use the following links for quick information on the following topics. Assigning Excitations

Linking to External Sources

Assigning Wave Ports for Modal Solutions

Lumped Port

Assigning Wave Ports for Terminal Solutions

Auto Assign Terminals

Floquet Port

Zoom to Selected Excitation

Incident Wave

Voltage Source

Current Source

Magnetic Bias

Defining an Integration Line

Defining a Differential Pair

For detailed information on these and many other topics:

• •

Use F1 on any open dialog to open the Online Help for that dialog.

• • • •

With the Online Help Contents tab selected, navigate the help topic hierarchy.

Click the "?" icon on the toolbar, and then click on any menu command, icon, or window for help on that selection. With the Online Help Index tab selected, search the help index. With the Online Help Search tab selected, search the full help text. With Online Help Favorites tab selected, create a custom list of favorite topics.

Meshing Quick Links Use the following links for quick information on the following topics. Defining Mesh Operations

Plot the finite element mesh

Detecting and Addressing Model Problems to Improve Meshing

Handling Complicated Models

For detailed information on these and many other topics:

• •

Use F1 on any open dialog to open the Online Help for that dialog.

• • • •

With the Online Help Contents tab selected, navigate the help topic hierarchy.

Click the "?" icon on the toolbar, and then click on any menu command, icon, or window for help on that selection. With the Online Help Index tab selected, search the help index. With the Online Help Search tab selected, search the full help text. With Online Help Favorites tab selected, create a custom list of favorite topics. Getting Started with HFSS 1-9

HFSS Online Help

Analysis Quick Links Use the following links for quick information on the following topics. Specifying the Analysis Options

Remote Analysis

Configuring Distributed Analysis

Specifying Solution Settings

Selecting an Optimal Configuration for Distributed Analysis

Setting Adaptive Analysis Parameters

Specifying Output Variable Convergence

Setting the Order of Basis Functions

Adding a Frequency Sweep

Options for Interpolating Sweeps

For detailed information on these and many other topics:

• •

Use F1 on any open dialog to open the Online Help for that dialog.

• • • •

With the Online Help Contents tab selected, navigate the help topic hierarchy.

Click the "?" icon on the toolbar, and then click on any menu command, icon, or window for help on that selection. With the Online Help Index tab selected, search the help index. With the Online Help Search tab selected, search the full help text. With Online Help Favorites tab selected, create a custom list of favorite topics.

Optimetrics Quick Links Use the following links for quick information on the following topics. Setting up a Parametric Analysis

Setting up an Optimization Analysis

Setting up a Sensitivity Analysis

Tuning a Variable

Setting up a Statistical Analysis

Setting a Range function

Setup Calculations for Optimetrics.

Adding a cost function

For detailed information on these and many other topics:

• •

Use F1 on any open dialog to open the Online Help for that dialog.

• • • •

With the Online Help Contents tab selected, navigate the help topic hierarchy.

Click the "?" icon on the toolbar, and then click on any menu command, icon, or window for help on that selection. With the Online Help Index tab selected, search the help index. With the Online Help Search tab selected, search the full help text. With Online Help Favorites tab selected, create a custom list of favorite topics.

1-10 Getting Started with HFSS

HFSS Online Help

Results Quick Links Use the following links for quick information on the following topics. View solution data

Creating Reports

Plot field overlay

Scale an excitation’s magnitude and modify its phase.

Create 2D or 3D reports of S-parameters

Working with Traces

Plot the finite element mesh

Adding Data Markers to Traces

Create animations

Radiated Fields Post Processing

Setting up a Near Field Sphere

Setting up a Far Field Infinite Sphere

Export Results to Thermal Link for ANSYS Mechanical For detailed information on these and many other topics:

• •

Use F1 on any open dialog to open the Online Help for that dialog.

• • • •

With the Online Help Contents tab selected, navigate the help topic hierarchy.

Click the "?" icon on the toolbar, and then click on any menu command, icon, or window for help on that selection. With the Online Help Index tab selected, search the help index. With the Online Help Search tab selected, search the full help text. With Online Help Favorites tab selected, create a custom list of favorite topics.

Scripting Quick Links Use the following links for quick information on the following topics. Recording a Script

Running a script

Stopping Script Recording

Pausing and Resuming a Script

Stopping a Script

Scripting Guide

For detailed information on these and many other topics:

• •

Use F1 on any open dialog to open the Online Help for that dialog.

• • • •

With the Online Help Contents tab selected, navigate the help topic hierarchy.

Click the "?" icon on the toolbar, and then click on any menu command, icon, or window for help on that selection. With the Online Help Index tab selected, search the help index. With the Online Help Search tab selected, search the full help text. With Online Help Favorites tab selected, create a custom list of favorite topics. Getting Started with HFSS 1-11

HFSS Online Help

1-12 Getting Started with HFSS

HFSS Online Help

The HFSS Desktop The HFSS desktop consists of several windows, a menu bar, toolbars, and a status bar. You can customize the appearance of the desktop customizing or moving the toolbars, by choosing which windows to display, and by resizing and moving windows. Click a link below to view more information about that desktop component. 3D Modeler window Menu bar Toolbars

Project Manager

Property window

Message Manager Status bar Progress window Related Topics Getting Help Keyboard Shortcuts for HFSS General Purposes Keyboard shortcuts for the 3D Modeler Window.

Showing and Hiding Windows The View menu contains commands that let you show and hide the windows that comprise the HFSS desktop. You can show or hide the Status Bar, the Message Manager, the Project Manager, the docked Properties window, and the Progress window. The shortcut menu in the toolbar area also lets you show and hide each desktop window.

Getting Started with HFSS 1-13

HFSS Online Help

You can also close the windows by clicking the "x" in the window title bar. close window

Related Topics HFSS Desktop Moving and Resizing Desktop Windows

Moving and Resizing Desktop Windows You can customize the appearance of the desktop by moving and resizing the Status Bar, the Message Manager, the Project Manager, the docked Properties window, and the Progress window. To move one of these windows: 1. 2.

Click and hold on the title bar. Drag the cursor towards the region where you want to place the window. A rectangle shape follows the cursor. As you drag the rectangle to different parts of the desktop, the changes in dimension show when you have reached a location where you can place the window. This can be at the top, left, bottom, and side. You can place a window next to another, as well as above and below another. If you drag the window to the center of the 3D Modeler window, you can place it there as a floating window.

3.

Release the mouse button to place the window.

You can also resize the windows in two ways.



To size a desktop window, place the cursor over an edge of the window. Over the inner-edges, for sizing a window within the desktop, the cursor changes to a double bar with arrows pointing each direction. Over the outer-edges, for sizing the desktop, the cursor changes to a line with arrows pointing each direction. Press and drag to size the window.



To expand a window to fill the horizontal or vertical space it shares with another window, click the triangle in the window title bar. When you expand a window, the triangle appears as inverted and any other windows in the same horizontal or vertical space are compressed to only the title bar. If a window does not share a horizontal or vertical space with another, the tri-

1-14 Getting Started with HFSS

HFSS Online Help

angle does not appear. click to expand window

window expanded

window compressed

Related Topics HFSS Desktop Showing and Hiding Windows

Working with the Menu Bar The menu bar enables you to perform all HFSS tasks, such as managing project files, customizing the desktop, drawing objects, and setting and modifying all project parameters. To open a help topic about an HFSS menu command, press Shift+F1, and then click the command or toolbar icon. HFSS contains the following menus, which appear at the top of the desktop: File menu

Use the File menu commands to manage HFSS project files and printing options.

Edit menu

Use the Edit menu commands to modify the objects in the active model and undo and redo actions.

View menu

Use the View menu commands to display or hide desktop components and model objects, modify 3D Modeler window visual settings, and modify the model view.

Project menu

Use the Project menu commands to add an HFSS design to the active project, view, define datasets, and define project variables.

Draw menu

Use the Draw menu commands to draw one-, two-, or three-dimensional objects, and sweep one- and two-dimensional objects. Getting Started with HFSS 1-15

HFSS Online Help

Modeler menu

Use the Modeler menu commands to import, export, and copy Ansoft 2D Modeler files and 3D Modeler files; assign materials to objects; manage the 3D Modeler window’s grid settings; define a list of objects or faces of objects; control surface settings; perform boolean operations on objects; and set the units for the active design.

HFSS menu

Use the HFSS menu to setup and manage all the parameters for the active project. Most of these project properties also appear in the project tree.

Tools menu

Use the Tools menu 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 menu

Use the Window menu commands to rearrange the 3D Modeler windows and toolbar icons.

Help menu

Use the Help menu commands to access the online help system and view the current HFSS version information.

Related Topics Getting Help Keyboard Shortcuts for HFSS General Purposes Keyboard shortcuts for the 3D Modeler Window.

1-16 Getting Started with HFSS

HFSS Online Help

Working with the Toolbars The toolbar buttons and shortcut pull-down lists act as shortcuts for executing various commands. To execute a command, click a toolbar button or click a selection on the shortcut pull-down list. To open a help topic about a toolbar button’s functionality, press Shift+F1, and then click the toolbar button or a command in the shortcut pull-down list. To display a brief description of the toolbar button, move the pointer over the button or shortcut pull-down list. Hint

To modify the toolbars on the desktop, do one of the following:

• •

On the Tools menu, click Customize. Right-click the history tree, and then click Customize on the shortcut menu.

To reset to toolbars to the default positions and settings:



On the Tools menu, click Customize. On the Customize dialog box, click Reset All.

Related Topics Customize Toolbar Options Customize Toolbar Commands

Customize Toolbar Options To customize the Toolbar displays by using the toolbar list: 1.

Select Tools>Customize. This displays the Customize dialog with the Toolbars tab selected. The field lists the available toolbars, with those currently selected being checked. To the right of the field are three buttons: New... -- launches the New Toolbar dialog that lets you specify a new toolbar name. Reset -- This resets the toolbar display to apply your current selections. Reset All -- this resets the toolbar display to match the original defaults.

2.

Check the buttons to add additional toolbars to the desktop. New toolbar icons are added to new rows as you click them. You can drag these to convenient locations.

3.

Uncheck any buttons to remove toolbar icons.

4.

Use the OK button to close the dialog, or the Cancel button to close without making changes.

Related Topics Working with Toolbars Customize Toolbar Commands Getting Started with HFSS 1-17

HFSS Online Help

Customize Toolbar Commands To customize the Toolbar by dragging icons: 1.

Select Tools>Customize. This displays the Customize dialog with the Commands tab selected. The Categories field lists the available toolbars. The icons for the currently selected toolbar are shown to the right of the field.

2.

Select from the Categories list to display the icons you want to add to the toolbar.

3.

Drag the icons from the Customize dialog to a location on the desktop toolbar.

4.

Use the OK button to close the dialog, or the Cancel button to close without making changes.

Related Topics Customize Toolbar Options Working with Toolbars

External User Tools To add an external user tools menu to the HFSS: 1.

Click Tools>External Tools

2.

This displays the Customize User Tools Menu dialog. If a User Tools menu has been defined, its contents are displayed. Navigation buttons let you Move Up, Move Down, Add, and Delete.

3.

Click the Add button in the Customize User Tools Menu dialog. This enables the following fields: Menu Text field -- this displays [new tool] as text you will replace with the text you want to appear in the User Tools menu. Command field -- this will display the external executable. An ellipsis button [...] lets you navigate to the file location. Arguments field -- this field accepts command arguments from the > button menu selections for File Path, File Directory, File Name, File Extension, Project Directory, or Temp Directory. Initial Directory -- this field specifies the initial directory for the command to operate. The ellipsis button {...] displays a dialog that lets you navigate folders in your desktop, or across the network.

4.

Click OK to add the External Tools menu to HFSS or Cancel to close the dialog without changes.

Related Topics Scripting

1-18 Getting Started with HFSS

HFSS Online Help

Working with the Shortcut Menus A variety of shortcut menus — menus that appear when you right-click a selection — are available in the toolbars area of the desktop, in the 3D Modeler window, and in the Project Manager window. Shortcut menu in the toolbars area

Use the shortcut menu in the toolbars area of the desktop to show or hide windows or toolbars, and customize the toolbars.

Shortcut menu in the 3D Modeler window

Use the shortcut menu in the 3D Modeler window to select, magnify, and move options (zoom, rotate, etc.), change the view, perform boolean operations, assign materials, boundaries, excitations, or mesh operations to objects, and work with field overlays.

Shortcut menus in the Use the shortcut menus in the Project Manager window to manage Project Manager window HFSS project and design files and design properties; assign and edit boundaries, excitations, and mesh operations; add, analyze, and manage solution setups; add optimetrics analyses; create postprocessing reports; insert far- and near-field radiation setups; edit project definitions; and, run Ansoft’s Maxwell SPICE. Note

All of the commands on the shortcut menus are also available on the menu bar.

Shortcut Menu in the Toolbars Area Use the shortcut menu in the toolbars area of the desktop to show or hide windows or toolbars, and customize the toolbars. To access the shortcut menu in the toolbars area:

Getting Started with HFSS 1-19

HFSS Online Help



Right-click in the toolbars area at the top of the desktop.

A check box will appear next to a command if the item is visible. For example, if a check box appears next to the Project Manager command, then the Project Manager window is currently visible on the desktop. Click Customize to open the Customize dialog box, which enables you to modify the toolbar settings on the desktop.

Shortcut Menu in the 3D Modeler Window Use the shortcut menu in the 3D Modeler window to select, magnify, and move options (zoom, rotate, etc.), change the view, perform boolean operations, assign materials, boundaries, excitations, or mesh operations to objects, and work with field overlays. To access the shortcut menu in the 3D Modeler window:

1-20 Getting Started with HFSS

HFSS Online Help



Right-click in the 3D Modeler window (grid area).

Shortcut Menus in the Project Manager Window Each node, or item, in the project tree has a shortcut menu. For example, from the shortcut menu for the Boundaries icon, you can assign boundaries to selected objects; review information for all the boundary assignments for the active design; remove all boundary assignments; show or hide a boundary’s geometry, name, or vectors; change the priority of a previously assigned boundary; and use the PML Setup wizard to create a perfectly matched layer (PML) boundary.

Keyboard Shortcuts for HFSS General Purposes The following keyboard shortcuts apply to HFSS in general

• • • • • • •

F1: Help F1 + Shift: Context help F4 + CTRL: Close program CTRL + C: Copy CTRL + N: New project CTRL + O: Open... CTRL + P: Print... Getting Started with HFSS 1-21

HFSS Online Help

• • • • • • •

CTRL + V: Paste CTRL + X: Cut CTRL + Y: Redo CTRL + Z: Undo CTRL + 0: Cascade windows CTRL + 1: Tile windows horizontally CTRL + 2: Tile windows vertically

1-22 Getting Started with HFSS

Working with the Status Bar The status bar is located at the bottom of the application window. It displays information about the command currently being performed.

To display or hide the status bar:



On the View menu, click Status Bar.

A check box appears next to this command if the status bar is visible. Depending on the command being performed, the status bar can display the following:

• •

X, Y, and Z coordinate boxes.



The model’s units of measurement.

A pull-down list to enter a point’s absolute, relative, cartesian, cylindrical, or spherical coodinates.

Working with the Project Manager The Project Manager window displays the open project’s structure, which is referred to as the project tree.

The Project Manager window displays details about all open HFSS projects. Each project ultimately includes a geometric model, its boundary conditions and material assignments, and field solution and post-processing information. To show or hide the Project Manager window, do one of the following:



On the View menu, click Project Manager. A check box appears next to this command if the Project Manager window is visible.



Right-click in the toolbars area on the desktop, and then click Project Manager on the short-23

cut menu. A check box appears next to this command if the Project Manager window is visible. Related Topics Working with the Project Tree Shortcut Menus in the Project Manager Window

Working with the Project Tree The project tree is located in the Project Manager window and contains details about all open HFSS projects, as shown below:

The top node listed in the project tree is the project name. It is named Projectn by default, where n is the order in which the project was added to the current session of HFSS. Expand the project icon to view all the project’s HFSS design information and material definitions. Related Topics Viewing HFSS Design Details

Setting the Project Tree to Expand Automatically You can set the project tree to automatically expand when an item is added to a project. 1.

On the Tools menu, point to Options, and then click General Options. The Options dialog box appears.

2.

Under the Project Options tab, select Expand Project Tree on Insert.

Viewing HFSS Design Details Once you insert an HFSS design into a project, it is listed as the second node in the project tree. It is named HFSSModeln by default, where n is 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 -24

its boundary conditions and material assignments, and field solution and post-processing information. The HFSSModeln node contains the following project details: Boundaries

Displays the boundary conditions assigned to an HFSS design, which specify the field behavior at the edges of the problem region and object interfaces.

Excitations

Displays the excitations assigned to an HFSS design, which are used to specify the sources of electromagnetic fields and charges, currents, or voltages on objects or surfaces in the design.

Mesh Operations

Displays the mesh operations specified for objects or object faces. Mesh operations are optional mesh refinement settings that are specified before a mesh is generated.

Analysis

Displays the solution setups for an HFSS design. A solution setup specifies how HFSS will compute the solution.

Optimetrics

Displays any Optimetrics setups added to an HFSS design.

Results

Displays any post-processing reports generated.

Port Field Display

Displays all port fields in the active model.

Field Overlays

Displays field overlay plots, which are representations of basic or derived field quantities on surfaces or objects. Plot folders are listed under Field Overlays. These folders store the project’s plots and can be customized. See Setting Field Plot Defaults for information on how to customize the plot folders.

Radiation Note

Displays far- and near-field setups added to an HFSS design.

To edit a project’s design details:



In the project tree, double-click the design setup icon that you want to edit.

A dialog box appears with that setup’s parameters, which you can then edit.

Viewing the Design List You can use the HFSS>Design List command or the Design List icon to view a dialog with tables of the design properties. The Design list is a dialog that with tabs to let you view the following

-25

Model

Displays the objects that comprise the model and their properties.

Boundaries

Displays the boundary conditions assigned to an HFSS design, which specify the field behavior at the edges of the problem region and object interfaces.

Excitations

Displays the excitations assigned to an HFSS design, which are used to specify the sources of electromagnetic fields and charges, currents, or voltages on objects or surfaces in the design.

Mesh Operations

Displays the mesh operations specified for objects or object faces. Mesh operations are optional mesh refinement settings that are specified before a mesh is generated.

Analysis Setup

Displays the solution setups for an HFSS design. A solution setup specifies how HFSS will compute the solution.

Viewing Material Definitions The definitions node is listed at the bottom of the project tree and displays all of the material definitions that are assigned to the objects in the active model. Related Topics Adding New Materials

Working with the Properties Window The Properties window displays the attributes, or properties, of an item selected in the project tree, the history tree, or the 3D Modeler window. The Properties window enables you to edit an item’s properties. The properties, and the ability to edit them in the Properties window, will vary, depend-

-26

ing on the type of item selected. The tabs available in the Properties window will also vary, depending the selection.

Related Topics Showing and Hiding the Properties Window Setting the Properties Window to Open Automatically

Showing and Hiding the Properties Window To show or hide the Properties window on the desktop, do one of the following:



On the View menu, click Property Window. A check box appears next to this command if the Properties window is visible.



Right-click in the toolbars area at the top of the desktop, and then click Properties on the shortcut menu. A check box appears next to this command if the Properties window is visible.

Setting the Properties Window to Open Automatically To set the Properties window to open after an object is drawn, enabling you to modify the object’s properties, do the following: 1.

On the Tools menu, point to Options, and then click Modeler Options. The Modeler Options window appears.

2. 3.

Click the Drawing tab. Select Edit property of new primitives. Hereafter, after you draw an object, the Properties window will open. -27

Modifying Object Attributes Using the Properties Window 1.

Select the object for which you want to edit its attributes by clicking it in the view window or clicking its name in the history tree.

2.

Under the Attribute tab in the Properties window, edit the object attribute. Depending on the attribute type, you can edit it by doing one of the following:

• • •

Select the check box to apply the attribute; clear the check box to disable the attribute.



Click the attribute, and then select a new setting from the menu that appears.

Click in the field and edit the numeric values or text, and then press ENTER. Click the button and then edit the current settings in the window or dialog box that appears.

Modifying Object Command Properties Using the Properties Window 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, the command properties that you can typically modify are the numeric values, such as position values (base position, normal position, start position, etc.), size values (height, radius, etc.), and various other coordinate values. You can also modify many of the unit settings for a command property. 1.

In the history tree, select the command for which you want to edit its properties. Hint

2.

Press and hold CTRL to select multiple commands. If you select multiple commands, only the common, or shared, properties will be displayed under the Command tab.

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:

• • •

Select the check box to apply the property; clear the check box to disable the property.



Click the attribute, and then select a new setting from the menu that appears.

Click in the field and edit the numeric values or text, and then press ENTER. Click the button and then edit the current settings in the window or dialog box that appears.

Working with the Progress Window The Progress window monitors a simulation while it is running.

-28

In the image below, the Progress window is displaying the progress of a discrete frequency sweep, which is nearing completion:

To display or hide the Progress window, do one of the following:



On the View menu, click Progress Window. A check box appears next to this command if the Progress window is visible.



Right-click the history tree, and then click Progress on the shortcut menu. A check box appears next to this command if the Progress window is visible.

Stopping or Aborting Simulation Progress To abort progress, right-click in the Progress window, and select Abort. To stop the simulation cleanly between time steps, right-click in the Progress window, and select Clean Stop.

Working with the Message Manager The Message Manager displays messages associated with a project’s development, such as error messages about the design’s setup or informational messages about the progress of an analysis. To display or hide the Message Manager:



On the View menu, click Message Manager.

A check box appears next to this command if the Message Manager is visible.

Working with the 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 HFSS design to a project.

-29

The 3D Modeler window consists of the model view area, or grid, and the history tree, as shown below: History tree

Model view area (grid)

To open a new 3D Modeler window, do one of the following:

• •

Insert a new HFSS design into the current project. Double-click an HFSS design in the project tree.

The model you draw is saved with the current project when you click File>Save. Objects are drawn in the 3D Modeler window. You can create 3D objects by using HFSS’s Draw menu commands or you can draw 1D and 2D objects, and then manipulate them to create 3D objects. For more information, see Drawing a Model. You can modify the view of objects in the 3D Modeler window without changing their actual dimensions or positions. For more information, see Modifying the Model View. Related Topics Modifying the Model View Keyboard shortcuts for the 3D Modeler Window.

-30

Working with the History Tree The history tree in the 3D Modeler window lists all the active model’s structure and grid details.

Expand or Collapse Groupings Right-clicking on any group icon opens a pull-down to expand all groupings or collapse all groupings. In addition, right-clicking on Objects lets you specify whether or not the Objects are sorted by material (the default is to sort by material.) When the objects are sorted by material, 2D and 3D objects are listed separately in the history tree. History of Commands on Objects The history tree also lists the history of all commands carried out a model’s objects, for example, “CreateBox” or “Subtract.” This history is displayed in the order in which it occurred. Notice in the above image the expanded air object and its history of commands. Also see the use of the Purge History command and the Generate History command. Selecting Objects in the History Tree Selecting objects in the History tree also selects them in the View window. This can be useful for complex objects, when it may be easier to find the objects of interest by name or material, if the object of interest is inside or behind others. You can use CTLR-click to make multiple selections. You can select a range of objects by a click on the first, and then SHIFT-Click to select all in the range. 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. Viewing Item Properties To view the properties of an item in the history tree:



Click the item’s name in the history tree. The item’s properties appears in the docked Properties window.



Click the item’s name in the history tree, and double right click to display a shortcut menu. Then select Properties to display the Properties window.

-31

The history tree contains the following model details: Invalid

Lists all invalid objects

Objects

Displays all the model’s objects and a history of the commands carried out on each object. By default HFSS groups objects by material. you can change this by selecting the Objects icon in the history tree and right-click to display the shortcut menu with the Group Objects By Material checkbox.

Sheets

Displays all the sheets in the model 3D design area. By default, HFSS groups sheet objects by boundary assignment. You can change this by selecting the Sheet icon in the history tree and right-click to display the shortcut menu with the Group Sheets by Assignment checkbox.

Lines

Displays all line objects included in the active model. See Drawing a Straight Line for information on how to draw a line object.

Points

Displays all point objects included in the active model. See Drawing a Point for information on how to draw a point object.

Coordinate Systems Displays all the coordinate systems for the active model. See Setting Coordinate Systems for more information on this model detail. Planes

Displays the planes for all the coordinate systems. When you create a coordinate system, default planes are created on its xy, yz, and xz planes.

Lists

Displays the object or face lists for the active model. By default, a list called "AllObjects" appears. Creating an object list is a convenient way to identify a group of objects for a field plot or calculation. Creating a face list is a convenient way to identify a specific set of surfaces for a field plot or calculation.

Note

While objects created in HFSS can always be classed in the history tree as either a solid, sheet, or wire some imported objects may have mixture of these. HFSS places such objects in an Unclassified folder in the history tree.

Related Topics Purge History Generate History Selecting Several Objects

-32

Controlling the View of Objects in the History Tree To control the view and visibility of an object such as a box or PML, right click on an object in the history tree display the short-cut menu and select View. The short cut menu contains the following commands:

• • • • • •

Fit in Active View Hide in Active View Show in Active View Fit in All Views Hide in All Views Show in All Views

Related Topics Purge History Generate History Selecting Several Objects

Keyboard Shortcuts for the 3D Modeler Window The following keyboard shortcuts apply to the 3D Modeler Window

• • • • • • • • • • • • • • •

B: Select face/object behind current selection

• •

F6: Render model wire frame

F: Select faces mode O: Select objects mode E: Select edges mode V: Select vertices mode M: Multi select mode CTRL + A: Select all visible objects CTRL + SHIFT + A: Deselect all objects CTRL + D: Fit view CTRL + E: Zoom in, screen center CTRL + F: Zoom out, screen center SHIFT + LMB: Zoom in / out Alt + LMB: Rotate model Alt + SHIFT + LMB: Zoom in / out Alt + 2xLMB: Sets model projection to standard isometric projections (cursor must be in corner of model screen N/NE/E/SE/S etc) F7: Render model smooth shaded Note

LMB means Left Mouse Button -33

Related Topics Keyboard Shortcuts for HFSS General Purposes

-34

Using the Password Manager to Control Access to

Using the Password Manager to Control Access to Resources HFSS lets you specify library resources that require password access, and encryption of those resources. For convenience, the same password can apply to multiple resources. To access the Password Manager, click Tools>Password Manager. This displays the Password Manager dialog. To Specify a New Password Protected Resource 1.

Click Tools>Password Manager. This displays the Password Manager dialog

2.

Click the New button. This opens the New Encrypted Resource dialog.

3.

Specify the name of the resource that you want to protect and click OK. This displays the Enter Passwords dialog. This dialog has radio buttons to let you:

• • 4.

Enter Password and confirm for Full Access or for Execute Only Access. Use Ansoft Password (for execute only). This does not require you to enter a password, but it is still encrypts the library.

Once you have selected a radio button, and, if necessary, specified passwords correctly, click OK. This displays the Password Manager with the resource listed.

To Encrypt a Resource 1.

Select an existing resource to highlight it and enable the Encrypt button.

2.

This displays a File browser window

3.

Select the appropriate Files of Type filter. The choices are Circuit files (*.lib) and Ansoft Library files. For HFSS, chose Ansoft Library files. Any existing resources in the selected directory will appear.

4.

When you have selected the appropriate resource, click OK. This encrypts the resource.

-35

Running HFSS from a command line

Running HFSS from a command line HFSS includes line arguments that can be included when launching from a command line or terminal prompt. All command-line arguments are case-insensitive. Command-line syntax hfss Run Commands The following command line run commands are available in HFSS. Of the commands (BatchSave, BatchSolve, RunScript, RunScriptandExit), one or none must be used as arguments after hfss. Links to the valid options for each run command are listed and/or linked to descriptions. -BatchSave Saves a named project to the current version. This is primarily intended for converting version 9 projects to version 10 when you intend to subsequently run them on a Linux platform. The conversion from version 9 to version 10 must be done under Windows, HP, or Solaris before those projects can run on a Linux system. You can run this command with the -Iconic option, the -Logfile option, and the -ng option (no graphics). -BatchSolve By default, solve all adaptive setups, sweeps, as well as Optimetrics setups found in the project file. If parallel solve is possible, you can use the -Distribute option in conjunction with -BatchSolve. You can run this command with the -Iconic option, the -Logfile option, the - ng option (no graphics), and the -WaitForLicense option. Additional parameters for batch solves include the following. It is good practice to put quotes around the path to the HFSS executable, and the full path to the project. This ensures that spaces in the path or project will not be an issue. The same is true of the design name, if there are indeed spaces. The quotes must enclose the entire argument including the Nominal or Optimetrics part. [designName] - batch solve all setups for design with the name given under the project. [designName]:Nominal - batch solve all nominal setups for design with the name given under the project. [designName]:Optimetrics - batch solve all Optimetrics setups for design with the name given under the project. [designName]:Nominal:[setupname] - batch solve the specified nominal setup for design with the name given under the project. The setupname is case insensitive. [designName]:Optimetrics:[setupname] - batch solve the specified Optimetrics setup for design with the name given under the project.The setupname is case insensitive. -Local | -Remote | -Distributed Perform the -Batchsolve on a local machine, a remote machine, or as a distributed solve using a specified machine list (see below). The settings persist only for the current session.

-MachineList list=“, , ...” -36

Running HFSS from a command line

-MachineList file=“” You can use either form of the MachineList option to indicate the machine(s) on which to run a distributed batchsolve. The settings persist only for the current session. When you use a file to define the machines available for a distributed solve you should list the machine addresses or names on separate lines: 192.168.1.1 192.168.1.2 (etc) Examples: C:\HFSS\hfss.exe -distributed _ -machinelist list="192.168.1.1,192.168.1.2" _ -batchsolve design_transient:Optimetrics "C:\distrib_project.adsn" C:\HFSS\hfss.exe -batchsolve HFSSDesign1:Nominal "C:\Project1.hfss" -RunScript Run the specified script. You can use the -ScriptArgs option to add one or more arguments to this command and can use the -Iconic option. -RunScriptAndExit Run the specified script and exit. You can use the -ScriptArgs option to add one or more arguments to this command. You can also use the -Iconic option, the -Logfile option, and the -WaitForLicense option. If you do not specify a run command with hfss on the command line, you can still specify the -Help and -Iconic option. Open the specified project on start up. If -BatchSolve is also set, the project will be solved. Note

The must be the last command line entry.

Options The following options can be associated with one or more of the run commands. -Distribute Distribute a batch solve to multiple machines. This option must be combined with the BatchSolve run command and must be specified before it in the command line. See Dis-37

Running HFSS from a command line

tributed Analysis for more information on distributed analysis. Examples: C:\HFSS\hfss.exe -distributed -batchsolve _ HFSSDesign1:Optimetrics:ParametricSetup1 "C:\Project1.hfss" "c:/Program Files/Ansoft/HFSS11/hfss.exe" _ -Iconic -Queue _ -LogFile "H:\HFSS\_HFSSQueue\fence-v2__Array with Fence4.log" _ -BatchSolve "Array with Fence4:Nominal" "H:\HFSS\fence-v2.hfss" -Help Open a window that displays the different command-line options. This is only used when none of the four run commands are used. -Iconic Run HFSS with the window iconified (minimized). This can be used with all or none of the run commands. -LogFile Specify a log file (use in conjunction with -BatchSave or -BatchSolve or -RunScriptAndExit run commands). If no log file is specified, it will be written to the directory in which the script or HFSS project is located, with the name .log. -ng Run HFSS in non-graphical mode (use in conjunction with -BatchSave or -BatchSolve run commands). -WaitForLicense Wait for unavailable licenses (use in conjunction with -BatchSolve or -RunScriptAndExit). -ScriptArgs Add arguments to the specified script in conjunction with -RunScript and -RunScriptAndExit. ScriptArgs looks at the single argument after it and uses those as script arguments. You can pass multiple arguments to scriptargs by surrounding the script arguments in quotes. For instance: hfss -scriptargs "HFSSDesign1 Setup1" -RunScriptAndExit c:\temp\test.vbs Here, HFSSDesign1 is taken into HFSS as the first argument, and Setup1 is the second argument. Without the quotes, HFSSDesign1 is taken as the first argument, and Setup1 will not be understood by HFSS. -38

Running HFSS from a command line

hfss -scriptargs HFSSDesign1 Setup1 -RunScriptAndExit c:\temp\test.vbs Example: c:\hfss\hfss.exe -runscriptandexit "c:\project1.vbs" -scriptargs "Setup1" Related Topics Running a Script.

-39

Getting Started Guides

Getting Started Guides Your HFSS Installation includes the following getting started guides:

• • • • •

A Waveguide T-Junction Optimizing a Waveguide T-Junction Using HFSS and Optimetrics A Dielectric Resonator Antenna A 20 Ghz Waveguide Combiner Floquet Ports

Open the PDF: . This Getting Started guide is written for HFSS beginners as well as experienced users who are using HFSS version 11 for the first time. This guide will lead you step-by-step through creating, solving, and analyzing the results of a T-shaped waveguide with an inductive septum. This type of structure is used to split an incoming microwave signal into two outgoing signals. The waveguide’s transmission and reflection of the signal will depend on the position of the septum. By following the steps in this guide, you will learn how to perform the following tasks in HFSS:

• • • • • • • • •

Draw a geometric model. Modify a model’s design parameters. Assign variables to a model’s design parameters. Specify solution settings for a design. Validate a design’s setup. Run an HFSS simulation. Create a 2D x-y plot of S-parameter results. Create a field overlay plot of results. Create a phase animation of results.

Open the PDF: . This Getting Started guide is written for Optimetrics beginners as well as experienced users who are using Optimetrics version 3 for the first time. You must have completed Getting Started with HFSS: A Waveguide T-Junction before you begin this guide. You will use Ansoft’s Optimetrics software to find an optimal position for the septum. Prior to performing the optimization, you will set up and solve a parametric analysis. By following the steps in this guide, you will learn how to perform the following tasks in HFSS using Optimetrics:

• • • •

Create a basic parametric setup. Solve a parametric analysis. Create a 2D x-y plot of S-parameter results. Create a 2D x-y plot of power distribution results. -40

Getting Started Guides

• • •

Create a geometry animation.

• • • •

Solve an optimization analysis.

Specify a variable to be optimized. Create an optimization setup, which includes defining a cost function and setting the range of variable values for an optimization. During an optimization analysis, view a plot of cost values versus solved iterations. Run an HFSS simulation using the optimal variable value. Update an existing field overlay plot with new results.

Open the PDF: . This Getting Started guide is written for HFSS beginners as well as experienced users who are using version 11 for the first time. This guide leads you step-by-step through creating, solving, and analyzing the results of a dielectric resonator antenna problem. By following the steps in this guide, you will learn how to perform the following tasks in HFSS:

• • • • • • • • •

Draw a geometric model. Modify a model’s design parameters. Assign variables to a model’s design parameters. Specify solution settings for a design. Validate a design’s setup. Run an HFSS simulation. Create a 2D x-y plot of S-parameter results. Create a field overlay plot of results. Create a phase animation of results.

Open the PDF: . This Getting Started guide is written for HFSS beginners as well as experienced users who are using version 11 for the first time. This manual guides you through the setup, solution, and analysis of a two-way, low-loss waveguide combiner. By following the steps in this guide, you will learn how to perform the following tasks in HFSS:

• • • • • • • • •

Draw a geometric model. Modify a model’s design parameters. Assign variables to a model’s design parameters. Specify solution settings for a design. Validate a design’s setup. Run an HFSS simulation. Create a 2D x-y plot of S-parameter results. Create a field overlay plot of results. Create a phase animation of results. -41

Getting Started Guides

Open the PDF: . This Getting Started guide is written for HFSS beginners as well as experienced users who are using version 11 for the first time. This manual guides you through the setup, solution, and analysis of two different models using Floquet ports. By following the steps in this guide, you will learn how to setup Floquet ports in HFSS. Related Topics Example Projects

-42

Example Projects

Example Projects Your HFSS installation includes an example directory containing a projects folder with the following projects: cavity.hfss (Eigenmode) Getting Started (modal and Optimetrics) Dielectric Resonator Antenna (modal) Optiguide (modal) Package (terminal) Waveguide (modal) For other examples, see Getting Started Guides and look at the Ansoft Website

cavity.hfss The cavity model is in the Examples/Projects directory..

This model provides:

• • •

an example of a Eigenmode solution. a field plot a Vector_E plot

-43

Example Projects

Getting Started Projects The Getting Started folder in the Examples/Projects folder contains the versions of the waveguide t-junction modal solution project described in Getting Started with HFSS: A Waveguide T-Junction, and Getting Started with HFSS: Optimizing a Waveguide T-Junction Using HFSS with Optimetrics..

The waveguide T-junction illustrates the basic HFSS features, including :

• • • •

the Modeler parameterization of a design feature setup and analysis the use of the Reporter and field animation. -44

Example Projects

The animated Mag_E1 plot of the E-field when the septum is located 0.2 inches closer to Port 2. The second version of the wave guide t-junction demonstrates the use of the Optimetrics.

• • • • • •

parametric analysis variable for optimization an optimization setup a cost function Optimization analysis. plot of cost values versus solved iterations.

-45

Example Projects



Use of output variables.

See Getting Started Guides.

Dielectric Resonator Antenna The dra_diel directory in the Example/Projects folder contains the modal solution project described in Getting Started With HFSS: A Dielectric Resonator Antenna. See Getting Started Guides.

This design demonstrates the use of:



boolean operations on geometries, -46

Example Projects

• • • • • •

the use of symmetry and radiation boundaries mesh operations lumped ports modifying the impedance multiplier because of symmetry animation of a field plot setting up an infinite sphere and computing antenna parameters

Optiguide This optiguide project is a modal solution project located in the Examples/Projects folder.

-47

Example Projects

This provides examples of:

• • • • • • • •

a Perfect H Boundary wave ports project variables for length, width, and height Optimization setup Parametrics setup Sensitivity setup Statisitcal setup, with distribution criteria Port field display

-48

Example Projects

-49

Example Projects

Package Example Project The packagehfss project is located in the Examples/Projects folder.

This project provides an example of:

• • • • •

a terminal solution project multiple materials radiation boundary lumped ports with terminals Interpolating sweep

-50

Example Projects



Port field display

Waveguide Combiner Example Project The wg_combiner project is located in the Example/Project folder. This project has an associated Getting Started Guide. See Getting Started Guides. .

The waveguide combiner project demonstrates: -51

Example Projects

• • • • • • •

finite conductivity boundary condition symmetry boundary condition wave ports integration lines in wave ports. solution data plot creation and analysis a phase animation.

-52

Copyright and Trademark Notices

Copyright and Trademark Notices The information contained in the HFSS online help is subject to change without notice. Ansoft makes no warranty of any kind with regard to this material, including, but not limited to, the implied warranties of merchantability and fitness for a particular purpose. Ansoft shall not be liable for errors contained herein or for incidental or consequential damages in connection with the furnishing, performance, or use of this material. This document contains proprietary information which is protected by copyright. All rights are reserved. Ansoft, LLC 225 West Station Square Drive Suite 200 Pittsburgh, PA 15219 (412) 261 - 3200 Maxwell 3D, Maxwell Strata, HFSS, Full-Wave Spice, ePhysics, and Optimetrics are registered trademarks or trademarks of Ansoft Corporation. All other trademarks are the property of their respective owners. © 2009 Ansoft LLC All rights reserved.

-53

2 Getting Help

Ansoft Technical Support To contact Ansoft technical support staff in your geographical area, please log on to the Ansoft corporate website, http://www.ansoft.com, click the Contact button, and then click Support. Your Ansoft sales engineer may also be contacted in order to obtain this information. E-mail can work well for technical support. All Ansoft 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. This allows more rapid and effective debugging. Help Menu Commands To access online help from the menu bar, do the following:

• • •

Click Help>Contents Click Help>Index Click Help>Search

You can also access help for the scripting commands via the menu bar:

• • •

Click Help>Scripting Contents Click Help>Scripting Index Click Help>Search Scripting

Context-Sensitive Help To access online help from the HFSS user interface, do one of the following:



To open a help topic about an HFSS menu command, press Shift+F1 or click click the command or toolbar icon.



To open a help topic about an HFSS dialog box, open the dialog box, and then press F1.

and then

PDF of Online Help Getting Help2-1

Open the PDF: .

Getting Help2-2

Conventions Used in the Online Help

Conventions Used in the Online Help The following documentation conventions are used in the HFSS online help.



Procedures are presented as numbered lists. A single bullet indicates that the procedure has only one step.



Bold type is used for the following: - Keyboard entries that should be typed in their entirety exactly as shown. For example, "copy file1" means to type the word copy, to type a space, and then to type file1. - On-screen prompts and messages, names of options and text boxes, and menu commands. Menu commands are often separated by carats. For example, click HFSS>Excitations>Assign>Wave Port. - Labeled keys on the computer keyboard. For example, "Press Return" means to press the key labeled Return.



Italic type is used for the following: - Emphasis. - The titles of publications. - Keyboard entries when a name or a variable must be typed in place of the words in italics. For example, "copy file name" means to type the word copy, to type a space, and then to type a file name.



The plus sign (+) is used between keyboard keys to indicate that you should press the keys at the same time. For example, "Press Shift+F1" means to press the Shift key and the F1 key at the same time.



Toolbar buttons serve as shortcuts for executing commands. Toolbar buttons are displayed after the command they execute. For example, "On the Draw menu, click Line ton to execute the Line command.

" means that you can click the Draw Line toolbar but-

Getting Help2-3

Searching in Help

Searching in Help The online help system provides four ways to search for information and navigate quickly:



A hierarchical table of contents - you can expand or collapse the hierarchy by clicking, and you can jump to selected entries by double-clicking.



A searchable index - you can search for indexed terms by typing the text field, and jump to topic locations by double-clicking on them.



A full text search - you can type text, and search the entire online help. Items are listed according to rank in discussing the search text.



A favorites list - you can select topics that you use frequently to create a favorites list.

Getting Help2-4

Using WebUpdate

Using WebUpdate To use WebUpdate: 1.

Select Help>Launch WebUpdate. This displays the WebUpdate dialogue, which lists the applications available for update.

2.

Select the application of interest and click Next. This displays the application and whether it is currently up to date and whether an update is available

3.

If an update is available, enable the application checkbox to select it. a.

You can choose to enable the checkboxes to install the update automatically and to save the update to disk. If you choose to update, the Next button is enabled.

4.

b.

Click Next to continue the update.

c.

The Webupdate shows the progress of the update.

Click Close when done

Getting Help2-5

3 Working with HFSS Projects

An HFSS project is a folder that includes one or more HFSS models, or designs. Each design ultimately includes a geometric model, its boundary conditions and material assignments, and field solution and post-processing information. A new project called Projectn is automatically created when the software is launched. 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.

Working with HFSS Projects 3-1

HFSS Online Help

HFSS Files When you create an HFSS project, it is given an .hfss file extension and stored in the directory you specify. Any files related to that project are also stored in that directory. Some common HFSS file and folder types are listed below: .hfss

HFSS project.

design_name.hfssresults

HFSS folder containing results data for a design. It resides in the project.hfssresults folder.

project_name.hfssresults

HFSS folder containing results data for a project.

project_name.asol

The .asol file contains the database of all solved variations and where the resulting data is stored in the design.hfssresults folder. This file is stored in the project_name.hfssresults folder.

.pjt

HFSS version 8.5 and earlier project.

.anfp

Ansoft PCB neutral file

3-2 Working with HFSS Projects

HFSS Online Help

Creating Projects •

On the File menu, click New

.

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. A default design named Designn is added under the project. Project definitions, such boundary and material assignments, are stored under the project name in the project tree. You specify the name of the project when you save it using the File>Save or File>Save As commands.

Working with HFSS Projects3-3

HFSS Online Help

Projects Open a previously saved project using the File>Open command. 1.

On the File menu, click Open

2.

Use the file browser to find the HFSS .hfss project file.

.

By default, files that can be opened or translated by HFSS are displayed. 3. 4.

Select the file you want to open. Click OK. The project information appears in the project tree. If you open another project without editing the automatically-created project, HFSS removes the automatically-created project.

You can also open a saved project by:

• • •

Dragging an HFSS project file icon to the HFSS icon. Dragging an HFFS project file icon to the HFSS desktop. Double-clicking on an HFSS project file icon.

Related Topics Opening Legacy HFSS Projects

Opening Recent Projects To open a project you recently saved in HFSS:



Click the name of the project file at the bottom of the File menu.

If you open another project without editing the automatically-created project, HFSS removes the automatically-created project.

Opening Legacy HFSS Projects HFSS 11 does not open projects created in Ansoft HFSS version 8.5 or earlier. HFSS 10 can be used. HFSS 10 files can be opened directly. However saving them in 11 means they cannot be used in 10. 1.

On the File menu, click Open

.

2.

In the Look in pull-down list, click the location of the project. In the folder list, double-click folders to find the one that contains the project.

3.

Double-click the project you want to open.

Legacy HFSS Project Translation HFSS 11 translates all HFSS 10 data. It does not open projects created in Ansoft HFSS version 8.5 or earlier. HFSS 10 can be used to translate earlier projects. Virtually all of the project’s pre-processing data is translated. Note that solution results and Optimetrics setup data are unavailable; however, the nominal model created for Optimetrics is translated. Following are additional notes about the translation of various legacy project information. 3-4 Working with HFSS Projects

HFSS Online Help

Model Geometry

Excitations and Boundaries

Materials

Mesh Operations



The translated geometry’s construction history is unavailable; therefore the original object properties you defined cannot be modified in the Properties window. However, you can modify the geometry using version 10’s modeling features.



For units unavailable in version 10, such as yards, the nearest available units are used; the model will be scaled slightly to fit the new units.



View visualization settings apply to the saved design. If these have been changed from the default (15 deg), this affects the memory and CPU required to open the project. Port impedance and calibration lines become integration lines in version 10. If the legacy project contained both impedance and calibration lines, impedance lines are translated and calibration lines are ignored. If the project contained both impedance and terminal lines, both are translated. The impedance lines will be ignored for Driven Terminal solutions and terminal lines will be ignored if the project is changed to a Driven Modal solution.





Boundaries assigned to named interface selections or rectangle selections are not translated.



For a boundary assigned to the intersection of two faces, HFSS 10 will create a new 2D sheet object from the intersecting area and assign the boundary to that object. Functions defined in legacy projects become project variables in version 10; therefore, functional material properties are translated.

• •

Perfect conductors become regular materials with conductivity values of of 1E30.



Object coordinate systems are created for objects assigned anisotropic materials in legacy projects. The coordinate system is defined at the same origin as the global coordinate system, with the same orientation defined when the anisotropic material was assigned to the object in the legacy project.



Nonlinear materials from legacy projects that have magnetic saturation values greater than zero are treated as ferrite materials in version 10. Their properties are not modified. Mesh refinement operations performed on arbitrary boxes in legacy projects are ignored.

• •

Area- and volume-based mesh operations are translated as length-based mesh operations in version 10 by taking their square roots and cube roots, respectively.

Working with HFSS Projects3-5

HFSS Online Help

Optimetrics



Setup information, including design variables, is not supported; however, the nominal model can be translated.



Parameterizing a translated model is limited because geometry construction history is unavailable. Driven solver projects that contained terminal lines are translated to Driven Terminal solution types in version 10. Impedance-only and emissions-only solutions are not supported in version 10; therefore these selections in legacy projects are ignored.

Solution Types



Solution Setup



Solutions

3-6 Working with HFSS Projects



The design’s initial mesh is used for the version 10 solution. Current meshes are not translated.



Saving dominant-only or higher-order-only mode S-matrix entries are not supported in version 10; therefore these mode selections in legacy projects are ignored.



For frequency sweeps, the Number of Steps value specified in the legacy project is converted to the corresponding Step Size value in version 10.



The total number of requested adaptive passes in the legacy project becomes the Maximum Number of Passes value in version 10. For example, if you request 3 adaptive passes, solve them, and then request 2 adaptive passes, 5 will be the value specified for the Maximum Number of Passes in version 10. Solution data is not translated; therefore, you must solve legacy HFSS projects again in version 10.



HFSS Online Help

Closing Projects To close the current HFSS project, select HFSS>Close. This closes the project without exiting HFSS.

Working with HFSS Projects3-7

HFSS Online Help

Saving Projects Use the File>Save As command to do the following:

• • •

Save a new project. Save the active project with a different name or in a different location. Save the active project in another file format for use in another program.

Use the File>Save

command to save the active project.

HFSS has a "Save before solving" setting located in the Tools>Options>HFSS Options menu. By default this is on. However, for efficiency reasons, the project is only saved if it has been modified since its last save. A prompt appears when you attempt to save a previously-versioned file. If you agree to the prompt, the file is upgraded to the HFSS version in which you are running the software. In this case the file may no longer be compatible with previous versions of HFSS. If you do not agree to the prompt, the file is not saved, so the file retains the previous compatibility. Related Topics Saving a New Project Saving the Active Project Saving a Copy of a Project Deleting Projects

Saving a New Project 1.

On the File menu, click Save As.

2.

Use the file browser to find the directory where you want to save the file.

3.

Type the name of the file in the File name box.

4.

Use the correct file extension for the file type.

5.

If the window has a Switch to saved option, do one of the following:

• • 6.

Leave the option selected to display the new file name, and then close the current file. Cancel the Switch to saved selection to save the file under the new name without changing which file is displayed.

Click OK. HFSS saves the project to the location you specified.

Warning

Be sure to save geometric models periodically. Saving frequently helps prevent the loss of your work if a problem occurs. Although HFSS has an "auto-save" feature, it may not automatically save frequently enough for your needs.

Related Topics Saving the Active Project 3-8 Working with HFSS Projects

HFSS Online Help

Saving a Copy of a Project

Saving the Active Project • On the File menu, click Save

.

HFSS saves the project over the existing one. Warning

Be sure to save geometric models periodically. Saving frequently helps prevent the loss of your work if a problem occurs. Although HFSS has an "auto-save" feature, it may not automatically save frequently enough for your needs.

Related Topics Saving a New Project Saving a Copy of a Project

Saving a Copy of a Project To save an existing, active project with a new name, a different file extension, or to a new location: 1.

On the File menu, click Save As.

2.

Use the file browser to find the directory where you want to save the file.

3.

Type the name of the file in the File name box.

4.

Select the desired file extension for the file type.

5.

If the window has a Switch to saved field, do one of the following:

• • 6.

Leave the field selected to display the new file name, and then close the current file. Cancel the Switch to saved selection to save the file under the new name without changing which file is displayed.

Click OK. HFSS saves the project with the new name or file extension to the location you specified.

Related Topics Saving a New Project Saving the Active Project

Renaming a Project To rename an existing, active project: 1.

Select the project in the Project tree.

2.

Right-click to display the short-cut menu.

3.

Select Rename. This activates the text field for the project name.

4.

Type the new project name and press enter. The new project name appears in the directory and the project remains in the original location. Working with HFSS Projects3-9

HFSS Online Help

Saving Project Data Automatically HFSS stores recent actions you performed on the active project in an auto-save file in case a sudden workstation crash or other unexpected problem occurs. The auto-save file is stored in the same directory as the project file and is named Projectn.hfss.auto by default, where n is the order in which the project was added to the current session. HFSS automatically saves all data for the project to the auto-save file, except solution data. By default, HFSS automatically saves project data after every 10 edits. An "edit" is any action you performed which changes data in the project or the design, including actions associated with project management, model creation, and solution analysis. With auto-save activated, after a problem occurs, you may be able to choose to re-open the original project file (Projectn.hfss), in an effort to recover the solution data, or open the auto-save file. If the original file is not available, attempting to open the file provides a message that the autosave is being used. If neither file is available, an error message is displayed. To modify the auto-save settings: 1.

On the Tools menu, point to Options, and then click General Options. The Options dialog box appears.

2.

Under the Project Options tab, verify that Do Autosave is selected.

3.

In the Autosave interval box, enter the number of edits that you want to occur between automatic saves. By default, this option is set at 10.

This option is selected by default.

Note

4.

Auto-save always increments forward; therefore, even when you undo a command, HFSS counts it as an edit.

Click OK to apply the specified auto-save settings. Once the specified number of edits is carried out, a "model-only" save will occur. This means that HFSS does not save solutions data or clear any undo/redo history. When HFSS auto-saves, an ".auto" extension is appended to the original project file name. For example, "Project1.hfss" will automatically be saved as "Project1.hfss.auto".

Warning

When you close or rename a project, HFSS deletes the auto-save file. HFSS assumes that you have saved any desired changes at this point.

Related Topics Recovering Project Data in an Auto-Save File

Save Before Solve Option The Tools>HFSS Options command displays a dialog with a checkbox for an automatic Save Before Solve option. The main purpose is to force a full save before running the solve. In the case where you start a solve while another solve is running, and the Save Before Solve option is set, HFSS asks if you want solve without saving first. This lets you do multiple solves, and if you 3-10 Working with HFSS Projects

HFSS Online Help

have not edited the project in between solves, crash recovery will work. In any case, you can start a new solve while running another without having to abort the running solve.

Recovering Project Data in an Auto-Save File Following a sudden workstation crash or other unexpected problem, you can recover the project data in its auto-save file. Warning

When you recover a project’s auto-save file you cannot recover any solutions data; recovering an auto-save file means you will lose any solutions data that existed in the original project file.

To recover project data in an auto-save file: 1.

If HFSS has crashed, launch HFSS from your desktop.

2.

On the File menu, click Open, and then select the original Projectn.hfss project file for which you want to recover its Projectn.hfss.auto auto-save file. The Crash Recovery window appears, which gives you the option to open the original project file or the auto-save file.

3.

Select Open project using autosave file to recover project data in the auto-save file, and then click OK. HFSS replaces the original project file with the data in the auto-save file. HFSS immediately overwrites the original project file data with the auto-save file data, removing the results directory (solutions data) from the original project file as it overwrites to the auto-save file.

Warning

If you choose to recover the auto-save file, you cannot recover the original project file that has been overwritten; recovering data in an auto-save file is not reversible.

Related Topics Saving Project Data Automatically

Working with HFSS Projects3-11

HFSS Online Help

Deleting Projects To delete a project: 1.

Select the project in the project tree.

2.

Click either Edit>Delete, or right click to display the short-cut menu and select Delete. A dialog displays the message: "The project selected and all its files will be deleted from the permanent storage medium. Click OK to proceed."

3.

Click OK to delete the files or Cancel to retain them.

3-12 Working with HFSS Projects

HFSS Online Help

Undoing Commands Use the Undo command on the Edit menu to cancel, or undo, the last action you performed on the active project or design. This is useful for undoing unintended commands related to project management, model creation, and post-processing. 1.

In the Project Manager window, do one of the following:



To undo the last action you performed on the active project, such as inserting a design or adding project variables, click the project icon.



To undo the last action you performed on the active design, such as drawing an object or deleting a field overlay plot, click the design icon.

Note

2.

You cannot undo an analysis that you’ve performed on a model, that is, the HFSS>Analyze command.

On the Edit menu, click Undo, or click the Undo button

on the toolbars.

Your last action is now undone. Note

When you save a project, HFSS always clears the entire undo/redo history for the project and its designs.

Related Topics Redoing Commands

Working with HFSS Projects3-13

HFSS Online Help

Redoing Commands Use the Redo command on the Edit menu to reapply, or redo, the last action that was canceled, or undone. You can redo a canceled action related to project management, model creation, and postprocessing. 1.

2.

In the Project Manager window, do one of the following:



To redo the last action you canceled on the active project, such as inserting a design or adding project variables, click the project icon.



To redo the last action you canceled on the active design, such as drawing an object or deleting a field overlay plot, click the design icon.

On the Edit menu, click Redo, or click the Redo button

on the toolbars.

Your last canceled action is now reapplied. Note

When you save a project, HFSS always clears the entire undo/redo history for the project and its designs.

Related Topics Undoing Commands

3-14 Working with HFSS Projects

HFSS Online Help

Validating Projects Before you run an analysis on a model, it is very important that you first perform a validation check on the project. When you perform a validation check on a project, HFSS runs a check on all the setup details of the active project to verify that all the necessary steps have been completed and their parameters are reasonable. To perform a validation check on the active project: 1.

On the HFSS menu, click Validation Check

.

HFSS checks the project setup, and then the Validation Check window appears. 2.

View the results of the validation check in the Validation Check window.

The following icons can appear next to an item: Indicates the step is complete. Indicates the step is incomplete. Indicates the step may require your attention. 3.

View any messages in the Message Manager window.

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. Working with HFSS Projects3-15

HFSS Online Help

5.

On the HFSS menu, click Validation Check to run a validation check after you have revised any setup details for an incomplete or incorrect project step.

6.

Click Close.

Related Topics Modeler Validation Settings

Modeler Validation Settings You can adjust the degree to which the software checks a model for faults that could jeopardize mesh accuracy. There are three levels of model validation that a user can specify for a given design: Warning Only, Basic, and Strict. Note that this setting affects only the "3D Model" stage of a design validation.



The Warning Only entity check setting allows all models to pass 3D Model validation regardless of any faults that are found (acis_entity check errors). These faults are posted in the message window as warnings.



The Basic entity check setting allows most models to pass 3D Model validation. This excuses non-manifold errors and most acis_entity_check errors. Some faults are flagged as model errors (basic entity check errors), thereby prohibiting a design from proceeding to the meshing stage of an analysis. You must either correct such errors before attempting to analyze the design under the Basic setting, or you must change the Model Validation level to Warning Only.



The Strict entity check setting enforces a tighter tolerance for model faults than the "Warning Only" and "Basic" settings. All model faults that are found during 3D Model validation are posted to the message window. These errors must be corrected before attempting to analyze the design under the Strict setting, or you must change the Model Validation level to Basic or Warning Only.

To set the Model Validation level: 1.

Select Modeler->Validation Settings. This displays the Validation Settings dialog that lets you set the validation as basic, strict, or warning only.

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. You can select the Restore Default button.

3.

Click OK to accept the selection and close the dialog.

Related Topics Model Analysis Analyze Objects Interobject Misalignment Analyze Surface Mesh 3-16 Working with HFSS Projects

HFSS Online Help

Heal Healing State On: Validation Check Show Analysis dialog Align Faces Remove Faces Remove Edges Technical Notes: Healing and Meshing Technical Notes: Detecting and Addressing Model Problems to Improve Meshing

Working with HFSS Projects3-17

HFSS Online Help

Exporting Files You can export the following types of files from HFSS:

• • • •

Ansoft 2D modeler files 3D model files Graphics files Data tables

Related Topics Exporting Matrix Data Exporting Equivalent Circuit Data

Exporting 2D Geometry Files When you export a file in a 2D geometry format (the Ansoft 2D Modeler (.sm2) format or the AutoCAD DXF (.dxf) 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. See Creating a Relative Coordinate System for more information.

To export a file to a .sm2 or .dxf format: 1.

On the Modeler menu, click Export to save the file in an Ansoft 2D Modeler format.

2.

Use the file browser to find the directory where you want to save the file.

3.

Type the name of the file in the File name box.

4.

Select Ansoft 2D Geometry Files (*.sm2) or AutoCAD DXF Files (*.dxf) from the Save as type pull-down list.

5.

Click Save. The file is exported to the specified location with the appropriate file format.

Related Topics Exporting 3D Model Files Exporting Graphics Files

Exporting 3D Model Files You can export HFSS 3D models to 3D model file formats: To export a file to a 3D model format: 1.

Click Modeler>Export to save the file in a 3D model format. The Export File dialog box appears.

2.

Use the file browser to find the directory where you want to save the file.

3.

Enter the name of the file in the File name box.

4.

Select the desired 3D model file format from the Save as type pull-down list.

3-18 Working with HFSS Projects

HFSS Online Help

5.

Click Save. The file is exported to the specified location as a 3D model file Extension

Contents

.sm3

Ansoft 3D Modeler files in ACIS version 2.0 or greater.

.sm2

Ansoft 2D Geometry File

.dxf, .dwg

AutoCAD Drawing Interchange Format files.

.sat

ACIS geometry solid model files.

.iges, .igs

Industry standard Initial Graphics Exchange Specification (IGES) files. AN additional license is required.

.step, .stp

Industry standard AP203 STEP files. An additional license is required.

.gds

GDSII files

6.

If you selected .sm3, the Select Version dialog box appears. Do the following:

• 7.

8.

Click an ACIS version in which to export the model from the ACIS SM3 Version pulldown list, and then click OK.

Click Save. Unless you selected GDSII, the file is exported to the specified location as a 3D model file. If you selected GDSII, the GDSII Export dialog appears.



If the model has been defined with layers, those layers are listed by layer number in the table, with columns for Layer Name, Layer Number, Elevation in units. There is a checkbox to specify whether to include the layer in the exported file.



If you have defined a layer map file for the model, the Layermap button opens a browser for you to open that file before export. The *.layermap file is a text file that maps the GDSII layer numbers to layer names in the stackup. The *.layermap file can have the same format as the .tech file used in GDSII import, but it only needs the layer name and number in the file. In a *.layermap file, other information is ignored.



In the Polygon Vertices area, check a radio button to select either No Limit to the number of vertices or Limit the number of vertices to a specified value.



For Arc tolerance, specify a value or accept the default.

Click the OK button in the GDSII Export dialog to complete the export. The file is exported to the specified location.

Related Topics Exporting 2D Model Files Working with HFSS Projects3-19

HFSS Online Help

Exporting Graphics Files Importing 3D Model Files Importing GDSII Format Files Export Results to Thermal Link for ANSYS Mechanical

Exporting Graphics Files You can export the following graphics formats: Extension

Contents

.bmp

Bitmap files.

.gif

Graphics Interchange Format files.

.jpeg

Joint Photographics Experts Group files.

.tiff

Tagged Image File Format files.

.wrl

Virtual Reality Modeling Language (VRML) files.

To export a file to a graphics format: 1.

On the Modeler menu, click Export to save the file in a graphics format.

2.

Use the file browser to find the directory where you want to save the file.

3.

Type the name of the file in the File name box.

4.

Select the desired graphics file format from the Save as type pull-down list.

5.

Click Save. The file is exported to the specified location as a graphics file.

Related Topics Exporting 2D Model Files Exporting 3D Model Files

Exporting Data Table Files 1.

On the Report2D menu, click Export to File.



Alternatively, right-click on the data table, and then click Export to File on the shortcut menu.

The Export plot data to file dialog box appears. 2.

Use the file browser to find the directory where you want to save the file.

3.

Type the name of the file in the File name box.

3-20 Working with HFSS Projects

HFSS Online Help

4.

5.

Select one of the following file formats from the Save as type pull-down list: .txt

Post processor format file

.csv

Comma-delimited data file

.tab

Tab-separated file

.dat

Ansoft plot data file

Click Save. The file is exported to the specified location as a data table file.

Related Topics Exporting Matrix Data Exporting Equivalent Circuit Data

Working with HFSS Projects3-21

HFSS Online Help

Importing Files You can import the following types of files to HFSS:

• • • • •

2D model files 3D model files Solution data files Data table files HFSS Plot Data

The import dialog contains a check box for the Heal command which is enabled by default. Related Topics Exporting Files Technical Notes: Handling Complicated Models.

Importing 2D Model Files You can read 2D model files directly into the active Modeler window: Note

If you import a file into an active Modeler window that contains an existing model, the file is added to the existing model; it will not replace it.

To import a 2D model file: 1.

Click Modeler>Import. The Import File dialog box appears.

2.

Select a file type from the Files of type pull-down list. For 2D model files, this would be either GDSII Files (*.gds) or Ansoft 2D Geometry Files (*.sm2).

3.

Use the file browser to find and select the file you want to import.

4.

Click Open. The file is imported into the active Modeler window. Extension

Contents

.gds

GDSII is a standard file format for 2D graphical design layout data.

.sm2

Ansoft 2D Modeler files.

3-22 Working with HFSS Projects

HFSS Online Help

Note

When importing .sm2 files, they will import into the current XY or XZ plane depending upon how they were originally created. If you want to import them in a specific orientation other than the current XY or XZ plane, you must first create a relative coordinate system with the planes in the desired orientation. See Creating a Relative Coordinate System for more information.

Related Topics Importing 3D Model Files Importing GDSII Format Files

Importing GDSII Format Files See the introductory topic Importing 2D Model Files for the initial steps in the process of importing 2D data. The process for importing GDSII format files into the HFSS uses a single dialog box:

GDSII Structures Panel Working with HFSS Projects3-23

HFSS Online Help

The GDSII file may contain several top level structures. 1.

Click on a structure name in the GDSII Structures panel to highlight it.

2.

Clicking on the Select checkbox in the GDSII Structures panel both highlights the structure and selects that top-level structure to be imported.

When multiple structures are imported, HFSS creates multiple designs under the current project, one for each of the GDSII structures. Descendants Panel The GDSII file is hierarchical and may contain many sub-layouts. The Descendants panel shows the sub-layouts in the selected top-level designs. Layers for structurename Panel The Layers for structurename panel shows the layers for the (most recently) highlighted top level structure [structurename]. GDSII layers are identified by layer numbers. All GDSII Layers Panel The All GDSII Layers panel lists all the layers from all the structures in the file. Use the Import Layers check boxes in the All GDSII Layers panel to select the layers to import. You can drag and drop the layers in the list to change the vertical stackup of layers. Convert Nodes Field GDSII supports nodes and boundaries as separate data types. Normally, boundaries represent polygons. HFSS can either convert objects that use the nodes data type to boundary types, or can ignore them.



Use the Convert Nodes to radio buttons to select Boundary or Ignore. The default is to convert data type nodes to data type boundary.



The Flatten hierarchy checkbox is automatically selected. HFSS always flattens any hierarchical geometry in the GDSII.

Layer Mapping File If desired, you can create a mapping of the GDSII layer numbers to layer names in the design stackup. To create and use the mapping. 1.

Use a text editor to create a text file that maps the GDSII layer numbers to layer names in the stackup. The layer mapping file must have a .tech suffix. The format of a .tech format layer mapping file lists includes the layer number and corresponding layer name, color, elevation

3-24 Working with HFSS Projects

HFSS Online Help

and thickness. The tech file should specify layers in nm units. For example: //# //#

Layer

Color

//#

Name

Purpose

Elevation

Thickness

[nm]

[nm]

//#-------------------------------------------------------------------0

ref

red

0.000

0.000

17

POLYG

blue2

420.0

180.0

18

POLY2

blue2

420.0

180.0

25

PIMP

tan

400.0

0.000

26

NIMP

blue3

400.0

0.000

29

RPO

green

400.0

0.000

30

CONT

white

400.0

490.0

31

METAL1

red

890.0

280.0

2.

Click the Open button in the Layer Mapping File panel to locate and open an existing layer mapping file.

3.

Click OK. The file is imported into the active Modeler window.

Importing 3D Model Files You can read 3D model files directly into the active 3D Modeler window: Note

If you import a file into an active 3D Modeler window that contains an existing model, the file will be added to the existing model; it will not replace it.

To import a 3D model file: 1.

Click Modeler>Import. The Import File dialog box appears.

2.

Select the file type you want from the Files of type pull-down list.

3.

Use the file browser to find the file you want to import.

4.

Select the 3D model file you want to import or enter the name of the file in the File Name box.

5.

Select any import options available for the selected file type.



Some file types permit you to Heal Imported Objects. See the table below and Healing an Imported Object.

• •

For Ansoft .sm3 files, you can also check the model.



For Natran and STL files, you can set the Model Resolution Length in Model Units, or accept the auto setting.

For ProE files, you can choose check to enable the Import Free Surfaces option. This imports such surfaces as well as parts.

Working with HFSS Projects3-25

HFSS Online Help

6.

Click Open. The file is imported into the active Modeler window.

If you selected Heal Imported Objects with the Manual option selected for the import, then the Healing Options dialog box opens, allowing you to set parameters for the heal operation. For tips on dealing with very complex models, see Technical Notes: Handling Complicated Models.

Note

While objects created in HFSS can always be classed in the history tree as either a solid, sheet, or wire some imported objects may have mixture of these. HFSS places such objects in an Unclassified folder in the history tree.

Extension .dxf, .dwg

Contents

.tech

AutoCAD Drawing Interchange Format files. The .tech file is an ASCII file that contains layer names, units, color, elevation, thickness, and material information in a tab delimited format. See Importing DXF and DWG Format Files.

.gds

GDSII files.

.geo

Agilent HFSS solid model files.

.iges, .igs

Industry standard Initial Graphics Exchange Specification (IGES) files versions up to 5.3.1

.model, .CATPart

Catia R4/R5 models.1 .model - CATIA 4.1.9 to 4.2.4 .CATPart - CATIA V5 R2 through R16

.nas

NASTRAN format files.2

.x_t, .x_b

Parasolid Files.1

.sat

ACIS 16 Service Pack 6 geometry solid model files.1

.sld

Ansoft legacy 3D model files

.sm3

HFSS 3D modeler files up to ACIS R16.1

3-26 Working with HFSS Projects

HFSS Online Help

Extension

Contents

.sm2

Ansoft 2D modeler files

.stl

Stereolithography format files.2

.step, .stp

Industry standard AP203 STEP files and AP214 (geometry only).1

.prt*, .asm*

Pro/E model files .Pro/E 16 to Wildfire 2

.prt

Unigraphics file.1 (Windows only).

1. Automatic or Manual Healing available if desired. See Healing an Imported Object. 2. Defeaturing based on Model Resolution Length. Select Auto, None, or enter a numeric value directly in the entry box. Related Topics Importing 2D Model Files Importing DXF and DWG Format Files. Exporting 3D Model Files Technical Notes: Handling Complicated Models

Importing DXF and DWG Format Files The process for importing DXF and DWG format files into an active Layout Editor design uses a dialog box with three tabs. To import a .dxf or .dwg model file (which may use an associated .tech file): 1.

Click Modeler>Import. The Import File dialog box appears.

2.

Select AutoCAD Files (*.dxf;*.dwg) from the Files of type pull-down list.

3.

Use the file browser to find the file you want to import.

4.

Select the .dxf/.dwg model file you want to import.

5.

Click Open.

Working with HFSS Projects3-27

HFSS Online Help

Initially, the DWG/DXF Import dialog opens with the Layer Selection tab is displayed:

The Input Layer Name field shows the name of the layer in the DXF/DWG file (not editable) 6.

Use the Include check boxes to specify which layers to import from the selected file.

7.

You can use the Browse button to locate a tech file. The tech file is a plain text file that includes units, layer names, color, elevation, and thickness information. units um //Layer_Name

Color

Elevation Thickness

BOTTOMLAYER

purple

0

200

MIDLAYER1

green

500

200

TOPLAYER

blue

1000

200

3-28 Working with HFSS Projects

HFSS Online Help

8.

Click the Options tab:

9.

Use the Override pulldown to select the layout units for the imported file (default is mm).

10. Use the Objects check boxes to fine-tune the import:



Union overlapping causes multiple objects that overlap in the input file to be combined to create a single object. This is greyed out if not selectable.



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.



Self-stitch causes multiple straight line segments to be joined to form polylines. If the resulting polyline is closed, a polygon is created in the modeler.



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.



Round coordinates to Decimal place rounds all imported data to the specified number of decimal points.



Convert closed wide lines to polygons imports wide polylines as polygons. You have more flexibility to change the shape of such an object when it is imported as a polygon.



Import as 2D sheet bodies causes imported objects to be organized in terms of 2D sheets.

11. For Import method, select Script or Acis.

Working with HFSS Projects3-29

HFSS Online Help

12. Click the Language tab:

The input language and format is normally auto-detected. You can override the auto-detection algorithm if it fails to detect the correct language or when you want to do specific language conversion

• •

Use the Override pulldown to select a language format to use in importing the data. Use the Filter choices checkbox to eliminate language options that do not apply to the data in the file.

13. When you have completed selections on all tabs, click OK on any tab. The file is imported into the active Layout window.

Importing Solution Data 1.

On the HFSS menu, point to Results, and then click Import Solutions. The Imported Data dialog box appears.

2.

Click Import Solution.

3.

In the File Name text box, type the name of the solution file you want to import or click Browse and use the file browser to locate the file.

4.

Click Load File. Note that the file has not been imported yet.

5.

Optionally, type a new name in the Source Name box or accept the default name.

6.

Click the solutions you want to import in the Available Solutions list, and then click Import.

The S Parameter Import dialog box appears.

You return to the Imported Data dialog box. 7.

Click the solution data you want to import, and then click OK.

Importing Data Tables You can import data table files that contain data in the following formats:



Tab-separated. HFSS will recognize complex data if the values are separated by a comma (e.g.

3-30 Working with HFSS Projects

HFSS Online Help

real, imaginary).



Comma-separated. HFSS will recognize complex data if the values are separated by a space (e.g. real imaginary).

1.

On the HFSS menu, point to Results, and then click Import Solutions.



Alternatively, right-click Results in the project tree and then click Import Solutions on the shortcut menu.

The Imported Data dialog box appears. 2.

Click Import Table. The Table Import dialog box appears.

3.

In the File Name text box, type the name of the data table file you want to import or click Browse and use the file browser to locate the file.

4.

If the data in the table is complex, select the format — real/ imaginary, or magnitude/ phase — in which to import the data. If the data is simple, this option will be ignored.

5.

Click Load File. Note that the file has not been imported yet.

6.

Optionally, type a new name in the Source Name box that indicates the origin or the data table, or accept the default name.

7.

Optionally, type a new name in the Table Name box that describes the data in the table, or accept the default name

8.

In the All Columns list, the headings of each column in the data file are listed. Optionally, specify a new name for a column heading by doing the following: a.

In the All Columns list, click the heading you want to change. The heading appears in the Column Name box.

b.

Type a new name in the Column Name box, and then click Set Column Name. The heading is changed to the new name in every place it appears in the Imported Data dialog box.

9.

In the Independent Data Columns list, the first heading in the data table file is listed by default. In the Dependent Data Columns list, the second and subsequent headings in the data table file are listed by default. Optionally, click a heading name and then click an arrow button to move it from one column to another.

10. If the data in the Dependent Data Columns list contains matrix data, select Matrix Data. If it contains field data, select Field Data. 11. Click Import. You return to the Imported Data dialog box. 12. Click the data you want to import in the Current Imports list, and then click OK. The solution data is now available for post processing. Related Topics Working with HFSS Projects3-31

HFSS Online Help

Adding Datasets

Importing HFSS Plot Data Import Solutions can also import HFSS plot data. 1.

On the HFSS menu, point to Results, and then click Import Solutions. The Imported Data dialog box appears.

2.

Click the Import Plot Data button The Read Plot Data file dialog opens.

3.

Use the file browser to select the plot data file (*.dat) to open. You can choose to specify the file as Read Only.

4.

Click the Open button to import the file. The imported files are listed in the Imported Data dialog.

Related Topics Importing Plot Data.

Importing Plot Data 1.

The Report2D> Import Data command lets you import plot data from comma delimited files (.csv) tab delimited files (.tab) or Ansoft Plot Data files (*.dat). You need to have a report open for the Report2D menu to appear.On the HFSS menu click Report2D>Import Data. This displays a file browser window.

2.

Use the Look In feature, or the icons to navigate to the file location.

3.

Specify the file name in the file name field, or select the file from those listed in the current directory.

4.

The file format field contains a drop-down menu listing the formats you can import. These include comma delimited files (.csv) tab delimited files (.tab) or Ansoft Plot Data files (*.dat).

5.

Click Open to import the file into the currently open Report. The imported traces appear in the Project tree under the current report.

Related Topics Importing HFSS Plot Data

Importing from the Clipboard This command lets you import suitable objects from the clipboard. Click HFSS>Modeler>Import from Clipboard

3-32 Working with HFSS Projects

HFSS Online Help

Inserting a Documentation File You may want to add a documentation file to the project tree. 1.

Click Project>Insert Documentation File. This opens a file browser dialog that lets you navigate your file system.

2.

Selecting the file and click OK. This places the documentation file in the project tree.

Working with HFSS Projects3-33

HFSS Online Help

Printing The printing commands enable you to send an image of the active window to the printer. To print the project: 1.

On the File menu, click Print

.

A dialog box similar to the following one appears:

2. 3.

You can change the printer (if other printer names are listed on the drop down), set the print range, number of copies, or use the check box to Print to file. Do one of the following:

• • •

Click OK to print the project. Click Cancel to dismiss the window without printing. Click Setup to define printer settings.

3-34 Working with HFSS Projects

HFSS Online Help

Saving Project Notes You can save notes about a project, such as its creation date and a description of the device being modeled. This is useful for keeping a running log on the project. To add notes to a project: 1.

On the HFSS menu, click Edit Notes

.

The Design Notes window appears. 2.

Click in the window and type your notes.

3.

Click OK to save the notes with the current project.

To edit existing project notes:



Double-click the Notes icon in the project tree. The Design Notes window appears, in which you can edit the project’s notes.

Working with HFSS Projects3-35

HFSS Online Help

Setting Options in HFSS You can set the following options from the HFSS Desktop:

• • • • •

General options, such as project options, units settings, and analysis options.



Modeler options, such as cloning options, display colors and render settings, snap modes and mouse sensitivity.

HFSS-specific options, such as default solution mode, processor and RAM settings. Fields Reporter options, such as field overlay and phase animation settings. Report2D options, such as fonts, labels, line styles, and colors. Report Setup Options, including advanced mode editing, the number of significant digits to display, and drag and drop behavior.

Setting General Options To set general options in HFSS: 1.

Click Tools>Options>General Options. The General Options window appears, displaying five available tabs:

• • • • •

Project Options Default Units Analysis Options WebUpdate Options Miscellaneous Options

2.

Click each tab, and make the desired selections.

3.

Click OK.

General Options: Project Options Tab These options are set on the Project Options tab of the General Options dialog box. 1.

To auto-save your project, do the following in the Autosave section: a.

Select the Do Autosave check box.

b.

Enter the number of edits after which to save in the Autosave interval text box. The default is 10.

2.

Enter a directory path in the Temp Directory text box, or click the ... button to find and select the desired directory.

3.

Enter a directory path in the Project Directory text box, or click the ... button to find and select the desired directory.

4.

Enter a directory path in the Library Directory text box, or click the ... button to find and select the desired directory.

5.

To reset the library directory to the default, click Reset Library Directory.

6.

Select or clear the Expand Project Tree on Insert check box.

3-36 Working with HFSS Projects

HFSS Online Help

7.

For When creating a new project, select a radio button to either Insert a design of type HFSS or Don’t insert a design.

General Options: Default Units Tab These options are set on the Default Units tab of the General Options dialog box. Select the desired units from each of the following pull-down lists:

• • • • • • • • • • • • • • • • • • •

Length Angle Time Temperature Torque Magnetic Induction Frequency Power Voltage Current Speed Weight Resistance Inductance Capacitance Force Angular Speed Magnetic field strength Pressure

General Options: Analysis Options Tab These options are set on the Analysis Options tab of the General Options dialog box. All but the last, the Queue all simulations checkbox, are grouped as Design Analysis Options for Design Type. 1.

The type of design is HFSS.

2.

If you would like to select the machine to which to send the analysis immediately before analyzing, select Prompt for analysis machine when launching analysis.

Note

3.

If the Queue all simulations option is selected, this setting is ignored, and the default analysis machine is used.

Under Analysis Machine Options, select whether the default analysis machine should be the local machine (Local), a remote machine (Remote), or whether analysis should be distributed Working with HFSS Projects3-37

HFSS Online Help

across multiple machines (Distributed). a.

If you selected Remote, enter the default analysis machine information either as an IP address, a DNS name, or a UNC name. See Remote Analysis.

b.

If you selected Distributed, you can add machines to a list, or edit an existing machine list. Select the Edit button to display the Distributed Analysis Machines dialogue. Here you specify an IP address, a DNS name, or a UNC name for each machine to add to the list. Control buttons let you Add Machine to List to or Remove machines from the list. Selecting Distributed always checks out the ansoft_distrib license, regardless of whether there is anything distributable or not. In general, HFSS uses machines in the distributed analysis machines list in the order in which they appear. If Distributed is selected and you launch multiple analyses from the same UI, HFSS selects the machines that are running the fewest number of engines in the order in which the machines appear in the list. For example, if the list contains 4 machines, and you launch a simulation that requires one machine, HFSS chooses the first machine in the list. If another simulation is launched while the previous one is running, and this simulation requires two machines, HFSS chooses machines 2 and 3 from the list. If the first simulation then terminates and we launch another simulation requiring three machines, HFSS chooses 1, 4, and 2 (in that order). The displayed list always shows the order in which you entered them irrespective of the load on the machines. To control the list order, select one or more machines, and use the Move up or Move down buttons. Click OK to accept the changes and close the Distributed Analysis Machines dialog. Regardless of the machine(s) on which the analysis is actually run, the number of processors and Desired RAM Limit settings, and the default process priority settings are now read from the machine from which you launch the analysis. See HFSS Options: Solver Tab. For more information, see distributed analysis.

You can also control these selections via toolbar icons for:

• • • 4.

,

Remote

, and

Distributed

To launch all analyses as a specific user, rather than the current user, do the following in the Remote Analysis Options section. (Note: If any of the remote machines are Unix-based, you must specify the current user.)

• • 5.

Local

For the Send analysis request as option, select Specified User. Enter the user name, password, and domain information in the corresponding text boxes.

Select or clear the Queue all simulations check box. This allows subsequent projects to wait in a queue till the currently running project solves completely.

Related Topics

3-38 Working with HFSS Projects

HFSS Online Help

HFSS Options: Solver Tab for setting the maximum Number of Processors, the desired RAM and Maximum RAM, and the process priority. Technical Notes: Handling Complicated Models Configuring Distributed Analysis Licensing for Distributed Analysis Selecting an Optimal Configuration for Distributed Analysis

General Options: WebUpdate Options Tab These options are set on the WebUpdate Options tab of the General Options dialog box. Select one of the following from the Automatically check for updates every pull-down list:

• • • •

Never 30 days 120 days 180 days

The last time the software was updated, as well as the last attempt, are displayed in the following two fields:

• •

Last update date Last update attempt date

General Options: Miscellaneous Options Tab These options are set on the Miscellaneous tab of the General Options dialog box. General Options:

• •

Select or clear the Show Message Window on new messages check box.

• •

Select or clear the Show Progress Window when starting a simulation check box.

Select or clear the Ensure that new messages are visible in the Message Window Tree check box. Select or clear the Update reports on file open check box.

Report Update Options for Design Type:

• •

The Design type is HFSS. Select or clear Dynamically update reports and field overlays during edits. If selected, report plots and overlays update dynamically.



Dynamically update postprocessing data for new solutions. Updating numerous reports may a significant amount of time. Updating reports during the analysis process can impact the overall time to solution. You may want to vary the times when your reports get updated relative to the impact on overall solve time. Four options exist for updating reports during solutions:



Automatically - the default. It means update most things immediately. Working with HFSS Projects3-39

HFSS Online Help

For "AdaptivePass" plot context, plots are updated at the end of each solution pass. For "LastAdaptive" or "Transient" the plot is updated at the end of the transient or adaptive solution. This option balances report and field plot updating with solution time. For example, reports may be updated after each adaptive pass but field plots will not be updated until the solution is complete.



Immediately - update reports and plots as soon as data comes from the solver. This option will have the greatest impact on the overall solution time but will have the most rapid updating of reports and field plots. Caution should be used in selecting this option. Some types of reports and field plots may take a long time to update, especially as the mesh size increases.



Never - only manual intervention updates reports. This option will prevent updates from impacting the solution time.



On Completion - as with Never, but a single update is done when the solve completes.

Setting HFSS Options To set HFSS options: 1.

Click Tools>Options>HFSS Options. The HFSS Options window appears, displaying three available tabs:

• • •

General Options Solver Report Updating During Analysis

2.

Click each tab, and make the desired selections.

3.

Click OK.

HFSS Options: General Options Tab These options are set on the General Options tab of the HFSS Options dialog box. 1.

To change the default solution type when you initially insert a project, select one of the following from the Default solution type pull-down list:

• • • 2.

Driven Modal Terminal

In the Material Options section:

• • 3.

Eigenmode

Check or uncheck whether to Include ferrite materials Set the Solve Inside threshold values in Siemens/m.

In the Boundary Options section, select or clear the following two check boxes:



Use Wizards for data input when creating new boundaries When this is checked, the creation of boundaries uses Wizard to guide you through the process. When this is not checked, the creation of boundaries displays a Properties dialog

3-40 Working with HFSS Projects

HFSS Online Help

with tabs for different kinds of information.



Duplicate boundaries with geometry When this is checked, you can duplicate a boundary or excitation when its geometry is pasted or duplicated. See Duplicating Boundaries and Excitations with Geometry.



Visualize Boundaries on geometry. When this is checked, boundaries on geometries are displayed. Unchecking this turns off boundary visualization, and speeds up the display for complex models.



Auto assign terminals on ports When this is checked, the commands to assign wave or lumped ports will automatically assign terminals. See

4.

Select or clear the following check boxes:

• • • 5.

Save before solving Save Optimetrics field solutions Apply variation deletions immediately

Set the default Matrix sort order. This affects the order of the Matrix Data, and is of interest depending on how port names are assigned for that design. The default is ascending alphanumeric. This can also be a User Specified order that defaults to creation order.

HFSS Options: Solver Tab These options are set on the Solver tab of the HFSS Options dialog box. Regardless of the machine(s) on which the analysis is actually run, all of the settings on this panel are read from the machine from which you launch the analysis. To set the solver options for HFSS: 1.

Enter the Number of Processors to use. This specifies the maximum number of processors to use; if you specify that you want to use 4 processors, and the machine on which you are solving only has two processors, the solve machine will only use two processors. For distributed solve, if you want to use as many processors as exist on each solve machine, you can set the number of processors to a high value. An environment variable allows you to override the number of processors without permanently changing the value set here. This is useful for unattended solves, for instance when running a non-graphical batchsolve:

• 2.

ANSOFT_NUM_PROCESSORS (value is the maximum number of processors to use)

Select one or both of the following check boxes, and enter values in the text boxes:

• •

Desired RAM Limit (MB) Maximum RAM Limit (MB)

An environment variable allows you to override the desired RAM limit settings without permanently change the values set here. This is useful for unattended solves, for instance when running a non-graphical batchsolve:



ANSOFT_DESIRED_RAM_LIMIT (value is the desired RAM usage limit, in MB, that Working with HFSS Projects3-41

HFSS Online Help

you wish to place on the solvers) 3.

Select one of the following from the Default Process Priority pull-down list:

• • • • •

Critical (highest) Priority Above Normal Priority Normal Priority Below Normal Priority Idle (lowest) Priority

Related Topics Configuring Distributed Analysis Licensing for Distributed Analysis

Setting Fields Reporter Options To set the Fields Reporter options: 1.

Specify whether to Group Field Overlays by Type (default, yes).

2.

Set the default Phase Animation settings for Scalar Plots and Vector Plots. Each of these accepts values for From and To in degrees, and the number of steps.

Setting Report2D Options To set Report2D options in HFSS: 1.

Click Tools>Options>Report2D Options. The Report2D Options window appears, displaying ten available tabs:

• • • • • • • • • •

Curve Axis Grid Tab Header Tab Note Tab Legend Tab Marker Tab Marker Table Tab General Tab Table tab

For properties controlled by checkboxes, you can set values for all curves by clicking the column header cell that contains the property title. Right-clicking on a text field cell displays a context menu that lets you cut, copy and paste values. Right-clicking on a menu cell displays a context menu that lets you copy and paste entire rows. 3-42 Working with HFSS Projects

HFSS Online Help

You can use a Restore Defaults button. 2.

Click each tab, and make the desired selections.

3.

Click OK.

Report 2D Options: Curve Tab These options are set on the Curve tab of the Report2D Options dialog box. 1.

Line style -- select the options from the drop down menu. The options are Solid, Dot, Dash, and Dot dash.

2.

Color -- set the color by double clicking to display the Set color dialog. Select a default or custom color and click OK.

3.

Width -- set the line width by editing the real value in the text field.

4.

Arrows -- use the check box to use arrows on the curve ends.

5.

Symbol -- use the check box to have symbols mark the locations of data points on the curve.

6.

Sym Freq -- set the symbol frequency by editing the integer value in the text field.

7.

Sym Style -- select the symbol to display for the designated data points. The sym style can be box, circle, vertical ellipse, horizontal ellipse, vertical up triangle, vertical down triangle, horizontal left triangle, horizontal right triangle.

8.

Fill Sym -- use the check box to set the symbol display as a solid or as hollow.

9.

Sym Color -- set the color for the symbol by double clicking to display the Set color dialog. Select a default or custom color and click OK.

Report2D Options: Axis Tab These options are set on the Axis tab of the Report2D Options dialog box. 1.

Axis Name -- this describes the axis to which the following options refer.

2.

Color -- set the color by double clicking to display the Set color dialog. Select a default or custom color and click OK.

3.

Auto Scale -- use the check box to toggle whether to auto scale the axis.

4.

Min Scale -- if Auto Scale it not selected, edit the real value to set the minimum value of the axix.

5.

Max Scale -- if Auto Scale is not selected, edit the real value to set the maximum value of the axis.

6.

Auto Units -- use the check box compute the correct units for the axis.

7.

Units -- click on the cell to select from a menu of available units if you have not checked Auto Units.

8.

Font color -- set the font color of the axis by double clicking to display the Set color dialog. Select a default or custom color and click OK.

9.

Edit Font -- click the cell to display the Edit Text Font dialog. The dialog lets you select from a list of available fonts, styles, sizes, effects, colors, and script. The dialog also contains a preview field. OK the selections to apply the font edits and to close the dialog. Working with HFSS Projects3-43

HFSS Online Help

Report2D Options: Grid Tab These options are set on the Grid tab of the Report2D Options dialog box. 1.

Grid Name -- lists the name or letter of the grid. Not editable.

2.

Line Style -- select the options from the drop down menu. The options are Solid, Dot, Dash, and Dot dash.

3.

Line Color -- set the color by double clicking to display the Set color dialog. Select a default or custom color and click OK.

Report2D Options: Header Tab These options are set on the Header tab of the Report2D Options dialog box. For the Title and subtitle, you can independently specify the following: 1.

Color -- set the color by double clicking to display the Set color dialog. Select a default or custom color and click OK.

2.

Font -- click the cell to display the Edit Text Font dialog. The dialog lets you select from a list of available fonts, styles, sizes, effects, colors, and script. The dialog also contains a preview field. OK the selections to apply the font edits and to close the dialog.

Report2D Options: Note Tab These options are set on the Note tab of the Report2D Options dialog box. 1.

Note Color -- set the color by double clicking to display the Set color dialog. Select a default or custom color and click OK.

2.

Note Font -- click the cell to display the Edit Text Font dialog. The dialog lets you select from a list of available fonts, styles, sizes, effects, colors, and script. The dialog also contains a preview field. OK the selections to apply the font edits and to close the dialog.

3.

Background Color -- set the color by double clicking to display the Set color dialog. Select a default or custom color and click OK.

4.

Background Visibility -- use the checkbox to toggle the background for the note on or off.

5.

Border Line Color -- set the color by double clicking to display the Set color dialog. Select a default or custom color and click OK.

6.

Border Visibility -- use the checkbox to toggle the visibility of the note border.

7.

Border Line Width -- set the line width by editing the real value in the text field.

Report2D Options: Legend Tab These options are set on the Legend tab of the Report2D Options dialog box. 1.

Show Trace Name -- use the checkbox to toggle the visibility of the trace name.

2.

Show Solution Name -- use the checkbox to toggle the visibility of the solution name.

3.

Show Variation Key -- use the checkbox to toggle the visibility of the variation key.

4.

Text Color -- set the color by double clicking to display the Set color dialog. Select a default or custom color and click OK.

5.

Text Font -- click the cell to display the Edit Text Font dialog. The dialog lets you select from

3-44 Working with HFSS Projects

HFSS Online Help

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. 6.

Background Color -- set the color by double clicking to display the Set color dialog. Select a default or custom color and click OK.

7.

Border Line Color -- set the color by double clicking to display the Set color dialog. Select a default or custom color and click OK.

8.

Border Line Width -- set the line width by editing the real value in the text field.

9.

Grid Color -- set the color by double clicking to display the Set color dialog. Select a default or custom color and click OK.

Report2D Options: Marker tab These options are set on the Marker tab of the Report2D Options dialog box. 1.

Marker Color -- set the color by double clicking to display the Set color dialog. Select a default or custom color and click OK.

2.

Marker Font -- click the cell to display the Edit Text Font dialog. The dialog lets you select from a list of available fonts, styles, sizes, effects, colors, and script. The dialog also contains a preview field. OK the selections to apply the font edits and to close the dialog.

3.

X Marker -- use the following options to set the X Marker properties. a.

Show Intersection -- checkbox to show the intersection.

b.

XMarker Color -- set the color by double clicking to display the Set color dialog. Select a default or custom color and click OK.

c.

XMarker Font -- click the cell to display the Edit Text Font dialog. The dialog lets you select from a list of available fonts, styles, sizes, effects, colors, and script. The dialog also contains a preview field. OK the selections to apply the font edits and to close the dialog.

d.

Box Background Color -- set the color by double clicking to display the Set color dialog. Select a default or custom color and click OK.

e.

Line Color -- set the color by double clicking to display the Set color dialog. Select a default or custom color and click OK.

f.

Line Style -- select the options from the drop down menu. The options are Solid, Dot, Dash, and Dot dash.

g.

Line Width -- set the line width by editing the real value in the text field.

Related Topics Modifying Markers on Point Plots

Report2D Options: Marker Table Tab These options are set on the Marker Table tab of the Report2D Options dialog box. 1.

Precision -- set the precision for marker placement by editing the real value field.

2.

Text Color -- set the color by double clicking to display the Set color dialog. Select a default or custom color and click OK.

3.

Text Font -- click the cell to display the Edit Text Font dialog. The dialog lets you select from Working with HFSS Projects3-45

HFSS Online Help

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. 4.

Background Color -- set the color by double clicking to display the Set color dialog. Select a default or custom color and click OK.

5.

Border Line Color -- set the color by double clicking to display the Set color dialog. Select a default or custom color and click OK.

6.

Border Line Width -- set the line width by editing the real value in the text field.

7.

Grid Color -- set the color by double clicking to display the Set color dialog. Select a default or custom color and click OK.

8.

Grid Line Width -- set the line width by editing the real value in the text field.

Report2D Options: General Tab These options are set on the General tab of the Report2D Options dialog box. 1.

Background Color -- set the color by double clicking to display the Set color dialog. Select a default or custom color and click OK.

2.

Contrast Color -- set the color by double clicking to display the Set color dialog. Select a default or custom color and click OK.

3.

Highlight Color -- set the color by double clicking to display the Set color dialog. Select a default or custom color and click OK.

4.

Accumulate Depth -- .

5.

Curve Tooltip Option -- use the checkboxes to toggle the following properties:

6.

a.

Show Trace Name

b.

Show Variation Key

c.

Show Solution Name

Clipboard Option - use the drop down menus to specify the following properties: a.

Capture Aspect Size Ratio -- this can be As Shown or Full Screen.

b.

Capture Background Color -- this can be As Shown or White.

Report2D Options: Table Tab These options are set on the Table tab of the Report2D Options dialog box. 1.

Text Font -- click the cell to display the Edit Text Font dialog. The dialog lets you select from a list of available fonts, styles, sizes, effects, colors, and script. The dialog also contains a preview field. OK the selections to apply the font edits and to close the dialog.

2.

Format -- use the following properties to set the format:

3.

a.

Field Width -- set the table field width by editing the real value in the text field.

b.

Precision -- set the table precision by editing the real value in the text field.

c.

Use Scientific Notation -- use the checkbox to toggle scientific notation on or off.

Copy to Clipboard -- use the following checkboxes to toggle the following properties for table copy operations.:

3-46 Working with HFSS Projects

HFSS Online Help

a.

With Header

b.

With Tab Separator

Setting Modeler Options To set modeler options in HFSS: 1.

Click Tools>Options>Modeler Options. The Modeler Options window appears, displaying three available tabs:

• • •

Operation Display Drawing

2.

Click each tab, and make the desired selections.

3.

Click OK.

Modeler Options: Operation Tab These options are set on the Operation tab of the Modeler Options dialog box. 1.

To specify when to clone tool objects, select or clear the following check boxes in the Clone section:

• • •

Clone tool objects before uniting Clone tool objects before subtracting Clone tool options before intersecting

2.

In the Coordinate System section, select or clear the Automatically switch to face coordinate system check box.

3.

In the Polyline section, select or clear the Automatically cover closed polylines check box.

4.



If checked, closed polylines become sheet objects, and are listed as such in the History tree.



If unchecked, closed polylines are listed under lines in the History tree.

For the Select last command on object select option.



When this option is on, the history tree is expanded after operations on object properties, even if the tree is collapsed for the item.



When this option is off, when you select an object in 3D view, only the object selected, and current tree collapse/expand state is preserved

Modeler Options: Display Tab These options are set on the Display tab of the Modeler Options dialog box. 1.

To specify a default color for a 3D Modeler drawing object or action (such as on select):



Select the object or action from the Default color pull-down list and click the color button. The Color window appears.



Select a color for the selected object or action, and click OK. Working with HFSS Projects3-47

HFSS Online Help

2.

To specify the default for the View>Render setting for new projects, select WireFrame or SmoothShade from the Default view render pull-down list. When dealing with complicated geometries, choose WireFrame rendering. This is faster than shaded rendering.

3.

To set the Default transparency, move the slider, or enter a numerical value.

4.

Select or clear the Show orientation of selected objects check box.

5.

Select or clear the Highlight selection dynamically check box.

6.

Select or clear Highlight UV Isolines. For models with curved faces, you may prefer to clear this selection to simplify the wire-frame display, so the rendering will be faster.

7.

Under Default tree layout, select or clear the Group objects by material check box.

8.

Under History operations visualization, select or clear the Visualize history of objects check box. The option lets you view an outline of each part that comprises an object when the given part is selected in the model history tree. This can help you visualize an object that has been merged with another object. A change to the option takes effect only when you restart HFSS. Clearing this selection removes visualization of objects that are part of the model history. For large models, this is faster and uses less memory. The following figure shows an example history tree with an object selected and the outline view of that object in the Main window.

3-48 Working with HFSS Projects

HFSS Online Help

Modeler Options: Drawing Tab These options are set on the Drawing tab of the Modeler Options dialog box. 1.

To specify snap settings, select or clear the following check boxes in the Snap Mode section:

• • • • • • 2. 3.

Grid Vertex Edge Center Face Center Quadrant Arc Center

Enter how near the mouse needs to be to click a grid item in the Mouse Sensitivity box, in pixels. Select or clear the Show measures dialog check box. The specifies whether a Properties dialog appears on the creation of a new primitive.

4.

The Operation Data Mode controls whether you draw new objects directly via the mouse, or whether a Properties dialog opens for you to enter dimensions for the object. The Dialog mode drawing feature works with the equation based line, and all two and three dimensional objects.



Point mode - mouse drawing. Working with HFSS Projects3-49

HFSS Online Help



Dialog - enter dimensions in the properties dialog.

You can also use F3 for Point mode and F4 for dialog mode. 5.

To have a Properties dialog display whenever you create a new object in the modeling window, check the box for Edit properties of new primitives.

Report Setup Options To set Report setup options in HFSS: 1.

Click Tools>Options>Report Setup. The Report Setup dialog appears.

2.

Use the checkbox to specify whether to use advanced mode when editing and viewing trace components.

Note

Advanced mode is used automatically if the trace requires it.

3.

Use the text field to specify the number of significant digits to use when displaying numeric values.

4.

Specify the drag and drop behavior by clicking the radio button.

• •

Drag item data Drag item definition

3-50 Working with HFSS Projects

HFSS Online Help

Working with Variables A variable is a numerical value, mathematical expression, or mathematical function that can be assigned to a design parameter in HFSS. Variables are useful in the following situations:

• • •

You expect to change a parameter often.

• •

You intend to optimize a parameter value by running an optimization analysis.

You expect to use the same parameter value often. You intend to run a parametric analysis, in which you specify a series of variable values within a range to solve. You intend to run a convergence on an output variable.

There are two types of variables in HFSS: Project Variables A project variable can be assigned to any parameter value in the HFSS project in which it was created. HFSS differentiates project variables from other types of variables by prefixing the variable name with the following symbol: $. You can manually include the symbol $ in the project variable’s name, or HFSS will automatically append the project variable’s name after you define the variable. Design Variables A design variable can be assigned to any parameter value in the HFSS design in which it was created.

Adding a Project Variable A project variable can be assigned to a parameter value in the HFSS project in which it was created. HFSS differentiates project variables from other types of variables by prefixing the variable name with the following symbol: $. You can manually include the symbol $ in the project variable’s name when you create it, or HFSS will automatically append the project variable’s name with the symbol after you define the variable. 1.

On the Project menu, click Project Variables.



Alternatively, right-click the project name in the project tree, and then click Project Variables on the shortcut menu.

The Properties dialog box appears. 2.

Under the Project Variables tab, click Add. The Add Property dialog box appears.

3.

In the Name text box, type the name of the variable. Project variable names must start with the symbol $ followed by a letter. Variable names may include alphanumeric characters and underscores ( _ ). The names of intrinsic functions and the pre-defined constant pi (π) cannot be used as variable names.

4.

In the Value text box, type the quantity that the variable represents. Optionally, include the

Working with HFSS Projects 3-51

HFSS Online Help

units of measurement. Warning

If you include the variable’s units in its definition (in the Value text box), do not include the variable’s units when you enter the variable name for a parameter value.

The quantity can be a numerical value, a mathematical expression, or a mathematical function. The quantity entered will be the current, (or default) value for the variable. 5.

Click OK. You return to the Properties dialog box. The new variable and its value are listed in the table. If the value is an expression, the evaluated value is shown. Updating the expression also changes the evaluated value display. Any dependent variables also have evaluated values changed.

6.

Optionally, type a description of the variable in the Description text box.

7.

Optionally, select Read Only. The variable’s name, value, unit, and description cannot be modified when Read Only is selected.

8.

Optionally, select Hidden. If you clear the Show Hidden option, the hidden variable will not appear in the Properties dialog box.

The new variable can now be assigned to a parameter value in the project in which it was created. Related Topics Deleting Project Variables

Deleting Project Variables To delete a project variable: 1.

Remove all references to the variable in the project.

2.

Save the project to erase the command history.

3.

Click Project>Project Variables to display the Properties dialog with list of variables.

4.

Select the variable and click Remove and OK.

Adding a Design Variable A design variable is associated with an HFSS design. A design variable can be assigned to a parameter value in the HFSS design in which it was created. 1.

On the HFSS menu, click Design Properties.



Alternatively, right-click the design name in the project tree, and then click Design Properties on the shortcut menu.

The Properties dialog box appears. 2.

Under the Local Variables tab, click Add.

3-52 Working with HFSS Projects

HFSS Online Help

The Add Property dialog box appears. 3.

In the Name text box, type the name of the variable. Variable names must start with a letter, and may include alphanumeric characters and underscores ( _ ). The names of intrinsic functions and the pre-defined constant pi (π) cannot be used as variable names.

4.

In the Value text box, type the quantity that the variable represents. Optionally, include the units of measurement.

Note

If you include the variable’s units in its definition (in the Value text box), do not include the variable’s units when you enter the variable name for a parameter value.

The quantity can be a numerical value, a mathematical expression, or a mathematical function. The quantity entered will be the current (or default value) for the variable. Note

5.

Complex numbers are not allowed for variables to be used in an Optimetrics sweep, or for optimization, statistical, sensitivity or tuning setups.

Click OK. You return to the Properties dialog box. The new variable and its value are listed in the table. If the value is an expression, the evaluated value is shown. Updating the expression also changes the evaluated value display. Any dependent variables also have evaluated values changed.

6.

Optionally, type a description of the variable in the Description text box.

The new variable can now be assigned to a parameter value in the design in which it was created. Related Topics Deleting Design Variables

Deleting Design Variables To delete a design variable:

1.

Remove all references to the variable in the design.

2.

Save the project to erase the command history.

3.

Click HFSS>Design Properties to display the Properties dialog with list of local variables.

4.

Select the variable and click Remove and OK.

Working with HFSS Projects 3-53

HFSS Online Help

Defining an Expression Expressions are mathematical descriptions that typically contain intrinsic functions, such as sin(x), and arithmetic operators, such as +, -, *, and /, well as defined variables. For example, you could define: x_size = 1mm, y_size = x_size + sin(x_size).. The Constants tab of the Project Variables dialog lists the available pre-defined constants.These may not be reassigned a new value. Name

Value

Description

abs0

-273.15

Boltz

1.3806503E-023

Boltzmann constant (J/K)

c0

299792458

Speed of light in vacuum (m/s)

elecq

8.854187817e-012

Permittivity of vacuum (F/m)

eta

376.730313461

Electron Charge (C)

g0

9.80665

mathE

2.718281828

.

pi

3.14159265358979

Ratio of circle circumference

planck

6.6260755e-034

.

u0

1.25663706143582e-066 Permeability of vacuum (H/m)

Numerical values may be entered in Ansoft’s shorthand for scientific notation. For example, 5x107 could be entered as 5e7.

Using Valid Operators for Expressions The operators that can be used to define an expression or function have a sequence in which they will be performed. The following list shows both the valid operators and the sequence in which they are accepted (listed in decreasing precedence): ()

parenthesis

1

!

not

2

^ (or **)

exponentiation

3

(If you use "**" for exponentiation, as in previous software versions, it is automatically changed to "^".)

3-54 Working with HFSS Projects

HFSS Online Help

-

unary minus

4

*

multiplication

5

/

division

5

+

addition

6

-

subtraction

6

==

equals

7

!=

not equals

7

>

greater than

7


=

greater than or equal to

7

Datasets. For a Design level dataset, click HFSS>Design Datasets. The Datasets dialog box appears. This lists any existing datasets for the Project or Design level, respectively.

2.

Click Add. The Add Dataset dialog box appears. The dialog contains fields for the Dataset name, and a table for x- and y- coordinates. It contains a graphic display that draws a line for the coordinates you add. It also includes buttons for the following functions:

3. 4.

• •

Swap X-Y Data - this swaps the x- and Y- coordinates and adjusts the graphical display.



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.

• • • •

Add Row Above - adds a new row to the table above the selected row.

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.

Add Row Below - adds a new row to the table below the selected row/ Append Row - opens a dialog that lets you specify a number of rows to add to the table. Delete Row - deletes the selected row or rows.

Optionally, type a name other than the default for the dataset in the Name text box. Enter the x- and y- coordinates by one of the following methods

• •

Import Dataset Type the x- and y-coordinates for the first data point in the row labeled 1.Type the x- and y-coordinates for the remaining data points in the dataset using the same method. After you type a point’s coordinates and move to the next row, the point is added to the plot, adjusting the display with each newly entered point.

5.

When you are finished entering the data point coordinates, click OK.

3-58 Working with HFSS Projects

HFSS Online Help

The dataset plot is extrapolated into an expression that can be used in parametric analyses, boundary definitions, or assigned to a material property value. Related Topics Adding a Design Variable Modifying Datasets Using Piecewise Linear Functions in Expressions Using Dataset Expressions

Modifying Datasets 1.

For Project level datasets, click Project>Datasets. For Design level datasets, click HFSS>Design Datasets. The Datasets dialog box appears.

2.

Click the dataset name you want to modify, and then click Edit. The Edit Dataset dialog box appears.

3.

Optionally, type a name other than the default for the dataset in the Name text box.

4.

Type new values for the data points as desired. The plot is adjusted to reflect the revised data points.

5.

When you are finished entering the data point coordinates, click OK.

Related Topics Adding Datasets Adding a Design Variable Modifying Datasets Using Piecewise Linear Functions in Expressions Using Dataset Expressions

Defining Mathematical Functions A mathematical function is an expression that references another defined variable. A function’s definition can include both expressions and variables. The following mathematical functions may be used to define expressions: Basic Functions

/, +, -, *, mod (modulus), ** (exponentiation), - (Unary minus), == (equals), ! (not), != (not equals), > (greater than), < (less than), >= (greater than equals), Save.

Drawing a Model 5-1

HFSS Online Help

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 line, 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. One-dimensional (1D) objects in HFSS include straight line, arc line, and spline segments, or a combination of these - called polylines. One-dimensional objects are open objects; their boundaries do not enclose a region, unless you connect their endpoints. They have length, but no surface or volume. Generally they are used as temporary objects from which to create 2D objects. Two-dimensional (2D) objects in HFSS include objects such as arcs, 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. When this surface is drawn as a sheet

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 checkbox. Within the calculator sheet objects are listed under surface. Three-dimensional (3D) objects in HFSS include objects such as boxes, cylinders, regular polyhedrons, cones, spheres, toruses, 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. By default, the history tree groups 3D objects by material. To change this, select the Objects icon, and right click to display the Group Objects by Material checkbox. 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. Parameters that can be assigned a value can be assigned a variable. Related Topics Modifying Objects Drawing a Region

Drawing a Straight Line Segment To create an object with one or more straight line segments, use the Draw>Line command. 1.

On the Draw menu, click Line

2.

Select the first point of the line in one of the following ways:

• •

.

Click the point. Type the point’s coordinates in the X, Y, and Z boxes.

To delete the last point that was entered, click Back Up on the shortcut menu. 5-2 Drawing a Model

HFSS Online Help

3.

Select the endpoint of the line by clicking the point or typing the coordinates in the X, Y, and Z boxes. The endpoint serves as the start point for a subsequent line segment. To delete all points and start over, press ESC or click Escape Draw Mode on the shortcut menu.

4.

Complete the line in one of the following ways:

• • •

Double-click the endpoint. Click Done on the shortcut menu. Press Enter.

The Properties dialog box appears, enabling you to modify the object’s attributes. 5.

Click OK.

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.

Related Topics Deleting Polyline Segments Converting Polyline Segments

Drawing a Three-Point Arc Line In HFSS, a three-point arc line segment is an arced line defined by three points on its curve. Use the Draw>Arc>3 Point command to create a polyline object with one or more arc line segments. 1. 2.

On the Draw menu, point to Arc, and then click 3 Point Select the start point of the arc in one of the following ways:

• • 3.

.

Click the point. Type the point’s coordinates in the X, Y, and Z text boxes.

Select the midpoint of the arc by clicking the point or typing the coordinates in the X, Y, and Z boxes. To delete the last point that was entered, click Back Up 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 X, Y, and Z boxes. 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. The Properties dialog box appears, enabling you to modify the object’s attributes.

6.

Click OK. Drawing a Model 5-3

HFSS Online Help

Based on the three points you specified, HFSS calculates the center point and radius of the arc and draws an arced line through the three points. Note

While drawing a polyline, you can switch between arc line, straight line, or spline segments using the Set Edge Type commands on the shortcut menu.

Related Topics Drawing a Center-Point Arc Line Deleting Polyline Segments Converting Polyline Segments

Drawing a Center-Point Arc Line In HFSS, a center-point arc line segment is an arced line defined by a center point, start point and angle. Use the Draw>Arc>Center Point command to create a polyline object with one or more center-point arc line segments. 1. 2.

On the Draw menu, point to Arc, and then click Center Point Select the center point of the arc in one of the following ways:

• • 3.

.

Click the point. Type the point’s coordinates in the X, Y, and Z text boxes.

Select the start point, or radius, of the arc by clicking the point or typing the coordinates in the X, Y, and Z boxes. To delete the last point that was entered, click Back Up 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 angle, or endpoint, of the arc by clicking the point or typing the coordinates in the X, Y, and Z boxes.

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. The Properties dialog box appears, enabling you to modify the object’s attributes.

6.

Click OK.

Note

While drawing a polyline, you can switch between arc line, straight line, or spline segments using the Set Edge Type commands on the shortcut menu.

Drawing a Spline A spline is a curved line defined by three points. HFSS 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.

5-4 Drawing a Model

HFSS Online Help

1.

On the Draw menu, click Spline

2.

Select the spline’s start point in one of the following ways:

• •

.

Click the point. Type the point’s coordinates in the X, Y, and Z boxes, and then press Enter.

To delete the last point entered, click Back Up on the shortcut menu. To delete all selected points and start over, press ESC or click Escape Draw Mode on the shortcut menu. 3.

Select the midpoint of the spline by clicking the point or typing the coordinates in the X, Y, and Z boxes.

4.

Select the endpoint of the spline by clicking the point or typing the coordinates in the X, Y, and Z boxes.

5.

Complete the spline in one of the following ways:

The endpoint serves as the start point for a subsequent spline segment.

• • •

Double-click the endpoint. Click Done on the shortcut menu. Press Enter.

The Properties dialog box appears, enabling you to modify the object’s attributes. 6.

Click OK.

Note

While drawing a polyline, you can switch between spline, straight line, or arc line segments using the Set Edge Type commands on the shortcut menu.

Related Topics Deleting Polyline Segments Converting Polyline Segments

Drawing a Polyline A polyline is a single object that includes any combination of straight line, arc line, or spline segments. The endpoint of one segment is the start point for the next segment. Use the shortcut menu’s Set Edge Type commands to switch between straight line, arc line, or spline segments while drawing a polyline. In the Polyline section of Operation tab of the Modeler Options, select or clear the Automatically cover closed polylines check box. If checked, closed polylines become sheet objects, and are listed as such in the History tree. If unchecked, closed polylines are listed under lines in the History tree. 1.

On the Draw menu, click Line

2.

Right-click in the 3D Modeler window to access the shortcut menu, and then point to Set

.

Drawing a Model 5-5

HFSS Online Help

Edge Type. 3.

Click Straight, Spline, 3 Point Arc, or Center Point Arc depending on which type of polyline segment you want to draw.

4.

If you clicked Straight, follow the procedure for drawing a straight line. If you clicked Spline, follow the procedure for drawing a spline. If you clicked 3 Point Arc, follow the procedure for drawing a three-point arc line. If you clicked Center Point Arc, follow the procedure for drawing a center-point arc line.

5.

Repeat steps 2 and 3 for each segment of the polyline object. The endpoint of the previous segment serves as the start point for the next segment.

6.

Complete the polyline in one of the following ways:

• • Note

Double-click the endpoint of the final segment. Click Done on the shortcut menu. To connect the polyline’s start and endpoints, click Close Polyline on the shortcut menu.

The Properties dialog box appears, enabling you to modify the object’s attributes. 7.

Click OK.

Related Topics Deleting Polyline Segments Converting Polyline Segments Modifying Lines on Line Plots Generate History Setting Modeler Options: Operations Tab

Inserting Line Segments You can insert line segments of various kinds for existing line objects. 1.

Select the line object in the History tree This highlights the object and enables the Insert Line Segment commands in the Draw menu and short-cut menu.

2.

Use the cascade menu from the Draw>Line Segment command to or the right-click menu to select whether to Insert Before Line Segment or Insert After Line Segment.

3.

Use the next cascade menu to specify the kind of segment to add. These can be: Straight, Spline. 3 Point Arc, or Center Point Arc.

4.

If you clicked Straight, follow the procedure for drawing a straight line. If you clicked Spline, follow the procedure for drawing a spline. If you clicked 3 Point Arc, follow the procedure for drawing a three-point arc line. If you clicked Center Point Arc, follow the procedure for drawing a center-point arc line.

5.

Repeat steps 2 and 3 for each segment of the polyline object. The endpoint of the previous seg-

5-6 Drawing a Model

HFSS Online Help

ment serves as the start point for the next segment. 6.

Complete the polyline in one of the following ways:

• • Note

Double-click the endpoint of the final segment. Click Done on the shortcut menu. To connect the polyline’s start and endpoints, click Close Polyline on the shortcut menu.

The Properties dialog box appears, enabling you to modify the object’s attributes. 7.

Click OK.

Related Topics Drawing a Center-Point Arc Line Deleting Polyline Segments Converting Polyline Segments

Drawing an Equation-Based Curve Any line that can be described by an equation in three dimensions can be drawn. 1.

On the Draw menu, click Equation Based Curve

.

2.

The Equation Based Curve dialog box opens. Enter the equations for the X, Y, and Z components of the curve in terms of parameter _t. Use the ellipsis (...) buttons to open an Edit Equation dialog box which allows you to select from the available functions, operators, and quantities.

3.

Enter the lower and upper bounds for the parameter _t.

4.

Enter the number of points to be used to analyze or compute values along the line segment.

5.

Click OK on the Equation Based Curve dialog box. The Properties dialog box appears, enabling you to modify the object’s attributes.

6.

Click OK on the Properties dialog box.

Drawing a Circle Draw a circle by selecting a center point and a radius. Circles are drawn as true surfaces in HFSS. 1.

On the Draw menu, click Circle

2.

Select the center point of the circle in one of the following ways:

• • 3.

.

Click the point. Type the point’s coordinates in the X, Y, and Z boxes.

Specify the radius by selecting a point on the circle’s circumference in one of the following ways:



Click the point. Drawing a Model 5-7

HFSS Online Help



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.

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 HFSS 3D Geometry Modeler permits drawing of true-curved objects. However, the solution will be obtained with a tetrahedral mesh which conforms to the true surface only within the limits identified by certain mesh settings. HFSS has default settings for this conformance which is a reasonable trade-off between solution speed and solution quality for most objects, but may not be ideal for all such objects. High-aspect ratio curves structures, such as helices with narrow and curved cross-sections, may benefit from user control of the faceting values. For details about these commands see: Technical Notes, "Surface Approximations" and related sections, "Modifying Surface Approximations," and "Guidelines for Modifying Surface Approximations"

Related Topics Surface Approximation Creating Segmented Geometry Covering Lines

Drawing an Ellipse Draw an ellipse by specifying a center point, base radius, and secondary radius. 1.

On the Draw menu, click Ellipse

2.

Select the center point of the ellipse in one of the following ways:

• • 3.

Click the point. Type the point’s coordinates in the X, Y, and Z boxes.

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:

• • 4.

.

Click the point. HFSS constrains mouse movement to the base radius direction. 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.

Specify the secondary radius of the ellipse. Select the point in one of the following ways:

• 5-8 Drawing a Model

Click the point. HFSS constrains mouse movement to a point on the plane orthogonal to the base radius direction.

HFSS Online Help



Type the coordinates of a point relative to the center point in the dX, dY, or dZ box.

The Properties dialog box appears, enabling you to modify the object’s properties. The Ratio value represents the aspect ratio of the secondary radius to the base radius. 5.

Click OK. If the Automatically cover closed polyline option is selected in the Modeler Options window, the ellipse will be covered, resulting in a 2D sheet object. Otherwise it will be a closed 1D polyline object.

If the base radius is larger than the secondary radius, the ellipse’s longer axis will lie along the default base radius direction. If the secondary radius is larger than the base radius, the ellipse’s longer axis will lie perpendicular to the default base radius direction. To create an ellipse with an arbitrary orientation, rotate or move the ellipse after drawing it.

Note

The HFSS 3D Geometry Modeler permits drawing of true-curved objects. However, the solution will be obtained with a tetrahedral mesh which conforms to the true surface only within the limits identified by certain mesh settings. HFSS has default settings for this conformance which is a reasonable trade-off between solution speed and solution quality for most objects, but may not be ideal for all such objects. High-aspect ratio curves structures, such as helices with narrow and curved cross-sections, may benefit from user control of the faceting values. For details about these commands see: Technical Notes, "Surface Approximations" and related sections, "Modifying Surface Approximations," and "Guidelines for Modifying Surface Approximations"

Related Topics Modifying Surface Approximation Settings Creating Segmented Geometry Covering Lines

Drawing a Rectangle Draw a rectangle (or square) by selecting two diagonally opposite corners. 1. 2.

On the Draw menu, click Rectangle

.

Select the first diagonal corner in one of the following ways:

• •

Click the point. Type the point’s coordinates in the X, Y, and Z boxes.

To delete the selected point and start over, press ESC or click Escape Draw Mode on the shortcut menu. 3.

Select the second corner of the rectangle in one of the following ways:

• •

Click the point. Type the coordinates of the point relative to the first diagonal corner in the dX, dY, and Drawing a Model 5-9

HFSS Online Help

dZ boxes, where d is the distance from the previously selected point. The Properties dialog box appears, enabling you to modify the object’s properties. 4.

Click OK. If the Automatically cover closed polyline option is selected in the Modeler Options window, the rectangle will be covered, resulting in a 2D sheet object. Otherwise it will be a closed 1D polyline object.

Related Topics Covering Lines

Drawing a Regular Polygon A regular polygon is a 2D object with three or more equal sides. Regular polygons are useful for drawing faceted 2D objects. 1.

On the Draw menu, click Regular Polygon

2.

Select the center point of the polygon in one of the following ways:

• • 3.

Click the point. Type the point’s coordinates in the X, Y, and Z boxes.

Specify the polygon’s radius, the distance from the center point to one of the polygon’s vertices, in one of the following ways:

• • 4.

.

Click the point. 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.

In the Segment number dialog box, enter the Number of segments in the polygon, and then click OK. 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. Related Topics Covering Lines

5-10 Drawing a Model

HFSS Online Help

Drawing an Equation-Based Surface Any surface that can be described by an equation in three dimensions can be drawn. 1.

On the Draw menu, click Equation Based Surface

.

2.

The Equation Based Surface dialog box opens. Enter the equations for the X, Y, and Z components of the surface in terms of parameters _u and _v. Use the ellipsis (...) buttons to open an Edit Equation dialog box which allows you to select from the available functions, operators, and quantities.

3.

Enter the lower and upper bounds (start and end values) for the parameter _u.

4.

Enter the lower and upper bounds (start and end values) for the parameter _v.

5.

Click OK on the Equation Based Surface dialog box. The Properties dialog box appears, enabling you to modify the object’s attributes.

6.

Click OK on the Properties dialog box.

Drawing a Sphere Draw a sphere, a 3D circle, by selecting a center point and a radius. Spheres are drawn as true surfaces in HFSS. 1. 2.

On the Draw menu, click Sphere

Select the center point of the sphere in one of the following ways:

• • 3.

.

Click the point. Type the point’s coordinates in the X, Y, and Z boxes.

Specify the radius by selecting a point on the sphere’s circumference in one of the following ways:

• •

Click the point. 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.

The Properties dialog box appears, enabling you to modify the object’s properties. 4.

Click OK.

Note

The HFSS 3D Geometry Modeler permits drawing of true-curved objects. However, the solution will be obtained with a tetrahedral mesh which conforms to the true surface only within the limits identified by certain mesh settings. HFSS has default settings for this conformance which is a reasonable trade-off between solution speed and solution quality for most objects, but may not be ideal for all such objects. High-aspect ratio curves structures, such as helices with narrow and curved cross-sections, may benefit from user control of the faceting values. For details about these commands see: Technical Notes, "Surface Approximations" and related sections, "Modifying Surface Approximations," and "Guidelines for Modifying Surface Approximations"

Drawing a Model 5-11

HFSS Online Help

Drawing a Cylinder Draw a cylinder by selecting a center point, radius, and height. Cylinders are drawn as true surfaces in HFSS. 1. 2.

On the Draw menu, click Cylinder

Select the center point of the cylinder’s base circle in one of the following ways:

• • 3.

Click the point. Type the point’s coordinates in the X, Y, and Z boxes.

Specify the radius by selecting a point on the base circle’s circumference in one of the following ways:

• • 4.

.

Click the point. 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.

Specify the cylinder’s height by selecting a point on the axis perpendicular to the base circle’s plane. Select the point by clicking the point or typing the coordinates in the dX, dY, and dZ boxes.

Note

If you create a cylinder with a height of zero, HFSS draws a circular sheet object.

The Properties dialog box appears, enabling you to modify the object’s properties. 5.

Click OK.

Note

The HFSS 3D Geometry Modeler permits drawing of true-curved objects. However, the solution will be obtained with a tetrahedral mesh which conforms to the true surface only within the limits identified by certain mesh settings. HFSS has default settings for this conformance which is a reasonable trade-off between solution speed and solution quality for most objects, but may not be ideal for all such objects. High-aspect ratio curves structures, such as helices with narrow and curved cross-sections, may benefit from user control of the faceting values. For details about these commands see: Technical Notes, "Surface Approximations" and related sections, "Modifying Surface Approximations," and "Guidelines for Modifying Surface Approximations"

Related Topics Modifying Surface Approximation Settings Creating Segmented Geometry

5-12 Drawing a Model

HFSS Online Help

Drawing a Box Draw a box by selecting two diagonally opposite corners of the base rectangle, then specifying the height. 1. 2.

On the Draw menu, click Box

.

Select the first diagonal corner of the base rectangle in one of the following ways:

• •

Click the point. Type the point’s coordinates in the X, Y, and Z boxes.

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:

• • 4.

Click the point. 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.

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. The Properties dialog box appears, enabling you to modify the object’s properties.

5.

Click OK.

Drawing a Regular Polyhedron In HFSS, regular polyhedrons are 3D objects with regular polygon faces; each face has three or more equal sides. Regular polyhedrons are useful for drawing faceted 3D objects. 1.

On the Draw menu, click Regular Polyhedron

2.

Select the center point of the polyhedron in one of the following ways:

• • 3.

Click the point. Type the point’s coordinates in the X, Y, and Z boxes.

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:

• • 4.

.

Click the point. 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.

In the Segment number dialog box, enter the Number of segments in the polyhedron, and then click OK. The Properties dialog box appears, enabling you to modify the object’s properties.

5.

Click OK.

Drawing a Model 5-13

HFSS Online Help

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 HFSS. 1.

On the Draw menu, click Cone

2.

Select the center point of the cone’s base circle in one of the following ways:

• • 3.

Click the point. Type the point’s coordinates in the X, Y, and Z boxes.

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:

• • 4.

.

Click the point. 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.

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. The Properties dialog box appears, enabling you to modify the object’s properties.

6.

Click OK.

Note

The HFSS 3D Geometry Modeler permits drawing of true-curved objects. However, the solution will be obtained with a tetrahedral mesh which conforms to the true surface only within the limits identified by certain mesh settings. HFSS has default settings for this conformance which is a reasonable trade-off between solution speed and solution quality for most objects, but may not be ideal for all such objects. High-aspect ratio curves structures, such as helices with narrow and curved cross-sections, may benefit from user control of the faceting values. For details about these commands see: Technical Notes, "Surface Approximations" and related sections, "Modifying Surface Approximations," and "Guidelines for Modifying Surface Approximations"

Drawing a Torus Draw a torus by selecting its center point, major radius, and minor radius. HFSS then sweeps a circle around a circular path. Toruses are drawn as true surfaces in HFSS. 1.

On the Draw menu, click Torus

2.

Select the center point of the torus in one of the following ways:

5-14 Drawing a Model

.

HFSS Online Help

• • 3.

Click the point. Type the point’s coordinates in the X, Y, and Z boxes.

Specify the major radius by selecting a point in one of the following ways:

• •

Click the point. 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.

The major radius determines the diameter of the torus. 4.

Specify the minor radius by selecting a point relative to the major radius point. The minor radius determines the diameter of the "donut hole". The Properties dialog box appears, enabling you to modify the object’s properties.

5.

Click OK.

Note

The HFSS 3D Geometry Modeler permits drawing of true-curved objects. However, the solution will be obtained with a tetrahedral mesh which conforms to the true surface only within the limits identified by certain mesh settings. HFSS has default settings for this conformance which is a reasonable trade-off between solution speed and solution quality for most objects, but may not be ideal for all such objects. High-aspect ratio curves structures, such as helices with narrow and curved cross-sections, may benefit from user control of the faceting values. For details about these commands see: Technical Notes, "Surface Approximations" and related sections, "Modifying Surface Approximations," and "Guidelines for Modifying Surface Approximations"

Drawing a Helix A helix is a 3D spiral object created by sweeping a 1D or 2D object along a vector. Sweeping a 1D object results in a hollow 3D object. Sweeping a 2D sheet object results in a 3D solid object. 1.

Select the 1D or 2D object you want to sweep to form a helix.

2.

On the Draw menu, click Helix

3.

Draw the vector you want to sweep the object along. The two points which describe the vector affect axis direction only and not the helix length. The helix length is determined by entry of the pitch and number of turns.

.

a.

Select the start point by clicking the point or typing its coordinates in the X, Y, and Z text boxes.

b.

Select the endpoint by clicking the point or typing its coordinates relative to the start point in the dX, dY, and dZ boxes. The Helix dialog box appears. 1.

For Turn Direction, select Right hand if the turn direction is clockwise and Left hand if the turn direction is counter-clockwise. Drawing a Model 5-15

HFSS Online Help

2.

In the Pitch text box, type the distance between each turn in the helix, and click a unit in the pull-down list.

3.

In the Turns text box, type the number of complete revolutions the object will make along the vector.

4.

In the Radius Change per Turn text box, type a number for the increase in the radius and select the units from the pull-down list.

After you set these values, the selected object is swept along the vector to form a helix. The original object you swept is deleted. The Properties dialog box appears, enabling you to modify the object’s properties. 5.

Click OK.

Note

The HFSS 3D Geometry Modeler permits drawing of true-curved objects. However, the solution will be obtained with a tetrahedral mesh which conforms to the true surface only within the limits identified by certain mesh settings. HFSS has default settings for this conformance which is a reasonable trade-off between solution speed and solution quality for most objects, but may not be ideal for all such objects. High-aspect ratio curves structures, such as helices with narrow and curved cross-sections, may benefit from user control of the faceting values. For details about these commands see: Technical Notes, "Surface Approximations" and related sections, "Modifying Surface Approximations," and "Guidelines for Modifying Surface Approximations"

Related Topics Drawing a Segmented Helix with Polygon Cross-Section using a User-Defined Primitive Drawing a Segmented Helix with Rectangular Cross-Section using a User Defined Primitive.

Drawing a Segmented Helix with Polygon Cross-Section Using a User Defined Primitive Ansoft provides you with a DLL to define the parameters of a segmented helix with a polygon cross-section. 1.

Click Draw>User Defined Primitive>SysLib>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.

5-16 Drawing a Model

HFSS Online Help

2.

Specify the values for the following parameters: PolygonSegments Number of segments in the polygon cross-section. Enter zero (0) for true circle PolygonRadius

Radius of the polygon cross-section.

StartHelixRadius The radius of a segmented helix is defined from the helix center of rotation to the center of the helix cross-section at segment transitions. The first and last segments of the helix are half segments. See this figure. RadiusChange

The radius change per turn of the helix.

Pitch

Distance between helix turns.

Turns

The number of turns in the helix.

SegmentsPerTurn The number of segments constructing each turn. Enter zero (0) for true curve. RightHanded 3.

Helix winding direction. Enter non-zero value for righthanded helix.

Click OK.

Related Topics Creating a User Defined Primitive Drawing a Segmented Helix with Rectangular Cross Section Using a User Defined Primitive

Drawing a Segmented Helix with Rectangular Cross-Section Using a User Defined Primitive Ansoft provides you with a DLL to define the parameters of a segmented helix with a rectangular cross-section. 1.

Click Draw>User Defined Primitive>SysLib>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.

2.

Specify the values for the following parameters: RectHeight

Height of rectangular cross-section.

RectWidth

Width of rectangular cross-section.

StartHelixRadius The radius of a segmented helix is defined from the helix center of rotation to the center of the helix cross-section at segment transitions. The first and last segments of the helix are half segments. See this figure. RadiusChange

The radius change per turn of the helix. Drawing a Model 5-17

HFSS Online Help

Pitch

Distance between helix turns.

Turns

The number of turns in the helix.

SegmentsPerTurn The number of segments constructing each turn. Enter zero (0) for true curve. RightHanded 3.

Helix winding direction. Enter non-zero value for righthanded helix.

Click OK.

Related Topics Creating a User Defined Primitive Drawing a Segmented Helix with Polygon Cross-Section using a User-Defined Primitive

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. 1.

Select the 1D or 2D object you want to sweep to form a spiral.

2.

On the Draw menu, click Spiral

5-18 Drawing a Model

.

HFSS Online Help

3.

Draw the vector you want to sweep the object around: a.

Select the start point by clicking the point or typing its coordinates in the X, Y, and Z text boxes.

b.

Select the endpoint by clicking the point or typing its coordinates relative to the start point in the dX, dY, and dZ boxes. The Spiral dialog box appears.

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.

6.

Click a unit for the radius in the pull-down list.

7.

In the Turns text box, type the number of complete revolutions the object will make around the vector. The selected object is swept around the vector to form a spiral. The original object you swept is deleted.The Properties dialog box appears, enabling you to modify the object’s properties.

8.

Click OK.

This 3D spiral was created from a 2D circle drawn at z = 0. The turn direction was right hand, Drawing a Model 5-19

HFSS Online Help

the radius change was set at 2, and the number of turns was set at 2.

Note

The HFSS 3D Geometry Modeler permits drawing of true-curved objects. However, the solution will be obtained with a tetrahedral mesh which conforms to the true surface only within the limits identified by certain mesh settings. HFSS has default settings for this conformance which is a reasonable trade-off between solution speed and solution quality for most objects, but may not be ideal for all such objects. High-aspect ratio curves structures, such as helices with narrow and curved cross-sections, may benefit from user control of the faceting values. For details about these commands see: Technical Notes, "Surface Approximations" and related sections, "Modifying Surface Approximations," and "Guidelines for Modifying Surface Approximations"

Related Topics Drawing a Spiral Using User Defined Primitives

Drawing Spiral using User Defined Primitives Ansoft provides you with a DLL to define the parameters of a rectangular spiral. 1.

Click Draw>User Defined Primitive>SysLib>Examples>RectangularSpiral. The Create User Defined Part dialog box appears. The Parameters tab permits you to see 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.

2.

3.

Specify the values for the following parameters: Xpos

Type the location of the starting point in the X direction.

Ypos

Type the location of the starting point in the Y direction.

TurnSep

Type the separation distance between turns.

Turns

Type the number of complete revolutions the object will make around the vector

Width

Type a value for the width of the spiral.

Height

Type a value for the height of the spiral. If you specify the height as zero, HFSS draws a sheet object.

Click OK. This creates the primitive and displays the Properties dialog for the new object.

Hint

To see newly created DLLs, click Draw>User Defined Primitive>Update Menu. To see the primitives that you have created, click Draw>User Defined Primitive>UserLib.

5-20 Drawing a Model

HFSS Online Help

Related Topics Creating a User Defined Primitive Drawing a Spiral

Drawing a Bondwire A bondwire is a thin metal wire that connects a metal signal trace with a chip. Please see the topic Bondwires in the Technical Notes before drawing a bondwire. 1.

On the Draw menu, click Bondwire

2.

Select the bond pad point in one of the following ways:

• • 3.

.

Click the point. Type the point’s coordinates in the X, Y, and Z boxes.

Select the lead point by clicking the point or typing the coordinates in the X, Y, and Z boxes. The Bondwires dialog box appears.

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 dialogue 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 pull-down menu.

7.

Enter the height between the bond pad and the top of the loop in the h1 text box. Include the height’s unit of length.

8.

The value in the h2 text box is the height between the bond pad and the lead point. It was calculated by HFSS 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.

9.

If you selected JEDEC 5-point or Low do the following: a.

Type the angle between the horizontal plane and the wire at the bond pad point in the alpha text box.

b.

Type the angle between the horizontal plane and the wire at the lead point in the beta text box.

10. Click OK. Related Topics Technical Notes: Bondwires

Drawing a Model 5-21

HFSS Online Help

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 HFSS. 1. 2.

On the Draw menu, click Point

.

Select the point in one of the following ways:

• •

Click the point. Type the point’s coordinates in the X, Y, and Z boxes.

The point is listed under Points in the history tree. Related Topics Modifying Markers on Point Plots Drawing Non-Model Objects

Drawing a Plane A plane object is a cutplane through the problem region. You can plot fields or perform field computations on its surface. Planes are always considered non-model objects by HFSS. 1.

On the Draw menu, click Plane

2.

Select the origin in one of the following ways:

• •

.

Click the point. Type the point’s coordinates in the X, Y, and Z boxes.

To delete the selected point and start over, press ESC. 3.

Select a normal point in one of the following ways:

• •

Click the point. Type the coordinates of the point relative to the origin in the dX, dY, and dZ boxes, where d is the distance from the previously selected point.

The plane is created. Its center point is located at the origin you specified and oriented perpendicular to the normal point you specified. The 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.

Related Topics Drawing Non-Model Objects

5-22 Drawing a Model

HFSS Online Help

Creating Segmented Geometry For some structures, you may want to create segmented as opposed to smooth (or True) surfaces. The figure below shows a comparison of a cylinder created with true surfaces and with segmented surfaces.

The following model objects can be created as segmented structures: Circle, Ellipse, Cylinder

See Segmented Objects

Polyline, Arc, Line Segment

See Converting Polyline Segments

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

Drawing a Model 5-23

HFSS Online Help

Segments to an integer value of three or greater and press Enter.

Values of 1 and 2 are not valid values for the circle, ellipse, or cylinder command and will cause an error. Related Topics Modifying Surface Approximation Settings Creating Segmented Geometry

Drawing Non-Model Objects If you want to create an object that does not affect the geometric model, define the object as non model. This ensures that the object is used for analysis only; it will not affect the solution process. Following are examples of using non-model objects to analyze a solution:



Draw a polyline along which to plot fields or perform field computations. Note that when you create a value versus distance plot, by default, the line will be divided into 100 equally spaced points. You can modify the number of points into which the line is divided in the Edit Sweeps dialog box.

• •

Draw a rectangle upon which to plot fields or perform field computations. Draw a volume box to analyze fields in areas of the problem region that are not occupied by an

5-24 Drawing a Model

HFSS Online Help

object or that consist of parts of several objects.

• •

Draw a plane, which is always a non-model object. Draw a point object, which is always a non-model object, in order to plot fields or perform field computations at that point.

What do you want to do? Switch to non-model drawing mode. Objects you draw in non-model mode will not be included in the solution process. Modify an existing model object to be a non-model object.

Selecting Non-Model Drawing Mode To switch to non-model drawing mode: 1.

On the Modeler menu, point to New Object Type, and then click Non Model.



2.

Alternatively, click Non Model on the drawing model pull-down list in the 3D Modeler Draw toolbar:

Draw the object.

Related Topics Changing an Object to Non Model Drawing Non-Model Objects

Changing an Object to Non Model To modify an existing object to be a non-model object: 1.

Select the object you want to modify.

2.

In the Properties dialog box, clear the Model option. The object will not be included in the solution process. If the object lies in the problem region, you can plot solution quantities on it.

Related Topics Selecting Non-Model Drawing Mode Drawing Non-Model Objects

Drawing a Region To draw a region encompassing the objects in the current project:

Drawing a Model 5-25

HFSS Online Help

1.

Click HFSS>Draw>Region or click the

icon on the tool bar.

This displays the Region dialog. 2.

For the Padding data, click the Padding Data radio button as Pad All Directions or Pad Individual Directions. Selecting Pad All Directions leaves the Padding Percentage field as requiring a single value that affects all directions. Selecting Pad Individual Directions displays the Padding Percentage as a table of Positive and Negative X,Y, and Z coordinates, permitting you to specify padding for each direction.

3.

Specify the Padding.

4.

If desired, click the check box to save the values as Default.

5.

Click OK to close the dialog and create the region. The region is drawn, selected, and displayed in the History tree. The Properties dialog for the region has a Commands tab that shows the coordinate system and Padding values, and the Attributes tab includes properties for Name, Material (Default, vacuum), Solve inside, Orientation, Model, Color, Display Wireframe, and Transparency. All of these values can be edited. If a region already exists, executing the command displays the Properties for the existing region.

5-26 Drawing a Model

HFSS Online Help

Model Analysis For some models it may be beneficial to remove unnecessary small entities and to fix object misalignments to avoid potential mesh issues. HFSS 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.

• • • • • • • •

Analyze Objects Interobject Misalignment Analyze Surface Mesh Heal Show Analysis dialog Align Faces Remove Faces Remove Edges

Note

1.

2.

Before running model analysis, you must remove all command history for the selected object by using the Purge History command.

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. Select the objects and invoke Modeler>Model Analysis>Analyze Objects. This displays the Analysis Options dialog to allow you to specify settings for entity check level, and small feature detection. When you OK this dialog, the initial analysis executes and the Model Analysis dialog is displayed.

3.

Choose the objects that have "Invalid Entities Found" and Perform>Heal Objects. In most cases, the objects will be healed and the errors fixed.

4.

If errors still persist, choose the edges and faces and click on Delete. This will replace the selected face/edge object by a tolerant edge/vertex respectively. In some cases the replacement of the face/edge by tolerant edge/vertex will fail.

When models pass the initial validity checks, mesh generation could still fail. The following errors can be present in models: (See Error Detection.) 1.

Non-manifold topology. These are non-manifold edges and vertices that are present in the model.

2.

Object pair intersection. This detects whether pairs of objects intersect.

3.

Small feature detection – small edge length, small face area and sliver face detection. Drawing a Model 5-27

HFSS Online Help

4.

Mis-aligned entities detection – detects pairs of faces from objects that can be aligned to remove object intersections. This improves the probability of mesh success.

5.

Mesh failure error display. This is available for single object, object pairs and last simulation run (all objects in a model). Errors reported by the meshing module are reported to the user.

Errors of type 3 and 4 should be resolved before you invoke the meshing for the model. By default, the Heal command is automatically applied to imported objects. Related Topics Set Material Override Analysis Options Dialog Healing Technical Notes: Removing Object Intersections Healing Non-manifold Objects Healing Options Technical Notes: Healing and Meshing Technical Notes: Detecting and Addressing Model Problems to Improve Meshing

Analysis Options Dialog To perform analysis on an object according to specified features and tolerance values: 1.

Select the object you want to analyze and click Modeler> Model Analysis>Analyze Objects. This displays the Analysis Options dialog, with the Analysis Options tab selected. Selecting Modeler>Model Analysis>Heal also displays this dialog. If, during Modeler>Import... you select Heal Imported Objects and Manual on the file browser dialog, you also see this dialog.

2.

If desired, check the Perform Entity Check Errors checkbox. This enables the Check Level menu. The setting can be Basic, Strict, or Comprehensive. See Modeler Validation Settings for more explanation.

3.

If desired, click the check boxes to enable and set the Detect Feature settings:

• • • 4.

Detect Holes, and specify the Maximum Radius. Detect Chamfers, and specify the Maximum Width. Detect Blends, and specify the Maximum Radius.

If desired set the Detect Small Entities features and tolerance values.

• • •

Small Edges, length less than Small Faces, area less than Sliver Faces, which enables: Object Bounding Box Scale Factor Sliver Edge Width

5-28 Drawing a Model

HFSS Online Help

5.

Click the Properties tab to see a listing of the geometric properties of the selected object.

6.

Clicking OK on this dialog displays the Model Analysis dialog which contains the results of the analysis.

Related Topics Heal Analysis Options Dialog Model Analysis dialog.

Model Analysis dialog This dialog contains results for all model analysis, including diagnostic information relating to mesh issues. To view the analysis options: 1.

Select the appropriate Modeler> Model Analysis>Show Analysis Dialog command to display the Model Analysis dialog box. This dialog also appears automatically after selecting OK to the Analysis Options dialog.

• • • • 2.

Objects tab Object Misalignment tab Surface Mesh (Single/Pairs) tab Last Simulation Mesh tab - displays a log of the error type and error details.

Select the Auto Zoom to Selection check box to automatically zoom to the item selected in the Objects tab.

Related Topics Heal Analysis Options Technical Notes: Healing and Meshing Technical Notes: Detecting and Addressing Model Problems to Improve Meshing

Objects Tab All results relating to model analysis of specific objects are presented under the Objects tab. 1.

The results table contains the following information.

• •

Name - column listing the objects in the current design. Last Analysis status - column giving the analysis status of the listed objects. Objects can have the following status:



Good - the object contains no invalid geometry entities given the tolerance values specified in the Analysis Options dialog.

• • •

Null Body - the object is non-existent. Analysis not performed - the object was not selected for analysis. Invalid entity errors - these are api_check_entity() errors and non-manifold errors which Ansoft recommends that you fix before meshing. Drawing a Model 5-29

HFSS Online Help

• 2.

Select any object name in the table which contains errors to display a set of radio buttons in the panel and a list of corresponding faces, edges and vertices.

Note

3.

Small entity errors - small faces, sliver faces and small edges that are optionally detected based on the tolerance limits specified in the Analysis Options dialog.

Auto Zoom to Selection -- if this option is checked, HFSS automatically zooms to the item selected in the Model Analysis dialog box.

Select the face, edge or vertex entity from the list to view the error description in the Description field.

4.

Select the Delete button if you want to remove a selected face or edge entity.

5.

Select the Perform button to list the commands that you can execute on the selected objects in the Results table.



Heal Objects - repairs invalid geometry entities for the selected objects within the specified tolerance settings. The Healing Analysis dialog will appear.



Analyze Objects - evaluates the object status. Selecting this displays the Analysis Options dialog.



Analyze Surface Mesh - invokes a mesh for each selected object and reports analysis results under the Surface Mesh (Single/Pairs) tab. Selecting this option displays a dialog with radio buttons to select.

• •



Perform Object Pairs Analysis - evaluates mesh for all combinations of the selected objects.



Ignore objects separated by greater than a specified value - object pairs are disregarded from analysis if their separation is greater than the specified value.



Click OK to perform the analysis with the selected options.

Analyze Interobject Misalignment - determines any misalignments between two selected objects in the results table. The results are reported under the Objects Misalignment tab.

Display Healing Log -- checking this causes the Model Analysis dialog to display a healing log which includes information about operations performed on an object during the healing process.

Related Topics Analyze Objects Analyze Interobject Misalignment Analyze Surface Mesh Healing

5-30 Drawing a Model

HFSS Online Help

Object Misalignment Tab The table in this panel displays results of an Interobject Misalignment analysis. It contains a list of Alignable Faces, described in a list of Object Sets, and corresponding Misaligned Faces. All misaligned face pairs corresponding to the analyzed objects are listed in the table.



Align Faces - select a face pair in the table and click the Align Faces button to align selected faces.

• •

Clear All Analysis Data - this button removes all information from the tables. Auto Zoom to Selection -- if this option is checked, HFSS 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. Choose all the bodies that intersect with another body. 1.

From the Model Analysis dialog choose perform/Analyze Interobject misalignment. Or you can run Modeler>Model Analysis>Analyze Interobject Misalignment. If the analysis finds object pairs that can be aligned, they will be displayed in the Objects Misalignment tab.

2.

You can select individual or multiple rows and perform Align Faces. In some cases, face alignment will fail if the topology of the body changes by a large factor after alignment.

3.

Identify individual bodies and body pairs that fail to mesh.

4.

Perform Mesh analysis on individual objects and object pairs.

5.

Review the reports and fix the errors.

Related Topics Analyze Objects Analyze Interobject Misalignment Analyze Surface Mesh Healing Technical Notes: Removing Object Intersections Healing Non-manifold Objects Healing Options Technical Notes: Healing and Meshing Technical Notes: Detecting and Addressing Model Problems to Improve Meshing

Surface Mesh (Single/Pairs) Tab The panel displays the results of a surface mesh analysis. 1.

You can display results for:



Individual Objects Drawing a Model 5-31

HFSS Online Help

• Note

Object Pairs Auto Zoom to Selection -- if this option is checked, HFSS automatically zooms to the object or object pair selected.

2.

The results table contains the following information:

• •

Object - column listing object name or a pair of object names. Last Analysis Status - column stating the meshing status of the object or object pair.

• • • •

Mesh Success Mesh Failure

Error Type - this column gives the category of error that caused the mesh failure. Error Detail - provide specific geometry information regarding mesh error location.

Display options include:



Display Mesh Analysis log checkbox -checking this displays further details concerning each error to be listed.



Auto Zoom to Selection -- checking this causes HFSS to automatically zoom to objects or faces corresponding to the error.

Related Topics Analyze Objects Analyze Interobject Misalignment Analyze Surface Mesh Healing

Last Simulation Mesh Tab The table in this panel lists all model errors as viewed by the mesher.

• •

Error Type - this column gives the category of error that caused the mesh failure. Error Detail - provide specific geometry information regarding mesh error location.

Display options include:



Display Mesh Analysis log checkbox -checking this displays further details concerning each error to be listed.



Auto Zoom to Selection -- checking this causes HFSS to automatically zoom to objects or faces corresponding to the error.

Related Topics Analyze Objects Analyze Interobject Misalignment 5-32 Drawing a Model

HFSS Online Help

Analyze Surface Mesh Healing

Align Faces Use this Modeler>Model Analysis command to align the selected faces. You can also use the toolbar icon when you have made an appropriate face selection Related Topics Analyze Objects Analyze Interobject Misalignment Analyze Surface Mesh Healing

Remove Faces Use this Modeler>Model Analysis command to remove the selected faces. You can also use the toolbar icon when you have made an appropriate face selection 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 Analysis>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.

Related Topics Align Faces Analyze Objects Analyze Interobject Misalignment Analyze Surface Mesh Healing Technical Notes: Healing and Meshing Technical Notes: Detecting and Addressing Model Problems to Improve Meshing Set Material Override

Remove Edges Use this Modeler>Model Analysis command to remove the selected edges. You can also use the toolbar icon when you have made an appropriate edge selection

Drawing a Model 5-33

HFSS Online Help

Related Topics Technical Notes: Healing and Meshing Technical Notes: Detecting and Addressing Model Problems to Improve Meshing Technical Notes: Error Types Technical Notes: Error Detection Analyze Objects Analyze Interobject Misalignment Analyze Surface Mesh Healing

Set Material Override The HFSS>Set Material Override command brings up a dialog with text note and a checkbox to Allow metals to override dielectrics. Normally, the modeler considers any intersection between 3D objects to be an error. But, if you check this option, the modeler allows a metal object to intersect a dielectric, and just gives a warning. Intersections between two metals or two dielectrics will still be errors. In the meshing process, the dielectrics are locally overwritten by the metals in the intersecting region. That is, the part of the dielectric that is inside the metal is removed, and if the dielectric is completely inside, the whole object disappears. The purpose of this feature is to allow you to avoid doing explicit subtraction in the modeler. One example application is a via that passes through many dielectric layers--with the option turned on, the via does not have to be subtracted from the layers.

Note

Users must be careful: this setting changes the "ground rules" of the modeler, and may have unexpected results.

Related Topics Analyze Objects Analyze Interobject Misalignment Analyze Surface Mesh Healing Materials Set Material Override

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

5-34 Drawing a Model

HFSS Online Help

errors are errors in how the underlying components like faces, edges and vertices are connected. Ansoft 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.) Healing can be invoked in different ways.

• •

The menu command Modeler>Model Analysis>Heal command applies to a selected object.



The Model Analysis dialog includes Perform action menu with Heal as a selection.

Some formats permit healing during Modeler>Import. These are: 3D Modeler file (*.sm3), SAT file (*.sat), STEP file (*.step,*. stp), IGES file (*.iges, *.igs), ProE files (*.prt, *.asm), CATIA (*.model, *.CATpart), and Parasolid file (*.x_t, and *.x_b). Selecting these formats enables a checkbox at the bottom of this window, "Heal Imported Objects."

Any of these approaches leads to the same heal process. Basic Steps in the Heal Process There are several steps that are performed selected objects. 1.

Entity check, according to the Analysis Options settings.

2.

Basic healing. This is done for all selected objects. Basic healing consists of fixing surface normals in the object and updating the orientation of (to avoid having an object with negative volume).

3.

Advanced healing. This is auto-heal. This is invoked on objects that require healing, that is. bodies that have errors.

4.

Small feature removal. If you choose in the Analysis Options to remove small holes, chamfers, blends, small edges, small faces and/or sliver faces, the actions are performed on all selected objects. There is no guarantee that small feature removal will be successful. (Also see Specifying the Model Resolution for defeaturing through the Auto Simplify and Model Resolution settings there.)

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->Select and via the toolbar icons. Related Topics Technical Notes: Removing Object Intersections Healing Non-manifold Objects Healing Options Specifying the Model Resolution Drawing a Model 5-35

HFSS Online Help

Technical Notes: Healing and Meshing Technical Notes: Detecting and Addressing Model Problems to Improve Meshing

Healing Non-Manifold Objects If more than two faces meet along an edge, the edge is non-manifold. Normally, if you collect every face at a vertex that can be reached from a given face by crossing one or more edges starting or ending at the vertex, the collection contains all of the faces that meet at that vertex. If this is not the case, the vertex is non-manifold. One or more wires may be attached to a vertex that is already on the boundary of one or more faces. This again makes the vertex non-manifold. To heal non-manifold objects: 1.

Identify an edge that is non-manifold.

2.

Select the connected faces. You can use the Face selection toolbar icons.

3.

Create a face coordinate system on the planar face.

4.

Create a small box to cover the non-manifold edge.

5.

Either do a union or a subtraction to remove the faces that contain the non-manifold edge. The non-manifold edge is now removed. You may also remove or add a small portion of the model.

6.

Do for all the non-manifold edges.

Related Topics Healing Technical Notes: Removing Object Intersections Healing Options Technical Notes: Healing and Meshing Technical Notes: Detecting and Addressing Model Problems to Improve Meshing

Setting the Healing Options The Healing Options let you control how healing proceeds with respect to a variety of features and issues. 1.

Click Modeler>Model Analysis>Heal to open the Healing Options dialog. You can also open the Healing Options dialog from the Model Analysis dialog via the Objects tab drop down menu. The Healing Options dialog contains three tabs:

• • • 2.

Healing Options Feature Removal Options Properties, which lists the geometric properties of the currently selected object.

Select the Healing Options tab on the Healing Options dialog to specify the following:

5-36 Drawing a Model

HFSS Online Help



Heal Type as: Auto Heal (default), Manual Heal, or No Heal.

Selecting Manual Heal enables the Manual Heal Options:



Tolerant Stitching checkbox. This enables a field for the Stitch Tolerance value, and a checkbox to Stop After First Error.



Geometry Simplification Settings This enables fields for Simplification Tolerance and Maximum Generated Radius values. You can also select radio buttons to Simplify Curves, Surfaces, or Both.



Tighten Gaps settings. A checkbox to select Perform Tighten Gaps A field to specify Tighten Gaps Within a given value in mm.

3.

Select the Feature Removal Options tab to specify the following: Here you can specify the following Feature Removal Options.

• • •

Remove Holes checkbox and Maximum Radius value. Remove Chamfers checkbox and Maximum Width value. Remove Blends checkbox and Maximum Radius value.

You can specify the following Remove Small Entity Options:

• • •

Small Edges, less than a specified value. Small Faces, less than a specified area. Sliver Faces, less than either:

• •

Bounding box, less than a specified scale factor Sliver Edge width, less than a specified value.

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:

• •

Allowable Change in Surface Area checkbox, and percent value. Allowable Change in Volume checkbox, 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.

Related Topics Healing Drawing a Model 5-37

HFSS Online Help

Technical Notes: Removing Object Intersections Healing Non-manifold Objects Specifying the Model Resolution Technical Notes: Healing and Meshing Technical Notes: Detecting and Addressing Model Problems to Improve Meshing

5-38 Drawing a Model

HFSS Online Help

Creating a User Defined Primitive HFSS allows you to generate user-defined primitives, primitives customized to suit any application. User-defined primitives are accessed using DLLs that you build and compile. HFSS 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 hfss10 directory. As an example, create the primitive myUDP.dll using Microsoft Visual C++ Developer Studio: 1.

Create a directory to store all of the workspace information, call it UDPDir.

2.

Use the sample workspace RectangularSpiral.dsw as a template: a.

Copy RectangularSpiral.dsw and RectangularSpiral.dsp from the UserDefinedPrimitives/Examples directory to this new directory.

b.

Make sure the new files have write permissions.

c.

Rename the files to myUDP.dsw and myUDP.dsp respectively.

d.

Open the .dsw and .dsp files in a text editor, and replace every occurrence of RectangularSpiral with myDLL.

e.

Save myUDP.dsp and myUDP.dsw.

3.

In the UDPDir directory, create a Headers subdirectory.

4.

Copy the UserDefinedPrimitiveStructures.h and UserDefinedPrimitiveDLLInclude.h files from the UserDefinedPrimitives/Headers directory.

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.

5.

In the UDPDir directory, create a Source subdirectory.

6.

Use the sample source file RectangularSpiral.cpp as a template: a.

Copy RectangularSpiral.cpp from the UserDefinedPrimitives/Examples directory to this new directory.

b.

Make sure the new file has write permission.

c.

Rename the file to myUDP.cpp. The resulting directory structure will appear similar to the following:

Drawing a Model 5-39

HFSS Online Help

UDPDir/ myUDP.dsw myUDP.dsp Headers/ UserDefinedPrimitiveDLLInclude.h UserDefinedPrimitiveStructures.h Sources/ myUDP.cpp 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.

8.

Build myUDP.dll using the Win32 Release configuration.

9.

Copy the resulting file myUDP.dll to the hfss10/userlib/UserDefinedPrimitives directory.

10. To view your primitives in HFSS, clicking Draw>User Defined Primitive>UserLib. Note

On UNIX, you may use the same example directory structure, source, and header files to build and compile a shared library using C++. The resulting shared library will have a .so extension for Solaris and a .sl extension for HP-UX, and needs to be placed in the same hfss10/userlib/UserDefinedPrimitives directory. As with the Windows DLL, the compiled library will work only on the operating system on which it was built.

Related Topics Drawing a Spiral Using User Defined Primitives Drawing a Segmented Helix with Polygon Cross-Section Using a User-Defined Primitive Drawing a Segmented Helix with Rectangular Cross Section Using a User Defined Primitive

5-40 Drawing a Model

HFSS Online Help

User Customization through User Defined Primitives (UDPs) User Defined Primitives (UDPs) allow users to add customized geometric modeling commands to the HFSS Desktop. UDPs are compiled libraries that can be added to the desktop interface and shared between users with common modeling needs. To create a UDP, see Creating a User Defined Primitive for requirements and the procedure for building a proper DLL. In order to share UDPs between users, an existing DLL may be copied into the userlib>User Defined Primitives subdirectory which can be found in the HFSS installation directory. Placing an appropriately constructed DLL in this subdirectory will automatically add a new menu item in the Draw>User Defined Primitives menu to allow access to the UDP. Related Topics Drawing a Spiral Using User Defined Primitives Drawing a Segmented Helix with Polygon Cross-Section Using a User-Defined Primitive Drawing a Segmented Helix with Rectangular Cross Section Using a User Defined Primitive

Drawing a Model 5-41

HFSS Online Help

5-42 Drawing a Model

HFSS Online Help

Modifying Objects You can quickly modify the position, dimensions, and other characteristics of objects created in the 3D Modeler window. What do you want to do?

• • • • • • • • • • • • • • • • • • • • • • • • • • • • • •

Assign color to an object. Assign transparency to an object. Copy and paste objects. Delete objects. Delete Last Operation Move objects. Rotate objects. Change the Orientation of an object Mirror objects about a plane. Offset an object (move every face of an object). Duplicate objects. Scale the size of objects. Sweep objects. Cover lines. Cover faces. Uncover faces. Detach faces. Detach edges. Create a new object by taking a cross-section of a 3D object. Connect objects. Move faces. Unite objects. Subtract objects. Create objects from intersections. Create an object from a face. Create an object from an edge. Split objects. Separate objects. Convert polyline segments. Rounding the edge of an object (Fillet) Drawing a Model 5-43

HFSS Online Help

• • •

Flattening the edge of an object (Chamfer) Purge History Generate History

Assigning Color to Objects 1.

Select the object to which you want to assign a color.

2.

In the Properties dialog box, click the Attribute tab.

3.

Click Edit in the Color row. The Color palette appears.

4.

Select a color from the Color palette, and then click OK. The color is assigned to the selected object.

Related Topics Setting the Default Color of Objects

Setting the Default Color of Objects 1.

On the Tools menu, point to Options, and then click Modeler options.

2.

Click the Display tab.

3.

Select Object from the Default color pull-down list.

4.

Click the color button beside the Default color pull-down list. The Color palette appears.

5.

Select a color from the Color palette, and then click OK. Any objects you draw after this point will be assigned the default color you selected.

Setting the Default Color of Object Outlines 1.

On the Tools menu, point to Options, and then click Modeler Options.

2.

Click the Display tab.

3.

Select Object Wire from the Default color pull-down list.

4.

Click the color button beside the Default color pull-down list. The Color palette appears.

5.

Select a color from the Color palette, and then click OK. The outlines of any objects you draw after this point will be assigned the default color you selected.

Assigning Transparency to an Object 1.

Select the object to which you want to assign a transparency.

2.

In the Properties dialog box, click the Attribute tab.

3.

Click the value in the Transparency row. The Set Transparency window appears.

5-44 Drawing a Model

HFSS Online Help

4.

Move the slider to the right to increase the transparency of the object. Move the slider to the left to decrease the transparency of the object.

5.

Click OK.

Related Topics Setting the Default Transparency of Objects

Setting the Default Transparency of Objects 1.

On the Tools menu, point to Options, and then click Modeler Options.

2.

Click the Display tab.

3.

Move the Default transparency slider to the right to increase the transparency of objects. Move the slider to the left to decrease the transparency of objects. Any objects you draw after this point will be assigned the default transparency you selected.

Copying and Pasting Objects To copy objects and paste them in the same design or another design, use the Edit>Copy and Edit>Paste commands. 1.

Select the objects you want to copy.

2.

On the Edit menu, click Copy

.

The objects are copied to the Clipboard, a temporary storage area. The selected items are not deleted. To cut an item to the clipboard and deleting the original, use the scissors icon on the toolbar. 3.

Select the design into which you want to paste the objects. It can be the same design from which you copied the items.

4.

Click in the 3D Modeler window.

5.

Select the working coordinate system. Objects are pasted relative to the current working coordinate system.

6.

On the Edit menu, click Paste

.

The objects appear in the new window. Items on the Clipboard can be pasted repeatedly. The items currently stored on the Clipboard are replaced by the next items that are cut or copied. Related Topics Duplicating Boundaries and Excitations with Geometry

Copying to the Clipboard as Images 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.

Drawing a Model 5-45

HFSS Online Help

To copy an image of the 3D Modeler window and paste into another application: 1.

Make the 3D Modeler window active. This enables the Edit>Copy to Clipboad As Image command in the menu bar.

2.

Click Edit>Copy To Clipboard As Image, or right click on the 3D Modeler window to display the shortcut menu and select Copy to Clipboard As Image. The 3D Modeler window is copied to the Clipboard as an image.

3.

Select and open the application into which you want to paste the objects, and paste the image.

To copy an image of a Report to paste into another application: 1.

Make the report the active window. The enables the Edit>Copy Image command in the menu bar.

2.

Click Edit>Copy Image, or right click on the Report window to display the shortcut menu and select Copy Image. The report is copied to the Clipboard as an image.

3.

Select and open the application into which you want to paste the objects, and paste the image.

Related Topics Copy and Paste of Report and Trace Data Copy and Paste of Report and Trace Definitions

Deleting Objects 1.

Select the objects to delete.

2.

On the Edit menu, click Delete



.

Alternatively, press Delete.

The objects are deleted. Note

To maintain valid boundaries, excitations, or other parameters that were associated with the deleted object, reassign them to other objects.

Related Topics Deleting Polyline Segments Deleting Start points and End points

Deleting Polyline Segments A polyline is a single object that includes any combination of straight line, arc line, or spline segments. You can delete the first or last segment of a polyline by selecting it in the history tree and pressing Delete. 1.

In the history tree, locate the polyline that contains the segment you want to delete. Expand this

5-46 Drawing a Model

HFSS Online Help

part of the history tree. 2.

In the history tree, select the polyline segment operation you want to delete.

3.

On the Edit menu, click Delete



.

Alternatively, press Delete.

The polyline segment you selected is deleted. Note

You may delete one polyline segment at a time.

Deleting Start Points and Endpoints If you select a polyline in the history tree, the Delete Start Point and Delete End Point commands may be enabled. These permit you to delete portions of the line. 1. 2.

In the history tree, locate the polyline that contains the segment you want to delete. Expand this part of the history tree. In the history tree, select the polyline you want to edit. The segment is highlighted.

3.

On the Edit menu or the shortcut menu, click either Delete Start Point to remove the leading segments or Delete End Point to remove the following segments. The designated segment is removed, and the line changes.

Delete Last Operation To delete the last operation on an object: 1.

Select the object.

2.

Click Modeler>Delete Last Operation. This undoes the last operation, including removing that operation from the history, and updating the context for the Undo and Redo commands.

Related Topics Undoing Commands Redoing Commands

Moving Objects 1.

Select the objects to move.

2.

On the Edit menu, point to Arrange, and then click Move

3.

Select an arbitrary anchor point in one of the following ways:

• • 4.

.

Click the point. Enter the point’s coordinates in the X,Y, and Z boxes.

Select a target point in one of the following ways: Drawing a Model 5-47

HFSS Online Help

• •

Click the point. Type the coordinates of a point relative to the anchor point in the dX, dY, and dZ boxes, where d is the distance from the previously selected point.

All selected objects move the distance determined by the offset between the anchor point and the target point.

Rotating Objects Rotate objects about the x-, y-, or z-axis using the Edit>Arrange>Rotate command. To rotate objects about an axis: 1.

Select the objects to rotate.

2.

On the Edit menu, point to Arrange, and then click Rotate

.

The Rotate dialog box appears. 3. 4.

Select the axis about which to rotate the objects: X, Y, or Z. Type the angle to rotate the objects in the Angle box. A positive angle causes the object to be rotated in the counter-clockwise direction. A negative angle causes the object to be rotated in the clockwise direction.

5.

Click OK. The selected objects are rotated about the axis.

To rotate and copy objects, use the Edit>Duplicate>Around Axis command.

Changing the Orientation of an Object Each object has an Orientation property that specifies the coordinate system it uses is Global, or a user defined orientation relative to the Global coordinate. This property is useful in dealing with anisotropic materials. The properties of anisotropic materials are specified relative to the objects orientation. Changing the orientation of an object provides a way for objects made of the same material to be orientated differently. To change an object’s orientation. 1.

Define the coordinate systems you want to have available.

2.

Open the properties window for the object.

3.

Click on the Orientation property, and select from the Drop down list. If no Orientations other than Global have been defined, none appear on the list.

4.

Click OK to close the dialog and apply the changes.

Related Topics Assigning Material Property Types Setting Coordinate Systems Creating a Relative Coordinate System

5-48 Drawing a Model

HFSS Online Help

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. To mirror an object about a plane: 1.

Select the object you want to mirror. You can select multiple objects.

2.

On the Edit menu, point to Arrange, and then click Mirror

3.

Select a point on the plane on which you want to mirror the object. The distance between the point on mirror plane and point along the normal does not matter; only the vector direction matters

.

A line drawn from this point to the mirror plane will be perpendicular to the plane. 4.

Select a normal point in one of the following ways:

• •

Click the point. Type the coordinates of a point relative to the first point in the dX, dY, and dZ boxes, where d is the distance from the previously selected point.

The selected object is moved to the plane you specified and oriented according to the normal point you specified. To mirror and copy objects about a plane, use the Edit>Duplicate>Mirror command. Related Topics Duplicating and Mirroring Objects

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. To offset every face of an object: 1.

Select the object you want to offset.

2.

On the Edit menu, point to Arrange, and then click Offset. The Offset dialog box appears.

3. 4.

Type the distance you want to move the object faces from their origins, and then select a unit from the pull-down list. Click OK. The selected object’s faces are moved the distance you specified.

Drawing a Model 5-49

HFSS Online Help

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. Choose from the following commands: Edit>Duplicate>Along Line

Duplicates the parent object along a straight line. The child object can be designated as attached to the parent object, but if so, no ports or boundary conditions are duplicated.

Edit>Duplicate>Around Axis

Duplicates the parent object around an axis. The child object can be designated as attached to the parent object, but if so, no ports or boundary conditions are duplicated.

Edit>Duplicate>Mirror

Duplicates a mirror image of the parent object about a plane.

To copy objects to another design, use the Edit>Copy and Edit>Paste commands. Note

There is currently no method for dissolving the parent/duplicate relationship once a duplicate has been created.

Duplicating Objects Along a Line To duplicate an object along a straight line, use the Edit>Duplicate>Along Line command. The line along which the object is duplicated can be vertical, horizontal, or lie at an angle. 1.

Select the object you want to duplicate.

2.

On the Edit menu, point to Duplicate, and then click Along Line

3.

Specify the vector along which the object will be duplicated: a.

.

Select an arbitrary anchor point in one of the following ways:

• •

Click the point. 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 5-50 Drawing a Model

HFSS Online Help

object’s edge or within the object makes it easier to select the duplication line. b.

Select a second point in one of the following ways:

• •

Click the point. Type the coordinates of a point relative to the anchor point in the dX, dY, and dZ boxes, where d is the distance from the previously selected point.

This point defines the direction and distance from the anchor point to duplicate the object. The Duplicate Along Line dialog box appears. 4.

Type the total number of objects, including the original, in the Total Number box.

5.

By option check the Attach to Original Object checkbox. If this is checked, no ports or boundary conditions are duplicated for the child.

6.

Click OK. The duplicates are placed along the vector you specified.

Duplicating Objects Around an Axis To duplicate an object around the x-, y-, or z-axis, use the Edit>Duplicate>Around Axis command. 1. 2.

Select the object you want to duplicate. On the Edit menu, point to Duplicate, and then click Around Axis

.

The Duplicate Around Axis dialog box appears. 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. A positive angle causes the object to be pasted in the counter-clockwise direction. A negative angle causes the object to be pasted in the clockwise direction.

5.

Type the total number of objects, including the original, in the Total Number box.

6.

By option check the Attach to Original Object checkbox. If this is checked, no ports or boundary conditions are duplicated for the child.

7.

Click OK. The object is duplicated around the axis at the angle you specified.

Duplicating and Mirroring Objects To duplicate and mirror an object about a plane, use the Edit>Duplicate>Mirror command. The plane is selected by defining a point on the plane and a normal point. This command allows you to duplicate an object and specify the duplicate’s position. This command is similar to Edit>Arrange>Mirror, except that this command duplicates an object, rather than moves it. 1.

Select the object you want to mirror.

2.

On the Edit menu, point to Duplicate, and then click Mirror

3.

Select a point on the plane on which you want to mirror the object.

.

Drawing a Model 5-51

HFSS Online Help

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 4.

Select a normal point on the plane in one of the following ways:

• •

Click the point. Type the coordinates of a point relative to the first point in the dX, dY, and dZ boxes, where d is the distance from the previously selected point.

A duplicate of the object appears on the plane you specified, oriented according to the normal point you specified. Related Topics Mirroring Objects

Scaling Objects Scale an object’s dimensions in one or more directions using the Edit>Scale command. 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. To scale an object’s dimensions in one or more directions: 1.

If necessary, set a different working coordinate system to achieve the desired scaling.

2.

Select the object to scale.

3.

On the Edit menu, click Scale. The Scale dialog box appears.

4.

Type the scale factor for each axis.

5.

Click OK. The object is scaled about the working coordinate system’s origin.

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, polylines, or any 2D object created in the 3D Modeler window. The 2D object need not be orthogonal to the sweep path. You can also thicken sheets to make a 3D object. You can also sweep open 1D objects, such as polylines. This results in open 2D sheet objects. You can also sweep one or more faces of a 3D object to create a new object. See Sweep Faces Along Normal. Related Topics Sweeping Around an Axis 5-52 Drawing a Model

HFSS Online Help

Sweeping Along a Vector Sweep Along a Path Sweep Faces Along Normal Thicken Sheet

Sweeping Around an Axis Sweep a 1D or 2D object around the x-, y-, or z-axis using the Draw>Sweep>Around Axis command. Sweeping circles around an axis is a convenient way to create an open coil loop. Before using this command, keep the following guidelines in mind:



The object and the axis you are sweeping around must lie in the same plane. For example, if you are sweeping an object around the z-axis, the object must lie in a plane that includes the zaxis, such as xz or yz.



The normal of the object’s plane faces must be perpendicular to the axis around which you are sweeping.



The object may not cross the axis around which it is being swept.

To sweep an object around an axis: 1.

Select the object you want to sweep.

2.

On the Draw menu, point to Sweep, and then click Around Axis. The Sweep Around Axis dialog box appears.

3.

Select the axis you want to sweep the object around: X, Y, or Z.

4.

Type the angle to sweep the object through in the Angle of sweep box. The value must be between -360 and 360 degrees.

5.

Type the draft angle. This is the angle to which the object’s profile, or shape, is expanded or contracted as it is swept.

6.

7.

Select one of the following draft types from the pull-down list. The draft type instructs HFSS how to fill in gaps created by expanding or contracting a profile with a draft angle. Extended

The edges of the new profile will be extended with straight tangent lines until they intersect. The facetting of the faces will be displayed.

Round

The edges of the new profile will be rounded.

Natural

The edges of the new profile will be extended along their natural curves until they intersect. For example, if the original object had sharp edges, the new profile will have sharp edges.

Click OK. 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. Drawing a Model 5-53

HFSS Online Help

Sweeping Along a Vector Sweep a 1D or 2D object along a vector using the Draw>Sweep>Along Vector command. 1.

Select the object you want to sweep.

2.

On the Draw menu, point to Sweep, and then click Along Vector.

3.

Draw the vector you want to sweep the object along: a. b.

Select the start point by clicking the point or typing its coordinates in the X, Y, and Z boxes. Select the endpoint in one of the following ways:

• •

Click the point. Type the coordinates of a point relative to the start point in the dX, dY, and dZ boxes, where d is the distance from the previously selected point.

The Sweep Along Vector dialog box appears. 4.

Type the draft angle. This is the angle to which the profile is expanded or contracted as it is swept.

5.

Select one of the following draft types from the pull-down list box: Extended

The new object will have sharp edges like the original object. The facetting of the faces will be displayed.

Round

The new object will have rounded edges.

Natural

The new object will have sharp edges like the original object

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. 6.

Click OK.

Sweeping Along a Path Sweep a 1D or 2D object along a path that is defined by an open or closed polyline using the Draw>Sweep>Along Path command. When you are sweeping an object along a path, keep in mind that one of the path’s endpoints must lie in the same plane as the object being swept. The other endpoint must lie in a plane perpendicular to the object being swept. To sweep an object along a path: 1.

Create the polyline you want to use as a path.

2.

Select the object you want to sweep, and then select the new polyline.

3.

On the Draw menu, point to Sweep, and then click Along Path. The Sweep Along Path dialog box appears.

4.

Type the angle of the twist in the path. This is the number of degrees the profile will rotate as it is swept through the complete path.

5.

Type the draft angle.

5-54 Drawing a Model

HFSS Online Help

This is the angle to which the profile is expanded or contracted as it is swept. 6.

Select one of the following draft types from the pull-down list box: Extended

The new object will have sharp edges like the original object. The facetting of the faces will be displayed.

Round

The new object will have rounded edges.

Natural

The new object will have sharp edges like the original object

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. 7.

Click OK.

Sweeping Faces Along Normal To create a new object by sweeping select 3D object’s face a specified distance in a direction normal to its original plane, use the Modeler>Surface>Sweep Faces Along Normal command. Note that the adjoining faces will not be sheared or bent. This command is useful for extruding faces, resizing holes, and removing rounded corners. To sweep selected object faces in a normal direction: 1.

Click Select Faces on the shortcut menu.

2.

Select the faces of the object you want to sweep.

3.

Click Modeler>Surface>Sweep Faces Along Normal.

4.

The Sweep Faces Along Normal dialog box appears.

5.

Type the distance you want to sweep the object face from its origin.

6.

Click OK. The face is swept the distance you specified to create a new object.

Related Topics Moving Faces Along the Normal

Thicken Sheet To thicken a sheet object to make a 3D object: 1.

Select the sheet.

2.

Click Modeler>Surface>Thicken Sheet. The Thicken Sheet dialog appears.

3.

Specify the thickness by typing in the field.

4.

Specify the units by selecting from the drop down menu.

5.

If you want to thicken both sides, use the checkbox.

6.

Click OK. Drawing a Model 5-55

HFSS Online Help

The dialog closes and the sheet is changed into a 3D object of the desired thickness.

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. To convert a polyline object to a sheet object: 1.

Select the closed polyline object you want to cover.

2.

On the Modeler menu, point to Surface, and then click Cover Lines. 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 HFSS to automatically cover all closed polyline objects you draw, including circles, ellipses, rectangles, and regular polygons, select the Automatically cover closed polylines option in the Modeler Options dialog box.

Covering Faces To cover the face of a 2D or 3D object, use the Modeler>Surface>Cover Faces command. To cover the faces of objects: 1.

Select the faces of the objects you want to cover.

2.

On the Modeler menu, point to Surface, and then click Cover Faces. The object faces are now covered.

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. To uncover the face of a 3D object: 1.

Switch to face selection mode: On the Edit menu, point to Select, and then click Faces.

2.

Select a face of the object you want to uncover.

3.

On the Modeler menu, point to Surface, and then click 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. To detach the face of an object: 1.

Switch to face selection mode: On the Edit menu, point to Select, and then click Faces.

2.

Select the face of the object you want to detach. You can select multiple faces to detach.

5-56 Drawing a Model

HFSS Online Help

3.

On the Modeler menu, point to Surface, and then click 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. To detach an edge of an object: 1.

Switch to edge selection mode: Click Edit>Select>Edges.

2.

Select the edge of the object you want to detach. You can select multiple edges to detach.

3.

Click Modeler>Edge>Detach Edges. The selected edge is now detached, resulting in multiple wire objects.

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. To create a cross-section of an object: 1.

Make sure the working coordinate system you want to use for the cross-sectioning plane is set.

2.

Select the object from which you want to create a cross-section.

3.

On the Modeler menu, point to Surface, and then click Section.

4.

Select the section plane you will use to divide the object: XY, YZ, or ZX.

5.

Click OK. A closed polyline object is created from the object that was sliced by the selected axis. The original, sectioned object is unmodified.

Related Topics Setting the Working Coordinate System

Connecting Objects Use the Modeler>Surface>Connect command to perform the following operations:



Connect two or more 1D polyline objects. HFSS 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.



Connect two or more 2D sheet objects. HFSS will modify the first 2D object you select to be a 3D solid object that connects to the second and any subsequently selected objects. The second and subsequent objects selected are deleted.

To connect objects: 1.

Select the objects you want to connect.

2.

On the Modeler menu, point to Surface, and then click Connect. Drawing a Model 5-57

HFSS Online Help

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.

Moving Faces You can move the faces of a 3D object in a normal direction using the Modeler>Surface>Move Faces commands. Moving object faces enables you to resize, reshape, or relocate an object. Related Topics Moving Faces Along the Normal Moving Faces Along a Vector Offsetting Objects

Moving Faces Along the Normal To move a 3D object’s face a specified distance in a direction normal to its original plane, use the Modeler>Surface>Move Faces>Along Normal command. The faces that adjoin the original face are extended or shortened along their own planes to meet the new face. Note that the adjoining faces will not be sheared or bent. This command is useful for extruding faces, resizing holes, and removing rounded corners, as shown below. To move an object face in a normal direction: 1.

Click Select Faces on the shortcut menu.

2.

Select the face of the object you want to move.

3.

Click Modeler>Surface>Move Faces>Along Normal.

4.

The Move Faces Along Normal dialog box appears.

5.

Type the distance you want to move the object face from its origin.

6.

Click OK. The face will be moved the distance you specified.

Extruding Faces

Resizing Holes

Removing Rounded Corners

To move every face of an object normal to its surface, use the Edit>Arrange>Offset command.

5-58 Drawing a Model

HFSS Online Help

Moving Faces Along a Vector To move the faces of a 3D object a specified distance along a vector use the Modeler>Surface>Move Faces>Along Vector command. Each selected face is moved along the vector, normal to its original plane. The faces that adjoin the original face are extended or shortened along their own planes to meet the new face. Note that the adjoining faces will not be sheared or bent. This command is useful for relocating holes in an object, as shown below. To move an object face along a vector: 1.

Click Select Faces on the shortcut menu.

2.

Select the face of the object you want to move.

3.

Click Modeler>Surface>Move Faces>Along Vector.

4.

Specify the vector along which the face will be moved: a.

Select an arbitrary anchor point in one of the following ways:

• •

Click the point. 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 vector. b.

Select a second point in one of the following ways:

• •

Click the point. Type the coordinates of a point relative to the anchor point in the dX, dY, and dZ boxes, where d is the distance from the previously selected point.

This point defines the direction and distance from the anchor point to move the face. The face is moved along the vector you specified.

Relocating Holes To move every face of an object normal to its surface, use the Edit>Arrange>Offset command.

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. Drawing a Model 5-59

HFSS Online Help

To unite two or more objects: 1.

Select the objects you want to join.

2.

On the Modeler menu, point to Boolean, and then click Unite

.

The objects are united. 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:

• •

Copy the objects, and then paste them back into the design after uniting them. Select Clone before unite in the Modeler Options dialog box. This option instructs HFSS 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.

On the Modeler menu, point to Boolean, and then click Subtract

.

The Subtract dialog box appears. 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.



Alternatively, type the name of object you want to subtract in the empty text box below the Tool Parts list, and then type the name of the object from which you want to subtract it in the empty text box below the Blank Parts list.

5.

Optionally, select Clone tool objects before subtract. This instructs HFSS to always keep a copy of the original objects being subtracted.

6.

Click OK.

5-60 Drawing a Model

HFSS Online Help

The new object retains the name, color, and material of the first object selected.

An intersecting box and cylinder.

Note

A box subtracted from a cylinder. The cylinder was selected first.

By default, the objects being subtracted from the first object selected are not preserved for later use. If you want to keep a copy of the objects being subtracted from the first object selected, do one of the following:

• •

Copy the objects, and then paste them back into the design after subtracting them. Select Clone before subtract in the Modeler Options dialog box. This option instructs HFSS to always keep a copy of the original objects being subtracted.

Creating Objects from Intersections To create a new object from the intersection of two or more objects, use the Modeler>Boolean>Intersect command. To create an object from an intersection: 1.

Select the objects from which you want to take the intersection.

Warning

2.

If the objects you selected do not overlap, the result is a null object and both objects vanish.

On the Modeler menu, point to Boolean, and then click Intersect

.

The original objects vanish, leaving only the new object that was formed from their intersec-

Drawing a Model 5-61

HFSS Online Help

tion. 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:



Copy the objects, and then paste them back into the design after creating the new object from the intersection.



Select Clone before intersect in the Modeler Options dialog box. This option instructs HFSS to always keep a copy of the original objects that intersect the first object selected.

An intersecting box and cylinder.

Object formed from the intersection of the box and cylinder.

Creating an Object from a Face The Modeler>Surface>Create Object from Face command copies a selected face, resulting in a new 2D sheet object. To create a new object from a face: 1.

Click Select Faces on the shortcut menu.

2.

Select the object face you want to copy. You can select multiple faces and each will become a new object.

3.

On the Modeler menu, point to Surface, and then click Create Object from Face.

5-62 Drawing a Model

HFSS Online Help

The face is copied, resulting in a new 2D sheet object. Hint

This command is useful for assigning a boundary to the intersection of two faces. To do this, first select the faces, and then create an object from them using the procedure above. Next, make sure the Clone before intersect option is clear in the Modeler Options window, and then use the Modeler>Boolean>Intersect command to modify the object so that it includes only the intersection of the two faces. Then assign the boundary to the new object.

Creating an Object from an Edge The Modeler>Edge>Create Object From Edge command copies a selected edge, resulting in a new 2D sheet object. To create a new object from an edge: 1.

Right-click in the modeler window, and select Select Edges on the shortcut menu.

2.

Select the object edge you want to copy. If you select multiple edges, each becomes a new object.

3.

Click Modeler>Edge>Create Object From Edge.

The edge is copied. The resulting object appears in the history tree as a line object.

Splitting Objects To an object or objects that lie on the xy, yz, or xz plane, use the Modeler>Boolean>Split command. 1.

Select the object you want to split. You can select more than one.

2.

On the Modeler menu, point to Boolean, and then click Split

.

The Split dialog box appears. 3. 4.

Select the Split plane that you will use to split the objects. Select the object fragments you want to keep:

• • • 5.

6.

those on the positive side of the selected plane, those on the negative side of the plane, or all pieces on both sides of the plane.

Select the Split Option you want to use:



Split entire selection (the default) - if you have multiple objects selected, all objects are split regardless of whether they cross the split plane.



Split objects crossing split plane.- if you have multiple objects selected, only those objects that cross the split plane are split.

Click OK.

Drawing a Model 5-63

HFSS Online Help

The objects are divided as specified. Any objects that become null are deleted.

A cylinder split along the positive side of the yz plane.

Separating Bodies To separate an object with multiple lumps into individual bodies: 1.

Select the object you want to separate.

2.

On the Modeler menu, point to Boolean, and then click Separate Bodies.

5-64 Drawing a Model

HFSS Online Help

The object is separated.

This figure shows two separate bodies, each with one lump, that were created from one object.

Converting Polyline Segments A polyline is a single object that includes any combination of straight line, arc line, or spline segments. You can convert a polyline segment from one type to another. The following conversions are supported:

• • •

Straight line segments to arc line or spline segments. Arc line segments to straight line or spline segments. Spline segments to straight line segments.

To convert polyline segments: 1.

In the history tree, locate the polyline that contains the segment you want to convert. Expand this part of the history tree.

2.

In the history tree, right-click the polyline segment operation you want to change, and then click Properties. The Properties dialog appears.

3.

In the Properties dialog box, click in the Value text box of the Segment Type row.

4.

Select the desired polyline segment type from the pull-down list. The polyline segment you selected is changed to the new type.

Note

5.

Converting an arc line or spline segment to a straight line segment results in two straight line segments; one segment is created between the start point and midpoint and one segment is created between the midpoint and endpoint.

By default, curved surfaces are treated as smooth (True) surfaces. If segmented surfaces are Drawing a Model 5-65

HFSS Online Help

desired, enter a number of 2 or greater in the Number of Segments parameter. 6.

Click OK to dismiss the properties panel and implement the changes. If the changes are not what was expected, undo the change using the Edit>Undo command or press CTRL-Z.

Related Topics Creating Segmented Geometry Surface Approximation

Rounding the Edge of Objects (Fillet Command) To round the edge of an object: 1.

Select the edge you want to change. This highlights the edge and enables the Fillet command. Click 3D Model>Fillet or click the fillet icon

.

The Fillet Properties dialog is displayed. 2.

Enter a value for the Fillet Radius in the text field and select units from the drop down menu. The default is millimeters.

3.

Enter a value for the setback distance. The setback distance controls the shape of the vertex. It is the distance of the cross curve from the vertex at the end of the edge. If it is less than the fillet radius it has no effect. You will get an error if it is greater then the length of the edge.

4.

Click OK to apply the change to the edge. The dialog closes and the object is rounded by the radius value relative to the edge you selected.

Flattening the Edge of Objects (Chamfer Command) To flatten the edge of an object. 1.

Select the edge you want to change. This highlights the edge and enables the Chamfer command. Click 3D Model>Chamfer or click the chamfer icon

.

The Chamfer Properties dialog is displayed. 2. 3.

Enter a value for the Chamfer Value in the text field and select units from the drop down menu. The default is millimeters. Click OK to apply the change to the edge. The dialog closes and the object is rounded by the radius value relative to the edge you selected.

Purge History Each object is a sequence of modeler-based operations. The history for each object is shown under its name in the model tree. You can use the Purge History command to remove the history of oper5-66 Drawing a Model

HFSS Online Help

ations while not affecting the geometry itself. This is useful when you wish to perform healing operations on the object. 1.

Select the object.

2.

Select Modeler>Purge History. The history for the model is purged, and the context for the Undo and Redo commands is updated.

Related Topics Working with the History Tree Generate History

Generate History If a polyline object (line, spline, or arc), circle, or ellipse is imported or history was previously purged, you can click on the polyline object and select Generate History to reproduce the individual line segments used to create the polyline in the model history tree. Related Topics Purge History Draw Polyline

Drawing a Model 5-67

HFSS Online Help

5-68 Drawing a Model

HFSS Online Help

Selecting Items in the 3D Modeler Window To modify or learn more about an item’s properties, you must first select it. All commands you choose while an item is selected are performed on or in reference to the selected item. What selection mode do you want to use?

• • • • • •

Select Objects. Select Faces. Select Edges. Select Vertices. Select Multi (a mode for selecting objects, faces, edges or vertices) Coordinates in the drawing space.

Selecting Objects By default, HFSS 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. 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. Selected objects become the color specified under the Display tab of the Modeler Options dialog box. Tooltips, as you hover the cursor over an entity, indicate the type/ID of entity (object name in the case of objects, Face_id in the case of faces, and so on). This feature helps you distinguish between face-of-sheet-object pick versus sheet-object pick. By clicking the If HFSS is not currently in object selection mode, you can switch to it using one of the following methods:

• • • •

Press the shortcut key O. Right-click in the view window, and then click Select Objects. On the Edit menu, point to Select, and then click Objects. Select Object from the pull-down list in the 3D Modeler Selection toolbar.

Related Topics Selecting Several Objects Selecting Objects by Name Selecting All Faces of an Object Creating an Object List Selecting the Face or Object Behind Select Edges. Select Vertices. Select Multi (a mode for selecting objects, faces, edges or vertices) Drawing a Model 5-69

HFSS Online Help

Selecting Several Objects 1.

Make sure that HFSS is in object selection mode by pressing the shortcut key O.

2.

Select several objects in one of the following ways:

• • •

In the View window, hold down CTRL and click the objects that you want to select.



Click Edit>Select All to select all objects that were drawn in the active view window, including objects that are not currently visible.



In the History tree, under Lists, select AllObjects. This is an automatically created list that lets you selects all object.



Press CTRL+A or click Edit>Select All Visible to select all objects that are visible in the active view window.

In the History tree, hold down CTRL and click the object names that you want to select. In the History tree, select a range of objects by first clicking one object to select it, and then Shift-click to extend the selection of visible items.

Selected objects become the color that is specified for selected objects under the Display tab of the Modeler Options dialog box. Use Tools>Options>Modeler Options to display the dialog and set the default color. By default, the selected objects are opaque and all other objects become relatively transparent.The settings for the relative opacity and transparency of selected and non-selected objects appear in the 3D UI Options dialog box. Use View>Options to display the 3D UI Options dialog.

Selecting Objects by Name 1.

Make sure that HFSS is in object selection mode by pressing the shortcut key O.

2.

On the Edit menu, point to Select, and then click By Name or in the toolbar, select Object from the drop-down menu to the right of the icon, and click the icon. The Select Object dialog box appears.

3.

In the Name list, click the name of the object you want to select. Use the Ctrl key to select more than one.

• 4.

Alternatively, type the name of an object you want to select in the empty text box.

Click OK. The object is selected.

Setting the Default Color and Transparency of Selected Objects To set the color of objects when they are selected: 1.

On the Tools menu, point to Options, and then click Modeler Options.

2.

Click the Display tab.

3.

Click Select on the Default color pull-down list.

4.

Click the color button beside the Default color pull-down list. The Color palette appears.

5-70 Drawing a Model

HFSS Online Help

5.

Select a color from the Color palette, and then click OK. Any objects you select after this point will temporarily become the default color you selected.

By default, HFSS shows selected objects as nearly opaque and shows non-selected objects as nearly transparent. This features helps you distinguish between selected and non-selected objects. To set the transparency of selected and non-selected objects: 1.

On the View menu, select Options. The 3D UI Options dialog appears. The When there is a selection region contains checkboxes for setting the transparency for selected and non-selected objects. Click the checkbox for the value you want to change. This enables the value field. The default transparency for selected objects is 0.1, which makes them almost opaque. The default transparency for non-selected objects is 0.9, which makes them highly transparent.

2.

Enter a new value, and click OK to apply the new transparency values.

Setting the Default Color of Highlighted Objects 1.

On the Tools menu, point to Options, and then click Modeler options.

2.

Click the Display tab.

3.

Click Highlight on the Default color pull-down list.

4.

Click the color button beside the Default color pull-down list. The Color palette appears.

5.

Select a color from the Color palette, and then click OK. After this point, the outlines of objects you hover over with the mouse will temporarily become the default color you selected.

Creating an Object List Create an object list when you want to define a list of objects. Creating an object list is a convenient way to identify and select a group of objects for a field plot or calculation. Objects in a list can still be treated as separate objects. The same object can be included in several different lists. To create an object list: 1.

Make sure that HFSS is in object selection mode by pressing the shortcut key O.

2.

Select the objects you want to include in the list.

3.

Click Modeler>List>Create>Object List. The object list is created with the default name Objectlistn. It is listed in the history tree under Lists. Selecting an object list displays the properties of that list in the Properties window. One of the properties is a list of objects contained in the list. To rename the Object list, edit the Name property in the Properties window for the list. Object lists are sorted in alphanumeric order.

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. Drawing a Model 5-71

HFSS Online Help

There is an automatically created list called AllObjects. Selecting it selects all objects. Example: To plot the E-field on a surface formed by the intersection of the xy-plane and several objects, first define a list of these objects. Then, when plotting fields, select the object list name from the Geometry window of the Fields Calculator. Fields will be plotted only at the intersection of the plane and the objects in the list. Related Topics Reassigning Objects to Another Object List

Reassigning Objects to Another Object List You can assign objects after you have created object lists. Creating an object list is a convenient way to identify and select a group of objects for a field plot or calculation. Objects in a list can still be treated as separate objects. The same object can be included in several different lists. To reassign objects in an object list: 1.

Make sure that HFSS is in object selection mode by pressing the shortcut key O.

2.

Select the objects you want to reassign.

3.

Click Modeler>List>Reassign A dialog with the existing object lists is displayed. (They appear in the history tree under Lists.) One of the Properties in for the List shows the objects contained in the list.

4.

Select the list to which you want to assign the select object and click OK. The object is reassigned to the selected list.

The object list will be treated as one volume when you are plotting and performing fields calculations. It will be listed in the Geometry window of the Fields Calculator, when you select Volume. Related Topics Creating an Object List

Selecting Faces If HFSS is in face selection mode, click an object face in the view window to select it. To select multiple faces, hold the CTRL key as you click the faces. You also have the option to create face lists, which define a list of object faces, or you can make face selections from a Face ID list in the By Face dialog. Switch to face selection mode using one of the following methods:

• • • •

Press the shortcut key F. Right-click in the view window, and then click Select Faces. On the Edit menu, point to Select, and then click Faces. Select Face from the pull-down list to the right of the select objects icon Modeler Selection toolbar.

You can also select faces in the Select Multi mode.

5-72 Drawing a Model

in the 3D

HFSS Online Help

When the mouse hovers over a face in the view window, that face is highlighted, which indicates that it will be selected when you click. Selected faces become the color specified under the Display tab of the Modeler Options dialog box. All other objects and faces become relatively transparent. You can also use the By Face dialog to select from a list of faces associated with an object: 1.

To use the dialog, no objects should be selected to start.

2.

On the Edit menu, point to Select, and then click By Face or Multi from the drop-down menu to the right of the

or in the toolbar, select Face icon, and click the icon.

This displays the By Face dialog. This contains a list of the available objects. 3.

Select an object in the Object Name list. The Face ID list is then populated with the faces in that object.

4.

Selecting a face ID from the list highlights the face in the 3D window. Use Ctrl-click to select additional faces, or shift-click to select a range of faces.

Related Topics Selecting All Faces of an Object Selecting the Face or Object Behind Selecting Faces by Name Selecting Faces by Plane Creating a Face List Face Selection Toolbar Icons Select Edges. Select Vertices. Select Multi (a mode for selecting objects, faces, edges or vertices)

Selecting All Faces of an Object 1.

Optionally, select the object (or objects, faces, edges or vertices) with the faces you want to select.

2.

Switch to face selection mode by pressing the shortcut key F.

3.

If an object is not selected, click a face on the object of interest.

4.

On the Edit menu, point to Select, and then click All Object Faces.



Alternatively, right-click in the view window, and then click All Object Faces on the shortcut menu.



As another alternative, select use the face selection toolbar icons.

All the faces of the object are selected. If you selected multiple objects, all faces of those objects are selected. Related Topics Selecting Faces Selecting the Face or Object Behind Drawing a Model 5-73

HFSS Online Help

Creating a Face List Face Selection Toolbar Icons

Selecting Faces by Name 1.

Make sure that HFSS is in face selection mode by pressing the shortcut key F.

2.

On the Edit menu, point to Select, and then click By Name or in the toolbar, select Face from the dropdown menu to the right of the object selection icon and click the icon.

3.

In the Object name list, click the name of the object with the face you want to select.

The Select Face dialog box appears. The object’s faces are listed in the Face ID column. 4.

Click the face you want to select in the Face ID column. You can select more than one. The face is selected in the view window.

5.

Click OK.

Related Topics Selecting Faces Creating a Face List

Selecting Faces by Plane To select a face that is aligned with a global plane, use one of the following two methods. 1.

Make sure that HFSS is in face selection mode by pressing the shortcut key F.

2.

In the History Tree, expand the Planes icon. Left-click on a plane (Global:XY, Global:YZ, or Global:XZ) to display the selected global plane.

3.

On the Edit menu, point to Select, and then click Faces on Plane. The selected faces are highlighted.

Alternative method: 1.

In the History Tree, expand the Planes icon.

2.

Right-click on a plane (Global:XY, Global:YZ, or Global:XZ) to select the global plane and display a pull-down menu.

3.

On the pulldown menu, click Faces on Plane. The selected faces are highlighted.

Related Topics Selecting Faces Creating a Face List Select Multi (a mode for selecting objects, faces, edges or vertices)

5-74 Drawing a Model

HFSS Online Help

Face Selection Toolbar Icons While working on analyzing complex objects, 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->Select and via the toolbar icons. Selecting an object face enables the face selection icons in the toolbar.

Select face chain Select connected faces Select connected edges Select connected vertices You can use these icons to modify the selection:



Select face chain selects faces that touch each other. It allows faces that are part of a "protrusion" to be selected.

• • •

Select connected faces selects faces connected to the current selection. Select connected edges selects the edges of the selected face or faces. Select vertices selects the vertices of the selected face or faces.

Related Topics Selecting All Faces of an Object Selecting the Face or Object Behind Selecting Faces by Name Selecting Faces by Plane Creating a Face List Select Edges. Select Vertices. Select Multi (a mode for selecting objects, faces, edges or vertices)

Creating a Face List Create a face list when you want to define a list of object faces. Creating a face list is a convenient way to identify and select a specific set of surfaces for a field plot or calculation. The same face can be included in several different lists. To create a face list: 1.

Make sure that HFSS is in face selection mode by pressing the shortcut key F.

2.

Select the object faces you want to include in the face list. Drawing a Model 5-75

HFSS Online Help

3.

Click Modeler>List>Create>Face List. The face list is created. It is listed in the history tree under Lists. The default name is Facelistn. The lists appear in alphanumeric order. To change the name of a face list (for example, to a name describing the listed faces as ports or boundaries), select the list in the History Tree and Edit Properties. Editing the Name property changes the name. If necessary, the list order in the History tree changes for the new name.

The face list will be treated as one selection of surfaces when you are plotting and performing fields calculations. The face list will be listed in the Geometry window of the Fields Calculator, when you select Surface.

Selecting Edges If HFSS is in edge selection mode, simply click an object’s edge in the view window and it will be selected. To select multiple edges, hold the CTRL key as you click the edges. When the mouse hovers over an edge in the view window, that edge is highlighted, which indicates that it will be selected when you click. Selected edges become the color specified under the Display tab of the Modeler Options dialog box. All other objects become relatively transparent. Switch to edge selection mode using one of the following methods:

• • •

From the menu bar, click Edit>Select>Edges Press the “E” key to enter edge selection mode. Select Edge from the pull-down list in the 3D Modeler Selection toolbar.

Selecting an edge enables the following toolbar icons.

Select edge chain Select connected faces Select connected edges Select connected vertices You can use these icons to modify the current selection.

• • • •

Select edge chain selects the edges that touch the selected edge. Select connected faces selects faces touching to the current selection. Select connected edges selects the edges that touch the current selection. Select vertices selects the vertices of the selected edge or edges.

Related Topics Selecting All Faces of an Object Selecting the Face or Object Behind 5-76 Drawing a Model

HFSS Online Help

Selecting Faces by Name Selecting Faces by Plane Creating a Face List Select Edges Select Vertices Select Multi (a mode for selecting objects, faces, edges or vertices)

Selecting Vertices If HFSS is in vertex selection mode, simply click an object’s vertex in the view window and it will be selected. To select multiple vertices, hold the CTRL key as you click the vertices. When the mouse hovers over a vertex in the view window, that vertex is highlighted, which indicates that it will be selected when you click. Selected vertices become the color specified under the Display tab of the Modeler Options dialog box. All other objects become relatively transparent. Switch to vertex selection mode using one of the following methods:

• • •

On the Edit menu, point to Select, and then click Vertices. Press the “V” key to enter vertex selection mode. Select Vertex from the pull-down list in the 3D Modeler Selection toolbar.

Selecting a vertex enables the following selection icons.

Select connected faces Select connected edges Select connected vertices You can use these icons to modify the current selection.

• • •

Select connected faces selects faces touching to the current selection. Select connected edges selects the edges that touch the current selection. Select vertices selects the vertices of edges that touch the current selection.

Related Topics Selecting All Faces of an Object Selecting the Face or Object Behind Selecting Faces by Name Selecting Faces by Plane Creating a Face List Drawing a Model 5-77

HFSS Online Help

Select Edges Select Vertices Select Multi (a mode for selecting objects, faces, edges or vertices)

Selecting Multi (a Mode for Selecting Objects, Faces, Vertices or Edges) The Select Multi mode permits you to select objects, faces, vertices, or edges, depending on where you click. This very useful in conjunction with Measure Mode, for measuring the distances between different entities. Enter Select Multi mode by one of the following methods:

• • • •

Press the shortcut key M. Right-click in the view window, and then click Select Multi. On the Edit menu, point to Select, and then click Multi. Select Multi from the pull-down list in the 3D Modeler Selection toolbar.

With Multi mode active:

• • • •

To select a vertex, click near a vertex, within 10 pixel radius. To select an edge, click near an edge (and 10 pixels away from vertex). To select an object, click little farther from edge, between 10 and 20 pixels. To select a face, click anywhere else on the interior of face.

Tooltips, as you hover the cursor over an entity, indicate the type/ID of entity (object name in the case of objects, Face_id in the case of faces, and so on). This feature helps you distinguish between face-of-sheet-object pick versus sheet-object pick. By holding down the Ctrl key, you can make multiple selections. Controlling the Selection in Multi Mode You can control the behavior of this mode by clicking Edit>Select Multi Mode Settings. This displays a dialog with check boxes for Object, Face, Edge, and Vertex. Unchecking a box cancels the selection behavior for that category. You can also control the behavior of this mode by clicking the icons for Object, Face, Edge, and Vertex to the right of the Multi mode selection menu. To add the Multi Mode selection menu and icons to the toolbar: 1.

Select Tools>Customize. This displays the Customize dialog with the Toolbars tab selected.

2.

Select 3D Modeler Selection mode from the toolbars list by checking it. This adds the Mode selection menu and icons to the toolbar.

You can also add the Mode selection menus from the Commands tab by selecting 3D Modeler Selection from the Category list, and dragging the icons to the toolbar. 3.

When Multi is selected as the mode, you can enable or disable Object, Face, Edge, or Vertex selection by clicking the associated icon.

5-78 Drawing a Model

HFSS Online Help

Related Topics Selecting All Faces of an Object Selecting the Face or Object Behind Selecting Faces by Name Selecting Faces by Plane Creating a Face List Select Edges Select Vertices Selecting the Face or Object Behind Clearing a Selection Measure Modes

Clearing a Selection To clear an object, face, edge, or vertex selection, do one of the following:

• • • •

Click the view window at a point where an object does not exist. To clear an object selection, click a point away from the object name in the history tree. On the Edit menu, click Deselect All. Press Shift+Ctrl+A. The items are no longer selected.

Selecting the Face or Object Behind To select the face or object behind a selected face or object, do one of the following:

• • • •

On the Edit menu, point to Select, and then click Next Behind. Right-click in the view window and click Next Behind. Press the shortcut key B. Press Ctrl+B.

This option is useful when you are trying to select a face or object that is in the interior of a model, or when you do not want to change the model view to select a face or object.

Selecting Cartesian Coordinates To select a point using Cartesian coordinates, type the point’s distance from the origin in the x, y, and z directions in the X, Y, and Z text boxes, respectively. When selecting a second point, specify its distance from the previously selected point in the x, y, and z directions in the dX, dY, and dZ text boxes, respectively. 1.

After clicking the desired drawing command, select Cartesian from the pull-down list in the

Drawing a Model 5-79

HFSS Online Help

status bar. 2.

Type the point’s x-, y-, and z-coordinates in the X, Y, and Z text boxes. Hint

• 3.

Press Tab to move from one coordinate text box to the next. Press Ctrl+Tab to move to the previous coordinate text box. Alternatively, click the point in the view window.

When drawing objects other than polylines and helices, the second point you select is relative to the first point. Type the second point’s distance from the previously selected point in the x, y, and z directions in the dX, dY, and dZ text boxes, respectively.

Related Topics Selecting Cylindrical Coordinates Selecting Spherical Coordinates

Selecting Cylindrical Coordinates To select a point using cylindrical coordinates, specify the point’s radius, measured from the origin, in the R text box, the angle from the x-axis in the Theta text box, and the distance from the origin in the z direction in the Z text box. When selecting a second point, specify its distance from the previously selected point in the in dR, dTheta, and dZ text boxes. 1.

After clicking the desired drawing command, select Cylindrical from the pull-down list in the status bar.

2.

Type the point’s r-, theta-, and z-coordinates in the R, Theta, and Z boxes. Hint

• 3.

Press Tab to move from one coordinate text box to the next. Press Ctrl+Tab to move to the previous coordinate text box. Alternatively, click the point in the view window.

When drawing objects other than polylines and helices, the second point you select is relative to the first point. Type the second point’s distance from the previously selected point in the dR, dTheta, and dZ text boxes.

Related Topics Selecting Cartesian Coordinates Selecting Spherical Coordinates

Selecting Spherical Coordinates To select a point in spherical coordinates, 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. When selecting a second point, specify its distance from the previously selected point in the in dRho, dTheta, and dPhi text boxes. 1.

After clicking the desired drawing command, select Spherical from the pull-down list in the

5-80 Drawing a Model

HFSS Online Help

status bar. 2.

Type the point’s r-, theta-, and phi-coordinates in the Rho, Theta, and Phi text boxes in the status bar. Hint

• 3.

Press Tab to move from one coordinate text box to the next. Press Ctrl+Tab to move to the previous coordinate text box. Alternatively, click the point in the view window.

When drawing objects other than polylines and helices, the second point you select is relative to the first point. Type the second point’s distance from the previously selected point in the dRho, dTheta, and dPhi text boxes.

Related Topics Selecting Cartesian Coordinates Selecting Cylindrical Coordinates Selecting Relative Coordinates Selecting Absolute Coordinates

Selecting Absolute Coordinates When entering a point’s coordinates, you can specify them in absolute or relative coordinates. Absolute coordinates are relative to the working coordinate system’s origin (0, 0, 0). This is the default setting for the first point you select after clicking a drawing command. Relative coordinates are relative to the reference point, or the previously selected point. To enter a point’s absolute coordinates: 1.

Click the desired drawing command.

2.

Select Absolute from the Absolute/Relative pull-down list in the status bar.

3.

Specify the point’s coordinates in one of the following ways:

• • Note

Click the point. Type the point’s coordinates in the appropriate text boxes in the status bar. When drawing objects other than polylines and helices, by default, the second point you select is relative to the first point; Relative is automatically selected in the Absolute/ Relative pull-down list in the status bar. Be sure to select Absolute from the Absolute/ Relative pull-down list in the status bar if you want the second point to be relative to the working coordinate system.

Related Topics Selecting Relative Coordinates

Drawing a Model 5-81

HFSS Online Help

Selecting Relative Coordinates When entering a point’s coordinates, you can specify them in absolute or relative coordinates. Relative coordinates are relative to the reference point, or the previously selected point. Absolute coordinates are relative to the working coordinate system’s origin (0, 0, 0). To enter a point’s relative coordinates: 1.

Click the desired drawing command.

2.

Select Relative from the Absolute/Relative pull-down list in the status bar.

3.

Specify the point’s coordinates in one of the following ways:

• •

Click the point. Type the point’s coordinates in the appropriate text boxes in the status bar.

Related Topics Selecting Absolute Coordinates

5-82 Drawing a Model

HFSS Online Help

Choosing the Movement Mode When drawing objects, the cursor’s location is always relative to a reference point. The reference point is displayed with a mini xyz-axis:

To change the reference point, move the cursor to the desired point and press Ctrl+Enter. You can move the cursor to one of the following points:

• • • • • •

In the same plane as the reference point (in-plane movement mode). Perpendicular to the reference point (out-of-plane movement mode). If an object is present to snap to a point in 3D space (3D movement mode). Along the x-axis. Along the y-axis. Along the z-axis.

Moving the Cursor In Plane To move the cursor to a point on the same plane as the reference point 1.

Click the desired drawing command.

2.

Do one of the following:

• •

On the 3D Model menu, point to Movement Mode, and then click In Plane. Click In Plane in the movement mode pull-down list in the 3D Modeler Draw toolbar.

The next point you select will be on the same plane as the reference point.

The cursor’s location, displayed with a black diamond that indicates it has snapped to the grid, is on the same plane as the reference point.

Moving the Cursor Out of Plane To move the cursor to a point perpendicular to the reference point: Drawing a Model 5-83

HFSS Online Help



After clicking the desired drawing command, on the 3D Model menu, point to Movement Mode, and then click Out of Plane. A dashed line is displayed between the reference point and the cursor’s location, which is now perpendicular to the reference point.

The cursor’s location, displayed with a black diamond that indicates it has snapped to a grid point, is perpendicular to the reference point.

Moving the Cursor in 3D Space To move the cursor to a point in 3D space relative to the reference point: 1. 2.

Click the desired drawing command. Do one of the following:

• •

On the 3D Model menu, point to Movement Mode, and then click 3D. Click 3D in the movement mode pull-down list in the 3D Modeler Draw toolbar.

If an object is within snapping range, the cursor will snap to the nearest point in 3D space occupied by the object. If an object is not within snapping range, 3D movement mode is identical to the in-plane

5-84 Drawing a Model

HFSS Online Help

movement mode.

The cursor’s location, displayed by a circle that indicates it has snapped to a face center, is (0.5, 0.5, 1.0), a point in 3D space relative to the reference point.

Moving the Cursor Along the X-Axis To move the cursor to a point away from the reference point in the x direction: 1.

Click the desired drawing command.

2.

Do one of the following:

• • •

On the 3D Model menu, point to Movement Mode, and then click Along X Axis. Hold the shortcut key X. Click Along X Axis in the movement mode pull-down list in the 3D Modeler Draw toolbar:

The next point you select will be on the same plane as the reference point in the positive or negative x direction. Drawing a Model 5-85

HFSS Online Help

Moving the Cursor Along the Y-Axis To move the cursor to a point away from the reference point in the y direction: 1. 2.

Click the desired drawing command. Do one of the following:

• • •

On the 3D Model menu, point to Movement Mode, and then click Along Y Axis. Hold the shortcut key Y. Click Along Y Axis in the movement mode pull-down list in the 3D Modeler Draw toolbar:

The next point you select will be on the same plane as the reference point in the positive or negative y direction.

Moving the Cursor Along the Z-Axis To move the cursor to a point away from the reference point in the z direction: 1. 2.

Click the desired drawing command. Do one of the following:

• • •

On the 3D Model menu, point to Movement Mode, and then click Along Z Axis. Hold the shortcut key Z. Click Along Z Axis in the movement mode pull-down list in the 3D Modeler Draw toolbar:

The next point you select will be on the same plane as the reference point in the positive or negative z direction.

5-86 Drawing a Model

HFSS Online Help

Choosing Snap Settings By default, the selection point and graphical objects are set to "snap to", or adhere to, a point on the grid when the cursor hovers over it. The coordinates of this point are used, rather than the exact location of the mouse. The cursor changes to the shape of the snap mode when it is being snapped. To change the snap settings for the active design, you can use either the Modeler menu or the toolbar icons : 1.

On the Modeler menu, click Snap Mode or click the toolbar icons. If you select the menu command, the Snap Mode window appears.

2.

Specify the snap mode settings you want.

• • •

If you want the cursor to snap to a point on the grid, select Grid or the icon To snap to the center point of an edge, select Edge Center or the icon may be on a 1D, 2D, or 3D object edge.

. The center point

• • •

To snap to the center of an object face, select Face Center or the icon

.

To snap to a vertex, select Vertex or the icon

.

.

To snap to the nearest quarter point on an edge, select Quadrant or the icon To snap to the center of an arc, select Arc Center or the icon

.

.

When the cursor snaps to a point, it will change to one of the following snap mode shapes: Grid Vertex Edge Center Face Center Quadrant Arc Center

Note

By default, the mouse is set to snap to the grid, a vertex, an edge center, a face center, and the nearest quadrant. To modify the default snap settings for the active design and all new designs, modify the selections under the Drawing tab in the Modeler Options dialog box.

Related Topics Snap Setting Guidelines

Drawing a Model 5-87

HFSS Online Help

Snap Setting Guidelines In general, select at least one of the snap options in the Snap Mode window. If none of these options are selected, the software is in "free mode" and selects whatever point you click, regardless of its coordinates. This can cause problems when you are trying to create closed objects. Although the point you select may appear to be the vertex point of an open object, you may not have actually clicked the exact coordinates of the point.

5-88 Drawing a Model

HFSS Online Help

Measure Modes for Objects 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. 1.

To access the Measure mode, either:

• •

Select Modeler>Measure. Right-click and select Measure from the short-cut menu.

After you select Measure, a cascading menu appears for Position, Edge, Face and Object. 2.

Select Position to obtain location and distance formation between a specified reference point and the cursor location. The Measure Information dialog box appears. With Measure>Position selected, the information displayed includes:

• • • • • •

The location of the reference point. (Position1) The current cursor location. (Position2) The distance between the Reference and Current location. The X distance. The Y distance. The Z distance.

With Measure>Edge, Face, or Object selected, the information displayed for each selected object is the name and:

• • • •

The area and volume of a 3D object. The area of a face. The length of an edge. The location of a vertex.

For more information on cursor and reference point behavior in this mode, see Measuring Position and Distance 3.

To use Measure>Edge, Face, or Object to measure the distance and angle between two selected items:



Select two points. Click the first and Ctrl-click to select the second. The Measure Information dialog displays the coordinates of each point, the distance between the pointsm and the angle between Origin-P1, Origin-P2 line.



Select two faces, the Measure Information dialog displays the angle/distance between them.

• •

The function is similar when you select two edges and when you select an edge and a face. You can also measure distance between vertex/face, vertex/edge. In these cases, use the Drawing a Model 5-89

HFSS Online Help

Select Multi mode. 4.

To exit the Measure mode, click Close on the Measure Information dialog.

Related Topics Measuring Position and Distance Setting Coordinate Systems Modifying the Coordinate System Axes View Choosing Snap Settings Choosing Movement Mode (3D, in plane, X, Y, or Z) Select Multi (a mode for selecting objects, faces, edges or vertices)

Measuring Position and Distance To measure the distance between any cursor location relative to a designated reference point:



Select Modeler>Measure>Position. This enables the Measure Position mode opens the Measure Data dialog. The dialog lists the coordinates of the current reference point (Position1)and the cursor location (Position2). It also lists the distance between those points, and the X, Y, and Z distances. The shortcut menu displays the Hints item. When Hints are on (the default), a text display in the lower right of the 3D Modeler window, explaining how to set the reference point, and ways to control the movement mode.



The reference point is displayed as a mini x-y-z-axis:

Use Ctrl-Click to set the reference point at a new location.



The cursor leads a diamond-shape selection marker that snaps from grid point to grid point. The Measure Data dialog also provides a text identification of the current grid points. If you drag the cursor off design objects, by default, it moves in the xy-plane. You can restrict movement to in a specific plane, out of plane, or z, x, or y. Besides the context menu for movement, you can also use the X, Y, and Z keys to restrict movement. See Choosing a Movement Mode. for further details. If you drag the selection marker over an object, it follows the 3D surfaces of the object, dropping a dashed reference line to a point on the current plane. The cursor changes shape to provide information about the object at the corresponding coordinate.:

To measure the distance between two points: 1. 2.

Select Modeler>Measure>Position to enter Measure Position mode. Ctrl-click to set the reference point. The reference point display moves to the selected point. This becomes the coordinate for

5-90 Drawing a Model

HFSS Online Help

Grid point Vertex Edge Center Face Center Quadrant Position1 in the Measure Data dialog. 3.

Drag the cursor to the second point. The value of the Position2 dynamically changes as you drag the cursor. You do not need to click. The values shown include:

• • • • 4.

Distance. X distance Y Distance. Z Distance.

To close the dialog box and exit Measure mode, click the Close button.

Related Topics Measure Modes for Objects Setting Coordinate Systems Modifying the Coordinate System Axes View Choosing Snap Settings Choosing Movement Mode (3D, in plane, X, Y, or Z) Select Multi (a mode for selecting objects, faces, edges or vertices)

Drawing a Model 5-91

HFSS Online Help

Setting Coordinate Systems HFSS has three types of coordinate systems that enable you to easily orient new objects: a global coordinate system, a relative coordinate system, and a face coordinate system. Every coordinate system (CS) 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 global coordinate system (CS) is the fixed, default CS for each new project. It cannot be edited or deleted. 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 accordingly. You can choose to set a relative CS that is offset from an existing CS, rotated from an existing CS, or both offset and rotated from an existing CS. This feature provides a way for objects made of the same anisotropic materials to have different orientations. 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. Switch between global, relative, 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. The Properties dialog box lists the CS associated with an object. User-defined CSs are saved with the active project. Related Topics Creating a Relative Coordinate System Creating a Face Coordinate System Setting the Working Coordinate System Modifying the Coordinate System Axes View Assigning Material Property Types Change the Orientation of an object

Setting the Working Coordinate System The working coordinate system (CS) is the current CS with which objects being drawn are associated. The working CS can be the global CS or a user-defined relative CS or face CS. Select the working CS by clicking its name in the history tree, or follow this procedure: 1.

On the Modeler menu, point to Coordinate System, and then click Set Working CS. The Select Coordinate System window appears.

2.

Click a CS in the list.

3.

Click Select. A red W appears at the lower-left corner of the CS name in the history tree, indicating that it is the working CS.

5-92 Drawing a Model

HFSS Online Help

Objects that you draw hereafter will be associated with the CS you selected. Related Topics Setting Coordinate Systems

Creating a Relative Coordinate System When creating a relative CS, you have the following options:



You can create an offset relative CS, that is, a relative CS whose origin lies a specified distance from another CS’s origin. By moving a CS’s origin, you can enter coordinates relative to an existing object, without having to add or subtract the existing object’s coordinates.



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.



You can also create a relative CS that is both offset and rotated.

Creating an Offset Relative CS To create a relative CS with an origin that lies a specified distance from another CS’s origin: 1.

In the history tree, click the CS upon which you want to base the new relative CS, making it the working CS.

2.

Point to Modeler>Coordinate System>Create>Relative CS.

3.

On the Relative CS menu, click Offset

4.

Select the origin in one of the following ways:

• •

.

Click the point. Type the point’s coordinates in the X, Y, and Z boxes.

To select a point that does not lie in the current plane, use the Movement Mode commands on the shortcut menu. The new relative CS is created. Its origin has moved from the previous working CS, but its axes remain the same. It is listed in the history tree under Coordinate Systems. It automatically becomes the working CS; objects that you draw hereafter will be based on the coordinates of this relative CS. Default planes are created on its xy, yz, and xz planes. Related Topics Creating a Relative Coordinate System Creating an Offset and Rotated Relative CS

Creating a Rotated Relative CS To create a new relative CS with its axes rotated away from another CS’s axes: 1.

In the history tree, select the CS upon which you want to base the new relative CS, making it the working CS.

2.

Point to Modeler>Coordinate System>Create>Relative CS.

3.

On the Relative CS menu, click Rotated

. Drawing a Model 5-93

HFSS Online Help

4.

Specify the x-axis by selecting a point on the axis in one of the following ways:

• •

Click the point. Type the point’s coordinates in the X, Y, and Z boxes.

To select a point that does not lie in the current plane, use the Movement Mode commands on the shortcut menu. 5.

Specify the xy plane by selecting any point on it in one of the following ways:

• •

Click the point. Type the coordinates of a point that is relative to the previously selected point in the dX, dY, and dZ boxes, where d is the distance from the previously selected point.

You do not need to specify the z-axis. It is automatically calculated to be at a right angle to the y-axis. The new relative CS is created. It has the same origin as the previous working CS, but its axes are rotated. It is listed in the history tree under Coordinate Systems. It automatically becomes the working CS; objects that you draw hereafter will be based on the coordinates of this relative CS. Default planes are created on its xy, yz, and xz planes. Related Topics Creating a Relative Coordinate System Creating an Offset and Rotated Relative CS

Creating an Offset and Rotated Relative CS To create a new relative CS that is both offset and rotated from an existing CS: 1.

In the history tree, select the CS upon which you want to base the new relative CS, making it the working CS.

2.

Point to Modeler>Coordinate System>Create>Relative CS.

3.

On the Relative CS menu, click Both

4.

Select the origin in one of the following ways:

• •

.

Click the point. Type the point’s coordinates in the X, Y, and Z boxes.

To select a point that does not lie in the current plane, use the Movement Mode commands on the shortcut menu. 5.

Specify the x-axis by selecting a point on the axis in one of the following ways:

• • 6.

Click the point. Type the coordinates of a point that is relative to the origin in the dX, dY, and dZ boxes, where d is the distance from the previously selected point.

Specify the xy plane by selecting any point on it in one of the following ways:

• • 5-94 Drawing a Model

Click the point. Type the coordinates of a point that is relative to the previously selected point in the dX, dY, and dZ boxes.

HFSS Online Help

You do not need to specify the z-axis. It is automatically calculated to be at a right angle to the y-axis. 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. Related Topics Creating a Relative Coordinate System

Creating a Face Coordinate System 1.

Select the object face upon which you want to create the face CS.

2.

Click Modeler>Coordinate System>Create>Face CS

3.

Select the origin in one of the following ways:

• • 4.

.

Click the point on the face. Type the point’s coordinates in the X, Y, and Z boxes.

Specify the x-axis by selecting a point on the object face in one of the following ways:

• •

Click the point. Type the coordinates of a point that is relative to the previously selected point in the dX, dY, and dZ boxes, where d is the distance from the previously selected point.

You do not need to specify the y- or z-axes. HFSS assumes that the z-axis is normal to the object face and the y-axis is automatically calculated to be at a right angle to the z-axis. The new face CS is listed in the history tree under Coordinate Systems. It automatically becomes the working CS; objects that you draw hereafter will be referenced to the coordinates of this face CS. Default planes are created on its xy, yz, and xz planes. Only operations listed in the history tree before the face CS’s creation will affect the face CS, and in turn, affect objects dependent upon that face CS. A face CS, or objects created on it, is not affected by operations that occur after it is created. For example, suppose you create a box, then a face CS on a face of the box, and then a cylinder on the face CS. If you then edit the box’s dimensions in the Properties dialog box, the cylinder will move accordingly. But if you rotate the box using the Edit>Arrange>Rotate command, the box will move, but the cylinder will not move because the operation occurs later in the history tree. Related Topics Automatically Creating Face Coordinate Systems Setting the Working Coordinate System Modifying Coordinate Systems Setting Coordinate Systems

Drawing a Model 5-95

HFSS Online Help

Automatically Creating Face Coordinate Systems You can instruct HFSS to automatically create a new face CS every time you draw on an object’s face. 1.

On the Tools menu, point to Options, and then click Modeler Options. The Modeler Options dialog box appears.

2.

Select Automatically switch to face coordinate system.

3.

Click OK.

Now, when you select a face, and then click a drawing command, a new face CS will be created on the face. HFSS automatically sets the new face CS as the working CS. The object you draw is oriented according to the new face CS. Note

HFSS will not automatically create a new face CS if a face CS has already been assigned to the selected face.

Related Topics Creating a Face Coordinate System

Modifying Coordinate Systems Keep in mind that when you edit a CS, the following will also be affected:

• • •

All objects drawn on the CS.

1.

On the Modeler menu, point to Coordinate System, and then click Edit.

All CSs that were defined relative to that CS. All objects drawn on a CS that was defined relative to that CS.

The Select Working CS window appears. 2.

Click the CS you want to modify.

3.

Click Select.

4.

If you selected a relative CS, follow the directions for creating a relative CS. If you selected a face CS, follow the directions for creating a face CS.

Related Topics Setting Coordinate Systems Creating a Relative Coordinate System Creating a Face Coordinate System Modifying the Coordinate System Axes View

Deleting Coordinate Systems 1.

Click the name of the CS you want to delete in the history tree.

5-96 Drawing a Model

HFSS Online Help

2.

On the Edit menu, click Delete



.

Alternatively, press Delete.

The CS will be deleted and all objects drawn on it will be deleted. Further, any CS that was dependent upon the deleted CS will be deleted and any objects that were drawn on the dependent CS will also be deleted. Related Topics Setting Coordinate Systems Creating a Relative Coordinate System Creating a Face Coordinate System Modifying the Coordinate System Axes View

Drawing a Model 5-97

HFSS Online Help

5-98 Drawing a Model

6 Assigning Boundaries

Boundary conditions specify the field behavior at the edges of the problem region and object interfaces. You may assign the following types of boundaries to an HFSS design: Perfect E

Represents a perfectly conducting surface.

Perfect H

Represents a surface on which the tangential component of the H-field is the same on both sides.

Impedance

Represents a resistive surface.

Radiation

Represents an absorbing boundary condition (ABC) that absorbs outgoing waves.

PML

Represents several layers of specialized materials that absorb outgoing waves.

Finite Conductivity

Represents an imperfect conductor.

Symmetry

Represents a perfect E or perfect H plane of symmetry.

Master

Represents a surface on which the E-field at each point is matched to another surface (the slave boundary) to within a phase difference.

Slave

Represents a surface on which the E-field at each point has been forced to match the E-field of another surface (the master boundary) to within a phase difference.

Assigning Boundaries 6-1

HFSS Online Help

Lumped RLC

Represents any combination of lumped resistor, inductor, and/or capacitor in parallel on a surface.

Screening Impedance

Represents a boundary condition used to replace a surface a planar screen or grid with periodic geometry.

Layered Impedance

Represents a structure with multiple layers as one impedance surface.

You may also choose to designate a perfect E, finite conductivity, or impedance boundary as an infinite ground plane if you want the surface to represent an electrically large ground plane when the radiated fields are calculated during post processing. For convenience, you can access the Edit Global Materials command from the Boundaries menu.

Note

By default, the history tree in the 3D modeler window groups sheet objects according to boundary assignment. To change this, select the Sheets icon and right-click to display the Group Sheets by Assignment checkbooks.

Related Topics Technical Notes: Boundaries Zoom to Selected Boundary Setting Default Boundary Base Names Designating Infinite Ground Planes Modifying Boundaries Deleting Boundaries Reassigning Boundaries Reprioritizing Boundaries Edit Global Materials Environment Duplicating Boundaries and Excitations with Geometry Showing and Hiding Boundaries and Excitations Reviewing Boundaries and Excitations in the Solver View Setting Default Values for Boundaries and Excitations

Zoom to Selected Boundary You can select on a boundary name in the Project tree, and right-click, the popup menu includes a Zoom to command. This zooms the view in the 3D Modeler view in or out to show the selected boundary. This can be very useful in looking at problem areas.

6-2 Assigning Boundaries

HFSS Online Help

Setting Default Boundary/Excitation Base Names To change the default boundary or excitation base names, so that subsequent names increment from the base of your choosing: 1.

Click Boundary>Set Default Base Name or Excitation >Set Default Base Name. This displays the Set Default Boundary/Excitation Base dialog. This contains a list of all boundary and excitation types, and the base names for each. The base names for each type have editable text fields. The base names for boundaries and excitations are incremented from the base names here.

2.

Edit the text fields to your preferred naming conventions.

3.

Click OK to accept the changes or Cancel to close the dialog without accepting changes.

If you want to revert all or selected names to Ansoft defaults, use the Revert All or Revert Selected buttons.

Assigning Boundaries 6-3

HFSS Online Help

Assigning Perfect E Boundaries A perfect E boundary is used to represent a perfectly conducting surface in a structure. 1.

Select the object or object face to which you want to assign the perfect E boundary.

2.

Click HFSS>Boundaries>Assign>Perfect E. The Perfect E Boundary dialog box appears.

3.

Type the boundary’s name in the Name text box or accept the default name. (To change the default base name to one of your choosing, see Setting Default Boundary/Excitation Base Names.)

4.

Select Infinite Ground Plane if you want the surface to represent an electrically large ground plane when the radiated fields are calculated during post processing.

5.

Click OK. The new boundary is listed under Boundaries in the project tree.

Related Topics Technical Notes: Perfect E Boundaries

6-4 Assigning Boundaries

HFSS Online Help

Assigning Perfect H Boundaries A perfect H boundary represents a surface on which the tangential component of the H-field is the same on both sides. For internal surfaces, this results in a natural boundary through which the field propagates. For surfaces on the outer surface of the model, this results in a boundary that simulates a perfect magnetic conductor in which the tangential component of the H-field is zero. 1.

Select the object or object face to which you want to assign the perfect H boundary.

2.

Click HFSS>Boundaries>Assign>Perfect H. The Perfect H Boundary dialog box appears.

3.

4.

Type the boundary’s name in the Name text box or accept the default name. (To change the default base name to one of your choosing, see Setting Default Boundary/Excitation Base Names.) Click OK. The new boundary is listed under Boundaries in the project tree.

Assigning Boundaries 6-5

HFSS Online Help

Assigning Impedance Boundaries An impedance boundary represents a resistive surface. The behavior of the field at the surface and the losses generated by the currents flowing inside the resistor are computed using analytical formulas; HFSS does not actually simulate any fields inside the resistor. 1.

Select the object or object face to which you want to assign the impedance boundary.

2.

Click HFSS>Boundaries>Assign>Impedance. The Impedance Boundary dialog box appears.

3.

Type the boundary’s name in the Name text box or accept the default name. (To change the default base name to one of your choosing, see Setting Default Boundary/Excitation Base Names.)

4.

Enter the Resistance in ohms/square.

5.

Enter the Reactance in ohms/square.

6.

Select Infinite Ground Plane if you want the surface to represent an electrically large ground plane when the radiated fields are calculated during post processing. Note that if you select Infinite Ground Plane, the effect of the impedance boundary will be incorporated into the field solution in the usual manner, but the radiated fields will be computed as if the lossy ground plane is perfectly conducting.

7.

Click OK. The new boundary is listed under Boundaries in the project tree.

Note

You can assign a variable as the resistance and reactance values. Eigenmode designs cannot contain design parameters that depend on frequency, for example, a frequencydependent impedance boundary condition.

Related Topics Technical Notes: Impedance Boundaries

6-6 Assigning Boundaries

HFSS Online Help

Assigning Radiation Boundaries For Driven Modal or Driven Terminal Designs A radiation boundary is used to simulate an open problem that allows waves to radiate infinitely far into space, such as antenna designs. HFSS absorbs the wave at the radiation boundary, essentially ballooning the boundary infinitely far away from the structure. In HFSS, these are sometimes described as Absorbing Boundary Condition, or ABC. A radiation surface does not have to be spherical, but it must be exposed to the background, convex with regard to the radiation source, and located at least a quarter wavelength from the radiating source. In some cases the radiation boundary may be located closer than one-quarter wavelength, such as portions of the radiation boundary where little radiated energy is expected. Note

Whenever additions/changes are made to radiation boundaries that affect fields, it invalidates those solutions that can possibly have fields. Meshes are not invalidated.

1.

Select the object or object face to which you want to assign the radiation boundary.

2.

Click HFSS>Boundaries>Assign>Radiation. The Radiation Boundary dialog box appears.

3.

Type the boundary’s name in the Name text box or accept the default name. (To change the default base name to one of your choosing, see Setting Default Boundary/Excitation Base Names.)

4.

Optionally, select Advanced Options to display a list of radio buttons showing boundary properties. If your project uses a field solution from another source, your "target" project must have radiation boundaries with Advanced Options defined in order to specify where the fields from the "source" project enter. See the discussion here.

5.

These can be:

• •

Radiating Only - this refers to the original radiating surface properties (the default).



If you select Radiating Only or Incident Field, you can also specify whether the surface is used as Reference for FSS, that is, as a Frequency Selective Surface - this surface become the input surface for calculations of the reflection/transmission coefficients. The other radiating surface automatically becomes output. Only one FSS can be defined in a given model. Using the Incident Field option together with Reference for FSS is advantageous for highly reflective and resonant structures. Reflection/Transmission coefficients for FSS designs can be viewed in the solution data panel as S-parameters or you can create an S-parameter report.



Enforced Field - this has the H tangential component of the incident field directly applied

Incident Field - the incident field source patterns are projected on these surfaces and are backed by ABC or PML. This is like a generalized space port. HFSS knows the incident field pattern, applies it to the port and expects a reflected field pattern which radiates back. In other words, it behaves as if you excited the project by a Norton or Thevenin generator using an impedance which is the free space wave impedance.

Assigning Boundaries 6-7

HFSS Online Help

on these surfaces. It is an inhomogeneous Newmann BC. In other words, it behaves as if you excited the project by an ideal current source (enforced current).

Note

If you select either Enforced Field or Incident Field you should run a validation check in order to avoid an invalid setup. The setup is invalid if any of these surfaces are internal. If you select either Enforced Field or Incident Field in most cases, you should avoid internal surfaces. In order to do that, internal objects with Enforced/Incident Field BC should be substructed to become background, or PEC material should be assigned to these objects to become "NoSolveinside".

6.

Click OK. The new boundary is listed under Boundaries in the project tree.

Note

Do not define a surface that cuts through an object to be a radiation boundary. In general, do not define the interface of two internal objects to be a radiation boundary. The only exception is when one object is a perfectly matched layer boundary (PML) and the other is the PML base object.

Related Topics Assigning PML Boundaries Technical Notes: Radiation Boundaries

6-8 Assigning Boundaries

HFSS Online Help

Assigning PML Boundaries A perfectly matched layer (PML) boundary is used to simulate materials that absorb outgoing waves. Setting up a PML boundary is similar to setting up a radiation boundary. You start by drawing a virtual object around the radiating structure. However, instead of placing a radiation boundary on its surfaces, you add PMLs to fully absorb the electromagnetic field. HFSS can create PMLs automatically, or you can create them manually. Create PMLs automatically if the base object touching the PML is planar and its material is homogenous. HFSS creates a separate PML object for each covered face. The PML boundaries are grouped in the Project tree under the Boundaries icon. Within these groupings, you can edit the radiation parameters (for example, as Incident Wave Port) in order to set up the right total field excitation based on the physical optics approach. PML radiation boundaries are not generated in eigenmode projects. In creating PMLs, you can select non rectangular faces as long as they do not touch any other selected face. The underlying object does not have to be a box. If there are faces that touch, the touching faces must locally be box-like. PML Compared to Radiation Boundaries Compared to Radiation boundaries, which create absorbing boundary conditions (ABC), PMLs in general make if more difficult for the iterative solver to reach convergence compared to the same model with using ABCs. PMLs also require significantly more RAM. The advantages for PMLs are that they absorb a much wider range of waves in terms of frequency and direction. As a result, you can put PMLs much closer to the discontinuities. This gives a smaller model. ABCs efficiently absorb normal incident waves. You have to put ABCs far away enough from the discontinuities. What do you want to do? Create PMLs automatically. Create PMLs manually. Guidelines for Assigning PML Boundaries

Creating PMLs Automatically 1.

Draw a PML base object at the radiation surface.

2.

Select the faces of the PML base object to turn into PMLs. Select only external, planar faces and exclude faces defined as symmetry boundaries.

3.

On the HFSS menu, point to Boundaries, and then click PML Setup Wizard. The PML Setup wizard appears.

4.

Select Create PML Cover Objects on Selected Faces.

5.

Type the thickness of each layer in the Uniform Layer Thickness text box. You can assign a variable as the thickness value.

Note

The layer thickness cannot be modified directly after PML objects have been created. If you want to be able to modify the thickness, assign a variable as the thickness value. Assigning Boundaries 6-9

HFSS Online Help

If you do not assign a value, you can select Use Default Formula to have HFSS calculate a value for you based on geometrical analysis. 6.

Optionally, select Create joining corner and edge objects. Edge and corner PML objects will be created to join adjacent PML surfaces together, ensuring complete coverage. This option is only available if the selected faces are on a box object.

7.

For non-planar, you can select Use Selected Object, ‘objectName’, as PML Cover.

8.

Under Base Face Radiation Properties, click a radio button to specify one of the following:

• •

Radiating Only - the radiation surface (default). Incident Field - the incident field source patterns are projected on these surfaces and are backed by ABC or PML. This is like a generalized space port. HFSS knows the incident field pattern, applies it to the port and expects a reflected field pattern which radiates back. In other words, it behaves as if you excited the project by a Norton or Thevenin generator using an impedance which is the free space wave impedance. For Radiating Only or Incident Field, you can also specify whether the surface is used as Reference for FSS, that is, as a Frequency Selective Surface - this surface becomes the input surface for calculations of the reflection/transmission coefficients. The other radiating surface automatically becomes output. Only one FSS can be defined in a given model. Using the Incident Field option together with Reference for FSS is advantageous for highly reflective and resonant structures. Reflection/Transmission coefficients for FSS designs can be viewed in the solution data panel as S-parameters or you can create an Sparameter report. If you check Reference for FSS, the PML objects will stay visible.

9.

Click Next. HFSS creates PMLs from the faces you selected. Names are automatically given to the layers. that start with PML, which is necessary for HFSS to recognize them as PMLs.

10. Specify how the PMLs terminate by selecting one of the following: a.

PML Objects Accept Free Radiation if the PMLs terminate in free space.

• b.

Then enter the lowest frequency in the frequency range you are solving for in the Min Frequency text box.

PML Objects Continue Guided Waves if the PMLs terminate in a transmission line.



Then specify the propagation constant at the minimum frequency.

11. Specify the minimum distance between the PMLs and any of the radiating bodies in the Minimum Radiating Distance text box. You may choose to have HFSS calculate the value by clicking Use Default Formula. The default distance is based on the extent of base object geometry. The PML material characteristics depend on the cumulative effect of their near fields at the location of the PML surfaces. 12. Click Next. HFSS calculates the appropriate PML materials based on the settings you specified and the 6-10 Assigning Boundaries

HFSS Online Help

material of the base object, and assigns these materials to the objects in the PML group. A summary dialog box appears, enabling you to modify the settings you specified. 13. Click Finish. Related Topics Creating PML Boundaries Manually Modifying PML Boundaries Guidelines for Assigning PML Boundaries Technical Notes: PML Boundaries Assigning Radiation Boundaries

Creating PML Boundaries Manually See Guidelines for Assigning PML Boundaries. 1.

Draw the PML object at the radiation surface, and then select it.

2.

In the Properties window, give the object a name with the prefix PML. Object names that start with PML are necessary for HFSS to recognize them as PMLs.

3.

On the HFSS menu, point to Boundaries, and then click PML Setup Wizard. The PML Setup wizard appears.

4.

Select Use Selected Object as PML Cover.

5.

Select the Corresponding Base Object, the object touching the PML, from the pull-down list.

6.

Type the thickness of each layer in the Uniform Layer Thickness text box. You can assign a variable as the thickness value. If you do not assign a value, you can select Use Default Formula to have HFSS calculate a value for you based on geometrical analysis.

7.

Select the orientation of the PML object, the direction of outward propagation, in the relative, or local, coordinate system.

8.

Under Base Face Radiation Properties, click a radio button to specify one of the following:

• •

Radiating Only - the radiation surface (default). Incident Field - the incident field source patterns are projected on these surfaces and are backed by ABC or PML. This is like a generalized space port. HFSS knows the incident field pattern, applies it to the port and expects a reflected field pattern which radiates back. In other words, it behaves as if you excited the project by a Norton or Thevenin generator using an impedance which is the free space wave impedance. For Radiating Only or Incident Field, you can also specify whether the surface is used as Reference for FSS, that is, as a Frequency Selective Surface - this surface becomes the input surface for calculations of the reflection/transmission coefficients. The other radiating surface automatically becomes output. Only one FSS can be defined in a given model. Using the Incident Field option together with Reference for FSS is advantageous for Assigning Boundaries 6-11

HFSS Online Help

highly reflective and resonant structures. Reflection/Transmission coefficients for FSS designs can be viewed in the solution data panel as S-parameters or you can create an Sparameter report. If you check Reference for Frequency Selective Surface (FSS), the PML objects will stay visible. 9.

Click Next.

10. Specify how the PML terminates by selecting one of the following: a.

PML Objects Accept Free Radiation if the PML terminates in free space.

• b.

Enter the lowest frequency in the frequency range you are solving for in the Min Frequency text box.

PML Objects Continue Guided Waves if the PML terminates in a transmission line.



Specify the propagation constant at the minimum frequency.

11. Specify the minimum distance between the PML and the radiating body in the Minimum Radiating Distance text box. You may choose to let HFSS calculate the value by clicking Use Default Formula. The default distance is based on the extent of base object geometry. The PML material characteristics depend on the cumulative effect of their near fields at the location of the PML surfaces. 12. Click Next. HFSS calculates the appropriate PML material based on the settings you specified and the material of the base object, and assigns this material to the PML. A summary dialog box appears, enabling you to modify the settings you specified. 13. Click Finish. Related Topics Guidelines for Assigning PML Boundaries Modifying PML Boundaries Technical Notes: PML Boundaries Assigning Radiation Boundaries

Guidelines for Assigning PML Boundaries Keep the following guidelines in mind when assigning PML boundaries:



When automatically creating PMLs, HFSS creates a new relative coordinate system for each PML object. This results in the z direction of the PML object coinciding with the normal direction of the base object’s face.



HFSS treats PMLs uniformly with regard to thickness. If the PMLs in your design vary in thickness, create a separate PML group for each thickness.

You should manually create a PML in the following situations:



The base object is curved.

6-12 Assigning Boundaries

HFSS Online Help

HFSS calculates the PML material properties using the normal vector at the center of the base object’s face. If the face is curved, the normal vector changes with position. The PML materials will only be good approximations if the normal vector at each point on the face is close to the normal vector at the face center. It is a good idea to segment the curved surface of the base object for greater accuracy. Create separate PMLs for each segment. Note that each segment’s thickness is treated uniformly. The view angle of the segments should be no wider than 45 degrees. The smaller the angle of each segment, the greater the accuracy of the corresponding PML.



The material of the corresponding base object touching the PML is not homogenous. An example is a metal-shielded microstrip line with a substrate. One PML could be drawn to terminate the microstrip and another could correspond to the substrate. Create as many PML objects as there are subsections of material properties in the base object.

Related Topics Creating PML Boundaries Manually Technical Notes: PML Boundaries Assigning Radiation Boundaries

Modifying PML Boundaries 1.

Make sure that nothing is selected in the 3D Modeler window.

2.

On the HFSS menu, point to Boundaries, and then click PML Setup Wizard. The summary dialog box of the PML Setup wizard appears.

3.

If more than one group of PMLs were defined, select the PML group you want to modify from the table.

4.

Modify the PML settings.

5.

Click Recalculate. HFSS automatically recalculates and assigns the appropriate PML materials to the objects in the PML group.

6.

Click Finish.

Note

If objects are modified after PMLs are created, the PML materials will be invalid and must be recalculated in the PML Setup Wizard. For example, if the material of the PML base object is modified, the associated PML materials must be recalculated in the PML Setup Wizard.

Related Topics Assigning PML Boundaries Assigning Radiation Boundaries

Assigning Boundaries 6-13

HFSS Online Help

Assigning Finite Conductivity Boundaries A finite conductivity boundary represents an imperfect conductor. It approximates the behavior of the field at the object surface; HFSS does not compute the field inside the object. The finite conductivity boundary is valid only if the conductor being modeled is a good conductor, that is, if the conductor’s thickness is much larger than the skin depth in the given frequency range. 1.

Select the object or object face to which you want to assign the finite conductivity boundary.

2.

Click HFSS>Boundaries>Assign>Finite Conductivity. The Finite Conductivity Boundary dialog box appears.

3.

Type the boundary’s name in the Name text box or accept the default name. (To change the default base name to one of your choosing, see Setting Default Boundary/Excitation Base Names.)

4.

Do one of the following:

• •

5.

Enter the conductivity in inverse ohm-meters, and then enter the permeability. Select Use Material, click the default material name, and then choose a material from the material editor. The conductivity and permeability values of the material you select will be used for the boundary. Note that selecting a perfectly conducting material for a finite conductivity boundary triggers a validation error.

Select Infinite Ground Plane if you want the surface to represent an electrically large ground plane when the radiated fields are calculated during post processing. Note that if you select Infinite Ground Plane, the effect of the finite conductivity boundary will be incorporated into the field solution in the usual manner, but the radiated fields will be computed as if the lossy ground plane is perfectly conducting.

6.

To specify the roughness of surfaces such as the interface between the conductor and the substrate for a microstrip line, enter a value for Surface Roughness and select the units (default, microns) from the pull down menu. (This may be more intuitive than using a layered impedance boundary to model the effects.)

7.

To specify a layer thickness, click the checkbox to enable the Layer Thickness field, and enter a value and select units.

8.

Click OK.

Note

You can assign a variable as the conductivity or permeability values.

Related Topics Technical Notes: Finite Conductivity Boundaries

6-14 Assigning Boundaries

HFSS Online Help

Assigning Symmetry Boundaries For Driven Modal or Eigenmode Designs A symmetry boundary represents a perfect E or perfect H plane of symmetry. Symmetry boundaries enable you to model only part of a structure, which reduces the size or complexity of your design. 1.

Select the object face to which you want to assign the symmetry boundary.

2.

Click HFSS>Boundaries>Assign>Symmetry. The Symmetry Boundary dialog box appears.

3.

Type the boundary’s name in the Name text box or accept the default name. (To change the default base name to one of your choosing, see Setting Default Boundary/Excitation Base Names.)

4.

Select the type of symmetry plane the boundary represents: Perfect E or Perfect H.

5.

Click Impedance Multiplier. If the design includes a port, you must adjust the impedance multiplier or the computed impedances will not be for the full structure. The Port Impedance Multiplier dialog box appears.

6.

Type a value in the Impedance Multiplier box, and then click OK.

7.

Click OK.

Related Topics Technical Notes: Symmetry Boundaries Setting the Impedance Multiplier Technical Notes: Impedance Multipliers

Assigning Boundaries 6-15

HFSS Online Help

Assigning Master Boundaries Master and slave boundaries enable you to model planes of periodicity where the E-field at every point on the slave boundary surface is forced to match the E-field of every corresponding point on the master boundary surface to within a phase difference. The transformation used to map the Efield from the master to the slave is determined by specifying a coordinate system on both the master and slave boundaries. 1.

Select the face to which you want to assign the master boundary.

2.

Click HFSS>Boundaries>Assign>Master. The Master Boundary dialog box appears.

3.

Type the boundary’s name in the Name text box or accept the default name. (To change the default base name to one of your choosing, see Setting Default Boundary/Excitation Base Names.)

4.

You must specify the coordinate system in the plane on which the boundary exists. First draw the U vector of the coordinate system. HFSS uses the U vector you draw and the normal vector of the boundary face to calculate the v-axis. Then specify the direction of the V vector. a.

Select New Vector from the U Vector pull-down list. The Master Boundary dialog box disappears while you draw the U vector.

b.

Select the U vector’s origin, which must be on the boundary’s surface, in one of the following ways:

• • c.

Click the point. Type the point’s coordinates in the in the X, Y, and Z boxes.

Select a point on the u-axis. The Master Boundary dialog box reappears

d. 5.

To reverse the direction of the V vector, select Reverse Direction.

Click OK. HFSS will compute the E-field on this boundary and map it to the slave boundary using the transformation defined by the master and slave coordinate systems.

Related Topics Technical Notes: Master and Slave Boundaries Assigning Slave Boundaries

6-16 Assigning Boundaries

HFSS Online Help

Assigning Slave Boundaries Master and slave boundaries enable you to model planes of periodicity where the E-field at every point on the slave boundary surface is forced to match the E-field at every corresponding point on the master boundary surface to within a phase difference. The transformation used to map the Efield from the master to the slave is determined by specifying a coordinate system on both the master and slave boundaries. 1.

Select the face to which you want to assign the slave boundary.

2.

Click HFSS>Boundaries>Assign>Slave. The Slave Boundary wizard appears.

3.

4.

Type the boundary’s name in the Name text box or accept the default name. (To change the default base name to one of your choosing, see Setting Default Boundary/Excitation Base Names.) Select the corresponding master boundary from the Master Boundary pull-down list. If a master boundary has not yet been defined, return to make this selection when it has been defined.

5.

You must specify the coordinate system in the plane on which the boundary exists. First draw the U vector of the coordinate system. HFSS uses the U vector you draw and the normal vector of the boundary face to calculate the v-axis. Then specify the direction of the V vector. a.

Select New Vector from the U Vector pull-down list. The Slave Boundary dialog box disappears while you draw the U vector.

b.

Select the U vector’s origin, which must be on the boundary’s surface, in one of the following ways:

• • c.

Click the point. Type the point’s coordinates in the in the X, Y, and Z boxes.

Select a point on the u-axis. The Slave Boundary dialog box reappears.

d.

To reverse the direction of the V vector, select Reverse Direction.

6.

Click Next.

7.

You have the option to relate the slave boundary’s E-fields to the master boundary’s E-fields in one of the following ways:



Note

For driven designs, select Use Scan Angles to Calculate Phase Delay to enable the Scan Angle fields. Then enter the φ scan angle in the Phi box and the θ scan angle in the Theta box. The scan angles apply to whole model, in the global coordinate system. The phase delay is calculated from the scan angles; however, if you know the phase delay, you may enter it directly in the Phase Delay box below. For Eigenmode problems, the Use Scan Angles to Calculate Phase Delay fields are disabled. Assigning Boundaries 6-17

HFSS Online Help



Note

Select Field Radiation, and then enter the phase difference, or phase delay, between the boundaries’ E-fields in the Phase Delay box. The phase delay applies only to this boundary. You can assign a variable as the phi, theta, or phase delay values.

HFSS will compute the E-field on the master boundary and map it to this boundary using the transformation defined by the master and slave coordinate systems. Related Topics Technical Notes: Master and Slave Boundaries Assigning Master Boundaries

6-18 Assigning Boundaries

HFSS Online Help

Assigning Lumped RLC Boundaries A lumped RLC boundary represents any combination of lumped resistor, inductor, and/or capacitor in parallel on a surface. Different circuit types can be modeled by varying the combination of circuit element types. For example, a lumped RLC serial circuit connection can be modeled with three sequential circuit elements: one element surface with only resistance present, one element surface with only inductance present, and one element surface with only capacitance present. 1.

Select the object or object face to which you want to assign the lumped RLC boundary. HFSS assumes that the face is rectangular. If you assign a non-rectangular face, HFSS issues a warning, but proceeds with the solution.

2.

Click HFSS>Boundaries>Assign>Lumped RLC. The Lumped RLC Boundary dialog box appears.

3.

Type the boundary’s name in the Name text box or accept the default name. (To change the default base name to one of your choosing, see Setting Default Boundary/Excitation Base Names.)

4.

Do the following:

• • •

If a resistor is present, select Resistance and type the resistance value in ohms. If an inductor is present, select Inductance and type the inductance value in henrys. If a capacitor is present, select Capacitance and type the capacitance value in farads. Optionally, you can assign a variable to these values.

If an element type is not present, do not select it. 5.

Draw a current flow line, which represent the start and end points of the circuit element as it was measured: a.

Select New Line from the Current Flow Line pull-down list. The Lumped RLC Boundary dialog box disappears while you draw the current flow line.

b.

Select the start point in one of the following ways:

• • c.

Click the point. Type the point’s coordinates in the in the X, Y, and Z boxes.

Select the endpoint using the mouse or the keyboard. This point defines the direction and length of the line.

Once the line has been defined, you can edit it as follows:



Select Swap End Points from the Current Flow Line pull-down list to switch the start and endpoints of the line, reversing the line’s direction.

Related Topics Technical Notes: Lumped RLC Boundaries

Assigning Boundaries 6-19

HFSS Online Help

Assigning Screening Impedance Boundaries Planar screens or grids of large extent with periodic geometry can be replaced by a screening impedance boundary. The boundary applies a homogeneous characteristic impedance to the surface in an effort to create an equivalent electrical representation of the geometric grid pattern. To assign a Screening Impedance boundary 1.

Select the object or face to which you want to assign the screening impedance boundary.

2.

Click HFSS>Boundaries>Assign>Screening Impedance. The Screening Impedance Boundary wizard appears.

3.

Type the boundary’s name in the Name text box or accept the default name. (To change the default base name to one of your choosing, see Setting Default Boundary/Excitation Base Names.)

4.

If the boundary requires anisotropic impedance, click the check box. Checking the Anisotropic Impedance box enables the Coordinate System drop-down menu. This menu lists the Global Coordinate system and any relative coordinate systems if you have defined them in the design. Select the Coordinate System that defines the anisotropic characteristic of the impedance boundary. (See Creating a Relative Coordinate System.)

Note 5.

An anisotropic boundary must not touch ports in a design.

If you want to use an external design to define the screening impedance, click the Get Impedance from External Design checkbox to enable the Set up Link button. If you defining an anisotropic impedance, there will be two buttons: Set up X Direction Link and Set up Y Direction Link. a.

Click the Set up button to display the Setup Link dialog. For anisotropic impedance cases, select Set up X Direction Link button to chose a design which will define the impedance in the X direction. Then select Set up Y Direction Link button to chose a design which will define the impedance in the Y direction. The Setup Link dialog has three fields under the General tab: Project File, Design, and Solution.

b.

Specify the Project file for the design that is the source. A browse button [...] lets you look through your file system. If you do not specify a project file, but select the current model, the current Project File is automatically filled in.

c.

Specify the Design for the source. If the source is in the current design, you can select this from a drop down menu. If you select the current model, the Project File is automatically filled in.

d.

Use the radio button to specify whether to save the source path relative to The project directory of the source project or This project.

e.

Specify the Solution to use. A drop down list lets you select from the available solutions. The "Default" solution is the product dependent solution of the first Setup.

6-20 Assigning Boundaries

HFSS Online Help

That is the setup listed first in the source design's project tree (alphanumerical order). A product specific solution of this setup becomes the default solution. In most products, it is LastAdaptive. In a Transient solution type, it is "Transient."

f.

Use the checkbox specify whether to Force source design to solve in the absence of linked data in the target design.

g.

Use the checkbox to specify whether to preserve the source design solution. Note that in extractor mode, the source project will be saved upon exit. Extractor mode means that the software is opened during the link solely for the purpose of solving.

h.

Under the Parameters tab, you can set the desired variable values in the source design.

6.

Click OK to close the Setup Link dialog.

7.

If you have not selected Use External Design, the Resistance and Reactance fields are enabled. In these fields, you set the Resistance and for Reactance in Ohms/square. If Anisotropic Impedance is checked on, the wizard shows Resistance and Reactance fields for X Axis alignment and Y axis alignment. Set the Resistance and Reactance values.

8.

When you have completed the setup, click OK to close the Screening Impedance Boundary dialog. The boundary appears in the Project tree.

Related Topics Creating a Relative Coordinate System Creating a Face Coordinate System Setting the Working Coordinate System Modifying the Coordinate System Axes View Assigning Material Property Types Change the Orientation of an object

Assigning Boundaries 6-21

HFSS Online Help

Assigning Layered Impedance Boundaries A layered impedance boundary is used to model multiple thin layers in a structure as one impedance surface. The effect is the same as an impedance boundary condition, except that HFSS calculates the impedance of the surface based on data you enter for the layered structure. Surface roughness is also taken into account. The layered impedance boundary is supported for single-frequency solutions and for Discrete and Interpolating frequency sweeps. Eigenmode designs cannot contain design parameters that depend on frequency: for example, a frequency-dependent impedance boundary condition. 1.

Select the face to which you want to assign the layered impedance boundary.

2.

Click HFSS>Boundaries>Assign>Layered Impedance. The Layered Impedance Boundary wizard appears.

3.

4.

Type the boundary’s name in the Name text box or accept the default name. (To change the default base name to one of your choosing, see Setting Default Boundary/Excitation Base Names.) Enter the Surface Roughness for the layered structure. If the layered structure is internal to the design, enter the average surface roughness of the two outermost sides. You can assign a variable as this value.

5.

Select Infinite Ground Plane if you want the surface to represent an electrically large ground plane when the radiated fields are calculated during post processing. Note that if you select Infinite Ground Plane, the effect of the layered impedance boundary will be incorporated into the field solution in the usual manner, but the radiated fields will be computed as if the lossy ground plane is perfectly conducting.

6.

Click Next.

7.

If the layered structure is external to the design, do the following:



By default, HFSS assumes the layered structure is external to the design; the outermost layer of the structure is listed. Select whether this layer is an Infinite, Perfect E, or Perfect H layer from the Thickness/Type list.

If the layered structure is within the 3D model, do the following:

8. 9.

a.

Select the Internal option.

b.

Enter a thickness for the first layer in the Thickness/Type column. You can assign a variable as this value.

To change the first layer’s material, click vacuum and follow the procedure for assigning a material. To add a new layer to the structure: a.

Click New Layer. The new layer is added at the end of the list.

b.

Enter a thickness for the layer in the Thickness/Type column. You can assign a variable

6-22 Assigning Boundaries

HFSS Online Help

as this value. c.

To change the layer’s material, click vacuum and follow the procedure for assigning a material.

10. Optionally, to reorder layers, drag the rows in the list to the desired position. 11. Optionally, to view the impedance values that will be calculated based on the data provided, do the following: a. b.

Enter the frequency at which the solution is being solved in the Test Frequency text box. Click Calculate. The real and imaginary components of the HFSS-calculated layered impedance value appear.

12. Click Finish. The layered impedance boundary is assigned to the selected face.

Note

A warning will be posted if a fast sweep is defined in a design that contains a layered impedance boundary, since the impedance may only be accurate for the center frequency.

Related Topics Technical Notes: Layered Impedance Boundaries

Assigning Boundaries 6-23

HFSS Online Help

Designating Infinite Ground Planes To simulate the effects of an infinite ground plane:



Select the Infinite ground plane check box when setting up a perfect E, finite conductivity, or impedance boundary condition.

This selection only affects the calculation of near- and far-field radiation during post processing. HFSS models the boundary as a finite portion of an infinite, perfectly conducting plane. Related Topics Technical Notes: Infinite Ground Planes

6-24 Assigning Boundaries

HFSS Online Help

Modifying Boundaries To change the properties of a boundary, do one of the following:



Double-click the boundary’s icon in the project tree. The boundary’s dialog box appears, in which you can edit its properties.



Right-click the boundary in the project tree, and then click Properties on the shortcut menu. The boundary’s dialog box appears, in which you can edit its properties.



On the HFSS menu, click List. The Design List dialog box appears, in which you can modify the properties of one or more boundaries.

Assigning Boundaries 6-25

HFSS Online Help

Deleting Boundaries To delete one boundary: 1.

Select the boundary you want to delete by selecting its icon in the project tree.

2.

On the Edit menu, click Delete

.

To delete all boundaries:



On the HFSS menu, point to Boundaries, and then click Delete All.

You can also delete one or more boundaries in the Design List dialog box: 1.

On the HFSS menu, click List. The Design List dialog box appears.

2.

Under the Boundaries tab, click the row of the boundary you want to delete.

3.

Click Delete.

6-26 Assigning Boundaries

HFSS Online Help

Reassigning Boundaries You can reassign a boundary to another surface. This is useful when you have modified objects with assigned boundaries, invalidating the boundaries. For example, if you unite two objects with assigned boundaries, the second object’s boundary will become invalid because united objects maintain the characteristics of the first object selected. In this case, you would need to reassign the boundary or delete it 1.

Select the object or object face to which you want to assign an existing boundary.

2.

Click HFSS>Boundaries>Reassign. The Reassign Boundary window appears.

3.

Select an existing boundary from the list, and then click OK. The boundary is reassigned to the object or object face.

Note

When reassigning a boundary that includes vectors in its definition, HFSS attempts to preserve the vectors with the new assignment, but this is not always possible.

Alternatively, select the object or object face to which you want to assign an existing boundary. Right-click the existing boundary in the project tree, and then click Reassign on the shortcut menu.

Assigning Boundaries 6-27

HFSS Online Help

Reprioritizing Boundaries Each boundary you assign overwrites any existing boundary which it overlaps. You can change the priority of a previously assigned boundary to be greater than a more recently assigned boundary. The order of boundaries is important because, for any given triangle of the mesh, only one boundary or excitation can be visible to the solvers. When two boundary definitions overlap, the one with the higher priority is visible to the solvers. 1.

Click HFSS>Boundaries>Reprioritize to reprioritize boundaries. The Reprioritize Boundaries window appears. The order the boundaries and excitations appear in the list indicates the order in which they were defined. The lowest priority assignment appears at the top of the list. Ports are automatically placed at the bottom (highest priority) of the list; you cannot move a boundary to a higher priority than a port. Magnetic Bias Excitations (if any) have the lowest priority. Other boundaries and excitations appear between these two extremes.

2.

Drag the boundary you want to change to the desired order of priority.

Note

The order of boundaries and excitations in the project tree is alphabetical. The order does not correspond to the order of boundaries and excitations visible to the solvers.

Related Topics Reviewing Boundaries and Excitations in the Solver View

6-28 Assigning Boundaries

HFSS Online Help

Global Material Environment The HFSS>Boundaries>Edit Global Material Environment command displays the Global Material Environment dialog. By clicking the Material button, you can access the Select Definition dialog. This lets you work with the materials library. Selecting anisotropic material is disabled because the solver doesn't support that. Related Topics Viewing and Editing Material Attributes

Assigning Boundaries 6-29

HFSS Online Help

Duplicating Boundaries and Excitations with Geometry To duplicate a boundary or excitation when its geometry is pasted or duplicated: 1.

Open the HFSS Options dialog box: On the Tools menu, point to Options, and then click HFSS Options.

2.

Select Duplicate boundaries with geometry. All boundaries and excitations will be duplicated with their associated geometries until you choose to clear this option. Hint

Use this option to copy and paste boundaries. For example: 1.

Select the face to which you want to assign the boundary.

2.

On the Modeler menu, point to Surface, and then click Create Object From Face.

3.

Assign the boundary to the new face object.

4.

Copy and paste the new face object to copy and paste the boundary.

Related Topics Copying and Pasting Objects

6-30 Assigning Boundaries

HFSS Online Help

Showing and Hiding Boundaries and Excitations You can choose to show or hide a boundary or excitation’s geometry, name, or vectors, in the active view window or in all view windows. What do you want to do? Show or hide a boundary or excitation in the active view window. Show or hide a boundary or excitation in every view window.

Showing and Hiding Boundaries and Excitations in the Active View Window 1.

On the View menu, click Active View Visibility icon in the toolbar.

or select the Active View Visibility

The Active View Visibility dialog box appears. 2.

Select the tab for the objects you want to show or hide. The dialog contains tabs for 3D Modeler objects, Color Key objects, Boundaries, Excitations, and Fields Reporter objects.

3.

Under the tab you need, select the Visibility option for the objects you want to show in the active view window.

4.

Click the Boundaries tab if you want to show or hide boundaries. Click the Excitations tab if you want to show or hide excitations.

• • •

For designs with large numbers of objects, you can resize the dialog for easier selection. 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. 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) appear. 5.

Clear the Visibility selection of boundaries or excitations that you want to hide from view. The boundary or excitation will only be visible in the active view window if it is selected.

6.

Select the Visibility option for boundaries or excitations that you want to show in the active view window. The boundary or excitation will be visible in the active view window when it is selected or when it is not selected. You can also use the toolbar icons to Show/Hide selected objects in all views and Show/Hide

Assigning Boundaries 6-31

HFSS Online Help

selected objects in active views.

Show selected object in all views Show selected object in active view Hide selected object in all views Hide selected objects in active view Hide/Show overlaid visualization in the active view icon

Showing and Hiding Boundaries and Excitations in Every View Window 1.

Click HFSS>Boundaries>Visualization if you want to show or hide boundaries. Click HFSS>Excitations>Visualization if you want to show or hide excitations.

2.

Clear the View Geometry, View Name, or View Vector selection of boundaries and excitations that you want to hide from view. Select the options you want to show. The options affect all view windows.

6-32 Assigning Boundaries

HFSS Online Help

Reviewing Boundaries and Excitations in the Solver View After you have assigned all the necessary boundaries and excitations to a model, you should review their order of priority according to the HFSS solver. Reviewing the solver’s view of the model’s boundaries and excitations enables you to verify that their order during the solution process will be as you intended. To check the solver’s view of boundaries and excitations: 1.

On the HFSS menu, click Boundary Display (Solver View). HFSS generates an initial mesh and determines the locations of the boundaries and excitations on the model. The Solver View of Boundaries window appears, which lists all the boundaries and excitations for the active model in the order specified in the Reprioritize Boundaries and Excitations dialog box.

2.

Select the Visibility option for the boundary or excitation you want to review. The selected boundary or excitation will appear in the 3D Modeler window in the color it has been assigned.



Visible to Solver will appear in the Solver Visibility column for each boundary or excitation that is valid.



Overridden will appear in the Solver Visibility column for each boundary or excitation that will be ignored by the solver as a result of it overlapping an existing boundary or excitation with a higher priority.

3.

Verify that the boundaries or excitations you assigned to the model are being displayed as you intended for solving purposes.

4.

If the order of priority is not as you intended, reprioritize the boundaries and excitations.

Related Topics Technical Notes: Default Boundary Assignments

Assigning Boundaries 6-33

HFSS Online Help

Setting Default Values for Boundaries and Excitations When assigning a boundary or excitation, many of the fields in the boundary and excitation dialog boxes have default values associated with them. These default values are initially set by HFSS, but can be overridden. To modify the default values associated with a specific boundary or excitation type: 1.

Assign a boundary or excitation.

2.

Modify any default values.

3.

Close the boundary or excitation’s dialog box.

4.

Re-open the new boundary or excitation’s dialog box. It now includes a Defaults tab.

5.

Under the Defaults tab, click Save Defaults. The values assigned to this boundary are saved as the default values and will be assigned when new boundaries of this type are created.

6.

Optionally, click Revert to Standard Defaults. The default values you set for this boundary type will be cleared and will revert to the default values set by HFSS.

Note

For PML boundaries, the defaults are set via a formula, rather than a value.

6-34 Assigning Boundaries

7 Assigning Excitations

Excitations in HFSS are used to specify the sources of electromagnetic fields and charges, currents, or voltages on objects or surfaces in the design. You may assign the following types of excitations to a Driven solution-type HFSS design: Wave Port

Represents the surface through which a signal enters or exits the geometry.

Lumped Port

Represents an internal surface through which a signal enters or exits the geometry.

Floquet Port

Used exclusively with planar-periodic structures. Chief examples are planar phased arrays and frequency selective surfaces when these may be idealized as infinitely large.

Incident Wave

Represents a propagating wave impacting the geometry.

Voltage Source

Represents a constant electric field across feed points.

Current Source

Represents a constant electric current across feed points.

Magnetic Bias

Used to define the net internal field that biases a 3D ferrite material object.

After assigning an excitation, you can modify it in some of the following ways, if applicable to the excitation type:

• • • • • •

Change its properties. Delete it. Reassign it to another surface. Reprioritize it. Hide it from view. Modify the impedance multiplier.

Assigning Excitations 7-1

HFSS Online Help

Related Topics Technical Notes: Excitations Zoom to Selected Excitation

Zoom to Selected Excitation When you select on an excitation name in the Project tree, and right-click, the popup menu includes a Zoom to command. Selecting this command zooms the view in the 3D Modeler view in or out to show the selected excitation. This can be very useful in looking at problem areas.

7-2 Assigning Excitations

HFSS Online Help

Assigning Wave Ports Wave ports represent places in the geometry through which excitation signals enter and leave the structure. They are used when modeling strip lines and other waveguide structures. The setup of wave ports varies slightly depending on whether your solution is modal or terminal. Note

Use lumped ports to represent an internal surface through which an excitation signal enters or exits the geometry.

Related Topics Assigning Wave Ports for Modal Solutions Assigning Wave Ports for Terminal Solutions Technical Notes: Wave Ports

Assigning Wave Ports for Modal Solutions 1.

Select the object face to which you want to assign the port.

2.

Click HFSS>Excitations>Assign>Wave Port. The Wave Port wizard appears.

3.

Type the port’s name in the Name text box or accept the default name. (To change the default base name to one of your choosing, see Setting Default Boundary/Excitation Base Names.)

4.

Click Next. This shows the Modes window. Here you specify the number of modes for a port, define integration lines for each mode, and choose whether to renormalize the port.

5.

To specify more than one mode to analyze at the port, type a new value in the Number of Modes box. The mode table is updated to include the total number of modes.

Note

6.

HFSS supports Full Wave Spice Export from a driven modal design as long as all ports have exactly one mode each. However, HFSS does not support definition of differential pairs in a driven modal design.

To specify an integration line for a port mode, follow the directions for defining an integration line. When you have defined an integration line, the table cell under the Integration line heading changes from "None" to "Defined." Clicking on the cell now shows a drop down list of available options. These are:

• • • •

Defined - acknowledges a current definition. None - no line defined. Swap Endpoints - inverts the end points of a line. Duplicate Line... - lets you duplicate a currently defined line. Assigning Excitations 7-3

HFSS Online Help



New Line... - lets you create a new line.

If you change an existing integration line, use the options for this line. If you need to define an integration line for one or more modes, repeat the process for each. If a solution exists adding or changing integration lines invalidates them, and issues a warning. 7.

If you want to align the E-field of the modes with the integration line, select Polarize E Field. If solutions exist, changing this selection invalidates them and issues a warning message.

8.

Select the method with which to calculate the characteristic impedance by selecting Zpi, Zpv, or Zvi from the Char Imp. (Zo) pull-down list. For definitions of how HFSS defines these values, see Calculating the PI Impedance, Calculating the PV Impedance, and Calculating the VI Impedance.

9.

Click Next. This displays the Wave Port: Post Processing window. Values here affect S-Parameters only. The Port Renormalization choices include:

• •

Do Not Renormalize (the default) Renormalize All Modes. This enables the Full Port Impedance text box. The default impedance for re-normalization of each port is 50 ohms. If you want to enter a complex impedance, enter it in the following form:

+ j



If there are multiple modes, the Renormalize Specific Modes is enabled. Click this to enable the Edit Mode Impedances button. This opens a editable table with the impedances for each mode.

10. To deembed the port, select Deembed, and then type the distance of the transmission line to add and select the units to use. You can assign a variable as this value. After you enter the value, a blue arrow depicts the embedding distance in the graphics window when the port is selected. Note



A positive distance value will de-embed into the port. A negative distance value will deembed out of the port. When you Alternatively, click Get Distance Graphically to draw a line with a length representing the de-embed distance. After you draw the line in the 3D window, the Distance field shows the specified distance. You can edit this value.

11. Click Finish. Related Topics Defining Integration Lines Technical Notes: Wave Ports Technical Notes: Polarizing the E-Fields Technical Notes: Calculating Characteristic Impedance Technical Notes: Deembedding 7-4 Assigning Excitations

HFSS Online Help

Assigning Wave Ports for Terminal Solutions Assigning wave ports for terminal solutions can be manual or automatic depending on whether you are creating the first port or terminal in a project, whether you are using a legacy project or script. A terminal is defined by one or more conductors in contact with the port. A terminal is somewhat like a boundary, in that it has a geometry selection consisting of one or more faces and/or edges that should generally be fully contained within the port face selections. Terminal naming conventions default to be based on the first geometry in the assignment selection for the terminal. Selection of a port does not visually indicate its terminals. However, you can select a terminal in the project tree and see its selection highlighted, or zoom to it in the model window just like you can for a port. Associating Ports and Terminals Since terminal definition is separated from port definition, HFSS can automatically associate properly if you define ports after defining terminals or if you define terminals on the Excitations level (in the Project tree) when ports already exist. In either case, a terminal is associated with the port containing the signal and reference conductors that define the terminal, and the terminal is represented in the project tree nested beneath its associated port. For this to occur automatically, you must check the Auto-assign terminals on ports option on the Tools>Options>HFSS Options dialog on the General tab. Setup for Ports and Terminals Each terminal has a setup panel that indicates its post processing reference impedance. For ease in changing the reference impedance values, there are two new commands. At either the port level or the level of all excitations, you can set the reference impedance for all terminals at that level. Editing Operations and Port/Terminal Associations Port and terminal definitions are synchronized, in the sense that if you operate on the geometries in their assignments, the associations between ports and terminals may change. With geometry copy/ paste operations, if you have opted for boundary duplication, both ports and their associated terminals will duplicate, with modified assignments to match the pasted geometries. However, a terminal is defined on edge(s) or face(s) of object(s), which are not necessarily on the same objects as the port face(s). If the object(s) containing the terminal assignment are also copied and pasted along with the objects containing the port assignment, then the terminals are pasted in with the ports. However, because the location of the pasted object(s) may coincide with that of their source object(s), the assignment of terminals to ports is arbitrary, and likely the old ports will get the additional terminal assignments. If you, however, move the pasted objects to non overlapping locations, then the terminals will detach from the old port and attach instead to the new one. If you want to see this in one step, do your copy, but move the original objects out of range before pasting. Then you will see the proper port/terminal associations established right after the paste without requiring any action on your part. Related Topics Auto Assign Terminals Manually Assigning Terminals Assigning Excitations 7-5

HFSS Online Help

Manually Assigning a Wave Port Manually Assigning a Lump Port Set Reference Impedance for Terminals HFSS Options: General Options Tab Technical Notes: Port Terminals in HFSS

Set Reference Impedance for Terminals Each terminal has a setup panel that indicates its post processing reference impedance. For ease in changing the reference impedance values, there are two new commands. At either the port level or the level of all excitations, you can set the reference impedance for all terminals at that level. To set the reference impedance for all excitations: 1.

Either right click on the Excitations icon in the Project tree and select Set Terminal Reference Impedance, or click HFSS>Excitations>Set Terminal Reference Impedances. The Set Terminal Reference Impedance dialog appears.

2.

In the field for Full Port Impedance, set the value, and select the units from the pull down. This value can be a variable. This variable can be dependent on the frequency, which allows use of a dataset for frequency dependent impedance.

3.

Click OK to close the dialog and apply the change.

To set the reference for all terminals on a port: 1.

Right click on the Port icon in the Project tree and click Set Terminal Reference Impedance. The Set Terminal Reference Impedance dialog appears. It differs from the related command for all excitations by specifying that the Post Processing Reference Impedance is for the selected port.

2.

In the field for Full Port Impedance, set the value, and select the units from the pull down. This value can be a variable. This variable can be dependent on the frequency, which allows use of a dataset for frequency dependent impedance.

3.

Click OK to close the dialog and apply the change.

Related Topics Auto Assign Terminals Manually Assigning Terminals Manually Assigning a Wave Port Manually Assigning a Lump Port Set Reference Impedance for Terminals Plotting in the Time Domain Technical Notes: Port Terminals in HFSS

7-6 Assigning Excitations

HFSS Online Help

Auto Assign for Terminals The HFSS menu lists the HFSS>Excitations>Auto Assign Terminals command. This command also appears on the shortcut menu when you right-click on Excitations in the Project tree. To auto assign terminals: 1.

Once one or more ports are defined, you can use the port or Excitation level commands to Auto Assign Terminals. (HFSS>Excitations>Auto Assign Terminals.) For each port specified, all conductors contacting the port will be located and the Reference Conductors for Terminals dialog is displays. This contains a list of available geometries that are Conducting Objects, and buttons to Add or Remove objects selected on that list to a list of Reference Conductors.

2. 3.

Use the Add or Remove buttons to option of Add or Remove objects to the reference conductors list for consideration in defining the terminals. Select OK to close the Reference Conductors for Terminals dialog. All remaining conductors on the port will be used. HFSS will then generate terminal assignments, create the terminals, and associate the terminals with the correct port.

4.

After you add new model objects or new port definitions, you can again Auto Assign Terminals to add new terminals where appropriate. When you execute Auto Assign Terminals, the conducting faces on a port that touch each other are recognized as defining a single terminal, as are conducting edges that touch each other.

Note

With complicated arrangement of conductors or geometry that has slight coordinate misalignments, auto assign may create either too few or too many terminals on a port, so you should review the result before solving.

Related Topics HFSS Options: General Options Tab Manually Assigning Terminals Manually Assigning a Wave Port Manually Assigning a Lump Port Set Reference Impedance for Terminals Technical Notes: Port Terminals in HFSS

Manually Assigning Terminals If you want a terminal assignment to include multiple geometry selections, you must assign it as a Single Terminal. Terminals can be defined only after ports are defined. When defining terminals for a particular port, the right click menu for the port in the project tree has Assign Terminal. To define a terminal explicitly: 1.

Select the face(s) and/or edge(s) that contact the port and which define the terminal. All geomAssigning Excitations 7-7

HFSS Online Help

etries to be used as the assignment for a terminal should be connected. 2.

Assign as an excitation in the modeler window via right mouse click to display the shortcut menu and select Assign Excitation>Terminal, or on the Project tree, select Excitations and right click to display the shortcut menu and select Assign>Single Terminal, or from the menu bar select HFSS>Excitations>Assign>Terminal.

As a convenience, you can define multiple terminals with a single selection entity per assignment (or a single terminal with just one selection entity) via Assign Excitation >Terminals or Excitations >Assign>Terminals. Terminals should be completely contained inside or on the perimeter of their ports. The test to verify this is very expensive to do within the UI. Therefore, we let you set up whatever terminal definitions you want, as long as they contact the port in some way. At run time in the solver, we use a mesh based test for full containment. Related Topics Auto Assign Terminals Manually Assigning Terminals Manually Assigning a Wave Port Manually Assigning a Lump Port Set Reference Impedance for Terminals Technical Notes: Port Terminals in HFSS

Manually Assigning a Wave Port 1.

Select the object face to which you want to assign the port.

2.

Click HFSS>Excitations>Assign>Wave Port. The Wave Port wizard appears.

3.

Type the port’s name in the Name text box or accept the default name. (To change the default base name to one of your choosing, see Setting Default Boundary/Excitation Base Names.)

4.

Click Next. This displays the Wave Port: Post Processing window. Values here affect S-Parameters only. The Port Renormalization choices include:

• •

Do Not Renormalize (the default) Reference Impedance for All Terminals. This enables the Full Port Impedance text box. The default impedance for re-normalization of each port is 50 ohms. If you want to enter a complex impedance, enter it in the following form:

+ j

• 5.

If there are multiple modes, Reference Impedance for Specific Terminals is enabled. Click this to enable the Edit Terminal Impedances button. This opens a editable table with the impedances for each terminal.

To deembed the port, select Deembed, and then type the distance of the transmission line to

7-8 Assigning Excitations

HFSS Online Help

add. You can assign a variable as this value. After you enter the value, a blue arrow depicts the embedding distance in the graphics window when the port is selected. Note

• 6.

A positive distance value will de-embed into the port. A negative distance value will deembed out of the port. Alternatively, click Get Distance Graphically to draw a line with a length representing the de-embed distance. After you draw the line in the 3D window, the Distance field shows the specified distance. You can edit this value.

Click Finish.

Related Topics Auto Assign Terminals Manually Assigning Terminals Manually Assigning a Wave Port Manually Assigning a Lump Port Set Reference Impedance for Terminals Technical Notes: Port Terminals in HFSS Technical Notes: Deembedding

Assigning Excitations 7-9

HFSS Online Help

Assigning Lumped Ports Lumped ports are similar to traditional wave ports, but can be located internally and have a complex user-defined impedance. Lumped ports compute S-parameters directly at the port. They are used when modeling microstrip structures. Their setup varies slightly depending on whether the solution is modal or terminal. Note

Use wave ports to model exterior surfaces through which a signal enters or exits the geometry.

A lumped port can be defined as a rectangle from the edge of the trace to the ground or as a traditional wave port. The default boundary is perfect H on all edges that do not come in contact with the metal or with another boundary condition. The following restrictions apply:

• • • •

The complex full port impedance must be non-zero and the resistance must be non-negative. Only one port mode is allowed, or one terminal if it is a terminal solution. An integration or terminal line must be defined. Each terminal that is identified by an edge selection must have each edge contained by some non port face. If this condition is not satisfied, an error message is issued. If you see the error message, you should abort the solve and correct the geometry.

Related Topics Assigning Lumped Ports for Modal Solutions Assigning Lumped Ports for Terminal Solutions Technical Notes: Lumped Ports Technical Notes: Port Terminals in HFSS Technical Notes: Calculating Characteristic Impedance

Assigning Lumped Ports for Modal Solutions 1.

Select the object face to which you want to assign the port.

2.

Click HFSS>Excitations>Assign>Lumped Port. The Lumped Port wizard appears.

3. 4.

Type the port’s name in the Name text box or accept the default name. (To change the default base name to one of your choosing, see Setting Default Boundary/Excitation Base Names.) Define the complex Full Port Impedance: a.

Enter the resistance or real part of the impedance in the Resistance text box.

b.

Enter the reactance or imaginary part of the impedance in the Reactance text box,. You can assign a variable as these values. This variable can be dependent on the frequency, which allows use of a dataset for frequency dependent impedance.

5.

Click Next.

7-10 Assigning Excitations

HFSS Online Help

This displays the Lumped Port: Modes window. The number of Modes is not editable. 6.

For the Integration Line column, follow the directions for defining an integration line.

7.

For the Char. Imp. (Zo) column, set the method with which to calculate the characteristic impedance by selecting Zpi, Zpv, or Zvi from the Char. Imp. (Zo) pull-down list. For definitions of how HFSS defines these values, see Calculating the PI Impedance, Calculating the PV Impedance, and Calculating the VI Impedance.

8.

Click Next. This displays the Lumped Port: Post Processing window. Values here affect S-Parameters only. By default, lumped ports are renormalized to a 50 Ohm full port impedance. To specify a renormalization impedance, select Renormalize All Modes and type a value in the Full Port Impedance text box. Select the corresponding unit in the drop down menu. If you want to enter a complex impedance, enter it in the following form:

+ j If you do not want to renormalize the port impedance, select Do Not Renormalize. 9.

Click Finish.

Related Topics Defining an Integration Line Technical Notes: Lumped Ports

Manually Assigning Lumped Ports for Terminal Solutions 1.

Select the object face to which you want to assign the port. Each terminal that is identified by an edge selection must have each edge contained by some non port face.

2.

Click HFSS>Excitations>Assign>Lumped Port. The Lumped Port wizard appears.

3.

Type the port’s name in the Name text box or accept the default name. (To change the default base name to one of your choosing, see Setting Default Boundary/Excitation Base Names.)

4.

Define the complex Full Port Impedance of the port: a.

Enter the resistance or real part of the impedance in the Resistance text box.

b.

Enter the reactance or imaginary part of the impedance in the Reactance text box. You can assign a variable as these values. This variable can be dependent on the frequency, which allows use of a dataset for frequency dependent impedance.

5.

Click Next. This displays the Lumped Port: Post Processing window. Values here affect S-Parameters only. Port processing operations do not affect field plots. By default, the port reference impedance for all terminals is 50 Ohms. If you want to enter a complex impedance, enter it in the following form: Assigning Excitations 7-11

HFSS Online Help

+ j 6.

To specify a different full port impedance, type a value in the Full Port Impedance text box. Select the corresponding unit in the drop down menu.

7.

Click Finish when done.

Related Topics Technical Notes: Lumped Ports Auto Assign Terminals Manually Assigning Terminals Manually Assigning a Wave Port Manually Assigning a Lump Port Set Reference Impedance for Terminals Technical Notes: Port Terminals in HFSS

7-12 Assigning Excitations

HFSS Online Help

Assigning Floquet Ports The Floquet port in HFSS is used exclusively with planar-periodic structures. Chief examples are planar phased arrays and frequency selective surfaces when these may be idealized as infinitely large. The analysis of the infinite structure is then accomplished by analyzing a unit cell. Linked boundaries most often form the side walls of a unit cell, but in addition, at least one ``open'' boundary condition representing the boundary to infinite space is needed. Heretofore a PML or sometimes a radiation boundary has been used. The Floquet port is a new option. The Floquet Port Setup panel includes tabs for General, Modes Setup, Post Processing, and 3D Refinement. The Floquet port is closely related to a Wave port in that a set of modes is used to represent the fields on the port boundary. The new modes are called Floquet modes. Fundamentally, Floquet modes are plane waves with propagation direction set by the frequency and geometry of the periodic structure. Just like Wave modes, Floquet modes have propagation constants and experience cut-off at a sufficiently low frequency. When a Floquet port is present, HFSS performs a modal decomposition that gives additional information on the performance of the radiating structure. As in the case of a Wave port, this information is cast in the form of an S-matrix interrelating the Floquet modes. In fact, if Floquet ports and Wave ports are simultaneously present, the S-matrix will interrelate all Wave modes and all Floquet modes in the project. A simple HFSS model for a unit cell of the infinite array consists of two boxes. The bottom box represents the feeding waveguide and the top box is the unit cell for the region above the plane. The dimensions and geometry of the unit cell reflect the lattice vectors of the array. Linked boundaries are defined on the cell walls and a Wave port provides the cell excitation. A Floquet port is used on the (top) open boundary. The perimeter of a Floquet port must be covered by Master and Slave boundaries. To set up a Floquet port: 1.

Select the top face of the unit cell for the region above the place, and right-button click Assign Excitation > Floquet Port. The Floquet port setup panel appears.

2.

Type the port’s name in the Name text box or accept the default name. (To change the default base name to one of your choosing, see Setting Default Boundary/Excitation Base Names.)

3.

Specify the directions for the Lattice coordinate system. The vector arrows must start and end at points on the face of the Floquet port and must have a common initial point. For each Vector (Direction A and B), select the drop down menu and click New Vector. This opens a Measure Data dialog and causes the cursor to drag a visual marker that drops a dashed line to the reference plane below, and shows a location indicator on the Floquet plane. Drag the marker to select a location for the Direction vector. Click to set the origin point, and drag and click to specify the position 2 point that defines the direction from that origin. Clicking the second closes the Measure Data dialog, and exits the New Vector mode. The drop down menus for Position A and Position B now include and entry called “Defined” along with “Undefined” and “New Vector.” Assigning Excitations 7-13

HFSS Online Help

4.

Click Next to move to the Floquet Port: Phase Delays window. This shows radio buttons to specify whether to “Use Scan Angles to Calculate Lattice Phase Delays” (the default, and recommended choice in most cases) or “Input Lattice Phase Delays”

5.

If you select “Use Scan Angles to Calculate Lattice Phase Delay,” this automatically synchronize the phase of the Floquet port with that of the linked boundaries. This is essential for a correct solution. Specify the Scan angles as the Phi and Theta values and select their units from the drop down menus. These values are automatically filled in based on angles set for the Slave boundaries. These values apply to the whole model. If you choose “Input the Lattice and Phase Delays” the values apply only to this boundary. In this case, you specify an A and a B Direction Delay and units.

6.

Click Next to go to the Floquet Port: Modes setup window. This window displays a field for the Number of Modes, a button for access to the Modes Calculator, and a table In general, Floquet modes are specified by two modal indices and a polarization setting. These designations resemble the textbook notation for rectangular waveguide modes, such as ``TE10''. The default mode table specifies a pair of Floquet modes. The default modes both have modal indices equal to zero and are sometimes called the “specular” modes. Specular modes are always an essential part of the Floquet mode set, but sometimes one of the two polarizations may be omitted. For general frequency and scan conditions, other higher-order Floquet modes will be required. A modes calculator, invoked by selecting the “Modes Calculator” button, is available to set these up for the user. The final column of the mode table is labeled “Attenuation”. This is the attenuation of the mode along the direction normal to the Floquet port plane in units of dB per model length unit. The value given for the specular modes is 0 since they are propagating and are therefore not attenuated. Higher-order modes will experience attenuation if they are cut off. Modes that are cut off at a certain scan angle may be propagating as the scan angle is increased.

7.

If you select the Modes calculator button, the Calculator window displays. The calculator asks for the following inputs:



Number of modes -- you can trim this value later, as you learn which modes are needed and which are not.



Frequency -- if the problem setup contained one or more frequency sweeps, you usually set this value to the highest frequency.



Scan angle values or phase shift values -- The most extreme scan angle should require the largest number of propagating modes of all scan angles, so we select the Floquet modes to use on this basis.



Radio buttons to specify whether to whether to “Use Scan Angles to Calculate Lattice Phase Delays” or “Input Lattice Phase Delays”, as shown on the phase delays step.

7-14 Assigning Excitations

HFSS Online Help



In addition there are two check boxes denoted “Eliminate TE” and “Eliminate TM”. This refers to the values in the Polarization State column of the Modes table. Either, but not both, of these can be selected for each Floquet port in a project.

These inputs, in addition to the known lattice vectors, are the information required to create a set of recommended modes for the Floquet port. They help the mode selection and do not affect the problem set up. You can freely vary the choices here to explore different scenarios and the effect on the recommended set of modes. Click OK to leave the calculator and to compute the recommended list of modes. The new modes table appears on the Modes Setup tab of the Floquet Port properties/setup window. 8.

It is generally good policy in terms of simulation efficiency as well as ease of interpretation of results, to eliminate any modes that are not necessary. Do this by editing the “Number of Nodes” value” in the Modes Setup tab. Note that the list is trimmed from the bottom up.

9.

To change the order of items in the final Modes list, drag each corresponding line by the square box at the left of each row.

10. Click Next to view the 3D Refinement tab. This lets you select which unit stimulation field patterns affect 3D refinement. Selections here make refinement more efficient by reducing the number of adaptive passes. Use the checkbox to include modes in 3D refinement. 11. Click Next to view the Post Processing tab. This contains de-embedding settings that do not affect the field plots. 12. To enable the Deembed settings, click the checkbox. This enables the distance and units field for the positive distance to deembed into the port. To set the distance graphically, click the Get Distance Graphically button. 13. Click OK to close the Floquet Port settings/property dialog. Related Topics Getting Started Guides: Floquet Ports Technical Notes: Master and Slave Boundaries Assigning Slave Boundaries Assigning Master Boundaries Technical Notes: Deembedding Technical Notes: Formula Summary for HFSS Floquet Modes

Assigning Excitations 7-15

HFSS Online Help

Defining an Integration Line An integration line is a vector that can represent the following:

• •

A calibration line that specifies the direction of the excitation field pattern at a port. An impedance line along which to compute the Zpv or Zvi impedance for a port.

To define an integration line: 1.

2.

Go to the Modes page for the port. If you are defining an integration line for an existing port, select the port excitation in the project tree, open the properties dialog for the Wave Port or Lumped Port dialog, and click the Modes tab. If you are defining a new port, select the appropriate object face, and click HFSS>Assign>Excitation> and the appropriate wave or lumped port. This display the create port dialog, where you click Next to show the Modes page. On the Modes tab or Page, Select New Line from the mode’s Integration Line list. The port dialog box disappears, and Measure Data dialog appears while you draw the vector. The Measure Data dialog displays data for the face area, and the Positions for the reference point (start point) and end point (end point) as you define them.

3.

4.

Select the start point of the vector in one of the following ways:



Click the point. The cursor moves only in plane of the face for which you are defining the port and line.



Type the point’s coordinates in the X, Y, and Z boxes.

Select the endpoint of the vector using the mouse or the keyboard. The endpoint defines the direction and length of the integration line. The Wave Port or Lumped Port dialog box reappears.

Related Topics Guidelines for Defining Integration Lines Duplicating Integration Lines Modifying an Integration Line Technical Notes: Polarizing the E-Fields Technical Notes: Setting the Field Pattern Direction

Guidelines for Defining Integration Lines An integration line is a vector that can represent the following:



A calibration line that specifies the direction of the excitation field pattern at a port. If you are analyzing more than one mode at a port, define a separate set of integration lines for each mode; the orientation of the electric field differs from mode to mode.



An impedance line along which to compute the Zpv or Zvi impedance for a port. In this case, select two points at which the voltage differential is expected to be at a maximum. For example, on a microstrip port, place one point in the center of the microstrip, and the other directly underneath it on the ground plane. In a rectangular waveguide, place the two points in the center of the longer sides.

7-16 Assigning Excitations

HFSS Online Help

For definitions of how HFSS defines these Zpv and Zvi values, see Calculating the PV Impedance, and Calculating the VI Impedance.

Duplicating Integration Lines After you have defined an integration line for a mode, you can duplicate it along a vector one or more times. You can then assign the duplicates to additional modes at the port. 1.

In the Wave Port dialog box, click the Modes tab.

2.

Select the mode row containing the integration line you want to duplicate.

3.

Select Duplicate Line from the row’s Integration Line list. The dialog box disappears while you draw the vector along which to paste the duplicate.

4.

Draw the vector along which the duplicate will be pasted: a.

Select an arbitrary anchor point on the edge of the port face in one of the following ways:

• • b.

Click the point. Type the point’s coordinates in the in the X, Y, and Z boxes.

Select a second point using the mouse or the keyboard. This point defines the direction and distance from the anchor point to duplicate the line. The Duplicate Port Line dialog box appears.

5.

Type the total number of lines, including the original and duplicates, to make in the Number of Duplicates box. If you type a value that is greater than the number of assigned modes, the extra duplicates will appear as gray integration lines until they are assigned to a mode.

6.

Optionally, select Assign to existing modes. The duplicates will be assigned to the modes defined for the port, beginning with the mode after the one with the line that was duplicated.

7.

Click OK. The duplicates are pasted along the vector you specified.

Modifying Integration Lines Modify an existing integration line under the Modes tab in the Wave Port or Lumped Port dialog boxes. To swap the coordinates of an integration line’s start point and endpoints:



Select Swap Endpoints from the mode’s Integration Line list. The line’s direction will be reversed.

To copy a previously defined integration line’s points:



Select Copy from Moden from the mode’s Integration Line list. The new integration line will have the same start and endpoints as the selected mode’s integration line.

To delete a defined integration line for a mode:



Select None from the mode’s Integration Line list. Assigning Excitations 7-17

HFSS Online Help

Setting up Differential Pairs A differential pair represents two circuits, one positive and one negative, routed close together so they will pick up nearly the same amount of noise. The two signals are subtracted from each other by a receiver, yielding a much more noise-free version of the signal. You can define one or more differential pairs from terminal excitations defined on existing wave ports. Differential pairs can span ports, use lump ports, and be enabled and disabled. To allow automated calculation of differential S-parameters from lump ports, you can select terminals from two arbitrary ports, whether wave ports or lumped ports, for use in a differential pair.

Because differential pairs can span ports or occur within a port, the Differential Pairs command is accessible at corresponding levels in the Project tree via the right click menu both at the Excitations level, and at the port name level. If a differential pair involves terminals from two different ports, the Differential Pairs command for those ports can only be accessed at the Excitations level. If an individual wave port has multiple terminals defined, the Differential Pairs command is enabled when you select that port and right click to display the shortcut menu.

To set up a differential pair: 1.

Click HFSS>Excitations>Differential Pairs, or right-click on Excitations in the Project tree and click Differential Pairs on the shortcut menu, or, for a multi terminal wave port, select that port in the Project tree and click Differential Pairs on the shortcut menu. This displays the Differential Pairs window. This contains table headers for the rows of values defined for each pair. It also contains a field for the Reference impedance value and units.

2.

Click New Pair. This adds existing pairs to the Terminals list, and sets default values for the Differential Mode and Common mode. All values can be edited. It also lists which terminal is Positive, which is Negative. By selecting the dropdown menus in these fields, you can reassign these values. The table row shows the checkbox for the newly defined pair as Active.

3.

If other pairs can be created from the existing Terminals, the New Pair button remains enabled.

4.

Under Differential Mode headers in the table, do the following: a.

If desired, type a new name for the differential mode in the Name text box. The default is Diffn.

b.

Either specify a real valued reference impedance for the differential mode in the Ref. Z text box or use the Full Port Reference Impedance text box and the Set All Diff. Zref. button or the Set All Zref button to set the values.

Note

The value fields in the table support Ctrl/C to copy selected text from a cell, and Ctrl/V to paste text to a selected cell.

5.

Under Common Mode headers in the table, do the following: a.

If desired, type a name for the common mode in the Name text box. The default is

7-18 Assigning Excitations

HFSS Online Help

b.

Either specify a real valued reference impedance for the common mode in the Ref. Z text box, or use the Full Port Reference Impedance text box and the Set All Comm. Zref. button or the Set All Zref button to set the values.

6.

If the New Pair button is enabled, you can define additional differential pairs.

7.

To accept the assignments, click OK to close the Differential Pairs window.

After HFSS has generated a solution, view the common and differential quantities of the differential pair under the Matrix tab of the Solution Data window. Related Topics Technical Notes: Computing Differential Pairs

Assigning Excitations 7-19

HFSS Online Help

Assigning Incident Waves HFSS allows you to assign seven different types of incident wave sources. 1.

Click HFSS>Excitations>Assign>Incident Wave.

The cascade menu allows you to select one of the following types of incident waves: Plane Wave Hertzian-Dipole Wave Cylindrical Wave Gaussian Beam Linear Antenna Wave Far Field Wave Near Field Wave

Note

Whenever additions/changes are made to incident waves that affect fields, it invalidates those solutions that can possibly have fields. Meshes are not invalidated.

Using Field Solutions from Other Simulations HFSS can use field solutions from other simulations as sources for new simulations. The other simulations can be done in HFSS, in SIwave or in Maxwell3D. Some examples are (1) a detailed and optimized design of a cell phone radiating in a larger environment (HFSS-HFSS), (2) a complicated printed circuit board causing EMC/EMI problems in and around its housing (SIwave - HFSS) or (3) an electromechanical component causing EMC/EMI problems in a vehicle (Maxwell3D - HFSS). In all cases, radiated fields from the "source" project are imposed as an incident wave in the "target" project. These radiated fields can both be far fields and near fields, depending on your judgment of what fits a particular situation. In the "target" project, they are defined through Incident Wave / Far Field Wave and Incident Wave / Near-Field Wave. There, the link to the "source" project can be established. Note

The environment variable SIWAVE_INSTALL_DIR should be set before executing the parent application like HFSS/Designer because SIwave is launched from HFSS/ Designer and not separately.

Also, in the "target" project, radiation boundaries with Advanced Options must be defined in order to specify where the fields from the "source" project enter the "target" project.

7-20 Assigning Excitations

HFSS Online Help

Incident Plane Wave An incident Plane wave is a wave that propagates in one direction and is uniform in the directions perpendicular to its direction of propagation. 1.

Click HFSS>Excitations>Assign>Incident Wave>Plane Wave. The Incident Wave Source: General Data page appears.

2.

Type the source’s name in the Name text box or accept the default name. (To change the default base name to one of your choosing, see Setting Default Boundary/Excitation Base Names.)

3.

Select the Vector Input Format as Cartesian or Spherical coordinates.

4.

Enter the X-, Y-, and Z-coordinates of the Excitation Location and/or Zero Phase Position (the origin for the incident wave).

5.

Click Next.

6.

If you selected Cartesian, the Incident Wave Source: Cartesian Vector Setup page appears. Define the propagation vector, k, and the E-field polarization vector, E0: a.

Enter the X-, Y-, and Z-components for k vector in the X, Y, and Z boxes.

b.

Enter the coordinates for E0 vector in the X, Y, and Z boxes. A single incident wave will be defined. Continue with Step 8 below.

Note

7.

When entering the propagation vector, k, and E-field polarization vector, E0, using Cartesian coordinates, keep the following guidelines in mind:



To define an incident wave traveling in the positive z direction, enter (0, 0, 1) as the k vector coordinates.

• •

The magnitude of the E0 vector cannot be zero. k must be orthogonal to E0.

If you selected Spherical, the Incident Wave Source: Spherical Vector Setup page appears. a.

Under IWavePhi, enter the following: Start

The point where the rotation of φ begins.

Stop

The point where the rotation of φ ends.

Points

The number of points on the sweep of φ.

Click View Point List to see the values of φ. b.

Under IWaveTheta, enter values for Start, Stop, and Points. Click View Point List to see the values of θ.

c.

Enter the φ and θ components of E0 in the Phi and Theta boxes. A spherical grid is created when θ is swept through each φ point. At each grid point, an incident wave is present traveling towards the origin of the coordinate system for the Assigning Excitations 7-21

HFSS Online Help

design. The number of incident waves and grid points can be calculated by multiplying the number of φ points by the θ points.

Note

8. 9.

Only a single incident wave angle can be defined for periodic structures which are defined with master and slave boundaries

Click Next. the Incident Wave Source: Plane Wave Options page appears. Select the Type of Plane Wave. a.

If you select Regular/Propagating, no other fields are active.

b.

If you select Evanescent, the Propagation Constant fields become active. Enter the Real and Imaginary parts of the Propagation Constant.

c.

If you select Elliptically Polarized, the Polarization Angle and Polarization Ratio fields become active. (See Polarization of the Electric Field for a technical discussion of polarization angles, and a definition of Polarization Ratio.)

d.

To restore the default (Regular/Propagating), click the Use Defaults button.

10. Click Finish.The incident wave you defined is added to the Excitations list in the Project. Related Topics Technical Notes: Incident Waves

Incident Hertzian-Dipole Wave An incident Hertzian-Dipole wave can be specified as either an Electric dipole or a Magnetic dipole. The Electric dipole simulates the field of an elementary short dipole antenna placed at the origin. The Magnetic dipole is useful for EMC/EMI applications. 1.

Click HFSS>Excitations>Assign>Incident Wave>Hertzian-Dipole Wave. The Incident Wave Source: General Data page appears.

2.

Type the source’s name in the Name text box or accept the default name. (To change the default base name to one of your choosing, see Setting Default Boundary/Excitation Base Names.)

3.

Select the Vector Input Format as Cartesian or Spherical coordinates.

4.

Enter the X-, Y-, and Z-coordinates of the Excitation Location and/or Zero Phase Position (the origin for the incident wave).

5.

Click Next.

6.

If you selected Cartesian, the Incident Wave Source: Cartesian Vector Setup page appears. Enter the X-, Y-, and Z-components for the vector I*Dipole Length in the X, Y, and Z boxes. I is the current amplitude (peak value). Units are Amp-meters (A*m). A single incident wave will be defined. Continue with Step 8 below.

7.

If you selected Spherical, the Incident Wave Source: Spherical Vector Setup page appears.

7-22 Assigning Excitations

HFSS Online Help

a.

Under IWavePhi, enter the following: Start

The point where the rotation of φ begins.

Stop

The point where the rotation of φ ends.

Points

The number of points on the sweep of φ.

Click View Point List to see the values of φ. b.

Under IWaveTheta, enter values for Start, Stop, and Points. Click View Point List to see the values of θ.

c.

Enter the φ and θ components of the vector I*Dipole Length in the Phi and Theta boxes. I is the current amplitude (peak value). Units are Amp-meters (A*m). A spherical grid is created when θ is swept through each φ point. At each grid point, an incident wave is present traveling towards the origin of the coordinate system for the design. The number of incident waves and grid points can be calculated by multiplying the number of φ points by the θ points.

Note

Only a single incident wave angle can be defined for periodic structures which are defined with master and slave boundaries

8.

Click Next. the Incident Wave Source: Hertzian-Dipole Wave Options page appears.

9.

Select the Radius of Surrounding Sphere. Inside this sphere, the field magnitude will be made equal to the field magnitude calculated on the surface of the sphere. To restore the default (10 mm), click the Use Defaults button.

10. Specify the type of Dipole as Electric Dipole [Magnetic current loop] or Magnetic Dipole [Electric current loop]. 11. Click Finish.The incident wave you defined is added to the Excitations list in the Project. Related Topics Technical Notes: Incident Waves

Incident Cylindrical Wave An incident Cylindrical wave is a wave that simulates the far field of an infinite line current placed at the origin. 1.

Click HFSS>Excitations>Assign>Incident Wave>Cylindrical Wave. The Incident Wave Source: General Data page appears.

2.

Type the source’s name in the Name text box or accept the default name. (To change the default base name to one of your choosing, see Setting Default Boundary/Excitation Base Names.)

3.

Select the Vector Input Format as Cartesian or Spherical coordinates.

4.

Enter the X-, Y-, and Z-coordinates of the Excitation Location and/or Zero Phase Position Assigning Excitations 7-23

HFSS Online Help

(the origin for the incident wave). 5.

Click Next.

6.

If you selected Cartesian, the Incident Wave Source: Cartesian Vector Setup page appears. Enter the X-, Y-, and Z-components for the I Vector in the X, Y, and Z boxes. I is the current amplitude (peak value). Units are Amps (A). A single incident wave will be defined. Continue with Step 8 below.

7.

If you selected Spherical, the Incident Wave Source: Spherical Vector Setup page appears. a.

Under IWavePhi, enter the following: Start

The point where the rotation of φ begins.

Stop

The point where the rotation of φ ends.

Points

The number of points on the sweep of φ.

Click View Point List to see the values of φ. b.

Under IWaveTheta, enter values for Start, Stop, and Points. Click View Point List to see the values of θ.

c.

Enter the φ and θ components of the I Vector in the Phi and Theta boxes. I is the current amplitude (peak value). Units are Amps (A). A spherical grid is created when θ is swept through each φ point. At each grid point, an incident wave is present traveling towards the origin of the coordinate system for the design. The number of incident waves and grid points can be calculated by multiplying the number of φ points by the θ points.

Note

Only a single incident wave angle can be defined for periodic structures which are defined with master and slave boundaries

8.

Click Next. the Incident Wave Source: Cylindrical Wave Options page appears.

9.

Select the Radius of Surrounding Cylinder. Inside this cylinder, the field magnitude will be made equal to the field magnitude calculated on the surface of the cylinder. To restore the default (10 mm), click the Use Defaults button.

10. Click Finish.The incident wave you defined is added to the Excitations list in the Project. Related Topics Technical Notes: Incident Waves

Incident Gaussian Beam Wave An incident Gaussian Beam wave is a wave that propagates in one direction and is of Gaussian distribution in the directions perpendicular to its direction of propagation. 1.

Click HFSS>Excitations>Assign>Incident Wave>Gaussian Beam. The Incident Wave Source: General Data page appears.

7-24 Assigning Excitations

HFSS Online Help

2.

Type the source’s name in the Name text box or accept the default name. (To change the default base name to one of your choosing, see Setting Default Boundary/Excitation Base Names.)

3.

Select the Vector Input Format as Cartesian or Spherical coordinates.

4.

Enter the X-, Y-, and Z-coordinates of the Excitation Location and/or Zero Phase Position (the origin for the incident wave).

5.

Click Next.

6.

If you selected Cartesian, the Incident Wave Source: Cartesian Vector Setup page appears. Define the propagation vector, k, and the E-field polarization vector, E0: a.

Enter the X-, Y-, and Z-components for k vector in the X, Y, and Z boxes.

b.

Enter the coordinates for E0 vector in the X, Y, and Z boxes. A single incident wave will be defined. Continue with Step 8 below.

Note

7.

When entering the propagation vector, k, and E-field polarization vector, E0, using Cartesian coordinates, keep the following guidelines in mind:



To define an incident wave traveling in the positive z direction, enter (0, 0, 1) as the k vector coordinates.

• •

The magnitude of the E0 vector cannot be zero. k must be orthogonal to E0.

If you selected Spherical, the Incident Wave Source: Spherical Vector Setup page appears. a.

Under IWavePhi, enter the following: Start

The point where the rotation of φ begins.

Stop

The point where the rotation of φ ends.

Points

The number of points on the sweep of φ.

Click View Point List to see the values of φ. b.

Under IWaveTheta, enter values for Start, Stop, and Points. Click View Point List to see the values of θ.

c.

Enter the φ and θ components of E0 in the Phi and Theta boxes. A spherical grid is created when θ is swept through each φ point. At each grid point, an incident wave is present traveling towards the origin of the coordinate system for the design. The number of incident waves and grid points can be calculated by multiplying the number of φ points by the θ points.

Note

Only a single incident wave angle can be defined for periodic structures which are defined with master and slave boundaries Assigning Excitations 7-25

HFSS Online Help

8.

Click Next. The Incident Wave Source: Gaussian Beam Options page appears.

9.

Select the Beam Width at Focal Point. Select the Beam Width at Focal Point. By definition, this refers to the radius of the beam waist (not the diameter). To restore the default (10 mm), click the Use Defaults button.

10. Click Finish.The incident wave you defined is added to the Excitations list in the Project. Related Topics Technical Notes: Incident Waves

Incident Linear Antenna Wave An incident linear antenna wave is a wave that simulates the far field of a linear antenna placed at the origin. 1.

Click HFSS>Excitations>Assign>Incident Wave>Linear Antenna Wave. The Incident Wave Source: General Data page appears.

2.

Type the source’s name in the Name text box or accept the default name. (To change the default base name to one of your choosing, see Setting Default Boundary/Excitation Base Names.)

3.

Select the Vector Input Format as Cartesian or Spherical coordinates.

4.

Enter the X-, Y-, and Z-coordinates of the Excitation Location and/or Zero Phase Position (the origin for the incident wave).

5.

Click Next.

6.

If you selected Cartesian, the Incident Wave Source: Cartesian Vector Setup page appears. Enter the X-, Y-, and Z-components for the I Vector in the X, Y, and Z boxes. I is the antenna current amplitude (peak value). Units are Amps (A). A single incident wave will be defined. Continue with Step 8 below.

7.

If you selected Spherical, the Incident Wave Source: Spherical Vector Setup page appears. a.

Under IWavePhi, enter the following: Start

The point where the rotation of φ begins.

Stop

The point where the rotation of φ ends.

Points

The number of points on the sweep of φ.

Click View Point List to see the values of φ. b.

Under IWaveTheta, enter values for Start, Stop, and Points. Click View Point List to see the values of θ.

c.

Enter the φ and θ components of the I Vector in the Phi and Theta boxes. I is the antenna current amplitude (peak value). Units are Amps (A). A spherical grid is created when θ is swept through each φ point. At each grid point, an incident wave is present traveling towards the origin of the coordinate system for the design. The number of incident waves and grid points can be calculated by multiplying the

7-26 Assigning Excitations

HFSS Online Help

number of φ points by the θ points.

Note

Only a single incident wave angle can be defined for periodic structures which are defined with master and slave boundaries

8.

Click Next. The Incident Wave Source: Linear Antenna Wave Options page appears.

9.

Select the Length of the Antenna.

10. Select the Radius of Surrounding Cylinder. Inside this cylinder, the field magnitude will be made equal to the field magnitude calculated on the surface of the cylinder. 11. To restore the defaults (10 mm), click the Use Defaults button. 12. Click Finish.The incident wave you defined is added to the Excitations list in the Project. Related Topics Technical Notes: Incident Waves

Far Field Wave A Far field wave is sufficiently far (that is, usually more than a wave length distance) from an antenna to approximate as a plane wave. Far field waves are mostly homogeneous. 1.

Click HFSS>Excitations>Assign>Far Field Wave. The Incident Wave Source:General Data page appears.

2. 3.

Type the source name in the Name text box or accept the default name. (To change the default base name to one of your choosing, see Setting Default Boundary/Excitation Base Names.) Click Next. A page appears that contains a Setup Link button to browse for a Source of Field and fields for specifying the linked design orientation relative to this design.

4.

To specify the Source of Field, click the Setup Link button. This displays an HFSS window. It has three fields under the General tab: Project File, Design, and Solution. a.

Specify the Project file for the design that is the source of the Far Field wave. A browse button [...] lets you look through your file system. If you do not specify a project file, but select the current model, the current Project File is automatically filled in.

b.

Specify the Design for the source of the Far Field wave. If the source is in the current design, you can select this from a drop down menu. If you select the current model, the Project File is automatically filled in. The source design does not need to have ports.

c.

Specify the Solution to use. A drop down list lets you select from the available solutions. The "Default" solution is the product dependent solution of the first Setup. That is the setup listed first in the source design's project tree (alphanumerical order). A product specific solution of this setup becomes the default solution. In most products, it is LastAdaptive. In a Transient solution type, it is "Transient."

d.

Use the radio button to specify whether to save the source path relative to The project Assigning Excitations 7-27

HFSS Online Help

directory of the source project or This project. e.

Use the checkbox specify whether to Force source design to solve in the absence of linked data in the target design.

f.

Use the checkbox to specify whether to preserve the source design solution. Note that in extractor mode, the source project will be saved upon exit. Extractor mode means that the software is opened during the link solely for the purpose of solving.

g.

Under the External Field Link configuration tab, you can set excitation magnitudes and phases in the source design. The Use Excitations from Source Design checkbox allows the excitations from the source design to be used when extracting fields for the target design. That is, when this option is set, the source setup in the link would be ignored. Unchecking Use Excitations from Source Design enables the Override Source Excitations table. Here you can specify the Magnitude and Phase of the Source excitations.

5.

h.

Under the Parameters tab, you can set the desired variable values in the source design.

i.

Click OK to close the HFSS window and return to the Incident Wave Source window.

If necessary, specify the Translation of Source Origin Relative to this design. If the coordinate system you are using in the source design (the project/design to which you are linking) is different from that in the target design (the design in which you are creating the link), you must define the relationship between those coordinate systems. The relationship between two coordinate systems can always be defined as a translation and a rotation. The translation is the offset between the origins of the two coordinate systems, and the rotation can be defined through the use of Euler angles.

6.

Enter the X-, Y-, and Z-coordinates of the Excitation Location and/or Zero Phase Position (the origin for the incident wave). This represents the translation of the source design’s origin with respect to the target design’s origin. For instance, if the source design’s origin is located in the target design at (-2, -2, 1), then the translation between the two coordinate systems is (-2, -2, 1).

7.

You can define the Rotation of this Design Relative to the Source Design Euler Angles. Similarly to the definition of translation, these angles represent the three rotations that the source design must undergo to align with the target design’s coordinate system. Enter the Euler angles in the respective text fields and use the pull-down menus to specify the units (degrees or radians):

• • •

Phi (+ or - rotation about the Z-axis). Theta (+ or - rotation about the X-axis) Psi (+ or - rotation about resultant Z-axis.

7-28 Assigning Excitations

HFSS Online Help

X,Y, Z Source Coordinate System X", Y", Z" Source Coordinate System After Rotation by φ [phi]

X’, Y’, Z’ Source Coordinate System After Rotation by θ [theta]

X, Y, Z Source Coordinate System After Rotation by ψ [psi]

8.

Click Finish to close the dialog. The Far Field wave source point and direction is highlighted in the modeler window, and the wave appears in the Excitations list in the Project.

Related Topics Technical Notes: Incident Waves Clear Linked Data Using Field Solutions from Other Simulators

Assigning Excitations 7-29

HFSS Online Help

Near Field Wave A Near Field wave is close enough to the antenna source for near field effects to occur, typically within a wave length. Near field waves tend to be evanescent, that is, non-homogeneous. 1.

Click HFSS>Excitations>Assign>Near Field Wave. The Incident Wave Source:Near Field Wave page appears.

2.

Type the source name in the Name text box or accept the default name. (To change the default base name to one of your choosing, see Setting Default Boundary/Excitation Base Names.)

3.

Click Next. A page appears that contains a Setup Link button to browse for a Source of Field and fields for specifying the linked design orientation relative to this design. a.

To specify the Source of Field, click the Setup Link button. This displays an HFSS window. It has three fields under the General tab: Project File, Design, and Solution.

b.

Specify the Project file for the design that is the source of the Near Field wave. A drop down menu lets you select the current file, and a browse button [...] lets you look through your file system. If you select the current model, the current Design is automatically filled in.

c.

Specify the Design for the source of the Near Field wave. If you select the current Project File, the Design is automatically filled in. The source design does not need to have ports.

d.

Specify the Solution to use. A drop down list lets you select from the available solutions. The "Default" solution is the product dependent solution of the first Setup. That is the setup listed first in the source design's project tree (alphanumerical order). A product specific solution of this setup becomes the default solution. In most products, it is LastAdaptive. In a Transient solution type, it is "Transient."

e.

Use the radio button to specify whether to save the source path relative to The project directory of the source project or This project.

f.

Use the checkbox specify whether to Force source design to solve in the absence of linked data in the target design.

g.

Use the checkbox to specify whether to preserve the source design solution. Note that in extractor mode, the source project will be saved upon exit. Extractor mode means that the software is opened during the link solely for the purpose of solving.

h.

Under the External Field Link configuration tab, you can set excitation magnitudes and phases in the source design. The Use Excitations from Source Design checkbox allows the excitations from the source design to be used when extracting fields for the target design. That is, when this option is set, the source setup in the link would be ignored. Unchecking Use Excitations from Source Design enables the Override Source Excitations table. Here you can specify the Magnitude and Phase of the Source excitations.

i.

Under the Parameters tab, you can set the desired variable values in the source design.

j.

Click OK to close the HFSS window and return to the Incident Wave Source window.

7-30 Assigning Excitations

HFSS Online Help

4.

If necessary, specify the Translation of Source Origin Relative to this design. If the coordinate system you are using in the source design (the project/design to which you are linking) is different from that in the target design (the design in which you are creating the link), you must define the relationship between those coordinate systems. The relationship between two coordinate systems can always be defined as a translation and a rotation. The translation is the offset between the origins of the two coordinate systems, and the rotation can be defined through the use of Euler angles.

5.

Enter the X-, Y-, and Z-coordinates of the Excitation Location and/or Zero Phase Position (the origin for the incident wave). Select the units for the coordinate values from the drop-down lists. This represents the translation of the source design’s origin with respect to the target design’s origin. For instance, if the source design’s origin is located in the target design at (-2, -2, 1), then the translation between the two coordinate systems is (-2, -2, 1).

6.

You can define the Rotation of this Design Relative to the Source Design Euler Angles. Similarly to the definition of translation, these angles represent the three rotations that the source design must undergo to align with the target design’s coordinate system. Enter the Euler angles in the respective text fields and use the pull-down menus to specify the units (degrees or radians):

• • •

Phi (+ or - rotation about the Z-axis). Theta (+ or - rotation about the X-axis) Psi (+ or - rotation about resultant Z-axis.

Assigning Excitations 7-31

HFSS Online Help

X,Y, Z Source Coordinate System X", Y", Z" Source Coordinate System After Rotation by φ [phi]

X’, Y’, Z’ Source Coordinate System After Rotation by θ [theta]

X, Y, Z Source Coordinate System After Rotation by ψ [psi]

7.

Click Finish to close the dialog. The Near Field wave source point and direction is highlighted in the modeler window, and the wave appears in the Excitations list in the Project.

7-32 Assigning Excitations

HFSS Online Help

Note

The Near field link uses a default mesh density on the surfaces that link to the other design. If this default mesh density is not sufficient to obtain a desired accuracy, you can select these surfaces and assign a surface mesh seeding. Once the Near Field link has obtained the near fields from the other design, it continues to work with this information regardless of later mesh changes that resulted from adaptive passes or mesh operations. To enforce the Dynamic Link to use a newly seeded mesh, clear the linked data by using Clear Linked Data.

Related Topics Technical Notes: Incident Waves Clear Linked Data Using Field Solutions from Other Simulators

Assigning Excitations 7-33

HFSS Online Help

Assigning Voltage Sources Assign a voltage source when you want to specify the voltage and direction of the electric field on a surface. A voltage source is used when the feed structure is very small compared to the wavelength and a constant electric field may be assumed across the feed points. In this case, HFSS assigns a constant electric field across the gap on which you specified the voltage. 1.

Select the object face to which you want to assign the voltage source.

2.

Click HFSS>Excitations>Assign>Voltage. The Voltage Source dialog box appears.

3.

Type the source’s name in the Name text box or accept the default name. (To change the default base name to one of your choosing, see Setting Default Boundary/Excitation Base Names.)

4.

Type the value of the source, in volts or amps, in the Magnitude box. You can assign a variable as this value.

5.

Specify the direction of the electric field by drawing a vector: a.

Select New Line from the E-Field Direction pull-down list. The Voltage Source dialog box disappears while you draw the vector.

b.

Select the start point of the line in one of the following ways:

• • c.

Click the point. Type the point’s coordinates in the X, Y, and Z boxes.

Select the endpoint of the line using the mouse or the keyboard. The endpoint defines the direction and length of the line.

The Voltage Source dialog box reappears. 6.

Click OK.

When the source is selected, an arrow indicates the direction and a letter (v or i) indicates the type of source.

Modifying Voltage Sources To change the name, value, or electric field direction of an assigned voltage source: 1.

Double-click the source’s icon under Excitations in the project tree. The Voltage Source dialog box appears.

2. 3.

Edit the name or value of the source. To reverse the direction of the e-field:



Select Swap Endpoints from the E-Field Direction pull-down list.

The start and endpoints of the E-field line are switched; the line’s direction is reversed.

7-34 Assigning Excitations

HFSS Online Help

Assigning Current Sources Assign a current source when you want to define the magnitude and direction of the current flow through a surface. A current source is used when the feed structure is very small compared to the wavelength and the electric current on the surface is assumed to be constant across the feed points. 1.

Select the object face to which you want to assign the current source.

2.

Click HFSS>Excitations>Assign>Current. The Current Source dialog box appears.

3.

Type the source’s name in the Name text box or accept the default name

4.

Type the value of the source, in volts or amps, in the Magnitude box. You can assign a variable as this value.

5.

Specify the current flow direction by drawing a vector: a.

Select New Line from the Current Flow Direction pull-down list. The Current Source dialog box disappears while you draw the vector.

b.

Select the start point of the line in one of the following ways:

• • c.

Click the point. Type the point’s coordinates in the X, Y, and Z boxes.

Select the endpoint of the line using the mouse or the keyboard. The endpoint defines the direction and length of the line.

The Current Source dialog box reappears. 6.

Click OK.

When the source is selected, an arrow indicates the direction and a letter (v or i) indicates the type of source.

Modifying Current Sources To change the name, value, or current flow direction of an assigned current source: 1.

Double-click the source’s icon under Excitations in the project tree. The Current Source dialog box appears.

2. 3.

Edit the name or value of the source. To reverse the direction of the current flow:



Select Swap Endpoints from the Current Flow Direction pull-down list.

The start and endpoints of the current flow line are switched; the line’s direction is reversed.

Assigning Excitations 7-35

HFSS Online Help

Assigning Magnetic Bias Sources When you create a ferrite material, you must define the net internal field that biases the ferrite by assigning a magnetic bias source. The bias field aligns the magnetic dipoles in the ferrite, producing a non-zero magnetic moment. 1.

Select the 3D ferrite object to which you want to assign the magnetic bias source.

2.

Click HFSS>Excitations>Assign>Magnetic Bias. The Magnetic Bias wizard appears.

3.

4.

Type the source’s name in the Name text box or accept the default name. (To change the default base name to one of your choosing, see Setting Default Boundary/Excitation Base Names.) Specify whether the applied bias field is Uniform or Non-uniform. If a design already contains a magnetic bias field, you cannot assign another of a different type. If a single bias field exists in a design, you can edit the type.

5.

If you selected the Uniform radio button, click Next and do the following: a.

In the Internal Bias field, type the value of the ferrite in amperes/meters. You can assign a variable as this value.

b.

Enter the rotation of the permeability tensor with respect to the xyz-coordinate system in the X Angle, Y Angle, and Z Angle boxes. You can assign variables to these values.

If you selected Non-uniform, select the Setup Link... button to display the Setup Link dialog. Under the General tab, do the following: a.

Type the name of a Maxwell 3D Field Simulator project in the Project File box, or click the ellipsis [...] browse button display a file browser to select the project. HFSS uses the Maxwell 3D project as the source of the non-uniform magnetostatic field information during solution generation. Linking invokes a Maxwell 3D window to provide the solution for the targeted HFSS project.

b.

If there are multiple designs available for the project, you can select from the drop down menu.

c.

If there are multiple solutions available, you can select from the drop-down menu. The "Default" solution is the product dependent solution of the first Setup. That is the setup listed first in the source design's project tree (alphanumerical order). A product specific solution of this setup becomes the default solution. In most products, it is LastAdaptive. In a Transient solution type, it is "Transient."

d.

Use the radio button to specify whether to save the source path relative to The project directory of the source project or This project.

e.

Use the checkbox specify whether to Force source design to solve in the absence of linked data in the target design.

f.

Use the checkbox to specify whether to preserve the source design solution. Note that in extractor mode, the source project will be saved upon exit. Extractor mode means that the

7-36 Assigning Excitations

HFSS Online Help

software is opened during the link solely for the purpose of solving. The Setup Link dialog also contains a Parameters tab. The Parameter is available within the Maxwell 3D Field Simulator and the Value can (and often will) be a parameter in the HFSS Setup. To accept the settings and close the Setup Link dialog, click OK 6.

Click Finish to close the Magnetic Bias wizard. The magnetic bias source is assigned to the selected object. If you have set up a link, HFSS invokes a Maxwell 3D window to provide the solution for the targeted HFSS project.

You can also access and edit the magnetic bias source information via the Properties dialog for the source. Magnetic bias sources always have the lowest priority compared to boundaries and other excitations in the solver view.

Note

The Tools>Options>HFSS Options dialog has a setting for Use wizards for data input when creating new boundaries that controls the appearance of the Next button.

Related Topics Reprioritizing Boundaries and Excitations. Technical Notes: Magnetic Bias Sources Technical Notes: Uniform Applied Bias Fields Technical Notes: Non-uniform Applied Bias Fields Technical Notes: Magnetic Saturation

Assigning Excitations 7-37

HFSS Online Help

Setup Link Dialog Linked data can be mesh, field or some other post-processing data that the source design generated. The Setup link dialog permits you to link the current project to another for:

• • • • •

Magnetic Bias source Near Field Wave source Far Field Wave source Initial Mesh source Screening Impedance Boundaries

Use the hypertext links above to see the procedure for setting the link of interest. Related Topics Clear Linked Data Export Results to Thermal Link for ANSYS Mechanical

7-38 Assigning Excitations

HFSS Online Help

Modifying Excitations To change the properties of an excitation, do one of the following:



Double-click the excitation’s icon under Excitations in the project tree. The excitation’s dialog box appears, in which you can modify its properties.



Right-click the excitation in the project tree, and then click Properties on the shortcut menu. The excitation’s dialog box appears, in which you can modify its properties.



On the HFSS menu, click List. The Design List dialog box appears. Under the Excitations tab, you can modify the properties of one or more boundaries.

Assigning Excitations 7-39

HFSS Online Help

Deleting Excitations To delete one excitation: 1.

Select the excitation you want to delete by clicking its icon in the project tree.

2.

On the Edit menu, click Delete

.

The excitation is removed from the design and the project tree. For terminal solutions, if you delete a port with terminals associated with it, deleting the port also removes the associated terminals. To delete all excitations:



On the HFSS menu, point to Excitations, and then click Delete All.

You can also delete one or more excitations in the Design List dialog box: 1.

On the HFSS menu, click List. The Design List dialog box appears.

2.

Under the Excitations tab, click the row of the excitation you want to delete.

3.

Click Delete.

7-40 Assigning Excitations

HFSS Online Help

Reassigning Excitations You can reassign an excitation to another surface. This is useful when you have modified objects with assigned excitations, invalidating the excitations. For example, if you unite two objects with assigned excitations, the second object’s excitation will become invalid because united objects maintain the characteristics of the first object selected. In this case, you would need to reassign the excitation or delete it. 1.

Select the object or object face to which you want to assign an existing excitation.

2.

Click HFSS>Excitations>Reassign. The Reassign Excitation window appears.

3.

Select an existing excitation from the list, and then click OK. The excitation is reassigned to the object or object face.

Note

When reassigning an excitation that includes vectors in its definition, HFSS attempts to preserve the vectors with the new assignment, but this is not always possible.

Assigning Excitations 7-41

HFSS Online Help

Duplicating Excitations with Geometry See Duplicating Boundaries and Excitations with Geometry.

7-42 Assigning Excitations

HFSS Online Help

Showing and Hiding Excitations See Setting Boundary and Excitation Visualization Options.

Assigning Excitations 7-43

HFSS Online Help

Setting the Impedance Multiplier For designs with ports. If one or more symmetry planes have been defined or if only a wedge of a structure is modeled, you must adjust the impedance multiplier or the computed impedances will not be for the full structure.

Note

1.

Changing the impedance multiplier invalidates solutions in projects where lumped ports are defined. In such projects, you need to re-solve the project after the change.

Click HFSS>Excitations>Edit Impedance Multiplier. The Port Impedance Multiplier dialog box appears.

2.

Type a value in the Impedance Multiplier box. You can assign a variable as this value.

3.

Click OK.

Related Topics Technical Notes: Impedance Multipliers

7-44 Assigning Excitations

HFSS Online Help

Renormalizing S-Matrices You can renormalize an S-matrix to a specific port impedance when you set up a wave port. (It is the final step in the Wave Port wizard.) Or you can return to the Wave Port dialog box by doubleclicking the wave port icon in the project tree, and then clicking the Post Processing tab. For driven modal problems, you can also edit the renormalization settings and impedance value in the wave port Properties dialog. To renormalize an S-matrix to a specific port impedance: 1.

If you have already set up the wave port on the desired object face, double-click the wave port’s icon in the project tree. The Wave Port dialog box appears.

2.

Click the Post Processing tab. The Port Renormalization choices include:

• •

Do Not Renormalize (the default) Renormalize All Modes. This enables the Full Port Impedance text box. The default impedance for re-normalization of each port is 50 ohms. For a driven modal solution, if you want to enter a complex impedance, enter it in the follow-

ing form:

+ j (For a driven terminal solution using a waveport, only the real part of the impedance is required.)

• 3.

If there are multiple modes, Renormalize Specific Modes. This enables the Edit Mode Impedances button. This opens a editable table with the impedances for each mode.

Click OK to apply the selected values and close the dialog.

For wave ports in driven modal problems, if you choose to edit the renormalize values through the Properties dialog: 1.

Select the wave port to edit. The docked Properties dialog shows the properties for the wave port.

2.

Check the Renormalize All Modes box. This enables the Renorm Imped field.

3.

Set the Impedance value.

Note

You do not need to re-run a simulation in order to renormalize a port. Post-processing reports are automatically updated to reflect the renormalized S-matrix.

Related Topics Technical Notes: Renormalized S-Matrices

Assigning Excitations 7-45

HFSS Online Help

De-embedding S-Matrices You can de-embed the port to a specific port impedance when you set up a wave port. (It is the final step in the Wave Port wizard.) Or you can return to the Wave Port dialog box by double-clicking the wave port icon in the project tree, and then clicking the Post Processing tab. To compute a de-embedded S-matrix: 1.

If you have already set up the wave port on the desired object face, double-click the wave port’s icon in the project tree. The Wave Port dialog box appears.

2.

Click the Post Processing tab.

3.

Select Deembed, and then enter the length of the transmission line to be added in the Distance text box. A positive value de-embeds into the port. A negative value de-embeds out of the port. You can assign a variable as this value. After you enter the value, a blue arrow depicts the embedding distance in the graphics window while the port is selected. After you enter the value, a blue arrow depicts the de-embedding distance in the graphics window while the port is selected. In cases of a unit cell modelling equivalent screening impedance, the de-embedding distances should point to the nearest surfaces of the substrate even if there is a thickness between these surfaces. Note that a very thick substrate may lead to inaccurate results because HFSS replaces the composite material of the substrate with a sheet.

Note

Deembedding the reference plane of a port with a decaying propagation constant can result in nonphysical values due to numerical uncertinities. When some of the S parameters are below the noise floor of the numerical simulation, deembedding them into the object with a long distance and/or a high decaying factor, can magnify the uncertain low values to nonphysical ones. Hint: Avoid deembeding with long distances when the real part of the propagation constant is not not small enough.

If you miscalculate the embedding distance, HFSS issues a warning. 4.

Click OK to assign that length to the selected port.

Note

You do not need to re-run a simulation in order to de-embed the S-matrix. Postprocessing reports are automatically updated to reflect the de-embedded S-matrix.

Related Topics Technical Notes: De-embedded S-Matrices Technical Notes: Deembedding

7-46 Assigning Excitations

8 Assigning Materials

To assign a material to an object, follow this general procedure: 1. 2.

Select the object to which you want to assign a material. On the Modeler menu, click Assign Material

.

The Select Definition window appears. When the Show all libraries checkbox is selected, the window lists all of the materials in Ansoft’s global material library as well as the project’s local material library. You can also open the Select Definition window in one of the following ways:

3.



In the Properties dialog box for the object, click the material name under the Attributes tab.



Right-click Model in the project tree, and then click Assign Material on the shortcut menu.



Right-click the object in the history tree, and then click Assign Material on the shortcut menu.

Select a material from the list.

Note

You can search the listed materials by name or property value.

If the material you want to assign is not listed, add a new material to the global or local material library, and then select it. 4.

Click OK. The material you chose is assigned to the object.

Assigning Materials 8-1

HFSS Online Help

Note

In the history tree, by default, HFSS groups objects by material. To change the default, select the object icon and right-click to display the Group Objects by Material checkbox.

Related Topics Solve Inside or On a Surface Searching for Materials Adding New Materials Assigning Material Property Types Defining Variable Material Properties Defining Frequency Dependent Material Properties Defining Material Properties as Expressions Defining Functional Material Properties Viewing and Modifying Material Attributes Validating Materials Copying Materials Removing Materials Export Materials to a Library Sorting Materials Filtering Materials Working with Materials Libraries

8-2 Assigning Materials

HFSS Online Help

Solving Inside or on the Surface When you assign a material to an object, you can specify whether to generate a field solution inside the object or on the surface of the object. If you elect to generate a solution inside the object, HFSS will create a mesh inside the object and generate a solution from the mesh. If you elect to generate a solution on the surface of the object, HFSS will create only a surface mesh for the object. If you want a solution to be generated inside an object, select Solve Inside in the Properties window. Conversely, if you want a solution to only be generated on the surface of an object, clear the Solve Inside option in the Properties window. By default, Solve Inside is selected for all objects with a bulk conductivity less than 105 siemens/ meter and for perfect insulators. By default, the Solve Inside option in the Properties window is clear for perfect conductors. To change the threshold for solving inside objects, do the following: 1.

Under the Tools menu, point to Options, and then click HFSS Options.

2.

Under the General tab, enter a new value in the Solve Inside threshold text box.

Assigning Materials 8-3

HFSS Online Help

Searching for Materials 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.

Searching by Material Name 1.

In the Search Criteria area of the Select Definition window, select by Name.

2.

In the Search Parameters area, type a material name in the Search by Name text box. The row containing the material name most similar to the one you typed will be selected.

If the selected material is not the one you are searching for, do one of the following:

• •

Use the keyboard’s arrow keys to scroll up or down the list of materials. Type a new material name in the Search by Name text box.

Searching by Material Property 1.

In the Search Criteria area of the Select Definition window, select by Property.

2.

Select a material property from the pull-down list:

3.

In the Search Parameters area, type a value for the property in the Search by Property text box, and then click Search. The materials are sorted according to the value you entered. The material with the property value closest to the one you typed will be selected.

If the selected material is not the one you are searching for, do one of the following:

• •

Use the keyboard’s arrow keys to scroll up or down the list of materials. Type a new value in the Search by Property text box.

8-4 Assigning Materials

HFSS Online Help

Adding New Materials You can add a new material to a project or global user-defined material library. To make the new project material available to all projects, you must export the material to a global user-defined material library. 1.

In the Select Definition window, click Add Material. The View/Edit Material window appears.

2.

Use the radio buttons in the View/Edit section to specify whether the new materials apply to Active Design, This Product, or All Products. You selection may enable the View/ Edit Modifier checkbox for Thermal Modifier checkbox. 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 the Specify Thermal Quadratic Parameters dialog.

3.

Type a new name for the material in the Material Name text box or accept the default.

4.

Select a material property type - Simple or Anisotropic - for each property from the Type pull-down list.

5.

If the material is linear, enter values for the following material properties in the Value boxes:

• • • • •

Relative Permeability Relative Permittivity Bulk Conductivity Dielectric Loss Tangent, 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.

6.

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.

7.

To modify the units for a material property, double-click the Units box, and then select a new unit system.

8.

Click OK. The new material is added to the material library.

Related Topics Defining Variable Material Properties Assigning Material Property Types Defining Frequency-Dependent Material Properties Assigning Materials 8-5

HFSS Online Help

Specify Thermal Quadratic Parameters

Assigning Material Property Types Each material property can be assigned one of the following material property types: Simple

The material is homogeneous and linear.

Anisotropic

The material’s characteristics vary with direction.

If the material property is anisotropic, its characteristics are defined by its anisotropy tensor. You must define three diagonals for anisotropic permittivity, electric loss tangent, conductivity, permeability, and magnetic loss tangent. Each diagonal represents a tensor of your model along an axis. These tensors are relative to the coordinate system specified as the object’s Orientation property. By specifying different orientations, several objects can share the same anisotropic material but be oriented differently. Related Topics Setting Coordinate Systems Creating a Relative Coordinate System Change the Orientation of an object Defining Anisotropic Relative Permeability Tensors Defining Anisotropic Relative Permittivity Tensors Defining Anisotropic Conductivity Tensors Defining Anisotropic Dielectric Loss Tangent Tensors Defining Magnetic Loss Tangent Tensors

Defining Anisotropic Relative Permeability Tensors 1.

In the Relative Permeability row in the View/Edit Material window, select Anisotropic from the Type pull-down list. Three rows named T(1,1), T(2,2) and T(3,3) are added below the Relative Permeability row.

2.

Enter the relative permeability along one axis of the material’s permeability tensor in the Value box of the T(1,1) row.

3.

Enter the relative permeability along the second axis in the Value box of the T(2,2) row.

4.

Enter the relative permeability along the third axis in the Value box of the T(3,3) row.

If the relative permeability is the same in all directions, use the same values for each axis. These values can also be defined as variables. Related Topics Technical Notes: Anisotropic Relative Permeability Tensors Setting Coordinate Systems Creating a Relative Coordinate System 8-6 Assigning Materials

HFSS Online Help

Change the Orientation of an object Defining Anisotropic Relative Permittivity Tensors Defining Anisotropic Conductivity Tensors Defining Anisotropic Dielectric Loss Tangent Tensors Defining Magnetic Loss Tangent Tensors

Defining Anisotropic Relative Permittivity Tensors 1.

In the Relative Permittivity row in the View/Edit Material window, select Anisotropic from the Type pull-down list. Three rows named T(1,1), T(2,2) and T(3,3) are added below the Relative Permittivity row.

2.

Enter the material’s relative permittivity along one tensor axis in the Value box of the T(1,1) row.

3.

Enter the relative permittivity along the second axis in the Value box of the T(2,2) row.

4.

Enter the relative permittivity along the third axis in the Value box of the T(3,3) row.

If the relative permittivity is the same in all directions, use the same values for each axis. These values can also be defined as variables. Related Topics Technical Notes: Anisotropic Relative Permittivity Tensors Setting Coordinate Systems Creating a Relative Coordinate System Change the Orientation of an object Defining Anisotropic Relative Permeability Tensors Defining Anisotropic Conductivity Tensors Defining Anisotropic Dielectric Loss Tangent Tensors Defining Magnetic Loss Tangent Tensors

Defining Anisotropic Conductivity Tensors 1.

In the Bulk Conductivity row in the View/Edit Material window, select Anisotropic from the Type pull-down list. Three rows named T(1,1), T(2,2) and T(3,3) are added below the Bulk Conductivity row.

2.

Enter the conductivity along one axis of the material’s conductivity tensor in the Value box of the T(1,1) row.

3.

Enter the conductivity along the second axis in the Value box of the T(2,2) row.

4.

Enter the conductivity along the third axis in the Value box of the T(3,3) row.

The values of the conductivity along the first and second axis apply to all axes that lie in the xy cross-section being modeled. The values of the conductivity along the third axis applies to the zcomponent. These values affect current flowing in dielectrics between the conductors. These values can also be defined as variables. Assigning Materials 8-7

HFSS Online Help

Related Topics Technical Notes: Anisotropic Conductivity Tensors Setting Coordinate Systems Creating a Relative Coordinate System Change the Orientation of an object Defining Anisotropic Relative Permeability Tensors Defining Anisotropic Relative Permittivity Tensors Defining Anisotropic Dielectric Loss Tangent Tensors Defining Magnetic Loss Tangent Tensors

Defining Anisotropic Dielectric Loss Tangent Tensors If electric loss tangent is anisotropic, do the following: 1.

In the Dielectric Loss Tangent row in the View/Edit Material window, select Anisotropic from the Type pull-down list. Three rows named T(1,1), T(2,2) and T(3,3) are added below the Dielectric Loss Tangent row.

2.

Enter the ratio of the imaginary relative permittivity to the real relative permittivity in one direction in the Value box of the T(1,1) row.

3.

Enter the ratio of the imaginary relative permittivity to the real relative permittivity in the second direction in the Value box of the T(2,2) row.

4.

Enter the ratio of the imaginary relative permittivity to the real relative permittivity in the third orthogonal direction in the Value box of the T(3,3) row.

If the electric loss tangent is the same in all directions, use the same values for each direction. These values can also be defined as variables. Related Topics Technical Notes: Anisotropic Dielectric Loss Tangent Tensors Setting Coordinate Systems Creating a Relative Coordinate System Change the Orientation of an object Defining Anisotropic Relative Permeability Tensors Defining Anisotropic Relative Permittivity Tensors Defining Anisotropic Conductivity Tensors Defining Magnetic Loss Tangent Tensors

Defining Magnetic Loss Tangent Tensors 1.

In the Magnetic Loss Tangent row in the View/Edit Material window, select Anisotropic from the Type pull-down list. Three rows named T(1,1), T(2,2) and T(3,3) are added below the Magnetic Loss Tangent

8-8 Assigning Materials

HFSS Online Help

row. 2.

Enter the ratio of the imaginary relative permeability to the real relative permeability in one direction in the Value box of the T(1,1) row.

3.

Enter the ratio of the imaginary relative permeability to the real relative permeability in the second direction in the Value box of the T(2,2) row.

4.

Enter the ratio of the imaginary relative permeability to the real relative permeability in the third direction in the Value box of the T(3,3) row.

If the magnetic loss tangent is the same in all directions, use the same values for each direction. These values can also be defined as variables. Related Topics Technical Notes: Anisotropic Magnetic Loss Tangent Tensors Setting Coordinate Systems Creating a Relative Coordinate System Change the Orientation of an object Defining Anisotropic Relative Permeability Tensors Defining Anisotropic Relative Permittivity Tensors Defining Anisotropic Conductivity Tensors Defining Anisotropic Dielectric Loss Tangent Tensors

Defining Variable Material Properties When defining or modifying a material’s properties, each material property value in the View/Edit Material window can be assigned a project variable. Simply type the project variable’s name in the appropriate Value box. Project variables are used for material properties because materials are stored at the project level. For example, define a project variable with the name MyPermittivity and define its value as 4. To assign this property value to a material, type $MyPermittivity in the Relative Permittivity Value box for the material. Be sure to include the prefix $ before the project variable name, which notifies HFSS that the variable is a project variable.

Defining Frequency-Dependent Material Properties 1.

With respect to a material selected in the Select Definition window, in the View/Edit Material window, click Set Frequency Dependency. HFSS provides several frequency-dependent material models. The Piecewise Linear and Frequency Dependent Data Points models apply to both the electric and magnetic properties of the material. However, they do not guarantee that the material satisfies causality conditions, and so they should only be used for frequency-domain applications. 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. Assigning Materials 8-9

HFSS Online Help

In HFSS, you can assign conductivity either directly as bulk conductivity, or as a loss tangent. This provides flexibility, but you should only provide the loss once. The solver uses the loss values just as they are entered. 2.

3.

4.

In the Frequency Dependent Material Setup Option window, do one of the following:



Select Piecewise Linear Input. This defines the material property values as a restricted form of piece wise linear model with exactly 3 segments (flat, linear, flat). You will specify the property's values at an upper and lower corner frequency. Between these corner frequencies, HFSS linearly interpolates the material properties; above and below the corner frequencies, HFSS extrapolates the property values as constants. This dataset can be modified with additional points if desired.



Select Debye Model Input. This is a single-pole model for the frequency response of a lossy dielectric material. In some materials, up to about a 10-GHz limit, ion and dipole polarization dominate and a single pole Debye model is adequate. HFSS allows you to specify an upper and lower measurement frequency, and the loss tangent and relative permittivity values at these frequencies. You may optionally enter the permittivity at optical frequency, the DC conductivity, and a constant relative permeability.



Select Djordjevic-Sarkar Model Input. This model was developed for low-loss dielectric materials (particularly FR-4) commonly used in printed circuit boards and packages. In effect, it uses an infinite distribution of poles to model the frequency response, and in particular the nearly constant loss tangent, of these materials. HFSS allows you to enter the relative permittivity and loss tangent at a single measurement frequency. You may optionally enter the relative permittivity and conductivity at DC.



Select Enter Frequency Dependent Data Points. This allows you to enter, import or edit frequency dependent data sets for each material property. Any number of data points may be entered. This is an arbitrary piece wise linear model.

Click OK.



If you selected Piecewise Linear Input, the Piecewise Linear Frequency Dependent Material Input dialog box appears.



If you selected Loss Model Input, the Loss Model Frequency Dependent Material Input dialog box appears. In this case, follow the directions for specifying frequency dependence for a lossy dielectric material.



If you selected Enter Frequency Dependent Data Points, that dialog box appears. In this case, follow the directions for entering frequency dependent data points.

In the Piecewise Linear Frequency Dependent Material Input dialog box, enter a Lower Frequency value. HFSS assumes that the material’s property values remain constant below this frequency.

5.

Enter an Upper Frequency value. HFSS assumes that the material’s property values remain constant above this frequency.

6.

Enter the permittivity of the material at frequencies below the lower frequency in the At Lower Frequency text box.

8-10 Assigning Materials

HFSS Online Help

7.

Enter the permittivity of the material at frequencies above the upper frequency in the At Upper Frequency text box. If the permittivity of the material does not vary with frequency, enter the same value you entered for the permittivity’s lower frequency.

8.

Follow steps 5 and 6 for entering values for permeability, dielectric loss tangent, and magnetic loss tangent.

9.

Click OK. You return to the View/Edit Material window. New default function names appear in the material property text boxes. HFSS automatically created a dataset for each material property. Based on a varying property’s dataset, HFSS can interpolate the property’s values at the desired frequencies during solution generation.

To modify the dataset with additional points, see Modifying Datasets. Related Topics Defining Frequency-Dependent Material Properties for Lossy Dielectrics Enter Frequency Dependent Data Points Technical Notes: Frequency-Dependent Material Properties Modifying Datasets

Defining Frequency-Dependent Material Properties for Lossy Dielectrics 1.

In the View/Edit Material window, click Set Frequency Dependency.

2.

In the Frequency Dependent Material Setup Option window, select Loss Model Input if you are working with a lossy dielectric material with a lower frequency near DC. HFSS will enable you to specify the material’s conductivity at DC, rather than its loss tangent, and specify the high frequency/optical permittivity.

3.

Click OK. The Loss Model Frequency Dependent Material Input dialog box appears.

4.

Enter a Lower Frequency value. HFSS assumes that the material’s property values remain constant below this frequency.

5.

Enter an Upper Frequency value. HFSS assumes that the material’s property values remain constant above this frequency, unless otherwise specified for relative permittivity.

6.

Under Relative Permittivity, do the following: a.

Enter the permittivity of the material at frequencies below the lower frequency in the At Lower Frequency text box.

b.

Enter the permittivity of the material at frequencies above the upper frequency in the At Upper Frequency text box. If the material does not vary with frequency, enter the same value you entered for the permittivity’s lower frequency. Assigning Materials 8-11

HFSS Online Help

c.

Optionally, to specify the high frequency/optical permittivity, select At High/Optical Frequency, and then type the value in the text box.

7.

Enter the permittivity of the material at frequencies below the lower frequency in the At Lower Frequency text box.

8.

Under Conductivity or Dielectric Loss Tangent, do the following: Enter either the conductivity (step a) or the loss tangent (step b).

9.

a.

If you prefer to specify the material’s conductivity at DC, rather than its loss tangent value at the lower frequency, select At DC (Conductivity), and then type the conductivity value at DC in the text box.

b.

If you prefer to specify the loss tangent value of the material at the lower frequency, rather than its conductivity at DC, select At Lower Frequency (Loss Tangent), and then type the loss tangent value in the text box.

c.

Enter the Upper Frequency (Loss Tangent) value of the material in the text box.

Click OK. You return to the View/Edit Material window. New default function names appear in the material property text boxes.

Related Topics Technical Notes: Frequency-Dependent Material Properties Enter Frequency Dependent Data Points

Enter Frequency Dependent Data Points 1.

2.

When you click OK on the on after selecting Enter Frequency Dependent Data Points on the Frequency Dependent Material Setup dialog box, the Enter Frequency Dependent Data points dialog box appears. It shows a table with four columns:

• •

Name: the name of the selected material property.



Dataset column: this is disabled unless Freq Dependent is checked or the property cannot be set as frequency dependent. When enabled, it contains a dropdown menu with a list of existing datasets and the Add/Import dataset...to add or import new dataset.



Freq As: after a dataset is successfully imported or added, there are two choices available: "X datapoint" or "Y datapoint".

Freq Dependent: Check the box to indicate if the property is expressed as frequencydependent dataset. If a property can not be set as frequency-dependent dataset, the cell is disabled.

If you select Add/Import dataset, the Add Dataset dialog appears. This contains the following fields:

• • •

The name field for the current dataset. The default is ds1. The Import from File button. This opens a file browser for you to select an existing dataset. The Coordinates table. This contains X and Y text fields in which you can enter data

8-12 Assigning Materials

HFSS Online Help

points. The values you add are interactively displayed on the graph to the right of the table. You can also Add rows above or below a selected row, Delete rows, or Append a specified number rows. 3.

After you have specified or imported the data points, and OK the dialog, the Enter Frequency Data Points dialog shows the Dataset Name and the Freq As value.

4.

After you OK the Enter Frequency Dependent Data Points dialog shows the new values.

Specify Thermal Quadratic Parameters To specify Thermal quadratic parameters for a material, you must enable the View/ Edit Modifier checkbox for Thermal Modifier checkbox in the View/ Edit materials dialog. Selecting Edit rather than None causes the Specify Thermal Quadratic Parameters dialog to appear. 1.

In the Basic Coefficient tab, you can edit fields for the TempRef and units, and fields for C1 and C2 for the following equation: P(Temp) = Pref[1+ C1(Temp - TempRef) + C2(Temp - TempRef)^2] where the Pref is defined as the reference relative permittivity.

2.

In the Advanced Coefficient Set tab, you can edit fields for lower and upper temperature limits (TL and TU respectively) and select their units from the drop down. You can also edit the constant value limit for the thermal modifier values outside the limits. By default, these are automatically calculated. Uncheck the Auto Calculate TML and TMU to specify new values for thermal modifier lower (TML) and thermal modifier upper (TMU).

3.

Click OK to accept the edits and return to the View/ Edit materials dialog.

Related Topics. View/ Edit materials dialog

Defining Material Properties as Expressions When defining or modifying a material’s properties, each material property value in the View/Edit Material window can be assigned a mathematical expression. Simply type the expression in the appropriate Value box. Expressions typically contain intrinsic functions, such as sin(x), and arithmetic operators, such as +, -, *, and /, but do not include project variables.

Defining Functional Material Properties Any material property that can be specified by entering a constant can also be specified using a mathematical function. This is useful when you are defining a material property whose value is given by a mathematical relationship — for instance, one relating it to frequency or another property’s value. When defining or modifying a material’s properties, simply type the name of the function in the appropriate Value box. Related Topics Defining Mathematical Functions

Assigning Materials 8-13

HFSS Online Help

Viewing and Modifying Material Attributes 1.

In the Select Definition window, select the material you want to view or modify, and then click View/Edit Materials. The View/Edit Material window appears. The material name and its property values are listed.

2.

If Show all libraries has not been selected, you may need to select the libraries you want to view.

3.

You can modify the material as follows: a.

Type a new name for the material in the Material Name text box.

b.

Type new material property values in the Value boxes.

c.

Specify whether a material property is Simple or Anisotropic.

d.

Change the units for a material property.

Note: Materials stored in Ansoft’s global material library cannot be modified. 4.

Click OK to save the changes and return to the Select Definition window.

Warning

If you modify a material that is assigned in the active project after generating a solution, the solution will be invalid.

Related Topics Validating Materials Copying Materials Removing Materials Export Materials to a Library Sorting Materials Filtering Materials Working with Materials Libraries

8-14 Assigning Materials

HFSS Online Help

Validating Materials HFSS can validate a material’s property parameters for an Ansoft software product. For example, it 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. To validate the material attributes listed in the View/Edit Material window:



Select a product from the Select Ansoft Product area, and then click Validate Now.

Related Topics Copying Materials Removing Materials Export Materials to a Library Sorting Materials Filtering Materials Working with Materials Libraries

Assigning Materials 8-15

HFSS Online Help

Copying Materials 1.

In the Select Definition window, select the material you want to copy, and then click Clone Material.

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.

Related Topics Validating Materials Copying Materials Removing Materials Export Materials to a Library Sorting Materials Filtering Materials Working with Materials Libraries

8-16 Assigning Materials

HFSS Online Help

Removing Materials 1. 2.

In the Select Definition window, select a material you want to remove from the active project’s material library. Click Remove Material. The material is deleted from the project material library.

Note

The following materials cannot be deleted:

• •

Materials stored in Ansoft’s global material library. Materials that have been assigned to objects in the active project.

In a project library, you may want to use the Project>Remove Unused Definitions command to remove selected materials definitions that your project does not require. Related Topics Validating Materials Copying Materials Export Materials to a Library Sorting Materials Filtering Materials Working with Materials Libraries

Assigning Materials 8-17

HFSS Online Help

Exporting Materials to a Library 1. 2.

In the Select Definition window, select the material you want to export. Click Export Material to Library. The Export to material library file browser appears.

3.

Click PersonalLib to export the material to a local project directory, accessible only to the user that created it. Click UserLib to export the material to a a library that is shared by more than one user, usually in a central location.

4.

Type the library’s file name and then click Save.

Related Topics Validating Materials Copying Materials Removing Materials Sorting Materials Filtering Materials Working with Materials Libraries

8-18 Assigning Materials

HFSS Online Help

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, or material property value. To change the order of the listed materials:



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.

Related Topics Validating Materials Copying Materials Removing Materials Export Materials to a Library Filtering Materials Working with Materials Libraries

Assigning Materials 8-19

HFSS Online Help

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 upon the product or library with which they are associated. You can also filter out material properties and types of material properties. To filter materials or material properties listed in the Select Definition window: 1.

Click the Material Filters tab.

2.

Select one or more Ansoft products under Filter Material by Product. Only materials associated with the products you select will be listed in the Select Definition window.



Click Select All to select all of the products listed. Click Clear to clear all product selections.

3.

Select one or more property types under Filter Property Types. Only the property types you select will be listed.

4.

Select one or more material properties under Select Material Properties. Only the material properties you select will be listed.

5.

Select one or more material types under Filter Material Types. Only the material types you select will be listed.

6.

Select one or more material libraries under Filter Material by Location. Only the libraries you select will be listed.

7.

Click the Materials tab to save your selections. Click Cancel to revert back to the last saved selections.

Related Topics Validating Materials Copying Materials Removing Materials Export Materials to a Library Sorting Materials Working with Materials Libraries

8-20 Assigning Materials

HFSS Online Help

Working with Material Libraries There are two different kinds of materials libraries in HFSS, a system library and a user library. Related Topics Editing Libraries Configuring Libraries

Working with Ansoft’s System Material Library HFSS provides you with a global, or system library of predefined materials. Global materials in the Ansoft system library are available in every HFSS project. They cannot be modified. You can create a global system library that is stored in a common location and available to multiple users.

Working with User Material Libraries You can create your own personalized global material library, or user library, that can be used in any HFSS project only by the user that created it. User-defined global materials can be modified at any time. You can also create a personalized local user library that is used only in the active HFSS project.

Editing Libraries There are two different methods of editing libraries.



Using right-click on Materials in the project window to display the Edit All 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.



Using Tools>Edit Configured Libraries>Materials from the menu bar takes the current design into account and adds any new libraries to the configured list for the design.

Configuring Libraries Use Tools>Configure Libraries to display the Configure Design Libraries window. From this window you can view the available libraries for System, User, and Project, and which of these libraries has been configured. Set of selection arrows allows you to move a highlighted library to the Configured list. A checkbox permits you to specify a configured library as default. Related Topics Exporting Materials to a Library.

Assigning Materials 8-21

HFSS Online Help

8-22 Assigning Materials

9 Assigning DC Thickness

You can select the Assign DC Thickness option to more accurately compute DC resistance of a thin conducting object for which Solve Inside is not selected. Skin impedance of the object will be calculated using the defined finite thickness. Otherwise, standard skin impedance calculations assuming infinite thickness will be applied to the object. This option also exists for finite conductivity boundaries. The Assign DC Thickness option on the HFSS menu is enabled if at least one object contains a good conducting isotropic material (such as copper), and the Solve Inside property is not selected. If the object meets these conditions, you can assign a DC thickness. 1.

Select HFSS>Assign DC Thickness. This displays the Thickness of Objects for DC Resistance dialog. Objects to which the thickness can be applied are listed in the Object Name column.

2.

Select the objects to assign a value. You can select objects either by:

• •

Clicking on the Object Name to highlight it. Use the Select By Name field to type the object name, and click the Search button. The first object to match the name is highlighted.

Selecting an object highlights the Thickness field and the Set Thickness button. 3.

Enter a thickness value and select the units. This applies the value to the selected object and checks the Use Thickness property. I

Note

4.

If you enter a “0” for the thickness, HFSS gives a warning that this will cause infinite impedance that causes isolation.

To change the value and uncheck the Use Thickness property, select the Clear button and then enter a different value. You can also manually select or deselect the box and manually enter or Assigning DC Thickness 9-1

HFSS Online Help

delete a thickness value in the table. 5.

When you have assigned the values you need, click OK to close the dialogue.

Related Topics Technical Notes: Calculating Finite Thickness Impedance

9-2 Assigning DC Thickness

10 Modifying the Model View

You can modify the view of contents in the 3D Modeler window without changing their actual dimensions or positions. What do you want to do?

• • • • • • • • • • • • • • •

Rotate the view. Pan the view. Zoom in or out. Fit contents in the view window. Show or hide objects. Show or hide boundaries or excitations. Render objects as wireframes, flat-shaded, or smooth-shaded solids. Set the Surface Visualization Modify the view orientation. Modify the lighting. Set the projection view. Set the background color. Modify the appearance of the coordinate system axes. Modify the appearance of the grid. Set the Surface Visualization

Related Topics Assigning Color to an Object Assigning Transparency to an Object Modifying the Model View 10-1

HFSS Online Help

Rotating the View To rotate the view 1.

On the View menu, click Rotate

2.

Drag the mouse in the direction you want to rotate the view.

.

The view rotates until you release the mouse button. 3.

To exit Rotate mode, click Rotate on the View menu again or press ESC. Hint

Alternatively, rotate the view using one of the following methods:

• •

Hold down the ALT key as you drag the mouse. Right-click in the view window, and then click View>Rotate on the shortcut menu.

To rotate the view around the vertical axis: 1.

On the View menu, click Spin.

• • 2.

Alternatively, right-click in the view window, and then click View>Spin. Or, click the spin icon on the toolbar

Drag the mouse left or right at the speed you want to spin the view. The view spins continually in the direction and at the speed you dragged the mouse.

3.

To stop spinning the view, click in the view window.

4.

To end Spin mode, click Spin again on the View menu or press ESC.

To rotate the view around the screen center: 1.

Click the rotate icon on the toolbar

2.

Drag the mouse up and down at the speed you want to rotate the view.

3.

To end Rotate mode, click the icon again or press ESC.

10-2 Modifying the Model View

.

HFSS Online Help

Panning the View To move (pan) the view: 1.

On the View menu, click Pan

2.

Drag the mouse in the direction you want to pan the view.

.

The view will pan until you release the mouse button. 3.

To exit Pan mode, click Pan on the View menu again or press ESC. Hint

Alternatively, pan the view using one of the following methods:

• •

Hold down the SHIFT key as you drag the mouse. Right-click in the view window, and then click View>Pan on the shortcut menu.

Related Topics Zoom in or out. Fit contents in the view window.

Modifying the Model View 10-3

HFSS Online Help

Zooming In and Out You can magnify (zoom in) or shrink (zoom out) the contents in the view window using hot keys or mouse zoom mode. To zoom in using hotkeys:



Press the plus sign (+) or (=) keys or press Ctrl-E keys. The view zooms in 5 percent.

To zoom out using hotkeys:



Press the minus sign (-) key or press the Ctrl-F keys. The view zooms out 5 percent.

To zoom using the mouse. 1.

Click View>Zoom

.

2.

To zoom in, drag the mouse towards the top of the view window. The objects in view expand as you drag. To zoom out, drag the mouse towards the bottom of the view window. The objects in view decrease in size as you drag. When zooming on a view of model objects the absolute size of the model does not change. When zooming on a 2D report, axis labels and ticks will adjust automatically during the zoom operation and will rescale to their final value after the zoom operation is complete.

3.

To end Zoom mode, click View>Zoom again or press ESC. Hint

Alternatively, zoom in or out on the view using one of the following methods:

• •

Hold down the ALT+SHIFT keys as you drag the mouse. Right-click in the view window, and then click View>Zoom on the shortcut menu.

Related Topics Zooming In or Out on a Rectangular Area Fitting Objects in the View Window

Zooming In or Out on a Rectangular Area To magnify or shrink a specific rectangular area in the view window: 1.

On the View menu, click Zoom In

• 2.

or Zoom Out

.

Alternatively, right-click in the view window, and then click View>Zoom In or View>Zoom Out on the shortcut menu.

Use the mouse to draw a rectangle (or square) by selecting two diagonally opposite corners. This is the area of magnification that will be increased or decreased. The rectangular area is magnified or decreases in size.

10-4 Modifying the Model View

HFSS Online Help

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 after the zoom operation is complete. 3.

To end Zoom mode, click Zoom In or Zoom Out on the View menu again or press ESC.

Related Topics Zooming In and Out

Modifying the Model View 10-5

HFSS Online Help

View Options: 3D UI Options Use the View>Options command to open the 3D UI Options dialog. This lets you set defaults for the following view options:

• • • •

Stereo Mode (default, disabled) Drag Optimization (default, disabled) Show Ansoft Logo in Prints (default, disabled) Default Color Key Height (the maximum number of values displayed)

Where there is a selection option:



Selection always visible (default, enabled)

• • • •

Selection always visible Set transparency of selected objects Set transparency of non-selected objects.

Default screen rotation about

• • •

Screen center (default) Current axis Model center.

Related Topics Showing Objects Hiding Objects

10-6 Modifying the Model View

HFSS Online Help

Fitting Objects in the View Window What do you want to do?

• •

Fit all objects or traces in a view window. Fit selected objects in a view window.

Fitting All Objects in a View Window To fit all the views: click View>Fit All>All Views. 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. Hint

Alternatively, fit all objects in the active view window using one of the following methods:

• •

Press CTRL+D. Right-click in the view window, and then click View>Fit All on the shortcut menu.

When Fit All is used in a report view, the window is automatically rescaled to fit all traces in the window and the axis label and ticks are rescaled. Related Topics Fitting a Selection in a View Window

Fitting a Selection in a View Window 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.

2.

To fit the selection in the active view window: Click View>Fit Selection>Active View.

3.

To fit the selection in every open view window of the active design: Click View>Fit Selection>All Views. Hint

Alternatively, fit the selection in the active view window by clicking View>Fit Selection on the shortcut menu.

Related Topics Fitting All Objects in a View Window

Modifying the Model View 10-7

HFSS Online Help

Hiding Objects from View To hide selected objects. 1.

Select the object you want to hide from view.

2.

On the View menu, point to Hide Selection.

3.

On the Hide Selection menu, click one of the following commands:

• •

All Views to hide the selected object in every open view window. Active View to hide the selected object in the active view window.

You can also use the Hide icons in the toolbar to hide selected objects in all views or the active view.

Hide selected objects in all views Hide selected objects in active view Hide/Show overlaid visualization in the active view icon The objects you selected are hidden. If there are many objects, it may be easier to hide objects using the Active View Visibility dialog. Object visibility is saved with the project. Related Topics Showing Objects

10-8 Modifying the Model View

HFSS Online Help

Showing Objects To show one or more objects that are currently hidden: 1.

On the View menu or on the menu bar icon, click Active View Visibility

.

The Active View Visibility dialog box appears. 2.

Select the tab for the objects you want to show or hide. The dialog contains tabs for 3D Modeler objects, Color Key objects, Boundaries, Excitations, and Fields Reporter objects.

3.

Under the tab you need, select the Visibility option for the objects you want to show in the active view window.

• • •

For designs with large numbers of objects, you can resize the dialog for easier selection. 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. 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. To show all objects that are currently hidden: 1.

On the View menu, point to Show All.

2.

On the Show All menu, click one of the following commands:

• •

All Views to show all objects in every open view window Active Views to show all objects in the active view window.

The selected objects reappear. To show selected objects that are currently hidden: 1. 2.

Select the object. Hidden items are selected once the node corresponding to them is clicked in the history pane On the View menu, select Show Selection, and these click on of the following.

• •

All Views to show selected objects in every open view window Active Views to show selected objects in the active view window.

You can also use the toolbar icons to Show selected objects in all views and Show selected objects in active views.

Show selected object in all views Show selected object in active view Hide/Show overlaid visualization in the active view icon The selected objects reappear. Modifying the Model View 10-9

HFSS Online Help

Object visibility is saved with the project. Related Topics Hiding Objects

10-10 Modifying the Model View

HFSS Online Help

Active View Visibility Dialogue If there are many objects, it may be easier to show or hide objects using the Active View Visibility dialog 1.

On the View menu, point to Active View Visibility, or click the Hide/Show icon on the menu bar. The Active View Visibility dialog box appears.

2.

Select the tab for the objects you want to show or hide. The dialog contains tabs for 3D Modeler objects, Color Key objects, Boundaries, Excitations, and Fields Reporter objects.

• • • 3.

For designs with large numbers of objects, you can resize the dialog for easier selection. 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. You can also use the Name field to type in an object name and apply the visibility via the Show and Hide buttons.

Under the tab, clear the Visibility option for the objects you want to hide in the active view window. The objects you designate are hidden. Object visibility is saved with the project.

Related Topics Showing Objects Hiding Objects

Modifying the Model View 10-11

HFSS Online Help

Rendering Objects as Wireframes or Solids To render (display) all objects in the view window as wireframe outlines, flat-shaded solids, or smooth-shaded solids: 1.

On the View menu, point to Render.

2.

On the Render menu, click one of the following:



Wireframe. The objects in the view window are displayed as skeletal structures, enabling you to see all sides of the objects at one time. You can also use the F6 key or the shade icon



to toggle the display to wireframe.

Smooth Shaded. The objects in the view window are displayed as shaded objects with smooth edges. You can also use the F7 key or the shade icon

to toggle the display to smooth shaded.

To render a single object in the view window as a wireframe outline: 1.

Select the object you want to render as a wireframe:

2.

In the Properties dialog box, under the Attribute tab, select Display Wireframe.

Related Topics Setting the Default View Rendering Mode Setting the Surface Visualization

Setting the Default View Rendering Mode To set a default rendering mode for all objects created in the active design and in future designs: 1.

On the Tools menu, point to Options, and then click Modeler Options.

2.

Click the Display tab.

3.

Select one of the following from the Default View Render Mode pull-down list.



Wireframe. The objects in the view window will be displayed as skeletal structures, enabling you to see all sides of the objects at one time.



Smooth Shaded. The objects in the view window will be displayed as shaded objects with smooth edges.

The rendering mode will be applied to all new objects you create.

10-12 Modifying the Model View

HFSS Online Help

Setting the Surface Visualization HFSS allows you to specify the faceting for rendering true curves by using the View>Surface Visualization Settings command. There are two options for control--maximum surface deviation and maximum normal deviation. This resembles the Mesh surface approximation settings. Reduce either or both of the allowed deviations to improve the image quality. Improved image quality comes at the cost of increased CPU consumption. Changes apply to the current model until they are changed again. Any changes reset the default. The settings ignore surface deviation and use a 15 degree normal deviation. The default gives satisfactory results (i.e. cpu/memory consumption vs. graphical display) for various model complexities. When you change Visualization Settings and apply it to design, those settings are saved with design forever 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 Surface Visualization Settings for the active modeler window: 1.

Click View>Surface Visualization Settings. This command displays the Surface Viz Settings dialog for the active modeler window. The dialog contains areas for setting the Maximum Surface deviation, and the Maximum Normal deviation.

2.

Set the Surface 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 Surface 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 Modifying the Model View 10-13

HFSS Online Help

deviations 7.

Click Apply to apply the current values to the active modeler window, and Close or Cancel to close the dialog without changing settings.

Related Topics Rendering Objects as Wireframes or Solids

10-14 Modifying the Model View

HFSS Online Help

Modifying the View Orientation To change the orientation of the view (the viewing direction) in the view window: 1.

On the View menu, point to Modify Attributes and then click Orientation. A dialog box with orientation settings appears.

2.

Apply a default orientation to the view or create and apply a new orientation.

3.

Click Apply for the selected view to appear in the view window.

4.

Click Make Default if you want the selected viewing direction to be the initial viewing direction when a 3D Modeler window is opened, either in the current project or future projects.

5.

Click Close to dismiss the dialog box. The orientation you set will be saved with the design. New orientations assigned to other designs after this point will not affect this orientation.

Related Topics Applying a Default View Orientation Applying a New Orientation

Applying a Default View Orientation To apply a default viewing direction to the active view window: 1.

On the View menu, point to Modify Attributes and then click Orientation. A dialog box with orientation settings appears.

2.

Click one of the orientation names listed in the viewing directions list.

3.

To view the associated vector components for the orientation you clicked, select Input vector components under Add Orientation to List. The Vx, Vy, and Vz components will be displayed in the text boxes to the right.

4.

To view the associated input angles for the orientation you clicked, select Input angles under Add Orientation to List. The phi and theta components of the selected orientation will be listed in the text boxes to the right.

5.

Click Apply. The viewing direction will be applied to the active view window.

Applying a New View Orientation To apply a new viewing direction to the active view window: 1.

On the View menu, point to Modify Attributes and then click Orientation. A dialog box with orientation settings appears.

2.

To create a viewing direction that is based on a default viewing direction, click the existing orientation name in the viewing directions list. To create a viewing direction based on the current view in the 3D Modeler window, click Get Modifying the Model View 10-15

HFSS Online Help

Current View Direction. 3.

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.

4.

To modify the selected orientation’s input angles, select Input angles under Add Orientation to List, and then modify the values in the phi and theta text boxes.

5.

Type a name for the new orientation in the Name text box.

6.

Click Add/Edit. The new orientation is added to the list of viewing directions.

7.

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.

Removing an Orientation To remove a viewing direction from the list in the orientation settings dialog box: 1.

On the View menu, point to Modify Attributes and then click Orientation. A dialog box with orientation settings appears.

2.

Click the viewing direction you want to delete from the list of names.

3.

Click Remove. The viewing direction is removed from the list.

This operation cannot be undone.

10-16 Modifying the Model View

HFSS Online Help

Modifying the Lighting You have the option to emit the following types of light on a design:



Ambient lighting surrounds the model evenly with light. All objects are lit evenly in every direction by a color of light that you specify.



Distant lighting directs a ray of light at the model in a direction you specify. By default, two distant light vectors are in effect for every new view window.

To modify the lighting: 1.

On the View menu, point to Modify Attributes and then click Lighting. The Lighting Properties dialog box appears.

2.

Select Do Not Use Lighting to turn off ambient and distant lighting. Clear this option to activate ambient and distant lighting.

3. 4.

5.

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. To modify the distant light on a model, do one of the following: a.

Add a new distant light by clicking Add.

b.

Copy an existing distant light that you intend to modify by first selecting it in the Distant Light Vectors table, and then clicking Clone.

c.

Select a default distant light to modify by selecting it in the Distant Light Vectors table.

For the selected distant light vector, specify the vector direction: a.

To modify the direction by specifying Cartesian coordinates, do one of the following:

• • b.

Enter the new Cartesian coordinates in the X, Y, and Z boxes. Use the Vx, Vy, and Vz sliders to specify the Cartesian coordinates dynamically.

To modify the direction by specifying the spherical coordinates, do one of the following:

• •

Enter the new spherical coordinates in the φ and θ boxes. Use the φ and θ sliders to specify the spherical coordinates dynamically.

6.

Click Reset to revert to the default ambient and distant light settings.

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 Close 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.

Modifying the Model View 10-17

HFSS Online Help

Setting the Projection View To modify the projection of model objects (the camera angle) in the view window: 1.

On the View menu, point to Modify Attributes and then click Projection. The Select Projection Type window appears:

2.

Select Perspective to change the angle of the view.



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. 3.

Select Orthographic to view the model without distortion. The slider is disabled because a distortion scale is no longer applicable.

4. 5.

Click Reset to return the model to its original view. Click Close to accept the projection setting and dismiss the window. The Select Projection Type window closes. The last view you specified in the projection window remains visible in the view window.

The projection view you set will be saved with the design. New projection views assigned to other designs after this point will not affect this projection setting.

10-18 Modifying the Model View

HFSS Online Help

Setting the Background Color To set the color of the background in the view window: 1.

On the View menu, point to Modify Attributes and then click Background color. The Select Background Color window appears.

2.

To assign a solid background color, do the following: a. b.

Select Plain Background. Modify the background color in one of the following ways:

• • 3.

Click the Background Color button and then select a color from the Color palette. Use the RGB sliders under Change View Color Dynamically to specify the color’s red, green, and blue values.

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:



Under Select Background Type, click the Top Color button and select a color from the Color palette. Then click the Bottom Color button and select a color from the Color palette.



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 project.

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.

Modifying the Model View 10-19

HFSS Online Help

Modifying the Coordinate System Axes View The coordinate system axes displays the x, y, z orientation from the origin point for the current working coordinate system. What do you want to do?

• • • •

Show or hide the coordinate system axes. Show the coordinate system axes for selected objects. Enlarge or shrink the size of the coordinate system axes. Show or hide the triad axes.

Showing or Hiding the Axes 1. 2.

On the View menu, point to Coordinate System. On the Coordinate System menu, click one of the following:

• •

Hide to hide the x-, y-, and z-axes in the active view window. Show to display the x-, y-, and z-axes in the active view window.

Show the Axes for Selected Objects 1.

On the Tools menu, point to Options, and then click Modeler Options >Display.

2.

Select Show orientation of selected objects.

Enlarging or Shrinking the Axes 1.

On the View menu, point to Coordinate System.

2.

On the Coordinate System menu, click one of the following:



Large to display the x-, y-, and z-axes as extending to the edges of the active view window.



Small to display the x-, y-, and z-axes in a smaller size in relative to the edges of the active view window.

Showing or Hiding the Triad Axes The triad 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. It can be shown or hidden separately from the selected coordinate system. To show the triad: 1. 2.

On the View menu, point to Coordinate System>Triad. On the Coordinate System>Triad menu, click one of the following:

• • •

Hide to hide the triad x-, y-, and z-axes at the lower right of the active view window. Show to display the triad x-, y-, and z-axes in the lower right active view window. Auto to generally hide the triad axes.

10-20 Modifying the Model View

HFSS Online Help

Choosing Grid Settings The grid displayed in the 3D Modeler window is a drawing aid that helps to visualize the location of objects. The points on the grid are divided by their local x-, y-, and z-coordinates for Cartesian grids, or by their local radius and angle coordinates for polar grids. Grid spacing is set according to the current project’s drawing units. You can control the following aspects of the grid:

• • • • • • •

Type (rectangular or circular) Style (dots or lines) Density Spacing Visibility Snap settings Grid plane

Setting the Grid Type 1.

On the View menu, click Grid Settings. The Grid Settings window appears.

2.

Select a grid type for the active view window: Cartesian for a rectangular grid or Polar for a circular grid. The grid in the active view window is centered at the origin of the working coordinate system.

For Cartesian grids, you will 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 will 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.

Setting the Grid Style 1.

On the View menu, click Grid Settings. The Grid Settings window appears.

2.

Select one of the following grid styles for the active view window: Dot

Displays each grid point as a dot.

Line

Displays lines between grid points.

Setting the Grid Density and Spacing 1.

On the View menu, click Grid Settings. The Grid Settings window appears. Modifying the Model View 10-21

HFSS Online Help

2.

If you want to change the density of the grid in the active view window as you zoom in or out on objects, do the following: a.

Select Auto adjust density to.

b.

Specify a distance between grid points by typing a value in the pixels box. The default is set to 30 pixels, which is generally the best setting for displaying objects.

3.

If you do not want the grid density to change when you zoom in or out, but instead want to specify a constant grid spacing, do the following: a.

Clear the Auto adjust density to option.

b.

Specify the grid’s spacing in the active design’s units. If you selected a Cartesian grid type, type the values of dX, dY, and dZ. These values represent the difference between one grid point and the next in the x, y, and z directions, respectively. If you selected a polar grid type, type the values for dR and dTheta. dR represents the difference between each radius. dTheta is the difference between angles.

The distance between grid points will increase and decrease proportionately as you zoom in and out in the active view window.

Setting the Grid’s Visibility • To hide the grid, click the Grid toolbar icon:

. Click it again to show the grid.

Alternatively: 1.

On the View menu, click Grid Settings. The Grid Settings window appears.

2.

Select Grid Visible to make the grid visible in the active 3D Modeler window. Clear the selection to make the grid invisible.

Related Topics Setting the Grid Plane

Setting the Grid Plane To specify the plane on which you want to display the grid in the active view window, do one of the following:

• •

On the Modeler menu, point to Grid Plane, and then select a grid plane: XY, YZ, or XZ. Click a grid plane on the pull-down list on the 3D Modeler Draw toolbar:

10-22 Modifying the Model View

11 Defining Mesh Operations

In HFSS, mesh operations are optional mesh refinement settings that provide HFSS with mesh construction guidance. This technique of guiding HFSS’s mesh construction is referred to as "seeding" the mesh. Seeding is performed using the Mesh Operations commands on the HFSS menu. You can instruct HFSS to refine the length of tetrahedral elements on a surface or within a volume until they are below a certain value (length-based mesh refinement) or you can instruct HFSS to refine the surface triangle length of all tetrahedral elements on a surface or volume to within a specified value (skin depth-based mesh refinement). These types of mesh operations are performed on the current mesh, that is, the most recently generated mesh. In a few circumstances, you may also want to create a mesh operation that modifies HFSS’s surface approximation settings for one or more faces. Surface approximation settings are only applied to the initial mesh, that is, the mesh that is generated the first time a design variation is solved. See the technical notes for more details about HFSS’s application of mesh operations. What do you want to do?

• • • • •

Perform length-based mesh refinement on object faces. Perform length-based mesh refinement inside objects. Perform skin depth-based mesh refinement on object faces. Modify surface approximation settings for one or more faces. Specify automatic or specified model resolution for a selection.

Related Topics Plotting the Mesh Technical Notes: The Mesh Generation Process Technical Notes: Seeding the Mesh Technical Notes: Guidelines for Seeding the Mesh Technical Notes: Surface Approximation Settings Defining Mesh Operations 11-1

HFSS Online Help

Assigning Length-Based Mesh Refinement on Object Faces 1.

Select the faces you want HFSS to refine. Alternatively, select an object if you want HFSS to refine every face on the object.

2.

Click HFSS>Mesh Operations>Assign>On Selection>Length-Based. The Element Length-Based Refinement dialog box appears.

3. 4.

Type a name for the mesh operation in the Name text box or accept the default name. To restrict the length of tetrahedra edges touching the faces: a.

Select Restrict Length of Elements.

b.

Type the maximum length of the tetrahedral edges touching the faces in the Maximum Length of Elements text box. HFSS will refine the element edges touching the selected faces until their lengths are equal to or less than this value. The default value is set to 20% of the maximum edge lengths of the bounding boxes of each selected face. A maximum length of

5.

2λ ---------is recommended for radiation boundary surfaces. 10

To restrict the number of elements added during refinement of the faces: a.

Select Restrict the Number of Elements.

b.

Enter the Maximum Number of Elements to be added.

c.

Click OK.

When the mesh is generated, the refinement criteria you specified is used. When the maximum number of elements is reached, some elements may exceed the requested maximum element length. Related Topics Plotting the Mesh Technical Notes: Length-Based Mesh Refinement Technical Notes: Seeding the Mesh Technical Notes: Guidelines for Seeding the Mesh Assigning Length-Based Mesh Refinement Inside Objects Applying Mesh Operations without Solving Technical Notes: The Mesh Generation Process

11-2 Defining Mesh Operations

HFSS Online Help

Assigning Length-Based Mesh Refinement Inside Objects To instruct HFSS to refine every face of an object and its interior: 1.

Select the object you want HFSS to refine.

2.

Click HFSS>Mesh Operations>Assign>Inside Selection>Length-Based. The Element Length-Based Refinement dialog box appears.

3. 4.

Type a name for the mesh operation in the Name text box or accept the default name. To restrict the length of the tetrahedral element edges inside the object: a.

Select Restrict Length of Elements.

b.

Type the maximum length of the edges inside the object in the Maximum Length of Elements text box. The default value is set to 20% of the maximum edge lengths of the bounding boxes of each selected object’s faces. HFSS will refine the element edges inside the object until they are equal to or less than this value.

5.

To restrict the number of elements added during the refinement inside the object: a.

Select Restrict the Number of Elements.

b.

Enter the Maximum Number of Elements to be added.

c.

Click OK.

When the mesh is generated, the refinement criteria you specified will be used. When the maximum number of elements are reached, it may result in some elements exceeding the requested maximum element length. Related Topics Plotting the Mesh Technical Notes: Length-Based Mesh Refinement Technical Notes: Seeding the Mesh Technical Notes: Guidelines for Seeding the Mesh Assigning Length-Based Mesh Refinement on Object Faces Applying Mesh Operations without Solving Technical Notes: The Mesh Generation Process

Defining Mesh Operations 11-3

HFSS Online Help

Assigning Skin Depth-Based Mesh Refinement on Object Faces 1.

Select the faces you want to be refined. Alternatively, select an object if you want HFSS to refine every face on the object.

2.

Click HFSS>Mesh Operations>Assign>On Selection>Skin-Depth-Based. The Skin Depth-Based Refinement dialog box appears.

3. 4.

Type a name for the mesh operation in the Name text box or accept the default name. Type the skin depth within which to refine the mesh in the Skin Depth text box. Alternatively, calculate the skin depth based on the object’s material permeability and conductivity and the frequency at which the mesh will be refined: a.

Click Calculate Skin Depth. The Calculate Skin Depth dialog box appears.

b.

Enter the material’s Relative Permeability and Conductivity.

c.

Specify the Frequency at which to refine the mesh.

d.

Click OK. HFSS calculates the skin depth and enters its value in the Skin Depth text box.

5.

In the Number of Layers of Elements text box, type the number of layers to add perpendicular to the object’s surface. HFSS 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.

6.

Type the maximum edge length of the surface mesh in the Surface Triangle Length text box. The default value is set to 20% of the maximum edge lengths of the bounding boxes of each selected face. HFSS will refine the surface triangle mesh (the faces of the tetrahedra touching the surface) until their edge lengths are equal to or greater than the specified value.

7.

To restrict the number of elements added during refinement on the faces: a.

Select Restrict the Number of Surface Elements.

b.

Enter the Maximum Number of Surface Elements to be added.

c.

Click OK.

When the mesh is generated, the refinement criteria you specified will be used. Related Topics Plotting the Mesh Technical Notes: Skin Depth-Based Mesh Refinement Technical Notes: Seeding the Mesh Technical Notes: Guidelines for Seeding the Mesh Applying Mesh Operations without Solving 11-4 Defining Mesh Operations

HFSS Online Help

Technical Notes: The Mesh Generation Process

Defining Mesh Operations 11-5

HFSS Online Help

Modifying Surface Approximation Settings HFSS applies surface approximation settings when it generates the initial mesh. If you modify HFSS’s default settings after the initial mesh has been generated, they will not affect the mesh for that design variation. 1.

Select the faces for which you want to modify the surface approximation settings.

• 2.

Alternatively, select an object if you want to modify the surface approximation settings of every face on the object.

Click HFSS>Mesh Operations>Assign>Surface Approximation. The Surface Approximation dialog box appears.

3.

Type a name for the group of settings in the Name text box or accept the default name.

4.

Under Surface Deviation, do one of the following:

• • 5.

6.

7.

Select Ignore if you do not want to use surface deviation settings for the selected faces. Select Set maximum surface deviation (length), and then type the distance between the true surfaces of the selected faces and the meshed faces in the text box.

Under Normal Deviation, do one of the following:



Select Ignore if you do not want to use HFSS’s default normal deviation settings for the selected faces.



Select Use defaults if you want to use HFSS’s default normal deviation setting for the selected faces, which is 22.5 degrees.



Select Set maximum normal deviation (angle), and then type the angular distance between the normal of the true surface and the corresponding mesh surface in the text box.

Under Aspect Ratio, do one of the following:



Select Ignore if you do not want to use HFSS’s default aspect ratio settings for the selected faces.



Select Use defaults if you want to use HFSS’s default aspect ratio settings for the selected faces, which are 10 for curved surfaces and 200 for planar surfaces.



Select Set aspect ratio, and then type a value in the text box. This value determines the shape of the triangles. The higher the value, the thinner the triangles. Values close to 1 will result in well-formed, wide triangles.

Click OK. The settings will be applied to the initial mesh generated on the selected surface. The group of settings is listed in the project tree under Mesh Operations.

Related Topics Plotting the Mesh Technical Notes: Surface Approximation Settings Technical Notes: Guidelines for Modifying Surface Approximation Settings Technical Notes: The Mesh Generation Process 11-6 Defining Mesh Operations

HFSS Online Help

Specifying the Model Resolution 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. 1.

Select the object or objects on which to specify a Model Resolution operation.

2.

Click on HFSS>Mesh Operations>Assign>Model Resolution. This displays the Model Resolution Mesh Operation dialog. Alternatively, you can display the same dialog if you: a.

Right-click on either Mesh Operations 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 contains text fields for the mesh operation Name and radio buttons with choices for the following



Auto Simplify Using Effective Thickness 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:

• • • •

To remove many details while retaining an object’s overall shape and size. For objects of generally uniform thickness. To assign one mesh operation to many objects.

Use Model Resolution length This enables fields for you to specify the resolution value and units. Use this selection for:

• •

3.

Tighter control of mesh accuracy. Objects of non-uniform thickness. For example, the thin section of the object shown below might be lost with Auto Simplify.

After defining the operation, click OK. This adds the named Model Resolution operation under the Mesh Operations icon in the Project Tree. Defining Mesh Operations 11-7

HFSS Online Help

Note

Setting Model Resolution will invalidate any existing solutions. When two objects in contact have different model resolution lengths, the smaller length will apply for the common regions.

Related Topics Plotting the Mesh Setting the Healing Options Technical Notes: Model Resolution

11-8 Defining Mesh Operations

HFSS Online Help

Reverting to the Initial Mesh The initial mesh is the mesh that is generated the first time a design variation is solved. It includes surface approximation settings, but does not include lambda refinement or defined mesh operations. 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.



On the HFSS menu, point to Analysis Setup, and then click 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. Related Topics Plotting the Mesh Technical Notes: The Mesh Generation Process

Defining Mesh Operations 11-9

HFSS Online Help

Applying Mesh Operations without Solving If you want to refine the mesh on a face or volume, but do not want to generate a solution, do the following after defining mesh operations:



On the HFSS menu, point to Analysis Setup, and then click Apply Mesh Operations, right click on the Analysis or Setup icon in the Project window to display the shortcut menu and click Apply Mesh Operations. The same solve machine rules that apply to solving any other setup also apply here. The mesh operation will be sent to the default solve machine, or the HFSS Server Setup dialog may appear to allow you to interactively specify a solve machine if "Prompt for analysis machine when launching analysis" is selected under Tools>Options>General Options>Analysis Options tab. If a current mesh has been generated, HFSS will refine it using the defined mesh operations. If a current mesh has not been generated, HFSS will apply the mesh operations to the initial mesh. If an initial mesh has not been generated, HFSS will generate it and apply the mesh operations to the initial mesh. If the defined mesh operations have been applied to the selected face or object, the current mesh will not be altered. Hint

Define a new mesh operation rather than modify an existing mesh operation. HFSS 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. You can apply mesh operations even if no operations have been defined. Related Topics Technical Notes: The Mesh Generation Process Plotting the Mesh Specifying the Analysis Options General Options: Analysis Options Tab Remote Analysis

11-10 Defining Mesh Operations

12 Specifying Solution Settings

Specify how HFSS will compute a solution by adding a solution setup to the design. You can define more than one solution setup per design. Each solution setup includes the following information:

• •

General data about the solution’s generation.



Frequency sweep parameters, if you want to solve over a range of frequencies.

Adaptive mesh refinement parameters, if you want the mesh to be refined iteratively in areas of highest error.

To add a new solution setup to a design: 1. 2.

Select a design in the project tree. On the HFSS menu, point to Analysis Setup, and then click Add Solution Setup

.



Alternatively, right click Analysis in the project tree, and then click Add Solution Setup on the shortcut menu.

• •

If you have an existing setup, you can Copy and Paste it, and then edit parameters. If you have already created a solution and you want to use an existing mesh, you can click Add Dependent Solve Setup.

The Solution Setup dialog box appears. It is divided among the following tabs: General

Includes general solution settings.

Options

Includes settings for lambda refinement, adaptive analysis and solution options, and the Max. Order of Basis.

Advanced

Includes settings for mesh linking, output variable convergence, absorbing boundaries on ports, and waveport adapt options.

Defaults

Enables you to save the current settings as the defaults for future solution setups or revert the current settings to HFSS’s standard settings. Specifying Solution Settings 12-1

HFSS Online Help

3.

Click the General tab.

4.

Enter a Setup Name or accept the default.

5.

For Driven solution types, do the following: a.

Enter the Solution Frequency and select the frequency units from the pull down list.

b.

Optionally, select Solve Ports Only.

For Eigenmode solution types, do the following:

6.

a.

Enter the Minimum Frequency in the frequency units.

b.

Enter the Number of Modes. The number must be greater than 0 and less than 20.

If you are performing an adaptive analysis, enter 2 or more passes in the Maximum Number of Passes box, and then specify the remaining adaptive analysis parameters. For Eigenmode solutions, if you are not performing an adaptive analysis, entering 0 will enable you to bypass the adaptive analysis process and just perform a frequency sweep. For driven problems HFSS always requiring at least one adaptive pass. Entering 1 will also bypass adaptive analysis, generating a solution only at the solution frequency you specified.

7.

Click OK.

8.

Optionally, add a frequency sweep to the solution setup.

The Enabled checkbox on General tab permits to you to disable a setup so that it does not run when you select Analyze All. Related Topics Add Dependent Solve Setup Setting Adaptive Analysis Parameters Technical Notes: The HFSS Solution Process Copying a Solution Setup Renaming a Solution Setup

Add Dependent Solve Setup For driven setups (not Eigenmode), to apply all settings from an existing setup to a child setup: 1.

Select an existing setup in the project tree.

2.

Right click on the setup in the project tree, and then click Add Dependent Solve Setup on the shortcut menu. A dependent setup icon appears, which has an altered graphic to distinguish it from the parent setup icon. The child setup name is "parent_setup name_1." All of the settings from the parent setup are copied to the child setup. The dependent setup uses the mesh from the parent setup. This is shown under the Advanced tab of the Solution Setup dialog, Specifying a Source for the initial mesh. You can add a dependent setup to another dependent setup, and form of the name shows the hierarchical dependence by appending "_1" to show further dependence.

If you intend to change any of the settings, you do this just as you would for a new setup.

12-2 Specifying Solution Settings

HFSS Online Help

The Enabled checkbox on General tab permits to you to disable a setup so that it does not run when you select Analyze All. Related Topics Specifying Solution Settings

Specifying Solution Settings 12-3

HFSS Online Help

Renaming a Solution Setup Do the following to rename a solution setup: 1.

In the project tree, under Analysis, right-click the setup you want to rename. A shortcut menu appears.

2.

Select Rename from the shortcut menu. The setup name text is highlighted in the project tree.

3.

Type the new name for the setup, and press Enter.

You can also rename the solution setup by changing the text in the Name text box of the appropriate Solve Setup dialog box. Related Topics: Copying a Solution Setup

12-4 Specifying Solution Settings

HFSS Online Help

Copying a Solution Setup Solution setups may be copied and pasted within a design or across designs of the same type. This is beneficial for setups having a large number of parameters to specify, or where minor changes to a setup are being evaluated. Do the following to copy a solution setup: 1.

In the project tree, under Analysis, right-click the setup you want to copy. A shortcut menu appears.

2.

Select Copy from the shortcut menu. The setup parameters are copied to the clipboard.

3.

In the project tree, right-click on the Analysis folder to receive the copied setup. A shortcut menu appears.

4.

Select Paste from the shortcut menu. The setup parameters are copied to the Analysis folder as a new setup.

Related Topics: Renaming a Solution Setup

Specifying Solution Settings 12-5

HFSS Online Help

Setting the Solution Frequency For Driven solution types. For every Driven solution setup, specify the frequency and units at which to generate the solution. If you want to solve over a range of frequencies, define a frequency sweep. If a frequency sweep is solved, an adaptive analysis is performed only at the solution frequency.



Under the General tab of the Solution Setup dialog box, enter a value for Solution Frequency and select the frequency units from the pull down list. Note

For Fast sweeps, HFSS uses the solution frequency as the center frequency if it is within the frequency range (greater than the start frequency and less than the stop frequency.) Otherwise the middle of the frequency range is used as the center frequency.

12-6 Specifying Solution Settings

HFSS Online Help

Solving for Ports Only For Driven solution types with ports. To quickly compute only the 2D excitation field patterns, impedances, and propagation constants at each port:



Under the General tab of the Solution Setup dialog box, select Solve Ports Only. This disables the remaining settings for Maximum number of passes and Convergence per pass.

HFSS calculates the natural field patterns (or modes) that can exist inside a transmission structure with the same cross-section as the port. These 2D field patterns serve as boundary conditions for the full 3D problem. Related Topics Technical Notes: Port Solutions

Specifying Solution Settings 12-7

HFSS Online Help

Setting the Minimum Frequency For Eigenmode solution types. For every Eigenmode solution setup, specify the minimum frequency at which to search for eigenmodes. HFSS searches for the user-specified number of modes with a higher resonant frequency than the Minimum Frequency value.



Under the General tab of the Solution Setup dialog box, type a Minimum Frequency and the frequency units.



You can set the Minimum frequency as a variable by typing a name in the field and pressing Enter. This displays the Add Variable dialog for you to enter the value and units. Click OK to close the dialog. The variable is listed in the Setup and in the Design Properties. Warning

Because the minimum frequency is used to normalize some matrices, if the frequency is set too low, HFSS tries to solve a nearly-singular matrix, which may erode the accuracy of the calculations. As a general rule, do not enter a frequency less than 0.01 times the suggested, or default, value for Minimum Frequency.

12-8 Specifying Solution Settings

HFSS Online Help

Setting the Number of Modes For Eigenmode solution types. For every Eigenmode solution setup, specify the number of eigenmode solutions that the solver finds. If you enter 5, the solver calculates the first 5 eigenmode solutions above the minimum frequency. The Eigenmode solver can find up to 20 eigenmode solutions.



Under the General tab of the Solution Setup dialog box, enter a value for Number of Modes.

Specifying Solution Settings 12-9

HFSS Online Help

Setting Adaptive Analysis Parameters When you set up an adaptive analysis, define the following parameters under the General tab of the Solution Setup dialog box:

• •

Maximum Number of Passes



Maximum Delta Energy for convergence per pass (for designs with voltage sources, current sources, incident waves, or magnetic bias).



For Eigenmode solutions, specify Maximum Delta Frequency Per Pass and, if desired, Converge on Real Frequency Only.

Maximum Delta S (for designs with ports) or Use Matrix convergence (here you can set a matrix values for convergence, including maximum delta for Mag S and Phase S).

Under the Options tab of the Solution Setup dialog box, you can edit the following settings:

• • • • • • •

Lambda Refinement Maximum Refinement Per Pass Maximum Refinement Minimum Number of Passes Minimum Number of Converged Passes Max Order of Basis functions Enable Iterative Solver and associated Relative Residual Setting

Under the Advanced tab of the Solution Setup, depending on the solution type, you can edit the following settings.

• •

Initial Mesh Options for mesh linking



Port options (Maximum Delta Zo, whether to Use Radiation Boundary on Ports and Min/Max Port Triangle settings)

Adapt Options: whether to use Output Variable Convergence (output variables must be defined for this to be enabled.)

Setting the Maximum Number of Passes The Maximum Number of Passes value is the maximum number of mesh refinement cycles that you would like HFSS to perform. This value is a stopping criterion for the adaptive solution; if the maximum number of passes has been completed, the adaptive analysis stops. If the maximum number of passes has not been completed, the adaptive analysis will continue unless the convergence criteria are reached. To set the maximum number of passes for an adaptive analysis:



Under the General tab of the Solution Setup dialog box, enter a value for Maximum Number of Passes. For Eigenmode solutions, if you are not performing an adaptive analysis, entering 0 will enable you to bypass the adaptive analysis process and just perform a frequency sweep. For driven problems HFSS always requiring at least one adaptive pass. Entering 1 will also bypass adaptive

12-10 Specifying Solution Settings

HFSS Online Help

analysis, generating a solution only at the solution frequency you specified. Note

The size of the finite element mesh — and the amount of memory required to generate a solution — increases with each adaptive refinement of the mesh. Setting the maximum number of passes too high can result in HFSS requesting more memory than is available or taking excessive time to compute solutions.

Setting the Maximum Delta S Per Pass For designs with ports. The delta S is the magnitude of the change of the S-parameters between two consecutive passes. The value you set for Maximum Delta S is a stopping criterion for the adaptive solution. If the magnitude of the change of all S-parameters are less than this value from one iteration to the next, the adaptive analysis stops. Otherwise, it continues until the requested number of passes is completed. To set the maximum delta S per adaptive pass:



Under the General tab of the Solution Setup dialog box, enter a value for Maximum Delta S.

Delta S data is available only after HFSS completes two iterations of the adaptive analysis process. Note

Delta S is computed on the appropriate S-parameters - modal or terminal - after the Sparameters have been de-embedded and renormalized.

Related Topics Viewing the Maximum Magnitude of Delta S Between Passes Technical Notes: Maximum Delta S

Setting the Maximum Delta Energy Per Pass For designs with voltage sources, current sources, incident waves or magnetic bias. Not applicable to designs with ports. The delta Energy is the difference in the relative energy error from one adaptive solution to the next. The value you set for Maximum Delta Energy is a stopping criterion for the adaptive solution. If the delta Energy falls below this value, the adaptive analysis stops. Otherwise, it continues until the convergence criteria are reached. To set the maximum delta Energy per adaptive pass:



Under the General tab of the Solution Setup dialog box, enter a value for Maximum Delta Energy.

Delta Energy data is available only after HFSS completes two iterations of the adaptive analysis process. Related Topics Viewing the Delta Magnitude Energy Technical Notes: Maximum Delta Energy Specifying Solution Settings 12-11

HFSS Online Help

Setting the Maximum Delta Frequency Per Pass For Eigenmode solution types The delta Frequency is the percentage difference between calculated eigenmode frequencies from one adaptive pass to the next. The value you set for Maximum Delta Frequency Per Pass is a stopping criterion for the adaptive solution. If the eigenmode frequencies change by a percentage amount less than this value from one pass to the next, the adaptive analysis stops. Otherwise, it continues until the maximum number of passes is completed. To set the Maximum Delta Frequency Per Pass:



Under the General tab of the Solution Setup dialog, enter a value for Maximum Delta Frequency Per Pass. Delta Frequency data is available only after HFSS completes two iterations of the adaptive analysis.

Related Topics Specifying Convergence on Real Frequency Only

Specifying Convergence on Real Frequency Only For Eigenmode solution types. Selecting Converge on Real Frequency Only causes the percent difference calculation among a set of frequencies to be based only on the real parts of the frequencies; the imaginary parts of the frequencies are ignored.



Under the General tab of the Solution Setup dialog box, select Converge on Real Frequency Only.

Specifying Output Variable Convergence You can specify additional convergence criteria through the use of output variables. The Max Delta or the Max Percent Delta defined for output variable convergence represents the difference in values of the output variable between consecutive adaptive passes. If the difference in the value of the output variable between consecutive passes is less than the Max Delta or the Max Percent Delta value this part of the convergence criteria is satisfied. For driven solutions, if the Maximum Delta S, Maximum Delta E, or alternate matrix convergence criteria are achieved in addition to any specified output variable convergence criteria, the adaptive analysis stops. Otherwise, the solution continues until the requested number of passes is completed. For eigenmode solutions, if the Maximum Delta Frequency Per Pass criteria is achieved in addition to any specified output variable convergence criteria, the adaptive analysis stops. Otherwise, the solution continues until the requested number of passes is completed. To set the Output Variable Convergence criteria: 1.

Ensure that the desired output variable to use for convergence exists. See Specifying Output Variables.

2.

Under the Advanced tab of the Solution Setup dialog box, select the Also Use Output Vari-

12-12 Specifying Solution Settings

HFSS Online Help

able Convergence checkbox. If no output variables have been defined in the design then this option is disabled. 3.

Select the desired output variable from the drop down list and specify the Max Delta (an absolute change in value between passes) or the Max Percent Delta (a percentage change in value between passes) criteria. The Setup Context button is enabled if the output variable represents a field quantity that requires a specific geometric context on which to calculate its value. For example, to converge on a far field quantity such as antenna Gain, you must select a radiation setup and the corresponding theta/phi point at which to calculate the gain value. a.

For output variables that require a geometric context, select the Setup Context button. This displays the Output Variable Context dialog.



Geometry Selection - a drop down list of appropriate geometry domains corresponding to the output variable quantity.

The Evaluation Context fields are enabled as required for the variable. These can be

• •

Phi and Theta - values for spherical geometries.



Linear Distance - a drop down list of distance along the geometries.

IWave Phi and IWave Theta values - intrinsic variables necessary for designs which include incident wave excitations.

b.

Select a geometry and associated Evaluation Context values.

c.

Click OK to close the Setup Context dialog.

Related Topics Viewing Convergence Data Viewing the Output Variable Convergence

Specifying a Source for the Initial Mesh You may choose to specify a source for the initial mesh from either the current design or another design. The source mesh should represent a geometrically equivalent model. To specify a source for the initial mesh: 1.

Under the Advanced tab of the Solution Setup dialog box, click the checkbox for Use Current Mesh From. This enables the Other Design option and the Current Design option, provided another solution setup exists in the current design. Note that the Lamda refinement option is deselected under the Options tab to avoid over-refinement of the linked mesh



If you click Current Design, you can select from available solution setups via the drop down menu.



If you click Other Design, the Setup Link button becomes active. Click Setup Link to display the Setup Link dialog box. Under the General tab, the Setup Link dialog box contains fields for the Project File, Design, and Solution. Specifying Solution Settings 12-13

HFSS Online Help

a.

To specify a Project File click the ellipsis [...] button to open a file browser window. When you select a Project File, the Design field and the Solution field are filled in with default values, and the drop down menus contain any available Projects and solutions. The "Default" solution is the product dependent solution of the first Setup. That is the setup listed first in the source design's project tree (alphanumerical order). A product specific solution of this setup becomes the default solution. In most products, it is LastAdaptive. In a Transient solution type, it is "Transient." The Parameters tab lets you view any variables contained in the Project you select.

2.

b.

Use the radio button to specify whether to save the source path relative to The project directory of the source project or This project.

c.

Use the checkbox specify whether to Force source design to solve in the absence of linked data in the target design.

d.

Use the checkbox to specify whether to preserve the source design solution. Note that in the extractor mode, the source project will be saved upon exit. Extractor mode means that the software is opened during the link solely for the purpose of solving.

e.

Click the OK button to accept the project file for the setup.

Continue with other settings or click OK to accept the setup and close the Setup dialog box.

Related Topics Clear Linked Data Setting Lambda Refinement

Clearing Linked Data Linked data can be mesh, field or some other post-processing data that the source design generated. The target design for the link caches these data internally to minimize the need to activate the source design. If you have previously setup links to a design, the HFSS>Analysis Setup menu contains an option to Clear Linked Data. This removes the linked data for all links in a design, therefore invalidating the solutions. You can also clear linked data through HFSS>Results>Clean Up Solutions, which displays a dialog that includes options that let you selectively delete linked data only, or as part of other deletions. Clearing linked data for some link types requires HFSS to revert to the initial mesh. Thus in some cases, this command removes the current mesh of the target design. Related Topics Deleting Solution Data

Setting Lambda Refinement Lambda refinement is the process of refining the initial mesh based on the material-dependent wavelength. It is recommended and selected by default. If you select the Use Current Mesh From option under the Advanced tab, Do Lamda Refinement is deselected. If you make the Specify 12-14 Specifying Solution Settings

HFSS Online Help

Use Current Mesh From selection as the Current design, the Do Lamda Refinement fields are disabled. If you make the Specify Use Current Mesh From selection as Other design and Setup the Link, the Do Lamda Refinement fields remain enabled so that you can select it if desired. To specify the size of wavelength by which HFSS will refine the mesh: 1.

Under the Options tab of the Solution Setup dialog box, select Do Lambda Refinement. This enables the Target field and the Use free space lambda check box.

2.

Enter a value for the wavelength in the Target field or accept the defaults. The Target defaults depend on the Order of Basis function selections. For example, for Driven solutions and a First Order basis function, the default target is 0.3333, which means that HFSS will refine the mesh until most element lengths are approximately one-third wavelength. For eigenmode solutions and a First Order basis function, the default target is 0.2 If you change the Order of Basis functions in the Solution Setup dialog, the default changes automatically. Setting the Order of Basis affects the default value of the Lambda Refinement in the Solution setups as follows.

3.

Zero order:

driven 0.1,

eigenmode 0.1

First order:

driven 0.3333,

eigenmode 0.2 (as is)

Second order:

driven 0.6667,

eigenmode 0.4

If you want the initial mesh to be refined based on the wavelength in free space, select Use free space lambda. Material-dependent lambda refinement will be deactivated.

Note

Changing the Lambda refinement target invalidates any solutions that were performed with the previous lambda refinement.

Related Topics Setting the Max Order of Solution Basis Specifying a Source for the Initial Mesh

Setting the Percent Maximum Refinement Per Pass The value you set for percent Maximum Refinement Per Pass determines how many tetrahedra are added at each iteration of the adaptive refinement process. The tetrahedra with the highest error will be refined. The default value is 30%. To set the percent refinement per adaptive pass:



Under the Options tab of the Solution Setup dialog box, enter a value for percent Maximum Refinement Per Pass.

Related Topics Technical Notes: Percent of Tetrahedra Refined Per Pass

Specifying Solution Settings 12-15

HFSS Online Help

Setting the Maximum Refinement This specifies the maximum number of tetrahedra that can be added during an adaptive pass. The default is set at 100000. To set a new value for the Maximum Refinement: 1.

Under the Options tab of the Solution Setup dialog box, click the Maximum Refinement checkbox to enable the text field.

2.

Enter the number of tetrahedra for Maximum Refinement. You can also control these values in the docked properties window for the setup. Click the checkbox for Use Max Refinement, to apply the value in the Max Refinement text field.

Setting the Minimum Number of Passes An adaptive analysis will not stop unless the minimum number of passes you specify has been completed, even if convergence criteria have been met.



Under the Options tab of the Solution Setup dialog box, enter a value for Minimum Number of Passes.

Note

For a solve setup with zero passes, no sweeps, and that is not ports only, validation produces a warning message.

Setting the Minimum Number of Converged Passes An adaptive analysis will not stop unless the minimum number of converged passes you specify has been completed.



Under the Options tab of the Solution Setup dialog box, enter a value for Minimum Converged Passes. The convergence criteria must be met for at least this number of passes before the adaptive analysis will stop.

Setting Matrix Convergence Criteria For designs with ports. You can specify different stopping criteria for specific entries in the S-matrix. This is done in the Matrix Convergence dialog box. The adaptive analysis will continue until the magnitude and phase of the entries change by an amount less than the specified criteria from one pass to the next, or until the number of requested passes is completed. To set the matrix convergence: 1.

Under the General tab of the Solution Setup dialog box, select Use Matrix Convergence.

2.

Click Set Magnitude and Phase. The Matrix Convergence dialog box appears.

12-16 Specifying Solution Settings

HFSS Online Help

3.

Select one of the following from the Entry Selections pull-down list: All

Sets all of the matrix entries at once. (The default).

Diagonal/OffDiagonal

Sets all of the diagonal matrix entries at once, all off-diagonal matrix entries at once, or both diagonal and off diagonal entries at once.

Selected Entries

Sets individual matrix entries that you will select.

For the selection All, enter the convergence criteria for the Maximum Delta (Mag S) and the Maximum Delta (Phase S) in the fields to the right. For the selection Diagonal/Off-Diagonal, first check Diagonal Entries, Off-Diagonal Entries, or both, to enable the convergence criteria field or fields. Then enter the convergence criteria for the Maximum Delta (Mag S) and the Maximum Delta (Phase S) in the fields to the right. 4.

If you chose Selected Entries, the Matrix Convergence dialog displays some new fields:



a table showing columns for Matrix Entry 1, Matrix Entry 2, and the Delta Mag and Delta Phase.



Entry 1 and Entry 2 fields which contain drop down lists of ports and associated modes (or terminals).



an Insert button with which to move selections from the port list selections to the table

To select the desired ports and mode (or terminal) pairs, do the following: a.

Select Entry 1 and Entry 2 from their drop down lists.

b.

In the Magnitude box, enter the maximum change in magnitude from pass to pass from the Entry 1 to Entry 2.

c.

In the Phase box, enter the maximum change in phase, in degrees, from pass to pass from Entry 1 to Entry 2. (Note: When the Mag S becomes small (near to zero) its phase becomes indefinite and insignificance due to mathematical issue so that Phase Margin will be discarded.)

d.

Click Insert. The entries appear in the table above. If you have selected multiple entries, all combinations of matrix entry1 and matrix entry2 populate the table. Selecting a Row in the table enables the Delete button, if you need to remove a row from the table. Clicking in the Delta Mag and Delta Row fields of the selected row enables editing in those fields.

5.

Click OK to close apply the values and close the dialog.

Related Topics Viewing the Magnitude Margin Viewing the Phase Margin Viewing Delta (Mag S) Specifying Solution Settings 12-17

HFSS Online Help

Viewing Delta (Phase S)

Setting the Order of Basis Functions You can change the basis functions HFSS uses to interpolate field values from nodal values.



Under the Options tab of the Solution Setup dialog box, select Order of Basis. This can be First Order (the default), Zero Order, or Second Order. Setting the Order of Basis functions affects the default value of the Lambda Refinement in the Solution setups as follows. Zero order:

driven 0.1,

eigenmode 0.1

First order:

driven 0.3333,

eigenmode 0.2 (as is)

Second order:

driven 0.6667,

eigenmode 0.4

The Zero order option is useful when a model requires a mesh that produces more than 100,000 tetrahedra, but the model size is small compared to wavelength. The higher order options solve progressively more unknowns for each tetrahedra. Warning

If you select Zero Order Solution Basis, all tetrahedra in the model must have edge lengths less than 1/20th wavelength. Thus, this option is usually selected in combination with a specific lambda refinement setting.

Related Topics Technical Notes: Basis Functions Setting Lambda Refinement Enable Iterative Solver

Enable Iterative Solver The iterative solver provides an alternative to the multi-frontal solver when a matrix is well-conditioned for an iterative solution. The iterative solver significantly reduces memory usage, and it can also provide a savings in the solution time for large simulations. When you select the Enable Iterative Solver option, HFSS automatically invokes the iterative solver when it decides that the matrix is conditioned well enough to take advantage of the iterative approach. HFSS uses the multi-frontal solver if the matrix does not meet this requirement. For more detail, see the technical notes for Iterative Matrix Solver. To enable the Iterative solver: 1.

On the Solution Setup dialog, Options tab, check the Enable Iterative Solver check box. This enables the Set Relative Residual checkbox.

2.

Enter a value for the Relative Residual. The residual measures the convergence of the iterative solver. The default value is 1E-4.

12-18 Specifying Solution Settings

HFSS Online Help

Note

The Iterative Solver is not available for zero order basis solutions.

Related Topics Technical Notes: Iterative Matrix Solver

Use Radiation Boundary on Ports If the design includes waveports, the Use Radiation Boundary on Ports option is enabled under the Advanced options tab of the Solution Setup dialog box.



If you select this setting, edges which are assigned to ABC and touch a port have an radiation boundary condition applied during the port solution.



If you do not select the setting, a perfect conducting boundary condition is used during the port calculations.

In most cases this setting has a limited affect on the overall fields or post processed quantities.

Note

If you apply this setting to a port on an object that contains anisotropic materials, an error message is generated during the solution.

Port Options If the design includes waveports, the Port Options options appear under the Advanced options tab of the Solution Setup dialog box. These options include:

• • •

Maximum Delta Zo - change to Zo specified as a target percentage. The default is 20%. Use Radiation Boundaries on Ports Set Triangles for Wave Port - unchecked by default. If you check Set Triangles for Wave Port, the Minimum and Maximum fields are enabled. You can edit the default values of 100 for the minimum and 500 for the maximum. For designs with lumped ports, this option is not active. Higher numbers of triangles would not benefit a solution setup in this case.

Specifying Solution Settings 12-19

HFSS Online Help

Adding a Frequency Sweep For Driven solution types. To generate a solution across a range of frequencies, add a frequency sweep to the solution setup. HFSS performs the sweep after the adaptive solution, if one is defined. If an adaptive solution is not requested, the sweep is the only solution generated. You can also disable a sweep, so that you can run only the adaptive solution (or a ports-only solution) without the sweep, then later reactivate the sweep definition. To add a frequency sweep: 1.

On the HFSS menu, point to Analysis Setup, and then click Add Sweep

2.

Select the solution setup to which the sweep applies and click OK.

.

The Edit Sweep dialog box appears. 3.

Specify the following sweep parameters:

• • •

Sweep type - Discrete, Fast, or Interpolating. Frequencies to solve. Whether you want to save the fields.

4.

If you plan to perform a Full-Wave SPICE analysis, click Time Domain Calculation tool to obtain assistance determining a suitable frequency sweep range for the solutions. Also see the Requirements for Full-Wave SPICE.

5.

Click OK. Once you have created a sweep, an icon for the sweep appears in the Project tree under the associated setup.

You can select an existing sweep, use the Edit commands to Copy it, and then and Paste the sweep into the Project tree. (By default, the copy is named Sweepn, where n increments with each new sweep.) You can edit the new copies of the sweep to make desired changes. For example, you can change a specific parameter, or for a distributed solve, you could assign different start and end points for each copy of the setup. The Paste command for sweeps is design sensitive (that is, you cannot paste between Driven and Eigenmode of designs) and context sensitive (for example, only sweeps can be pasted in setups in the tree.) Dependent setups are pasted along with the copied setup. You are warned if the dependent setup is already in the design and setup is not pasted again. Source excitation waveforms are pasted along with the transient sweeps. You are warned if the waveform is already there in the design and it is not pasted again. Note

For a solve setup with zero passes, no sweeps, and that is not ports only, validation produces a warning message.

Related Topics Disabling a Frequency Sweep Technical Notes: Frequency Sweeps 12-20 Specifying Solution Settings

HFSS Online Help

Selecting the Sweep Type For Driven solution types. Specify the type of sweep you want to perform in the Edit Sweep dialog box. Choose one of the following sweep types: Fast

Generates a unique full-field solution for each division within a frequency range. Best for models that will abruptly resonate or change operation in the frequency band. A Fast sweep will obtain an accurate representation of the behavior near the resonance. Fast sweeps are disabled if an anisotropic boundary condition is present.

Discrete

Generates field solutions at specific frequency points in a frequency range. Best when only a few frequency points are necessary to accurately represent the results in a frequency range.

Interpolating

Estimates a solution for an entire frequency range. Best when the frequency range is wide and the frequency response is smooth, or if the memory requirements of a Fast sweep exceed your resources. All discrete basis solutions are solved prior to interpolating sweeps because it is possible that an interpolating sweep can re-use already solved frequencies from a discrete sweep. For Time Domain Reflectometry plots (TDR), you must use an interpolating sweep.

When you select Interpolating sweeps in the Edit Sweep dialog, the Setup Interpolation options section is activated. This lets you specify a maximum number of solutions, and other interpolation values. Related Topics Technical Notes: Frequency Sweeps

Options for Discrete Sweeps For Discrete sweeps, the Edit Sweep dialog options you can set include

• • •

Sweep Name Frequency Setup Whether to Save Fields (for all Frequencies). By default, all frequencies are saved. (This field is disabled under a Solve Ports Only setup. You can view port fields for the discrete frequencies, under the port field display in the project tree.)

Options for Fast Sweeps For Fast sweeps, the Edit Sweep dialog options you can set include:

• • •

Sweep Name Frequency Setup Whether to Save Fields. By default, all fields are saved. Specifying Solution Settings 12-21

HFSS Online Help



Whether to Generate Fields (All Frequencies). By default, fields are not generated. If you have more than 100 frequencies, checking the box generates a warning that disk space use may be excessive. If you select this option, HFSS solves the fast sweep and then computes the fields at each freq in the sweep, and saves them. This has two advantages: (a) It is much faster. (b) So post processing is much faster. Since this option is exercised at solve time, it doesn't apply to existing solutions. However, if you have an existing solved sweep, you can turn this option on and when you solve it should get the existing solved sweep and then generate all of the fields.



DC Extrapolation options 1.

Select Extrapolate to DC to enable the DC Extrapolation options.

2.

Enter a value for the Minimum Solved Frequency. This value represents the smallest frequency in the sweep for which a full solution is generated. The default is 100 Mhz.

Options for Interpolating Sweeps For Interpolating sweeps, the Edit Sweep dialog options you can set include:

• • • • •

Sweep Name Max Solutions Error Tolerance Frequency Setup Interpolation Convergence Click the Advanced Options... button to open the Interpolating Sweep Advanced Options dialog.



DC Extrapolation options 1.

Select Extrapolate to DC to enable the DC Extrapolation options.

2.

Enter a value for the Minimum Solved Frequency. This value represents the smallest frequency in the sweep for which a full solution is generated. The default is 100 Mhz.

Setup Interpolating Sweep Advanced Options For Interpolated sweeps, the Setup Interpolating Sweep Advanced Options dialog lets you specify the following settings for a sweep:



The Min Solutions value is 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 and oscillations. For interpolating sweeps the default is 0. To change the value: type a new

value in the Min Solutions box.



Specify a Minimum Number of Sub Ranges. This number acts as an initial condition on the sweep to force initial even breakup of the null range into subranges. The end points and middle of each subrange will be solved. This controls the points at which the interpolating sweep is broken up

12-22 Specifying Solution Settings

HFSS Online Help

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.



Whether to use all or selected entries in the matrix of data types for the convergence. To choose, click the Select Entries button to display the Interpolation Basis Convergence dialog.



The data types for convergence. You can select Use All Entries (the default) or to Use Selected Entries. If you select Use Selected, only the check box for S-Matrix is enabled. If you select Use All Entries for the convergence, as many of the data types as are available for the kind of solution under consideration have check boxes enabled. For Driven Model, 3D Solution Interpolating sweeps:

• • • •

S-Matrix - checked and disabled. T-Matrix - disabled and unchecked. Port Impedance - enabled and unchecked. Propagation constants - enabled and unchecked.

For Driven Terminal, 3D Solution Interpolating sweeps:

• • • •

S-Matrix - checked and disabled. T-Matrix - enabled and unchecked. Port Impedance - enabled and unchecked. Propagation constants - enabled and unchecked.

For Driven modal, ports-only, interpolating

• • • •

S-Matrix - unchecked and disabled T-Matrix - disabled and unchecked Port impedance - enabled and unchecked Propagation constants - enabled and checked

For Driven terminal, ports-only, interpolating

• • • • Note

S-Matrix - unchecked and disabled T-Matrix - enabled and unchecked Port impedance - enabled and unchecked Propagation constants - enabled and checked

If a driven setup’s ports-only setup changes and then the problem type switches between driven modal and driven terminal, HFSS resets the interpolation basis data types for the interpolating sweep.

Setting the Error Tolerance For Interpolating sweeps. The Error Tolerance value is the maximum relative difference allowed between two successive interpolation solutions. The default 0.5 percent for interpolating sweeps is usually satisfactory. Specifying Solution Settings 12-23

HFSS Online Help

To set the error tolerance for an Interpolating sweep: 1.

Open the Edit Sweep dialog box (by either viewing the properties of an existing Sweep or by Adding a Frequency sweep to an existing Setup).

2.

Type a value in the Error Tolerance box.

Setting the Maximum Number of Solutions For Interpolating sweeps. The Max Solutions value is the maximum number of solutions that will be solved for the frequency range. For fast sweeps and for interpolating sweeps the default is 50. To change the value: 1.

Open the Edit Sweep dialog box (by either viewing the properties of an existing Sweep or by Adding a Frequency sweep to an existing Setup).

2.

Type a value in the Max Solutions box and click OK.

Note

HFSS automatically subdivides the interpolating sweep range so that no single subrange gets too many basis elements. The effect is that you can now (if appropriate) request hundreds of basis elements in the Max Solutions box for interpolating sweep setup, without incurring any basis seeding performance penalty.

Interpolation Basis Convergence From the Setup Interpolations Basis dialog, select the Use Selected Entries radio button to enable the Select Entries button. Select this to display the Interpolation Basis Convergence dialog. This dialog permits you to specify the convergence basis. 1.

2.

Select one of the following from the Entry Selections pull-down list: All

Sets all of the matrix entries at once. (The default).

Diagonal

Sets all of the diagonal matrix entries at once.

Off-Diagonal

Sets all of the off-diagonal matrix entries at once.

If you chose All, Diagonal, or Off-Diagonal, you may fine-tune the matrix entry selection process by selecting one of the following options from the Mode Selection pull-down list: All

Sets all of the mode matrix entries. Select in conjunction with All, Diagonal, or Off-Diagonal entry selections.

Dominant Only

Sets only the dominant mode matrix entries. Select in conjunction with All, Diagonal, or Off-Diagonal entry selections.

Higher Order Only

Sets only the higher-order mode matrix entries. Select in conjunction with All, Diagonal, or Off-Diagonal entry selections.

As you select the waveports for convergence, you use the Set, Clear, and Clear All buttons in connection with the Entry Selection and Mode Selection settings. These buttons are enabled when the waveport matrix state and selection settings permit them do something. For example, The Clear button is not enabled until there are entries in the waveport matrix to clear and those selections are permitted by the entry selection. The Set button is not enabled unless the avail12-24 Specifying Solution Settings

HFSS Online Help

able mode selections permit entries to be set. You can also select individual entries in the waveport matrix by clicking on grid cells. This action displays a dropdown menu that lets you select ON or "-". 3.

Specify Entry Selections and Mode Selections as desired and click SET, or click individual waveport cells and select ON. The table location corresponding to the selection, the dash in the display is replaced by ON. For example, selecting the first element in the row list and the fourth element in the column list, and then Add Selection places an ON in the first row, fourth column. You can select one entry at a time via the dropdown in the matrix cell, or clear the entire table with the Clear All button. You can also Clear only the entries specified by the Entry and Mode selection settings (such as off-diagonal, higher order).

4.

Click OK to close apply the selections and close the dialog.

Related Topics Setup Interpolations Basis

Specifying the Frequency Points to Solve You can specify the following types of frequency points to solve within a frequency sweep: Linear Step

A linear range of frequency points in which you specify a constant step size.

Linear Count

A linear range of frequency points in which you specify the number, or count, of points within the frequency range.

LogScale

A logarithmic range of frequency points in which you specify a frequency range and a samples number. For Discrete sweeps.

Single Points

Individual frequency points. For Discrete sweeps.

Select the type of frequency point entry from the Type pull-down list The Edit Sweep dialog contains a Time Domain Calculation tool that you can use to help calculate frequency step sizes and maximum frequencies, particularly if you intend to perform Full-Wave Spice analysis. Related Topics Change the Value of an Existing Frequency Point Specifying Single Frequency Points Deleting Frequency Points Insert Frequency Points Specifying Frequency Points to Solve

Specifying Frequency Points with a Linear Step Size 1.

In the Edit Sweep dialog box, click Linear Step in the Type pull-down list.

2.

In the Start text box, type the starting frequency of the frequency sweep. Specifying Solution Settings 12-25

HFSS Online Help

HFSS solves the solution beginning with the frequency entered in the Start box and ending with the frequency entered in the Stop box. 3.

In the Stop text box, type the ending frequency of the frequency sweep.

4.

In the Step Size box, type the difference between frequency points. HFSS will solve the frequency point at each step in the specified frequency range, including the start and stop frequencies. For example, specifying 10 for the start frequency, 20 for the stop frequency, and 2.5 for the step size for a Discrete sweep instructs HFSS to compute a solution for frequencies of 10, 12.5, 15, 17.5, and 20. The step size specified for an Interpolating sweep dictates the amount of information that will be viewed on a post-processing plot.

5.

For Fast sweeps, select Save Fields if you want to save the calculated 3D field solutions associated with all port modes at the chosen frequencies. For Discrete sweeps, select Save Fields (All Frequencies) if you want to save the calculated 3D field solutions associated with all port modes at the chosen frequencies. If want to save the fields for just one or a few Discrete sweep frequencies, select Single Points from the Type pull-down list, and then select the Save Fields check box for the desired frequency.

Related Topics Specifying Frequency Points to Solve Specifying Single Frequency Points Deleting Frequency Points Insert Frequency Points Change the Value of an Existing Frequency Point Specifying Frequency Points to Solve

Specifying a Linear Count of Frequency Points 1.

In the Edit Sweep dialog box, click Linear Count in the Type pull-down list.

2.

In the Start text box, type the starting frequency of the frequency sweep. HFSS solves the solution beginning with the frequency entered in the Start box and ending with the frequency entered in the Stop box.

3.

In the Stop text box, type the ending frequency of the frequency sweep.

4.

In the Count text box, type the number of points in the sweep. The count value includes the start and stop values. HFSS will divide the frequency range into the count you specify and solve each frequency point in the count.

5.

For Fast sweeps, select Save Fields if you want to save the calculated 3D field solutions associated with all port modes at the chosen frequencies.

12-26 Specifying Solution Settings

HFSS Online Help

For Discrete sweeps, select Save Fields (All Frequencies) if you want to save the calculated 3D field solutions associated with all port modes at the chosen frequencies. If want to save the fields for just one or a few Discrete sweep frequencies, select Single Points from the Type pull-down list, and then select the Save Fields check box for the desired frequency. Related Topics Specifying Frequency Points to Solve Specifying Single Frequency Points Deleting Frequency Points Insert Frequency Points Change the Value of an Existing Frequency Point Specifying Frequency Points to Solve

Specifying a Logarithmic Spaced Frequency Sweep For Discrete sweeps. 1.

In the Edit Sweep dialog box, click LogScale in the Type pull-down list.

2.

In the Start text box, type the starting frequency of the frequency sweep. HFSS solves the solution beginning with the frequency entered in the Start box and ending with the frequency entered in the Stop box.

3.

In the Stop text box, type the ending frequency of the frequency sweep.

4.

In the Samples text box, specify the number of frequency points to sample. HFSS assigns the sampled points using intervals based on a logarithmic scale.

5.

Select Save Fields (All Frequencies) if you want to save the calculated 3D field solutions associated with all port modes at the chosen frequencies.

Related Topics Specifying Frequency Points to Solve Specifying Single Frequency Points Deleting Frequency Points Insert Frequency Points Change the Value of an Existing Frequency Point Specifying Frequency Points to Solve

Specifying Single Frequency Points For Discrete sweeps.

Specifying Solution Settings 12-27

HFSS Online Help

To specify Single Frequency points: 1.

In the Edit Sweep dialog box, click Single Points in the Type pull-down list.

2.

In the Single text box, type a desired frequency point, and then select the frequency units. This enables the Insert button.

3.

Click Insert. The point is added to the Frequency column to the right. A check mark in the Save Fields column indicates that the fields for the point will be saved. Optionally, click the check box in the Save Fields column.

4.

Repeat steps 2 - 4 for each frequency point you want to solve.

Related Topics Change the Value of an Existing Frequency Point Deleting Frequency Points Insert Frequency Points Specifying Frequency Points to Solve

Change the Value of an Existing Frequency Point To change the value of an existing frequency point: 1.

Either select the text field in the Frequency column and edit an existing value field directly, or: a.

Edit the value in the Single Text box.

b.

Select the Frequency row that you want to change. This enables the Change button.

c.

Click the Change button to replace the selected Frequency row value with the Single Text box value.

2.

Select Save Fields if you want to save the calculated 3D field solutions associated with all port modes at that frequency.

3.

Repeat for changing additional points.

Related Topics Specifying Single Frequency Points Deleting Frequency Points Insert Frequency Points Specifying Frequency Points to Solve

Deleting Frequency Points 1.

Select Single Points from the Type pull-down list.

2.

Select the row containing the frequency you do not want to solve.

12-28 Specifying Solution Settings

HFSS Online Help

This enables the Delete button. 3.

Click Delete.

Related Topics Specifying Single Frequency Points Insert Frequency Points Change the Value of an Existing Frequency Point Specifying Frequency Points to Solve

Inserting Frequency Points For Discrete sweeps, you can insert specific frequency points that you want to solve in the frequency range. They can be inserted after you have added uniform frequency points to solve. 1.

Select Single Points from the Type pull-down list.

2.

Select a row before which you want to add a frequency point.

3.

In the Single text box, type a desired frequency point in the frequency units. This enables the Insert button.

4.

Click Insert.

5.

Select Save Fields if you want to save the calculated 3D field solutions associated with all port modes at that frequency.

Related Topics Specifying Single Frequency Points Deleting Frequency Points Change the Value of an Existing Frequency Point Specifying Frequency Points to Solve

Choosing Frequencies for Full-Wave SPICE If you plan to perform a full-wave SPICE analysis, use the Time Domain Calculation dialog box to help determine a suitable frequency sweep range for the solution. To perform the calculation of suitable frequencies to solve: 1.

In the Edit Sweep dialog box, click Time Domain Calculation. The Time Domain Calculation dialog box appears.

2.

Type a minimum rise time value in the Signal Rise Time box. This value represents the time scale that will characterize the rate of change of the input time signal, which will be applied in the circuit simulator.

3.

Type a value in the Time Steps Per Rise Time box. The time sampling increment for the entire signal is calculated using where Specifying Solution Settings 12-29

HFSS Online Help

τ Δt = -----Nτ • • • 4.

Δt is the time sampling increment. τ is the signal rise time. Nτ is the number of time steps per signal rise time.

Type a value in the Number of Time Points box. Note that the input time signal duration is determined using time points.

5.

N × Δt , where N is the number of

Click Calculate.



HFSS now determines the Maximum Frequency using

0.5 F max = ------Δt where Fmax is the maximum frequency. HFSS determines the Frequency Step Size using 6.

F max ----------- . N

Click OK to transfer the data to the frequency sweep fields in the Edit Sweep dialog box.

Related Topics Guidelines for Calculating Frequencies for Full-Wave SPICE Requirements for Full-Wave SPICE

Guidelines for Calculating Frequencies for Full-Wave SPICE Keep the following guidelines in mind when you set up the calculation for the suggested frequency step size and maximum frequency:



The maximum frequency should be at least five times the inverse of the rise and fall times. If the specified frequency band is too wide, an HFSS frequency sweep may have convergence problems. If this happens, try to decrease the maximum frequency until the solution converges.



It is recommended, though not required, that the minimum frequency be less than the maximum frequency divided by the number of frequency steps. It is usually recommended to have at least 500 frequency steps. A higher number will slightly improve the full-wave SPICE solution accuracy, but will also increase CPU and memory requirements to solve the problem. For most cases, using 1000 frequency steps provides a good trade-off

12-30 Specifying Solution Settings

HFSS Online Help

between the accuracy and computational requirements. Warning



Occasionally, HFSS can fail to solve for the minimum frequency during a Discrete or Interpolating frequency sweep due to a failure of the port solver to converge. If this happens, try to increase the minimum frequency until the solution process completes successfully. However, the minimum frequency should be as low as possible because the low-frequency response determines the steady-state time response.

The suggested frequency sweep ranges are estimates. You may have a pulse with a wider frequency content and HFSS’s recommended frequency sweep range may miss some of the high frequencies.

Requirements for Full-Wave SPICE The Full-Wave Spice requirements are as follows: 1.

The design problem type in which the solution data panel is opened must be driven terminal.

2.

In the Matrix Data panel, for non-imported data, the view type for the solution data must be "Terminal Data" (not "Modal Data").

3.

The data must be interpolating or imported via an .szg file (which includes the interpolation basis data necessary to derive interpolating data), or it must be discrete.

4.

If the data is discrete: a.

It must either be native terminal data, or it must be inferred as terminal. For instance, in a Touchstone file, the comment line "! Terminal data exported" will cause HFSS to interpret the data as terminal, while the comment line "! Modal data exported" will cause HFSS to interpret the data as modal. If HFSS finds neither comment line, it assumes that the data is terminal.

b.

At least 20 frequency points must be provided.

c.

HFSS must be able to generate an interpolation basis that converged with Analyze All. HFSS computes the 3D field solution inside the structure. Each solution setup is solved in the order it appears in the project tree.

To run more than one analysis at a time, follow the same procedure while a simulation is running. The next solution setup will be solved when the previous solution is complete. Note

You can also simulate all designs by clicking Project>Analyze All.

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), HFSS will not allow another dependent simulation to start until the first use of the source has completed.

Related Topics Technical Notes: The Solution Process Technical Notes: Handling Complicated Models Solving a Single Setup Running More Than One Simulation Specifying the Analysis Options Remote Analysis Monitoring the Solution Process Aborting Analysis Running Simulations 13-1

HFSS Online Help

Solving a Single Setup To solve a single sweep under a specific solution setup: 1.

In the project tree, under the design you want to analyze, select the setup icon of interest, and right click to display the shortcut menu.

2.

Click Analyze on the shortcut menu. The analysis proceeds on the selected sweep.

To solve two or more sweeps or two or more parametric analyses under a setup: Configure two or more machines for a distributed analysis. See Solving Remotely for configuration issues, Distributed Analysis for license issues, and Configuring Distributed Analysis for setting up the HFSS General Options. 1.

In the project tree, under the design you want to solve, right-click the setup icon that includes the sweeps of interest.

2.

Click Analyze on the shortcut menu. Each solution sweep under that setup is solved in the order it appears in the project tree, using the available machines.

Running More Than One Simulation To run more than one analysis at a time, follow the same procedure while a simulation is running. The next solution setup will be solved when the previous solution is complete. The General tab for the Setup includes an “Enabled” checkbox. By default, this is checked. Unchecking the Enabled checkbox excludes a setup from running To solve every enabled solution setup in a design: 1.

In the project tree, under the design you want to solve, select Analysis.

2.

Click HFSS>Analyze All.

Each enabled solution setup is solved in the order it appears in the project tree.

13-2 Running Simulations

HFSS Online Help

Remote Analysis It is possible to solve a project on a different machine from the one on which you set up your designs. This is particularly useful when you want to take advantage of a more powerful machine but it is not convenient to access that machine. This process involves configuring the machine that is to perform the solving (the remote machine), as well as the machine from which the simulation is to be launched (the local machine). This can also be extended into distributed analysis, where a specified analysis, if supported, is concurrently solved on multiple remote machines. Local Machine

Note

Remote Machine

Communication between machines in remote analysis and distributed analysis can drastically affect performance. Use of a high-speed network system, like Gigabit or Infiniband, is recommended for optimal performance.

Remote Analysis Procedure 1.

Determine the Desired Configuration

2.

Configure the Remote Machine

3.

Configure the Local Machine

4.

Troubleshooting

Related Topics: General Options: Analysis Options Tab Distributed Analysis

Running Simulations13-3

HFSS Online Help

Determining the Desired Configuration Before setting up remote analysis, you must decide the type of configuration you want to use. Remote Analysis Type Windows->Windows only

Available Configuration Options Common Windows configurations 1, 2, or 3

Unix->Unix only

Unix Configuration

All other configuration types

Windows machines: Common Windows configurations 2 or 3 Unix machines: Unix Configuration

• • • •

Common Windows Configurations (including advantages and disadvantages) Unix Configuration Determining User Accounts to Use with the Selected Configuration Using Groups for Security Permissions (Windows Only)

13-4 Running Simulations

HFSS Online Help

Common Windows Configurations (Advantages and Disadvantages) Configuration Configuration 1: (Ansoft recommends this option if remote machines will also be used as local machines.)

Advantages

Disadvantages

a) Only the remote process user a) The license log file will show that the remote process user must be configured on the checked out the license, remote machine. b) Local analyses on the remote regardless of the local machine user. machine continue to work as

All local machine users should they did previously. solve as a common user on the remote machine (hereafter known as the remote process user). The user name and password for the remote process user must be provided to each local machine user. Note: If any local or remote machines are Unix-based, this configuration cannot be used.

a) The remote process user must (Ansoft recommends this option if only be specified on the remote machine. remote machines are not used as local machines; e.g. compute farm.) b) The password information for the remote process user can be All local machine users should restricted. solve as a common user on the Configuration 2:

remote machine (hereafter known as the remote process user). The user name and password for the remote process user need not be provided to each local machine user; it will be stored on the remote machine only. Configuration 3: Any local machine user should be able to solve as him/herself on the remote machine.

a) Local analyses on the remote machine can only be performed if the machine is treated as a remote machine at runtime. b) The license log file will show that the remote process user checked out the license, regardless of the local machine user.

a) There are no user restrictions a) Each local machine user must run the software one time on — anyone can solve on the each remote machine to remote machine. configure the settings used when b) License checkouts are solving. performed as the user who requested the analysis. c) Each local machine user's individual configuration (e.g., number of processors) is used only by that local machine user.

Related Topics: Running Simulations13-5

HFSS Online Help

Determining User Accounts to Use with the Selected Configuration

Unix Configuration Configuration All local machine users should solve as him/herself with settings common to the machine.

Advantages a) There are no user restrictions--anyone can send solve requests to the remote machine. b) License check is performed as the user who requested the analysis.

Related Topics: Unix User Configuration Determining User Accounts to Use with the Selected Configuration

Determining User Accounts to Use with the Selected Configuration Configuring remote analysis requires you to identify three users who each will play a unique role in remote analysis. These three users will be referenced when configuring the remote and local machines. Local Machine

Local User

Local Machine

Launching User

Remote Machine

Remote Process User

1.

Local User: The user who starts the software on the Local Machine.

2.

Launching User: The user who sends analysis requests from the Local Machine to the remote machines.

3.

Remote Process User: The user who owns the analysis processes on the remote machines.

Note



The Local User and Launching User must be known accounts on the Local Machine.



The Launching User and Remote Process User must be known accounts on the Remote Machine.

13-6 Running Simulations

HFSS Online Help

• • • •

Common Windows Configuration 1 Common Windows Configuration 2 Common Windows Configuration 3 Unix User Configuration

Common Windows Configuration 1 All local machine users should solve as a common user on the remote machine (known as the remote process user). The user name and password for the remote process user must be provided to each local machine user. Note

For security reasons, the remote process user account should not be associated with any person.

1.

Local User: Any user(s) or group(s) you choose.

2.

Launching User: Same as the remote process user. In the Analysis Options dialog box of the product being configured on the Local Machine, the Specified User option is selected, and the remote process user name/password information is entered.

3.

Remote Process User: Set to The launching user on the Identity tab of the remote machine DCOM configuration.

Note

If any local or remote machines are Unix-based, this configuration cannot be used.

Example:

Local User = judy

Specified User (common-user)

Remote Process User set to The launching user = common-user

Next Step: Common Windows Configuration 2 Running Simulations13-7

HFSS Online Help

Common Windows Configuration 2 All local machine users should solve as a common user on the remote machine (known as the remote process user). The user name and password for the remote process user need not be provided to each local machine user; it will only be stored on the remote machine. Note

For security reasons, the remote process user account should not be associated with any person.

1.

Local User: Any user(s) or group(s) you choose.

2.

Launching User: Same as the Local User. In the Analysis Options dialog box of the product being configured on the Local Machine, the Current User option is selected.

3.

Remote Process User: Set to This User on the Identity tab of the remote machine DCOM configuration.

Example:

Local User = judy

Current User (judy)

Remote Process User set to This user = common-user

Next Step: Common Windows Configuration 3

Common Windows Configuration 3 Any local machine user should be able to solve as him/herself on the remote machine. 1.

Local User: Any user(s) or group(s) you choose.

2.

Launching User: Same as the Local User. In the Analysis Options dialog box of the product being configured on the Local Machine, the Current User option is selected.

3.

Remote Process User: Set to The launching user on the Identity tab of the remote machine DCOM configuration.

13-8 Running Simulations

HFSS Online Help

Example:

Local User = judy

Current User (judy)

Remote Process User set to The launching user = judy

Next Step: Unix User Configuration

Unix User Configuration Any local machine user should be able to solve as him/herself on the remote machine. 1.

Local User: Any user(s) you choose.

2.

Launching User: Same as the Local User. In the Analysis Options dialog box of the product being configured on the Local Machine, the Current User option is selected.

3.

Remote Process User: Automatically set to The launching user on the remote machine. The software settings are configured in “remote analysis mode” on the remote machines.

Running Simulations13-9

HFSS Online Help

Example:

Local User = judy

Current User (judy)

Remote Process User set to The launching user = judy

Next Section: Using Groups for Security Permissions (Windows Only)

Using Groups for Security Permissions on Windows When configuring remote analysis, you need to add permissions for certain users. To make configuration and management easier, you may want to reference one of the Windows Built-In Local Groups, include a pre-defined Windows system identity, or manually add a group of users. The remote analysis configuration lists a minimal configuration; you may choose to include permissions for more users/groups than the minimum listed.

• • •

Windows Built-In Local Groups Pre-Defined Windows System Identities Manually Adding a Windows Local Group

Windows Built-In Local Groups Windows allows administrators to define groups to which user accounts should belong. There are several built-in local groups that are available by default:

• •

Administrators: Administrators have complete and unrestricted access to the computer.



Power Users: Power Users possess the most administrative powers with some restrictions. They can create and modify accounts, and they can share resources.



Users: Users perform tasks for which they have rights granted and access resources to which they have permissions.

Guests: Guests have the same access as members of the Users group by default. Guests, however, cannot make permanent changes to their environment.

13-10 Running Simulations

HFSS Online Help

Next Step: Pre-Defined Windows System Identities

Pre-Defined Windows System Identities Windows defines several identities that represent dynamic user groups. These are particularly useful when configuring remote analysis. Following are several common system identities that can be used:

• •

Anonymous Logon:Represents all users who cannot be identified.



Interactive: Represents all users currently logged on to a particular computer and accessing a given resource located on that computer (as opposed to the users who access the resource over the network). When a user accesses a given resource on the computer to which he is currently logged on, he is automatically added to the Interactive group.



Network: Represents all users currently accessing a given resource over the network (as opposed to users who access a resource by logging on locally at the computer where the resource is located). When a user accesses a given resource over the network, he is automatically added to the Network group.

Everyone: Represents all current identified users, including guests and users from other domains. When a user logs on to the machine, he is automatically added to the Everyone group. This does not include unidentified users, which are included in the Anonymous Logon system identity.

Next Step: Manually Adding a Windows Local Group

Manually Adding a Windows Local Group Refer to the Windows Help for the operating system you are configuring for instructions to manually add a local group of users. Next Section: Configure the Remote Machine

Configuring the Remote Machine • A. Windows XP Professional (32-bit and 64-bit) and Windows Server 2003 (32-bit and 64-bit). • B. Unix A. Configuring the Remote Machine for Windows XP Professional (32-bit and 64-bit) and Windows Server 2003 (32-bit and 64-bit) This section describes how to set up the remote machine. You should follow these steps in order. 1.

Remote Machine Configuration Prerequisites

2.

Configure Distributed COM for the Remote Machine

3.

Configure Policy Settings for Remote Machine

4.

Enable Firewall Access for the Remote Machine

5.

Configure Software Settings on Remote Machine

6.

Set Up Security Permissions on Remote Machine

7.

Analyze a Test Design as a Remote User on the Remote Machine Running Simulations13-11

HFSS Online Help

A(1) Remote Machine Configuration Prerequisites Windows XP Professional (32-bit and 64-bit) and Windows Server 2003 (32-bit and 64-bit). Before configuring the remote machine, do the following: 1.

Log in as an administrator to the machine on which you want to analyze — the remote machine.

2.

Install the version-specific software that you will use to analyze designs.

Next Step: A(2) Configure Distributed COM for the Remote Machine

A(2) Configuring Distributed COM for the Remote Machine Windows XP Professional (32-bit and 64-bit) and Windows Server 2003 (32-bit and 64-bit). To configure distributed COM for a remote machine: 1.

Log in as an administrator to the machine on which you want to analyze — the remote machine.

2.

Click Start>Run. The Run dialog box appears.

3.

Type dcomcnfg in the Open text box, and click OK. The DCOM Configuration panel appears.

4.

Set the My Computer properties: a.

Note

Under Console Root>Component Services>Computers, right-click My Computer, and then click Properties. The My Computer Properties dialog box appears.

If you receive a message about unblocking this application from the Windows Firewall, click OK to unblock the Microsoft Management Console and proceed with the configuration.



b.

Under the Default Properties tab, make sure the Enable Distributed COM on this computer check box is checked.

c.

Under the COM Security tab, verify that the following minimum permissions are included if you do not wish to restrict security permissions: You need not remove any pre-existing permissions.

For Edit Limits for Access Permissions:



13-12 Running Simulations

Everyone: Local Access and Remote Access

HFSS Online Help



Anonymous Logon: Remote Access Note





Local User: Remote Access (or Anonymous Logon if the default Authentication Level on the Local Machine is None)



Launching User: Local Access and Remote Access (or Anonymous Logon if the Launching User is the same as the Local User)

• • •

Remote Process User: Local Access Interactive: Local Access Self: Local Access

For Edit Limits for Launch and Activation Permissions:

• • •

Anonymous Logon: Remote Launch and Remote Activation Everyone: Remote Launch and Remote Activation Interactive: Local Launch and Local Activation Note

Note

d. 5.

The minimum security permissions for these settings are the following:

The minimum security permissions for this setting are the following:



Launching User: Remote Launch and Remote Activation (or Anonymous Logon if the default Authentication Level on the Local Machine is None)



Interactive: Local Launch and Local Activation

If a given user or group is not listed: 1.

Click Add to add a new user or group.

2.

Click Locations, and select the domain/workgroup in which the user you want to add is located.

3.

Type the name of the user or group.

4.

Click Check Names to verify that the name is correct.

5.

Click OK to close the Add Users dialog box. The user or group should now appear in the corresponding permissions dialog box.

Click OK to accept the changes and close the My Computer Properties dialog box.

Set the COM engine properties: a.

Under Console Root>Component Services>Computers>My Computer>DCOM Config, verify that each version-specific COM engines that will Running Simulations13-13

HFSS Online Help

be used to analyze remotely is listed. For instance:

• • • •

If you are configuring ePhysics 3, look for EPhysicsEngineV3 Class. If you are configuring HFSS 11, look for HFSSEngineV11 Class. If you are configuring Maxwell 12, look for MawellEngineV12 Class, Maxwell2DEngineV12 Class, and RMxprtEngineV12 Class. If you are configuring for Q3D Extractor V8, look for Q3DEngineV8 Class.

If one or more of the desired engine classes is not listed, you need to re-register the corresponding COM engine. On Windows, you can also start the product’s mainteance mode and choose Repair. Once the correct classes are listed, right-click on the class’s name, and select Properties. The Class Properties dialog box for the selected class appears.

Note

b.

Under the General tab, make note of the Local Path to the COM engine you are configuring for remote analysis.

c.

Under the Location tab, verify that the Run application on this computer check box is checked.

d.

Under the Identity tab, select the user who will serve as the Remote Process User:

The user specified as the Remote Process User must exist on the remote machine and can not be a guest. (If you have specified The launching user, then any users acting as the launching user must exist.) This is necessary because the Remote Process User’s registry settings may be deleted when he/she logs off the computer. To check if a user exists on the remote machine: 1.

Choose Start>Settings>Control Panel (or Start>Control Panel, depending on your display settings).

2.

Choose Users and Passwords or User Accounts (depending on the operating system).

3.

Make sure that the user specified as the Remote Process User is listed. If not, you will need to add him/her as a user, and grant access other than Guest access.

4.

Verify that the Remote Process User has access other than Guest access. If the group is Guests, you need to add the user to another group.

e. 13-14 Running Simulations



If you would like the Launching User to serve also as the Remote Process User (e.g. Common Configurations 1 and 3), select The launching user.



If you have chosen a particular user, select the This User option (e.g. Common Configuration 2), and enter the name of the user and the password.

Under the Security tab, verify that the following minimum permissions are

HFSS Online Help

included if you do not wish to restrict security permissions: You need not remove any pre-existing permissions.



For Launch and Activation Permissions:



Anonymous Logon: Local Launch, Remote Launch, Local Activation and Remote Activation.



Everyone: Local Launch, Remote Launch, Local Activation and Remote Activation. Note

The minimum security permissions for this setting are the following:

• • •

Interactive: Local Launch and Local Activation

For Configuration Permissions:



Machine administrators group (\Administrators): Full Control



Other users or groups you choose to allow to configure the COM engine settings: Full Control Note

f. 6.

Launching User: Remote Launch and Remote Activation

To view the currently-included users and groups: 1.

Select the Customize radio button for the permissions option you are verifying.

2.

Click the Edit... button that corresponds to the Customize radio button you selected.

3.

If a given user or group is not listed:

• •

Click Add to add a new user or group.

• •

Type the name of the user or group.



Click OK to close the Add Users dialog box. The user or group should now appear in the corresponding permissions dialog box.

Click Locations, and select the domain/workgroup in which the user you want to add is located. Click Check Names to verify that the name is correct.

Click OK to apply all of the changes to the product and version-specific Distributed COM configuration.

Click OK to apply all of the changes to the product and version-specific Distributed COM configuration.

Next Step: A(3) Configure Policy Settings for Remote Machine Running Simulations13-15

HFSS Online Help

A(3) Configuring Policy Settings for the Remote Machine Windows XP Professional (32-bit and 64-bit) and Windows Server 2003 (32-bit and 64-bit). To configure policy settings for a remote machine: 1.

Log in as an administrator to the machine on which you want to analyze — the remote machine.

2.

Click Start>Run. The Run dialog box appears.

3.

Type secpol.msc, and click OK. The Local Security Settings dialog box appears.

4.

Under Security Settings>Local Policies>User Rights Assignment, right-click Restore files and directories policy, and select Properties. The Restore files and directories dialog box appears.

5.

Verify that Everyone is listed among those users who are allowed to restore files and directories.

Note

The minimum required policy setting is Remote Process User.

Note

If a given user or group is not listed: 1.

Click Add User or Group to add a new user or group.

2.

Click Locations, and select the domain/machine on which the user you want to add is located.

3.

Type the name of the user or group.

4.

Click Check Names to verify that the name is correct.

5.

Click OK to close the Add Users dialog box. The user or group should now appear in the corresponding dialog box.

6.

Click OK to close the Restore files and directories dialog box.

7.

Close the Local Security Policy dialog box.

8.

If you made any changes to the Restore files and directories setting, you need to reboot the machine.

Next Step: A(4) Enable Firewall Access for the Remote Machine

A(4) Enabling Firewall Access on the Remote Machine Windows XP Professional (32-bit and 64-bit) and Windows Server 2003 (32-bit and 64-bit). If you have a firewall installed on the remote machine, you will need access to TCP port 135, which is used for Windows Remote Procedure Call (RPC) End Point Mapping. You will also need access to the product- and version-specific COM engines. The path to the COM engines were determined during the Configure Distributed COM for Remote Machine step above.

13-16 Running Simulations

HFSS Online Help

If the remote machine is using Windows XP Service Pack 2 or higher, Windows XP Professional x64 Edition Service Pack 1 or higher, or Windows Server 2003 Service Pack 1 or higher, Windows Firewall will have been automatically installed and enabled. You will need to add the COM engines and TCP port 135 to the list of exceptions. To add the COM engines and TCP port 135 to the list of exceptions: 1.

Log in as an administrator to the machine on which you want to analyze — the remote machine.

2.

Click Start>Settings>Control Panel (or Start>Control Panel, depending on your Windows display settings). The Control Panel window appears.

3.

Double-click Security Center. The Windows Security Center window appears.

4.

Click the Windows Firewall option. The Windows Firewall dialog box appears.

5.

Click the Exceptions tab.

6.

For each COM engine, to add it as an exception: a. b.

Click the Browse button. Browse to or type the path to the COM engine.

c.

Choose Change Scope..., and select which machines should be able to contact this program on this machine.

d. 7.

Click the Add Program button.



If you wish to restrict the machines that can run this program, choose either My network (subnet) only (should work with most networks) or Custom list.



If you do not wish to restrict the machines that can run this program, choose Any computer (including those on the Internet). Be aware that this will allow any machine, even those outside of your subnet, to communicate with this program on this machine.

Click OK to confirm the program as an exception.

To add TCP port 135: a.

Click the Add Port button.

b.

For the Name, enter descriptive text to identify this exception (e.g. RPC End Point Mapping).

c.

For the Port number, enter 135.

d.

Select TCP.

e.

Choose Change Scope..., and select which machines should be able to contact this machine via this port.



If you wish to restrict the machines for which this port is unblocked, choose either My network (subnet) only (should work with most networks) or Custom list.



If you do not wish to restrict the machines for which this port is unblocked, Running Simulations13-17

HFSS Online Help

choose Any computer (including those on the Internet). Be aware that this will allow any machine, even those outside of your subnet, to communicate with this machine via this port. f.

Click OK to confirm the port as an exception.

8.

Click OK to close the Windows Firewall dialog box.

9.

Exit the Windows Security Center and Control Panel windows.

Next Step: A(5) Configure Software Settings on Remote Machine

A(5) Configuring Software Settings on the Remote Machine Windows XP Professional (32-bit and 64-bit) and Windows Server 2003 (32-bit and 64-bit). The software settings used by the COM engine configured above are specific to the user and machine running the COM engine. This includes settings like the temporary directory or the number of processors (if available) used when analyzing. Therefore, each Remote Process User must have the product- and version-specific settings configured for remote analysis to work successfully as a given Remote Process User. Note

For Common Configuration 3, each user must log in locally to each machine and set the temporary directory before solving remotely.

To configure the software settings as a specific Remote Process User: 1.

Start the product- and version-specific software configured as the Remote Process User.

2.

Click Tools >Options >General Options. The General Options dialog box appears.

3.

Click the Project Options tab.

4.

In the field corresponding to the Temp Directory, select a path to the Temporary File Directory you want to use.

5.

Click OK to close the General Options dialog box.

6.

Configure any other settings you want to use when analyzing on the remote machine as this Remote Process User (e.g. the number of processors).

Next Step: A(6) Set Up Security Permissions on Remote Machine

A(6) Setting Up Security Permissions on the Remote Machine Windows XP Professional (32-bit and 64-bit) and Windows Server 2003 (32-bit and 64-bit). Once you have installed HFSS on the remote machine and configured Distributed COM, you need to configure the security permissions for the temporary file directory and all of the program files (by default, file permissions are inherited from the directory in which the file exists). To configure security permissions on the remote machine: 1.

Log in as an administrator to the machine on which you want to analyze — the remote machine.

2.

Edit the permissions for both the Temporary File Directory (configured above) and the

13-18 Running Simulations

HFSS Online Help

directory in which the COM engines are located. The path to each COM engine was determined during the Configure Distributed COM for Remote Machine step above. To edit the permissions of a particular directory, do the following: a.

In Windows Explorer, right-click the directory you are configuring, and click Properties.

b.

Click the Security tab. If it is not shown, then you may not be using the NTFS file system. You may be able to skip the following steps for this directory.

c.

If the Everyone system identity is not listed among the users, click Add, and enter the name of the user you want to add. Note

The minimum permission required for this setting is Remote Process User.

d.

If the Remote Process User is not listed among the users, click Add, and enter the name of the user you want to add.

e.

Add the necessary permissions to the directory. The Temporary File Directory requires read, write, and delete permissions, and the directory in which each COM engine is located requires read and execute permissions.

Next Step: A(7) Analyze a Test Design as a Remote User on the Remote Machine

A(7) Analyzing a Test Design as a Remote User on the Remote Machine Windows XP Professional (32-bit and 64-bit) and Windows Server 2003 (32-bit and 64-bit). Finally, you should log into the remote machine as the Remote Process User and analyze a test design on the remote machine. If you have any problems solving the test design, resolve these issues before configuring the local machine. Next Section: Configure the Local Machine

B. Configuring the Remote Machine for Unix This section describes how to set up the remote machine.You should follow these steps in order. Please note that the first five steps are the same as with the Local Machine Configuration for Unix machines. If you have already completed these steps, you may skip to the sixth step. 1.

(Linux Only) Ensure loopback adapter not associated with machine name

2.

Install Visual MainWin Remote Security Authority

3.

Install MainWin Core Services on Remote Machine

4.

Configure MainWin Core Services for Remote Machine

5.

Configure Port Access for Remote Machine

6.

Install and Configure Ansoft products in Incoming Request mode

7.

Automating the Remote Machine Configuration

B(1) (Linux Only) Ensure loopback adapter not associated with remote

Running Simulations13-19

HFSS Online Help

machine name Unix On some machines, the machine may find its loopback adapter as the first IP address associated with it. If this is the case, then the machine may not communicate properly across the network. Determine whether the loopback adapter is associated with the machine name 1.

Ping both your machine name and "localhost", and get the IP address associated with each.

2.

If the IP addresses returned from both commands are the same, then you will be unable to connect to remote machines. You must correct this before proceeding.

Remove the loopback adapter association with the machine name Directions to properly associate your network IP address with the machine name depend on the type of network configured. Determine network configuration types 1.

Open the /etc/nsswitch.conf file.

2.

Look at the first uncommented line that starts with "hosts:". If any of the entries in this line read "files", then you may be using the /etc/hosts file for network identification and should proceed with the below steps. Otherwise, you will need to look into the network configurations you are using.

Inspect /etc/hosts file for loopback adapter association 1.

Open the /etc/hosts file.

2.

Look at the first uncommented line that includes the word "localhost". This is the loopback adapter entry.

3.

If the loopback adapter line also includes your machine name, then it is possible that this entry is causing the machine to associate itself with the loopback adapter. If the machine name is included in the loopback adapter line:

4.

Remove the machine name from the loopback adapter line.

5.

Re-run the "Determine whether the loopback adapter is associated with the machine name" section above. a.

If the IP addresses are now different, then you have corrected the problem.

b.

If the IP addresses are still the same, then this problem is being caused by a different network methodology. You will need to determine the source of the issue.

Note

If the ping command no longer knows the IP address associated with the machine, then you must add this information to the /etc/hosts file. You can determine the IP address by running /sbin/ifconfig.

Next Step: B(2) Install Visual MainWin Remote Security Authority

13-20 Running Simulations

HFSS Online Help

B(2) Install Visual MainWin Remote Security Authority

Note

This step is only necessary if you plan to use a mixed environment (both Windows and Unix machines) with remote analysis. It must be installed whether or not the Windows machines will be used as local machines and/or a remote machines.

Unix Visual MainWin Remote Security Authority (remotesa) is a Windows service that allows authentication between Windows and Unix machines. It must be installed on a domain controller for the domain where authentication is used. Note

Requirements for installing remotesa: 1.

It must be installed on a Windows machine that the Unix machines can see.

2.

Every user who will solve cross-platform to or from a Windows machine will be authenticated by name through remotesa. The names of these users must be defined locally on the machine running remotesa. If these users are defined on the domain, then you should install remotesa on a domain controller. If you do not wish to install remotesa on the domain controller, or you do not have a domain controller, then you will need to add these users as local users on the machine running remotesa.

To install Visual MainWin Remote Security Authority: 1.

Log in as an administrator to a primary domain controller.

2.

Using one of the Ansoft software CDs for a Unix operating system, browse to the remotesa subdirectory.

3.

Run setup.exe to begin installation of the Visual MainWin Remote Security Authority.

4.

Follow the prompts for installation, making note of the remotesa security password entered. You will need this password for the configuration of all Unix clients.

Next Step: B(3) Install MainWin Core Services on Remote Machine

B(3) Install MainWin Core Services on Remote Machine Unix MainWin Core Services is a Unix service that allows for incoming and outgoing analysis requests on Unix machines. It must be installed and configured on each Unix machine that will be involved with remote analysis. For each Unix machine that requires MainWin Core Services, to install MainWin Core Services: 1.

Using one of the Ansoft software CDs for a Unix operating system, launch the installation shell as root.

2.

Choose Install MainWin Core Services. A new window appears.

3.

If MainWin Core Services are already installed, you will be prompted to uninstall and reinstall Running Simulations13-21

HFSS Online Help

them. If you choose to uninstall and reinstall MainWin Core Services, enter Yes. 4.

Enter the directory to which MainWin Core Services should be installed. If the directory does not exist, you will need to confirm that you wish to create this directory. If the directory already exists and contains files or directories, you will need to confirm removal of those files and directories.

5.

MainWin Core Services also creates a data directory in which machine-related information is stored. The MainWin Core Services administrator (determined later in this process) must have write access to this directory. By default, the MainWin Core Services data directory is set to the mwcoredata subdirectory of the installation directory. If you wish to change the data directory to something other than the default, enter Yes. Otherwise, enter No.

6.

If you choose to use a data directory other than the default, enter the directory to which the MainWin Core Services data should be written. If the directory does not exist, you will need to confirm that you wish to create this directory. If the directory already exists and contains files or directories, you will need to confirm removal of those files and directories.

7.

Once the installation is complete, the MainWin Core Services configuration is automatically launched.

Next Step: B(4) Configure MainWin Core Services for Remote Machine

B(4) Configure MainWin Core Services for Remote Machine Unix MainWin Core Services is a Unix service that allows for incoming and outgoing analysis requests on Unix machines. It must be installed and configured on each Unix machine that will be involved with remote analysis. For each Unix machine that requires MainWin Core Services, the MainWin Core Services configuration script is launched once the installation is complete. You can also launch the MainWin Core Services configuration script at another time. To launch the script manually, run the mwcore_config script, a link to which is located in /usr/bin. Once the MainWin Core Services configuration script is launched, you will be asked a series of questions to configure MainWin Core Services: 1.

Enter the name of the user who will be permitted to change the configuration settings for MainWin Core Services, the MainWin Core Services Administrator. The administrator may be root or any other user that exists on this machine.

Note 2.

This value can only be changed by root.

Indicate whether you will be using Windows machines for incoming and/or outgoing analysis requests.



If you enter No, you are indicating that Windows machines will not be used for incoming and/or outgoing analysis requests.



If you enter Yes, you are indicating that Windows machines will be used for incom-

13-22 Running Simulations

HFSS Online Help

ing and/or outgoing analysis requests. If you entered No to question 2, indicating you will not be using any Windows machines: a.

Enter a port number greater than 1024 for communication with other machines (known as the RPC port). This port must be available on all local and remote machines that will be involved in remote analysis.

If you entered Yes to question 2, you will be using Windows machines. The RPC port, used for communication with other machines, will automatically be set to 135. a.

If you have never completed the MainWin Core Services configuration for mixed environments, you will be asked to verify whether Visual MainWin Remote Security Authority (remotesa) is installed on an appropriate Windows machine. If you have not installed it, you will need to install remotesa before completing the MainWin Core Services configuration. If you have already verified that Visual MainWin Remote Security Authority is installed, the script will indicate this and proceed to the next step.

b.

Enter the name of the machine on which the remotesa was installed, either as a machine name or IP address.

c.

Enter the remotesa security password used when Visual MainWin Remote Security Authority was installed when Remote Security Authority was installed. The password entered must be the same as the one entered when Remote Security Authority was installed, or authentication services with this machine will not function.

Note

If the password has already been entered, you will be asked whether you wish to change the password. If you enter Yes, then you will be prompted for the password as mentioned above.

d.

Press Enter to accept the default remotesa security authentication (RSA) port of 667. If you changed the remotesa security authentication port, enter that value and press Enter.

e.

Enter the value of the environment variable USERDOMAIN when logged into the machine specified in (b) as one of the users who will solve cross platform.

• •

If the users are domain users, then this value should be the domain name. If the users are machine users, then the value should be the machine name.

Once the above steps are complete, MainWin Core Services will be configured, and a summary will displayed showing the MainWin Core Services configuration. The Configuration File listed in the summary can be used to automate installations on other machines. To check the status of MainWin Core Services in the future, run mwcore_config summary. Next Step: B(5) Configure Port Access for Remote Machine

B(5) Configure Port Access for Remote Machine Unix

Running Simulations13-23

HFSS Online Help

During the configuration of MainWin Core Services, the RPC port was configured as well as remotesa security authentication (RSA) port if a heterogeneous (Windows and Unix) environment was specified. The ports must be accessible within the domain on which the machines are configured. Next Step: B(6) Install and Configure Ansoft products in Incoming Request mode

B(6) Install and Configure Ansoft products in Incoming Request mode Unix You must also configure each Ansoft product that will be receiving analysis requests. For each product, you will need to install the product and then configure the product settings in incoming request mode so that any users who wish to use this machine have proper product settings.

Note

Outgoing request mode is automatically configured when you configure incoming request mode.

To configure a product in incoming request mode: 1.

Go to the product-specific subdirectory of the installation directory.

2.

Run .remote -remote_config as either the MCS Administrator or root. For instance, to configure HFSS in incoming request mode, you would run hfss.remote -remote_config.

3.

Enter Yes to indicate that this product should include support for analysis requests sent to this machine.

4.

A configuration summary will now be displayed that indicates the software is about to be launched in incoming request mode. Review the information and, when complete, press Enter to start the software in incoming request mode.

Note

5.

If the software detects that the initial settings have not yet been configured, it will do so before starting the software.

Once the software is launched, the software will start and open a test example. You need to configure the settings that will be used when a solve request is sent to this machine. Important settings include the Temp Directory (found under Tools > Options > General Options), which is the directory to which the software will write temporary information. All users who will send analysis requests, including the nobody user, will need access to this directory, so it is best to give full read/write/execute permissions in this directory.

6.

Once the software has been configured, solve a test example to verify the settings are proper.

Next Step: B(7) Automating the Remote Machine Configuration

13-24 Running Simulations

HFSS Online Help

B(7) Automating the Remote Machine Configuration Unix It is possible to automate the MainWin Core Services installation and configuration. This is particularly useful when you need to install and configure MainWin Core Services on a number of different machines. Automation Method 1: MainWin Core Services configuration file When MainWin Core Services is installed, a configuration file is created that contains the settings entered during installation and configuration. An example file is shown below: $begin MCSInstall MCSInstallDir="/opt/mainsoft/mwcore" MCSDataDir="/opt/mwcoredata" MCSOverwriteInstall="No" $end MCSInstall $begin MCS MSCAdmin="root" MSecType="win" RPCportnum=135 MSecDomain="WINDOMAIN" MSecDomainSvr="192.168.51.100" MSecPort=667 MSecPasswd="" RemoteSAInstalled="Yes" $end MCS The first section, MCSInstall, contains the settings used to install MainWin Core Services: MCSInstallDir: Installation directory for MainWin Core Services MCSDataDir: Data directory for MainWin Core Services. If not specified, the data directory is set to the mwcoredata subdirectory of the installation directory. MCSOverwriteInstall: If the software is already installed, this specifies whether or not to overwrite the installation. The second section, MCS, contains the settings used to configure MainWin Core Services: MSCAdmin: MainWin Core Services administrator (the user who can configure MainWin Core Services) MSecType: Core Services configuration type. If Windows machines are to be used for incoming and/or outgoing requests, this value should be win. Otherwise, it should be unix. RPCportnum: The port used to send data while solving. If MSecType is set to win, then this value must be 135. Otherwise, it can be any value greater than 1024.

Running Simulations13-25

HFSS Online Help

If MSecType is set to win, then there are additional entries required in the MCS section of the configuration file: RemoteSAInstalled: Indicates whether Remote Security Authority is installed. Must be set to yes to proceed. MSecDomainSvr: Machine on which Remote Security Authority (remotesa) is installed. MSecPasswd: Remotesa security password used when installing remotesa. Note that this value is not retained in the configuration file that is created at the end of the installation. MSecPort: Value of the remotesa security authentication port. If this was not manually changed when installing remotesa, the value is 667. MSecDomain: Value of the USERDOMAIN environment variable on the machine on which remotesa is installed. To use the configuration file to install and configure MainWin Core Services, browse to the //MCS directory, and run: ./install -import Automation Method 2: Copying MainWin Core Services configuration files and settings If you are using a machine cluster or compute nodes, you may be using a configuration where you install all programs on one machine and then mirror all files to each compute node. If this is the case, then you will need to configure the machine on which the software is installed, and then copy those settings to other machines. Note

The following only works when the products and MainWin Core Services are installed to the same path on the source machine and the destination machines.

1.

Run through the installation and configuration of MainWin Core Services per the instructions in sections B(2) through B(5). You should be able to keep the default settings for the core data directory when installing MainWin Core Services. Also, make sure the user specified as the MainWin Core Services administrator exists on the compute nodes.

2.

Install any Ansoft products you wish to use, and configure them per the instructions listed in B(6).

3.

Mirror the following files and directories to the compute nodes:

Files: /etc/mainwin.conf /usr/bin/mwcore_config Startup files:



Red Hat: /etc/rc.d/init.d/mwcore_services /etc/rc.d/rc#.d/S##mwcore_services



Solaris:

13-26 Running Simulations

HFSS Online Help

/etc/init.d/mwcore_services /etc/rc#.d/S##mwcore_services



SuSE: /etc/rc.d/mwcore_services /etc/rc.d/rc#.d/S##mwcore_services

Directories: MainWin Core Services installation directory (all files and subdirectories) MainWin Core Services data directory (all files and subdirectories) All Ansoft product directories Note

If the default directory was chosen for the MainWin Core Services data directory, then the data directory will be a subdirectory of the installation directory.

Next Section: Configure the Local Machine

Configuring the Local Machine • A. Windows XP Professional (32-bit and 64-bit) and Windows Server 2003 (32-bit and 64-bit) • B. Unix A. Configuring the Local Machine for Windows XP Professional (32-bit and 64-bit) and Windows Server 2003 (32-bit and 64-bit) This section describes how to set up the local machine. You should follow these steps in order. 1.

Local Machine Configuration Prerequisites

2.

Configure Distributed COM for the Local Machine

3.

Enable Firewall Access for Local Machine

4.

Configure the Software on the Local Machine

A(1) Local Machine Configuration Prerequisites Windows XP Professional (32-bit and 64-bit) and Windows Server 2003 (32-bit and 64-bit). Before configuring the local machine, do the following: 1.

Log in as an administrator on the machine on which you want to set up projects– the local machine.

2.

Install the version-specific software that you installed on the remote machine.

Next Step: A(2) Configure Distributed COM for the Local Machine

A(2) Configuring Distributed COM on a Local Machine Windows XP Professional (32-bit and 64-bit) and Windows Server 2003 (32-bit and 64-bit). To configure distributed COM for a local machine: 1.

Log in as an administrator to the machine on which you want to set up projects — the Running Simulations13-27

HFSS Online Help

local machine. 2.

Click Start>Run, and type dcomcnfg.

3.

Click OK to start the DCOM Configuration window.

4.

Set the My Computer properties: a.

Under Console Root>Component Services>Computers, right-click My Computer, and select Properties. The My Computer Properties dialog box appears.

b.

Under the Default Properties tab, make sure the Enable Distributed COM on this computer check box is checked.

c.

Under the Default Properties tab, make sure the Default Authentication Level is set to Connect (or None if using non-domain accounts, or if any of the remote machines are Unix).

d.

Under the COM Security tab, verify that the following permissions are included if you do not wish to restrict security permissions: You need not remove any pre-existing permissions.



For Access Permissions, the Edit Default button:

• •

Everyone: Remote Access Anonymous Logon: Remote Access Note

The minimum security permissions for this setting are the following:

• •



Everyone: Local Access and Remote Access Anonymous Logon: Remote Access. Note

13-28 Running Simulations

If the Remote Process User is set to The launching user on any remote machine (e.g. Common Configurations 1 and 3), or if the remote process user is a non-domain machine account, grant Remote Access to the Anonymous Logon.

For Access Permissions, the Edit Limits button:

• •



Remote Process User: Remote Access

Grant Remote Access to Anonymous Logon if any of the following are true:



The Remote Process user is set to The launching user on any remote machine.

• •

The remote process user is a non-domain account. The Default Authentication Level is set to None on the Local Machine.

For Launch and Activation Permissions, the Edit Limits button:

HFSS Online Help



Everyone: Local Activation Note

The minimum security permissions for this setting are the following:

• Note

Local User: Local Activation

If a given user or group is not listed: 1.

Click Add to add a new user or group.

2.

Click Locations, and select the domain/workgroup in which the user you want to add is located.

3.

Type the name of the user or group.

4.

Click Check Names to verify that the name is correct.

5.

Click OK to close the Add Users dialog box. The user or group should now appear in the corresponding permissions dialog box.

5.

If any changes were made, click OK to apply all of the changes.

6.

Exit the Component Services window.

7.

Restart any Ansoft software if any changes were made during this process.

Next Step: A(3) Enable Firewall Access for Local Machine

A(3) Enabling Firewall Access for the Local Machine Windows XP Professional (32-bit and 64-bit) and Windows Server 2003 (32-bit and 64-bit). If you have a firewall installed on the remote machine, the runtime application needs access through it. You also need access to TCP port 135, which is used for Windows Remote Procedure Call (RPC) End Point Mapping. If the local machine is using Windows XP Service Pack 2, a firewall was automatically installed and enabled when the service pack was installed. You will need to add the runtime application and TCP port 135 to the list of exceptions in the Windows Firewall settings: If the remote machine is using Windows XP Service Pack 2 or higher, Windows XP Professional x64 Edition Service Pack 1 or higher, or Windows Server 2003 Service Pack 1 or higher, Windows Firewall was automatically installed and enabled. You will need to add the runtime application and TCP port 135 to the list of exceptions. To add the runtime application and TCP port 135 to the list of exceptions: 1.

Click Start>Settings>Control Panel (or Start>Control Panel, depending on your Windows display settings). The Control Panel window appears.

2.

Double-click Security Center. The Windows Security Center window appears.

3.

Click the Windows Firewall option. Running Simulations13-29

HFSS Online Help

The Windows Firewall dialog box appears. 4.

Click the Exceptions tab.

5.

To add the installed application: a.

Click the Add Program button.

b.

If the installed application is listed (e.g., HFSS 11), select the program from the list. Otherwise, click the Browse button, and browse to the location of the application.

c.

Choose Change Scope..., and select which machines should be able to contact this program on this machine.

d. 6.



If you wish to restrict the machines that can run this program, choose either My network (subnet) only (should work with most networks) or Custom list.



If you do not wish to restrict the machines that can run this program, choose Any computer (including those on the Internet). Be aware that this will allow any machine, even those outside of your subnet, to communicate with this program on this machine.

Click OK to confirm the program as an exception.

To add TCP port 135: a.

Click the Add Port button.

b.

For the Name, enter descriptive text to identify this exception (e.g. RPC End Point Mapping).

c.

For the Port number, enter 135.

d.

Select TCP.

e.

Choose Change Scope..., and select which machines should be able to contact this machine via this port.

f.



If you wish to restrict the machines for which this port is unblocked, choose either My network (subnet) only (should work with most networks) or Custom list.



If you do not wish to restrict the machines for which this port is unblocked, choose Any computer (including those on the Internet). Be aware that this will allow any machine, even those outside of your subnet, to communicate with this machine via this port.

Click OK to confirm the port as an exception.

7.

Click OK to close the Windows Firewall dialog box.

8.

Exit the Windows Security Center and Control Panel windows.

Next Step: A(4) Configure the Software on the Local Machine

A(4) Configuring the Software on the Local Machine Windows XP Professional (32-bit and 64-bit) and Windows Server 2003 (32-bit and 64-bit). Finally, the software that will be used as the local machine for remote analysis must be configured. The software settings are specific to the Local User starting HFSS on the local machine. 13-30 Running Simulations

HFSS Online Help

Therefore, each Local User must have the product- and version-specific settings configured for remote analysis in order to use remote analysis. To configure the software on the local machine: 1.

Start HFSS on the local machine as a Local User.

2.

Once the software has started, click Tools>Options>General Options. The General Options dialog box appears.

3.

Click the Analysis Options tab.

4.

Under Design Analysis Options, do one or more of the following to configure the remote analysis settings on a per-design basis:

5.

Note

a.

If you would like to select the machine to which to send the analysis immediately before analyzing, select Prompt for analysis machine when launching analysis.

b.

Under Analysis Machine Options, select whether the default analysis machine should be the local machine (Local), a remote machine (Remote), or should reference a machine list (Distributed).

c.

If you selected Remote, enter the machine information either as an IP address, a DNS name, or a UNC name.

d.

If you selected Distributed, press Edit... and enter the machine information.

Under Remote Analysis Options, select the user who should be the Launching User from Send analysis request as: a.

If the Local User will also be the Launching User, select Current User.

b.

If you want to specify a particular Launching User, select Specified User, and enter the user name, password, and domain/workgroup credentials for the Launching User. These are verified only when analyzing.

The settings in the Remote Analysis Options section are only used when the analysis machine is a remote machine (IP Address, DNS Name, or UNC Name).

6.

Click OK to close the General Options dialog box.

7.

Set up a project to test the remote solution capability.

8.

Once the project setup is complete, choose HFSS>Analyze All.

9.

If you have selected Prompt for analysis machine when launching analysis on the Design Analysis Options, the Server Setup dialog appears, select the machine on which you want to run the analysis, and click OK. If it runs successfully, this configuration is complete. Otherwise, review the Troubleshooting section to resolve the problem.

B. Configuring the Local Machine for Unix This section describes how to set up the local machine (the machine that sends out analysis requests). You should follow these steps in order. Running Simulations13-31

HFSS Online Help

Please note that the first five steps are the same as with the Remote Machine Configuration for Unix machines. If you have already completed these steps, you may skip to the sixth step. 1.

(Linux Only) Ensure loopback adapter not associated with machine name

2.

Install Visual MainWin Remote Security Authority

3.

Install MainWin Core Services on Local Machine

4.

Configure MainWin Core Services for Local Machine

5.

Configure Port Access for Local Machine

6.

Install and Configure Ansoft products in Outgoing Request mode

7.

Starting Ansoft products in Outgoing Request mode

B(1) (Linux Only) Ensure loopback adapter not associated with local machine name Unix On some machines, the machine may find its loopback adapter as the first IP address associated with it. If this is the case, then the machine may not communicate properly across the network. Determine whether the loopback adapter is associated with the machine name 1.

Ping both your machine name and "localhost", and get the IP address associated with each.

2.

If the IP addresses returned from both functions are the same, then you will be unable to connect to remote machines. You must correct this before proceeding.

Remove the loopback adapter association with the machine name Directions to properly associate your network IP address with the machine name depend on the type of network configured. Determine network configuration types 1.

Open the /etc/nsswitch.conf file.

2.

Look at the first uncommented line that starts with "hosts:". If any of the entries in this line read "files", then you may be using the /etc/hosts file for network identification and should proceed with the below steps. Otherwise, you will need to look into the network configurations you are using.

Inspect /etc/hosts file for loopback adapter association 1.

Open the /etc/hosts file.

2.

Look at the first uncommented line that includes the word "localhost". This is the loopback adapter entry.

3.

If the loopback adapter line also includes your machine name, then it is possible that this entry is causing the machine to associate itself with the loopback adapter. If the machine name is included in the loopback adapter line:

4.

Remove the machine name from the loopback adapter line.

5.

Re-run the "Determine whether the loopback adapter is associated with the machine name" section above.

13-32 Running Simulations

HFSS Online Help

a.

If the IP addresses are now different, then you have corrected the problem.

b.

If the IP addresses are still the same, then this problem is being caused by a different network methodology. You will need to determine the source of the issue.

Note

If the ping command no longer knows the IP address associated with the machine, then you must add this information to the /etc/hosts file. You can determine the IP address by running /sbin/ifconfig.

Next Step: B(2) Install Visual MainWin Remote Security Authority

B(2) Install Visual MainWin Remote Security Authority (VMRSA)

Note

This step is only necessary if you plan to use a mixed environment (both Windows and Unix machines) with remote analysis. It must be installed whether or not the Windows machines will be used as local machines and/or remote machines.

Unix Visual MainWin Remote Security Authority (remotesa) is a Windows service that allows authentication between Windows and Unix machines. It must be installed on a primary domain controller for the domain where authentication is used.

Note

Requirements for installing remotesa: 1.

It must be installed on a Windows machine that the Unix machines can see.

2.

Every user who will solve cross-platform to or from a Windows machine will be authenticated by name through remotesa. The names of these users must be defined locally on the machine running remotesa. If these users are defined on the domain, then you should install remotesa on a domain controller. If you do not wish to install remotesa on the domain controller, or you do not have a domain controller, then you will need to add these users as local users on the machine running remotesa.

To install Visual MainWin Remote Security Authority: 1.

Log in as an administrator to a primary domain controller.

2.

Using one of the Ansoft software CDs for a Unix operating system browse to the remotesa subdirectory.

3.

Run setup.exe to begin installation of the Visual MainWin Remote Security Authority.

4.

Follow the prompts for installation, making note of the remotesa security password entered. You will need this password for the configuration of all Unix clients.

Next Step: B(3) Install MainWin Core Services on Local Machine Running Simulations13-33

HFSS Online Help

B(3) Install MainWin Core Services on Local Machine Unix MainWin Core Services is a Unix service that allows for incoming and outgoing analysis requests on Unix machines. It must be installed and configured on each Unix machine that will be involved with remote analysis. For each Unix machine that requires MainWin Core Services, to install MainWin Core Services: 1.

Using one of the Ansoft software CDs for a Unix operating system, launch the installation shell as root.

2.

Choose Install MainWin Core Services. A new window appears.

3.

If MainWin Core Services are already installed, you will be prompted to uninstall and reinstall them. If you choose to uninstall and reinstall MainWin Core Services, enter Yes.

4.

Enter the directory to which MainWin Core Services should be installed. If the directory does not exist, you will need to confirm that you wish to create this directory. If the directory already exists and contains files or directories, you will need to confirm removal of those files and directories.

5.

MainWin Core Services also creates a data directory in which machine-related information is stored. The MainWin Core Services administrator (determined later in this process) must have write access to this directory. By default, the MainWin Core Services data directory is set to the mwcoredata subdirectory of the installation directory. If you wish to change the data directory to something other than the default, enter Yes. Otherwise, enter No.

6.

If you choose to use a data directory other than the default, enter the directory to which the MainWin Core Services data should be written. If the directory does not exist, you will need to confirm that you wish to create this directory. If the directory already exists and contains files or directories, you will need to confirm removal of those files and directories.

7.

Once the installation is complete, the MainWin Core Services configuration is automatically launched.

Next Step: B(4) Configure MainWin Core Services for Local Machine

B(4) Configure MainWin Core Services for Local Machine Unix MainWin Core Services is a Unix service that allows for incoming and outgoing analysis requests on Unix machines. It must be installed and configured on each Unix machine that will be involved with remote analysis. For each Unix machine that requires MainWin Core Services, the MainWin Core Services configuration script is launched once the installation is complete. You can also launch the MainWin Core Services configuration script at another time. To launch the script manually, run the mwcore_config script, a link to which is located in /usr/bin. Once the MainWin Core Services configuration script is launched, you will be asked a series of questions to configure MainWin Core Services: 1.

Enter the name of the user who will be permitted to change the configuration settings for Main-

13-34 Running Simulations

HFSS Online Help

Win Core Services, the MainWin Core Services Administrator. The administrator may be root or any other user that exists on this machine.

Note 2.

This value can only be changed by root.

Indicate whether you will be using Windows machines for incoming and/or outgoing analysis requests.



If you enter No, you are indicating that Windows machines will not be used for incoming and/or outgoing analysis requests.



If you enter Yes, you are indicating that Windows machines will be used for incoming and/or outgoing analysis requests.

If you entered No to question 2, indicating you will not be using any Windows machines: a.

Enter a port number greater than 1024 for communication with other machines (known as the RPC port). This port must be available on all local and remote machines that will be involved in remote analysis.

If you entered Yes to question 2, you will be using Windows machines. The RPC port, used for communication with other machines, will automatically be set to 135. a.

If you have never completed the MainWin Core Services configuration for mixed environments, you will be asked to verify whether Visual MainWin Remote Security Authority (remotesa) is installed on an appropriate Windows machine. If you have not installed it, you will need to install remotesa before completing the MainWin Core Services configuration. If you have already verified that Visual MainWin Remote Security Authority is installed, the script will indicate this and proceed to the next step.

b.

Enter the name of the machine on which remotesa was installed, either as a machine name or IP address.

c.

Enter the remotesa security password used when Visual MainWin Remote Security Authority was installed. The password entered must be the same as the one entered on Visual MainWin Remote Security Authority, or authentication services with this machine will not function.

Note

If the password has already been entered, you will be asked whether you wish to change the password. If you enter Yes, then you will be prompted for the password as mentioned above.

d.

Press Enter to accept the default remotesa security authentication (RSA) port of 667. If you changed the remotesa security authentication port, enter that value and press Enter.

e.

Enter the value of the environment variable USERDOMAIN when logged into the machine specified in (b) as one of the users who will solve cross platform. Running Simulations13-35

HFSS Online Help

• •

If the users are domain users, then this value should be the domain name. If the users are machine users, then the value should be the machine name.

Once the above steps are complete, MainWin Core Services will be configured, and a summary will be displayed showing the MainWin Core Services configuration. The Configuration File listed in the summary can be used to automate installations on other machines. To check the status of MainWin Core Services in the future, run mwcore_config summary. Next Step: B(5) Configure Port Access for Local Machine

B(5) Configure Port Access for Local Machine Unix During the configuration of MainWin Core Services, the RPC port was configured as well as remotesa security authentication (RSA) port if a heterogeneous (Windows and Unix) environment was specified. The ports must be accessible within the domain on which the machines are configured. Next Step: B(6) Install and Configure Ansoft products in Outgoing Request mode

B(6) Install and Configure Ansoft products in Outgoing Request mode Unix Outgoing Request mode allows a user to send analysis requests to machines other than the local machine. You must also configure each Ansoft product that will be sending analysis requests. For each product, you will need to install the product and then configure the product settings in outgoing request mode so that any users who wish to use this machine have proper product settings.

Note

Outgoing request mode is automatically configured when you configure incoming request mode.

To configure a product in outgoing request mode: 1.

Go to the product-specific subdirectory of the installation directory.

2.

Run .remote –remote_config as either the MCS Administrator or root. For instance, to configure HFSS in outgoing request mode, you would run hfss.remote – remote_config.

3.

If this product should not include support for analysis requests, enter No. Otherwise, follow the steps for the remote machine configuration for Unix machines.

4.

A message will appear that indicates the software is about to be launched in outgoing request mode. Review the information and, when complete, press Enter to start the software in outgoing request mode.

13-36 Running Simulations

HFSS Online Help

Note

5.

If the software detects that the initial settings have not yet been configured, it will do so before starting the software.

Once the software has been configured, the software will start and open a test example. You should solve this example to verify the settings. If it runs successfully, this configuration is complete. Otherwise, review the Troubleshooting section to resolve the problem.

Next Step: B(7) Starting Ansoft products in Outgoing Request mode

B(7) Starting products in Outgoing Request mode Unix After the software has been installed and configured, to launch the software in outgoing request mode, you should run .remote. For instance, to launch HFSS in outgoing request mode, you would run hfss.remote.

Running Simulations13-37

HFSS Online Help

Troubleshooting Issue

Solution

The following error appears when I try to analyze my design after a long hang:



Verify that machine_name refers to the machine you were trying to use and does not contain any typos.

Unable to locate or start COM engine on ‘machine_name’ : The RPC server is unavailable.



Verify that the remote machine is turned on. You may wish to try ping machine_name to test connectivity to that machine.



Verify that the RPC port is open, i.e. that no firewall is blocking it. If this simulation is on Windows, the RPC port is 135. If this is only on Unix, then run mwcore_config summary to determine the port number.

The following error appears immediately when I try to analyze my design: Unable to locate or start COM engine on ‘machine_name’ : The RPC server is unavailable.

To verify that this port is available, run telnet machine_name RPC_port_number.



13-38 Running Simulations



If the port is not open, telnet will show an error like: Connecting to machine_name...Could not open connection to the host, on port RPC_port_number: Connect failed



If the port is open, telnet will appear to hang.

Verify that the COM engine that was configured is allowed to communicate through any firewalls configured on the remote machine. Also, terminate any hanging COM engine processes on the remote machine.

HFSS Online Help

The following error appears when I try Check the following on the remote machine: to analyze my design: If the OS is Windows: Unable to locate or start COM engine • If there is a COM engine running for the product that on ‘machine_name’ : Access is is failing: denied. • (a) Terminate the COM engine.



(b) Verify the machine-level Local Access Limit permission is enabled for the launching user (or Anonymous Logon if the Launching User is the same as the Local User).



Verify the machine-level Remote Access Limit permission is enabled for the Launching User (or Anonymous Logon if the Launching User is the same as the Local User).



Verify the machine-level Remote Launch Limit and Remote Activation Limit permissions are enabled for the Launching User (or Anonymous Logon if the Launching User is the same as the Local User).



Verify the COM engine-specific Remote Launch and Remote Activation permissions are enabled for the Launching User.



Verify that Enable Distributed COM on this computer is enabled on the remote machine.

Check the following on the local machine: If the OS is Windows:



Verify the machine-level Local Access Limit is enabled for the Local User.



Verify the machine-level Local Activation Limit permission is enabled for the Local User.



Verify that Enable Distributed COM on this computer is enabled on the local machine.

If all the above has been verified, reboot the local and remote machines to refresh cached settings.

Running Simulations13-39

HFSS Online Help

(continued)



If the OS on the Local Machine is a Unix OS (e.g. Solaris, Linux), run mwcore_config summary on the Unix machine.



Verify that the remotesa server specified in the summary matches the machine on which Visual MainWin Remote Security Authority (remotesa) is installed.



Verify that the remotesa authentication port specified in the summary matches the port on which Visual MainWin Remote Security Authority (remotesa) is installed. Unless this value was specifically changed in the remotesa installation, the value should be 667.



Verify that the USERDOMAIN value as specified in the summary matches the users who will be solving cross-platform.



Run mwcore_config, and when prompted whether or not you wish to change the password, enter Yes. Type the same password entered on the remotesa server.

If the above has all been verified, reboot the local and remote machines to refresh cached settings.

13-40 Running Simulations

HFSS Online Help

The following error appears when I try Check the following on the remote machine: to analyze my design: If the OS is Windows: Unable to start analysis on machine • If there is a COM engine running for the product that ‘machine_name’ : Access is denied. is failing:

• •

(a) Terminate the COM engine. (b) Verify the machine-level Remote Access Limit permission is enabled for the Local User (or Anonymous Logon if the default authentication on the Local Machine is None).

Check the following on the local machine: If the OS is Windows:



Verify the machine-level Remote Access Limit permission is enabled for the Remote Process User (or Anonymous Logon if the Remote Process user is set to The launching user or the Default Authentication Level on the Local Machine is None).



If the OS on any remote machine is Unix, ensure that the Default Authentication Level is None.



Verify the product used to launch remote analysis is allowed to communicate through any firewalls connected to the machine.

If the above has all been verified, reboot the local and remote machines to refresh the cached settings. The following error appears when I try Check the following on the local machine: to analyze my design: If the OS is Windows: Unable to start analysis on machine • Verify the machine-level Remote Access Default ‘machine_name’ : The server threw permission is enabled for the Remote Process User an exception. (or Anonymous Logon if the Remote Process User is set to The launching user). The following error appears when I try Check the following on the remote machine: to analyze my design: If the OS is Windows: Unable to locate or start COM Verify the machine-level Local Access Limit permissions engines on ‘machine_name’: Server is enabled for the Remote Process User. execution failed.

Running Simulations13-41

HFSS Online Help

The following error appears when I try This message appears if the COM engine is missing on the remote machine, or if the user does not have execute to analyze my design: Unable to locate or start COM engine permissions on the COM engine. on ‘machine_name’ : Class not registered.



Verify that the software is installed on the remote machine.



Verify that the COM engine is properly registered on the remote machine. The following error appears when I try The user listed as "This user" on the remote machine’s DCOM configuration has the wrong password entered. to analyze my design: Unable to locate or start COM engine To correct the problem, enter the correct password for the user listed as "This user". on ‘machine_name’ : The server process could not be started because the configured identity is incorrect. Check the user name and password. The Self user has no Local Access limit permissions on the remote machine. Add Local Access permissions for the Self user on the remote machine and reattempt Failed to check out license hfss_solve. analysis. Bad encryption handshake with vendor daemon (FLEXlm Error -33). The following errors appear immediately when I try to analyze my design:

The following error appears immediately when I try to analyze my design:

The remote process user listed in username has never run the software on, or has never logged on to the remote machine listed in machine_name.

Unable to load into the registry the You must add the user on to the remote machine, log into the remote machine as that user, and run the software one profile for the user username. Simulation completed with execution time to configure the runtime settings for that user. error on server: machine_name. The following error appears immediately when I try to analyze my design:

The remote process user listed in username has either never been added as a user on the remote machine, or has never logged into the remote machine listed in machine_name.

Unable to locate the profile for the user username. Simulation completed You must add the user to the remote machine, log into the remote machine as that user, and run the software one with execution error on server: time to configure the runtime settings for that user. machine_name.

13-42 Running Simulations

HFSS Online Help

The following error appears immediately when I try to analyze my design:

The Remote Process user either has not been added as a user on the remote machine or has never run the software on the remote machine.

Unable to create simulation working You must add the user on to the remote machine, log into directory within temp dir: temporary the remote machine as that user, and run the software one time to configure the runtime settings for that user. directory - simulating on machine_ name. Simulation completed with execution error on server machine_name. The following errors appear immediately when I try to analyze my design:

The temporary file directory has insufficient permissions for the remote user to write temporary files.

Check the permissions by setting up security permissions Unable to create simulation working on the remote machine. directory within temp dir: temporary_directory. Error decoding model data or writing it to disk. The following error appears when I try If there were any additional messages displayed, check the Troubleshooting guide for those specific messages. to analyze my design: Simulation completed with execution Check the following on the remote machine: error on server machine_name. • Verify the machine-level Local Launch Limit and Local Activation Limit permissions are enabled for the Interactive User.



Verify the COM engine-specific Local Launch and Local Activation permissions are enabled for the Interactive User.

Running Simulations13-43

HFSS Online Help

Distributed Analysis Distributed analysis allows users to split certain types of analyses and solve each portion of an analysis simultaneously on multiple machines. Simulation times can be greatly decreased by using this feature. HFSS supports two forms of distributed analysis:

• •

Distributing rows of a parametric table. Distributing sweeps within an analysis setup.

Note

Communication between machines in remote analysis and distributed analysis can drastically affect performance. Use of a high-speed network system, like Gigabit or Infiniband, is recommended for optimal performance.

Related Topics Configuring Distributed Analysis Licensing for Distributed Analysis HFSS Options: Solver Tab Selecting an Optimal Configuration for Distributed Analysis

Configuring Distributed Analysis To configure distributed analysis: 1.

Follow the steps to configure remote analysis. The remote machines are the machines to which the analysis is distributed, and the local machine is the machine that launches the distributed analysis.

2.

Once the remote analysis configuration is complete, you must add the remote machines you wish to use for distributed analysis to the Local Machine's list of distributed analysis machines. a.

Start the product on the Local Machine.

b.

Choose Tools > Options > General Options.

c.

Then select the Analysis Options tab.

d.

If you select Distributed, you can add machines to a list, or edit an existing machine list. Select the Edit button to display the Distributed Analysis Machines dialogue. Here you specify an IP address, a DNS name, or a UNC name for each machine to add to the list. Control buttons let you Add Machine to List to or Remove machines from the list. Selecting Distributed always checks out the ansoft_distrib license, regardless of whether there is anything distributable or not. In general, HFSS uses machines in the distributed analysis machines list in the order in which they appear. If Distributed is selected and you launch multiple analyses from the same UI, HFSS selects the machines that are running the fewest number of engines in the order in which the machines appear in the list. For example, if the list contains 4 machines,

13-44 Running Simulations

HFSS Online Help

and you launch a simulation that requires one machine, HFSS chooses the first machine in the list. If another simulation is launched while the previous one is running, and this simulation requires two machines, HFSS chooses machines 2 and 3 from the list. If the first simulation then terminates and we launch another simulation requiring three machines, HFSS chooses 1, 4, and 2 (in that order). The displayed list always shows the order in which you entered them irrespective of the load on the machines. To control the list order, select one or more machines, and use the Move up or Move down buttons. Click OK to accept the changes and close the Distributed Analysis Machines dialog. Regardless of the machine(s) on which the analysis is actually run, the number of processors and Desired RAM Limit settings, and the default process priority settings are now read from the machine from which you launch the analysis. See HFSS Options: Solver Tab. For more information, see distributed analysis. You can also control these selections via toolbar icons for:

• • • Note

Local

,

Remote

, and

Distributed

The option is only active if there are multiple rows listed in the parametric table, there are multiple frequency sweeps listed under a given analysis setup, and the number of distributed analysis machines is two or greater.

Related Topics Selecting an Optimal Configuration for Distributed Analysis HFSS Options: Solver Tab General Options: Analysis Options Tab Licensing for Distributed Analysis

Licensing for Distributed Analysis If you run a distributed analysis, HFSS launches multiple solver engines on one or multiple machines, assuming that you have configured your machines appropriately. The number of hfss_solve licenses controls how many analyses (non-distributed, distributed, or distributed with multiprocessing for machines with multiple cores) can be done at a time. The number of ansoft_distrib licenses controls how many analyses can be distributed at a time. The number of ansoft_distrib_engine licenses controls how many solver engines may be run simultaneously. Each distributed analysis license bundle comes with 1 ansoft_distrib license and 10 ansoft_distrib_engine licenses. If a license server has more than one distributed analysis license bundle, the ansoft_distrib_engine licenses are shared between the ansoft_distrib licenses. For example, with two distributed analysis license bundles, one ansoft_distrib license may access up Running Simulations13-45

HFSS Online Help

to 20 ansoft_distrib_engine licenses, or two ansoft_distrib licenses may cumulatively access up to 20 ansoft_distrib_engine licenses (e.g. 5:15, 10:10, or even 18:2). In addition, there is a Multiprocessing for Distributed Analysis bundle that may be used in conjunction with Distributed Analysis. One bundle includes 10 ansoft_distrib_engine_mp licenses. If you enable multiprocessing for distributed analysis, for each ansoft_distrib_engine license that is used, an ansoft_distrib_engine_mp license will also be used. Related Topics Configuring Distributed Analysis Selecting an Optimal Configuration for Distributed Analysis HFSS Options: Solver Tab General Options: Analysis Options Tab

Selecting an Optimal Configuration for Distributed Analysis The combination of Distributed Analysis and Multiprocessing for Distributed Analysis allow for efficient use of your compute resources. Selecting an optimal configuration to maximize throughput is dependent not only on the number of Distributed Analysis and Multiprocessing for Distributed Analysis license bundles you own, it is also dependent on the problem you are attempting to solve. Each machine you specify in the distributed analysis machine list will use one ansoft_distrib_engine license. If you specify the same machine twice in the distributed analysis machine list, HFSS uses two ansoft_distrib_engine licenses on that machine and concurrently solves two parametric variations or frequency points on that machine. This can be a considerable advantage if you have several powerful machines and want to use the full computing power for each machine. For example, take the situation where you have access to two powerful machines, each with 8 cores on and 64 GB RAM, to be used for distributed analysis. You could specify each machine eight times in the distributed analysis machine list and concurrently solve 16 variations on the two machines, which will use 16 ansoft_distrib_engine licenses. This works well so long as the amount of RAM required to solve each variation or frequency point does not exceed 8 GB RAM (64 GB RAM / 8 cores = 8 GB RAM/core). If the problem requires, say, 16 GB RAM, then it is best to run only 4 variations on a 64 GB machine. In this case, if you send 4 variations to each of your 8core machine, you will have a total of 8 cores that are not being used while solving. With the Multiprocessing for Distributed Analysis license bundle, you can use the remaining 8 cores while solving the solution matrix. To do this, set the number of processors to 2 (HFSS Options: Solver Tab). Since you have 8 variations running concurrently, you would use 8 ansoft_distrib_engine licenses and 8 ansoft_distrib_engine_mp licenses. If the number of processors is set to any number higher than 1, then the number of ansoft_distrib_engine_mp licenses used while solving will be equal to the number of ansoft_distrib_engine licenses used. That means that, in the above example, if your problem requires more than 16 GB RAM but less than 32 GB RAM, we would recommend running 2 variations concurrently on each machine and setting the number of processors to 4. From a license perspective, you would use 4 ansoft_distrib_engine licenses and 4 ansoft_distrib_engine_mp licenses. 13-46 Running Simulations

HFSS Online Help

Related Topics Configuring Distributed Analysis HFSS Options: Solver Tab General Options: Analysis Options Tab Licensing for Distributed Analysis

Running Simulations13-47

HFSS Online Help

Monitoring the Solution Process While a simulation is running, you can monitor the solution’s progress in the Progress window. Above the red progress bar, messages describe the setup and step. The progress bar shows the relative progress of each step. Under the bar, messages note the part of the design being solved, and give memory estimates during the factoring process. You can also view the following solution data at any time during or after the solution:

• • •

The convergence data: The matrices computed for the S-parameters, impedances, and propagation constants. A profile of status of the adaptive analysis, including the number of valid passes completed.

To view the Solutions window: 1.

Right-click the solution Setup in the project tree. A shortcut menu appears.

2.

Select Convergence, Matrix Data or Profile from the shortcut menu. 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. To view the status of the adaptive analysis:



Click HFSS>Results>Browse Solutions. The Solutions dialog box appears with the Browse tab selected. It displays data about the number of valid passes completed. It contains a tree structure showing the solutions listed according to Setup, Solution, and Variation. A table lists the Setup, the solution, the sweep variable, and the state of the solution.



You can use the Properties button to display a dialog that lets you change the way the Setup, Solution, and Variation are listed in the tree structure of the Solutions dialog.



The Statistics tab of the Solutions dialog displays path information, as well as format, number of files, and size.



You can delete one or more solutions by selecting from the table and clicking Delete. Click on a solution to select it, and use Ctrl-click to select multiple solutions, or Shift-click to select a range of solutions. You can also select all solutions using the Select All button. Note

If HFSS loses its license, it waits for the license to be regained, checking every 2 minutes or until you abort.

Related Topics Deleting Solution Data Post Processing and Generating Reports Creating Reports 13-48 Running Simulations

HFSS Online Help

Modifying Reports Creating a Quick Report Plotting the Mesh Plotting Field Overlays

Monitoring Queued Simulations If you have multiple setups for a design, and have selected Analyze All, the simulations are queued until there is a machine available. Setups are solved in the order that they appear in the project tree. You can prioritize setups by changing the order in the queue. 1.

To view the solution queue, click Tools>Show Queued Simulations or click the Show Queue icon on the toolbar. This displays a dialog that displays each simulation and its current status. You select and remove any simulation from the queue. You can also select any setup and use the Move up and Move down buttons to prioritize them.

2.

To remove a simulation from the queue, select the simulation, and click Remove from Queue. This removes the selected simulation from the queue.

Running Simulations13-49

HFSS Online Help

Changing a Solution’s Priority You can reduce the priority of HFSS simulations so that system resources are allocated to other computer processes before the solver. If you reduce the priority of HFSS simulations, your other software tools will respond as they normally would, but HFSS simulations may take longer. Note

The Windows Task Manager does not indicate a reduced priority for the HFSS solver. 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.

To change the priority of simulations for the system’s resources: 1.

While a solution is running, right-click the Progress window, and click Change Priority on the shortcut menu.

• 2.

Alternatively, click the Tools>Options>HFSS Options to open the HFSS Options dialog box, and click the Solver tab.

From the Change Priority menu (or the Default Process Priority pull-down menu), select one of the following priorities: Lowest Priority Below Normal Normal

The default.

Above Normal Highest 3.

Click OK.

Related Topics Monitoring Queued Simulations

13-50 Running Simulations

HFSS Online Help

Aborting Analyses To end the solution process before it is complete:



In the Progress window, click Abort. HFSS ends the analysis immediately.

If you aborted the solution in the middle of an adaptive pass, the data for that pass or current frequency point is deleted. Any solutions that were completed prior to the one that was aborted are still available. The solutions that are available depend on when you aborted. For example, if you stopped the solution while a post-processing macro was executing, the field solution computed for that setup is still available. To abort the solution process after the current adaptive pass or solved frequency point is complete:



Right-click the Progress window, and click Clean Stop on the shortcut menu. HFSS ends the analysis after the next solved pass or frequency point.

If you request a clean stop between the third and fourth adaptive pass, the solutions for the third and fourth pass will be available.

Running Simulations13-51

HFSS Online Help

Re-solving a Problem If you modify a design after generating a solution, the solution in memory will no longer match the design. To generate a new solution after modifying a design, follow the procedure for running a simulation: 1.

Select a solution setup in the project tree.

2.

Click HFSS>Analyze All.

13-52 Running Simulations

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 HFSS. For example, you can parameterize the model geometry or material properties. You can then perform the following types of analyses on your nominal HFSS design: Parametric

In a parametric analysis, you define one or more variable sweep definitions, each specifying a series of variable values within a range. For example, you can parameterize component values. (See Variables in HFSS for more information.) Optimetrics solves the design at each variation. You can then compare the results to determine how each design variation affects the performance of the design. Parametric analyses are often used as precursors to optimization solutions because they help to determine a reasonable range of variable values for the optimization analysis.

Optimization For an optimization analysis, you identify the cost function and the optimization goal. Optimetrics changes the design parameter values to meet that goal. The cost function can be based on any solution quantity that HFSS can compute. Sensitivity

In a sensitivity analysis, you use Optimetrics to explore the vicinity of the design point to determine the sensitivity of the design to small changes in variables.

Tuning

Tuning allows you to change variable values interactively while monitoring the performance of the design.

Statistical

In a statistical analysis, you use Optimetrics to determine the distribution of a design's performance, which is caused by a statistical distribution of variable values. Optimetrics 14-1

HFSS Online Help

Note

Sweeping or using a complex variable is not allowed in any optimetrics setup, including optimization, statistical, sensitivity, and tuning setups.

Related Topics Setting up a Parametric Analysis Setting up an Optimization Analysis Setting up a Sensitivity Analysis Tuning a Variable Setting up a Statistical Analysis Parametric Overview Optimization Overview Sensitivity Analysis Overview Statistical Analysis Overview Tuning Overview Using Distributed Analysis

14-2 Optimetrics

HFSSOnline Help

Parametric Overview Running a parametric analysis enables you to simulate several design variations using a single model. You define a series of variable values within a range, or a variable sweep definition, and HFSS generates a solution for each design variation. You can then compare the results to determine how each design variation affects the performance of the design. You can vary design parameters that are assigned a quantity, such as geometry dimensions, material properties, and boundary and excitation properties. (See the online help topic for the specific parameter you want to vary.) The number of variations that can be defined in a parametric sweep setup is limited only by your computing resources. To perform a parametric analysis, you first create a nominal design. A nominal design is created like any other design, except that variables are assigned to those aspects of the model you want to change. 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 for an optimization analysis. Related Topics Setting up a Parametric Analysis

Optimetrics 14-3

HFSS Online Help

Setting Up a Parametric Analysis A parametric setup specifies all of the design variations that Optimetrics drives HFSS to solve. A parametric setup is made up of one or more variable sweep definitions, which are a set of variable values within a range that you want HFSS 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.

To add a parametric setup to a design: 1.

On the HFSS or HFSS menu, point to Optimetrics Analysis, and then click Add Parametric .



Alternatively, right-click Optimetrics in the project tree, and then click Add>Parametric on the shortcut menu.

The Setup Sweep Analysis dialog box appears. 2.

Add a variable sweep definition.

After you define a parametric sweep, a shortcut menu becomes available when you right-click the setup name. Note

Sweeping or using a complex variable is not allowed in any optimetrics setup, including optimization, statistical, sensitivity, and tuning setups.

Related Topics Adding a Variable Sweep Definition Specifying a Solution Setup for a Parametric Setup Using Distributed Analysis Parametric Overview

Adding a Variable Sweep Definition A parametric setup is made up of one or more variable sweep definitions. A variable sweep definition is a set of variable values within a range that Optimetrics drives to solve when the parametric setup is analyzed. You can add one or more sweep definitions to a parametric setup. Note

1.

On the HFSS or HFSS menu, point to Optimetrics Analysis, and then click Add Parametric .



14-4 Optimetrics

Sweeping a complex variable is not allowed in any optimetrics setup, including optimization, statistical, sensitivity, and tuning setups.

Alternatively, right-click Optimetrics in the project tree, and then click Add>Parametric on the shortcut menu.

HFSSOnline Help

The Setup Sweep Analysis dialog box appears. 2.

Under the Sweep Definitions tab, click Add. The Add/Edit Sweep dialog box appears. All the independent variables associated with the design are listed in the Variable pull-down list.

3.

Click the variable for which you are defining the sweep definition from the Variable pulldown list. If you do not define a sweep definition for a variable in the list, the variable's current value in the nominal design is used in the parametric analysis.

4.

Specify the variable values to be included in the sweep.

5.

Click Add, and then click OK. You return to the Setup Sweep Analysis dialog box. The variable sweep is listed in the top half of the window.

6.

View the design variations that are to be solved in table format under the Table tab. Viewing the sweep definition in table format enables you to visualize the design variations that are to be solved and manually adjust sweep points if necessary.

7.

Click OK.

Related Topics Specifying Variable Values for a Sweep Definitions Synchronizing Variable Sweep Definitions Modifying a Variable Sweep Definition Manually Overriding a Variable’s Current Value in a Parametric Setup

Specifying Variable Values for a Sweep Definition To specify the variable values to include in a sweep definition: 1.

Select one of the following in the Add/Edit Sweep dialog box: Single value

Specify a single value for the sweep definition.

Linear step

Specify a linear range of values with a constant step size.

Linear count

Specify a linear range of values and the number, or count of points within this range.

Decade count

Specify a logarithmic (base 10) series of values, and the number of values to calculate in each decade.

Octave count

Specify a logarithmic (base 2) series of values, and the number of values to calculate in each octave.

Exponential count Specify an exponential (base e) series of values, and the number of values to calculate. 2.

If you selected Single value, type the value of the sweep definition in the Value box. Optimetrics 14-5

HFSS Online Help

If you selected another sweep type, do the following: 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.

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.

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 values. HFSS will solve the model at each step in the specified range, including the start and stop values. The step size can be negative, when the Stop value is less than the Start value If you selected another sweep type, type the number of points, or variable values, in the sweep definition in the Count text box. For Decade count and Octave count, the Count value specifies the number of points to calculate in every decade or octave. For Exponential count, the Count value is the total number of points. The total number of points includes the start and stop values.

Related Topics Synchronizing Variable Sweep Definitions

Synchronizing Variable Sweep Definitions By default, variable sweep definitions are nested. Alternatively, you can synchronize the variable sweep definitions if they have the same number of sweep points. 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, HFSS will solve 3 design variations. 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. To synchronize variable sweep definitions: 1. 2.

Under the Sweep Definitions tab of the Setup Sweep Analysis dialog box, select the rows containing the sweep definitions you want to synchronize. Click Sync. The synchronized sweeps are given a group number, which is listed in the Sync # column.

Optionally, view the design variations that are to be solved in table format under the Table tab. Related Topics Specifying Variable Values for a Sweep Definitions

Modifying a Variable Sweep Definition Manually You can manually modify the variable values that are solved for a parametric setup by explicitly changing, adding, or deleting existing points in a variable sweep definition under the Table tab of the Setup Sweep Analysis dialog box. 14-6 Optimetrics

HFSSOnline Help

To manually modify a variable sweep definition: 1.

Click the Table tab of the Setup Sweep Analysis dialog box. The design variations HFSS solves for the parametric setup listed in table format.

2.

Do one of the following:

• •

To modify a variable value, click a value text box in the table and type a new value.



To add a new variable value to the sweep definition, click Add. Then click in the value text box and type a new value.

To delete a variable value from the sweep definition, click the row you want to delete, and then click Delete.

Warning

Variable values must be single real numbers, or expressions that evaluate to single real numbers. Complex numbers cannot be used as the values of variables in any optimetric analysis.

Your modifications are tracked and available for viewing at the bottom of the Setup Sweep Analysis dialog box under the Sweep Definitions tab. The operations you performed are listed with descriptions. Warning

If you modify an original sweep definition using the Add/Edit Sweep dialog box after you have manually modified its table of design variations, your manual modifications become invalid and are removed. A warning is displayed to inform you that your manual values are about to become invalid, so you can decide whether or not to proceed.

Related Topics Adding a Variable Sweep Definition Overriding a Variable’s Current Value in a Parametric Setup

Overriding a Variable's Current Value in a Parametric Setup If you choose not to sweep a variable HFSS uses the variable's current value set for the nominal design when it solves the parametric setup. To override the current variable value for a parametric setup: 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 Value box of the 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

Optimetrics 14-7

HFSS Online Help

the nominal design. Note

4.

Alternatively, you can select the Override option first, and then type a new variable value in the Value box.

Optionally, click a new unit in the Units box.

To revert to the current variable value, clear the Override option. Warning

Variable values must be single real numbers, or expressions that evaluate to single real numbers. Complex numbers cannot be used as the values of variables in any optimetric analysis.

Related Topics Adding a Variable Sweep Definition Modifying a Variable Sweep Definition Manually

Specifying a Solution Setup for a Parametric Setup To specify the solution setup that HFSS analyzes when it solves a parametric setup: 1.

In the Setup Sweep Analysis dialog box, click the General tab.

2.

Select the solution setup you want HFSS to use when it solves the parametric setup. HFSS solves the parametric setup using the solution setup you select. If you select more than one, results are generated for all selected solution setups.

Related Topics Specifying the Solution Quantity to Evaluate for Parametric Analysis Specifying a Solution Quantity’s Calculation Range

Specifying the Solution Quantity to Evaluate for Parametric Analysis When you add a parametric setup, you can identify one or more solution quantities to be presented in the Post Analysis Display dialog box. The solution quantities are specified by mathematical expressions that are composed of basic quantities, such as output variables. When you view the results, HFSS extracts the solution quantities and lists them in the results table. 1.

In the Setup Sweep Analysis dialog box, click the Calculations tab. This displays a table that will show Solutions and associated Calculations. Below the table, are control buttons to Setup Calculations... and Delete.

2.

Click Setup Calculations. This displays the Add/Edit Calculation dialog. The dialog contains panes to set the Context, the Trace tab for the Calculation Expression, and the Calculation Range tab for the Calculation Range. Follow the procedure to Setup Calculations for Optimetrics.

3. 14-8 Optimetrics

Click Add Calculation to add the expression in the Add/Edit Calculation dialog Calculation Expression field to the Calculations tab of the Setup Sweep Analysis dialog.

HFSSOnline Help

4.

Click Done to close the Add/Edit Calculation dialog.

Related Topics Specifying a Solution Quantity’s Calculation Range Specifying Output Variables Setup Calculations for Optimetrics.

Setup Calculations for Optimetrics The Setup dialogs for each of the Optimetrics types include a Setup Calculations button. Clicking this displays the Add/Edit Calculation dialog box. The dialog box contains distinct panes and tabs to set the Context, the Calculation Expression, and the Calculation Range. The Context pane contains fields for the Report Type to use, the Solution, and depending on the Report Type selection, the Geometry. The Trace tab contains fields for the Calculation expression, and, to build the expression, a Category list, a Quantity list with a Text Filter field, and a list of Functions available for the selected Category. The Range function button opens a dialog in which you can define a range function to apply a function to the expression. The Category list for the Trace tab includes Variables and Output Variables. An Output Variables... button lets you open a dialog box to define and edit the Output Variables. To setup an Optimetrics calculation: 1.

Click the Setup Calculations button to open the Add/Edit/Calculation dialog.

2.

In the Report Type text field in the Context pane, select from the drop down list of available types. Selecting Fields as the Report type causes the Geometry field to display.

3.

In the Solution text box, select from the drop down list of available solutions.

4.

If the Geometry field is available, select from the drop down list.

5.

In the Trace tab, specify the solution Category, a Quantity, and Functions. The resulting expression will be displayed in the Calculation Expression field. a.

Select the Category from the list. The selection appears in the Calculation Expression field, and the Quantity and Function fields list what is available for the corresponding selection.

b.

Select the Quantity from the list. The selected quantity appears in the Calculation Expression field. 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 outphfssut variable that represents the solution quantity, do the following:



Click the Output Variables button. Optimetrics 14-9

HFSS Online Help

The Output Variables dialog box appears.



Add the expression you want to evaluate, and then click Done. The recently created output variable appears in the Quantity list.

• Note

Click a new output variable in the Quantity pull-down list.

The calculation you specify must be able to be evaluated into a single, real number. The selected Quantity appears in the Calculation Expression field.

c.

Select the Function from the list. The selected function is applied to the Quantity in the Calculation Expression field.

6.

To apply a Range function to the Calculation Expression, see Setting a Range function.

7.

Click Add Calculation to add the expression in the Add/Edit Calculation dialog Calculation Expression field to the Calculations tab of the Setup Sweep Analysis dialog.

8.

Click Done to close the Add/Edit Calculation dialog box.

Related Topics Specifying a Solution Quantity to Evaluate Setting a Range function

Specifying a Solution Quantity's Calculation Range The calculation range of a solution quantity determines the value of intrinsic variables such as frequency (F) at which the solution quantity will be extracted. For a parametric setup, the calculation range must be a single value. For a Driven Modal or Driven Terminal design, if you selected to extract the solution from the last adaptive solution, Optimetrics uses the adaptive frequency defined in the solution setup. If you selected to extract the solution quantity from a frequency sweep solution, Optimetrics by default will use the starting frequency in the sweep. 1.

In the Setup Sweep Analysis dialog box, click the Calculations tab.

2.

Click the Setup Calculations button. The Add/Edit/Calculation dialog box appears.

3.

Select the Calculation Range tab.

4.

In the Variable list, click an intrinsic variable. Single Value is selected by default.

5.

In the Value box, click a value at which the solution quantity will be extracted.

6.

Click Update, and then click Edit.

Viewing Results for Parametric Solution Quantities 1.

In the project tree, right-click the parametric setup for which you want to view the results calculated for the solution quantities, and then click View Analysis Result on the shortcut menu. The Post Analysis Display dialog box appears.

14-10 Optimetrics

HFSSOnline Help

2.

Select the parametric setup with the results you want to view from the pull-down list at the top of the dialog box.

3.

Make sure the Result tab is selected on the dialog.

4.

To view the results in tabular form, select Table as the view type. The results for the selected solution quantities are listed in table format for each solved design variation.

5.

Optionally, select Show complete output name. The complete name of the solution for which the results are being displayed will be listed in the column headings.

6.

Optionally, click a design variation in the table, and then click Apply (at the far right side of the dialog box). HFSS 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.

7.

To view the results in graphic form, select Plot as the view type.

8.

Select the variable with the swept values you want to plot on the x-axis from the X pull-down list.

9.

Only one sweep variable at a time can be plotted against solution quantity results. Any other variables that were swept during the parametric analysis remain constant. Optionally, to modify the constant values of other swept variables, do the following: a.

Click Set Other Sweep Variables Value. 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.

10. Select the solution quantity results you want to plot on the y-axis from the Y pull-down list. The x -y plot appears in the view window. You can modify the display by right-clicking in the graph area. See Creating Reports for details on these operations. 11. To view profile information about the analysis, click the Profile tab on the Post Analysis Display dialog. 12. When more than one parametric analysis has been run, use the left and right arrows to select a profile. 13. Click Close to close the Post Analysis Display dialog. Related Topics Plotting Solution Quantity Results vs. a Swept Variable Viewing Solution Data for an Optimetrics Design Variation Optimetrics 14-11

HFSS Online Help

Using Distributed Analysis If you have purchased the appropriate license, HFSS supports distributed solve, which involves distributing rows of a parametric table during Optimetrics solve. If you do a distributed solve, HFSS launches solver engines on multiple machines, assuming that you have configured your machines appropriately. To run a distributed analysis: 1.

Under Optimetrics in the project tree, right-click the specific parametric setup. A shortcut menu appears.

2.

Select Distribute Analysis from the shortcut menu.

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. To show the child progress bars:



Right-click the progress window, and select Show Subtask Progress Bars.

To hide the child progress bars:



Right-click the progress window, and select Hide Subtask Progress Bars.

Related Topics: General Options: Analysis Options TabSolving Remotely (Windows Only) Setting Up Distributed Analysis with Licensing

14-12 Optimetrics

HFSS Online Help

Optimization Overview Optimetrics interfaces with Ansoft’s products to enable the optimization of a wide variety of design parameters based on variable geometry, materials, excitations, component values, etc. Optimization is the process of locating the minimum of a user-defined cost function. Optimetrics modifies the variable values until the minimum is reached with acceptable accuracy. Related Topics Setting Up an Optimization Analysis Choosing an Optimizer

Choosing an Optimizer Conducting an optimization analysis allows you to determine an optimum solution for your problem. In HFSS optimization analyses, you have five choices of optimizer, though in most cases, the Sequential Nonlinear Programming optimizer is recommended.

• • • • •

Sequential Nonlinear Programming (SNLP) Sequential Mixed Integer NonLinear Programming (SMINLP) Quasi Newton Pattern Search Genetic Algorithm

All five 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 five 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 NMINLP optimizers, the relationship can be linear or nonlinear. For the Quasi Newton and Pattern Search optimizers, the relationship must be linear.

Quasi Newton If the Sequential Non Linear Programming Optimizer has difficulty, and if the numerical noise is insignificant during the solution process, use the Quasi Newton optimizer to obtain the results. The Quasi Newton optimizer works on the basis of finding a minimum or maximum of a cost function which relates variables in the model or circuit to overall simulation goals. The user defines one or more variables in the problem definition and a cost function in the optimization setup. The cost function relates the variable values to field quantities, design parameters like force or torque, power loss, etc. The optimizer can then maximize or minimize the value of the design parameter by varying the problem variables. Sir Isaac Newton first showed that the maximum or minimum of any function can be deterSetting up an Optimetrics Analysis 15-13

HFSS Online Help

mined 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 approximately locally by a quadratic and the approximation is solved for the value of x. This value is placed back into the original function and used to calculate a gradient which provides a step direction and size for determining the next best value of x in the iteration process. In the Quasi-Newton optimization procedure, the gradients (Hessian) are not well behaved functions and are calculated numerically. Essentially, the change in the estimate of x and the change in the gradient are used to estimate the Hessian for the next iteration. 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 figure below illustrates the problem of local minima. In this scenario, you can see that in order to

15-14 Setting up an Optimetrics Analysis

HFSS Online Help

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 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. Setting up an Optimetrics Analysis 15-15

HFSS Online Help

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 QuasiNewton increases geometrically with the number of variables being optimized. As a result, this method should only be attempted when 1 or 2 variables are being optimized as a time. For more information regarding Quasi-Newton optimization methods, see the following reference: Schoenberg, Ronald. Optimization with the Quasi-Newton Method. Aptech Systems, Inc. 2001. Related Topics Optimization Setup for Quasi Newton Optimizer

Pattern Search If the noise is significant in the nominal project, use the Pattern Search optimizer to obtain the results. It performs a grid-based simplex search, which makes use of simplices: triangles in 2D space or tetrahedra in 3D space. A simplex is a Euclidean geometric spatial element having the minimum number of boundary points, such as a line segment in one-dimensional space, a triangle in two-dimensional space, or a tetrahedron in three-dimensional space. The cost value is calculated at the vertices of the simplex. The optimizer mirrors the simplex across one of its faces based on mathematical guidelines and determines if the new simplex provides better results. If it does not produce a better result, the next face is used for mirroring and the pattern continues. If no improvement occurs, the grid is refined. If improvement occurs, the step is accepted and the new simplex is generated to replace the original one. The figures below illustrates 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

15-16 Setting up an Optimetrics Analysis

HFSS Online Help

demonstrate the convergence toward a minimum in the cost function.

Setting up an Optimetrics Analysis 15-17

HFSS Online Help

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. When there is not 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 as shown in the table. However, since the pattern search does not use gradient information to locate the minimum the process converges more slowly toward the true minimum, taking more steps to successively divide the simplices as the minimum is approached. Related Topics Optimization Setup for Pattern Search Optimizer

Sequential Non-linear Programming (SNLP) The main advantage of SNLP over Quasi Newton is that it handles the optimization problem in more depth. This optimizer assumes that the optimization variables span a continuous space. As a result, there is no Minimum Step Size specified in this optimizer and the variables may 15-18 Setting up an Optimetrics Analysis

HFSS Online Help

take any value within the allowable constraints and within the numerical precision limits of the simulator. Like Quasi Newton, the SNLP optimizer assumes that the noise is not significant. It does reduce the effect of the noise, but the noise filtering is not strong. 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 Taylor Series approximation from the FEA simulation results available from past solutions. The response surface is most accurate in the local vicinity. The response surface is used in the optimization loop to determine the gradients and calculate the next step direction and distance. The response surface acts as a surrogate for the FEA simulation, reducing the number of FEA simulations required and greatly speeding the problem. Convergence improves as more FEA solutions are created and the response surface approximation improves. The SNLP method is similar to the Sequential Quadratic Programming (SQP) method in two ways: Both are sequential, updating the optimizer state to the current optimal values and iterating. Sequential optimization can be thought of a 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. Finally, this optimizer allows you to use nonlinear constraints, making this approach much more general than either of the other two optimizers. Related Topics Optimization Setup for SNLP Optimizer

Sequential Mixed Integer NonLinear Programming The Sequential Mixed Integer Nonlinear Programming (SMINLP) optimizer is equivalent to Setting up an Optimetrics Analysis 15-19

HFSS Online Help

the SNLP optimizer with only one difference. Many problems require variables take only discrete values. One example might be to optimize on the number of turns in a coil. To be able to optimize on number of turns or quarter turns, the optimizer must handle discrete optimization variables. The SMINLP optimizer can mix continuous variables among the integers, or can have only integers, and works if all variables are continuous. The setup resembles the setup for SNLP, except that you must flag the integer variables.supporting integer variables. You can set up internal variables based on the integer optimization variable. For example, consider N to be an integer optimization variable. By definition it can only assume integer values. You can establish another variable, which further depends on this one: K = 2.345 * N, or K = sin(30 * N). This way K has a discrete value, but is not necessarily integer. Or, one can use N directly as a design parameter. Related Topics Optimization Setup for SMINLP Optimizer

Genetic Algorithm Genetic Algorithm (GA) optimizers are part of a class of optimization techniques called stochastic optimizers. They do not use the information from the experiment or the cost function to determine where to further explore the design space. Instead, they use a type of random selection and apply it in a structured manner. The random selection of evaluations to proceed to the next generation has the advantage of allowing the optimizer to jump out of a local minima at the expense of many random solutions which do not provide improvement toward the optimization goal. As a result, the GA optimizer will run many more iterations and may be prohibitively slow. The Genetic Algorithm search is an iterative process that goes through a number of generations (see picture below). In each generation some new individuals (Children / Number of Individuals) are created and the 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 /

15-20 Setting up an Optimetrics Analysis

HFSS Online Help

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 fill up the resulting set, but instead of selecting the best so many, we use a roulette wheel that has for each selection-candidate divisions made proportional to the fitness level (relative to the cost function) of the candidate. This means that the fitter the individual is, the larger the probability of his survival will be. Related Topics Optimization Setup for Genetic Algorithm Optimizer Optimization Variables in Design Space Cost Function Advanced Genetic Algorithm Optimizer Options

Optimization Variables and the Design Space 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 FEA and assigned a cost value; therefore, the n cost function is defined over the design space (cost(x): R → R , 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.

Setting up an Optimetrics Analysis 15-21

HFSS Online Help

Setting Up an Optimization Analysis Optimization allows you to vary predefined variables in the nominal design to search for the solution that best satisfies a set of user defined goals or cost functions. Optimetrics modifies the variable values until the minimum is reached with acceptable accuracy. Note

• •

You can define more than one optimization analysis setup per design. 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:

• • • • •

Sequential Nonlinear Programming (SNLP) Sequential Mixed Integer Nonlinear Programming (SMINLP) Quasi Newton Pattern Search Genetic Algorithm

Click on the links above to view the setup procedure for each optimizer. Options for the analysis are listed in the table. The following optional optimization solution setup options can also be used:

• • • • •

Modify the starting variable value.



Set the minimum and maximum focus size. (For the SNLP and SMINLP optimizers, Variables tab).

• • • •

Set Linear constraints.



Change the norm used for the cost function calculation (Advanced Option)

Note

Modify the minimum and maximum values of variables that will be optimized. Exclude variables from optimization. Modify the values of fixed variables that are not being optimized. Set the minimum and maximum step size between solved design variations (For the Quasi Newton and Patterns Search optimizers, Variables tab).

Request that Optimetrics solve a parametric sweep before an optimization analysis. Request that Optimetrics solve a parametric sweep during an optimization analysis. Automatically update optimized variables to the optimal values during an optimization or after an optimization analysis is completed.

Sweeping or using a complex variable is not allowed in any optimetrics setup, including optimization, statistical, sensitivity, and tuning setups.

15-22 Setting up an Optimetrics Analysis

HFSS Online Help

Related Topics Optimization Overview Choosing an Optimizer

Optimization Setup for the Quasi Newton Optimizer Following is the procedure for setting up an optimization analysis using the Quasi Newton 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. 2.

Set up the variables you want to optimize in the Design Properties dialog box. On the HFSS menu, point to Optimetrics Analysis, and then click Add Optimization

.

The Setup Optimization dialog box appears. 3.

Under the Goals tab, select the optimizer by selecting Quasi Newton from the Optimizer pull-down list. Selecting Quasi Newton enables the Acceptable Cost and Noise fields.

4.

Type the maximum number of iterations you want Optimetrics to perform during the optimization analysis in the Max. No. of Iterations text box.

5.

Under Cost Function, add a cost function by selecting the Setup Calculations button to open the Add/Edit Calculation dialog.

6.

Type the value of the cost function at which the optimization process should stop in the Acceptable Cost text box.

7.

Type the cost function noise in the Noise text box.

8.

If you want to select a Cost Function Norm Type:



Check the Show Advanced Option check box. The Cost Function Norm Type pull-down list appears.



Select L1, L2, or Maximum. A norm is a function that assigns a positive value to the cost function. 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.

In the Variables tab, specify the Min/Max values for variables included in the optimization, and the Min/Max Step Size for the analysis. You may also override the variable starting values by clicking the Override checkbox and entering the desired value in the Starting Value field.

10. 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 checkbox will cause OptiSetting up an Optimetrics Analysis 15-23

HFSS Online Help

metrics to modify the variable values in the nominal design to match the final values from the optimization analysis. 11. 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.

Optimization Setup for the Pattern Search Optimizer Following is the procedure for setting up an optimization analysis using the Pattern 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.

On the HFSS menu, point to Optimetrics Analysis, and then click Add Optimization

.

The Setup Optimization dialog box appears. 3.

Under the Goals tab, select the optimizer by selecting Pattern Search from the Optimizer pull-down list. Selecting Pattern Search enables the Acceptable Cost and Noise fields.

4.

Type the maximum number of iterations you want Optimetrics to perform during the optimization analysis in the Max. No. of Iterations text box.

5.

Under Cost Function, add a cost function by selecting the Setup Calculations button to open the Add/Edit Calculation dialog.

6.

Type the value of the cost function at which the optimization process should stop in the Acceptable Cost text box.

7.

Type the cost function noise in the Noise text box.

8.

If you want to select a Cost Function Norm Type:



Check the Show Advanced Option check box. The Cost Function Norm Type pull-down list appears.



Select L1, L2, or Maximum. A norm is a function that assigns a positive value to the cost function. 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 “maxi-

15-24 Setting up an Optimetrics Analysis

HFSS Online Help

mize” scenarios. 9.

In the Variables tab, specify the Min/Max values for variables included in the optimization, and the Min/Max Step Size for the analysis. You may also override the variable starting values by clicking the Override checkbox and entering the desired value in the Starting Value field.

10. 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 checkbox will cause Optimetrics to modify the variable values in the nominal design to match the final values from the optimization analysis. 11. 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.

Optimization Setup for the SNLP Optimizer Following is the procedure for setting up an optimization analysis using the Sequential Nonlinear Programming (SNLP) 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.

On the HFSS menu, point to Optimetrics Analysis, and then click Add Optimization

.

The Setup Optimization dialog box appears. 3.

Under the Goals tab, select the optimizer by selecting Sequential Nonlinear Programming from the Optimizer pull-down list.

4.

Type the maximum number of iterations you want Optimetrics to perform during the optimization analysis in the Max. No. of Iterations text box.

5.

Under Cost Function, add a cost function by selecting the Setup Calculations button to open the Add/Edit Calculation dialog.

6.

If you want to select a Cost Function Norm Type:



Check the Show Advanced Option check box. The Cost Function Norm Type pull-down list appears.



Select L1, L2, or Maximum. A norm is a function that assigns a positive value to the cost function. For L1 norm the actual cost function uses the sum of absolute weighted values of the indiSetting up an Optimetrics Analysis 15-25

HFSS Online Help

vidual 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.

In the Variables tab, specify the Min/Max values for variables included in the optimization, and the Min/Max Focus for the analysis. You may also override the variable starting values by clicking the Override checkbox and entering the desired value in the Starting Value field.

8.

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 checkbox will cause Optimetrics to modify the variable values in the nominal design to match the final values from the optimization analysis.

9.

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.

Optimization Setup for the SMINLP Optimizer Following is the procedure for setting up an optimization analysis using the Sequential Mixed Integer Nonlinear Programming (SMINLP) 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.

On the HFSS menu, point to Optimetrics Analysis, and then click Add Optimization

.

The Setup Optimization dialog box appears. 3.

Under the Goals tab, select the optimizer by selecting Sequential Mixed Integer Nonlinear Programming from the Optimizer pull-down list.

4.

Type the maximum number of iterations you want Optimetrics to perform during the optimization analysis in the Max. No. of Iterations text box.

5.

Under Cost Function, add a cost function by selecting the Setup Calculations button to open the Add/Edit Calculation dialog.

6.

If you want to select a Cost Function Norm Type:

15-26 Setting up an Optimetrics Analysis

HFSS Online Help



Check the Show Advanced Option check box.



Select L1, L2, or Maximum.

The Cost Function Norm Type pull-down list appears. A norm is a function that assigns a positive value to the cost function. 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.

In the Variables tab, specify the Min/Max values for variables included in the optimization, and the Min/Max Focus for the analysis. You may also override the variable starting values by clicking the Override checkbox and entering the desired value in the Starting Value field.

8.

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 checkbox will cause Optimetrics to modify the variable values in the nominal design to match the final values from the optimization analysis.

9.

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.

Optimization Setup for the Genetic Algorithm Optimizer Following is the procedure for setting up an optimization analysis using the Genetic Algorithm 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.

On the HFSS menu, point to Optimetrics Analysis, and then click Add Optimization

.

The Setup Optimization dialog box appears. 3.

Under the Goals tab, select the optimizer by selecting Genetic Algorithm from the Optimizer pull-down list.

4.

Click the Setup... button to modify the Advanced Genetic Algorithm Optimizer Options. Setting up an Optimetrics Analysis 15-27

HFSS Online Help

5. 6.

Under Cost Function, add a cost function by selecting the Setup Calculations button to open the Add/Edit Calculation dialog. If you want to select a Cost Function Norm Type:



Check the Show Advanced Option check box. The Cost Function Norm Type pull-down list appears.



Select L1, L2, or Maximum. A norm is a function that assigns a positive value to the cost function. 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.

In the Variables tab, specify the Min/Max values for variables included in the optimization, and the Min/Max Focus for the analysis. You may also override the variable starting values by clicking the Override checkbox and entering the desired value in the Starting Value field.

8.

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 checkbox will cause Optimetrics to modify the variable values in the nominal design to match the final values from the optimization analysis.

9.

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.

Setting the Maximum Iterations for an Optimization Analysis The Max. No. of Iterations value is the maximum number of design variations that you want Optimetrics to solve during an optimization when using the SNLP, SMINLP, Quasi Newton, or Pattern Search Optimizer. This value is a stopping criterion; if the maximum number of iterations has been completed, the optimization analysis stops. If the maximum number of iterations has not been com-

15-28 Setting up an Optimetrics Analysis

HFSS Online Help

pleted, the optimization continues by performing another iteration, that is, by solving another design variation. 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.

To set the maximum number of iterations for an optimization analysis:



Under the Goals tab of the Setup Optimization dialog box, type a value in the Max. No. of Iterations text box.

Related Topics Adding a Cost Function

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 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 Output Variables dialog box. Related Topics Adding a Cost Function Acceptable Cost Cost Function Noise Linear Constraints Goal Weight Step Size Explanation of L1, L1, Norm Costs in Optimization Setting up an Optimetrics Analysis 15-29

HFSS Online Help

Acceptable Cost The acceptable cost is the value of the cost function at which the optimization process should stop; otherwise known as the stopping criterion.The cost function value must be equal to or below the acceptable cost value for the optimization analysis to stop. The acceptable cost may be a negative value. Related Topics Cost Function Adding a Cost Function

Cost Function Noise 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. For example, if the cost function, c, is

c = 10000 ⋅ S 11

2

where |S11| is the magnitude of the reflection coefficient, at the minimum, |S11| is expected to be very small, S 11 ≈ 0 . From the solution setup, the error in |S11| is expected to be tion is therefore

E S11 ≈ 0.01 . The perturbed cost func-

c perturbed = 10000 ⋅ ( S 11 + E S11 ) min

2

Near the minimum, the error in the cost function Ec is given by

2 E c = c perturbed – c min = 10000 ⋅ ( 0.0 + 0.01 ) – ( 10000 ⋅ 0.0 ) = 1.0 Therefore, the cost function noise would be 1.0. Related Topics Cost Function

Adding a Cost Function A cost function can include one or more goals for an optimization analysis. Optimetrics manipulates the model's design variable values to fulfill the cost function.The optimization will stop when the solution quantity meets the acceptable cost criterion.

15-30 Setting up an Optimetrics Analysis

HFSS Online Help

Following is the general procedure for adding a cost function with a single goal: 1.

Under the Goals tab of the Setup Optimization dialog box, click Setup Calculations... The Add/Edit Calculation dialog box is displayed.

2.

In the Add/Edit Calculation dialog box, follow these general steps to set up a cost function. a.

Set the Context for the calculation.

b.

Choose the Category of available data type depending upon the Solution type of the design being optimized.

c.

Select the Quantity to add to the Calculated Expression field. Available quantities depend upon the Category selection.

d.

You may optionally make a selection from the function list to apply to the calculated expression.

e.

When the Calculation Expression has the desired equation, click Add Calculation to add the expression to the cost function table.

f.

Repeat to add additional calculations to the cost function or click Done to exit the Add/ Edit Calculation dialog box and return to Setup Optimization.

3.

To modify the Solution on which the calculation is based, click in the Solution column and select the solution from which the cost function is to be extracted from the pull-down list.

4.

To edit the calculation on which to base the cost function goal, select Edit from the pull-down list.

5.

In the Condition text box, click one of the following conditions from the pull-down list: =

Greater than or equal to

Minimize Reduce the cost function to a minimum value Maximize Identify a maximized condition 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.

7.

Optionally, if you have multiple goals and want to assign higher or lower priority to a goal, type a different value for the goal's weight in the Weight text box. The goal with the greater weight is given more importance. If the goal is a complex value, the weight value must be complex; two weight values must be specified. The weight value cannot be variable dependent.

Note

Click the Edit Goal/Weight button to open the Edit Goal Value/Weight dialog box where you can modify weights for all goals simultaneously; as well as, set the Goal Values to expressions.

Setting up an Optimetrics Analysis 15-31

HFSS Online Help

8.

Specify other options (such as acceptable cost, noise, and number of passes), and then click OK.

The optimization stops when the solution quantity meets the acceptable cost criterion. Related Topics Setting a Goal Value Cost Function Acceptable Cost Goal Weight

Adding/Editing a Cost Function Calculation The Add/Edit Calculation dialog box allows you to define the mathematical equation for one or multiple cost functions. It represents the calculation to be performed on the optimization variables to compare to the goal values. To set up a calculation for a cost function: 1.

In the Context section of the dialog:



Select the Report Type with a pull-down selection list containing the available types for this design.



Select the Solution from the drop down selection list. This lists the available setups and sweeps. As a minimum, the LastAdaptive solution is available.



Select the Geometry from the drop down selection list or select none (the default). This modifies the list of quantities available to the ones that apply to the specific geometry.

2.

The Output Variables button opens the Output Variables dialog box allowing you to create special output variables to be used in the cost function.

3.

The Calculated Expression field in the Trace tab is used to enter the equation to be used for the cost function. To enter an expression, you may type it directly into the field or use the Category, Quantity, and Function lists as follows:



Select the Category, these depend on the Solution type and the design. This lets you specify the category of information to be used in the cost function.



Select a Quantity from the list. Available quantities depend upon the Solution type, as well as the Geometry and Category selection. Selecting a Quantity automatically enters it into the Calculated Expression field.

• •

Select a Function to apply to the value in the calculated expression. For swept variables, the RangeFunction button opens the Set Range Function dialog to apply functions to the expression that apply over the sweep range.

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 Calculated Expression has been obtained, click the Add Calculation button to add the entry to the cost function table. You may add multiple entries to the table simply by changing the Calculated Expression and using the Add Calculation button.

6.

To update or edit a selected cost function, enter the desired Calculated Expression and click the

15-32 Setting up an Optimetrics Analysis

HFSS Online Help

Update Calculation button. 7.

Click Done to return to the Setup Calculations dialog box.

Specifying a Solution Quantity for a Cost Function Goal 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. 1.

Add a row (a goal) to the cost function table: a.

Under the Goals tab of the Setup Optimization dialog box, click Add. A new row is added to the Cost Function table.

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:



If you know the syntax of the mathematical expression or the output variable's name, type it in the Calculation text box.



If you want to create an output variable that represents the solution quantity, do the following: a.

Click Edit Calculation. The Output Variables dialog box appears.

b.

Add the expression you want to evaluate, click Done.

c.

Click Done to close the Output Variables dialog box. In the Setup Optimization dialog box, the most recently created output variable appears in the Calculation text box.

d.

To specify a different defined output variable, click the Calculation text box. It becomes a pull-down list that displays all of the defined output variables. Click an output variable from the pull-down list.

Setting the Calculation Range of a Cost Function Goal The calculation range is the range within which you want a cost function goal to be calculated. It can be a single value or a range of values, depending on the solution or solution quantity selected for the goal. 1.

Under the Goals tab in the Setup Optimization dialog box, click Edit Cal. Range.

2.

In the Variable pull-down list, click a variable. If you chose to solve a parametric setup during the optimization analysis, the variables swept in that parametric setup are available in the Variable pull-down list. If you sweep a variable in the parametric setup that is also being optimized, that variable is excluded from the optimization. Other examples of available variables include frequency, if the solution quantity is an Sparameter quantity, and phi or theta, if the solution quantity is a radiated field quantity. Setting up an Optimetrics Analysis 15-33

HFSS Online Help

3.

4.

5.

After you select a variable from the Variable pull-down list, you can select a range of values for the calculation range as follows: a.

Select Range.

b.

In the Start text box, type the starting value of the range.

c.

In the Stop text box, type the final value of the range.

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.

Click Update, and then click OK.

Setting a Goal Value 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 use the Edit Goal/Value Weight dialog box to specify the goal value as a single value, a mathematical expression, or a value dependent on a variable such as frequency. Related Topics Specify a single goal value. Specify an expression as the goal value. Specify a variable-dependent goal value.

Specifying a Single Goal Value 1.

Under the Goals tab in the Setup Optimization dialog box, click Edit Goal/Weight. The Edit Goal/Weight dialog box appears.

2.

Under the Goal Value tab, click Simple Numeric Value from the Type list.

3.

If the goal value is complex, click real/imag in the pull-down list to the right if you want to specify the real and imaginary parts of the goal value. Alternatively, click mag/ang if you want to specify the magnitude and angle of the goal value.

4.

Type the goal value in the Goal Value table. 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.

15-34 Setting up an Optimetrics Analysis

HFSS Online Help

Specifying an Expression as a Goal Value 1.

Under the Goals tab in the Setup Optimization dialog box, click Edit Goal/Weight. The Edit Goal/Weight dialog box appears.

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: a.

Click Edit Expression. The Output Variables dialog box appears.

b.

Add the expression you want to be the goal value, and then click Done. HFSSenters the most recently created output variable in the text box below the Goal Value heading.

4.

Click OK. The goal value you specified appears in the Goal text box.

Specifying a Variable-Dependent Goal Value 1.

Under the Goals tab in the Setup Optimization dialog box, click Edit Goal/Weight. The Edit Goal/Weight dialog box appears.

2.

Under the Goal Value tab, click Variable Dependent from the Type list.

3.

Click a variable from the pull-down list to the left of the table.

4.

Type the value of that variable in the first column of the table.

Warning

Variable values must be single real numbers, or expressions that evaluate to single real numbers. Complex numbers cannot be used as the values of variables in any optimetric analysis.

5.

Type a corresponding goal value for that variable value in the text box below the Goal Value heading.

6.

Click Add to add another row to the reference curve.

7.

Repeat steps 4, 5, and 6 until you have specified the reference curve.

8.

Click OK. The goal value is listed as being variable dependent in the Goal text box.

Goal Weight If an optimization setup has a cost function made up of multiple goals, you can assign a different weight to each goal. The goal with the greater weight is given more importance during the cost calculation.

Setting up an Optimetrics Analysis 15-35

HFSS Online Help

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:

Nj

G Wj -----Nj

∑ ∑ ei j

i

where

G is the number of sub-goals. Wj is the weight factor associated with the jth sub-goal. Nj is the number of frequencies for the jth sub-goal. 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 =. Band Characteristics (Condition)

ei evaluation where si is the simulated response and gi is the desired limit.

=

⎧ 0 ei = ⎨ ⎩ gi – si

si ≤ gi si > gi

si ≥ gi si < gi

If the total error value is within the acceptable cost, the optimization stops. Related Topics Adding a Cost Function Cost Function

15-36 Setting up an Optimetrics Analysis

HFSS Online Help

Modifying the Starting Variable Value for Optimization A variable's starting value is the first value to be solved during the optimization analysis. Optimetrics automatically sets the starting value of a variable to be the current value set for the nominal design. You can modify this value for each optimization setup. Note

1.

If you choose to solve a parametric setup before an optimization analysis, a variable's starting value is ignored if a more appropriate starting value is calculated for it during the parametric analysis.

In the Setup Optimization dialog box, click the Variables tab. 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.

• 3.

Alternatively, you can select the Override option first, and then type a new variable value in the Starting Value text box.

Optionally, click a new unit system in one of the Units text boxes.

Note

To revert to the default starting value, clear the Override checkbox.

Related Topics Setting the Min. and Max. Variable Values for Optimization Step Size Setting the Min and Max Focus Modifying the Starting Variable Value for Sensitivity Analysis Modifying the Starting Variable Value for Statistical Analysis

Setting the Min. and Max. Variable Values for Optimization For every optimization setup, Optimetrics automatically sets the minimum and maximum values it will consider for a variable being optimized. Optimetrics sets a variable's minimum value equal to approximately 50% of its starting value. (The starting value is the variable's current value set for the nominal design.) Optimetrics sets the variable's maximum value equal to approximately 150% of the starting value. During the optimization analysis, variable values that lie outside of this range are not considered. Warning

Variable values must be single real numbers, or expressions that evaluate to single real numbers. Complex numbers cannot be used as the values of variables in any optimetric analysis.

Related Topics Override the default min and max variable values for a single optimization setup. Setting up an Optimetrics Analysis 15-37

HFSS Online Help

Change the default min and max variable values for every optimization setup.

Overriding the Min. and Max. Variable Values for a Single Optimization Setup 1.

In the Setup Optimization dialog box, click the Variables tab. All of the variables that were selected for optimization analysis are listed.

2.

Type a new value in the Min or Max text box for the value you want to override, and then press Enter. The Override option is now selected. This indicates that the value you entered is used for this optimization analysis; the variable's current Min or Max value in the nominal design is ignored.

• 3.

Alternatively, you can select the Override option first, and then type a new value in the Min or Max text box.

Optionally, click a new unit system in one of the Units text boxes.

To revert to the default minimum and maximum values, clear the Override option.

Changing the Min. and Max. Variable Values for Every Optimization Setup 1.

Make sure that the variable's minimum and maximum values are not being overridden in any single optimization setup.

2.

If the variable is a design variable, do the following: Click HFSS>Design Properties. If the variable is a project variable, do the following: Click Project>Project Variables. The Properties dialog box appears.

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.

15-38 Setting up an Optimetrics Analysis

HFSS Online Help

The step vector between the ith and (i+1)th iterate is as follows:

si = xi + 1 – xi The natural distance measure is,

T

si =

si si

which is the Euclidean norm. A more general distance measure incorporates some "stretching" of the design space:,

si

D

=

T T

s i D Ds i

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. The optimizer stops the search if,

si

D min

1

where Dmax has diagonal elements equal to the inverse of Max. Step values of the corresponding optimization variables. Related Topics Setting the Min. and Max. Step Sizes Cost Function Adding a Cost Function Setting up an Optimetrics Analysis 15-39

HFSS Online Help

Setting the Min. and Max. Step Sizes 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. 1.

In the Setup Optimization dialog box, click the Variables tab.

2.

Optimetrics displays Min Step and Max Step columns, with default values for each variable to be optimized.

3.

In the Min Step text box, type the minimum step size value. Optionally, modify the unit system in the Units text box.

4.

In the Max Step text box, type the maximum step size value. Optionally, modify the unit system in the Units text box.

5.

Click OK. Hint

A value of zero is recommended for the minimum step size.

Related Topics Step Size

Setting the Min and Max Focus For the SNLP, SMINLP and Genetic Algorithm optimizers, the min focus and max focus criteria allow you to specify a sub-range of parameter values where the optimizer should look when performing the optimization. This focus box is where you suspect the optimal solution will be, so it is a hint for the optimizer.

• •

The domain limits the search. The domain = physical limits.



This focus must be inside the domain limits. Consequently, it has to be equal or smaller size. An error message is generated if you specify a focus outside the domain.



The focus box must be at least one hundredth of the domain size. Otherwise, an error message

The focus box does not limit the search. Rather, the Focus box = an initial guess of optimum search domain. The starting point is the center of the focus box, but the search does extend beyond the box.

15-40 Setting up an Optimetrics Analysis

HFSS Online Help

is sent.

Equalizing the influence of different optimization variables. 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 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.

To set the Min and Max Focus values: 1.

In the Setup Optimization dialog box, click the Variables tab.

2.

Optimetrics displays Min. Focus and Max. Focus columns, with default values for each variable to be optimized. 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.



In the Min. Focus text box, type the minimum value of the focus range. Optionally, modify the unit system in the Units text box.



In the Max. Focus text box, type the maximum value of the focus range. Optionally, modify the unit system in the Units text box.



Click OK.

Solving a Parametric Setup Before an Optimization Solving a parametric setup before an optimization setup is useful for guiding Optimetrics during an optimization. To solve a parametric setup before an optimization setup: 1.

In the Setup Optimization dialog box, click the General tab.

2.

In the Parametric Analysis pull-down list, click the parametric setup you want Optimetrics to solve before optimization.

Note

3.

The parametric setup must include sweep definitions for the variables you are optimizing.

Select Solve the parametric sweep before optimization.

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.

Setting up an Optimetrics Analysis 15-41

HFSS Online Help

Related Topics Solving a Parametric Setup During an Optimization

Solving a Parametric Setup During an Optimization Solving a parametric setup during an optimization analysis is useful when you want Optimetrics to solve every design variation specified in the parametric setup at each optimization iteration. A cost function goal could then depend on the value of the variable swept in the parametric setup. To solve a parametric setup during an optimization analysis: 1.

In the Setup Optimization dialog box, click the General tab.

2.

In the Parametric Analysis pull-down list, click the parametric setup you want Optimetrics to solve during an optimization.

3.

Select Solve the parametric sweep during optimization.

4.

Optionally, you can adjust the sweep values to be used during the optimization. a.

Click on the Goal tab, click Setup Calculations to specify a calculation. The Add/Edit Calculation dialog box is displayed.

b.

Click the Calculation Range tab.

c.

Click the Edit button for the sweep to be modified.

d.

In the pop-up dialog box, select the sweep values to use.

e.

Close the pup-up dialog box. Click Done to close the Add/Edit Calculation dialog.

Automatically Updating a Variable's Value After Optimization When Optimetrics finds an optimal variable value by solving an optimization setup, it can automatically update that variable's current value set for the nominal model to the optimal value. 1.

In the Setup Optimization dialog box, click the General tab.

2.

Select Update design parameters' values after optimization. When optimization is complete, the current variable value for each optimized variable is changed to the optimal value.

Changing the Cost Function Norm You can select the norm to be used in the calculation of the cost goal. 1.

In the Setup Optimization dialog box, click the Goals tab.

2.

Select Show Advanced Options.

3.

Select a norm from the pull-down in the Cost Function Norm Type field. The options are L1, L2, and Maximum. L2 is the default.

Related Topics Explanation of L1, L2 and Max Norms in Optimization Cost Function

15-42 Setting up an Optimetrics Analysis

HFSS Online Help

Explanation of L1, L2 and Max norms in Optimization 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: Calculation(i) Condition(i) Goal(i) Weight(i) 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:

N

Cost =

∑ wi εi 1

For L2 norm the actual cost function uses the weighted sum of absolute values of the individual

N

Cost =



2 wi ε i

1 For the Maximum norm the cost function uses the maximum among all the weighted goal errors:

Cost =

N Max W i ⋅ ε i 1

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.

Setting up an Optimetrics Analysis 15-43

HFSS Online Help

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:

15-44 Setting up an Optimetrics Analysis

HFSS Online Help

The norm type doesn’t impact goal setting that use as condition the “minimize” or “maximize” scenarios. Note that when using “minimize” or “maximize” settings for the condition there should be a single goal setting which in this case coincides with the cost function. Related Topics Cost Function

Example of a More Complex Cost Function As an example of a more sophisticated cost function, consider the figure. It belongs to a connector simulated in HFSS with more than four ports.

The cost function given here concentrates only on a signal sent into port in_1. Suppose the specifications to be met are: reflection, backward cross talk and forward cross talk all smaller than or equal to -20 dB, of which the forward cross talk is the most important. The first three entries in the cost function enforce those specifications, with the weight for the forward cross talk being a larger number than the other weights. The actual values for the weights are somewhat arbitrary and serve as examples only. For this cost function, as long as specifications are not met, the optimizer puts the most effort in getting the forward cross talk close to its specification. Once the three specifications have been satisfied, their contributions to the cost function become zero, and only the fourth entry remains. Remember that the connector has more than four ports, so satisfying the given specs does not guarantee maximum transmission. The fourth line tries to maximize the transmission by asking for S(out_1, in_1) to be 0 dB. That will never be reached, but its presence forces the optimizer to improve the connector a bit beyond the specifications. The cost function norm type specifies how the four lines are combined into one cost function with one value. With L1 and L2, all four contribute simultaneously, rather than only the largest of the four at any one time. Related Topics Cost Function Adding a Cost Function Setting up an Optimetrics Analysis 15-45

HFSS Online Help

Advanced Genetic Algorithm Optimizer Options 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 the Setup button to open the Advanced Genetic Algorithm Optimizer Options dialog.

2.

Select the Stopping Criteria. Any of the three following, or any combination of these can be selected.

3.

• •

Maximum number of generations. If checked, this enables a value field.



Slow convergence.

Elapsed time. If checked, this enables a drop down menu with times ranging from five minutes to two weeks.

Specify the Parents. The first step towards mating is a selection process that determines the participating individuals. Potential parents are selected from the Current Generation. This is a set of individuals that is always a subset of the current generation.

4.



Number of individuals value field -- specify the number of parents for the optimizer to use. You can set the Number of Individuals to less than or equal to the size of the "Current Generation". One reason to consider fewer parents than the possible maximum is to steer the GA towards improvement by selecting the better portion of the current generation to be able to mate.



Roulette selection checkbox -- 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.

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.

5.



Number of individuals field -- specify the number individuals to include in the mating pool.



Reproduction setup-- this button opens the Genetic Algorithm Optimizer Reproduction Setup dialog.

Click the Reproduction setup button for the dialog 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 popu-

15-46 Setting up an Optimetrics Analysis

HFSS Online Help

lation, 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. For crossover there are four possible parameters.

6.

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 set 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.

Select one of the four Crossover types from the drop-down menu. The crossover type selected affects the options available. Uniform

Individual crossover probability Variable crossover probability

One point

Individual crossover probability

Two point

Individual crossover probability

Simulated binary crossover

Individual 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.

• • • 8.

Uniform Distribution Gaussian Distribution Polynomial Mutation.

For the selected mutation type, set the following parameters: Setting up an Optimetrics Analysis 15-47

HFSS Online Help

9.



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).



Individual Mutation Probability controls, for each child, the likelihood of a mild mutation.



Variable Mutation Probability. If the child will be mutated, this probability controls at the variable level the likelihood of a mutation of the variables.



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.

When you have completed the Reproduction setup in the Genetic Algorithm Optimizer Reproduction Setup dialog, click OK to close it and return to the Advanced Genetic Algorithm Optimizer Options dialog.

10. In the Advanced Genetic Algorithm Optimizer Options dialog, specify the children as a Number of Individuals. 11. Set the Pareto Front value. This 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.



Number of individuals value field -- specify the number of individuals to survive to form the next generation for the optimizer to use.



Roulette selection checkbox -- if checked, this enables the Selection pressure value field. This number defines how many times more probable is the selection of the best individual over the worst individual in an elementary spin of the roulette wheel.

13. Click OK to accept the settings for the Genetic Algorithm and to close the dialog. Related Topics Setting up an Optimization Analysis Adding a cost function Optimization Overview Acceptable Cost Explanation of L1, L2, and Max Norms in Optimization Choosing an Optimizer

15-48 Setting up an Optimetrics Analysis

HFSS Online Help

Sensitivity Analysis Overview During a sensitivity analysis, Optimetrics explores the vicinity of the design point to determine the sensitivity of the design to small changes in variables. The variables and their attributes define the design point, the problem around which the sensitivity analysis is performed. When Optimetrics performs a sensitivity analysis, its goal is to calculate the second-order regression polynomials for all of the design's output parameters. The algorithm first determines an appropriate interval for each variable. The intervals are further sub-divided according to the available number of iterations and variables. If the master output is not used, the specified initial displacement values define those intervals. When all of the design calculations are complete, the second-order polynomials are fitted for all the output parameters. Optimetrics then reports the following quantities:

• • •

Regression value at the current variable value. First derivative of the regression. Second derivative of the regression.

Related Topics Setting Up a Sensitivity Analysis Selecting a Master Output

Selecting a Master Output During a sensitivity analysis, the design variations that Optimetrics selects to solve are close to the design point, but not so close that numerical noise (from the finite element mesh) affects the analysis. The algorithm that Optimetrics uses to determine the design variations to solve must be based on only one output parameter and that output parameter's numerical noise. Therefore, if you have defined more than one output parameter, be sure to select Master Output for the output variable on which you want the selection of design variations to be based. Related Topics Setting Up an Output Parameter Setting Up a Sensitivity Analysis

Setting up an Optimetrics Analysis 15-49

HFSS Online Help

Setting Up a Sensitivity Analysis Following is the general procedure for setting up a sensitivity analysis. 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.

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.

On the HFSS menu, point to Optimetrics Analysis, and then click Add Sensitivity

.

The Setup Sensitivity Analysis dialog box appears. 3.

Under the Calculations tab, type the maximum number of iterations per variable value that you want HFSS to perform in the Max. No. of Iterations/Sensitivity Variable text box.

4.

Set up an output parameter calculation and select a Master Output

5.

Specify the value of the design point at which the sensitivity analysis should stop in the Approximate Error in Master Output text box.

6.

In the Variables tab, specify the Min/Max values for variables included in the optimization, and the Initial Displacement (Initial Disp.) for the analysis. You may also override the variable starting values by clicking the Override checkbox 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.

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:

• • • • •

Modify the starting variable value.

• •

Set linear constraints.

Modify the minimum and maximum values of variables that will be solved. Exclude variables from the sensitivity analysis. Set the initial displacement. Modify the values of fixed variables that are not being modified during the sensitivity analysis. Request that Optimetrics solve a parametric sweep before a sensitivity analysis.

15-50 Setting up an Optimetrics Analysis

HFSS Online Help



Note

You can also request that Optimetrics solve a parametric sweep during a sensitivity analysis.

Sweeping or using a complex variable is not allowed in any optimetrics setup, including optimization, statistical, sensitivity, and tuning setups.

Related Topics Sensitivity Analysis Overview Setting the Maximum Iteration Per Variable

Setting the Maximum Iterations Per Variable The Max. No. of Iterations/Sensitivity Variable value is the maximum number of design variations that Optimetrics solves per variable during a sensitivity analysis. This value is a stopping criterion; if the maximum number of iterations has been completed, the sensitivity analysis stops. If the maximum number of iterations has not been completed, the sensitivity analysis continues by performing another iteration, that is, by solving another design variation. It performs iterations until the approximate error in master output value is reached or until Optimetrics cannot proceed as a result of other sensitivity setup constraints, such as when it searches for a variable value that is larger than the maximum value. To set the maximum number of iterations for a sensitivity analysis:



Under the Calculations tab of the Setup Sensitivity Analysis dialog box, type a value in the Max. No. of Iterations/Sensitivity Variable text box.

Related Topics Setting Up an Output Parameter

Setting Up an Output Parameter Following is the general procedure for adding an output parameter to a sensitivity setup: 1.

Under the Calculations tab of the Setup Sensitivity Analysis dialog box, click Setup Calculations to open the Add/Edit Calculations dialog box.

2.

In the Add/Edit Calculations dialog box, set up output parameter calculations to be evaluated for sensitivity.

3.

To modify the solution from which the output parameter is to be extracted, click in the Solution column and select from the options in the pop-up list.

4.

You can modify the Calculation specified by clicking on the output parameter in the table and selecting Edit.

5.

For output parameters based on swept variable, you must choose a single value in the Calculation Range at which to evaluate the output parameter.

6.

If the output parameter is based on a swept variable, in the Calculation Range column, set the value of the variable at which the output parameter is to be computed.

7.

If you have more than one output parameter, select Master Output if you want Optimetrics to Setting up an Optimetrics Analysis 15-51

HFSS Online Help

use the output parameter to base its selection of solved design variations. Note

During a sensitivity analysis, the design variations that Optimetrics selects to solve are close to the design point, but not so close that numerical noise (from the finite element mesh) affects the analysis. The algorithm that Optimetrics uses to determine the design variations to solve must be based on only one output parameter and that output parameter’s numerical noise. If you have defined more than one output parameter, be sure to select Master Output for the output variable on which you want the selection of design variations to be based.

Related Topics Selecting a Master Output

Specifying a Solution Quantity for an Output Parameter 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: 1.

In the Context section of the dialog:



Select the Report Type with a pull-down selection list containing the available types for this design.



Select the Solution from the drop down selection list. This lists the available setups and sweeps. As a minimum, the LastAdaptive solution is available.



Select the Geometry from the drop down selection list or select none (the default). This modifies the list of quantities available to the ones that apply to the specific geometry.



When selecting a geometry, you may also be required to specify a point within the geometry where the calculation is to be performed.

2.

The Output Variables button opens the Output Variables dialog box allowing you to create special output variables to be used in the output parameter.

3.

The Calculation Expression field in the Trace tab is used to enter the equation to be used for the output parameter. To enter an expression, you may type it directly into the field or use the Category, Quantity, and Function lists as follows:



Select the Category, these depend on the Solution type and the design. This lets you specify the category of information to be used in the output parameter.



Select a Quantity from the list. Available quantities depend upon the Solution type, as well as the Geometry and Category selection. Selecting a Quantity automatically enters it into the Calculation Expression field.

• •

Select a Function to apply to the value in the calculated expression. For swept variables, the RangeFunction button opens the Set Range Function dialog to apply functions to the expression that apply over the sweep range.

15-52 Setting up an Optimetrics Analysis

HFSS Online Help

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 the Add Calculation button 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.

Related Topics Setting the Calculation Range of an Output Parameter

Setting the Calculation Range of an Output Parameter 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. The Edit Calculation Range dialog box appears.

2.

In the table, click the Edit button in the row 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. Other examples of available variables include frequency, if you selected an S-parameter solution quantity; and phi or theta, if the solution quantity is a radiated field quantity.

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 Sensitivity Analysis dialog box.

Related Topics Setting Up an Output Parameter

Modifying the Starting Variable Value for Sensitivity Analysis The design point of the sensitivity analysis is the starting value of the sensitivity variable and is usually the first variation to be solved. Optimetrics automatically sets the starting value of a variSetting up an Optimetrics Analysis 15-53

HFSS Online Help

able to be the current value set for the nominal design. You can modify the design point for each sensitivity setup. Warning

1.

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.

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.

• 3.

Alternatively, you can select the Override option first, and then type a new variable value in the Starting Value text box.

Optionally, click a new unit system in one of the Units text boxes.

To revert to the default starting value, clear the Override option. Related Topics Setting Up a Sensitivity Analysis

Setting the Min. and Max. Variable Values For every sensitivity setup, Optimetrics automatically sets the minimum and maximum values that it will consider for a sensitivity variable. Optimetrics sets a variable’s minimum value equal to approximately one-half its starting value. (The starting value is the variable’s current value set for the nominal design.) Optimetrics sets the variable’s maximum value equal to approximately 1.5 times the starting value. During sensitivity analysis, variable values outside this range are not considered. Warning

Variable values must be single real numbers, or expressions that evaluate to single real numbers. Complex numbers cannot be used as the values of variables in any optimetric analysis.

Related Topics Override the default minimum and maximum variable values for a single sensitivity setup. Change the default minimum and maximum variable values for every sensitivity setup.

Overriding the Min. and Max. Variable Values for a Single Sensitivity Setup 1.

In the Setup Sensitivity Analysis dialog box, click the Variables tab. All of the variables that were selected for sensitivity analysis are listed.

2.

Type a new value in the Min or Max text box for the value you want to override, and then press Enter.

15-54 Setting up an Optimetrics Analysis

HFSS Online Help

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.

• 3.

Alternatively, you can select the Override option first, and then type a new value in the Min or Max text box.

Optionally, click a new unit system in one of the Units text boxes.

To revert to the default minimum and maximum values, clear the Override option. Related Topics Setting Up a Sensitivity Analysis

Changing the Min. and Max. Variable Values for Every Sensitivity Setup 1.

Make sure the variable's minimum and maximum values are not being overridden in any sensitivity setup.

2.

If the variable is a design variable, do the following: Click HFSS>Design Properties. If the variable is a project variable, do the following: Click Project>Project Variables. The Properties dialog box appears.

3.

Select Sensitivity.

4.

Type a new value in the Min or Max text box for the value you want to override, and then press Enter. When Optimetrics solves a sensitivity setup, it does not consider variable values that lie outside of this range.

Related Topics Setting Up a Sensitivity Analysis

Setting the Initial Displacement The initial displacement is the difference in a variable's starting value and the next solved design variation. During the sensitivity analysis, Optimetrics does not consider an initial variable value that is greater than this step size away from the starting variable value. 1.

In the Setup Sensitivity Analysis dialog box, click the Variables tab.

2.

Optimetrics displays the Initial Disp. column, with default values for each sensitivity variable.

3.

In the Initial Disp. text box, type the initial displacement value. Optionally, modify the unit system in the Units text box.

Related Topics Setting Up a Sensitivity Analysis

Solving a Parametric Setup Before a Sensitivity Analysis Solving a parametric setup before a sensitivity setup is useful for guiding Optimetrics in a sensitivity analysis.

Setting up an Optimetrics Analysis 15-55

HFSS Online Help

To solve a parametric setup before a sensitivity setup: 1.

In the Setup Sensitivity Analysis dialog box, click the General tab.

2.

Click the parametric setup you want Optimetrics to solve before the sensitivity setup from the Parametric Analysis pull-down list.

Note 3.

The parametric setup must include sweep definitions for the sensitivity variables.

Select Solve the parametric sweep before analysis.

If the parametric setup has not yet been solved, Optimetrics solves it. Optimetrics uses the results (of the solution calculation you requested under the Goals tab of the Setup Sensitivity dialog box) to determine the next design variation to solve for the sensitivity analysis. Related Topics Setting Up a Sensitivity Analysis

Solving a Parametric Setup During a Sensitivity Analysis Solving a parametric setup during a sensitivity analysis is useful when you want Optimetrics to solve every design variation in the parametric setup at each sensitivity analysis iteration. An output parameter goal could then depend on the value of the variable swept in the parametric setup. To solve a parametric setup during a 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 pull-down list.

3.

Select Solve the parametric sweep during analysis.

Related Topics Setting Up a Sensitivity Analysis

15-56 Setting up an Optimetrics Analysis

HFSS Online Help

Statistical Analysis Overview Statistical analysis allows you to explore the effects of random combinations of values of selected variables on selected global or local available analysis results. Therefore, 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. For each variable you must specify the type of distribution (Uniform, Gaussian, Lognormal or User Defined) and the corresponding parameters of the selected distribution. 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. Related Topics Setting Up a Statistical Analysis

Setting up an Optimetrics Analysis 15-57

HFSS Online Help

Setting Up a Statistical Analysis Following is the general procedure for setting up a statistical analysis. 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.

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.

On the HFSS menu, point to Optimetrics Analysis, and then click Add Statistical

3.

The Setup Statistical Analysis dialog box appears.

4.

Under the Calculations tab, type the maximum number of iterations you want HFSS to perform in the Maximum Iterations text box.

.

5.

Specify a solution quantity to evaluate.

6.

In the Calculation text box, set the value at which the solution quantity is to be computed.

7.

Optionally, modify the distribution criteria to be used.

8.

The following optional statistical analysis setup options can also be used:

• • • • Note

9.

Modify the starting variable value. Exclude variables from the statistical analysis. Modify the values of fixed variables that are not being modified during the statistical analysis. Request that Optimetrics solve a parametric sweep during a statistical analysis. Sweeping or using a complex variable is not allowed in any optimetrics setup, including optimization, statistical, sensitivity, and tuning setups.

If you want to save the field solution data for the design variations solved during analysis, select Save Fields.

Related Topics Statistical Analysis Overview

Setting the Maximum Iterations for a Statistical Analysis The Maximum Iterations value is the maximum number of design variations Optimetrics solves during a statistical analysis. This value is a stopping criterion; if the maximum number of iterations has been completed, the analysis stops. If the maximum number of iterations has not been completed, Optimetrics continues by performing another iteration, that is, by solving another design variation. To set the maximum number of iterations for a statistical analysis:



Under the Calculations tab of the Setup Sensitivity Analysis dialog box, type a value in the Maximum Iterations text box.

15-58 Setting up an Optimetrics Analysis

HFSS Online Help

Related Topics Setting up a Statistical Analysis

Specifying the Solution Quantity to Evaluate for Statistical Analysis When you add a statistical setup, you can identify one or more solution quantities to evaluate. The solution quantities are specified by mathematical expressions that are composed of basic quantities. When you view the results, HFSS displays the distribution of the solution quantities. 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.

2.

In the Context section of the dialog:



Select the Report Type with a pull-down selection list containing the available types for this design.



Select the Solution from the drop down selection list. This lists the available setups and sweeps. As a minimum, the LastAdaptive solution is available.



Select the Geometry from the drop down selection list or select none (the default). This modifies the list of quantities available to the ones that apply to the specific geometry.



When selecting a geometry, you may also be required to specify a point within the geometry where the calculation is to be performed.

3.

The Output Variables button opens the Output Variables dialog box allowing you to create special output variables to be used in the output parameter.

4.

The Calculation Expression field in the Trace tab is used to enter the equation to be used for the solution quantities. To enter an expression, you may type it directly into the field or use the Category, Quantity, and Function lists as follows:



Select the Category, these depend on the Solution type and the design. This lets you specify the category of information to be used in the output parameter.



Select a Quantity from the list. Available quantities depend upon the Solution type, as well as the Geometry and Category selection. Selecting a Quantity automatically enters it into the Calculation Expression field.

• •

Select a Function to apply to the value in the calculated expression. For swept variables, the RangeFunction button opens the Set Range Function dialog to apply functions to the expression that apply over the sweep range.

5.

The Calculation Range tab applies to swept variables and allows you to specify the range of the sweep over which to apply the calculation.

6.

When the desired Calculation Expression has been obtained, click the Add Calculation button to add the entry to the calculation table in the Setup Statistical Analysis dialog box. You may add multiple entries to the table simply by changing the Calculated Expression and using the Add Calculation button.

7.

To update or edit a selected cost function, enter the desired Calculation Expression and click Setting up an Optimetrics Analysis 15-59

HFSS Online Help

the Update Calculation button. 8.

Click Done to return to the Setup Statistical Analysis dialog box.

Note

The solution quantity you specify must be able to be evaluated to a single, real number.

Related Topics Setting up a Statistical Analysis Setting the Maximum Iterations for a Statistical Analysis

Setting the Solution Quantity's Calculation Range The calculation range of a solution quantity determines the intrinsic variable value at which the solution quantity is extracted. For a statistical setup, the calculation range must be a single value.For a Driven Modal or Driven Terminal design, if you specified that the solution be extracted from the last adaptive solution, Optimetrics uses the adaptive frequency defined in the solution setup. If you specified that the solution quantity be extracted from a frequency sweep solution, Optimetrics will use the starting frequency in the sweep by default.The calculation range should be set during the setup of the solution quantity for statistical evaluation. In order to modify the calculation range, do the following: 1.

Under the Calculations tab of the Setup Statistical Analysis dialog box, click in the Calculation Range column of the table for the calculation to be modified. The Edit Calculation Range dialog box appears.

2.

In the table, click the Edit button in the row 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. Other examples of available variables include frequency, if you selected an S-parameter solution quantity; and phi or theta, if the solution quantity is a radiated field quantity.

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.

Related Topics Setting up a Statistical Analysis

Setting the Distribution Criteria For every statistical setup, Optimetrics automatically sets the distribution criteria to be uniform within a 10% tolerance of the variable's starting value. You can modify the distribution type and criteria for a single statistical setup or for every statistical setup. Related Topics Override the default distribution criteria for a single statistical setup. 15-60 Setting up an Optimetrics Analysis

HFSS Online Help

Change the default distribution criteria for every statistical setup.

Overriding the Distribution Criteria for a Single Statistical Setup To override the default distribution criteria for a single statistical setup: 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 checkbox 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.

• 4.

Alternatively, you can select the Override option first, and then select a different distribution type in the Distribution text box.

Optionally, if you want to change the distribution criteria, click in Distribution Criteria column for the variable you want to override. The Edit Distribution dialog box appears.

5.

If the distribution type is Gaussian, do the following: a.

Enter the standard deviation in the Std. Dev text box.

b.

Enter the lower limit of the distribution in the Low Cutoff text box.

c.

Enter the upper limit of the distribution in the High Cutoff text box. HFSS will solve design variations using a Gaussian distribution within the low and high cutoff values.

6.

If the distribution type is Uniform, do the following:



Enter a tolerance value in the text box. HFSS will solve design variations within the tolerance range of the starting value, using an even distribution.

7.

8.

If the distribution type is Lognormal, do the following: a.

Enter the cutoff probability in the Cutoff Probability text box.

b.

Enter the sigma value of the distribution in the Sigma text box and select a unit from the pull-down.

c.

Enter the m value of the distribution in the M text box.

d.

Enter the theta value in the Theta text box and select a unit from the pull-down.

If the distribution type is User Defined, do the following: a.

Enter the cutoff probability in the Cutoff Probability text box.

b.

Click Edit XY Data to open the Edit Datasets dialog box in which you can select an existing dataset, or create a new one. Setting up an Optimetrics Analysis 15-61

HFSS Online Help

9.

By default, all variables are set to sample using Latin Hypercube sampling. This sampling method provides for greater variability than random sampling by keeping track of chosen samples and guaranteeing that samples cannot be repeated. You may revert to random sampling by clearing the checkbox in the Latin Hypercube column for any desired variable.

10. Click OK. To revert to the default distribution settings, clear the Override option. Related Topics Statistical Cutoffs

Changing the Distribution Criteria for Every Statistical Setup To change the default distribution criteria for every statistical setup: 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 the HFSS menu, click Design Properties. If the variable is a project variable, do the following: Click Project>Project Variables. The Properties dialog box appears.

3.

Select Statistics.

4.

Click in the Distribution column for the variable you want to change, and then select Uniform, Gaussian, Lognormal, or User Defined.

5.

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.

6.

If the distribution type is Gaussian, do the following: a.

Type a cutoff probability value in the Cutoff Probability text box.

b.

Type the standard deviation in the Std. Dev text box.

c.

Type the mean value of the distribution in the Mean text box. HFSS will solve design variations using a Gaussian distribution within the low and high cutoff values.

7.

If the distribution type is Uniform, do the following: a.

Type a cutoff probability value in the Cutoff Probability text box.

b.

Type mean and tolerance values in the corresponding text boxes. HFSS will solve design variations within the tolerance range of the starting value, using an even distribution.

8.

If the distribution type is Lognormal, do the following: a.

Type a cutoff probability value in the Cutoff Probability text box.

b.

Type values for Sigma, M, and Theta in the corresponding text boxes.

15-62 Setting up an Optimetrics Analysis

HFSS Online Help

9.

If the distribution type is User Defined, do the following: a.

Type a cutoff probability value in the Cutoff Probability text box.

b.

Click Edit XY Data to open the Edit Dataset dialog.

c.

Either type or import the X and Y data values for the distribution in the Edit Dataset dialog.

10. Click OK. Related Topic Statistical Cutoffs

Statistical Cutoffs The low and high cutoff values multiply the Gaussian Standard Deviation value. The variable “lc”, below uses a Gaussian distribution that extends three standard deviations below 10nH and two standard deviations above 10nH. Outside these values, the Gaussian distribution is truncated, effectively giving a Gaussian distribution on a pedestal.

Uniform distributions such as variable “cl” above use only the Tolerance value, and do not have cutoffs.

Edit Distribution When setting the distribution type for a variable, you have the option of changing the distribution parameters from the default values. 1.

If the distribution type is Gaussian, do the following: a.

Type the lower limit of the distribution in the Cutoff Probability text box.

b.

Type the mean value of the distribution in the Mean text box.

c.

Type the standard deviation of the distribution in the Std Dev text box. HFSS solves design variations using a Gaussian distribution within the specified mean and standard deviation values.

Setting up an Optimetrics Analysis 15-63

HFSS Online Help

2.

If the distribution type is Uniform, do the following: a.

Type the lower limit of the distribution in the Cutoff Probability text box.

b.

Type the mean value of the distribution in the Mean text box.

c.

Enter the tolerance in the Tolerance text box. HFSS solves design variations within the tolerance range of the starting value, using an even distribution.

3.

If the distribution type is Lognormal, do the following: a.

Type the lower limit of the distribution in the Cutoff Probability text box.

b.

Enter the shape parameter of the distribution in the Sigma text box.

c.

Enter the scale parameter in the M text box. The scale parameter should be set to 1 for the standard lognormal distribution.

d.

Enter the location parameter value for Theta in the text box. The value for a standard lognormal distribution is 0. . HFSS solves design variations with a logarithmic distribution using the shape, scale and

location parameters provided. 4.

If the distribution type is User Defined, do the following: a.

Type the lower limit of the distribution in the Cutoff Probability text box.

b.

Select the Edit XY Data button to manually define the data distribution using datasets.

Related Topics Adding Datasets Changing the Distribution Criteria for Every Statistical Setup Overriding the Distribution Criteria for a Single Statistical Setup

15-64 Setting up an Optimetrics Analysis

HFSS Online Help

Modifying the Starting Variable Value for Statistical Analysis A variable's starting value is the first value that is solved during the statistical analysis. Optimetrics automatically sets the starting value of a variable to be the current value set for the nominal design. You can modify this value for each statistical setup. Warning

1.

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.

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.

• 3.

Alternatively, you can select the Override option first, and then type a new variable value in the Starting Value text box.

Optionally, click a new unit system in one of the Units text boxes.

To revert to the default starting value, clear the Override option. Related Topics Setting up a Statistical Analysis

Solving a Parametric Setup During a Statistical Analysis Solving a parametric setup during a statistical analysis is useful when you want Optimetrics to solve every design variation in the parametric setup at each statistical analysis iteration. To solve a parametric setup during a statistical analysis: 1.

In the Setup Statistical Analysis dialog box, click the General tab.

2.

Click the parametric setup you want Optimetrics to solve during the statistical analysis from the Parametric Analysis pull-down list.

3.

Select Solve the parametric sweep during analysis.

Related Topics Setting up a Statistical Analysis

Setting up an Optimetrics Analysis 15-65

HFSS Online Help

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 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 Save Fields was selected, of each solved design variation are saved for post processing. Related Topics Tuning a Variable

15-66 Setting up an Optimetrics Analysis

HFSS Online Help

Tuning a Variable 1. 2.

Before a variable can be tuned, you must specify that you intend for it to be used during a tuning analysis in the Properties dialog box. On the HFSS menu, click Tune

.

The Tune dialog box appears. 3.

Clear the Real Time option. If this option is selected, a simulation begins immediately after you move the slider.

4.

In the Sim. Setups column, select the solution setup you want HFSS to use when it solves the specified design variation. HFSS solves the analysis using the solution setup you select. If you select more than one, results are generated for all selected solution setups.

5.

In the Nominal text box for the variable you want to tune, type the value of the variable you want HFSS to solve, or drag the slider to increase or decrease its value.

Warning

Variable values must be single real numbers, or expressions that evaluate to single real numbers. Complex numbers cannot be used as the values of variables in any optimetric analysis.

Alternatively, if you want HFSS to solve a range of values, specify a linear range of values with a constant step size:

6.

a.

Select the Sweep 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. HFSS solves the model 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.

Click Tune.

Note

7.

Sweeping or using a complex variable is not allowed in any optimetrics setup, including optimization, statistical, sensitivity, and tuning setups.

If you want to save the field solution data for the design variations solved during a tuning analysis, select Save Fields.

Related Topics Applying a Tuned State to a Design Tuning Overview Resetting Variable Values after Tuning

Setting up an Optimetrics Analysis 15-67

HFSS Online Help

Applying a Tuned State to a Design You can apply the variable values solved during a tuning analysis to the nominal design in one of the following three ways:



When closing the Tune dialog box: 1.

Click Close to exit the Tune dialog box. The Apply Tuned Variation dialog box appears.

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.

• •

When saving a tuned state. When reverting to a tuned state.

Saving a Tuned State You can save the settings in the Tune dialog box, including the variable values you specified for a tuning analysis. Saved states are only available during the current session of the Tune dialog box; they are not stored for the next session. 1.

After tuning a variable, click Save in the Tune dialog box. A Save As dialog box appears.

2.

Type a name for the tuned state in the text box.

3.

Select Apply tuned values to design if you want to update the model to the new variable values.

4.

Click OK to return to the Tune dialog box.

Related Topics Reverting to a Saved Tuned State

Reverting to a Saved Tuned State You can revert to a group of saved settings in the Tune dialog box, including the variable values you specified for a specific tuning analysis. Saved states are only available during the current session of the Tune dialog box; they are not stored for the next session. 1.

In the Tune dialog box, click Revert. The Revert dialog box appears.

2.

Type the name of the tuned state you want to apply or click a name in the pull-down list.

3.

Select Apply tuned values to design if you want to update the model to the selected tuned state's variable values.

4.

Click OK to return to the Tune dialog box.

Related Topics Saving a Tuned State

15-68 Setting up an Optimetrics Analysis

HFSS Online Help

Resetting Variable Values after Tuning If you want to reset variable values to the values they were set to when you started the current session of the Tune dialog box:



After tuning a variable, click Reset in the Tune dialog box. Solutions for the design variations solved during tuning analyses remain available for post processing.

Setting up an Optimetrics Analysis 15-69

HFSS Online Help

Saving Field Solutions for Optimetrics Analyses In order to preserve disk space, by default HFSS does not save field solution data for every solved design variation in an optimization analysis. It only saves the field solutions for the nominal design when an adaptive analysis is specified in the solution setup or when you request that fields be saved for each solved point in a frequency sweep. If the nominal design is not included in the optimization analysis, all field solutions are deleted. To save the fields for all design variations, change the default setting for all projects: 1.

Select Tools>Options, and then select either HFSS Options. The appropriate Options dialog box appears.

2.

Under the General tab, select Save Optimetrics field solutions. Save Fields is selected by default when you create a new Optimetrics setup.

Related Topics Saving Field Solutions for a Parametric Setup Saving Field Solutions for an Optimization Setup Saving Field Solutions for a Sensitivity Setup Saving Field Solutions for a Tuning Analysis Saving Field Solutions for a Statistical Setup Copy Geometrically Equivalent Meshes

Saving Field Solutions for a Parametric Setup In order to preserve disk space, by default HFSS does not save field solution data for every solved design variation in a parametric setup. It only saves the field solutions for the nominal design. If the nominal design is not included in the parametric setup, by default field solutions will not be available. To save the fields for all design variations solved during a parametric analysis: 1.

Either Add Sweep or right click on an existing sweep to open the Setup Sweep Analysis dialog box.

2.

Select the Options tab.

3.

Click the Save Fields And Mesh check box. Optionally, select Copy geometrically equivalent meshes. HFSS will save the field solution data for every solved design variation in the parametric setup.

Related Topics Saving Field Solutions for Optimetrics Analyses

Saving Field Solutions for an Optimization Setup In order to preserve disk space, by default HFSS does not save field solution data for every solved design variation in an optimization analysis. It only saves the field solutions for the nominal design 15-70 Setting up an Optimetrics Analysis

HFSS Online Help

when an adaptive analysis is specified in the solution setup or when you request that fields be saved for each solved point in a frequency sweep. If the nominal design is not included in the optimization analysis, all field solutions are deleted. To save the fields for all design variations solved during an optimization analysis: 1.

Open an Edit Sweep dialog by either adding a sweep or right-click on a an existing sweep to view the short cut menu and selecting Properties.

2.

Select the Options tab.

3.

Click the Save Fields And Mesh check box. Optionally, select Copy geometrically equivalent mashes. HFSS will save the field solution data for every solved design variation in the optimization setup.

Related Topics Saving Field Solutions for Optimetrics Analyses

Saving Field Solutions for a Sensitivity Setup In order to preserve disk space, by default HFSS does not save field solution data for every solved design variation in a sensitivity analysis. It only saves the field solutions for the nominal design when an adaptive analysis is specified in the solution setup or when you request that fields be saved for each solved point in a frequency sweep. If the nominal design is not included in the sensitivity analysis, all field solutions are deleted. To save the fields for all design variations solved during a sensitivity analysis: 1.

Open the Setup Sensitivity Analysis dialog box.

2.

Select the Options tab.

3.

Click the Save Fields And Mesh check box. Optionally, select Copy geometrically equivalent mashes. HFSS will save the field solution data for every solved design variation in the sensitivity analysis.

Related Topics Saving Field Solutions for Optimetrics Analyses

Saving Field Solutions for a Tuning Analysis In order to preserve disk space, by default HFSS does not save field solution data for every design variation solved in a tuning analysis. It only saves the field solutions for the nominal design when an adaptive analysis is specified in the solution setup or when you request that fields be saved for each solved point in a frequency sweep. If the nominal design is not included in the tuning analysis, all field solutions are deleted. To save the fields for all design variations solved during a tuning analysis:



In the Tuning dialog box, select Save Fields. HFSS will save the field solution data for every solved design variation in a tuning analysis. Setting up an Optimetrics Analysis 15-71

HFSS Online Help

Related Topics Saving Field Solutions for Optimetrics Analyses

Saving Field Solutions for a Statistical Setup In order to preserve disk space, by default HFSS does not save field solution data for every design variation solved in a statistical analysis. It only saves the field solutions for the nominal design when an adaptive analysis is specified in the solution setup or when you request that fields be saved for each solved point in a frequency sweep. If the nominal design is not included in the statistical analysis, all field solutions are deleted. To save the fields for all design variations solved during a statistical analysis: 1.

Open the Setup Statistical Analysis dialog box.

2.

Select the Options tab.

3.

Click the Save Fields And Mesh check box. Optionally, select Copy geometrically equivalent mashes. HFSS will save the field solution data for every solved design variation in the statistical setup.

Related Topics Saving Field Solutions for Optimetrics Analyses

15-72 Setting up an Optimetrics Analysis

HFSS Online Help

Copying Meshes in Optimetrics Sweeps An option in the Optimetrics Analysis setups allows you to request HFSS to copy a mesh that was calculated for one sweep variation for reuse on a geometrically-equivalent sweep variation. For example, with this option selected a sweep on a scan angle would not need to generate meshes for each solution. The option is available on the setups for sweeps on parametrics, optimization, sensitivity, and statistics. To copy and reuse meshes on geometrically-equivalent parametric variations: 1.

Define a variable for the kind of Optimetrics sweep you intent to setup.

2.

Select HFSS and then select the appropriate Optimetrics>Add command to display a Setup dialog box.

3.

Click the Options tab in the Setup dialog box.

4.

Select Copy geometrically equivalent meshes. HFSS will copy the mesh solution calculated for a particular parametric sweep for reuse on each geometrically-equivalent sweep variation.

Note

This option is available with all Optimetrics setups, and is applied when these analyses generate geometrically-equivalent values. However, it is most relevant to parametric sweep, where such equivalences are more likely to occur.

The Copy geometrically equivalent mesh option is not recommended for use when the frequency is varying, since meshing is frequency-dependent. You may wish to turn this option off when the first geometrically equivalent variation requires numerous passes after the initial mesh, but the other geometrically-equivalent variations require fewer additional passes, so that it is cheaper to start with the initial mesh each time.

Setting up an Optimetrics Analysis 15-73

HFSS Online Help

Adding an Expression in the Output Variables Window When you are in the Output Variables window (after clicking Edit Calculation from the one of the setup analysis windows), do the following to specify an expression: 1.

Type a name for the expression in the Name text box.

2.

Do the following in the Calculation section of the window to insert a quantity into the expression:

3.

a.

Select the Report Type and Solution from the pull-down lists.

b.

Select a Category, Quantity, and Function from the lists, and click Insert Quantity Into Expression.

c.

If you want to insert a specific pre-defined function, select one from the Function pulldown list, and click Insert Function.

You can also type numbers or expression by hand directly into the Expression area.

15-74 Setting up an Optimetrics Analysis

HFSS Online Help

Excluding a Variable from an Optimetrics Analysis To exclude a variable from being optimized or included in a sensitivity or statistical analysis: 1.

Do one of the following:

• • •

In the Setup Optimization dialog box, click the Variables tab. In the Setup Sensitivity Analysis dialog box, click the Variables tab. In the Setup Statistical Analysis dialog box, click the Variables tab.

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

3.

Alternatively, you can select the Override option first, and then clear the Include option for the variable you want to exclude.

Click OK.

Setting up an Optimetrics Analysis 15-75

HFSS Online Help

Modifying the Value of a Fixed Variable If you are not including a variable in an optimization, sensitivity, or statistical analysis, Optimetrics uses that variable's current value during the analysis. To override the current value of a fixed variable for an Optimetrics setup: 1.

Do one of the following:

• • • 2.

In the Setup Optimization dialog box, click the Variables tab. In the Setup Sensitivity Analysis dialog box, click the Variables tab. In the Setup Statistical Analysis dialog box, click the Variables tab.

Click Set Fixed Variables. The Setup Fixed Variables dialog box appears. Under Fixed Variables, all of the current independent variable values are listed.

3. 4.

Click the Value text box of the variable with the value you want to override. 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.

5.

Optionally, click a new unit system in the Units text box.

6.

Click OK.

To revert to a default variable value, clear the Override option.

15-76 Setting up an Optimetrics Analysis

HFSS Online Help

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 (cost(x): Rn→R), where n is the number of optimization variables. In practice, a solution of the minimization problem is sought only on a bounded subset of the Rn space. This subset is called the feasible domain and is defined via linear constraints. You may constrain the feasible domain of a design variable by defining linear constraints for the optimization process. The feasible domain is defined as the domain of all design variables that satisfy all upper and lower bounds and constraints. Linear constraints are defined by the following inequalities:

∑ α ij xi < cj ∀j i where

• • •

αij are coefficients. cj is a comparison value for the jth linear constraint. xi is the ith designer parameter.

Related Topics Setting a Linear Constraint

Setting a Linear Constraint A linear constraint defines the linear relationship between variables. Setting linear constraints in Optimetrics is useful for establishing limitations involving linear combinations of variable values. 1.

2.

Do one of the following:



If you are setting up an optimization analysis: In the Setup Optimization dialog box, click the Variables tab.



If you are setting up a sensitivity analysis: In the Setup Sensitivity Analysis dialog box, click the Variables tab.

Click Linear Constraint. The Linear Constraint dialog box appears.

3.

Click Add. The Edit Linear Constraint dialog box appears.

4.

Click a Coeff text box and type a positive or negative coefficient value. Setting up an Optimetrics Analysis 15-77

HFSS Online Help

5.

Click a condition, < (less than) or > (greater than), from the pull-down list.

6.

Type the inequality value, which should be a constant value, in the text box to the right of the condition.

7.

Click OK. You return to the Linear Constraint dialog box. The left-hand side of the constraint appears in the LHS (left-hand side) column. The condition is listed in the Condition column, and the inequality value is listed in the RHS (right-hand side) column.

Related Topics Modifying a Linear Constraint Deleting a Linear Constraint Linear Constraints

Modifying a Linear Constraint 1.

2.

Do one of the following:



If you are setting up an optimization analysis: In the Setup Optimization dialog box, click the Variables tab.



If you are setting up a sensitivity analysis: In the Setup Sensitivity Analysis dialog box, click the Variables tab.

Click Linear Constraint. The Linear Constraint dialog box appears.

3.

Click the row listing the constraint you want to modify, and then click Edit. The Edit Linear Constraint dialog box appears.

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.

Deleting a Linear Constraint 1.

2.

Do one of the following:



If you are setting up an optimization analysis: In the Setup Optimization dialog box, click the Variables tab.



If you are setting up a sensitivity analysis: In the Setup Sensitivity Analysis dialog box, click the Variables tab.

Click Linear Constraint. The Linear Constraint dialog box appears.

15-78 Setting up an Optimetrics Analysis

HFSS Online Help

3.

Click the row listing the constraint you want to delete, and then click Delete. The constraint is deleted.

Setting up an Optimetrics Analysis 15-79

HFSS Online Help

Running an Optimetrics Analysis Once you have created all necessary Optimetrics based analyses, you have several options for running the simulations.







To use the Analyze All command at the Project or design level to simulate the nominal problem and subsequently run all Optimetrics setups, do the following: 1.

In the Project Manager window, right-click on the project or design name.

2.

Click Analyze All from the shortcut menu.

To use the Analyze All command from the Optimetrics menu to simulate only the Optimetrics based setups, do the following: 1.

In the Project Manager window, right-click on Optimetrics.

2.

Click Analyze>All from the shortcut menu.

You can choose to analyze only the setups related to a specific Optimetrics type of analysis. In order to simulate setups of a specific type, do the following: 1.

In the Project Manager window, right-click on Optimetrics.

2.

Click Analyze>All {TYPE} from the shortcut menu where TYPE is the specific analysis type of interest, Parametric, Optimization, Sensitivity, or Statistical.

15-80 Setting up an Optimetrics Analysis

HFSS Online Help

Viewing Analysis Results for Optimetrics Solutions To view data specific to an Optimetrics solution, in general, do the following:



In the project tree, right-click the Optimetrics setup for which you want to view the results, and then click View Analysis Result on the shortcut menu. The Post Analysis Display dialog box appears.

• •



Select from available setups by using the dropdown selection menu. Select the Results tab to view results in plot or table form. When you view results in Table form you can resort the results based on each column. Click the Iteration column head to invert the sort from lowest to highest setup number. Click the variable name column to resort the results by step value. Click the Cost column head to sort the results from lowest cost to highest cost. Clicking a column again inverts the current sort. Select the Profile tab to view start, stop, and elapsed times for each variable, and the analysis machine for each variation. You can click the column heads to sort the table by variation number,variable value, start, stop, or elapsed time, or (if you have run a distributed analysis) machine.

See the help topics in this section for more details about viewing Optimetrics analysis results. Related Topics Viewing Solution Data for an Optimetrics Design Variation Viewing an Optimetrics Solution’s Profile Data Viewing Results for Parametric Solution Quantities Viewing Cost Results for an Optimization Analysis Viewing Output Parameter Results for Sensitivity Analysis Viewing Distribution Results for Statistical Analysis

Viewing Solution Data for an Optimetrics Design Variation To view the convergence information, computing resources used, or matrices computed for any design variation solved during an optimization analysis, you must first select the design variation in the Set Design Variation dialog box. This dialog box is accessible from the Solutions Data window and via the Results>Apply Solved Variation command in the or HFSS menu. 1.

Click HFSS and then select Results>Solution Data. The Solutions dialog box appears.

2.

Click the browsing dots beside the Design Variation box. The Set Design Variation dialog box appears.

3.

Clear the Use nominal design option.

4.

Click the design variation for which you want to view the solution data, and then click OK. The solution data is displayed in the table.

Setting up an Optimetrics Analysis 15-81

HFSS Online Help

Related Topics Viewing an Optimetrics Solution's Profile Data

Viewing an Optimetrics Solution's Profile Data At any time during or after the Optimetrics solution process, you can see an overview of the computing resources or profile data that was used by HFSS as it solved each design variation. The profile data indicates the how long each design variation took to solve. 1.

In the project tree, right-click the Optimetrics solution setup of interest, and then click View Analysis Result on the shortcut menu. The Post Analysis Display dialog box appears.

2.

Click the Profile tab.

3.

Select the Optimetrics setup with the results you want to view from the pull-down list at the top of the dialog box.

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:

• • •

1 is the precision type: M (mixed) or D (double) 2 is the matrix data type: R (real) or C (complex) 3 is the symmetry type: S (symmetric), A (asymmetric), H (hermitian)

Related Topics Viewing a Solution's Profile Viewing Solution Data for an Optimetrics Design Variation

Viewing Results for Parametric Solution Quantities 1.

In the project tree, right-click the parametric setup for which you want to view the results calculated for the solution quantities, and then click View Analysis Result on the shortcut menu. The Post Analysis Display dialog box appears.

2. 3.

Select the parametric setup with the results you want to view from the pull-down list at the top of the dialog box. 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

4.

Optionally, select Show complete output name.

15-82 Setting up an Optimetrics Analysis

HFSS Online Help

The complete name of the solution for which the results are being displayed will be listed in the column headings. 5.

Optionally, click a design variation in the table, and then click Apply (at the far right side of the dialog box). The design displayed in the 3D Modeler window is changed to represent the selected design variation.

Related Topics Plotting Solution Quantity Results vs. a Swept Variable

Plotting Solution Quantity Results vs. a Swept Variable To plot solution quantity results versus a swept variable's values on a rectangular (x - y) plot: 1.

In the project tree, right-click the parametric setup for which you want to view the results, and then click View Analysis Result on the shortcut menu. The Post Analysis Display dialog box appears.

2.

If it is not already selected, select Plot as the view type.

3.

Select the variable with the swept values you want to plot on the x-axis from the X pull-down list.

4.

Only one sweep variable at a time can be plotted against solution quantity results. Any other variables that were swept during the parametric analysis remain constant. Optionally, to modify the constant values of other swept variables, do the following: a.

Click Set Other Sweep Variables Value. The Setup Plot dialog box appears. All of the other solved variable values are listed.

b. 5.

Click the row with the variable value you want to use as the constant value in the plot, and then click OK.

Select the solution quantity results you want to plot on the y-axis from the Y pull-down list. The xy plot appears in the view window.

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.

Viewing Cost Results for an Optimization Analysis To view cost values versus completed iterations in data table format: 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. The Post Analysis Display dialog box appears.

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. HFSS 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. Setting up an Optimetrics Analysis 15-83

HFSS Online Help

Click Revert to return the design in the view window to the original value. Related Topics Plotting Cost Data for an Optimization Analysis Viewing Solution Data for an Optimetrics Design Variation

Plotting Cost Results for an Optimization Analysis To view cost values versus completed iterations in rectangular (x-y) plot format: 1.

In the project tree, right-click the optimization setup for which you want to view the cost results, and then click View Analysis Result on the shortcut menu.

2.

Under the Result tab, select Plot as the view type.

The Post Analysis Display dialog box appears. A plot of the cost value at each iteration appears.

Viewing Output Parameter Results for a Sensitivity Analysis To view actual output parameter values versus design point in data table format: 1.

In the project tree, right-click the sensitivity setup for which you want to view the parameter results, and then click View Analysis Result on the shortcut menu. The Post Analysis Display dialog box appears.

2.

Under the Result tab, select Table as the view type, if it is not already selected. The following values are listed in table format:

3.



The regression value of the output parameter at the design point is listed in the Func. Value column.

• •

The first derivative of the regression is listed in the 1st D column. The second derivative of the regression is listed in the 2nd D column.

Click Apply. HFSS now points to the selected design variation as the nominal solution and as a result, the design displayed in the Modeler window is changed to represent the selected design variation. Click Revert to return the design in the view window to the original value.

Related Topics Plotting Output Parameter Results for a Sensitivity Analysis Viewing Solution Data for an Optimetrics Design Variation

Plotting Output Parameter Results for a Sensitivity Analysis To plot output parameter results versus sensitivity variable values on a rectangular (xy) plot: 1.

In the project tree, right-click the sensitivity setup for which you want to view the output parameter results, and then click View Analysis Result on the shortcut menu. The Post Analysis Display dialog box appears.

2.

Under the Result tab, select Plot as the view type.

15-84 Setting up an Optimetrics Analysis

HFSS Online Help

3. 4.

Select the sensitivity variable with the sweep values you want to plot on the x-axis from the X pull-down list. Select the output parameter results you want to plot on the y-axis from the Y pull-down list. The xy plot appears in the Post Analysis Display dialog box. 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.

Viewing Distribution Results for a Statistical Analysis 1.

In the project tree, right-click the statistical setup for which you want to view the distribution results calculated for the solution quantities, and then click View Analysis Result on the shortcut menu. The Post Analysis Display dialog box appears.

2.

Select the statistical setup with the results you want to view from the pull-down list at the top of the dialog box.

3.

To view the results in tabular form, select Table as the view type. The distribution results for the selected solution quantities are listed in table format for each solved design variation.

4.

Optionally, click a design variation in the table, and then click Apply (at the far right side of the dialog box). The design displayed in the 3D Modeler window is changed to represent the selected design variation.

5.

To view the results in graphic format, select Plot as the view type.

6.

Type the number of bins you want to plot on the x-axis.

7.

Select the solution quantity for which you want to plot distribution results on the y-axis from the Y pull-down list. A histogram plot appears in the Post Analysis Display dialog box. It displays the distribution of the selected solution quantity.

8.

Optionally, click a design variation in the table, and then click Apply (at the far right side of the dialog box). HFSS now points to the selected design variation as the nominal solution and as a result, the design displayed in the Modeler window is changed to represent the selected design variation. Click Revert to return the design in the view window to the original value.

Related Topics Plotting Distribution Results for a Statistical Analysis Viewing Solution Data for an Optimetrics Design Variation

Plotting Distribution Results for a Statistical Analysis 1.

In the project tree, right-click the statistical setup for which you want to view the distribution Setting up an Optimetrics Analysis 15-85

HFSS Online Help

results calculated for the solution quantities, and then click View Analysis Result on the shortcut menu. The Post Analysis Display dialog box appears. 2.

Select the statistical setup with the results you want to view from the pull-down list at the top of the dialog box.

3.

If it is not already selected, select Plot as the view type.

4.

Type the number of bins you want to plot on the x-axis.

5.

Select the solution quantity for which you want to plot distribution results on the y-axis from the Y pull-down list. A histogram plot appears in the Post Analysis Display dialog box. It displays the distribution of the selected solution quantity.

15-86 Setting up an Optimetrics Analysis

15 Post Processing and Generating Reports

When HFSS has completed a solution, you can display and analyze the results in the following ways:



View solution data including the following: convergence information, computing resources that were used during the solution process, mesh statistics, and matrices computed for the Sparameters, impedances, and propagation constants during each adaptive, non-adaptive, or sweep solution. For eigenmode solutions, you can view the real and imaginary parts of the frequency and quality factor Q computed for each eigenmode. Solution data can also be viewed while HFSS is generating a solution.

• • •

View analysis results for Optimetrics solutions.

• • • •

Plot the finite element mesh on surfaces or within 3D objects.

Plot field overlays - representations of basic or derived field quantities - on surfaces or objects. Create 2D or 3D reports of S-parameters, basic and derived field quantities, and radiated field data. Create animations of field quantities, the finite element mesh, and defined project variables. Scale an excitation’s magnitude and modify its phase. Export Results to Thermal Link for ANSYS Mechanical

Note

Except in the case of non-model boxes drawn in the global coordinate system (CS), nonmodel objects cannot be used for any fields post processing operation You can use nonmodel boxes drawn in the global CS for post processing operations, including integration and solution domaining.

Post Processing and Generating Reports 15-1

HFSS Online Help

Viewing Solution Data While HFSS is generating a solution, or when it is complete, you can view the following information about the solution:

• • •

Convergence information. Computing resources, or profile information, that were used during the solution process. Matrices computed for the S-parameters, impedances, and propagation constants during each adaptive, non-adaptive, or sweep solution.

• •

Mesh statistics



The state of solved solutions.

For eigenmode solutions, view the real and imaginary parts of the frequency and quality factor Q computed for each eigenmode.

To access the Solution Data window, in which the information above can be accessed, do one of the following:

• •

On the HFSS menu, point to Results, and then click Solution Data

.

Right-click Results in the project tree, and then click Solution Data on the shortcut menu.

Related Topics Viewing Solution Data for an Optimetrics Design Variation

Viewing Convergence Data To view an adaptive solution’s convergence information, either during or after the solution process: 1.

In the project tree, right-click the solution setup of interest, and then click Convergence on the shortcut menu. The Solution Data window appears. The Convergence tab is selected.

2.

From the Simulation list, select the solution setup for which you want to view convergence data. By default, the most recently solved solution is selected.

3.

Under the Convergence tab, depending on your design setup, you can review the following convergence data:

• • • • • • •

Number of adaptive passes completed and remaining. The number of tetrahedra created at each adaptive pass. Maximum magnitude of delta S between two passes. Maximum delta Energy between two passes. Magnitude margin between passes. Phase margin (deg) between passes. Maximum delta frequency between passes.

15-2 Post Processing and Generating Reports

HFSS Online Help

If for the Solution Setup, you elected to Use Matrix Convergence, and selected specific table entries for the Magnitude and Phase, the Convergence tab also shows the following values with the Magnitude Margin and Phase Margin:

• • 4.

Max Delta (Mag S) Max Delta (Phase S)

Select Table to display the convergence data in table format or Plot to plot the convergence data on a rectangular (X - Y) plot.

Note

If you receive a message that the eigenmodes have not converged, it may indicate that the existing mesh is too coarse. You may need to refine the mesh.

Related Topics Viewing Solution Data for an Optimetrics Design Variation

Viewing the Number of Completed Passes At any time during the solution process, you can view the number of adaptive passes (solve — error analysis — refine cycles) that have been completed and that have yet to be completed. When the solution is complete, you can view the number of adaptive passes that were performed. If the solution converged within the specified stopping criteria, fewer passes than requested may have been performed. To view the number of passes:



In the project tree, right-click the solution setup of interest, and then click Convergence on the shortcut menu. The Solution Data window appears. The Convergence tab is selected. The number of completed and remaining passes is listed in the Number of Passes area.

Viewing the Max Magnitude of Delta S Between Passes For solutions with ports. At any time during or after the solution process, you can view the maximum change in the magnitude of the S-parameters between two consecutive passes. This information is available after two or more passes are completed. To view the maximum magnitude of delta S between passes:



In the project tree, right-click the solution setup of interest, and then click Convergence on the shortcut menu. The Solution Data window appears. The Convergence tab is selected. The Max. Mag. Delta S column lists the maximum magnitude of delta S from one pass to the next. The Max. Mag. Delta S area lists the target change in magnitude of delta S and the change in Post Processing and Generating Reports 15-3

HFSS Online Help

magnitude of delta S between the last two solved passes. Note

Delta S is computed on the appropriate S-parameters - modal or terminal - after the Sparameters have been de-embedded and renormalized.

Note

You can renormalize mathematically, without having to re-solve, by accessing the postprocessing tab on the port definition panel and de-selecting the Deembed selection box.

Related Topics Setting the Maximum Delta S Per Pass Technical Notes: Maximum Delta S

Viewing the Output Variable Convergence At any time during or after the solution process, you can view the real and imaginary values of the output variable. To view the output variable convergence:



In the project tree, right-click the solution setup of interest, and then click Convergence on the shortcut menu. The Solution Data window appears. The Convergence tab is selected. The Output Var (real) column lists the real value of the output variable for each pass. The Output Var (imag) column lists the imaginary value of the output variable for each pass. If output variable convergence is not used, the columns are not used in the table.

Related Topics Specifying Output Variable Convergence

Viewing the Delta Magnitude Energy For designs with voltage sources, current sources, or incident waves. Not applicable to designs with ports. At any time during or after the solution process, you can view the difference in the relative energy error from one adaptive pass to the next. The change in the magnitude of delta energy is available after two or more passes are completed. To view the delta magnitude E between passes:



In the project tree, right-click the solution setup of interest, and then click Convergence on the shortcut menu. The Solution Data window appears. The Convergence tab is selected. The Delta Mag. Energy column lists the delta energy from one pass to the next. The Delta Mag. Energy area lists the target change in delta energy and the change in delta Energy between the last two solved passes.

15-4 Post Processing and Generating Reports

HFSS Online Help

Related Topics Setting the Maximum Delta Energy Per Pass Technical Notes: Maximum Delta Energy

Viewing the Magnitude Margin For solutions in which convergence criteria for specific S-matrix entries were specified. At any time during or after the solution process, you can view the solution’s proximity to the target delta magnitude, which was specified in the Matrix Convergence dialog box. The magnitude margin is available after two or more passes are completed. To view the magnitude margin between passes:



In the project tree, right-click the solution setup of interest, and then click Convergence on the shortcut menu. The Solution Data window appears. The Convergence tab is selected. The Magnitude Margin column lists the magnitude margin from one pass to the next.

Related Topics Setting Matrix Convergence Criteria Technical Notes: Magnitude Margin

Viewing the Phase Margin For solutions in which convergence criteria for specific S-matrix entries were specified. At any time during or after the solution process, you can view the solution’s proximity to the target delta phase, which was specified in the Matrix Convergence dialog box. The phase margin is available after two or more passes are completed. To view the phase margin between passes:



In the project tree, right-click the solution setup of interest, and then click Convergence on the shortcut menu. The Solution Data window appears. The Convergence tab is selected. The Phase Margin column lists the phase margin from one pass to the next.

Note

When the Mag S becomes small (near to zero) its phase becomes indefinite and insignificant due to mathematical issues so that Phase Margin will be discarded.

Related Topics Setting Matrix Convergence Criteria Technical Notes: Phase Margin

Viewing the Max Delta (Mag S) For solutions in which convergence criteria for specific S-matrix entries were specified.

Post Processing and Generating Reports 15-5

HFSS Online Help

At any time during or after the solution process, you can view the maximum difference of the S matrix magnitudes between two consecutive passes. The Max Delta (Mag S) is available after two or more passes are completed. To view the Mag S between passes:



In the project tree, right-click the solution setup of interest, and then click Convergence on the shortcut menu. The Solution Data window appears. The Convergence tab is selected. The Max Delta (Mag S) column lists the Max Delta (Mag S) from one pass to the next.

Related Topics Setting Matrix Convergence Criteria Technical Notes: Max Delta (Mag S)

Viewing the Max Delta (Phase S) For solutions in which convergence criteria for specific S-matrix entries were specified. At any time during or after the solution process, you can view the maximum difference of the S Matrix phase between two consecutive passes. The Max Delta (Phase S) is available after two or more passes are completed. To view the Max Delta (Phase S) between passes:



In the project tree, right-click the solution setup of interest, and then click Convergence on the shortcut menu. The Solution Data window appears. The Convergence tab is selected. The Max Delta (Phase S) column lists the Max Delta (Phase S) from one pass to the next.

Related Topics Setting Matrix Convergence Criteria Technical Notes: Max Delta (Phase S)

Viewing the Maximum Delta Frequency For Eigenmode solutions. At any time during the solution process, you can view the maximum delta frequency, the largest percent difference in the resonant frequencies from one adaptive pass to the next. It is a measure of the stability of the computed frequencies from pass to pass and is available after two or more passes are completed. To view the maximum delta frequency between passes:



In the project tree, right-click the solution setup of interest, and then click Convergence on the shortcut menu. The Solution Data window appears. The Convergence tab is selected. The Max Delta Freq. % column lists the maximum delta frequency from one pass to the next. The Max Delta Freq. % area lists the target maximum delta frequency and the maximum delta frequency between the last two solved passes.

15-6 Post Processing and Generating Reports

HFSS Online Help

Related Topics Technical Notes: Maximum Delta Frequency

Plotting Convergence Data To display convergence data vs. pass on a rectangular (x - y) plot: 1.

In the project tree, right-click the solution setup of interest, and then click Convergence on the shortcut menu. The Solution Data window appears. The Convergence tab is selected.

2.

In the lower-left corner of the window, select Plot as the view type.

3.

Select the data you want to plot on the x-axis from the X pull-down list.

4.

Select the data type you want to plot on the y-axis from the Y pull-down list. The x -y plot appears in the view window.

Viewing a Solution Profile At any time during or after the solution process, you can examine the computing resources - or profile data - that were used by HFSS during the analysis. The profile data is essentially a log of the tasks performed by HFSS during the solution. The log indicates the length of time each task took and how much physical memory/disk memory was required. In the project tree, right-click the solution setup of interest, and then click Profile on the shortcut menu. The Solution Data dialog box appears. The Profile tab is selected. The displayed data depends on the type of problem and solution setup. If one or more dependent setups exist, the profile information for these can be selected from drop down menu in the Simulation text field at the top of the dialog. In general, it includes the following information: Task

Lists the type of task that was performed.

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.

Post Processing and Generating Reports 15-7

HFSS Online Help

The matrix solver writes specific information in some of these fields as outlined below: Task

The matrix solver task reports the type of solution performed by the solver, based on the physics of the problem. It is always of the form "Solver pdsn" (e.g. Solver MRS2), where

• • • • Information:

p, the precision type is: M (mixed) or D (double) d, the matrix data type is: R (real) or C (complex) s, the symmetry type is: S (symmetric), A (asymmetric), or H (hermitian) n, the number of processors requested is: an integer greater than 1 or, if only one processor is used, no number is shown

The matrix solver information line includes three sets of information (for example, 960885 matrix, 3030MB disk offcore)



# matrix: The size of the matrix that was solved (the number of unknowns)



# disk: The amount of hard disk space used during the calculation of the matrix solution



"offcore": After the disk information, the word "offcore" may appear. This means that the solver could not place all of the data it needs to calculate the matrix solution in physical memory. If this word does not appear, then the solver was able to fit the necessary data into physical memory (known as "in-core"). If the matrix solver must solve off-core, smaller blocks of the data to be solved are created on disk, each block is then solved in physical memory, and then the matrix solution is reassembled. As a result of this additional processing, the time required to calculate a solution is higher.

To Export the Profile data: 1.

Open the Solution Data dialog with the Profile tab selected.

2.

Click the Export Profile button. This opens a file save dialog that lets you provide a file name and location.

3.

Click Save. The data is saved in a text file with a .prof extension.

Related Topics Viewing an Optimetrics Solution’s Profile Data

Viewing Matrix Data To view matrices computed for the S-parameters, impedances, and propagation constants during each adaptive, non-adaptive, or sweep solution: 1.

In the project tree, right-click the solution setup of interest, and then click Matrix Data on the

15-8 Post Processing and Generating Reports

HFSS Online Help

shortcut menu. The Solution Data dialog box appears. The Matrix Data tab is selected. 2.

In the Design Variation text box, specify the design with the matrices you want to view. Optionally, choose a design variation solved during an Optimetrics analysis from the Set Design Variation dialog box. This lists all the solved variations in the design. This dialog box is accessible from the Solution Data window by clicking the ellipsis button on the right of the Design Variation field, and via the HFSS>Results>Apply Solved Variation command.

3.

In the Simulation pull-down list, click the solution setup and solved pass - adaptive, single frequency solution, or frequency sweep - for which you want to view matrices.

4.

Select the type of matrix you want to view: S-matrix, Y-matrix, Z-matrix, Gamma, or Zo (characteristic impedance.) The available types depend on the solution type.

5.

Select the format — Magnitude/ Phase (deg), Real/ Imaginary, dB/ Phase (deg), Magnitude, Phase (deg), Real, Imaginary, or dB — in which to display the matrix information. The available formats depend on the matrix type being displayed. When selected, dB formatting only applies to S -matrix data, even if other matrix types are displayed. The column heads in the display identify the format for the matrix type.

6.

Select the solved frequencies to display:



To display the matrix entries for all solved frequencies, select All Freqs. It is selected by default.



To show the matrix entries for one solved frequency, clear All Freqs and then select the solved frequency for which you want to view matrix entries. For adaptive passes, only the solution frequency specified in the Solution Setup dialog box is available. For frequency sweeps, the entire frequency range is available.



To insert or delete one or more displayed frequencies, click Edit Freqs. Note: This command is only available if the sweep type is Fast or Interpolating. Clicking Edit Freqs displays the Edit Sweep dialog. It contains Generate New Values fields for specifying the Start Value, the End Value, and the Number of Values. The current values are displayed in a table. When you specify a New value, click Update Values to refresh the table. Note: Changes to the Start Value and End Value cannot be outside of the initial range. No message is issued: rather the range is implicitly restricted. Use the Insert button to add a new frequency to the table above the currently selected value. If no value, or the start value is selected, the new frequency repeats the current Start value and increments the count in the Number of Values field. If you select any other value for the insertion point, Insert adds a new value halfway between the selected value and the previous value, and increments the Number of Values field. Incrementing or decrementing the Number of Values fields, and the clicking Update Values updates the table based in the current Start and End value fields (given the range restriction within the initial range). The Delete button enabled only if a value is selected. Delete removes the selected value Post Processing and Generating Reports 15-9

HFSS Online Help

and decrements the Number of Values field. Click OK to apply the changes to the Solutions dialog Matrix Data tab and close the Edit Sweep dialog, or Cancel to close the dialog without applying the changes. If you choose to export the matrix data for the Fast or Interpolating sweep after modifying the frequencies in the Edit Sweep dialog box, only those frequencies displayed under the Matrix Data tab will be exported. The data is displayed in the table. By default, Waveports are listed in alphabetical, then numerical order, just as they appear in the excitation tree. To change the port order, change setting for Default Matrix sort order in the HFSS General options. 7.

Optionally, Check Passivity. This passivity check tests whether the S-parameter data from HFSS is passive or not. If the SMatrix is not passive at one or more frequencies, this check displays a dialog that identifies the worst frequency violation and identifies the passivity in that case.

Related Topics Selecting the Matrix Display Format Viewing Solution Data for an Optimetrics Design Variation Exporting Matrix Data Renaming Matrix Data Exporting Equivalent Circuit Data Technical Notes: Passivity

Selecting the Matrix Display Format You can display matrix data in the following formats. The available formats depend on the type of matrix being displayed. Magnitude, Phase (deg)

Displays the magnitude and phase (in degrees) of the matrix type.

Real, Imaginary

Displays the real and imaginary parts of the matrix type.

dB, Phase (deg)

Displays the magnitude in decibels and phase in degrees of the matrix type.

Magnitude

Displays the magnitude of the matrix type.

Phase (deg)

Displays the phase in degrees of the matrix type.

Real

Displays the real parts of the matrix type.

Imaginary

Displays the imaginary parts of the matrix type.

dB

Displays the magnitude in decibels of the matrix type.

15-10 Post Processing and Generating Reports

HFSS Online Help

Exporting Matrix Data 1.

In the project tree, right-click the solution setup of interest, and then click Matrix Data on the shortcut menu. The Solution Data window appears. The Matrix Data tab is selected.

2.

Select the type of matrix you want to view: S-matrix, Y-matrix, Z-matrix, Gamma, or Zo (characteristic impedance.)

3.

Click Export Matrix Data. A file browser appears.

4.

Type the name of the file you are exporting to in the File name text box.

5.

Select one of the following file formats from the Save as type pull-down list: Format

Type

Description

(spreadsheet) *.tab

data table

A text file in which the elements of the S-matrix are arranged in a series of columns that are tabseparated and include a first row of headings. The file may be imported into a spreadsheet or similar utility.

*.sNp

Touchstone/Libra

A Touchstone S-parameter file in which the number of ports is indicated by n. For example, a Touchstone file with one port would have the file extension .s1p. When you export this format, you can specify:

• •

the export reference impedance, whether to renormalize the solution.

If you want to export raw S-Parameter data for later use, you may choose to not renormalize the solution. If all ports and associated modes/terminals are normalized to the same impedance and you choose Do Not Renormalize Solution during export, the Touchstone file header will indicate the normalized impedance. The comment header in the Touchstone file lists the port and mode numbers to show which column contains which port name (in case of confusion between alphabetical and force repriority ordering of ports and associated modes).

*.szg

Ensemble/Planar EM or HFSS version 6 or later

A solution file read by Ensemble or Planar EM version 6 and later, Ansoft HFSS version 6 and later, and Maxwell Strata version 1.1. Post Processing and Generating Reports 15-11

HFSS Online Help

6.

*.nmf

Neutral file format

Neutral file format defined by the MAFET Consortium.

*.m

MATLAB

The Mathworks’ MATLAB file in which the elements of the S-, Y-, or Z-matrix are arranged in a series of rows.

*.cit

Citifile

Common Instrumentation Transfer and Interchange file format. It is an ASCII format defined by instrument and CAE designers.

For Touchstone files, you see a Combine Sweeps option on the Export Network Data solution dialog. This lets you combine sweeps into a single output file if:



The sweeps must contain interpolated data, so internally they must come from interpolating or fast sweeps. (Note that the interpolated sweeps incorporate pre-solved data from



The files must not have overlaps or gaps in the frequencies. (They can meet at a single frequency. For example, you can combine sweeps from 8 to 10 GHz with sweeps from 10 to 12 GHz, but not sweeps from 9 to 11 GHz and 10 to 11 GHz, and not 8-10 GHz and 1113GHz.)

1.

Select the Combine Sweeps button to display a Combine Interpolating Sweeps For Export dialog with a list of sweeps.

2.

Select the sweeps to combine and click Combine. This closes the Combine Interpolating Sweeps for Export dialog.

3.

Click Save. The data is exported to the file.



By default, wave ports are listed in alphabetical, then numerical order, just as they appear in the excitation tree. You can change this order to creation order and back without invalidating the solution on the HFSS Options dialog.



If you select Touchstone format, you are first presented with a dialog that asks you to specify the export reference impedance (an integer value) and whether to renormalize the solution.

Note

If you modify the display of solved frequencies in an Interpolating or Fast sweep under the Matrix Data tab (by clicking Edit Freqs and then modifying the values in the Edit Sweep dialog box,) only those frequencies listed will be exported to the file.

Renaming Matrix Data In the project tree, you can right-click on a port excitation to rename it. When you rename a port excitation, the associated data is reordered so that it can be presented in the same manner. The reordering is done to match the tree-sort order presented for the ports (renamed matrix data is reordered so that alphabetic values appear before numeric values). Exports of the matrix data are ordered in the same manner. This reordering is conducted as part of post processing and does not force a re-solve. 15-12 Post Processing and Generating Reports

HFSS Online Help

Exporting Equivalent Circuit Data You can export S-parameter data from a Driven Terminal solution to PSpice, HSPICE, Spectre or Maxwell Spice format. Importing the new data file to PSpice, HSPICE, Spectre or Maxwell Spice will enable you to include wave effects in the circuit simulations. You can also export a W-Element model for a port. Note

You must have a frequency sweep solution and five or more frequency points to successfully export an equivalent circuit data file. See the Choosing Frequencies for Full-Wave SPICE topic of the online help for suggestions about the frequency range of the sweep. The GUI lets you export full-wave Spice for a model that contains differential pairs, but it will silently export the data in its original single-ended form. The full-wave Spice model is a "broadband" equivalent circuit (that is, its S-parameters match those of the HFSS solution across the whole frequency sweep range.) Certain discrete sweeps permit Full-Wave SPICE exports. It is allowed if the discrete data is evenly spaced, includes DC, and has at least 500 frequency points.

1.

In the project tree, right-click the solution setup of interest, and then click Matrix Data on the shortcut menu. The Solution Data window appears. The Matrix Data tab is selected.

2.

Click Equivalent Circuit Export. The Equivalent Circuit Export Options dialog box appears.

3.

Type the name or browse to the directory in which you want to store the data.

4.

Click one of the following formats in the Format list: PSpice (*.lib) Star HSpice (*.sp) Spectre (*.spc) Maxwell (*.spc) Your format selection affects the options available under Full Wave Spice Export.

5.

If the Full-Wave Spice Export checkbox is enabled, you can select it. Checking the box enables the text field for the file name, and depending on the format selection, other options may be enabled.

• •

For PSpice and Maxwell formats only the file name field is enabled. For Spectre and Star HSPice formats, the following fields are enabled:

• •

Desired Fitting Error (percent) Maximum Order

HFSS supports Full Wave Spice Export from a driven modal design as long as all ports have exactly one mode each. However, HFSS does not support definition of differential pairs in a Post Processing and Generating Reports 15-13

HFSS Online Help

driven modal design. 6.

Optionally, select Use Common Ground to combine the negative reference nodes for all of the ports into a single reference node.

7.

Optionally, select Enforce Passivity. Selecting this enforces passivity in the output file. Passive devices can only dissipate or temporarily store energy, but never generate it. (You can also check passivity from the Matrix Data tab using the Check Passivity button.) This option is useful in cases where the transient simulation fails due to passivity violations in the circuit model. This circuit model is based on fitting a rational function to the S-parameter data computed by the field solver. Small errors in the data fitting can result in non-passive behavior. Selecting the Enforce Passivity option will take more CPU time, but ensures that the resulting model will be passive. The passivity check tests whether the S-parameter data from HFSS is passive or not. For more information see Passivity.

8.

Optionally, select Lumped Element Export (Low Bandwidth) if you want to save the data as a low-frequency circuit model using simple lumped elements (resistors, capacitors, inductors, and dependent current sources). The low-bandwidth model is only going to be accurate in a limited frequency range around the adaptive solution frequency This option is not enabled for Spectre export.

9.

Optionally, select Partial Fraction Expansion for Matlab if you want to specify a file that expands the partial fractions for use in Matlab. The partial fractions involved describe the frequency response of the low-bandwidth model from the previous step.

10. Click OK. The S-matrices are written to the data file that you specified in the equivalent circuit data format. Related Topics Exporting W-Element Data

Exporting W-element Data It is possible to extract a W-element model for a port. This W-element model can be used in a SPICE model to represent a length of transmission line of the same cross section as the port. A Welement model can be extracted for a port only solution and for a full 3D solution. 1.

In the project tree, right-click the solution setup of interest, and then click Matrix Data on the shortcut menu. The Solution Data window appears. The Matrix Data tab is selected.

2.

Click Equivalent Circuit Export. The Equivalent Circuit Export Options dialog box appears. At the bottom of the dialog you see the W-element model check box.

3.

Click the W-element model check box to enable the W-element fields.

4.

The W-element model name field has the project name by default. You can change this if desired.

15-14 Post Processing and Generating Reports

HFSS Online Help

5.

Choose the format as Tabular Format (the default) or RGLC format for W-element export. Tabular Format: provides a unique RLGC model for each frequency in the solution. RLGC Format: provides a RLGC fit over a frequency range based on Ro, Lo, Go, Co, Rs and Gd parameters.

Note

For the RLGC Format, if only a single frequency solution is selected (e.g., LastAdaptive) then Rs and Gd parameters are ignored.

6.

In the Model name field, provide a model name.

7.

Either select the port from the Port Name pull down, or, to export a W-element model for all ports, select the Export for All Ports radio button.

8.

Click OK. The W-element model is written to the data file that you specified. Related Topics Technical Notes: Calculating the W-Elements

Viewing Mesh Statistics To view an adaptive solution's mesh information, either during or after the solution process: 1.

In the Project tree, right-click the solution setup of interest, and then click Mesh Statistics on the shortcut menu. The Solutions dialog box appears with the Mesh Statistics tab selected. The table lists the design elements and for each includes: Num Elements, Min edge length, Max edge length, RMS edge length, min tet vol., max tet vol., mean tet vol. and standard deviation. 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. Related topics Technical Notes: The Finite Element Method Technical Notes: The Mesh Generation Process

Viewing Eigenmode Solution Data To view the real and imaginary parts of the frequency and quality factor Q computed for each eigenmode: 1.

In the project tree, right-click the solution setup of interest, and then click Eigenmode Data on the shortcut menu. The Solution Data window appears. The Eigenmode Data tab is selected.

2.

In the Simulation pull-down list, select the solution setup and solved pass - adaptive or single frequency solution - for which you want to view data. Post Processing and Generating Reports 15-15

HFSS Online Help

The solved eigenmodes are listed in the table below. The Frequency column lists the real and imaginary parts of the frequency (or resonant frequency) for each solved eigenmode. For lossy Eigenmode solutions, a Q column appears, which lists the unloaded quality factor Q computed for each eigenmode. 3.

To export the Eigenmode solutions to a text file with an eig extension,click the Export button. This displays Save As dialogue. You can provide a file name, and if desired, change to a nondefault location. Click the Save button to save the text file and close the Save As dialog.

Related Topics Technical Notes: Eigenmode Solutions Technical Notes: Calculating the Resonant Frequency Technical Notes: Calculating the Quality Factor Technical Notes: Calculating the Free Space Wave Number

Deleting Solution Data You can use Clean Up Solutions to selectively make deletions, or remove all solutions from the results. To use Clean Up Solutions: 1.

On the HFSS menu, point to Results, and then click Clean Up Solutions. The Clean Up Solutions dialog box appears.

2.

Under Solutions, select whether you want to delete only fields data, only fields and mesh data, only linked data, or all solution data. Deleting all solution data erases all mesh, matrix, and fields data for all adaptive passes and frequency sweeps for the selected Variations. By option, you can include linked data in the deletions. Linked data can be mesh, field or some other post-processing data that the source design generated. The target design for the link caches these data internally to minimize the need to activate the source design.

3.

4.

Under Variations, select which solution data you want to delete:



Select All Except Current Variation to delete all solution data that do not correspond to the current project and design variable values for the current design.

• •

Select All Variations to delete all solution data for the current design. Select Select to specify the variations you wish to delete. Click Variations to select the variations for deletion.

Click Do Deletions. The solution data you selected are deleted. Any post processing reports or field overlays you created that included data you deleted will be marked with an X in the project tree. They will be invalid until new solution data are generated.

15-16 Post Processing and Generating Reports

HFSS Online Help

Related Topics Monitoring the Solution Process Deleting Reports

Deleting Reports To use Delete All Reports: 1.

On the HFSS menu, point to Results, and then click Delete All Reports. You can also rightclick on the Results folder in the Project tree to display the shortcut menu, and click Delete All reports. All items under the Results folder in the Project tree are removed.

To use Delete for a selected report: 1.

Select a report icon in the Project tree, and right-click to display the shortcut menu.

2.

Click Delete on the shortcut menu or the “X” icon on the toolbar to delete the selected report.

Warning

Solution data that have been deleted cannot be recovered!

Related Topics Clear Linked Data Deleting Solution Data

Post Processing and Generating Reports 15-17

HFSS Online Help

Export Results to Thermal Link for ANSYS Mechanical To use ANSYS Workbench 12 software for thermal static and transient analysis based on an HFSS high frequency solution, you can use HFSS>Thermal Link for ANSYS Mechanical... to export a . xml format file. You can use any number of HFSS and Maxwell designs to provide independent power loss density distribution sources to the thermal application. On the Ansoft side of the application, two operations must be performed after solving the electromagnetic application:

• •

Export the model geometry to a file in the desired format. Create a coupling file containing the information needed in ANSYS Workbench to extract the power loss density distribution.

The model geometry and coupling files can then be imported into ANSYS Workbench for calculating thermal and mechanical effects based on the Ansoft solution.

15-18 Post Processing and Generating Reports

HFSS Online Help

Loss Mapping Method Flowchart

Using this approach:

• •

Many geometry formats are allowed, and the Ansoft and ANSYS models can be different.



You can use independent Ansoft and ANSYS meshes

If needed, you can perform reasonable geometry de-featuring in both Ansoft and ANSYS models.

The link process:

• • • •

Supports all ANSYS thermal elements Allows independent Ansoft and ANSYS solution sequences and post-processing Accurate control of load mapping Access to other Workbench 12 solutions (non-linear thermal stress, pre-stressed mechanical eigenmode analysis, CFD, and so forth) Post Processing and Generating Reports 15-19

HFSS Online Help

HFSS can provide:

• •

Driven and eigenmode with automatic adaptive mesh refinement solution type; Driven sweep (both discrete and fast sweep are supported, coupling is available for all frequencies of the respective sweeps value where electromagnetic field was saved)

Coupling with ANSYS thermal transient with time dependent power cycle is possible. The control of the timing is performed through the Workbench 12 functionality. Related Topics Exporting 3D Model Files Exporting the Model Geometry to ANSYS Workbench Creating the Thermal Link Coupling File

Exporting the Model Geometry to ANSYS Workbench After you solve the electromagnetic application, export the model geometry in the desired format as follows: 1.

Select the Modeler>Export menu item.

2.

Select the desired model geometry format and save location in the dialog box and save the file for use by ANSYS Workbench.

Related Topics Export Results to Thermal Link for ANSYS Mechanical Exporting 3D Model Files Creating the Thermal Link Coupling File

Creating the Thermal Link Coupling File Create the coupling file containing the information needed in ANSYS Workbench to extract the power loss density distribution as follows: 1.

Click HFSS>Thermal Link for ANSYS Mechancical... This opens the Export ANSYS Link dialog box.

2.

Use the drop down menus to select the Setup and Solution you wish to use.

3.

Select the Design Variation. Use the ellipsis [...] button to open the Select Variations dialog. Here you can select from the available variations, specify the setup, solution, and design variation key information such that the desired power loss density distribution is uniquely identifiable from ANSYS Workbench. Click OK.

4.

For Maxwell transient solution types only, you must also specify the desired Start and Stop Integration times for the power loss density distribution to be used in ANSYS Workbench.

5.

When you are finished making the desired selections, click the Export button. This opens a file browser in which you can specify a file name and location for the coupling file you wish to export. The file is in ANSYS Link format, and uses a .xml extension.

15-20 Post Processing and Generating Reports

HFSS Online Help

6.

Click Done to close the Export ANSYS Link dialog box.

Related Topics Export Results to Thermal Link for ANSYS Mechanical Exporting 3D Model Files Exporting the Model Geometry to ANSYS Workbench

Post Processing and Generating Reports 15-21

HFSS Online Help

15-22 Post Processing and Generating Reports

HFSS Online Help

Scaling a Source’s Magnitude and Phase Scale the magnitude and set the phase of ports, voltage and current sources, Eigenmodes, and incident waves in the Edit Sources dialog box. 1.

On the HFSS menu, point to Fields, and then click Edit Sources. The Edit Sources dialog box appears. It displays information for design sources in table format. Source

Type

static name static text

Solved Magnitude static value

Solved Phase

Scaling Factor

Offset Phase

Units

static value editable value editable value

menu

N/A Terminated is checked (for Terminal Solutions only) In the case of terminal solutions, the table contains some additional columns with a scroll bar. Terminated

Resistance

Unit

Reactance

Unit

Unchecked. (Default)

N/A unless Terminated is checked.

Checked

editable value menu editable value menu

If incident waves are present, the dialog contains a row of radio buttons to select the type of incident wave. Note that in the modal case a unit stimulation means 1 Watt of incident power at the port; in the terminal case a unit stimulation means 1 volt of total voltage at the terminal. After converting the voltage stimulation to the equivalent power stimulation the antenna results agree perfectly. In particular, the "ratioed" antenna parameters such as gain, directivity, and efficiency agree between the modal and terminal projects, while absolute antenna quantities such as incident power, accepted power may initially appear different. This is a direct result of the difference in edit-sources stimulations in the two types of projects. 2.

Select the source whose magnitude and phase you want to scale. If your solution type is driven terminal, a voltage source magnitude and phase may be set for the selected terminal.

3.

In the Scaling Factor text box, enter the factor by which the value of the source is to be scaled. Design variables can be used as source scalings.

Note

You may not enter a negative voltage. To obtain the equivalent of a negative magnitude, add or subtract 180 degrees from the phase value. If you use a design variable as a scaling factor note that solutions are invalidated if the variable is changed.

4.

In the Offset Phase text box, enter the new phase for the source. The phase of the source is changed by the value that you enter.

5.

Optionally, if your solution type is driven terminal, you may specify a complex reference Post Processing and Generating Reports 14-23

HFSS Online Help

impedance: a.

For the selected terminal, select Terminated. This disables the values to the left of the checkbox, and enables the Resistance and Reactance text boxes. Use the scroll bar to view them.

6.

7.

b.

Enter the real part of the impedance in the Resistance text box and select the units. Ohms is the default.

c.

Enter the imaginary part of the impedance in the Reactance text box and select the units. Ohms is the default.

If an incident wave is present, use the radio buttons at the button of the panel to select one of the following field types to use: Scattered Fields

The differential field formed by subtracting the incident field from the total field.

Total Fields

The physically measurable field that exists with the model present and a non-zero incident field.

Incident Fields

The plane-wave field that would exist in the absence of the model.

Click OK to apply the changes and close the dialog, or click Apply to view the changes without closing the dialog. The magnitude and phase are assigned to the selected excitation.

Note

When you scale an excitation, keep in mind that the original value of the excitation remains unchanged.

Related Topics Guidelines for Scaling a Source’s Magnitude and Phase

14-24 Post Processing and Generating Reports

HFSS Online Help

Guidelines for Scaling a Source’s Magnitude and Phase When specifying the factor by which the value of the source is scaled, keep the following guidelines in mind: For ports, driven modal case

For voltage and current sources

For incident waves

For ports, driven terminal case For Eigenmodes



The excitation’s magnitude specifies time-averaged incident power in watts.



If you are using a symmetry plane, remember to scale the input signal appropriately. For example, if you have one symmetry plane, use an input value of 0.5 watts to excite the full structure with 1 watt; if you have two symmetry planes, use an input value of 0.25 watts to excite the full structure with 1 watt, and so forth.



Generally, use the default value of 1. This specifies that the solution’s Eand H-fields be scaled such that the excitation wave delivers 1 watt of power. To view the solution at some other power, enter a positive value.

• •

Only port-mode combinations with non-zero magnitudes will be used. The source magnitude for voltage and current sources specifies peak value volts and peak value amperes, respectively.



If you have defined multiple voltage and current sources, you can "remove" them by setting their magnitudes to 0. This enables you to easily observe the effects that individual or specific groups of sources have on the problem. Source magnitude specifies peak value E-field in volts per meter.

• •

When you scale the incident E-field, the scattered E-field and the total Efield are scaled as well.

• •

This scaling factor affects all incident angles in the incident wave setup. The excitation’s magnitude specifies peak value volts. This is the sum of the incident and reflected waves at this terminal. See the equations here.

• •

Source magnitude is unitless and represents a relative value. When you enter a scaling factor for an eigenmode the relative source magnitude is amplified by this value. Exactly one eigenmode must be excited by setting its scaling factor to a non-zero positive number.

When specifying the new phase for ports, generally use zero. This zero-phase solution results from excitations phased in such a way that, at ωt = 0, peak values occur at the port faces.

Post Processing and Generating Reports 14-25

HFSS Online Help

Creating Animations An animated plot is a series of frames that displays a field, mesh, or geometry at varying values. 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. 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.

You can export the animation to animated Graphics Interchange Format (GIF) or to Audio Video Interleave (AVI) format. Related Topics General Options: Miscellaneous Options Tab Creating Phase Animations Creating Frequency Animations Creating Geometry Animations Controlling the Animations Display Exporting Animations

Creating Phase Animations To animate a plot with respect to the phase of the plotted field: 1.

Create a field overlay plot to animate.

2.

On the HFSS menu, point to Fields, and then click Animate

.

If you already created an animation, the Select Animation dialog box appears. Selecting an existing animation from that list starts it. To create a new animation, click New. The Setup Animation dialog box appears. 3.

Type a name for the animation in the Name text box or accept the default name.

4.

Optionally, type a description of the animation in the Description text box.

5.

Under the Swept Variable tab, select Phase from the Swept Variable list.

6.

Specify the phase values you want to include in the animation: a.

Type the starting value of the phase in the Start text box.

b.

Type the stopping value of the phase in the Stop text box.

c.

Type the number of Steps to include in the animation. For example, if the Start value is 10, the Stop value is 160, and the number of steps is 10, the animation will display the plot at 10 phase values between 10 and 160. The start value

14-26 Post Processing and Generating Reports

HFSS Online Help

will be the first frame displayed, resulting in a total of 11 frames in the animation. 7.

Click OK. The animation begins in the view window. The play panel appears in the upper-left corner of the desktop, enabling you to stop, restart, and control the speed and sequence of the frames.

Related Topics Controlling the Animation’s Display

Creating Frequency Animations 1.

Create a field overlay plot to animate. In the Create Field Plot dialog box, make sure to select a sweep solution to plot from the Solution pull-down list.

2.

On the HFSS menu, point to Fields, and then click Animate

.

If you already created an animation, the Select Animation dialog box appears. Selecting an existing animation from that list starts it. To create a new animation, click New. The Setup Animation dialog box appears. 3.

Type a name for the animation in the Name text box or accept the default name.

4.

Optionally, type a description of the animation in the Description text box.

5.

Under the Swept Variable tab, select Frequency from the Swept Variable list.

6.

Select the frequency values you want to include in the animation from the Select values list. Use the Shift key to select a series of values, and the Ctrl key to select values that are not in sequence.

7.

Click OK: The animation begins in the view window. It will display one frame for each frequency value you selected. The play panel appears in the upper-left corner of the desktop, enabling you to stop, restart, and control the speed and sequence of the frames.

Related Topics Controlling the Animation’s Display

Creating Geometry Animations Geometry animations may be created to evaluate the effect of varying geometry variables on the model. You must define at least one variable associated with the geometry prior to creating a geometry animation. Following is the general procedure for creating an animation that varies a part of the model geometry. 1.

Right-click in the view window, point to View, and then click Animate. If multiple geometries can be varied in the design, the Select Drawing dialog box appears, proceed to step 2. If only one geometry is variable, proceed to step 3.

2.

In the Select Drawing dialog box: Post Processing and Generating Reports 14-27

HFSS Online Help

a.

Select the geometry variable to vary in the animation.

b.

Select the object you want to animate.

Note

If previous animations have been created for this project, the Select Animation dialog will appear. You may choose an animation setup from the list if one is associated with the geometry variable of interest and the animation will start. If no existing animation setup is acceptable, select New and continue at Step 3 below.

The Setup Animation dialog box appears. 3.

In the Setup Animation dialog box: a.

Type a name for the animation in the Name text box or accept the default name.

b.

Optionally, type a description of the animation in the Description text box.

c.

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 list.

d.

e.

4.

Specify the values of the variable that you want to include in the animation: 1.

Type the starting value of the variable in the Start text box.

2.

Type the stopping value of the variable in the Stop text box.

3.

Type the number of Steps to include in the animation. For example, if the Start value is 0.15in, the Stop value is 0.45in, and the number of steps is 15, the animation will display the geometry at 15 values between 0.15 inches and 0.45 inches. The animation will also include the start value, which will be the first frame displayed, resulting in a total of 16 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. 1.

Click the Design Point tab.

2.

Deselect the Use defaults checkbox.

3.

In the table, select the row corresponding to the variable setting of interest.

Click OK.

The animation begins in the view window. It will display one frame for each variable value. The play panel appears in the upper-left corner of the desktop, enabling you to stop, restart, and control the speed and sequence of the frames. Related Topics Controlling the Animation’s Display

Controlling the Animation’s Display When an animation is displayed in the view window, the Animation window, also called the play panel, appears in the upper-left corner of the desktop. It has buttons that enable you to control the

14-28 Post Processing and Generating Reports

HFSS Online Help

speed and sequence of the frames, start and stop the animation and export the animation. Click an area of the window below to learn its function.

Animation Each dot on the slider represents a frame in the animation. Drag the slider to 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. Steps backward through the animated plot one frame at a time.

Stops the animation. Steps forward through the animated plot one frame at a time.

Plays the plot’s animation sequence forwards.

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.

Post Processing and Generating Reports 14-29

HFSS Online Help

Frame information

The current frame and phase at which the plot is being displayed is listed below the control buttons. Enables you to export the animation to an animated Graphics Interchange Format (GIF) or to Audio Video Interleave (AVI) format. Closes the animation window.

Exporting Animations 1.

Create the animation you want to export.

2.

In the play panel, click Export. The Save As dialog box appears.

3.

Follow the procedure for saving a new file. Select Animated GIF File (.gif) or AVI File (.avi) as the file type. The Animation Options dialog box appears.

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: INTEL Indeo Cinepak Microsoft Video 1 None

6. 7.

For GIF format export, specify the number of loops. The default “0” denotes infinite loops. Click OK to close the Animations Options dialog. The animation is exported to the file format you specified.

14-30 Post Processing and Generating Reports

HFSS Online Help

Creating Reports After HFSS has generated a solution, all of the results for that solution are available for analysis. One of the ways you can analyze your solution data is to create a 2D or 3D report, or graphical representation, that displays the relationship between a design’s values and the corresponding analysis results. You create reports using either the Create Quick Report command, or the Create 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 (Eigenmode, Modal, Fields, Far Fields and Emission test, and Terminal), the Results menus present a list of Create 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 Report menu items includes a further cascading menu that lists the Display Types available for that report. If you have created custom report templates (for example, including your company name or other format changes), you can also create a report based on that template by selecting HFSS>Results>Report Templates>PersonalLib>. When you select Create Report, the Report dialog displays. From the Report dialog, you select the following: Context section -- depending on the , context selections include:

• •

Solution field with a drop down selection list. This lists the available sweeps. Domain field with a drop down selection list. Whether this field appears, and the domains available for selection depend on the Solution type and the selected. This can be Sweep or Time.



Geometry field with a drop down selection list. This appears if you select field and radiated field reports as the report . This applies the quantity to a geometry or radiated field setup.



Digital Signal button -- this appears if the you select is Emission Test.

Trace tab



X (Primary Sweep) section

• •

This contains a dropdown menu for selecting the value(s) and a browse button for selecting from a list if sweeps (if available).

Y Component section



Categories - these depend on the Solution type and the design. This lets you specify the category of information for the Y component.

• •

Quantities for Y Functions to apply to the Y quantities. Post Processing and Generating Reports 15-31

HFSS Online Help

• •

Value field displays the currently specified Quantity and Function. Range Function button -- opens the Set Range Function dialog. This applies currently specified Quantity and Function.

Families tab

• • • •

Each member of a family defines one point on a curve. Lists the number of families available. Variable display or Table display radio buttons. Variables allows you to edit sweeps. Table allows you to select individual combinations of values. The Edit button lets you select variable values. Nominals field (disabled is none exist in the design) and a browse button.

Update Report



Real Time checked -- enable real time updates for all reports while the reports are being edited.



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.

Report dialog command buttons



Options - opens the Report Setup Options dialog. This contains a checkbox 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.



New Report. Adds a report to the Project tree under the Results icon. The new Report is displayed in the Project window.



Add Trace - this is enabled when you have created or selected a report. You can add further traces. The new trace is displays in the Project window under the report.



Update Trace - updates the selected traces in a report based on further processing or changes. When you edit a trace, this button applies the current values to that trace.



Close - closes the Report dialog.

Note

Remember the evaluated value of an expression is always interpreted as in SI units. However, when a quantity is plotted in a report, you have the option to plot values in units other than SI. For example, the expression "1+ang_deg(S11)" represents an ‘angle'’quantity evaluated in radians, though plotted in degree units. To represent an angle quantity in degrees, you would specify units as "1 deg + ang_deg(S11)".

Related Topics Creating a Quick Report Creating a New Report 15-32 Post Processing and Generating Reports

HFSS Online Help

Modifying Reports Modifying the Background Properties of a Report Creating Custom Report Templates

Creating a Quick Report Following is the procedure for creating a quick report. 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 Quick Report dialog appears. 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.

Related Topics Creating Reports Modifying Reports Creating Custom Report Templates

Creating a New Report Following is the general procedure for creating a new report: 1.

On the HFSS menu or the Project tree, point to Results, and then select Create Report and from the menu select the Display Type for that template. There are more templates of Report Types available for terminal solutions (terminal, model, fields, near fields, and far fields) and for modal solutions (modal and fields). For Eigenmode solutions, the of Report Types are for Eigenmode Parameters and for Fields. If you have created custom report templates (for example, including your company name or other format changes), you can also create a report based on that template by selecting HFSS>Results>Report Templates>PersonalLib>. Post Processing and Generating Reports 15-33

HFSS Online Help

When you have selected the and display type from the Results menu, the Report dialog appears. 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 selected. For modal and terminal Sparameter 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. 3.

In the Y Component section of the dialog make selections for the following: a.

Categories - those depend on the Solution type and the design. For example, Eigenmode quantities include Eigenmodes, variables, output variables, and the design. Driven solutions include such categories as S parameters and Power.

b.

Quantities for Y are relative to the selected category.

Note

Function list to apply to the Y quantities.

d.

Value field displays the currently specified Quantity and Function. You can edit this field directly.

e.

5.

The Quantity text field can be used to filter the Quantity list by typing in text. This is useful if the Category selected produces a lengthy Quantities list.

c.

Note

4.

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.

Color shows valid expression. Range Function button -- opens the Set Range Function dialog. This applies currently specified Quantity and Function.

In the X (Primary Sweep) section, make selections for the following: a.

Select the value(s) from the drop down menu.

b.

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.

In the Families section, if families are available, make selections for the following: a.

Variable display or Table display radio buttons. If you have defined variables for the design, selecting the Variable radio button displays a list of variables. Selecting Table uses a table format.An Edit button lets you edit variables.

b.

Nominals field (disabled is none exist in the design) and a browse button.

15-34 Post Processing and Generating Reports

HFSS Online Help

6.

The Report dialog command buttons permit you create a new report with the settings you provide, or to modify an existing report.



Add Trace - this is enabled when you have created or selected a report. Add one or more traces to include in the report.



Update Trace - updates the selected traces in a report based on further processing or changes.



New Report. Adds a report to the Project tree under the Results icon. The new Report is displayed in the Project window.

• •

Output Variables - opens the Output Variables dialog.

• 7.

Options - opens the Report Setup Options dialog. This contains a checkbox 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. Close - closes the Report dialog.

Click New Report to create a new report in the Project tree. The report appears in the view window. It will be listed in the project tree under Reports. 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.

Related Topics Creating Reports Modifying Reports Creating a Quick Report

Modifying Reports To modify the data that is plotted in a report: 1.

In the project tree, click the report you want to modify.

2.

Right-click Modify Report. The Report dialog appears.

3.

The Report dialog command buttons permit you create a new report with the settings you provide, or to modify an existing report.



Add Trace - this is enabled when you have created or selected a report. Add one or more traces to include in the report.



Update Trace - updates the selected traces in a report based on further processing or changes. Post Processing and Generating Reports 15-35

HFSS Online Help



New Report. Adds a report to the Project tree under the Results icon. The new Report is displayed in the HFSS window.



Options - opens the Report Setup Options dialog. This contains a checkbox 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.



Close - closes the Report dialog.

The updated report appears in the view window. 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 Related Topics Modifying the Background Properties of a Report Modifying the Legend in a Report Creating Custom Report Templates Working with Traces Editing the Display Properties of Traces Discarding Report Values Below a Specified Threshold Add Trace Characteristics Adding Data Markers to Traces

Modifying the Background Properties of a Report The standard Zoom and Fit commands operate on reports. To modify the appearance of a report, or the display properties an object in a report. 1.

Open the report you want to modify.

2.

You must select an editable object in the report to be able to edit its properties. Click on an object to select it and to view its Properties in the docked properties window. To open a floating Properties window, either double click on the selected object, or click Edit>Properties on the toolbar. The selectable objects in reports are as follows:



Header -- this lets you edit the Properties for the text displayed at the top of the report, including the Title font, Company Name, Show Design Name, Subtitle Font. The plot title is tied to the report's name and is not a Header property. If you change the report name in the Project tree, plot title synchronizes. The Company Name and the Show Design Name checkbox are grouped in the Properties dialog as Subtitle. Edits to the Subtitle Font Property affects both of them.



General -- this dialog (or General tab for other Report properties windows) lets you edit the background color (the perimeter around the trace display) for the plot, the contrast color (the trace display background), the Field width, the Precision, and whether to use

15-36 Post Processing and Generating Reports

HFSS Online Help

scientific notation for marker and delta marker displays. (X and Y notation display is set separately, in the Axis property tabs.)



Legend -- this lets you edit the Properties for whether to Show Trace Name, Solution Name, and Variation Key. At least one of these three must be selected. You can also edit the Font, the background color of the Legend box, the Border Color, the Border Width, Grid Color (for the lines between Trace descriptions), and the Grid line width. Also see Modifying the Legend in a Report



Traces -- you can select traces either in the Legend or on the plot. The properties for traces include: Color, Line Style, Line Width, Trace Type, whether to Show a symbol, Symbol Frequency, Symbol style, whether to Fill symbol, symbol color, and whether to Show arrows. See Editing the Display Properties of Traces.



X or Y Axis Tab-- the defaults for most of these values are set in the Report 2D Options Axis tab.

• •

Specify name -- checkbox for specifying the Axis name.



Axis Color -- set the color by double clicking to display the Set color dialog. Select a default or custom color and click OK.



Text Font -- click the cell to display the Edit Text Font dialog. The dialog lets you select from a list of available fonts, styles, sizes, effects, colors, and script. The dialog also contains a preview field. OK the selections to apply the font edits and to close the dialog.



Manual Format (section)



Name -- this describes the axis to which the following properties/options refer. These are selected in the Report dialog.



Number format -- select from the drop down menu, Auto, Decimal, or Scientific notation.

• •

Field Width -- enter a real value. Field Precision -- enter a real value.

X or Y Scaling Tab -- These properties provide control over scaling.



Axis Scaling -- use the drop down menu to select scaling as Linear or Log. For the Y axis, all zero or negative values are discarded before log scaling is applied.

• • • • • • • •

Specify Min -- check box Min -- text entry in same units as axis units. Saved as SI internally. Specify Max -- check box Max -- text entry in same units as axis units. Saved as SI internally. Specify Spacing -- check box Spacing -- text entry in same units as axis units. Saved as SI internally Manual Units (section) Auto Units -- use the check box compute the correct units for the axis. Post Processing and Generating Reports 15-37

HFSS Online Help



Units -- click on the cell to select from a menu of available units if you have not checked Auto Units.

• •

Infinity Visualization (section) Map Infinity Mode -- checkbox. Each axis now 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 infinity Map value (negative infinity get the value*-1 and positive infinity the positive value specified). This can be useful if there are zeros, or very small values that HFSS treats as zero, in the data, for example, dB Gain.

• 3.

Map Infinity To -- enter a real value for the Map Infinity Mode.

Edit the properties, and OK the dialog to apply the changes.

Related Topics Modifying Reports Working with Traces Discarding Report Values Below a Specified Threshold Modifying the Legend in a Report Editing the Display Properties of Traces Creating Custom Report Templates Setting Report2D options Zoom in or out. Fit contents in the view window.

Modifying the Legend in a Report The legend in a report is a list of the curves being plotted. For each curve, the legend gives the name, shows the line color, and lists the setup and the adaptive pass used to generate the curve. To show or hide a legend in a report: 1.

Make the report the active view.

2.

Use View>Active View Visibility or the Show/Hide icons on the toolbar to display or hide the report. Either command displays the Active View dialog.

3.

Select the Legends tab. This lists the legend (or legends) in the report.

4.

Check the visibility checkbox, and OK the dialog to close it and apply the change.

To edit the display properties of a legend: 1.

Select the legend in a report by clicking on the Curve Info panel to display a docked properties window, or right-click on the legend and select Edit>Properties to display the floating properties window. This lets you edit the Properties for whether to Show Trace Name, Solution Name, and Varia-

15-38 Post Processing and Generating Reports

HFSS Online Help

tion Key. At least one of these three must be selected. You can also edit the Font by clicking the Font cell to display the Edit Text Font dialog. The dialog lets you select from a list of available fonts, styles, sizes, effects, colors, and script. The dialog also contains a preview field. OK the selections to apply the font edits and to close the dialog You can also edit the background color of the Legend box, the Border Color, the Border Width, Grid Color (for the lines between Trace descriptions), and the Grid line width. 2.

Click OK to close the Properties window and apply the selections.

To change the display name for traces, see Editing Trace Properties. To move a legend in a report: 1.

Click and hold and the legend. The cursor changes to crossed lines with arrow tips.

2.

Still holding, drag the legend to a new location and release. The legend is released and the crossed lines change back to a mouse pointer.

To resize a legend in a report: 1.

Position the mouse tip over the edge you want to resize. The mouse pointer changes to a horizontal or vertical line with arrow tips.

2.

Click and drag the horizontal or vertical edge to the desire size.

3.

Release.

Related Topics Editing Trace Properties Showing Objects Hiding Objects Modifying Reports Creating Custom Report Templates Discarding Report Values Below a Specified Threshold Setting Report2D options Editing the Display Properties of Traces

Creating Custom Report Templates You can edit properties from any report type and save it as a template. This can save repeated editing of properties (for example, the company name, or color schemes) when you create other reports. Once you create templates, you can access them from the Results>Report Templates>PersonalLib menu. See Modifying the Background Properties of a Report for a discussion of format changes you can make to any report.

Post Processing and Generating Reports 15-39

HFSS Online Help

To save an edited report as a template: 1.

In the Project Tree, right-click on the report name of interest to display the shortcut menu and click Save as Template: This displays the Report Save As file browser. By default, the directory is your Ansoft\\userlib\ReportTemplates directory.

2.

Typically, you accept the directory.

3.

You must provide a file name, which will be given an *.rpt extension. 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.

4.

The Save As Type field currently supports the Ansoft Report Format (*rpt) format.

5.

Click Save to save the template to the PersonalLib menu.

All *.rpt templates in the 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. Related Topics Modifying Reports Setting Report2D options Zoom in or out. Fit contents in the view window. Modifying the Background Properties of a Report Modifying the Legend in a Report Working with Traces Editing the Display Properties of Traces Discarding Report Values Below a Specified Threshold

15-40 Post Processing and Generating Reports

HFSS Online Help

Selecting the Report Type The Report Types available for creating a report depends on the simulation setup. Depending on the setup, you can make a selection from the following report types: Modal Solution Data S-, Y-, and Z-parameter data will be available to plot, as well as propagation constant, characteristic port impedance, reflection/ transmission coefficients for FSS designs, and voltage standing wave ratio (VSWR) data. Note: For FSS calculations, phase is currently assigned zero value. Terminal Solution Data

Terminal S-, Y-, and Z-parameter data will be available to plot, as well as terminal characteristic port impedance, common and differential voltage quantities, power, and VSWR data.

Fields

Basic or derived field quantities calculated on lines or integrated over surfaces or objects will be available to plot.

Far Fields

Radiated fields computed in the far-field region. The following quantities will be available to plot: rE, gain, realized gain, directivity, axial ratio, polarization ratio, antenna parameters, and normalized antenna calculated by HFSS. Note: You must have defined an infinite sphere geometry and at least one radiation or PML boundary to create a far-fields report.

Near Fields

Radiated fields computed in the near-field region. These include: variables, output variables, near E, max near field parameters, and near normalized antenna. Note: You must have defined a near-field line or near-field sphere and at least one radiation or PML boundary to create a near-fields report.

Emission Test

You can conduct an emission test under the same conditions as for a near field report except that.an emission test cannot be conducted for a ports-only solution. You must have defined a near-field line or near-field sphere and at least one radiation or PML boundary.

Related Topics Creating Reports Modifying Reports Creating Custom Report Templates

Post Processing and Generating Reports 15-41

HFSS Online Help

Selecting the Display Type The information in a report can be displayed in several formats. Select from the following Display Type formats in the Create Report submenu: Rectangular Plot

A 2D rectangular (x-y) graph.

3D Rectangular Plot A 3D rectangular (x-y-z) graph. Polar Plot

A 2D circular chart divided by spherical coordinates.

3D Polar Plot

A 3D circular plot divided by spherical coordinates.

Smith Chart

A 2D polar chart of S-parameters upon which a normalized impedance grid has been superimposed.

Data Table

A grid with rows and columns that displays, in numeric form, selected quantities against a swept variable or another quantity.

Radiation Pattern

A 2D polar plot of radiated fields.

Related Topics Creating Reports Modifying Reports Creating Custom Report Templates

Creating 2D Rectangular Plots A rectangular plot is a 2D, x-y graph of results. 1.

On the Results menu (HFSS menu or right-click on Results on the Project tree), click Create Report, and select Rectangular Plot. The Report dialog appears.

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 selected. For modal and terminal Sparameter 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. 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.

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.

b.

In the Quantity list, click the value to plot.

15-42 Post Processing and Generating Reports

HFSS Online Help

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. 4.

6.

Range Function button -- opens the Set Range Function dialog. This applies currently specified Quantity and Function.

On the Trace tab, X (Primary sweep) line, specify the quantity to plot along the x-axis in one of the following ways:.

• • 5.

Color shows valid expression.

Select the sweep variable to use from the drop down list. 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.

On the Families tab, confirm or modify the sweep variables that will be plotted. Click New Report. This creates a new report in Project tree, displays the report with the defined trace, and enables the Add Trace button on the Report dialog. The 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.

Related Topics Sweeping a Variable Working with Traces Add Trace Characteristics Delta Markers in 2DPlots Modifying Background Properties of a Report Discarding Report Values Below a Specified Threshold Setting Report2D options

Creating 3D Rectangular Plots A rectangular plot is a 3D, x-y-z graph of results. 1.

On the Results menu (HFSS menu or right-click on Results on the Project tree), click Create Report, and select 3D Rectangular plot from the report type menu. The Report dialog appears.

2.

In the Context section make selections from the following field or fields, depending on the Post Processing and Generating Reports 15-43

HFSS Online Help

design and solution type.

3.

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.

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.

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. 4.

Select the sweep variable to use from the drop down list. 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.

On the Trace tab X (Primary sweep) lines, specify the information to plot along the x-axis in one of the following ways:

• • 6.

Range Function button -- opens the Set Range Function dialog. This applies currently specified Quantity and Function.

On the Trace tab Y (Secondary sweep) lines, specify the information to plot along the y-axis in one of the following ways:

• • 5.

Color shows valid expression.

Select the sweep variable to use from the drop down list. 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.

Click New Report. This creates a new report in Project tree, displays the report with the defined trace, and enables the Add Trace button on the Report dialog. The function of the selected quantity or quantities will be plotted against the values you specified on an x-y-z graph. The plot is listed under Results in the project tree.When you select the traces or plots, their properties are displayed in the Properties window. These properties can be edited directly to modify the plot.

7.

Optionally, add another trace to the plot by following the procedure above, using Add Trace rather than New Report.

Related Topics Sweeping a Variable 15-44 Post Processing and Generating Reports

HFSS Online Help

Working with Traces Add Trace Characteristics

Creating 2D Polar Plots In HFSS, a polar plot is a 2D circular chart divided by the spherical coordinates R and theta, where R is the radius, or distance from the origin, and theta is the angle from the x-axis. Following is the general procedure for drawing a polar graph of results: 1.

On the Results menu (HFSS menu or right-click on Results on the Project tree), click Create 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.

The Report dialog appears.

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 selected. For modal and terminal Sparameter 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. 3.

In the Trace tab Polar Component area, specify the information to plot: a.

On the Category drop down list, click the type of information to plot.

b.

On the Quantity list, click the values to plot. Use CTRL-click to make multiple selections.

c.

In the Function list, click the mathematical function to apply to the quantity for the plot.

d.

The Value field displays the currently specified Quantity and Function. You can edit this field directly.

Note e. 4.

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.

Color shows valid expression. Range Function button -- opens the Set Range Function dialog. This applies currently specified Quantity and Function.

Click New Report. This creates a new report in Project tree, displays the report with the defined trace, and enables the Add Trace button on the Report dialog. The 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 disPost Processing and Generating Reports 15-45

HFSS Online Help

played in the Properties window. These properties can be edited directly to modify the plot. 5.

Optionally, add another trace to the plot by following the procedure above, using Add Trace rather than New Report.

Related Topics Reviewing 2D Polar Plots Sweeping a Variable Working with Traces Add Trace Characteristics

Reviewing 2D Polar Plots For a polar plot of S-parameters, HFSS displays in the lower-left corner the following derived information about the cursor’s location: MP

The magnitude and phase of the point.

RX

The normalized resistance (R) and reactance (X).

GB

An alternate view of the normalized resistance and reactance in the form of

1 R + jX = ---------------G + jB

where

• •

G = conductance 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.

1 + S ij -----------------. 1 – S ij

Related Topics Creating 2D Polar Plots

Creating 3D Polar Plots A 3D polar plot is a 3D circular chart divided by the spherical coordinates R, theta, and phi, where R is the radius, or distance from the origin, theta is the angle from the x-axis, and phi is the angle 15-46 Post Processing and Generating Reports

HFSS Online Help

from the origin in the z direction. Following is the general procedure for drawing a 3D polar plot of results: 1.

On the Results menu (HFSS menu or right-click on Results on the Project tree), click Create Report, and select 3D Polar plot from the report type menu. The Report dialog appears.

2.

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.

In the Trace tab Mag area, specify the information to plot along the R-axis, or the axis measuring magnitude: a.

On the Category drop down list, click the type of information to plot.

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.

Color shows valid expression. Range Function button -- opens the Set Range Function dialog. This applies currently specified Quantity and Function.

4.

On the Trace tab Theta (Secondary Sweep) line, select the sweep variable from the drop down list and specify all values or select values to plot along the theta-axis:

5.

On the Trace tab Phi (Primary Sweep) line, select the sweep variable from the drop down list, and specify all values or select values to plot along the phi-axis:

6.

Click New Report. This creates a new report in Project tree, displays the report with the defined trace, and enables the Add Trace button on the Report dialog. The 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, 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.

Post Processing and Generating Reports 15-47

HFSS Online Help

Related Topics Sweeping a Variable Working with Traces Add Trace Characteristics

Creating Smith Charts A Smith chart is a 2D polar plot of S-parameters upon which a normalized impedance grid has been superimposed. Following is the general procedure for creating a Smith chart of results: 1.

On the Results menu (HFSS menu or right-click on Results on the Project tree), click Create Report, and select Smith Chart from the report type menu. The Report dialog appears.

2.

In the Trace tab Polar Component area, specify the information to plot: a.

On the Category drop down list, click the type of information to plot.

b.

On the Quantity list, click the values to plot. Use CTRL-click to make multiple selections.

c.

In the Function list, click the mathematical function to apply to the quantity for the plot.

d.

The Value field displays the currently specified Quantity and Function. You can edit this field directly.

Note e. 3.

Color shows valid expression. Range Function button -- opens the Set Range Function dialog. This applies currently specified Quantity and Function.

Click New Report. This creates a new report in Project tree, displays the report with the defined trace, and enables the Add Trace button on the Report dialog. The function of the selected quantity will be plotted against the values you specified on a polar plot. In addition, each circle on the plot is labeled with values of R, measuring normalized resistance, and each line is labeled with values of X, measuring normalized reactance. The plot is listed under Results in the project tree and the traces are listed under the plot. When you select the traces or plots, their properties are displayed in the Properties window. These properties can be edited directly to modify the plot.

4.

Optionally, add another trace to the plot by following the procedure above, using Add Trace rather than New Report.

Related Topics Reviewing 2D Polar Plots Sweeping a Variable Working with Traces Add Trace Characteristics 15-48 Post Processing and Generating Reports

HFSS Online Help

Creating Data Tables A data table is a grid with rows and columns that displays, in numeric form, selected quantities against a swept variable or other quantities. 1.

On the HFSS menu, point to Results, and then click Create Report, or right click on the Results icon in the Project tree and click Create Report.

2.

In the display type menu, click Data Table. The Report dialog box appears.

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 selected. For modal and terminal Sparameter 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. 4.

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.

Under the Trace tab Y component section, select the quantity you are interested in and its associated function: a.

On the Category drop down list, click the type of information to plot.

b.

On the Quantity list, click the values to plot. Use CTRL-click to make multiple selections.

c.

In the Function list, click the mathematical function to apply to the quantity for the plot.

d.

The Value field displays the currently specified Quantity and Function. You can edit this field directly.

Note e.

Color shows valid expression. Range Function button -- opens the Set Range Function dialog. This applies currently specified Quantity and Function.

5.

On the Trace tab X (Primary sweep) line, select the sweep variable from the drop down list, and specify all values or select values.

6.

Click New Report. This creates a new report in Project tree, displays the report with the defined trace, and enables the Add Trace button on the Report dialog. The 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 Post Processing and Generating Reports 15-49

HFSS Online Help

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.

Related Topics Sweeping a Variable Working with Traces Add Trace Characteristics

Creating Radiation Patterns A radiation pattern is a 2D polar plot displaying the intensity of near- or far-field radiation patterns. It is divided by the spherical coordinates R and theta, where R is the radius, or distance from the origin, and theta is the angle from the x-axis. Following is the general procedure for drawing a radiation pattern of results: 1.

On the HFSS menu, point to Results, and then click Create Report, or right click on the Results icon in the Project tree and click Create Report.

2.

In the display type menu, click Radiation Pattern. The Report dialog box appears, and a Radiation Pattern Plots icon appears under Results in the Project tree.

3.

In the Context section make selections from the following field or fields, depending on the design and solution type. a.

4.

Solution field with a drop down selection list. This lists the available solutions, whether sweeps or adaptive passes.

In the Trace tab Mag Component area, specify the information to plot along the R-axis, or the axis measuring magnitude: a.

On the Category drop down list, click the type of information to plot.

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.

Color shows valid expression. Range Function button -- opens the Set Range Function dialog. This applies currently specified Quantity and Function.

5.

In the Trace tab Ang (Primary sweep) line, specify the sweep variable from the drop down list, and specify all values or select values.

6.

Click New Report. This creates a new report in Project tree, displays the report with the defined trace, and enables

15-50 Post Processing and Generating Reports

HFSS Online Help

the Add Trace button on the Report dialog. 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.

Related Topics Sweeping a Variable in a Report Working with Traces Add Trace Characteristics

Delta Markers in 2D Reports To view the difference between any two marker points in a report: 1.

Set the first marker by left-clicking and holding the mouse button.

2.

Move the mouse without releasing left button to another position, and then release the left button to create second marker.

In the marker text window, you see the difference between the two markers instead of the X, Y value of marker. Related Topics Setting Report2D options Working with Traces Editing the Display Properties of Traces Adding Data Markers to Traces

Plotting in the Time Domain The idea behind Time-Domain Reflectometry (TDR) is to excite a structure with a step function, and inspect the reflections as a function of time. Before you can examine the time domain, you must perform an Interpolating sweep for a driven solution (Modal or Terminal). You can then select Time from the Domain list in the Report dialog. You also need to specify the input signal, whether step or impulse. With Time selected as the domain, you can select from several Categories and associated Quantities to plot, for example mag(S11). When you plot in the Time domain, every frequency domain quantity is first converted to the time-domain before the formula is evaluated. For example, if you type in S11 / ( 1 - S11 ) and plot it in the time domain the reporter will plot IFFT(S11 * input) / ( 1 - IFFT(S11 * input) ) It will NOT plot Post Processing and Generating Reports 15-51

HFSS Online Help

IFFT( S11/ ( 1 - S11) * input ) The two expressions are not equivalent. If you select Time Domain Impedance as the Category, you can select the TDRZ quantity. This is defined as TDRZ(t) = Zref * ( 1 + IFFT(S11 * input) ) / ( 1 - IFFT(S11 * input) ) 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 V = sqrt(Zo) * (a + b) = sqrt(Zo) * ( 1 + Sii ) * a I = 1/sqrt(Zo) * (a - b) = sqrt(Zo) * ( 1 - Sii ) * a 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. 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 includes the TDR Impedance in the Category list.

3.

Click TDR Options. The TDR Options dialog box appears.

4.

Select the input signal type, Step or Impulse. A Step describes a sustained change in the signal, whereas the Impulse is a brief excitation. Impulse is a very narrow rectangular pulse, with zero rise and fall time, width of 1 time step, and height of 1/(time step). Selecting Step enables the Rise Time field, and Impulse disables it.

5.

If you selected Step, enter the rise time of the pulse in the Rise Time text box. The rise time should be appropriate for the frequency context. With a band width from DC to fmax, the best time resolution that can be achieved is 1/fmax. A rise time of 1/fmax 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 nay 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

15-52 Post Processing and Generating Reports

HFSS Online Help

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. In order to obtain a smoother TDR plot you can reduce this value, e.g. to 1/10fmax, at the expense of extra computation time. The plot will not contain more information but will be visually more appealing as sharp transitions 8.

Optionally, under TDR Window, modify the window type and width. Windowing functions cause the FFT of the signal to have non-zero values away from ω. Each window function trades off the ability to resolve comparable signals and frequencies versus the ability to resolve signals of different strengths and frequencies. The window type list includes: Window Function

9.

Preferred Use

Rectangular (default)

A low dynamic range function offering good resolution for signals of comparable strength. Poor when signals have very different amplitudes. w(n)=1.

Bartlett

A high dynamic range function, with lower resolution, designed for wide band applications.

Blackman

A high dynamic range function, with lower resolution, designed for wide band applications.

Hamming

A moderate dynamic range function, designed for narrow band applications.

Hanning

A moderate dynamic range function, designed for narrow band applications.

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.

Welch

This approach divides the spectrum into overlapping periodogram bins in order to more accurately depict data away from the center of the signal.

Click OK. Optionally, to plot 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: a.

In the Category list, click TDR Impedance.

b.

In the Quantity list, click a quantity to plot. The default impedance (Zo) for the TDRZ quantity is 50 Ohms, unless you specified differently when you Set Reference 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 Post Processing and Generating Reports 15-53

HFSS Online Help

Report dialog (as shown below), or you can create an Output Variable representing Zo × (1+Sii)/(1-Sii) with the Zo of your choice. To edit the Zo value in the Report dialog: 1.

2.

For the Category, select TDR Impedance, and the Port and Function of interest.

Edit the value by placing the cursor in the Value field. 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. 3.

In the Function list, click the mathematical function of the quantity to plot.

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 reference 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 reference impedance from the characteristic impedance of the transmission line.

15-54 Post Processing and Generating Reports

HFSS Online Help

Some things to keep in mind with TDR: (1)

SpatialresolutionΔx = c ⁄ ( 2B ) 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)

Δx = c ⁄ ( 2F max ) 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)

Δt = 1 ⁄ ( 2F max ) 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: Post Processing and Generating Reports 15-55

HFSS Online Help

(4)

2F max ⁄ ( Δf ) = N ( number of points in IFFT ) = T ⁄ Δt So increasing the density of the frequency samples leads to an increase in total time T. In practical cases, this often leads to a long tail in the TDR plot with little useful information. Therefore, the TDR Options interface lets you set the maximum plot time to a smaller value. The TDR Options interface also lets you choose a smaller Δt than given by equation (3) above. When you choose a smaller Δt , you increase Fmax by "zero padding", i.e. adding zero values for S11 beyond the calculated frequency sweep. Whether this is justified depends on your judgment. It leads in practice to a smoother TDR signal. HFSS also lets you set the rise time of your input signal. The rise time should be at least 1/(2Fmax). Even this rise time is a bit short for comfort, as it equals the duration of only one time sample. An input signal with a longer rise time has a smaller high-frequency content and will lead to reduced ringing" in the TDR response. A Hamming or Hann filter will also reduce the high-frequency content and tends to lead to a smoother TDR response. With these filters, one can select a width. A width of 100% is often a good choice. Related Topics Interpolating sweep for a driven solution (Modal or Terminal). Creating a report for design

Working with Traces A trace in a 2D or 3D report defines one or more curves on a graph. A trace in a data table defines part of the displayed matrix of text values. The values used for a plot’s axes (which may be X, Y, Z, phi, theta, or R depending on the display type) can be variables in the design, such as frequency, or functions and expressions based on the design’s solutions. If you have solved one or more variables at several values, you can "sweep" over some or all of those values, resulting in a curve in 2D or 3D space. A report can include any number of traces and, for rectangular graphs, up to four independent yaxes. 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:

• •

For PC systems, the cursor changes to the color of the selectable trace. For Unix systems, the cursor changes to a solid black arrow, rather than the default black outline.

In general, to add a trace to a report: 1.

Select a report in the Project window and right-click and select Modify Report.

2.

In the Report dialog specify the Y component information.

15-56 Post Processing and Generating Reports

HFSS Online Help

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.

c.

Select the Function to apply to the specified quantity.

d.

The Value field shows the trace being readied for plotting on the Y-axis. This field is editable when the text cursor is present. You can modify the information to be plotted by typing the name of the quantity or sweep variable to plot along an axis directly in the text boxes.

Note e.

Color shows valid expression. Range Function button -- opens the Set Range Function dialog. This applies currently specified Quantity and Function.

3.

In the Report dialog specify the X axis information (for example Primary Sweep).

4.

Click Add Trace. A trace is added to the traces list under its report icon in the Project tree. The trace represents the function of the quantity you selected and will be plotted against other quantities or swept variable values. Selecting a Trace in the Project tree displays the Properties window for that Trace. Selecting a trace in the report or legend displays the display Properties window for that trace. Trace icons can be selected, copied, and pasted for their definitions or their data. They can be selected and deleted from the Project tree. By the default, the Trace name is the definition (the category, quantity and function). The trace will be visible in the report when you click Add Trace. Trace properties can be edited directly in the respective Properties windows or edited in the Report dialog. To change the name or definition of a trace, see Editing Trace Properties. To edit other display properties of a trace, see Editing the Display Properties of Traces

Related Topics Removing Traces Editing Trace Properties Editing the Display Properties of Traces Discarding Report Values Below a Specified Threshold Add Trace Characteristics Adding Data Markers to Traces Setting Report2D options Post Processing and Generating Reports 15-57

HFSS Online Help

Copy and Paste of Report and Trace Definitions Copy and Paste of Report and Trace Data Delta Markers in 2D Reports

Editing Trace Properties To edit trace properties such as the name, the component definition, or the context, or the variables select the trace in the Project tree. To edit a trace name: 1.

Select the trace in the Project tree. This displays a docked Properties window for the Trace.

2.

Check the Specify Name box. This enables editing of either the Name field in the docked properties dialog, or the Trace label text in the Project tree. Editing this name changes the display in the Legend and in the Project tree, but not the underlying Y-component definition.

To edit a trace component definition: 1.

Select the trace in the Project tree.

2.

In the docked Properties window for the trace, select the component field of interest, and select Edit... form the drop down menu. This displays the an edit Component field window.form which you can edit the category, quantity and function.

3.

Click OK to apply the changes and close the dialog.

To edit a trace Context: 1.

Select the trace in the Project tree to display the docked properties window.

2.

In properties window, click the Solution field or the Domain field. If other selections are possible, they can be selected from the drop down menu.

To edit a variable for a trace: 1.

Select the trace in the Project tree to display the docked properties window.

2.

Under the -Variables category, on the Families line, click the Edit button to display the Edit families dialog. From this dialog, you can select the Sweeps or Variations radio buttons. Each selection changes the If other nominal values are available you can click the ellipsis button to select from a list.

Related Topics Removing Traces Editing the Display Properties of Traces Discarding Report Values Below a Specified Threshold Add Trace Characteristics Adding Data Markers to Traces 15-58 Post Processing and Generating Reports

HFSS Online Help

Setting Report2D options Copy and Paste of Report and Trace Definitions Copy and Paste of Report and Trace Data Delta Markers in 2D Reports

Editing the Display Properties of Traces To edit the display properties of a trace: 1.

Select a trace in an open Report window.

2.

Click once on the trace to view a Docked Properties window, or double click to open Properties window. The display properties window for a 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:



Name -- not editable by selecting the trace from the Report. It shows the characteristics of the trace as defined in the Report dialog. To edit a trace name, see Editing Trace Properties



Color -- shows the Trace color. Double click to open a Color dialog. You can select from Basic colors, or custom colors. You can define up to 16 custom colors by selecting or by editing the Hue, Saturation, Luminescence, and the Red, Green, and Blue values.

• • •

Line style -- a drop down menu lets you select Solid, Dot, Dash, or Dot-dash.

• • •

Show Symbol -- whether to show a symbol at the data points on the line.

• •

Fill Symbol -- use the check box to set the symbol display as a solid or as hollow.

Line width -- a text field lets you edit the numeric value. Trace type -- the drop down menu contains entries for Continuous, Discrete, Bar-Zero, Bar Infinity, Stick Zero, Stick Infinity, Histogram, Step, and Stair. Symbol Frequency -- how often to show symbols on the trace. 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 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. For HFSS 11, None cannot be selected as the symbol.

Post Processing and Generating Reports 15-59

HFSS Online Help

3.

Edit the properties of interest and OK the Properties window to apply the changes and close the window.

Related Topics Setting Report2D options Working with Traces Editing Trace Properties Add Trace Characteristics Adding Data Markers to Traces Removing Traces Discarding Report Values Below a Specified Threshold Copy and Paste of Report and Trace Definitions

Adding Data Markers to Traces The Reporter includes Report 2D>Marker> menu commands and toolbar icons

that let you add markers to traces. A marker appears as “mN” at the marked point, where N increments from 1 as you place additional markers. Each marker can be selected and has editable properties including name, font, background and color. As you place markers, one or more marker legends may be displayed, depending on the View>Active View Visibility settings for the legends. The main marker legend appears in the upper left of the plot, and lists the marker names and their X and Y values in a table. You can control the number format for the table values via the 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:

• •

• • •

Marker

-- this command lets you place a marker at an arbitrary point on a selected trace.

X Marker -- this command adds a movable marker at the origin of the plot with a vertical line rising from the X axis. 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. This marker is not cleared by the Clear All command, and must be deleted by selecting it and using the Edit Delete command. Maximum

-- places a marker at the Maximum value on the selected trace.

Minimum

-- places a marker at the Minimum value on the selected trace.

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

15-60 Post Processing and Generating Reports

HFSS Online Help

additional markers until you leave marker mode. These markers have their own legend, which includes the following information for each pair of markers specified.:



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.



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.



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.



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.

• • • •

Next Data Point (Right) -- moves a selected X marker to the next data point.



Clear All -- clears all markers on a report except X Markers.

Previous Data Point (Left) -- moves a selected X marker to the previous data point. Next Curve -- selects the next curve in the report, based on the order in the trace legend. Previous Curve -- selects the previous curve in the report, based on the order in the trace legend.

Related Topics Setting Report2D options Working with Traces Add Trace Characteristics Removing Traces Discarding Report Values Below a Specified Threshold Modifying the Legend in a Report Editing the Display Properties of Traces Zoom in or out. Fit contents in the view window. Showing Objects Hiding Objects Delta Markers in 2D Reports

Post Processing and Generating Reports 15-61

HFSS Online Help

Discarding Report Values Below a Specified Threshold To prevent real small numbers from skewing a plot, you can discard small values (below a specifiable threshold). 1.

Double-click on the X or Y axis of interest on an open plot display. This opens the Properties window for the Axis

2.

Under the Axis tab, use the scroll bar to find the Specify Discard Values property.

3.

Click the checkbox 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 checkbox is not enabled.

5.

Click OK to apply the Discard Values to the report.

Related Topics Working with Traces Removing Traces Editing the Display Properties of Traces Modifying Background Properties of a Report Modifying Reports Add Trace Characteristics

Add Trace Characteristics You can add or clear additional characteristics to a selected trace. To add additional characteristics to a selected trace: 1.

Select a trace in a report plot or legend.

2.

Click Report 2D>Trace Characteristics, or right-click on the selected trace to display the short cut menu.

3.

Select Trace Characteristics>Add.... This displays the Add Trace Characteristics dialog.

4.

Select the Category, and then an associated Function to apply. The available categories

15-62 Post Processing and Generating Reports

HFSS Online Help

depend on the plot, and Category enables the display of associated functions. Category

Functions for the Category

Math

max, min, pk2pk, rms, avg, integ, integabs, avgabs, rmsAC, ripple, pkavg, XatYMin, XatYMax, XatYVal

PulseWidth

pulsefall9010, pulsefront9010, pulsefront3090, pulsemax, pulsemaxtime, pulsemin, pulsemintime, pulsetail50, pulsewidth5050, pw_plus, pw_plus_max, pw_plus_min, pw_plus_avg, pw_plus_rms, pw_minus_max, pw_minus_min, pw_minus_avg, pw_minus_rms

Overshoot, Undershoot

overshoot, undershoot.

TR & DC

crestfactor, formfactor, distortion, fundamentalmag, delaytime, risetime, deadtime, settlingtime,

Error

iae, ise, itae, itse

Period

per, pmax, pmin, prms

Radiation

xdb10bandwidth, xdb20bandwidth, lSidelobeX, lSidelobeY, rSidelobeX, rSidelobeY

Given a selected Function, and Category, the Add Trace dialog displays a text field that explains the Purpose of the function. For a full list of functions and their definitions, see Selecting a Function. 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 Default button.

6.

Click the Add button to add the specified characteristics to the Trace.

To remove existing trace characteristics: 1.

Select a trace in a report plot or legend.

2.

Click Report 2D>Trace Characteristics, or right-click on the selected trace to display the short cut menu.

3.

Select Trace Characteristics>Clear All Trace characteristics are clear from the selected trace.

Related Topics Working with Traces Selecting a Function Adding Data Markers to Traces

Removing Traces You can remove traces from the traces list in the following ways: To remove one trace from the report:



Select the trace you want to remove from the Project tree, and then click Delete. Post Processing and Generating Reports 15-63

HFSS Online Help

To remove all traces from the report:



Select all the traces and click Delete.

Related Topics Working with Traces Editing the Display Properties of Traces

Copy and Paste of Report and Trace Definitions You can copy and paste report and individual trace definitions within a single design or across designs. The report or trace definition will be evaluated within the context of the target design or report. Note

If the report or trace definition contains properties that do not exist in the target design (for example, a port name) an error will be posted that indicates a solution does not exist for this trace

Note

You must copy and paste trace definitions between the same report types. For example, you cannot copy a trace from a Modal Solution Data report and paste it in a Far Fields report.

To copy a Report Definition: Right click on the report name in the project tree and select Copy Definition from the shortcut menu. To paste the Report Definition: Right click on Results in the project tree of the target design and select Paste. A new report is created and it contains the copied definitions. To copy an individual Trace Definition(s): Right click on the trace or traces under a report name in the project tree and select Copy Definition. To paste the Trace Definition(s): Right click on the report in the target design to which you would like to copy the trace or traces and select Paste. A new trace(s) is added to the report and it contains the copied trace definition(s). Note

If you copy and paste a report or trace definition to a design which contains a definition with the same name, then an incremented number is appended to the pasted report or trace name.

Related Topics 15-64 Post Processing and Generating Reports

HFSS Online Help

Copying to the Clipboard as Images Copy and Paste of Report and Trace Data

Copy and Paste of Report and Trace Data 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. To copy all data from a report: Right click on the report name in the project tree and select Copy Data, or use the menu bar Edit>Copy Data, or right click within a plot to display a shortcut menu with Copy Data. To paste copied report data: Right click on Results in the project tree of the target design and select Paste. To copy data from an individual trace(s) in a report: Right click on the trace or traces under a report name in the project tree and select Copy Data. To paste copied trace data: Right click on the report in the target design to which you would like to copy the trace data and select Paste. Note

If you copy and paste report or trace data which contains the same name definition as a report or trace in the target design then an incremented number will be appended to the pasted name

Related Topics Copying to the Clipboard as Images Copy and Paste of Report and Trace Definitions

Sweeping a Variable in a Report In HFSS, a swept variable is a variable that typically has more than one value. You can plot any calculated or derived quantity against one or more of the swept variable’s values. To specify the swept variable values to plot a selected quantity against: 1.

In the Report dialog, select the variable from the X (Primary Sweep) pulldown menu.

2.

To modify the values that will be plotted for a variable: a.

Click the ellipsis [...] button on the X (Primary Sweep) line of the Report dialog to displays a popup list of the possible values.

b.

Select All Values or click the Edited button to display a dialog that lets you specify the sweeps to use. All of the selected variable’s values will be plotted. Post Processing and Generating Reports 15-65

HFSS Online Help

Sweeping Values Across a Distance 1.

If you are plotting a field quantity along a line, define a polyline object in the problem region. If you are plotting a near-field quantity along a line, set up a near-field line.

2.

In the Report dialog box, click the line geometry of interest in the Geometry list.

3.

Specify the quantities you want to plot along the axes.

4.

For the X (Primary Sweep), select the Distance variable. The values at which the selected quantity or quantities will be plotted are listed to the right. By default, a post-processing polyline object is divided into 100 equally spaced points.

5.

For Near field, to plot the selected quantity or quantities at every point on the line, select All Values. For Near field, to plot the selected quantity or quantities at specific points on the line, clear the All Values option, and then select the point values on which you want to plot.

Note

All maximum near-field data calculated by HFSS is at their maximum over the selected line object; if you plot the parameter over a sweep of values, the parameter will have the same value at each point on the plot.

Related Topics Sweeping a Variable in a Report

Sweeping Values Across a Sphere 1.

Set up a near-field sphere or a far-field infinite sphere.

2.

In the Report dialog box, click the sphere geometry of interest in the Geometry list.

3.

For the Sweeps variable corresponding to phi, select the ellipsis [...] button. This displays a small dialog.

4.

Clear the Use all values checkbox to enable selection and editing of the sweep values. All of the possible values for the phi variable are listed in the dialog. The values are the result of the range of phi you specified during the infinite sphere’s setup. To modify the values of phi to be plotted across the sphere, do the following: a.

Click Edit Sweep.

b.

Specify the following information: Step or Count Whether to sweep by steps, or by linear count, decade count, octave count, or exponential count. Start Value

The point where the rotation of phi begins.

End Value

The point where the rotation of phi ends.

Step or Count The number of values between the start value and the end value.

15-66 Post Processing and Generating Reports

HFSS Online Help

c.

Click Update Values, and then click OK. The values listed are updated to reflect the new number of points.

5.

To plot the selected quantity or quantities at every value of phi, select All Values. To plot the selected quantity or quantities at specific values of phi, clear the All Values option, and then select the phi values at which you want to plot.

6.

For the Sweeps variable corresponding to theta, follow steps 4 and 5 for modifying the values of theta, if necessary, and specifying the theta values at which to plot the selected quantity or quantities.

Note

All antenna parameters and maximum far-field data calculated by HFSS is at their maximum over the selected object; if you plot the parameter over a sweep of values, the parameter will have the same value at each point on the plot.

Selecting a Function The value of a quantity being plotted depends upon its mathematical function, which you select from the Trace tab Function list in the Report dialog box. The available, valid functions depend on the type of quantity (real or complex) that is being plotted. The function is applied to the quantity which is implicitly defined by all the swept and current variables. For example, "S(11)" is the value of the S-parameter for every swept combination of variables (e.g., "height", "frequency" and so forth). These functions can also be applied to previously specified Quantities and Functions as Range Functions when using the Set Range Function dialog. Some of these functions can operate along an entire curve. These are: deriv, min, max, integ, avg, rms, pk2pk, cang_deg and cang_rad. These functions have syntax as follows:

• •

deriv(quantity) implicitly implies derivative over the primary sweep deriv(quantity, SweepVariable) explicitly means derivative over the sweep variable specified in the second argument (such as "Freq").

You can select from the following functions in the Trace tab Function list: abs

Absolute value

acos

Arc cosine

acosh

Hyperbolic arc cosine

ang_deg

Angle (phase) of a complex number, cut at +/-180

ang_rad

Angle in radians

asin

Arc sine

asinh

Hyperbolic arc sine

atan

Arc tangent

atanh

Hyperbolic arc tangent Post Processing and Generating Reports 15-67

HFSS Online Help

avg

Average of first parameter over the second parameter

avgabs

Absolute value of average.

cang_deg

Cumulative angle (phase) of the first parameter (a complex number) in degrees, along the second parameter (typically sweep variable). Returns a double precision value cut at +/-180.

cang_rad

Cumulative angle of the first parameter in radians along a second parameter (typically a sweep variable) Returns a double precision value.

conjg

Conjugate of the complex number.

cos

Cosine

cosh

Hyperbolic cosine

crestfactor

Peak/RMS (root mean square) for the selected simulation quantity

dB(x)

20*log10(|x|)

dBm(x)

10*log10(|x|) +30

dBW(x)

10*log10(|x|)

db10normalize

10*log [normalize(mag(x))]

db20normalize

20*log [normalize(mag(x))]

deriv

Derivative of first parameter over second parameter.

even

Returns 1 if integer part of the number is even; returns 0 otherwise

exp

Exponential function (the natural anti-logarithm)

formfactor

Returns root mean square RMS/Mean Absolute Value for the selected simulation quantity.

iae

Returns the integral of the absolute deviation of the selected quantity from a target value that is entered via the additional argument. To use this function, you need to open the Add Trace Characteristics dialog and select the Error category.

im

Imaginary part of the complex number

int

Truncated integer function

integ

Integral of the selected quantity. Uses trapezoidal area.

integabs

Absolute value of integral.

ise

Returns the integral of the 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.

15-68 Post Processing and Generating Reports

HFSS Online Help

itae

Returns the time-weighted absolute 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.

itse

Returns the time-weighted squared deviation of the selected qty 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.

j0

Bessel function of the first kind (0th order)

j1

Bessel function of the first kind (1st order)

ln

Natural logarithm

log10

Logarithm base 10

lsidelobex

The ‘x’ value for the left side lobe: the next highest value to the left of the max value. The ‘y’ value for the left side lobe: the next highest value to the left of the max value.

lsidelobey mag

Magnitude of the complex number

max

Maximum of magnitudes.

max_swp

Maximum value of a sweep.

min

Minimum magnitudes.

min_swp

Minimum value of a sweep.

nint

Nearest integer

normalize

Divides each value within a trace by the maximum value of the trace. ex. normalize(mag(x))

odd

Returns 1 if integer part of the number is odd; returns 0 otherwise

overshoot

Obtains the peak overshoot over a point (double argument)

per

Calculates period.

pk2pk

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.

pkavg

Returns the ratio of the peak to peak-to-average for the selected quantity.

pmax

Period max.

pmin

Period minimum

prms

Period Root Mean Square. Post Processing and Generating Reports 15-69

HFSS Online Help

pulsefall9010

Pulse fall time of the selected simulation quantity according to the 90%10% estimate.

pulsefront9010

Pulse front time of the selected simulation quantity according to the 10%90% estimate.

pulsefront3090

Pulse front time of the selected simulation quantity according to the 30%90% estimate.

pulsemax

Pulse maximum from the front and tail estimates for the selected simulation quantity.

pulsemaxtime

Time at which the maximum pulse value of the selected simulation quantity is reached.

pulsemin

Pulse minimum from the front and tail estimates for the selected simulation quantity.

pulsemintime

Time at which the minimum pulse value of the selected simulation quantity is reached.

pulsetail50

Pulse tail time of the selected simulation quantity from the virtual peak to 50%.

pulsewidth5050

Pulse width of the selected simulation quantity as measured from the 50% points on the pulse front and pulse tail.

PulseWidth Functions pw_plus

Pulse width of first positive pulse

pw_plus_max

Max. Pulse width of input stream

pw_plus_min

Min. Pulse width of input stream

pw_plus_avg

Average of the positive pulse width input stream

pw_plus_rms

RMS of the positive pulse width input stream

pw_minus_max

Max. Pulse width of input stream

pw_minus_min

Min. Pulse width of input stream

pw_minus_avg

Average of the negative pulse width input stream

pw_minus_rms

RMS of the negative pulse width input stream

polar

Converts the complex number in rectangular to polar

re

Real part of the complex number

rect

Converts the complex number in polar to rectangular

rem

Fractional part

ripple

Returns the ripple factor (AC RMS/Mean) for the selected quantity.

15-70 Post Processing and Generating Reports

HFSS Online Help

rms

Returns total root mean square of the selected quantity.

rmsAC

Returns the AC RMS for the selected quantity.

rsidelobex

The ‘x’ value for the right side lobe: the next highest value to the right of the max value.

rsidelobey

The ‘y’ value for the right side lobe: the next highest value to the right of the max value.

sgn

Sign extraction

sin

Sine

sinh

Hyperbolic sine

sqrt

Square root

tan

Tangent

tanh

Hyperbolic tangent

Undershoot

Obtains the peak undershoot over a point (double argument).

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

xdb10beamdwidt Width between left and right occurrences of values ‘x’ db10 from max. Takes 'x' as h argument (3.0 default). To use this function, you need to open the Add Trace Characteristics dialog and select the Radiation category. xdb20beamwidth Width between left and right occurrences of values ‘x’ db20 from max. Takes 'x' as argument (3.0 default) To use this function, you need to open the Add Trace Characteristics dialog and select the Radiation category. y0

Bessel function of the second kind (0th order)

y1

Bessel function of the second kind (1st order)

Related Topics Add Trace Characteristics Set Range Function

Selecting Solution Quantities to Plot When you create a report of Modal or Terminal solution data, each trace in the report includes a quantity that is plotted along an axis. The quantity being plotted can be a value that was calculated by HFSS such as S11, a value from a calculated expression, or an intrinsic (inherent) variable value such as frequency or theta. The valid categories available depend on the type of quantity (real or complex) that is being plotted, the setup, the solution type, and the plot domain.

Post Processing and Generating Reports 15-71

HFSS Online Help

To select an S-parameter quantity to plot: 1.

In the Report dialog box, Trace tab, select one of the following categories: Variables

Intrinsic variables, such as frequency or theta, or user-defined project variables, such as the length of a quarter-wave transformer.

Output Variables User defined expressions applied to derive quantities from the original field solution. S-parameter

S-parameters from the S-matrix.For designs which include a Frequency Selective Surface (FSS)-referenced radiation boundary, S11 and S21 represent the extracted reflection and transmission coefficients, respectively.

Y-parameter

Admittance matrix parameters computed from the S-parameters and port impedances.

Z-parameter

Impedance matrix parameters computed from the S-parameters and port impedances.

Power Gamma

Propagation constants for the S-parameters.

Port Zo

Characteristic port impedances.

Voltage transform TDR Impedance

TDR (Time-Domain Reflectometry) impedance for non-terminal problems.The idea behind TDR is to excite a structure with a step function, and inspect the reflections as a function of time. If you select the Time Domain for the plot, the Category list includes the TDR Impedance and the TDR options button is enabled. Selecting the TDR Impedance category displays the (TDRZ) of every terminal or mode in the ports. The list of available Functions includes those that can operate on the TDRZ values.

1 + S ij ------------------ . 1 – S ij

VSWR

Voltage standing wave ratio, calculated from the equation

Group Delay

Quantity calculated as rate of change of the total phase shift with respect d(φ) to angular frequency, -----------d(ω)

15-72 Post Processing and Generating Reports

HFSS Online Help

Active Sparameter

Assume ak is a complex number representing magnitude and phase for the kth source.

n

ActiveS pm =

∑ k=1

a km --------× S pk a pm

Where n is the total number of ports, p is the port of interest, m is the mode of interest, and k is the port numbering index. Active Yparameter

Active Zparameter

1 ActiveY pm = -------------------------ActiveZ pm 1 + ActiveSpm m ActiveZ pm = Z 0 × ----------------------------------1 – ActiveS pm

Active VSWR

1 + mag ( ActiveS 11 ) ActiveVSWR = -------------------------------------------------1 – mag ( ActiveS 11 ) 2.

Select a quantity to plot from the Quantity list. The available quantities will depend upon the selected category and the setup of the design.

Selecting a Field Quantity to Plot When plotting field quantities, the quantity can be a value that was calculated by HFSS such as the magnitude of S11, a value from a calculated expression, or an intrinsic (inherent) variable value such as frequency or phase. To select a field quantity to plot: 1.

When you create the report, specify the Report Type as "Fields."

2.

In the Report dialog, select Geometry for the Context, unless you are plotting scalar (for example, integration).

Post Processing and Generating Reports 15-73

HFSS Online Help

3.

In the Report dialog, select one of the following categories: Variables

Intrinsic variables, such as frequency or phase, or user-defined project variables, such as the length of a quarter-wave transformer.

Output Variables User defined expressions applied to derive quantities from the original field solution. Calculator Expressions 4.

Includes scalar and vector field quantities automatically calculated by HFSS, as well as derived field quantities that are defined by calculated expressions you set up in the Fields Calculator.

Select a quantity to plot from the Quantity list. The available quantities will depend upon the selected category and the setup of the design.

Selecting a Far-Field Quantity to Plot When plotting far-field quantities, the quantity can be a value that was calculated by HFSS such as antenna gain, a value from a calculated expression, or an intrinsic (inherent) variable value such as frequency or theta. To select a far-field quantity to plot: 1.

When you create the report, specify the Report Type as "Far Fields."

2.

In the Report dialog box, select one of the following Categories for the field setup: Variables

Intrinsic variables, such as frequency or theta, or user-defined project variables, such as the length of a quarter-wave transformer.

Output Variables User defined expressions applied to derive quantities from the original field solution. rE

The selected component of the radiated electric field, which is multiplied by the radial distance, r.

Gain

Gain is four pi times the ratio of an antenna’s radiation intensity in a given direction to the total power accepted by the antenna.

Directivity

Directivity of the antenna.

Realized Gain

Realized gain is four pi times the ratio of an antenna’s radiation intensity in a given direction to the total power incident upon the antenna port(s).

Axial Ratio

Axial ratio of the electric field.

Polarization Ratio Polarization ratio of the electric field. Antenna Params HFSS-calculated quantities that include peak directivity, radiated power, accepted power, radiation efficiency, max U, and array factors. For farfield setups, the decay factor for lossy materials is calculated as a constant for all far fields.

15-74 Post Processing and Generating Reports

HFSS Online Help

Radar CrossSection (Bistatic RCS)

For designs with Plane Incident Waves. (RCS is not supported for other types of incident waves). The radar cross-section (RCS) or echo area, σ, is measured in meters squared and represented for a bistatic arrangement (that is, when the transmitter and receiver are in different locations as shown in the linked figure). This is represented by 2

4πr 2 E scat σ = ----------------------------2 E inc where

• • Complex (Bistatic) RCS

Escat is the scattered E-field. Einc is the incident E-field.

For designs with Plane Incident Waves. (RCS is not supported for other types of incident waves) The equation for complex (bistatic) RCS is calculated as:

E scat σ = 2 πR ------------E inc where

• •

Escat is the scattered E-field. Einc is the incident E-field.

This form retains the phase information. Monostatic RCS

For designs with Plane Incident waves. (RCS is not supported for other types of incident waves) A proper incident angle sweep should exist at the incident wave source setup before HFSS can plot Monostatic RCS. The radar cross-section (RCS) or echo area when the transmitter and receiver are at the same location. For Monostatic RCS, you need not be concerned with the Theta and Phi values defined in the radiation sphere. Only the incident wave Theta and incident wave Phi mean anything to a Monostatic RCS plot.

Post Processing and Generating Reports 15-75

HFSS Online Help

The following diagram shows the bistatic RCS concept, with separate transmitting and receiving antennas. Incident Wave Target

R1 Transmitting antenna

R2

Scattered Wave

Bistatic RCS Receiving antenna Each Category item that you select causes the Quantity list to offer quantities appropriate to selected category. Category selection for a Variable of an Output Variable lists those available in each case. Selecting Antenna Parameters as Category causes the Quantity list to show Antenna parameters. 3.

Select the Quantity to apply to the selected Category. If the Category item you select is rE, Gain, Directivity, or Realized Gain, you will need to specify the polarization of the electric field by selecting from the Quantity list. This ability to plot the gain of certain vector components (polarizations) of the electric field allows you to evaluate how well your antenna radiates in desired polarizations compared to undesired polarizations. Total

The combined magnitude of the electric field components.

Phi

The phi component.

Theta

The theta component.

X

The x-component.

Y

The y-component.

Z

The z-component.

LHCP

The dominant component for a left-hand, circularly polarized field.

RHCP

The dominant component for a right-hand, circularly polarized field.

CircularLHCP

The polarization ratio for a predominantly left-hand, circularly polarized antenna.

CircularRHCP

The polarization ratio for a predominantly right-hand, circularly polarized antenna.

SphericalPhi

The polarization ratio for a predominantly φ-polarized antenna.

15-76 Post Processing and Generating Reports

HFSS Online Help

SphericalTheta

The polarization ratio for a predominantly θ-polarized antenna.

L3X

The dominant component for an x-polarized aperture using Ludwig’s third definition of cross polarization.

L3Y

The dominant component for a y-polarized aperture using Ludwig’s third definition of cross polarization.

The plot’s Y axis field shows the combined selections. For example, if you select Gain as the Category, and RHCP as the Quantity, HFSS evaluates the equation as follows:

GainRHCP =

θˆ – jφˆ ⎞ 2 ⎛ 4π rE ( θ ,ϕ ) -------------⎝ 2 ⎠ 4π rE RHCP ( θ ,ϕ ) 2 4πU RHCP ( θ ,φ ) --------------------------------------- = -------------------------------------------------- = ------------------------------------------------------2ηP acc P acc 2ηP acc

4.

You can also select a function to apply to the your selections for the Category and Quantity. As you make selections in the Report dialogue for Category, Quantity, and Function, the Y field shows the combined calculation they describe.

5.

Click New Report to create the Report. The new report based on your selections is displayed.

Related Topics Selecting a Function Setting a Range Function Working with Traces Creating Reports Modifying Reports Technical Notes: Antenna Parameters Technical Notes: Polarization of the Electric Field Technical Notes: Spherical Cross-Sections

Post Processing and Generating Reports 15-77

HFSS Online Help

Plotting Vertical Cross-Sections of Far Fields When plotting far fields, a vertical cross-section plot results from holding phi fixed and sweeping theta through a range of values. 1. 2.

Open the Report dialog box. Click the ellipsis [...] button for the sweep variable corresponding to phi. This displays a dialog listing all values for the phi variable. The values are the result of the range of phi you specified during the infinite sphere’s setup.

3.

Select the fixed value that phi should take in the plot. HFSS will display values for the vertical cross-section at selected phi cuts of the problem region at a set of theta rotations.

The figure shown below demonstrates the orientation of the vertical cross-section when φ is the fixed variable:

z θ θ values are an infinite radial distance away from the origin for far-field plots.

φ x

y

Plotting Horizontal Cross-Sections of Far Fields When plotting far fields, a horizontal cross-section results from holding theta fixed and sweeping phi through a range of values. 1.

Click the ellipsis [...] button for the sweep variable corresponding to theta. To the right, all of the possible values for the theta variable are listed. The values are the result of the range of theta you specified during the infinite sphere’s setup.

2.

Select the fixed value that theta should take in the plot. HFSS will display values for the horizontal cross-section at selected theta cuts of the problem region at a set of phi rotations.

15-78 Post Processing and Generating Reports

HFSS Online Help

The figure shown below demonstrates the orientation of the sphere on which the field is computed when θ is the fixed variable: φ values are an infinite radial distance away from the origin for far-field plots.

φ

z

θ

x

y

Selecting a Near-Field Quantity to Plot When plotting near-field quantities, the quantity can be a value that was calculated by HFSS, a value from a calculated expression, or an intrinsic (inherent) variable value such as frequency or theta. To select a near-field quantity to plot: 1.

When you create the report, specify the Report Type as "Near Fields."

2.

In the Report dialog box, select one of the following categories: Variables

Intrinsic variables, such as frequency or theta, or user-defined project variables, such as the length of a quarter-wave transformer.

Output Variables User defined expressions applied to derive quantities from the original field solution. Near E

The radiated electric field in the near region.

Max Near Field Params

The maximum radiated electric field in the near region.

Near Normalized The resultant plot is: field quantity / (maximum field quantity value over Antenna the entire infinite sphere). 3.

If you selected the Near E category, specify the polarization of the electric field by selecting one of the following types of quantities from the Quantity list: NearETotal

The combined magnitude of the electric field components.

NearEPhi

The phi component of the electric field.

NearETheta

The theta component of the electric field.

NearEX

The x-component of the electric field. Post Processing and Generating Reports 15-79

HFSS Online Help

NearEY

The y-component of the electric field.

NearEZ

The z-component of the electric field.

NearELHCP

The dominant component for a left-hand, circularly polarized electric field.

NearERHCP

The dominant component for a right-hand, circularly polarized electric field.

NearECircularLHCP The polarization ratio for a predominantly left-hand, circularly polarized antenna. NearECircularRHCP The polarization ratio for a predominantly right-hand, circularly polarized antenna. NearEL3X

The dominant component for an x-polarized aperture using Ludwig’s third definition of cross polarization.

NearEL3Y

The dominant component for a y-polarized aperture using Ludwig’s third definition of cross polarization.

If a Near-field plot takes a long time to plot, be sure to perform File>Save when the plot is displayed. This saves the calculated data and permits fast display on subsequent viewings of the plot. Related Topics Technical Notes: Polarization of the Electric Field

Selecting an Emission Test Quantity to Plot It is standard practice to use units of [dBuV/m] for emissions testing. To obtain such a plot, you need to know:



That the ‘dB’ function is the voltage definition = 20*log10(V2/V1) rather than the power definition = 10*log10(P2/P1)



That the reference quantity by default (V1 in the equation), is 1V.

For example, to generate an emissions plot in dBuV/m at some sphere distance, you first select Results > Create Emission Test Report to open the Report dialog. Then in the Report dialog, specify the Y-axis field as dB(Sphere3meters/1e-6). When the report has been generated, you can edit the Y axis label to show “dBuV/m @ 3 meters.” Alternatively, if you have inserted an near field sphere into your project, you could also use Results>Create Near Fields Report to open the Report dialog. Then in the Report dialog specify the Y- axis field as “dB(MaxNearETotal/1e-6)”. (If you use this second method, you should specify both theta and phi at a single angle to avoid redundant overlapping traces.) When the report has been generated, you can then label the y-axis “dBuV/m @ Near-field Sphere Distance.” Here is the unit justification: 20*log10(V/m / 1uV) = 20*log10(V/m / 1e-6) => dBuV/m [V/m] * [1e6uV/V] = [uV/m] Multiplying by 1e6 is the same thing as dividing by 1e-6. 15-80 Post Processing and Generating Reports

HFSS Online Help

To create an Emission Test Plot: 1.

When you create the report, select Emission Test.

2.

In the Report dialog box, select one of the following categories and apply an appropriate Quantity. Variables

Intrinsic variables, such as frequency or theta, or user-defined project variables, such as the length of a quarter-wave transformer.

Output Variables User defined expressions applied to derive quantities from the original field solution. Sphere

A sphere of 1, 3, 10, or 30 meters, or of the same dimensions and PRBS Simple or PRBS exact (where PRBS is pseudorandom binary [bit] sequence).

Cylinder

A cylinder of 3 or 10 meters, or of the same dimensions and PRBS Simple or PRBS exact.

3.

Select a Function for the quantity from the function list.

4.

For Emission Test, the Report dialog also contains a button for specifying the digital signal options. The default values are a rise time of 0 seconds, and a hold time of 1 second. To specify other values, click Digital Signal .... This displays the Digital Signal Options dialog. It contains fields for the rise time and hold time.

5.

OK the specified values or Cancel, Use Defaults, or Save As Default as appropriate.

Related Topics Creating Reports Modifying Reports Creating Custom Report Templates

Plotting Imported Solution Data 1.

In the Solution pull-down list in the Report dialog box, click the imported data you want to plot.

2.

Follow the procedure for creating a report.

Related Topics Creating Reports Modifying Reports Creating Custom Report Templates

Post Processing and Generating Reports 15-81

HFSS Online Help

Setting a Range Function To apply a range function to the Y, Z, or Mag component of a trace: 1.

Click the Range Function button in the Reports dialog. This opens the Set Range Function dialog. The functions available are the same as described in the Selecting a Function section.

2.

Click the Specified radio button on the Range function line. This enables 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. Category

Functions for the Category

Math

max, min, pk2pk, rms, avg, integ, integabs, avgabs, rmsAC, ripple, pkavg, XatYMin, XatYMax, XatYVal

PulseWidth

pulsefall9010, pulsefront9010, pulsefront3090, pulsemax, pulsemaxtime, pulsemin, pulsemintime, pulsetail50, pulsewidth5050, pw_plus, pw_plus_max, pw_plus_min, pw_plus_avg, pw_plus_rms, pw_minus_max, pw_minus_min, pw_minus_avg, pw_minus_rms

Overshoot, Undershoot

overshoot, undershoot.

TR & DC

crestfactor, formfactor, distortion, fundamentalmag, delaytime, risetime, deadtime, settlingtime,

Error

iae, ise, itae, itse

Period

per, pmax, pmin, prms

Radiation

xdb10bandwidth, xdb20bandwidth, lSidelobeX, lSidelobeY, rSidelobeX, rSidelobeY

Given a selected Function, and Category, the Set Range Function dialog displays a text field that explains the Purpose of the function. For a list of functions and their definitions, see Selecting a Function. Selecting a function causes the display of a description in the Purpose field. If the function requires a value (such as the XatYVal Math function or the pw_minus_max Pulse Width function), the table below the function field displays the name, editable value field, unit, and description. 4.

Use the Over Sweep drop down menu to select from available sweeps.

5.

To select from available Sweeps, or to edit them, use the ellipsis [...] button and uncheck Use All Sweeps. This enables a list of the sweeps. The sweep(s) you select is displayed on the Over Sweep line. You can use the buttons to Clear All Selections or Select All sweeps.

6.

Select the Sweeps Default or Edited radio buttons to specify whether to accept the default or

15-82 Post Processing and Generating Reports

HFSS Online Help

edited sweeps. 7.

To edit the sweeps further, select the ellipsis button to display an Edit Sweep dialog. For frequency variables, this lets you specify a single value, linear step, linear count, decade count, octave count, or exponential count. You can Add legal values to the list of sweep values, Update the list for changes, or Delete selected entries.

8.

Click OK to apply the range function.

Related Topics Selecting a Function

Post Processing and Generating Reports 15-83

HFSS Online Help

Specifying Output Variables The Output Variables window contains four sections:



Context section, where you specify the Report type, the Solution, and for appropriate report types, the Domain. Changing the Report type affects whether the Domain menu appears, and may affect the functions listed in the Calculation section.



Output Variables section, where you can specify the name and expression for a new output variable.



Calculation section, where you can insert quantities into the Expression area of the Output Variables section.



Function section, where you can insert completed expressions into the Expression area of the Output Variables section.

Adding a New Output Variable To add an output variable: 1.

Click HFSS>Results>Output Variables or, in the Project tree, right-click on Results and select Output Variables from the short-cut menu. The Output Variables window appears. Variables defined using the HFSS>Results>Output Variables command appear in the list at the top of the window.

2.

In the Output Variables section, enter a name for the new variable in the Name box.

3.

To enter an expression, do one or both of the following: a.

Type part or all of the expression directly in the Expression area. Valid functions appear in blue. Invalid functions appear in red.

b.

Insert part or all of the expression using the options in the Calculation and Function sections.

4.

Click Add to add the new variable to the list.

5.

Repeat steps 2 through 5 to add additional variables.

6.

When you are finished adding output variables, click Done to close the Output Variables window.

Related Topics Deleting Output Variables Building an Expression Using Existing Quantities

Building an Expression Using Existing Quantities When you are entering an expression for a new output variable, you can insert part or all of the expression using the options in the Calculation and Function sections of the Output Variables window.

15-84 Post Processing and Generating Reports

HFSS Online Help

To add an input variable by inserting part or all of the expression: 1.

Click HFSS>Results>Output Variables or, in the Project Tree, right-click on Results and select Output Variables from the short-cut menu. The Output Variables window appears.

2.

In the Output Variables section, enter a name for the new variable in the Name box.

3.

To insert a quantity: a.

From the Report Type pull-down list, select the type of report from which you want to select the quantity.

b.

From the Solution pull-down list, select the solution from which you want to select the quantity.

c.

From the Category list, select the type of quantity you want to enter.

d.

From the Quantity list, select the quantity or the geometry.

e.

From the Function list, select a ready-made function (this option is the same as inserting the function from the Function section).

f.

If applicable, from the Domain list, select the solution domain.

g.

Click Insert Into Expression. The selected quantity is entered into the Expression area of the Output Variables section.

4.

To insert a function: a.

In the Function section, select a ready-made function from the pull-down list.

b.

Click Insert Function into Expression. The function appears in the Expression area of the Output Variables section.

5.

When you are finished defining the variable in the Expression area, click Add to add the new variable to the list.

6.

Repeat steps 2 through 6 to add additional variables.

7.

When you are finished adding output variables, click Done to close the Output Variables window.

Note

Remember the evaluated value of an expression is always interpreted as in SI units. However, when a quantity is plotted in a report, you have the option to plot values in units other than SI. For example, the expression "1+ang_deg(S11)" represents an "angle" quantity evaluated in radians though plotted in degrees units. To represent an angle quantity in degrees, you would specify units as "1 deg + ang_deg(S11)".

Related Topics Adding a New Output Variable

Post Processing and Generating Reports 15-85

HFSS Online Help

Deleting Output Variables To delete output variables: 1.

Remove all references to the output variable in the project.

2.

Save the project to erase the command history.

3.

Click HFSS>Results>Output Variables or, in the Project Tree, right-click on Results and select Output Variables from the short-cut menu. This opens the Output Variables dialog.

4.

Select the variable and click the Delete button.

5.

Click OK to close the dialog.

Related Topics Adding a New Output Variable

15-86 Post Processing and Generating Reports

HFSS Online Help

Plotting Field Overlays Field overlays are representations of basic or derived field quantities on surfaces or objects for the current design variation. You can set the design variation via the Set Design Variation dialog. This dialog box is accessible from the Solution Data window via by clicking the ellipsis button on the right of the Design Variation field, and via the HFSS>Results>Apply Solved Variation command. To plot a basic field quantity: 1.

Select a point, line, surface, or object to create the plot on or within.

2.

On the HFSS menu, point to Fields, and then point to Plot Fields.

3.

On the Plot Fields menu, click the field quantity you want to plot. If you select a scalar field quantity, a scalar surface or volume plot will be created. If you select a vector field quantity, a vector surface or volume plot will be created. If the quantity you want to plot is not listed, see Named Expression Library. The Create Field Plot dialog box appears.

4.

To specify a name for the plot other than the default, select Specify Name, and then type a new name in the Name text box.

5.

Select the solution to plot from the Solution pull-down list.

6.

To specify a folder other than the default in which to store the plot, select Specify Folder, and then click a folder in the Plot Folder pull-down list, or type the name you wish to use. Plot folders are listed under Field Overlays in the project tree.

7.

Under Intrinsic Variables, select the frequency and phase angle at which the field quantity is evaluated.

8.

Select the field quantity to plot from the Quantity list.

9.

Select the volume (region) in which the field will be plotted from the In Volume list. This selection enables you to limit plots to the intersection of a volume with the selected object or objects. You can select and deselect any items in the In Volume list. You can mix model objects with non-model boxes. For example you might want to see a plot from part of two model objects by restricting the region to a non-model box overlapping those parts.

Note

Multiple selection should be used when there is a discontinuous field on a surface. If not, the field on both sides of the surface is plotted and each interferes with the other.

10. Click Done. The field quantity is plotted on the surfaces or within the objects you selected. The plot uses the attributes specified in the Plot Attributes dialog box. The new plot appears in the view window. It is listed in the specified plot folder in the project tree. If you have created a field plot on a simulation in progress, the field plot is updated after the last adaptive solution. If you want to update the field overlay before then, to view progress in the solution, select the Post Processing and Generating Reports 15-87

HFSS Online Help

Field icon in the Project tree that contains the field plot of interest, right-click to display the short cut menu, and select Update Plots. Related Topics Plotting Derived Field Quantities Select Objects. Select Faces. Creating an Object List Selecting the Face or Object Behind Using the Fields Calculator Technical Notes: Field Overlays Technical Notes: Field Quantities Technical Notes: Specifying the Phase Angle

Plotting Derived Field Quantities Derived field quantities are field quantity representations that have been deduced from the original field solution using the Fields Calculator. 1.

Select a point, line, surface, or object to create the plot on or within.

2.

On the HFSS menu, or right-click on the Field Overlays icon in the Project tree, and point to Fields>Named Expression.

3.

Select the derived quantity you want to plot, and then click OK. The Create Field Plot dialog box appears.

4.

To specify a name for the plot other than the default, select Specify Name, and then type a new name in the Name text box.

5.

Select the solution to plot from the Solution pull-down list.

6.

To specify a folder other than the default in which to store the plot, select Specify Folder, and then click a folder in the Plot Folder pull-down list, or type the name you wish to use. Plot folders are listed under Field Overlays in the project tree.

7.

Under Intrinsic Variables, select the frequency and phase angle at which the field quantity is evaluated.

8.

Select the derived field quantity to plot from the Quantity list.

9.

Select the volume, or region, in which the field will be plotted from the In Volume list. This selection enables you to limit plots to the intersection of a volume and the selected object.

10. Click Done. The derived field quantity you created in the Fields Calculator is plotted on the surfaces or objects you selected. The new plot is listed in the project tree under Field Overlays. Related Topics Using the Fields Calculator 15-88 Post Processing and Generating Reports

HFSS Online Help

Technical Notes: Field Quantities Technical Notes: Specifying the Phase Angle Add Trace Characteristics

Creating Scalar Field Plots A scalar plot uses shaded colors or contoured lines to illustrate the magnitude of field quantities on surfaces or volumes. 1.

2. 3.

Do one of the following: a.

To create a scalar surface plot, select the faces on which you want to plot the fields.

b.

To create a scalar volume plot, select the objects within which you want to plot the fields.

On the HFSS menu, point to Fields, and then point to Plot Fields. On the Plot Fields menu, click the scalar field quantity you want to plot. The Create Field Plot dialog box appears.

4.

Follow the procedure for plotting field overlays.

The plot uses the attributes specified in the Plot Attributes dialog box. The new plot will be listed in the specified plot folder in the project tree. Related Topics Modifying Field Plot Attributes

Modifying SAR Settings HFSS uses default specific absorption rate (SAR) settings when creating a local SAR or average SAR field overlay plot. To change the default settings: 1.

On the HFSS menu, point to Fields, and then click SAR Setting.

2.

In the Material Density text box, enter the mass density of the dielectric material in g/cm3.

3.

In the Mass of Tissue text box, enter the mass of the material that surrounds each mesh point. This can be a value between 1 and 10.

4.

Click OK.

The Specific Absorption Rate Setting dialog box appears.

Hint

The SAR settings will apply to the entire model. To plot the SAR inside a volume with multiple dielectric objects, each with their own mass density, set the mass density, and then plot the SAR only in the object of interest.

Related Topics Technical Notes: Calculating the SAR

Post Processing and Generating Reports 15-89

HFSS Online Help

Creating Vector Field Plots A vector plot uses arrows to illustrate the magnitudes of the x-, y-, and z-components of field quantities. Vector plots can be created on surfaces or volumes. 1.

Do one of the following: a.

To create a vector surface plot, select the faces on which you want to plot the fields.

b.

To create a vector volume plot, select the objects within which you want to plot the fields.

2.

On the HFSS menu, point to Fields, and then point to Plot Fields.

3.

On the Plot Fields menu, click the vector field quantity you want to plot.

4.

Follow the procedure for plotting field overlays.

Modifying Field Plots 1.

On the HFSS menu, point to Fields, and then click Modify Plot select the Field Overlays icon, right-click, and select Modify Plot

, or in the Project tree,

The Select Field Plot(s) dialog box appears. 2.

Select the plot you want to modify in the Select column, and then click OK.

3.

Optionally, click a different solution to plot in the Solution pull-down list.

4.

Optionally, specify a different Plot Folder in which to store the plot.

5.

Under Intrinsic Variables, specify the frequency and phase angle at which the field quantity will be evaluated.

6.

Optionally, select a different field quantity to plot from the Quantity list.

• • 7.

To choose a calculated expression, select Calculator from the Category pull-down list. To choose a default field quantity, select Standard from the Category pull-down list.

Select the volume, or region, in which the field will be plotted from the In Volume list. This selection enables you to limit plots to the intersection of a volume and the selected object.

8.

Click Done. The field quantity is plotted on the surfaces or within the objects you selected. The modified plot is listed in the specified plot folder in the project tree. The plot uses the attributes specified in the Plot Attributes dialog box.

Related Topics Technical Notes: Specifying the Phase Angle Add Trace Characteristics

Setting Field Plot Attributes After creating a mesh or field overlay on a surface or volume, you can modify its appearance by changing the settings in the Plot Attributes dialog box. You will modify the settings for a plot folder and all plots in that folder will use the same attributes. 1.

On the HFSS menu, point to Fields, and then click Modify Plot Attributes

15-90 Post Processing and Generating Reports

, or in the

HFSS Online Help

Project Manager window, select the Field Overlays icon, and select Modify Attributes. The Select Plot Folder window appears. 2.

In the Select Plot Folder window, select the plot you want to modify, and then click OK. (You can also select the specific plot in in the Project tree, and select Modify Attributes from the right click menu. A dialog box with attribute settings for the selected plot (whether for an E Field plot or a Mesh Overlay plot) appears.

3.

For an E Field Plot, under the following tabs in the dialog box, you can control the following plot attributes: For Mesh plot attributes, see below. Color map

The number of colors used and how they are displayed.

Scale

The scale of field quantities.

Marker/Arrow

• • • • • • •

The appearance of points (for scalar point plots).



Specify the plot resolution as Coarse, Normal, Fine, or Very Fine.

Plots

The appearance of arrows (for vector plots). The plot selected. To display or hide the mesh on the plot’s surface or volume. The type of isovalue display (for scalar plots.) The transparency based on solution value. Whether to add a grid (that is, a mesh overlay), and to set the grid color. 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.



The spacing of arrows (for vector plots).

a.

Under each tab, click Save as default if you want the tab’s settings to apply to field overlay plots created after this point.

b.

Select Real time mode if you want the changes to take effect immediately in the view window.

c.

If this option is cleared, click Apply when you want to see the changes.

For Mesh plots, the following attributes can be modified: You can use the Save As Default button to apply these settings to all meshes in the folder. Plot

A drop down list of available plots.

Scale Factor

The size at which the tets are displayed. Scaling may let you analyze particular situations better.

Transparency

The degree of transparency for the tets. Post Processing and Generating Reports 15-91

HFSS Online Help

4.

Wire Frame or Shaded

Whether to display the tets as wire frame or shaded.

Mesh Color for Line and Fill

The color for the tet edge lines and fill. Clicking the button for each displays a color selection dialog.

Surface Only

Whether to plot the surface only, or the 3D structure.

Real Time

Whether to show changes to a mesh in real time.

Click Close to dismiss the dialog box.

Related Topics Plotting the Mesh Plotting Field Overlays

Modifying Field Plot Colors 1.

On the HFSS menu, point to Fields, and then click Modify Plot Attributes

.

The Select Plot Folder window appears. 2.

Select the plot folder you want to modify, and then click OK. All plots in the selected folder will be modified. A dialog box with attribute settings for the selected folder appears.

3.

Click the Color map tab.

4.

Select one of the following color types: Uniform

Field quantities are plotted in a single color. Choose the plot color from the Color palette.

Ramp

Field quantities are plotted in shades of a single color. Choose the plot color from the Color palette. The shade of the color corresponds to its field value.

Spectrum

Field quantities are plotted in multiple colors. Choose a color spectrum from the pull-down list. Each field value is assigned a color from the selected spectrum.

5.

Enter the Number of colors to use in the plot.

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.

7.

Click Close to dismiss the dialog box.

Related Topics Setting the Color Key Visibility 15-92 Post Processing and Generating Reports

HFSS Online Help

Moving the Color Key

Setting the Color Key Visibility The color key (shown below) displays the range of plotted field values for a field overlay plot. It displays the colors that correspond to the range of field values on the plot. 1.

On the View menu, click Active View Visibility

.

The Active View Visibility dialog box appears. 2.

Click the Color Keys tab.

3.

In the Visibility column, select the field overlay or mesh plots in which you want to display the color key. Clear the plots in which you want to hide the color key from view.

4.

Click Done to dismiss the dialog box.

Alternatively, to hide the color key, right-click on the color key in the view window, and then click Hide from the shortcut menu. Only the color keys in the selected plots will be visible. Plot Title

Color Map Range of Plotted Field Values

Related Topics Modifying Field Plot Colors Moving the Color Key

Moving the Color Key Click on the active field overlay plot’s color key and drag it to a new location. Post Processing and Generating Reports 15-93

HFSS Online Help

Related Topics Setting the Color Key Visibility

Modifying the Field Plot Scale To change how field quantities are scaled on the field overlay plot: 1.

On the HFSS menu, point to Fields, and then click Modify Plot Attributes

.

The Select Plot Folder window appears. 2.

Select the plot folder you want to modify, and then click OK. All plots in the selected folder will be modified. A dialog box with attribute settings for the selected folder appears.

3.

Click the Scale tab.

4.

Select one of the following scale options: Auto

The full range of field values will be plotted on the selected surface or volume. Selecting Auto enables the Auto Scale Options and disables the Min and Max fields. By default, precision is not limited and auto-min is the actual computed min on the plotted geometry.

Use Limits

Only the field values between the minimum and maximum values will be plotted. Field values below or above these values will be plotted in the colors assigned to the minimum or maximum limits, respectively. Selecting Use Limits enables the Min and Max fields and disables the Auto Scale Options. 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.

5.

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, 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' checkbox to enable setting the drop down menu for the precision limit. The auto-min is the greater of the following:

• • 6.

Actual computed Min Max/pow(10, num digits of field precision)

Select one of the following options: Linear

Field values are plotted on a linear scale.

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.)

15-94 Post Processing and Generating Reports

HFSS Online Help

7.

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.

8.

Optionally, you can use the Save As Default button to save the following to registry:

• • •

Whether to limit field precision, The number of digits of field precision, Whether to use log/linear scale.

Auto scale is always be default for new plots. For scalar-in-volume plots, iso-surface (rather than cloud) is the default display 9.

Click Close to dismiss the window.

Modifying Vector Field Plot Arrows To change the appearance of a vector field plot’s arrows: 1.

On the HFSS menu, point to Fields, and then click Modify Plot Attributes

.

The Select Plot Folder window appears. 2.

Select the plot folder you want to modify, and then click OK. All plots in the selected folder will be modified. A dialog box with attribute settings for the selected folder appears.

3.

Click the Marker/Arrow tab.

4.

Under Arrow Options, select one of the following arrow types: Line

The arrows are displayed as 2D/flat.

Cylinder

The arrow tails are displayed as cylinders. The arrowheads are displayed as 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 Map Size to scale the size of the arrows to the magnitude of the field quantity being plotted.

7.

Select Arrow tail to include tails on all arrows.

8.

Click the Plots tab.

9.

HFSS plots arrows on a grid that is superimposed on the surface or object you selected for the plot. Under Vector plot, use the Spacing slider to increase (move to the right) or decrease (move to the left) the distance between arrows (grid points.)



Select Uniform if you want the arrows to be spaced equally.

10. Select Real time mode if you want the changes to take effect immediately in the view window. Post Processing and Generating Reports 15-95

HFSS Online Help

If this option is cleared, click Apply when you want to see the changes. 11. Click Close to dismiss the window.

Setting the Mesh Visibility on Field Plots To display or hide the mesh on field plots, or change the mesh’s color: 1.

On the HFSS menu, point to Fields, and then click Modify Plot Attributes

.

The Select Plot Folder window appears. 2.

Select the plot folder you want to modify, and then click OK. All plots in the selected folder will be modified. A dialog box with attribute settings for the selected folder appears.

3.

Click the Plots tab.

4.

Select Add Grid to display the mesh.

5.

Optionally, select a color for the mesh from the Color palette.

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.

7.

Click Close to dismiss the window.

Related Topics Plotting the Mesh

Modifying Scalar Field Plot Isovalues 1.

On the HFSS menu, point to Fields, and then click Modify Plot Attributes

.

The Select Plot Folder window appears. 2.

Select the plot folder you want to modify, and then click OK. All plots in the selected folder will be modified. A dialog box with attribute settings for the selected folder appears.

3.

Click the Plots tab.

4.

If the plot is a scalar surface plot, do the following: a.

b.

Select one of the following isosurface display types in the IsoValType pull-down list: Line

Lines are drawn along the isovalues.

Fringe

Color is constant between isovalues.

Tone

Color varies continuously between isovalues.

Gourard

Color varies continuously across the plot.

Optionally, if you selected Fringe or Tone, select Outline to add a border line between

15-96 Post Processing and Generating Reports

HFSS Online Help

isovalues. 5.

If the plot is a scalar volume plot, do the following: a.

6.

Select one of the following display types: IsoValSurface

Color is drawn on the isovalues.

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.

b.

Optionally, if you select Cloud, use the Cloud density slider to increase or decrease the number of points that represent the density on the volume.

c.

Optionally, if you select Cloud, enter a point size for the clouds in the Point size text box.

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.

7.

Click Close to dismiss the window.

Mapping Scalar Field Plot Transparency to Field Values 1.

On the HFSS menu, point to Fields, and then click Modify Plot Attributes

.

The Select Plot Folder window appears. 2.

Select the plot folder you want to modify, and then click OK. All plots in the selected folder will be modified. A dialog box with attribute settings for the selected folder appears.

3.

Click the Plots tab.

4.

Use the Map transp. slider to increase (move to the right) or decrease (move to the left) the transparency of the plot.

• 5.

If you select Map transp., the transparency of field values increases as the solution values decrease.

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.

6.

Click Close to dismiss the window.

Modifying Markers on Point Plots For scalar point plots, a marker is used to represent a field quantity at a selected point. (For vector point plots, arrows are used.) Modify the shape and size of markers in the plot attributes window. 1.

On the HFSS menu, point to Fields, and then click Modify Plot Attributes

.

The Select Plot Folder window appears. 2.

Select the plot folder you want to modify, and then click OK. All plots in the selected folder will be modified. Post Processing and Generating Reports 15-97

HFSS Online Help

A dialog box with attribute settings for the selected folder appears. 3.

Click the Marker/Arrow tab in the plot attributes window.

4.

Under Marker options, select one of the marker types to represent the field quantity at the point:

• • • •

Sphere Box Tetrahedron Octahedron

5.

Use the Size slider to increase (move to the right) or decrease (move to the left) the size of the marker.

6.

Select Map size to scale the size of the marker to the magnitude of the quantity being plotted.

7.

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.

8.

Click Close to dismiss the window.

Related Topics Drawing a Point

Modifying Line Plots Field quantities can be plotted directly on a line object. Scalar quantities are plotted as 3D colorshaded lines. Vector quantities are plotted as arrows that are based on the line. To modify the appearance of line plots: 1.

On the HFSS menu, point to Fields, and then click Modify Plot Attributes

.

The Select Plot Folder window appears. 2.

Select the plot folder you want to modify, and then click OK. All plots in the selected folder will be modified. A dialog box with attribute settings for the selected folder appears.

3.

Click the Plots tab.

4.

Select one of the following isosurface display types in the IsoValType pull-down list: Fringe

Color is constant between isovalues.

Tone

Color varies continuously between isovalues.

Gourard

Color varies continuously across the plot.

15-98 Post Processing and Generating Reports

HFSS Online Help

5.

Select one of the following styles for the line object in the Line style pull-down list: Cylinder

The line object is shaped like a cylinder.

Solid

The line object is a 3D solid.

Dash-Dash

The line object is represented by dashed black line segments.

Dot-Dot

The line object is represented by a series of dots.

Dash-Dot

The line object is represented by a a series of alternating dashed black line segments and dots.

6.

Use the Line width slider to increase (move to the right) or decrease (move to the left) the thickness of the line.

7.

By default, a polyline object is divided into 100 equally spaced points for post processing. To modify the number of points on the line, type a new value in the Number of points text box.

8.

Select Real time mode if you want the changes to take effect immediately in the view window. If this option is cleared, click Apply when you want to see the changes.

9.

Click Close to dismiss the window.

Related Topics Drawing a Polyline

Setting a Plot’s Visibility To display or hide a field overlay or mesh plot from view in the 3D Modeler window: 1.

On the View menu, click Active View Visibility Active View Visibility icon from the toolbar.

. Alternatively, you can select the

The Active View Visibility dialog box appears. 2.

Click the FieldsReporter tab.

3.

In the Visibility column, select the field overlay or mesh plots you want to display. Clear the plots you want to hide from view. Only the selected plots will be visible.

Related Topics Plotting the Mesh

Saving a Field Overlay Plot Field overlay and mesh plots are saved in the project file; however, you can save a plot to HFSS Field Plot File format (.dsp) and then open it in HFSS.

Post Processing and Generating Reports 15-99

HFSS Online Help

To save field overlay or mesh plot data to a .dsp file: 1.

In the project tree, click the plot you want to export.

2.

On the HFSS menu, point to Fields, and then click Save as

.

The Select Field Plot(s) dialog box appears. 3.

Select the plots you want to export by checking the Select box, and then click OK. The file browser appears. Field Plot Files (.dsp) is the selected file type.

4.

Specify the name of the .dsp file and the location in which to save it.

5.

Click Save. The plot is exported to the specified .dsp file.

The file you created can be opened in HFSS version 9 and later. Simply click HFSS>Fields>Open. Related Topics Exporting Animations

Opening a Field Overlay Plot To open a field overlay or mesh plot that you have saved to HFSS Field Plot File format (.dsp) in HFSS version 9 and later: 1.

On the HFSS menu, point to Fields, and then click Open

2.

The file browser appears. Field Plot Files (.dsp) is the selected file type.

3.

Browse to the location of the .dsp file you want to open, and then click the file name.

4.

.

Click Open. The plot appears in the view window. It is listed under Field Overlays in the project tree.

Deleting a Field Overlay Plot 1.

On the HFSS menu, point to Fields, and then click Delete Plot

.

The Delete Plots dialog box appears. 2.

Select the plots you want to delete by checking the Delete check box.

3.

Click OK. The selected plots are deleted.

Alternatively, click the plot in the project tree that you want to delete, and then press Delete

Setting Field Plot Defaults Each new field plot uses the default plot settings specified in the Set Plot Defaults dialog box. To modify the default plot settings: 1.

If a plot folder has not been created, click Field Overlays in the project tree.

2.

On the HFSS menu, point to Fields, and then click Set Plot Defaults

15-100 Post Processing and Generating Reports

.

.

HFSS Online Help

The Set Plot Defaults dialog box appears. 3.

Select the solution to plot from the Solution pull-down list.

4.

Select the plot folder in which new plots will be stored from the Quantity type pull-down list. Choose one of the following options: New Folder

Each new plot will be stored in a separate folder in the project tree.

Automatic

Each new plot will be stored in a folder determined by HFSS as the most appropriate based on the plotted field quantity. For example, all surface magnitude E plots will be stored in the same folder.

An existing folder Select the existing folder in which you want to store new plots. Note

Plots stored in the same folder will use the same color key. The Auto scale setting will be based on the maximum field solution value present in a plot.

5.

Under Intrinsic Variables, specify the frequency and phase angle at which the field quantity is evaluated.

6.

Click OK.

Related Topics Technical Notes: Specifying the Phase Angle

Post Processing and Generating Reports 15-101

HFSS Online Help

Using the Fields Calculator The Fields calculator enables you to perform computations using basic field quantities. The calculator will compute derived quantities from the general electric field solution; write field quantities to files, locate maximum and minimum field values, and perform other operations on the field solution. The calculator does not actually 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. Related Topics Opening the Fields Calculator Context Area Calculator Stack Registers The Stack Commands Input Commands General Commands Scalar Commands Vector Commands Output Commands Calculating Derived Output Quantities Named Expression Library

Opening the Fields Calculator To open the Fields Calculator, do one of the following:



On the HFSS menu, point to Fields, and then click Calculator

or



Right-click Field Overlays in the project tree, and then click Calculator on the shortcut menu. The Fields Calculator window appears.

To view information on a command or screen area, click over the button or screen area on the illustration below.

15-102 Post Processing and Generating Reports

HFSS Online Help

Post Processing and Generating Reports 15-103

HFSS Online Help

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 Calculator Stack The calculator is made up of a stack of registers. Registers are displayed in the register display area at the center of the calculator window. Each register can hold:

• • •

Field quantities such as the H-field or E-field. Functional or constant scalars and vectors. Geometries — points, lines, surfaces, or volumes — on which a field quantity is to be evaluated.

To perform a computation on the field solution, you must first load a basic field quantity into a register on the stack. Once a quantity is loaded into a register, it can be:



Manipulated using mathematical operations such as curls, gradients, cross products, divergences, and dot products.



Integrated over lines, surfaces, or subvolumes of the solution region — either predefined surfaces, volumes, and lists, or lines, surfaces, and volumes that were defined using the Draw commands.

• •

Plotted on a point, line, surface, or volume. Exported to a file, allowing you to superimpose saved solutions.

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. Each register is labeled with its contents as follows: Vec

Vector quantities, which have both direction and magnitude at each point in space. The x-, y-, and z-components of these quantities are stored in the register.

Scl

Scalar quantities, which have a magnitude only.

Cvc

Complex vector quantities.

Csc

Complex scalar quantities.

Pnt

Points.

Lin

Lines.

Srf

Surfaces.

Vol

Volumes.

15-104 Post Processing and Generating Reports

HFSS Online Help

SclLin

Scalar value on a line.

VecLine

Vector value on a line.

SclSrf

Scalar value on a surface.

VecSrf

Vector value on a surface.

When examining calculator registers, keep the following in mind:

• •

To move or delete calculator registers, use the stack commands. To save a register to a disk file, use the Write command.

Enlarging the Register Display Area If there are too many registers to fit into the display area, do one of the following:

• •

Use the scroll bars to view the hidden registers. Enlarge the calculator window using the window’s borders or its maximize button.

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.

Stack Commands Use these commands to manipulate the registers in the calculator stack. Push Reloads the quantity in the top register onto the top of the stack, creating a new register. The contents of the top two registers are identical. Pop 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.

Post Processing and Generating Reports 15-105

HFSS Online Help

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.

Input Commands Use the following commands to load data onto the top of the calculator stack: Quantity

Basic field quantities, such as E and H, and simple derived quantities such as volume current.

Geometry

Geometries such as planes, points, polylines, and volumes

Constant

Predefined constants such as π, ε0, and conversion factors between various units of measurement.

Number

Vector and scalar constants, including complex numbers.

Function

User-defined or intrinsic variables

Geom Settings

Properties of polylines, surfaces, or volumes used in the Fields Calculator

Read

Previously-saved calculator registers containing field quantities.

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 Input command loads a field quantity into the top register of the calculator. Phasors in the calculator are peak phasors. The Poynting command in the calculator therefore implements the Poynting vector for peak phasors. Calculations which compute either average or instantaneous time domain quantities must adhere to the peak phasor conventions. The available quantities are: E

The electric field, E

H

The magnetic field, H

Jvol

The volume current density, Jvol

Jsurf

The surface current density, Jsurf

Poynting

The Poynting vector, defined as 0.5E x H*

LocalSAR

The local Specific Absorption Rate

AverageSAR

The average Specific Absorption Rate

15-106 Post Processing and Generating Reports

HFSS Online Help

Certification SAR

IEEE standard Specific Absorption Rate certification number. To calculate certification SAR on a specific object (rather than the whole model) proceed as follows: 1.

In the Calculator Input area, click the Quantity button and select Certification SAR. Certification SAR is displayed in the calculator stack.

2.

In the Calculator, click the Geometry button to display the Geometry dialog. The Geometry dialog displays with the Volume radio button selected, and the available geometries listed.

3.

Select the Geometry of interest. This enables the OK button.

4.

Click the OK button.

5.

This adds the selected Volume geometry to the calculator stack.

6.

In the Calculator Output area, press the Value button This prepares the calculation for the selected quantity and volume.

7.

Press the Eval button to evaluate. Both the value and location will be shown on the calculator stack.

SurfaceLossDensity

This contains the surface impedance (if any) loss at every node in every triangle. This is calculated as:

p s = Re ( S ⋅ n ) where ps is the surface impedance loss density, S is the Poynting vector on the boundary, and n is the out unit normal of the boundary. To export a REG file containing the surface loss density, place the SurfaceLossDensity in the top register and use the Write... command. The Reg file can be used to for coupled solutions with ePhysics. To setup HFSS - Transient Thermal coupling, use the ePhysics Solve Setup window for static thermal solutions by choosing the Import button next to HFSS Loss.

Post Processing and Generating Reports 15-107

HFSS Online Help

VolumeLossDensity

The volume loss density p is calculated as:

1 ˜ ) = 1--- Re ( E ⋅ J˜ – curlE ⋅ H ˜) p v = --- Re ( E ⋅ J˜ + jωB ⋅ H 2 2 where E is the electric field, J˜ is the conjugate of the volumentric ˜ is the conjugate of current density, B is the magnetic flux density, and H the magnetic field. To export a Reg file containing the volume loss density, place the VolumeLossDensity into the top register, and use the Write....command. The Reg file can be used to for coupled solutions with ePhysics. To setup HFSS - Transient Thermal coupling, use the ePhysics Solve Setup window for static thermal solutions by choosing the Import button next to HFSS Loss.

Geometry Command The Geometry command loads a geometry into the top register of the calculator. Do this to:

• • •

Find the value of derived field quantities on any point, line, surface, or volume. Plot quantities directly from the calculator. Display a previously defined isosurface, maximum or minimum field point using the Draw command.

The following types of geometries are available: Point Line Surface (Sheet objects are listed under surface.) Due to the ambiguity of the normal vector of a sheet, the result may require a multiplication by ( 1 ) or ( -1 ). Volume Coord To load a geometry into the calculator: 1.

In the Fields Calculator, click Geometry. The Geometry dialog box appears.

2.

Select a geometry type. A list of all applicable geometries appears.

3.

Click the geometry.

4.

Click OK to load the geometry.

15-108 Post Processing and Generating Reports

HFSS Online Help

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. If you explicitly subtract Box2 from Box1, any calculation on the surface (faces) of Box1 will use the 6 exterior faces and the 6 interior faces. Any calculation on the volume of Box1 will use the difference in volume between Box1 and Box2. If you do not explicitly subtract Box2 from Box1, the inner box is only implicitly subtracted. Any calculation on the surface of Box1 in this case will use only the 6 exterior faces of Box1. Any calculation on the volume of Box1 will use the entire volume without subtracting the volume of Box2.

Constant Command The Constant command loads one of these four predefined constants, or conversion constant into the top register of the calculator: Pi

π

Epsi0

The permittivity of free space, ε0 = 8.85418782 x 10–12 C2/Nm2

Mu0

The permeability of free space, μ0 = 4π x 10–7 Wb/Am

c

The speed of light in vacuum, c = 2.99792458 x 108 m/s

conversion constant

Displays the Enter Units Conversion Factor dialog. This lists a range of Quantities (such as frequency, resistance, and others) along with a list of Units (Hz to Thz, and rps) to convert From and To. The ratio of the Units From to the Units to is displayed for the selected values as Conversion Factor.

Post Processing and Generating Reports 15-109

HFSS Online Help

Number Command The Number command enters one of the following into the top register of the calculator: Scalar

A scalar constant. To enter a constant scalar number: 1.

Click Number. The Input Number dialog box appears.

2.

Vector

Select Scalar.

3.

Type the scalar value in the Value text box.

4.

Click OK to load the number into the top register.

A vector constant. To enter a constant vector: 1.

Click Number. The Input Number dialog box appears.

Complex

2.

Select Vector.

3.

Enter the x-, y-, and z-components of the vector.

4.

Click OK to load the vector into the top register.

A complex constant. Complex constants are entered in the form C=A+jB, where A represents the real part of the constant and B represents the imaginary part. 1.

Click Number. The Input Number dialog box appears.

2.

Select Scalar or Vector.

3.

Select Complex.

4.

Enter the real and imaginary components of the number.

5.

Click OK to load the number into the top register.

Function Command Any functions you use must be defined prior to using this operation.

15-110 Post Processing and Generating Reports

HFSS Online Help

Enters one of the following into the top register of the calculator: Scalar

A scalar function. To enter a function: 1.

Click Function. The Function dialog box appears.

Vector

2.

Select Scalar.

3.

Select the function from the list.

4.

Click OK to load the functional scalar into the top register.

A vector function, in which the values of the vector’s x-, y-, and z-components are given by functions. To enter a functional vector: 1.

Click Function. The Function dialog box appears.

Note

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.

The predefined variables X, Y, Z, RHO, THETA, R, and PHI and any functions that you created can be used to define functional scalar and vector quantities.

Geom Settings Command Clicking the Geom Settings button opens the Geometric Settings dialog box. The dialog box allows you to specify the line discretization, the number of equally-spaced points used to plot fields and other quantities on a line. The default is 1000 points.

Read Command This command copies the contents of a disk file into the top register. The register must be one that has been saved using the Write output command. To read in a register: 1.

Click Read.

2.

Use the file browser to specify the register’s file name and directory path. A .reg extension is automatically assumed for register files.

3.

Click OK. The contents of the file are copied to the top register in the stack.

General Commands Use these commands to perform operations on both vector and scalar quantities. Post Processing and Generating Reports 15-111

HFSS Online Help

+ (Add) Adds the quantities in the top two registers of the calculator. – (Subtract) Subtracts the quantity in the top register from the quantity in the second register. The two registers must hold the same type of quantity (both scalar or both vector). You cannot subtract a scalar from a vector (or vice versa). * (Multiply) Multiplies the quantity in the top register by the quantity in the second register. One of the two registers must contain a scalar value; the other register can be either a scalar or a vector. / (Divide) Divides the quantity in the second register by the quantity in the top register. The second register must contain a scalar value; the top register can be either a scalar or a vector. Neg Changes the sign of the quantity in the top register. Abs Takes the absolute value of the quantity in the top register. 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. In general, use smoothing before plotting a quantity. Complex These commands perform operations on a complex quantity in the top register. Complex quantities are indicated by a C at the beginning of the register label. They can be represented in terms of real and imaginary components, or in terms of magnitude and phase:

C = A + jB = Me



where:

• • • •

A is the real part of the complex number. B is the imaginary part of the complex number. 2 2 A +B . φ is its phase, which is equal to atan ( B ⁄ A ) .

M is its magnitude, which is equal to

The Complex commands let you do the following: Real

Takes the real part of the complex quantity (A).

Imag

Takes the imaginary part of the complex quantity (B).

CmplxMag

Takes the magnitude of the complex quantity (M).

CmplxPhase

Takes the phase of the complex quantity (φ).

15-112 Post Processing and Generating Reports

HFSS Online Help

Conj

Takes the complex conjugate of the quantity in the top register. If a complex number is given by C = A + jB, its complex conjugate is given by C* = A – jB.

AtPhase

Lets you specify the phase angle, θ, at which an field quantity is evaluated. These quantities can be represented in the form A ( x, y, z, t ) = A ( x, y, z ) cos ωt + θ ( x, y, z ) . where



ω is the angular frequency at which the quantities are oscillating, specified during the solution.



θ(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. CmplxReal

Converts the real scalar of the top register to the real part of a complex number.

CmplxImag

Converts the real scalar of the top register to the imaginary part of a complex number.

CmplxPeak

Calculates the peak value of a given complex vector. Intuitively, this calculates the maximum magnitude of the equivalent real vector in a waveform.

Domain This limits a calculation to the volume you specify. 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.

Scalar Commands Use these commands to perform operations on scalar quantities. Vec?

Makes the scalar quantity in the top register a vector component.

1/x

Takes the inverse of the scalar quantity in the top register.

Pow

Raises a scalar quantity to the power you specify.

( Square Root) Takes the square root of the quantity in the top register. Trig

Takes a selected trigonometric value of the value in the top register of the calculator stack Post Processing and Generating Reports 15-113

HFSS Online Help

d/d?

Takes the partial derivative of the quantity in the top register.



Takes the integral of a scalar quantity over a volume, surface, or line.

(Integral)

Min

Computes the minimum of a scalar field quantity on a line, surface, or volume.

Max

Computes the maximum of a scalar field quantity on a line, surface, or volume.

∇ (Gradient)

Takes the gradient of the scalar quantity in the top register.

ln

Takes the natural logarithm (base e) of the scalar quantity in the top register.

log

Takes the logarithm (base 10) of the scalar quantity in the top register

Vec? Command Makes the scalar quantity in the top register a vector component. Choose from the following: VecX

The x-component of a vector.

VecY

The y-component of a vector.

VecZ

The z-component of a vector.

1/x (Inverse) Command Takes the inverse of the scalar quantity in the top register.

Pow Command Raises a scalar quantity to the power you specify. To raise a scalar quantity to a power: 1.

Enter the quantity into the calculator.

2.

Enter the exponent to which it is to be raised into the calculator.

3.

Click Pow. The results are displayed in the top register.

(Square Root) Command Takes the square root of the quantity in the top register.

Trig Takes one of the following trigonometric values of the value in the top register of the calculator stack: Sin

Sine.

Cos

Cosine.

Tan

Tangent.

Asin

Arcsine.

15-114 Post Processing and Generating Reports

HFSS Online Help

Acos

Arccosine.

Atan

Arctangent.

Atan2

Arctangent squared.

d/d? (Partial Derivative) Command Takes the partial derivative of the quantity in the top register: d/dx

Takes the partial derivative of the quantity with respect to x.

d/dy

Takes the partial derivative of the quantity with respect to y.

d/dz

Takes the partial derivative of the quantity with respect to z.



(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

3.

If you computed the tangent or normal of the quantity to be integrated, you do not have to load a geometry onto the calculator stack. HFSS integrates the tangential or normal component of the quantity over the line on which you computed its tangent, or the surface on which you computed its normal.

Choose the

∫ command to integrate the scalar quantity over the geometry.

To find the numerical results of an integration, use the Eval command.

Min Command Computes the minimum of a scalar field quantity on a line, surface, or volume. Two options are available: Value

Finds the magnitude of the minimum value of the field.

Position

Finds the point where the minimum field value occurs. You can then:

• • • •

Plot the minimum field value at the point using the Plot command. Plot basic field quantities at the point. Load the point into the calculator. Change the point’s location.

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. Post Processing and Generating Reports 15-115

HFSS Online Help

Max Command Computes the maximum of a scalar field quantity on a line, surface, or volume. Two options are available: Value

Finds the magnitude of the maximum value of the field.

Position

Finds the point where the maximum field value occurs. You can then:

• • • •

Plot the maximum field at the point using the Plot command. Plot field quantities at the point. Load the point into the calculator. Change the point’s location.

To compute the maximum field value: 1.

Load a field quantity into the calculator, and perform any necessary operations on it. Keep the following in mind:



You cannot find the maximum value of a vector quantity. Therefore, make sure that the result is a scalar.



Before computing the maximum value of a complex quantity, you must find the real part of the quantity using the Cmplx/Real or Cmplx/AtPhase commands.

2.

Load a point, line, or volume into the calculator using one of the Geometry commands.

3.

Do one of the following:

• •

Choose Max/Value to compute the maximum field value on the geometry. Choose Max/Position to identify the point at which this value occurs.

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.

15-116 Post Processing and Generating Reports

HFSS Online Help

Vector Commands Use these commands to perform operations on vector quantities. Scal?

Replaces the vector in the top register with a scalar quantity whose value is a component of the vector.

Matl

Multiplies or divides the vector field quantity in the top register by a material property

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.

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: ScalarX

Returns the x-component of the vector.

ScalarY

Returns the y-component of the vector.

ScalarZ

Returns the z-component of the vector.

Matl Command Multiplies or divides the vector field quantity in the top register by a material property. At each tetrahedron, the field quantity is multiplied or divided by the value of the selected material property — taking the different material attributes of each object into account. To multiply or divide a vector quantity by a material property: 1.

Click Matl. The Material Operation window appears.

Post Processing and Generating Reports 15-117

HFSS Online Help

2.

Select a material property. Available properties are: Permittivity (epsi)

The relative permittivity, εr.

Permeability (mu)

The relative permeability, μr.

Conductivity

The conductivity, σ.

Omega (w)

The angular frequency, ω. The angular frequency is equal to 2πf, where f is the frequency at which the solution was generated.

3.

Select an operation — Multiply or Divide.

4.

Choose OK to multiply or divide the field quantity by a material property or Cancel to stop the operation.

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.

Tangent Command .

Vector quantity Line Magnitude

Tangential Component 15-118 Post Processing and Generating Reports

HFSS Online Help

To take the tangent of a vector: 1.

Load a vector quantity into the top register.

2.

Load a line into the top register using the Geometry/Line command.

3.

Click Tangent.

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

Normal = A ( x, y, z ) • nˆ

vector:

Vector quantity A(x,y,z)

Normal Component

Magnitude

Surface To take the normal of a vector: 1.

Load a vector quantity into the top register.

2.

Load a surface into the top register using the Geometry/Surface command.

3.

Click Normal.

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 HFSS, the fields calculator uses the surface normal of the face of the 3D object that is coincident with the sheet.

Unit Vec Command 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.

Post Processing and Generating Reports 15-119

HFSS Online Help

Select from the following: Tangent

Computes the unit vector tangent to the line specified at the time of plotting, integrating, or report generation based on the context.

Normal

Computes the unit vector normal to the surface specified at the time of plotting, integrating, or report generation based on the context.

CoordSys(X)

Computes the unit vector in the X-dimension of the relative coordinate system in the top register of the calculator stack. Add the relative CS as a geometric object using the Geometry/Coord command.

CoordSys(Y)

Computes the unit vector in the Y-dimension of the relative coordinate system in the top register of the calculator stack. Add the relative CS as a geometric object using the Geometry/Coord command.

CoordSys(Z)

Computes the unit vector in the Z-dimension of the relative coordinate system in the top register of the calculator stack. Add the relative CS as a geometric object using the Geometry/Coord command.

Output Commands Use these commands to compute or evaluate expressions and to output the data in the calculator. Value command

Computes the value of a field quantity at a point.

Eval command

Numerically evaluates and displays the results of calculator operations.

Write command

Saves the contents of the top register to a disk file.

Export command

Saves field quantities in a format that can be read by other modeling or post-processing software packages.

Value Command This computes the value of a field quantity at a point. Use it to find:

• •

The magnitude of a scalar field quantity at that point. The x-, y-, and z-components of a vector field quantity at that point.

To find the value of a field quantity at a point: 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.

Eval Command This command numerically evaluates and displays the results of calculator operations such as integrations, maximum or minimum field computations, field values at points, and so forth. The quan15-120 Post Processing and Generating Reports

HFSS Online Help

tity to be evaluated must be in the top register. The Eval command computes the numerical results of the operation, which replace the contents of the register. For instance, to find the current around a loop, you must numerically evaluate the following integral for that loop: I = H • dl .

°∫

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: 1.

Load H into the calculator using the Qty command.

2.

Take the real part of H using the Cmplx/Real command.

3.

Load the rectangular loop using the Geom/Line command. Create the loop, a closed polyline, to integrate over.

4.

Click Tangent to get the component of H along the line.

5.

Take the integral around the loop using the

6.

Click Eval to evaluate the integral. The real part of I appears in the top register.

7.

Repeat this process using the imaginary part of H (found with the Cmplx/Imag command) to obtain the imaginary part of I.



command.

Write Command This command saves the contents of the top register to a disk file. Use this command to:

• •

Save registers for use during a later post-processing session. Save a field quantity for use when post processing a different model.

To save a register: 1.

Click Write.

2.

If the register includes numeric with a constrained quantity (such as jsurf), you see a dialog that gives a choice of constraining geometries. For example:

Post Processing and Generating Reports 15-121

HFSS Online Help

3.

Select the geometry of interest, and select OK. This displays a file browser.

4.

Use the file browser to specify the register’s file name and directory path. A .reg extension is automatically assigned to register files.

5.

Click OK. The contents of the register are saved to the file you specified.

Export Command This command opens the Export Solution dialog, from which you can export the field quantity in the top register to a file, mapping it to a grid of points. Use this command to save field quantities in a format that can be read by other modeling or post-processing software packages. Two options are available for defining the grid points on which to export: Input grid points from file

Maps the field quantity to a customized grid of points. Before using this command, you must create a file containing the points and units.

Calculate grid points

Maps the field quantity to a three-dimensional cartesian grid. You specify the dimensions and spacing of the grid in the x, y, and z directions, with units that you specify. The initial units are taken from the model.

To export a field quantity to a customized grid: 1.

Load the quantity into the top register for the fields calculator, and perform any operations on it.

2.

Click the Export button in the Fields Calculator. This opens the Export Solution dialog.

15-122 Post Processing and Generating Reports

HFSS Online Help

3.

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. A .reg extension is automatically assigned to this file.

4.

Click either the Input grid points from file button if you have a created a .pts file containing the grid points, or click the Calculate grid points button. For each grid dimension (X, Y, and Z), enter the following:



Note

Minimum

The minimum x-, y-, or z-coordinate of the grid, and unit of measure.

Maximum

The maximum x-, y-, or z-coordinate of the grid, and unit of measure.

Spacing

The distance between grid points, and unit of measure.

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). The .pts file should contain the units to use for the export as shown in this file stub: Unit=mm -5.5 -5.5 -5.21475 -5.5 -5.5 -5.14425 -5.5 -5.5 -5.07375 -5.5 -5.5 -5.021



5.

If you select Calculate grid points button. For each grid dimension (X, Y, and Z), enter the following: Minimum

The minimum x-, y-, or z-coordinate of the grid, and unit of measure.

Maximum

The maximum x-, y-, or z-coordinate of the grid, and unit of measure.

Spacing

The distance between grid points, and unit of measure.

Click OK to export the file. The field quantity is mapped to the grid and saved to the file you specified (.reg extension.).

Calculating Derived Field Quantities The Named Expressions panel displays expressions that can be included in register definitions by name.

Post Processing and Generating Reports 15-123

HFSS Online Help

When an HFSS design is open and a Solution Setup has been performed, the following predefined named expressions are available: Expression Name

Expression Definition

Mag_E

Mag(AtPhase(Smooth(),Phase))

Mag_H

Mag(AtPhase(Smooth(),Phase))

Mag_Jvol

Mag(AtPhase(Smooth(),Phase))

Mag_Jsurf

Mag(AtPhase(Smooth(),Phase))

ComplexMag_E

Mag(CmplxMag(Smooth())

ComplexMag_H

Mag(CmplxMag(Smooth())

ComplexMag_Jvol

Mag(CmplxMag(Smooth())

ComplexMag_Jsurf

Mag(CmplxMag(Smooth())

Vector_E

AtPhase(Smooth(),Phase)

Vector_H

AtPhase(Smooth(),Phase)

Vector_Jvol

AtPhase(Smooth(),Phase)

Vector_Jsurf

AtPhase(Smooth(),Phase)

Vector_RealPoynting

Real(Poynting)

Local_SAR

LocalSAR

Average_SAR

AverageSAR

Surface_Loss_Density

SurfaceLossDensity. See further discussion here.

Volume_Loss_Density

VolumeLossDensity See further discussion here.

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. Related Topics Named Expression Library

Named Expression Library To add a named expression of your own to the Fields Calculator list: 1.

In the register display area, create the expression you want to plot.

2.

When you are finished creating the expression, click Add in the Named Expressions panel. The Named Expression dialog box appears.

3.

Type a name for the expression in the Name text box. The new expression is added to the list of named expressions.

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.) Click 15-124 Post Processing and Generating Reports

HFSS Online Help

Delete to delete the selected user-defined named expression. Click Clear All to delete all userdefined named expressions. To save one or more named expressions for the Fields Calculator to a personal Library: 1.

Click the Save To button on the Fields Calculator. The Select Expressions for Saving dialog displays.

2.

If any new named expressions exist, you can select one or more to save to a file.

3.

Give a file name, and click OK to save the file.

To load named expressions for the Fields Calculator from a personal library: 1.

From the Fields Calculator, click Load From. This displays a file browser that you can use to search for existing .clc files.

2.

Select the library to load and click OK. This loads the expression file you have selected.

Related Topics Calculating Derived Field Quantities

Exiting the Fields Calculator Click Done to exit the Fields Calculator.

Post Processing and Generating Reports 15-125

HFSS Online Help

Radiated Fields Post Processing To analyze the radiated fields associated with a design, define a radiation surface over which the fields will be calculated. The values of the fields over this surface are used to compute the fields in the space surrounding the device. This space is typically split into two regions — the near-field region and the far-field region. The near-field region exists at less than a wave length from an energy source. The far field is where radiation occurs. See Radiated Fields for the specific equations used in HFSS for calculating the near and far field regions. You can define a spherical surface over which to analyze the near or far fields by specifying a range and step size for phi and theta. This defines the spherical direction in which radiated fields will be evaluated. You can also draw a line along which to calculate the near fields. Optionally, after defining the radiation surface, HFSS can compute antenna array radiation patterns and antenna parameters for designs that have analyzed a single array element. HFSS models the array radiation pattern by applying an "array factor" to the single element’s pattern when far fields are calculated. You set up the array factor information by defining either a finite, 2D array geometry of uniformly spaced, equal-amplitude elements (a regular array) or an arbitrary array of identical elements distributed in 3D space with individual complex weights (a custom array.) HFSS can also compute antenna parameters, such as the maximum intensity, peak directivity, peak gain, and radiation efficiency. For near-field analysis, HFSS can also compute maximum parameters, such as the maximum of the total E-field and the maximum E-field in the x-direction. Note

When computing near and far fields, keep in mind that you must have defined at least one radiation or PML boundary in the design. At any time you may change the radiation surfaces that HFSS uses when calculating the radiated fields without needing to re-solve the problem, but the radiation-type boundary is still required.

Related Topics Technical Notes: Radiated Fields

Setting up a Near-Field Sphere To evaluate near fields on a spherical surface, set up a near-field sphere. To plot near-field values across the sphere, you will select the sphere object from the Geometry list in the Traces dialog box when you create a report. 1.

Click HFSS>Radiation>Insert Near Field Setup>Sphere. The Near Field Radiation Sphere Setup window appears.

2.

Under the Sphere tab, type a name for the sphere in the Name text box.

3.

Type the radius at which to compute the radiated fields in the Radius text box. The radius is measured from the origin of the sphere’s coordinate system, which is specified under the Coordinate System tab.

4.

Specify the range of angles to include in the sphere:

15-126 Post Processing and Generating Reports

HFSS Online Help

a.

b.

Specify the following for Phi, in degrees (deg) or radians (rad): Start

The point where the rotation of phi begins.

Stop

The point where the rotation of phi ends.

Step Size

The number of degrees or radians (spherical grid points) between the sweep of phi.

Specify the following for Theta, in degrees (deg) or radians (rad): Start

The point where the rotation of theta begins.

Stop

The point where the rotation of theta ends.

Step Size

The number of degrees or radians (spherical grid points) between the sweep of theta.

See Spherical Cross-Sections in the Technical Notes for guidelines for setting phi and theta. 5.

6.

Click the Coordinate System tab, and then specify the orientation of the sphere in one of the following ways:



To orient the sphere according to the global coordinate system (CS), select Use global coordinate system.



To orient the sphere according to a user-defined CS, select Use local coordinate system and then select a defined CS from the Choose from existing coordinate systems list.

To specify a surface other than an assigned radiation or PML boundary over which to integrate the radiated fields, do the following: a.

Click the Radiation Surface tab.

b.

Select Use Custom Radiation Surface.

c.

Select a defined face list from the list below. HFSS will use the surfaces in the face list as the radiating surfaces when calculating the near fields. The face list cannot include a face that lies on a PML object.

7.

Click OK. The sphere is created. It is listed in the project tree under Radiation.

You must have defined at least one radiation or PML boundary in the design for HFSS to compute near-field quantities, regardless of which radiation surfaces you instruct HFSS to use when calculating the near fields. You do not need to re-solve the problem if you modify radiation surfaces in the Near Field Radiation Sphere Setup window. Note

For parts of the sphere outside of the model region, near-field approximation is calculated. However, if parts of the sphere are inside the model region, the model fields are used to compute interpolated values. A section of the sphere is considered to overlap the model if it lies in the enlarged model region after accounting for symmetry planes.

Post Processing and Generating Reports 15-127

HFSS Online Help

Related Topics Technical Notes: Spherical Cross-Sections

Setting up a Near-Field Line To evaluate the near field along a line, set up a near-field line. The near-field line can be a polyline with one or more segments. To plot near-field values along the line, you will select the line object from the Geometry list in the Traces dialog box when you create a report. 1.

Draw a polyline in post-processing mode.

2.

Click HFSS>Radiation>Insert Near Field Setup>Line.

3.

Under the Near Field Line Setup tab, type a name for the line in the Name text box.

4.

Select the polyline along which you want to evaluate the near fields from the Choose Line list.

5.

Specify the Number of points in the line.

The Near Field Line Setup dialog box appears.

This is the total number of equally spaced points on the line. Specifying points on the line will enable you to plot the near-field values across a normalized distance, that is, to create a value versus distance plot of a near-field quantity on the line. 6.

To specify a surface other than an assigned radiation or PML boundary over which to integrate the radiated fields, do the following: a.

Click the Radiation Surface tab.

b.

Select Use Custom Radiation Surface.

c.

Select a defined face list from the list below. HFSS will use the surfaces in the face list as the radiating surfaces when calculating the near fields. The face list cannot include a face that lies on a PML object.

7.

Click OK.

You must have defined at least one radiation or PML boundary in the design for HFSS to compute near-field quantities, regardless of which radiation surfaces you instruct HFSS to use when calculating the near fields. You do not need to re-solve the problem if you modify radiation surfaces in the Near Field Line Setup window. Note

For parts of the near-field line lying outside of the model region, near-field approximation is calculated. However, if parts of the line lie inside the model region, the model fields are used to compute interpolated values. A section of the near-field line is considered to overlap the model if it lies in the enlarged model region after accounting for symmetry planes.

Computing Maximum Near-Field Parameters You must have defined at least one radiation or PML boundary in the design for HFSS to compute maximum field data for the near-field region. 1.

Right-click the Sphere or Line icon in the project tree, and then click Compute Max Param-

15-128 Post Processing and Generating Reports

HFSS Online Help

eters on the shortcut menu. The Select Solution dialog box appears. 2.

Under the Solutions tab, select the solution for which you want HFSS to compute the nearfield parameters.

3.

Under the Intrinsic Variables tab, select the solved frequency point at which you want HFSS to compute the near-field parameters. The Max Field Data window appears, listing the following information: Total X Y Z Phi Theta LHCP RHCP Ludwig 3/X dominant Ludwig 3/Y dominant

Note

When calculating the maximum far-field values, the distance r is factored out of the Efield. Therefore, the units for the maximum field data values are given in volts.

Related Topics Technical Notes: Maximum Near-Field Data

Setting up a Far-Field Infinite Sphere To evaluate radiated fields in the far-field region, you must set up an infinite sphere that surrounds the radiating object. To plot far-field values across the sphere, you will select the sphere object from the Geometry list in the Traces dialog box when you create a report. 1.

Click HFSS>Radiation>Insert Far Field Setup>Infinite Sphere. The Far Field Radiation Sphere Setup window appears.

2.

Under the Infinite Sphere tab, type a name for the sphere in the Name text box.

3.

Specify the range of angles to include in the sphere:

Post Processing and Generating Reports 15-129

HFSS Online Help

a.

b.

Specify the following for Phi, in degrees (deg) or radians (rad): Start

The point where the rotation of phi begins.

Stop

The point where the rotation of phi ends.

Step Size

The number of degrees or radians (spherical grid points) between the sweep of phi.

Specify the following for Theta, in degrees (deg) or radians (rad): Start

The point where the rotation of theta begins.

Stop

The point where the rotation of theta ends.

Step Size

The number of degrees or radians (spherical grid points) between the sweep of theta.

See Spherical Cross-Sections in the Technical Notes for guidelines for setting phi and theta. 4.

5.

Click the Coordinate System tab, and then specify the orientation of the sphere in one of the following ways:



To orient the sphere according to the global coordinate system (CS), select Use global coordinate system.



To orient the sphere according to a user-defined CS, select Use local coordinate system and then select a defined CS from the Choose from existing coordinate systems list.

To specify a surface other than an assigned radiation or PML boundary over which to integrate the radiated fields, do the following: a.

Click the Radiation Surface tab.

b.

Select Use Custom Radiation Surface.

c.

Select a defined face list from the list below. HFSS will use the surfaces in the face list as the radiating surfaces when calculating the far fields. The face list cannot include a face that lies on a PML object.

Note 6.

Do not use a sheet-object based face list as the radiation computation surface.

Click OK. The infinite sphere is created. It is listed in the project tree under Radiation.

Note

You must have defined at least one radiation or PML boundary in the design for HFSS to compute far-field quantities, regardless of which radiation surfaces you instruct HFSS to use when calculating the far fields. You do not need to re-solve the problem if you modify radiation surfaces in the Far Field Radiation Sphere Setup window.

Related Topics Technical Notes: Spherical Cross-Sections Creating a Face List 15-130 Post Processing and Generating Reports

HFSS Online Help

Defining Antenna Arrays Define a regular or custom antenna array when you want HFSS to compute antenna array radiation patterns and antenna parameters for designs that have analyzed a single array element. HFSS models the array radiation pattern by applying an "array factor" to the single element’s pattern when far fields are calculated. The "regular uniform array" geometry defines a finite 2D array of uniformly spaced, equal-amplitude elements. This is a natural specification after analyzing a single-unit cell of an infinite array. The "custom array" geometry defines an arbitrary array of identical elements distributed in 3D space with individual user-specified complex weights. Related Topics Defining a Regular Antenna Array Defining a Custom Antenna Array

Defining a Regular Antenna Array A regular antenna array is a finite 2D array geometry of uniformly spaced, equal-amplitude elements. 1.

On the HFSS menu, point to Radiation, and then click Antenna Array Setup.

2.

Under the Array Type tab, select Regular Array Setup.

3.

Click the Regular Array tab.

4.

Under First Cell Position, enter the xyz-coordinates where the first cell is placed.

5.

Under Directions, do the following:

The Antenna Array Setup window appears.

a.

To the right of U Vector, enter the vector coordinates in the X, Y, and Z text boxes along which the cells in the U-direction are placed.

b.

To the right of V Vector, enter the vector coordinates in the X, Y, and Z text boxes along which the cells in the V-direction are placed.

6.

Under Distance Between Cells, enter the distance between cells in the U-direction and the distance between cells in the V-direction in the design units.

7.

Under Number of Cells, enter the number of unit cells in the U-direction and the number of unit cells in the V-direction.

8.

Under Scan Definition, specify the scan direction in one of the following ways:

9.



Select Use Scan Angles, and then enter the spherical coordinate angles, in degrees, in the radiation coordinate system in the Theta and Phi text boxes.



Select Use Differential Phase Shift, and then enter the phase difference between adjacent elements, in degrees, in the In U direction and In V direction text boxes.

Click OK. The array factor will be applied, using the information you specified, when far fields are calculated. Post Processing and Generating Reports 15-131

HFSS Online Help

Related Topics Technical Notes: Array Factor Calculation Technical Notes: Regular Uniform Arrays Technical Notes: Scan Specification for Regular Uniform Arrays

Defining a Custom Antenna Array A custom antenna array is a an arbitrary array of identical elements distributed in 3D space with individual user-specified complex weights. The array is defined in a text file that includes the element positions, voltage amplitude weights, and phases. See Custom Arrays in the Technical Notes for examples of custom array geometry text files.

Note 1.

For custom antenna arrays, phases should be specified in radians.

On the HFSS menu, point to Radiation, and then click Antenna Array Setup. The Antenna Array Setup window appears.

2.

Under the Array Type tab, select Custom Array Setup.

3.

Click the Custom Array tab.

4.

Click Import Definition. The Open dialog box appears.

5.

Follow the procedure for opening a file. Select .txt as the file type. When you are finished, click Open.

6.

Optionally, review the definition in the text file by clicking View Definition under the Custom Array Setup tab.

7.

Click OK. The array factor will be applied, using the information specified in the text file, when far fields are calculated.

Related Topics Technical Notes: Custom Arrays Technical Notes: Array Factor Calculation

Computing Antenna Parameters You must have defined at least one radiation or PML boundary in the design for HFSS to compute antenna parameters and maximum field data for the far-field region. 1.

To select the radiation setup from the Project tree, right-click a Infinite Sphere icon in the project tree under Radiation, and then click Compute Antenna Parameters on the shortcut menu. Or, to select the radiation setup from a dialog, click HFSS>Radiation>Compute Antenna Max/Params. The Select Radiation Setup dialog appears.

15-132 Post Processing and Generating Reports

HFSS Online Help

After you have selected the setup by one of these two methods. the Antenna Parameters dialog box appears. 2.

Under the Solutions tab, select the solution for which you want HFSS to compute antenna parameters.

3.

Under the Intrinsic Variables tab, select the solved frequency point at which you want HFSS to compute antenna parameters. The Antenna Parameters window appears. If the design includes ports, the following antenna parameters are listed: Maximum intensity (Max U) Peak directivity Peak gain Peak realized gain Radiated power Accepted power Incident power Radiation efficiency

Warning

Note

The computed values of max U and peak directivity depend on the user-determined set of aspect angles chosen for the computation of the radiated fields. If this set does not encompass the actual peak intensity of the radiated pattern, the displayed results for these three parameters will be inaccurate.

Accepted Power is computed from the raw S-parameter data. Post-processing operations are excluded from the calculation, for example, renormalized S-parameters.

If the design does not have ports, the following antenna parameters are listed: Maximum intensity (Max U) Peak directivity Radiated power 4.

Click More to view the following maximum far-field data: Total X Y Z Post Processing and Generating Reports 15-133

HFSS Online Help

Phi Theta LHCP RHCP Ludwig 3/X dominant Ludwig 3/Y dominant Note

When calculating the maximum far-field values, the distance r is factored out of the Efield. Therefore, the units for the maximum field data values are given in volts.

Related Topics Technical Notes: Antenna Parameters Technical Notes: Maximum Far-Field Data Add Trace Characteristics

Exporting Antenna Parameters and Maximum Field Data The Antenna Parameters dialog displays the calculated antenna parameters and Maximum Field data for a setup. The dialog also includes a buttons to Export antenna parameters and to Export Fields. The fields can be exported in the.csv format and imported into reporter as a table. To export the antenna parameters to a text file: 1.

Click the Export button on the Antenna Parameters dialog. This displays a file browser.

2.

Specify the file name and location (or accept the defaults).

3.

Click Save. This saves the text file and closes the browser.

To export the maximum field data to a comma separated format file: 1.

Click the Export Fields button on the Antenna Parameters dialog This displays a file browser

2.

Specify the file name and location (or accept the defaults.

3.

Click Save. This saves the comma separated text file and closes the browser.

Far fields format: [Point index] [Phi] [Theta] [rEPhi(mag ang)] [rETheta(mag ang)] Near fields format: [Point index] [X] [Y] [Z] [Ex(mag ang)] [Ey(mag ang)] [Ez(mag ang)] 15-134 Post Processing and Generating Reports

HFSS Online Help

Related Topics Computing Antenna Parameters Technical Notes: Antenna Parameters Technical Notes: Maximum Far-Field Data

Post Processing and Generating Reports 15-135

HFSS Online Help

Plotting the Mesh Before or after the solution is complete, you can plot the finite element mesh on surfaces or within 3D objects. 1.

Select a surface or object to create the mesh plot on or within. If it does not exist, create it.

2.

On the HFSS menu, point to Fields, and then click Plot Mesh. The Create Mesh Plot dialog appears.

3.

Enter a name, or accept the default name.

4.

Select the solution to use from the drop down list and click Done. The mesh appears on the surface or object you selected. An icon for the mesh also appears in the Project tree under Field Overlays -- Mesh Plots. If a solution is ongoing, you can select the Mesh Plots icon in the in the Project tree, right-click to display the shortcut menu, and click Update Plots. This updates the mesh plot to latest data available. After the last adaptive pass, the Mesh plot is automatically updated. You can modify an existing plot by selecting the plot and changing the properties.

Related Topics Setting Mesh Plot Attributes

Setting Mesh Plot Attributes 1.

On the HFSS menu, point to Field Overlays, and then Modify Plot Attributes

.

The Select Folder window appears. 2.

Select the folder containing the mesh plot you want to modify, and then click OK. All plots in the selected folder will be modified. A dialog box with mesh plot attribute settings appears.

3.

Click the mesh plot you want to modify in the Plot list.

4.

Use the Scale factor slider to increase (move to the right) or decrease (move to the left) the percentage of the tetrahedra size. For example, a scale factor of 80% draws the tetrahedra at 80% of their original size.

5.

Use the Transparency slider to increase (move to the right) or decrease (move to the left) the transparency of the plot. This is useful for viewing objects or plots behind the current plot.

15-136 Post Processing and Generating Reports

HFSS Online Help

6.

Select one of the following display options: Wire frame

Draws wireframe outlines of the tetrahedra.

Shaded

Draws shaded tetrahedra.

Add Grid

Displays the mesh.

7.

Under Mesh color, click the Line color box, and then select a color for the outline of the tetrahedra from the Color palette.

8.

Under Mesh color, click the Filled color box, and then select a color to fill the tetrahedra with from the Color palette.

9.

Select Surface Only to only display the faces of tetrahedra that lie on object surfaces. Clear this option to draw all tetrahedra inside selected objects.

10. Click Save as default if you want the tab’s settings to apply to mesh plots created after this point. 11. 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. 12. Click Close to dismiss the dialog box. Related Topics Plotting the Mesh

Post Processing and Generating Reports 15-137

HFSS Online Help

15-138 Post Processing and Generating Reports

16 Technical Notes

The simulation technique used to calculate the full 3D electromagnetic field inside a structure is based on the finite element method. Although its implementation is largely transparent, a general understanding of the method is useful in making the most effective use of HFSS. The HFSS Technical Notes provide an overview of the finite element method and its implementation in HFSS. They also describe how modal S-parameters are computed from the simulated electric and magnetic fields and how they can be converted to "nodal" or "voltage" based pseudo-Sparameters used in circuit theory. Information is included on the following:

• • • • • •

The Finite Element Method The HFSS Solution Process S-Parameters Radiated Fields Geometric Objects Boundaries

• • • • • • •

Excitations Materials Parametric Analysis Optimization Analysis Sensitivity Analysis Tuning Analysis Modes to Nodes Conversion

Technical Notes 16-1

HFSS Online Help

The Finite Element Method In order to generate an electromagnetic field solution, HFSS employs the finite element method. In general, the finite element method divides the full problem space into thousands of smaller regions and represents the field in each sub-region (element) with a local function. In HFSS, the geometric model is automatically divided into a large number of tetrahedra, where a single tetrahedron is a four-sided pyramid. This collection of tetrahedra is referred to as the finite element mesh.

Representation of a Field Quantity The value of a vector field quantity (such as the H-field or E-field) at points inside each tetrahedron is interpolated from the vertices of the tetrahedron. At each vertex, HFSS stores the components of the field that are tangential to the three edges of the tetrahedron. In addition, HFSS can store the component of the vector field at the midpoint of selected edges that is tangential to a face and normal to the edge (as shown below). The field inside each tetrahedron is interpolated from these nodal values. The components of a field that are tangential to the edges of an element are explicitly stored at the vertices. The component of a field that is tangential to the face of an element and normal to an edge is explicitly stored at the midpoint of selected edges. The value of a vector field at an interior point is interpolated from the nodal values. By representing field quantities in this way, the system can transform Maxwell’s equations into matrix equations that are solved using traditional numerical methods.

Basis Functions Various interpolation schemes, or basis functions, can be used to interpolate field values from nodal values.



A first order tangential element basis function interpolates field values from both nodal values at vertices and on edges. First order tangential elements have 20 unknowns per tetrahedron.



A zero order basis function makes use of nodal values at vertices only — and therefore assumes that the field varies linearly inside each tetrahedron. Zero order tangential elements have six unknowns per tetrahedron.



A second order tangential element interpolates field values from nodal values at vertices, on edges and on faces.

16-2 Technical Notes

HFSS Online Help

Second order tangential elements have 45 unknowns per tetrahedron

Size of Mesh Vs. Accuracy There is a trade-off among the size of the mesh, the desired level of accuracy, and the amount of available computing resources. The accuracy of the solution depends on the size of each of the individual elements (tetrahedra). Generally speaking, solutions based on meshes using thousands of elements are more accurate than solutions based on coarse meshes using relatively few elements. To generate a precise description of a field quantity, each element must occupy a region that is small enough for the field to be adequately interpolated from the nodal values. However, generating a field solution involves inverting a matrix with approximately as many elements as there are tetrahedra nodes. For meshes with a large number of elements, such an inversion requires a significant amount of computing power and memory. Therefore, it is desirable to use a mesh fine enough to obtain an accurate field solution but not so fine that it overwhelms the available computer memory and processing power. To produce the optimal mesh, HFSS uses an iterative process, called an adaptive analysis, in which the mesh is automatically refined in critical regions. First, it generates a solution based on a coarse initial mesh. Then, it refines the mesh in areas of high error density and generates a new solution. When selected parameters converge to within a desired limit, HFSS breaks out of the loop.

Technical Notes 16-3

HFSS Online Help

The HFSS Solution Process To calculate the S-matrix associated with a structure with ports, HFSS does the following:

• •

Divides the structure into a finite element mesh. Computes the modes on each port of the structure that are supported by a transmission line having the same cross-section as the port.



Computes the full electromagnetic field pattern inside the structure, assuming that one mode is excited at a time.



Computes the generalized S-matrix from the amount of reflection and transmission that occurs.

The resulting S-matrix allows the magnitude of transmitted and reflected signals to be computed directly from a given set of input signals, reducing the full 3D electromagnetic behavior of a structure to a set of high frequency circuit parameters.

The Mesh Generation Process Following is the general mesh generation process: 1.

HFSS generates an initial mesh, which includes surface approximation settings. If necessary, the mesher will automatically perform any repairs needed to recover an accurate mesh representation of a model. The solution profile will indicate when mesh repairs have been made, and the results of these repairs will be displayed per object in the mesh statistics panel.

2.

If lambda refinement was requested, HFSS refines the initial mesh based on the materialdependent wavelength.

3.

Any mesh operations that were defined are used to refine the mesh.

4.

If ports were defined, HFSS iteratively refines the 2D mesh at the ports.

5.

Using the resulting mesh, HFSS computes the electromagnetic fields that exist inside the structure when it is excited at the solution frequency.

6.

If you are performing an adaptive analysis, HFSS uses the current finite element solution to estimate the regions of the problem domain where the exact solution has strong error. Tetrahedra in these regions are refined.

7.

HFSS generates another solution using the refined mesh.

8.

HFSS recomputes the error, and the iterative process (solve — error analysis — adaptive refinement) repeats until the convergence criteria are satisfied or the maximum number of adaptive passes is completed.

9.

If a frequency sweep is being performed, then HFSS solves the problem at the other frequency points without further refining the mesh. An adaptive solution is performed only at the specified solution frequency.

Note

16-4 Technical Notes

HFSS does not generate an initial mesh each time it starts the solution process. The initial mesh is generated only if a current mesh is unavailable.

HFSS Online Help

Related Topics Reverting to the Initial Mesh Seeding the Mesh Guidelines for Seeding the Mesh Length-Based Mesh Refinement Skin Depth-Based Mesh Refinement Surface Approximation Settings Guidelines for Modifying Surface Approximation Settings Meshing Region Vs. Problem Region Mesh Refinement on Ports Model Resolution

Seeding the Mesh In HFSS, mesh operations are optional mesh refinement settings that enable you to provide HFSS with engineering guidance based on your knowledge of the parts of the model geometry that are critical to the structure’s electromagnetic performance. Providing such guidance to HFSS prior to beginning the adaptive analysis process can reduce (sometimes extensively) the number of passes necessary to converge upon a field solution as well as the final number of tetrahedra in the mesh for that solution. Although adaptive analysis convergence targets areas where field behavior is found, refining the mesh using more than the standard criteria, such as material characteristics, can result in finding areas of critical field behavior as soon as the first few passes are solved. The technique of guiding HFSS’s mesh construction is referred to as "seeding" the mesh. Seeding is performed using the Mesh Operations commands on the HFSS menu. You can instruct HFSS to refine the length of tetrahedral elements on a surface or within a volume until they are below a certain value (length-based mesh refinement) or you can instruct HFSS to refine the surface triangle length of all tetrahedral elements on a surface or volume to within a specified value (skin depth-based mesh refinement.) These types of mesh operations can be defined at any time. If you apply them before the adaptive solution process, they are used to refine the initial mesh after it has been generated. You can also choose to apply mesh operations without generating a solution, in which case the mesh operations are applied to the current mesh. In a few circumstances, you may also want to define a mesh operation that modifies HFSS’s surface approximation settings for one or more faces. Surface approximation settings are only applied to the initial mesh. Related Topics Defining Mesh Operations Technical Notes: The Mesh Generation Process

Guidelines for Seeding the Mesh While seeding the mesh is not required, it is useful in the following conditions:



Seeding the mesh inside a volume in the model geometry where regions of strong electric Technical Notes 16-5

HFSS Online Help

or magnetic fields (with strong capacitive or inductive loading) are expected. Examples include a capacitively loaded gap in a resonant structure, sharp waveguide angles or corners, or gaps between multi-coupled lines in filter structures.



Seeding the mesh on every face of higher aspect ratio boundaries, such as long PCB traces or on the surfaces of long wires. Spacing the mesh points roughly equal to the trace width of the wire diameter enables you to more accurately capture the behavior of the highaspect structure from the first adaptive pass.

Related Topics Defining Mesh Operations

Length-Based Mesh Refinement When you request length-based mesh refinement, you instruct HFSS to refine the length of tetrahedral elements until they are below a specified value. The length of a tetrahedron is defined as the length of its longest edge. You can specify the maximum length of tetrahedra on faces or inside of objects. You can also specify the maximum number of elements that are added during the refinement. When the initial mesh has been generated, the refinement criteria you specified will be used to refine the initial mesh. Related Topics Assigning Length-Based Mesh Refinement on Object Faces Assigning Length-Based Mesh Refinement Inside Objects

Skin Depth-Based Mesh Refinement When you request skin depth-based mesh refinement, you instruct HFSS to refine the surface triangle length of all tetrahedral elements on a face to within a specified value. A layered mesh is created based on the surface mesh. The layers are graded based on the skin depth and number of layers you specify. During skin depth-based mesh refinement, HFSS creates a series of layers that are planes parallel to the object face, and that are spaced within the specified skin depth. For each point on the surface of the face, a series of points (P0, P1, P2, ..., Pn) are added to the mesh, where n is the number of layers. P0 is the point on the surface and the distance from P0 to Pn is the skin depth. The points are spaced in a non-uniform manner, with the distance between them decreasing in a geometric progression, as you move from Pn to P0. For example, if Skin Depth:

12 mm

Number of Layers of Elements:

4

16-6 Technical Notes

HFSS Online Help

then Distance [P0,P1]:

0.8 mm.

Distance [P1,P2]:

1.6 mm.

Distance [P2,P3]:

3.2 mm.

Distance [P3,P4]:

6.4 mm.

Distance [P0,P4]:

0.8 + 1.6 + 3.2 + 6.4 = 12 mm

The skin depth-based refinement first satisfies the surface triangle edge length criterion, then introduces the series of points to each additional layer. If a limit has been placed on mesh growth, one of the following happens:

• •

The limit is set high enough to complete the skin depth refinement.



The limit is not set high enough to satisfy even the surface triangle edge length criterion.

The limit is set high enough to satisfy the surface triangle edge length criterion, but not high enough to complete the depth seeding.

Because refining by skin depth can add many seeding points, you should first refine the surface of the object using length-based mesh refinement to obtain an accurate count of the number of points HFSS will add when refining by skin depth. This allows you to reach the surface edge length criterion and approximate the number of elements in the mesh and the number of points on the surfaces before proceeding to skin depth seeding. The refinement criteria you specified are used to refine the current mesh. Related Topics Assigning Skin Depth-Based Mesh Refinement on Object Faces

Surface Approximation Settings Object surfaces in HFSS may be planar, cylindrical or conical, toroidal, spherical, or splines. The original model surfaces are called true surfaces. To create a finite element mesh, HFSS first divides all true surfaces into triangles. These triangulated surfaces are called faceted surfaces because a series of straight line segments represents each curved or planar surface. For planar surfaces, the triangles lie exactly on the model faces; there is no difference in the location or the normal of the true surface and the meshed surface. When an object’s surface is non-planar, the faceted triangle faces lie a small distance from the object’s true surface. This distance is called the surface deviation, and it is measured in the model’s units. The surface deviation is greater near the triangle centers and less near the triangle vertices. The normal of a curved surface is different depending on its location, but it is constant for each triangle. (In this context, "normal" is defined as a line perpendicular to the surface.) The angular difference between the normal of the curved surface and the corresponding mesh surface is called the normal deviation and is measured in degrees. The aspect ratio of triangles used in planar surfaces is based on the ratio of circumscribed radius to the in-radius of the triangle. It is unity for an equilateral triangle and approaches infinity as the triangle becomes thinner. Technical Notes 16-7

HFSS Online Help

You can modify the surface deviation, the maximum permitted normal deviation, and the maximum aspect ratio of triangles settings on one or more faces at a time in the Surface Approximation dialog box. (Click HFSS>Mesh Operations>Assign>Surface Approximation.) The surface approximation settings are applied to the initial mesh. Note

For the initial mesh, all the vertices of the triangles lie on the true surfaces. During adaptive meshing, the vertices are added to the meshed surfaces, not to the true surfaces.

Related Topics Modifying Surface Approximation Settings Technical Notes: Guidelines for Modifying Surface Approximation Settings Technical Notes: The Mesh Generation Process

Guidelines for Modifying Surface Approximation Settings If you intend to modify the surface approximation settings for an object face or faces, keep the following guidelines in mind:



When necessary, override the default surface approximation settings to represent curved surfaces more accurately. More accurate representation will increase the mesh size and consume more CPU time and memory. The default settings are adequate for most circumstances.



If you want to obtain a faster solution by using a cruder representation of curved surfaces, set the coarser setting for the whole object, not just a single face.



It is difficult for HFSS to satisfy aspect ratio demands if the aspect ratio value is set close to 1 because an arbitrary shape cannot be filled with only equilateral triangles. Therefore, setting the aspect ratio to 1 can lead to unreasonably large meshes. HFSS limits the aspect ratio to 4 for planar objects and 1.2 for curved objects.

Related Topics Modifying Surface Approximation Settings Technical Notes: Surface Approximation Settings

Meshing Region Vs. Problem Region HFSS distinguishes between the problem region and the meshing region. The problem region is the region in which the solution is generated and the mesh is refined. The meshing region, which includes the problem region, is the area in which an initial mesh is generated. After an initial mesh is generated, the mesh is refined only in the problem region. The problem region encompasses an area that is just large enough to include the entire design, but no larger. HFSS automatically defines the problem region during the solution process. If you are interested in effects outside of the structure, such as radiated effects, then you can create a virtual object to expand the size of the problem region to include these areas. The meshing region, like the problem region, is a box that completely encloses the structure. However the meshing region must be at least 10 times larger than the model. The part of the meshing 16-8 Technical Notes

HFSS Online Help

region not occupied by objects is considered to be the background object. The background extends to the boundaries of the meshing region and fills in any voids not occupied by objects. Since the background object is defined as a perfect conductor, no solution is generated inside the background even though an initial mesh is generated for it. HFSS automatically defines the meshing region during the solution process. The problem region and the meshing region are illustrated below.

Problem Region Meshing Region

Device Perfect Conductor

Background Object

Model Resolution Model Resolution is a setting that determines the smallest details of a model that the mesher should capture and represent in the mesh. Many times the analysis starts with the geometry already drawn in a different tool for different purpose. Some tools are designed for manufacturing and the resulting models contain lots of extra details not needed for electromagnetic analysis. If the user removes such details in the original tool the results will be better. But if the user does not have access to the original drawing tool or redrawing the model without these details is not possible, Model Resolution is another way to remove the details from analysis. When the user sets the model resolution length to be L, the mesher will start with a surface representation of the model accurate to the modeler's tolerance limit. Then it will progressively remove edges, move points, merge points etc., within the allowable model resolution limit and simplify the surface mesh. During this process, tiny fillets, rounds, and chamfer protrusions are removed. Other common model translation anomalies are also handled using Model Resolution. For example, some geometry engines will blindly export all of the surfaces as splines. When a user imports such a model for analysis, it would result in very large number of triangles. If the surface can be represented by a smaller set of triangles using Model Resolution, this procedure would reduce the number of triangles in the surface mesh. The user can start with a model resolution length around 0.1*wavelength. If the model resolution length chosen by the user is too large, the mesher will detect it and report it as an error. The model resolution length is specified in the user units of the modeler. It can be set on selected bodies only. The default value is 100* the tolerance limit of the ACIS modeler. Technical Notes 16-9

HFSS Online Help

Related Topics Specifying Model Resolution

Port Solutions The excitation field pattern at each port must be calculated before the full 3D electromagnetic field inside a structure can be calculated. HFSS calculates the natural field patterns (or modes) that can exist inside a transmission structure with the same cross-section as the port. The resulting 2D field patterns serve as boundary conditions for the full 3D problem.

Excitation Fields HFSS assumes that each port is connected to a uniform waveguide that has the same cross-section as the port. Therefore, the excitation field is the field associated with traveling waves propagating along the waveguide to which the port is connected,

E ( x, y, z, t ) = ℜ [ E ( x, y )e

jωt – γz

].

where

• • •

ℜ is the real part of a complex number or function. E(x,y) is a phasor field quantity. γ=α + jβ is the complex propagation constant, where

• • • •

α is the attenuation constant of the wave. β is the propagation constant associated with the wave that determines, at a given time t, how the phase angle varies with z.

ω is angular frequency, 2πf. j is the imaginary unit,

–1 .

In this context, the x- and y-axes are assumed to lie in the cross-section of the port; the z-axis lies along the direction of propagation.

Wave Equation The field pattern of a traveling wave inside a waveguide can be determined by solving Maxwell’s equations. The following equation that the Wave module solves is derived directly from Maxwell’s equation

2 1---∇×E ( x, y )⎞ – k 0 ε r E ( x, y ) = 0, ⎠ μr where

• •

E(x,y) is a phasor representing an oscillating electric field. k0 is the free-space wave number,

ω μ0 ε0 = ω ⁄ c . • •

ω is the angular frequency, 2πf. ε0 is the permittivity of free space, 1/(c2μ0)

16-10 Technical Notes

HFSS Online Help

• •

μ r ( x, y ) is the complex relative permeability. ε r ( x, y ) is the complex relative permittivity.

When the Wave module solves this equation, it obtains an excitation field pattern in the form of a phasor solution, E(x,y). It also solves independently for H(x,y) using the corresponding wave equaγz tion in H. These phasor solutions are independent of z and t; only after being multiplied by e- do they become traveling waves. Also note that the excitation field pattern computed by the Wave module is valid only at a given frequency. A different excitation field pattern is computed for each frequency point of interest.

Mesh Refinement on Ports The Wave module treats its computation of the excitation field pattern as a 2D finite element problem. The mesh associated with each port is simply the 2D mesh of triangles corresponding to the face of tetrahedra that lie on the port surface. The Wave module performs an iterative refinement of this 2D mesh without calling the Meshmaker. The refinement procedure is as follows: 1.

Using the triangular mesh formed by the tetrahedra faces of the initial mesh, Wave calculates solutions for both the magnetic field, H, and the electric field, E.

2.

To determine if the 2D solution is accurate, wave uses the following equations:

∇×H = σE + jωεE ∇×E = – jωμH where H(x,y) and E(x,y) are phasors. 3.

Wave first calculates E and H independently using the appropriate wave equations. Next, it computes ∇ × H and compares the results to the solved E. It then computes ∇ × E and compares the results to the solved H.

4.

If the reciprocal comparison falls within an acceptable tolerance, the solution is accepted. Otherwise, the 2D mesh on the port face is refined and Wave performs another iteration.

5.

Any mesh points that have been added to the face of a port are read out to the existing mesh files. These points are incorporated into the full 3D mesh the next time the Meshmaker is called.

For a detailed understanding of the theory implemented by the Wave module, refer to the following: Jin-Fa Lee, Din-Kow Sun, and Zoltan J. Cendes, "Full-Wave Analysis of Dielectric Waveguides Using Tangential Vector Finite Elements," IEEE Transactions on Microwave Theory and Techniques, vol. 39, No 8, August 1991. Related Topics Technical Notes: The Mesh Generation Process

Modes For a waveguide or transmission line with a given cross-section, there is a series of basic field patterns, or modes, that satisfy Maxwell’s equations at a specific frequency. Any linear combiTechnical Notes 16-11

HFSS Online Help

nation of these modes can exist in the waveguide. By default, HFSS computes only the dominant mode field pattern. Related Topics Technical Notes: Mode Conversion Technical Notes: Modes, Reflections, and Propagation Technical Notes: Modal Field Patterns and Frequency

Mode Conversion In some cases it is necessary to include the effects of higher order modes because the structure acts as a mode converter. For example, if the mode 1 (dominant) field at one port is converted (as it passes through a structure) to a mode 2 field pattern at another, then it is necessary to obtain the S-parameters for the mode 2 field.

Modes, Reflections, and Propagation It is also possible for a 3D field solution generated by an excitation signal of one specific mode to contain reflections of higher order modes which arise due to discontinuities in the structure. If these higher order modes are reflected back to the excitation port or transmitted to another port, the S-parameters associated with these modes should be calculated. If the higher order mode decays before reaching any port — either because of attenuation from losses or because it is a non-propagating evanescent mode — there is no need to obtain the S-parameters for that mode. Therefore, one way to avoid the need for computing the S-parameters for a higher order mode is to include a length of waveguide in the model that is long enough for the higher order mode to decay in. For example, if the mode 2 wave associated with a certain port decays to near zero in 0.5 mm, then the "constant cross-section" portion of the geometric model leading up to the port should be at least 0.5 mm long. Otherwise, for accurate S-parameters, the mode 2 S-parameters must be included in the S-matrix. The length of the constant cross-section segment that has to be included in the model depends on the value of the mode’s attenuation constant, α.

Modal Field Patterns and Frequency The field patterns associated with each mode generally vary with frequency. However, the propagation constants and impedances always vary with frequency. When performing frequency sweeps, be aware that as the frequency increases, the likelihood of higher order modes being propagating modes also increases.

Multiple Ports on the Same Face Visualize a port face on a microstrip that contains two conducting strips side by side as two separate ports. If the two ports are defined as being separate, the system simulates the case in which the two ports are connected to uncoupled transmission structures. It is as if a conductive wall separates the excitation waves. However, in actuality, there will be electromagnetic coupling between the two strips.

16-12 Technical Notes

HFSS Online Help

To model this coupling accurately, analyze the two ports as a single port with multiple modes. In general, if there are N disconnected conductors in the port cross-section, at least N - 1 modes are required for an accurate solution. For example, if the port consists of two adjacent microstrip lines surrounded by a conducting enclosure, N = 3; therefore at least two modes should be defined on the port. Assign an equal number of terminals as modes. Refer to Assigning Wave Ports for Terminal Solutions for more information. If the multi-conductor port plane is near discontinuities within the 3D model, additional modes beyond N - 1 may be necessary. However, if you define terminals on a multi-conductor port, the presence of non-quasi transverse electromagnetic (TEM) modes will adversely affect the entries of any computed terminal matrices. Therefore, rather than increase the number of modes beyond the required N - 1, extend the port outward until any higher-order modes have sufficient attenuation to be omitted from consideration.

Port Field Accuracy Generally, the default Port Field Accuracy value, specified under the Ports tab of the Solution Setup dialog box, is adequate. You may want improved port accuracy under the following conditions:



You are interested primarily in the port impedances. Port impedances are computed as part of the port solution.



You need to lower the noise floor to catch S-parameters that are expected to be in the −70 dB range.

While HFSS uses the Port Field Accuracy value each time you request a ports-only solution, it only uses this value for the first full-field solution. This happens because a set of port solutions is computed at the beginning of the field solution process and then that set is used for all subsequent field solutions. Therefore, to specify a new port field accuracy for a field solution, add another solution setup and generate a new solution. Refining the mesh at the ports causes HFSS to refine the mesh for the entire structure as well. This occurs because it uses the port field solutions as boundary conditions when computing the full 3D solution. Therefore, specifying too small a port field accuracy can result in an unnecessarily complex finite element mesh.

Saving Field Solutions When specifying the frequency points to be solved during a sweep, you can specify whether you want to save the 3D field solutions associated with all port modes at each frequency. Because each additional field solution — those associated with higher order modes — increases the amount of required disk space by several megabytes, by default HFSS does not save the data for higher order modes unless you specifically request it do so. If you do not save the field solution, the associated mode will not be available as a source stimulation during post processing.

The Adaptive Analysis Process An adaptive analysis is a solution process in which the mesh is refined iteratively in regions where the error is high, which increases the solution’s precision. You set the criteria that control mesh Technical Notes 16-13

HFSS Online Help

refinement during an adaptive field solution. Many problems can be solved using only adaptive refinement. Following is the general process followed during an adaptive analysis: 1.

HFSS generates an initial mesh.

2.

Using the initial mesh, HFSS computes the electromagnetic fields that exist inside the structure when it is excited at the solution frequency. (If you are running a frequency sweep, an adaptive solution is performed only at the specified solution frequency.)

3.

Based on the current finite element solution, HFSS estimates the regions of the problem domain where the exact solution has strong error. Tetrahedra in these regions are refined.

4.

HFSS generates another solution using the refined mesh.

5.

HFSS recomputes the error, and the iterative process (solve — error analysis — refine) repeats until the convergence criteria are satisfied or the requested number of adaptive passes is completed.

6.

If a frequency sweep is being performed, HFSS then solves the problem at the other frequency points without further refining the mesh.

Maximum Delta S For designs with ports. The delta S is the change in the magnitude of the S-parameters between two consecutive passes. If the magnitude and phase of all S-parameters change by an amount less than the Maximum Delta S Per Pass value from one iteration to the next, the adaptive analysis stops. Otherwise, it continues until the requested number of passes is completed. For example, if you specify 0.1 as the Maximum Delta S Per Pass, HFSS continues to refine the mesh until the number of requested passes is completed or until the magnitude of the complex delta of all S-parameters changes by less than 0.1. The maximum delta S is defined as

N N – 1⎞ Max ij mag ⎛ S – S ⎝ ij ij ⎠ where:

• •

i and j cover all matrix entries. N represents the pass number. Note

Delta S is computed on the appropriate S-parameters - modal or terminal - after the Sparameters have been de-embedded and renormalized.

Related Topics Viewing the Maximum Magnitude of Delta S Between Passes

16-14 Technical Notes

HFSS Online Help

Maximum Delta E For designs with voltage sources, current sources, or incident waves. Not applicable to designs with ports. The delta E is the difference in the relative energy error from one adaptive solution to the next. It is a measure of the stability of the computed field values from pass to pass. As the solution converges, delta E approaches zero. The Maximum Delta E Per Pass value is a stopping criterion for the adaptive solution. If the delta E falls below this value, the adaptive analysis stops. Otherwise, it continues until the convergence criteria are reached. The data represents the delta E for all tetrahedra.

Percent of Tetrahedra Refined Per Pass The value you set for Percent Refinement Per Pass determines how many tetrahedra are added at each iteration of the adaptive refinement process. For instance, entering 10 causes the mesh to increase approximately 10 percent each pass. The tetrahedra with the highest error will be refined. If your mesh consisted of 1000 elements, the tetrahedra would be refined so that 100 new elements are added to the mesh. Generally, you can accept the default value.

Magnitude Margin For solutions in which convergence criteria for specific S-matrix entries were specified. For each element in the S-matrix, the magnitude margin is the difference between the S-parameter delta magnitude and the target delta magnitude, which was specified in the Matrix Convergence dialog box. The magnitude margin reported under the Convergence tab is the maximum of these values over the entire matrix. The magnitude margin is defined as

N N–1 Max ij magS – magS – magM ij ij ij where Mij is the matrix convergence entry. It indicates the solution’s proximity to the target delta magnitude. If the solution has converged within the target delta magnitude, a value of zero will be reported for the pass.

Phase Margin For solutions in which convergence criteria for specific S-matrix entries were specified. For each element in the matrix, the phase margin is the difference between the S-parameter delta phase and the target delta phase, which was specified in the Matrix Convergence dialog box. The phase margin reported under the Convergence tab is the maximum of these values over the entire matrix. The phase margin is defined as where Mij is the matrix convergence entry. The phase margin indicates the solution’s proximity to the target delta phase. If the solution has converged within the target delta phase, a value of zero will be reported for the pass. Technical Notes 16-15

HFSS Online Help

N N–1 Max ij phaseS – phaseS – phaseM ij ij ij

Note

When the Mag S becomes small (near to zero) its phase becomes indefinite and insignificance due to mathematical issue so that Phase Margin will be discarded.

Maximum Delta Frequency For Eigenmode solutions. At any time during the solution process, you can view the percent difference in the resonant frequencies from one adaptive solution to the next, or the maximum delta frequency. This is a measure of the stability of the computed frequencies from pass to pass and is available only two or more adaptive passes are completed. For lossless problems, the maximum delta frequency is the largest percent change in the real part of the frequency for any of the calculated modes. For lossy problems, the maximum delta frequency is the greater of two quantities: the largest percent change in the real part of the frequency over all the modes, and the largest percent change in the imaginary part of the frequency.

Max Delta (Mag S) For solutions in which convergence criteria for specific S-matrix entries were specified. The Max delta(Mag S) is the maximum difference of S-Matrix magnitudes between two consecutive passes. If the difference in magnitudes of the S matrices change by an amount less than the Maximum Delta Mag S value from one pass to the next, this satisfies the part of the convergence criteria.

N N – 1⎞ Max ⎛ MagS – MagS ⎝ ij ij ⎠ Max Delta (Phase S) For solutions in which convergence criteria for specific S-matrix entries were specified. The Max delta(Phase S) is the maximum difference of S-Matrix phase between two consecutive passes. If the difference in phase of the S matrices change by an amount less than the Maximum Delta Phase S value from one pass to the next, this satisfies this part of the convergence criteria.

Max ( PhaseS n – PhaseS n – 1 )

16-16 Technical Notes

HFSS Online Help

Matrix Solvers HFSS includes two solvers. The default solver and the Iterative Matrix Solver. See Enable Iterative Solver for a discussion of when to use the Interative Matrix solver. For details on the Iterative Matrix solver seeTechnical Notes: Iterative Matrix Solver.

Iterative Matrix Solver This section contains information on the Iterative Matrix Solver.

• • •

Guidelines for Using the Iterative Solver Multiprocessing and the Iterative Solver Iterative Solver Technical Details

Guidelines for Using the Iterative Solver 1.

The iterative solver works most efficiently when it is enabled for designs that do not contain many ports. (For example, the number of excitations is less than twice the number of processors.)

2.

If you choose to take advantage of the iterative solver, and your analysis includes interpolating sweeps or discrete sweeps, the adaptive solution should be well converged at the higher end of the frequency band.

3.

The Relative Residual provides a stopping criteria. The residual measures the convergence of the iterative solver to the solution of the matrix equation. Its value affects the performance of the iterative solver as follows:



Default is 1E-4. This gives accurate S-parameters and fields, indistinguishable from those generated by the direct solver. Ansoft recommends this residual.



With a larger residual, for example, 1E-3 or 1E-2, the iterative process will stop with fewer iterations and the solution will be less converged. S-parameters won't differ much from those of a direct solution, for example, a difference in third or second digit. Fields and antenna patterns are visually the same.



A residual of 0.1 can be used for quick adaptive mesh refinement early in the adaptive process, but S-parameters will be noticeably different.



A residual of 1 should never be used. The interface will not allow a residual above 0.1.

Multiprocessing and the Iterative Solver In computing the pre-conditioner, the iterative solver uses multiple processors, if set under Tools>Options>HFSS Options, just like the multi-frontal solver does. The operations involved are very similar. After that, there is one iterative process per excitation. Each iterative process can only use one processor. If you have one excitation and multiple processors, you will see that HF3D.exe uses only one processor at this stage. If you have multiple excitations and multiple processors, HF3D.exe will use multiple processors at this stage. For example, with four processors and eight excitations, HF3D will perform the iterative processes for four excitations first, and for the other set of four excitations next.

Technical Notes 16-17

HFSS Online Help

Iterative Matrix Solver Technical Details The iterative solver always saves significant memory - easily a factor two with simulations of intermediate size, and more with larger simulations. It is also faster than the multi-frontal solver with large simulations. The following table shows asymptotic behavior with large simulations. N = number of unknowns. This shows that the iterative solver has a better asymptotic behavior both in RAM and in time. Time

RAM

Multi-frontal Solver

N 1.7

N 1.3

Iterative Solver

N 1.2

N 1.0

The iterative solver uses a preconditioner that is based on the next-lower order. Therefore, there is no iterative solver option when you solve with zeroth order. Consider the matrix equation (1)

Ax = b where A is a matrix, b a right hand side and x the solution. −1

When A is computationally expensive or the exact solution x is impossible, an alternative is to seek an approximation x to x, with an error e = x − x . The exact solution can therefore be rewritten as (2)

x = x+e

Substituting (2) into (1) results in the so called residual equation (3)

Ae = r where r is the residual defined by (4)

r = b − Ax −1

As aforementioned, the exact solution for e in (3) is impossible since it requires A . However, if an approximation M ≈ A is available, the error e can be approximated in (3) by (5)

e = M -1r Finally, the approximation x is updated by (6)

x ← x+e

It is (4)-(6) that form the foundation of the iterative solution method. A matrix solver using the iterative solution method is called an iterative matrix solver. The method starts with an initial guess x = x0 and repeats (4)-(6) until the approximation x to x is within tolerance, or the number of 16-18 Technical Notes

HFSS Online Help

iterations exceeds a given number. In the former case, it is said the solution converges; while in the latter, it doesn’t. The residual r is used for measuring the closeness of x to x. Since A and b in (1) can be scaled by the same factor without altering x, so does the residual r in (4). It typically makes more sense to replace ||r|| as the stopping criterion with the relative residual: (7)

res =

where

r b

stands for vector norm.

M in (5) is called a preconditioner of A. A good preconditioner greatly reduces the number of iterations.The following makes M a good preconditioner: M is very similar to A in eigen spectrum and M −1 is computationally cheap. Some of the classic iterative matrix methods include: the Jacobi method where M is the diagonal of A, the Gauss-Seidel method where M is the lower triangular or upper triangular matrix of A and the successive over-relaxation method (SOR) where M is a weighted combination of the lower triangular and upper triangular matrix of A. In the iterative method, the major storage is for matrix A and for preconditioner M. The major operation is a matrix-vector multiplication in (4). The computational cost is S+mnT, where S is the number of operations for setting up the preconditioner, m the number of right hand sides, n the average number of iterations per right hand side and T the number of operations for each iteration. Details of the iterative solver are given in: D. K. Sun, J. F. Lee and Z. J. Cendes, "Construction of nearly orthogonal Nedelec bases for rapid convergence with multilevel preconditioned solvers", SIAM Journal on Scientific Computing, Vol. 23, No. 4, pp. 1053-1076, 2001. I. Bardi, G. Peng and Z.J. Cendes, "Improvements in Adaptive Mesh Refinement and Multi-level methods in High Frequency Electromagnetics", ACES Symposium, 2002. Related Topics Enable Iterative Solver

Single Frequency Solution A single frequency solution generates an adaptive or non-adaptive solution at a single frequency, the solution frequency specified in the Solution Setup dialog box, and is often the first step in performing a frequency sweep. An adaptive solution is one in which a finite element mesh is created

Technical Notes 16-19

HFSS Online Help

and automatically refined in the areas of highest error — increasing the accuracy of succeeding adaptive solutions. The procedure for performing a single frequency solution is shown below. Compute field solution inside structure due to excitation at ports for ω = ωtest

Create an initial mesh.

Refine the mesh inside the structure.

No

Compute excitation current pattern for each port at ω = ωtest. Adaptive analysis?

Test accuracy of excitation signal at each port by comparing∇x H to E and ∇ x E to H.

No

Refine the mesh at the ports.

Yes

Make circuit parameters and field distributions available.

Acceptable?

No

Yes

ΔS acceptable?

Yes

Frequency Sweeps Perform a frequency sweep when you want to generate a solution across a range of frequencies. You may choose one of the following sweep types: Fast

Generates a unique full-field solution for each division within a frequency range. Best for models that will abruptly resonate or change operation in the frequency band. A Fast sweep will obtain an accurate representation of the behavior near the resonance.

Discrete

Generates field solutions at specific frequency points in a frequency range. Best when only a few frequency points are necessary to accurately represent the results in a frequency range.

Interpolating

Estimates a solution for an entire frequency range. Best when the frequency range is wide and the frequency response is smooth, or if the memory requirements of a Fast sweep exceed your resources.

16-20 Technical Notes

HFSS Online Help

Fast Frequency Sweeps A Fast sweep generates a unique full-field solution for each division within a frequency range. Choose a Fast sweep if the model will abruptly resonate or change operation in the frequency band. A Fast sweep will obtain an accurate representation of the behavior near the resonance. HFSS uses the center frequency of the frequency range to select an appropriate eigenvalue problem with which to generate a solution for the entire Fast sweep. It then uses an Adaptive Lanczos-Padé Sweep (ALPS)- based solver to extrapolate the field solution across the requested frequency range from the center frequency field solution. HFSS uses the solution frequency as the center frequency if it is within the frequency range (greater than the Start frequency and less than the Stop frequency). Otherwise the middle of the frequency range is used as the center frequency. Be aware that HFSS 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. Also, the field solution at the center frequency is the most accurate. Depending upon the desired level of accuracy you require throughout the frequency range, you may wish to perform additional Fast sweeps at other center frequencies. The full-field solution is saved only at the center frequency, while the S-parameters are saved for every frequency point; however, the Fast sweep allows the you to post process fields for any frequency entries to the sweep range. The time required for a Fast sweep may be significantly greater than the time required for a single frequency solution. Note

When performing a Fast sweep, no port mode may cross cut-off in the frequency range. If this occurs, an error message appears listing the port and mode violating this condition.

Technical Notes 16-21

HFSS Online Help

The procedure for a Fast frequency sweep is shown below.

Select a proper mesh or adopt the mesh at the selected frequency.

Recover S-parameters "fsweep-part2"

Compute the ALPS matrices. "fsweep-part1"

Perform ports-only sweep at frequencies chosen by HFSS across the frequency range.

Invert the lowest order ALPS matrix. "Solver" Compute eigenvectors for ALPS system. "mr"

. Enable field post processing at any frequency within the sweep’s frequency range.

Discrete Frequency Sweeps A Discrete sweep generates field solutions at specific frequency points in a frequency range. For example, if you specify a range of 1000 MHz to 2000 MHz, then a Step Size of 2.5, the result would be solutions at 1000, 1250, 1500, 1750, and 2000 MHz. By default, the field solution is only saved for the final frequency point computed, which would be at 2000 MHz in this case. Select the Save Fields option when setting up the points to solve if you want to save the field solution for a specific point. The S-parameters are saved for every frequency point. The more steps you request, the longer it takes to complete the frequency sweep. Choose a Discrete sweep if only a few frequency points are necessary to accurately represent the results in a frequency range. Be aware that HFSS 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. Because the mesh for the adaptive solution is optimized only for the solution frequency, it is possible that the accuracy of the results could vary at frequencies significantly far away from this frequency. If you wish to minimize the variance, you can opt to use the center of the frequency range as the solution frequency. Then, after inspecting the results, run additional solutions with the solution frequency set to the critical frequencies. 16-22 Technical Notes

HFSS Online Help

The procedure for a Discrete frequency sweep is shown below, where n equally spaced frequencies are included in the sweep.

Set f = f0 Select a proper mesh or adopt the mesh at f0

Solve the problem. Recover the S-parameters

f = fnext

if F tolerance

Yes

No End

Solution Types Driven Modal Solution Choose the Driven Modal solution type when you want HFSS to calculate the modal-based Sparameters of passive, high-frequency structures such as microstrips, waveguides, and transmission lines. The S-matrix solutions will be expressed in terms of the incident and reflected powers of waveguide modes. Driven Terminal Solution Choose the Driven Terminal solution type when you want HFSS to calculate the terminal-based Sparameters of multi-conductor transmission line ports. The S-matrix solutions will be expressed in terms of terminal voltages and currents. Eigenmode Solution

16-24 Technical Notes

HFSS Online Help

Choose the Eigenmode solution type to calculate the eigenmodes, or resonances, of a structure. The Eigenmode solver finds the resonant frequencies of the structure and the fields at those resonant frequencies.

Eigenmode Solutions The Eigenmode solver can find the eigenmodes of lossy as well as lossless structures, and can calculate the unloaded Q of a cavity. Q is the quality factor, and is a measure of how much energy is lost in the system. Unloaded Q is the energy lost due to lossy materials. Because ports and other sources are restricted for eigenmode problems, the Q calculated does not include losses due to those sources. The following restrictions apply to Eigenmode solution designs:



The following excitations may not be defined: port, incident wave, voltage source, current source, and magnetic bias source.

• • • •

Radiation boundaries may not be defined. Frequency sweeps are not available. You may not view or plot the S-matrix data. Designs cannot include ferrite materials.

Related Topics Calculating the Resonant Frequency Calculating the Quality Factor Calculating the Free Space Wave Number

Calculating the Resonant Frequency Eigenmodes are the resonances of the structure. The eigenmode solver finds the resonant frequencies of the structure and the fields at those resonant frequencies. For a Driven Solution, HFSS solves the following matrix equation (for a lossless case): 2

Sx + k o Tx = b where

• • • •

S and T are matrices that depend on the geometry and the mesh. x is the electric field solution. ko is the free-space wave number. b is the value of the source defined for the problem.

However, in order to find the resonances of the structure, the eigenmode solver sets b to zero, and solves the equation 2

Sx + k o Tx = 0

Technical Notes 16-25

HFSS Online Help

for sets of (ko,x), one ko for every x. The variable x is still the electric field solution, and ko is the free space wave number corresponding to that mode. The wave number ko is related to the frequency of the resonant modes through the following: ,

ko c f = -------2π where

• •

c is the speed of light. f is the frequency of the wave.

Calculating the Quality Factor Q is the unloaded quality factor, and is a measure of how much energy is lost in the structure due to lossy materials. Because ports and other sources are restricted for Eigenmode solutions, the Q calculated does not include losses due to those sources. HFSS uses the following equation to calculate the approximate quality factor:

Mag ( freq )Q = ----------------------------2 ⋅ I m ( freq )

The Fields Calculator can also be used to calculate Q. In general, the equation for Q is

U Q = ( 2 π ) ( freq ) ---P where:

• •

U is the total energy stored in the cavity. P is the power lost, from resistive losses, for example.

Calculating the Free Space Wave Number The free space wave number ko is related to the frequency of the resonant modes and, for lossless problems, is calculated from 2

S x + ko T x = 0 where:

• • •

S and T are matrices that depend on the model geometry and the mesh. x is the electric field solution.

ko is the free space wave number.

Field Solutions During the iterative, adaptive solution process, the S-parameters typically stabilize before the full field solution. Therefore, when you are interested in analyzing the field solution associated with a structure, it may be desirable to use convergence criteria that are tighter than usual. 16-26 Technical Notes

HFSS Online Help

In addition, for any given number of adaptive iterations, the magnetic field (H-field) is less accurate than the solution for the electric field (E-field) because the H-field is computed from the E-field using the relationship

∇×E H = ------------– jωμ

.

Field Overlay Plots In HFSS, field overlays are representations of basic or derived field quantities on surfaces or objects. The objects on which you plot the fields may be pre-existing parts of the model geometry or they may be objects that you draw in post-processing mode. If you select a surface, HFSS will plot the field quantities on the surface. If you select an object, HFSS will plot the field quantities within the volume of the object. You can choose to create a scalar plot or a vector plot of the fields. A scalar plot uses shaded lines to illustrate the magnitude of field quantities on surfaces or volumes. A vector plot uses arrows to illustrate the magnitudes of the x-, y-, and z-components of field quantities.

Field Quantities The default field quantities that can be plotted, their definitions, and associated units are as follows: Field Quantity

Definition

Units

Mag E

The magnitude of the electric field, |E|(x,y,z,t).

V/m

Mag H

The magnitude of the magnetic field, |H|(x,y,z,t).

Amps/m

Mag Jvol

The magnitude of the current density, |J|(x,y,z,t), over the Amps/m2 volume.

Mag Jsurf

The magnitude of the current density, |J|(x,y,z,t), on the Amps/m surface.

Complex Mag E

The complex magnitude of the electric field, |E|(x,y,z).

Complex Mag H

The complex magnitude of the magnetic field, |H|(x,y,z). Amps/m

V/m

Complex Mag Jvol The complex magnitude of the current density, |J|(x,y,z), Amps/m2 over the volume. Complex Mag Jsurf The complex magnitude of the current density, |☺|(x,y,z), Amps/m on the surface. Vector E

The electric field, E(x,y,z,t).

V/m

Vector H

The magnetic field, H(x,y,z,t).

Amps/m

Vector Jvol

The current density, J(x,y,z), over the volume.

Amps/m2

Vector Jsurf

The current density, J(x,y,z), on the surface.

Amps/m

Vector Real Poynting

The Poynting vector, defined as E x H*.

W/m2

Technical Notes 16-27

HFSS Online Help

Local SAR

The specific absorption rate.

W/kg

Average SAR

The average specific absorption rate.

W/kg

Certification SAR

The IEEE specific absorption rate certification number. W/kg

Specifying the Phase Angle Specifying the phase angle at which the field quantity is calculated enables you to compute the real part of the field’s magnitude at different points in its cycle. These quantities can be represented in the form A ( x, y, z, t ) = A ( x, y, z ) cos ( ωt + θ ( x, y, z ) ) , where

• •

ω is the angular frequency at which the quantities are oscillating, specified during the solution. θ (x,y,z) is the phase angle (the offset from a cosine wave that peaks at t = 0).

Peak Versus RMS Phasors This section concerns how field quantities are represented within HFSS. Some users will not need this information, such as those who wish to know port S-parameters or relative amplitudes of field solutions. Those that wish to find absolute field values, for example, will need to review the difference between the two types of field representation, peak and RMS. HFSS solves in the frequency domain and obtains a phasor representation of the steady-state finite element field solution. Physical quantities such as the instantaneous (time domain) electric field are then obtained as derived quantities from the phasor representation. If Ex is the x-component of a "peak" phasor quantity representing a time-harmonic electric field, the physical electric field x-component at time t, denoted Ex(t), is computed from

Ex ( t ) = ℜ [ Ex e

jωt

]

where

• • • •

ℜ is the real part of a complex number or function. ω is angular frequency, 2πf. j is the imaginary unit,

–1 .

t is the time.

On the other hand, if Ex is an "RMS" phasor, an additional factor of follows:

Ex ( t ) = ℜ [ 2 Ex e

jωt

2 is required as

]

As a consequence of these equations, the peak physical field, max (Ex(t)) observed over a full time cycle is max ( E x ( t ) ) = E x for peak phasors and max ( E x ( t ) ) = 2 E x for RMS phasors.

16-28 Technical Notes

HFSS Online Help

Additionally, given field phasors E and H, to compute the time-averaged power flow through a surface, the normal component of the real part of the complex Poynting vector is integrated over the surface. The correct form of the complex Poynting vector S depends on which phasor representa1 tion is used. For peak phasors, S = --- E × H∗ .

2

For RMS phasors,

S = E × H∗ .

The conventions used by HFSS are as follows:

• •

Each propagating mode incident on a port contains 1 watt of time-averaged power.



Plane wave sources are specified in a peak sense. That is, if the plane wave magnitude is 5 V/ m, then the plane wave incident field magnitude is E ( t ) = 5 cos ( k ⋅ r + ωt ) .



Radiated power, as computed by the fields post processor, is a time-averaged quantity computed using the complex Poynting vector.



Phasors in the Fields Calculator are peak phasors. The Poynting vector button in the calculator

Circuit gap sources are specified in a peak sense. That is, if a voltage gap source magnitude is 5 volts, then the time domain circuit source behaves as v(t) = 5cosωt. Likewise for a current gap source.

1

therefore implements the Poynting vector for peak phasors, S = --- E × H∗ . Calculations 2 must adhere to the peak that compute either average or instantaneous time domain quantities phasor conventions.

Calculating the SAR The specific absorption rate (SAR) is a measure of the amount of electromagnetic energy absorbed in a lossy dielectric material. The SAR is a basic scalar field quantity that can be plotted on surfaces or objects in HFSS. HFSS uses the following equation to calculate the SAR: σ ∗ E2/(2ρ). where

• •

σ = the material’s conductivity. This is defined as:

σ bulk + ωε o ε r tgδ

ρ = the mass density of the dielectric material in mass/unit volume.

There are two types of SAR Field Overlay plots available in HFSS: local SAR, and average SAR. When calculating the local SAR, HFSS uses the equation above to calculate the SAR at each mesh point on an overlay plot. HFSS interpolates the values between the mesh points across the plot. When plotting the average SAR, for each mesh point on the plot, HFSS reports the SAR averaged over a volume that surrounds that point. The volume is determined by the settings for the material’s mass density and mass of the material surrounding each mesh point set in the Specific Absorption Rate Setting dialog box. The Certification SAR quantity provided in the Fields Calculator is a numerical modeling of the peak spatial-average SAR in the standard. When plotting the certification SAR, HFSS applies an IEEE standard procedure.1 The IEEE procedure makes the following assumptions:



The peak E-field will reside on the surface of the phantom. Technical Notes 16-29

HFSS Online Help



The volume used for the integration will be an equal sided cube contained completely inside the phantom with an axis normal to the surface at the location of the peak value of the local SAR.

Related Topics Modifying SAR Settings

1. IEEE std C95.3 -2002. Its title is "IEEE recommended practice for measurements and computations of radio frequency electromagnetic fields with respect to human exposure to such fields,100 kHz-300 GHz”". There are also international and European standards which are all similar. For a brief introduction to SAR standards, read "An Update on SAR Standards and the Basic Requirements for SAR Assessment" (http://conformity.com/artman/publish/feature_193.shtml). 16-30 Technical Notes

HFSS Online Help

S-Parameters Please see the following topics in this section: Renormalized S-Matrices Calculating Characteristic Impedance Renormalizing to Zpv or Zvi Impedances Calculating the PI Impedance Calculating the PV Impedance Calculating the VI Impedance Impedance Multipliers Calculating the S-Matrix Calculating the Z-Matrix Calculating the Y-Matrix Calculating the W-Element Calculating the Complex Propagation Constant (Gamma) Calculating the Effective Wavelength (Lambda) Calculating the Relative Permittivity (Epsilon) De-embedded S-Matrices

Renormalized S-Matrices Before a structure’s generalized S-matrix can be used in a high frequency circuit simulator to compute the reflection and transmission of signals, it must be normalized to the appropriate impedance. For example, if a generalized S-matrix has been normalized to 50 ohms, it can be used to compute reflection and transmission directly from signals that are normalized to 50 ohms. To renormalize a generalized S-matrix to a specific impedance, HFSS first calculates a unique impedance matrix Z, associated with the structure defined as follows:

Z =

–1

Z0 ( I – S ) ( I + S ) Z0

where

• • •

S is the n x n generalized S-matrix. I is an n x n identity matrix. Z0 is a diagonal matrix having the characteristic impedance (Z0) of each port as a diagonal value.

The renormalized S-matrix is then calculated from the unique impedance matrix using this relationship:

SΩ =

YΩ ( Z – ZΩ ) ( Z + ZΩ )

–1



where Technical Notes 16-31

HFSS Online Help

• •

Z is the structure’s unique impedance matrix. ZΩ and YΩ are diagonal matrices with the desired impedance and admittance as diagonal values. For example, if the matrix is being renormalized to 50 ohms, then ZΩ would have diagonal values of 50.

Visualize the generalized S-matrix as an S-matrix that has been renormalized to the characteristic impedances of the structure. Therefore, if a diagonal matrix containing the characteristic impedances of the structure is used as ZΩ in the above equation, the result would be the generalized Smatrix again. For information about renormalized terminal S-matrices, see Differential Pairs in the Technical Notes. HFSS needs to calculate the characteristic impedance of each port in order to compute a renormalized S-matrix. Related Topics Renormalizing S-Matrices

Calculating Characteristic Impedance Each port in a structure being analyzed can be viewed as a cross-section of a transmission line. HFSS computes the characteristic impedance of each port in three ways — as Zpi, Zpv, and Zvi impedances. You have the option of specifying which impedance will be used in the renormalization calculations.



For TEM waves, the Zvi impedance converges on the port’s actual impedance and should be used.

• •

When modeling microstrips, it is sometimes more appropriate to use the Zpi impedance. For slot-type structures (such as inline or coplanar waveguides), Zpv impedance is the most appropriate.

HFSS will always calculate Zpi impedance, the impedance calculation using power and current, which are well-defined for a port because they are computed over the area of the port. Zpv and Zvi are not calculated by default. This is because V is computed by integrating along a user-defined integration line. To renormalize the solution to a Zpv or Zvi characteristic impedance, you must have defined an impedance line. Under the Matrix Data tab of the Solution Data dialog box, the characteristic impedance can be displayed as magnitude/ phase, real/ imaginary, magnitude, phase, real, or imaginary. For more information on the computation of impedances, refer to the following: Bruno Bianco, Luigi Panini, Mauro Parodi, and Sandro Ridella, "Some Considerations about the Frequency Dependence of the Characteristic Impedance of Uniform Microstrips," IEEE Transactions on Microwave Theory and Techniques, vol. MTT-26 No. 3, March 1978. Edward F. Kuester, David C. Chang, and Leonard Lewin, "Frequency-Dependent Definitions of Microstrip Characteristic Impedance," International URSI Symposium on Electromagnetic Waves, Munich, 26-29 August 1980, pp. 335 B/1-3. 16-32 Technical Notes

HFSS Online Help

Renormalizing to Zpv or Zvi Impedances The S-matrices initially calculated by HFSS are generalized S-matrices that have been normalized to the impedances of each port; however, you can compute S-matrices that are normalized to specific impedances, such as 50 ohms. To convert a generalized modal S-matrix to a renormalized modal S-matrix, HFSS first needs to compute the characteristic impedance at each port. There are several ways to compute characteristic impedance. Two methods — the Zpv and Zvi methods — require an impedance, or integration, line. HFSS will always calculate Zpi impedance, the impedance calculation using power and current, which are well-defined for a port because they are computed over the area of the port. Zpv and Zvi are not calculated by default. This is because v is computed by integrating along a user-defined integration line. To renormalize the solution to a Zpv or Zvi characteristic impedance, you must define an integration line.

Calculating the PI Impedance The Zpi impedance is the impedance calculated from values of power (P) and current (I):

P Z pi = -------- . I⋅I

The power and current are computed directly from the simulated fields. The power passing through a port is equal to the following: P = E × Hds , where the surface integral is over the surface of the port. s

°∫

The current is computed by applying Ampere’s law to a path around the port:

I =

°∫ H • dl . l

While the net current computed in this way will be near zero, the current of interest is that flowing into the structure, I-, or that flowing out of the structure, I+. In integrating around the port, HFSS keeps a running total of the contributions to each and uses the average of the two in the computation of impedances.

Calculating the PV Impedance The Zpv impedance is the impedance calculated from values of power (P) and voltage (V):

V•V Z pv = ------------- , where the power and voltage are computed directly from the simulated fields. P The power is computed in the same way as the Zpi impedance. The voltage is computed as follows:

°∫

V = E • dl , over which HFSS integrates is referred to as the impedance line — which is definedl when the ports are set up. To define the impedance line for a port, select the two points across which the maximum voltage difference occurs. You must define an integration line to specify where the maximum voltage difference will be. Calculating the VI Impedance

The Zvi impedance is given by

Z vi =

Z pi Z pv . Technical Notes 16-33

HFSS Online Help

For TEM waves, the Zpi and Zpv impedances form upper and lower boundaries to a port’s actual characteristic impedance. Therefore, the value of Zvi approaches a port’s actual impedance for TEM waves.

Impedance Multipliers If a symmetry plane has been defined (allowing the model of a structure to be cut in half), the impedance computations must be adjusted by specifying an impedance multiplier. The need for this multiplier can be understood by looking at how the use of symmetry affects the computation of Zpv. In cases where a perfect E plane of symmetry splits a structure in two, only one-half of the voltage differential and one-half of the power flow can be computed by the system. Therefore, since the

V•V

Zpv impedance is given by Z pv = ------------- , the computed value is one-half the desired value. An P in such cases. impedance multiplier of 2 must be specified In cases where a perfect H plane of symmetry splits a structure in two, only one-half of the power flow is seen by the system but the full voltage differential is present. Therefore, structures split in half with perfect H symmetry planes result in computed impedances that are twice those for the full structure. An impedance multiplier of 0.5 must be specified in such cases. If multiple symmetry planes are used or if only a wedge of a structure is modeled, you must adjust the impedance multiplier accordingly. If you have defined a symmetry plane, the computed impedances will not be for the full structure. Generally, use one of the following values for the impedance multiplier:



If the structure has a perfect E plane of symmetry, use 2. Such models have one-half of the voltage differential and one-half of the power flow of the full structure, resulting in impedances that are one-half of those for the full structure.



If the structure has a perfect H plane of symmetry, enter 0.5. Such models have the same voltage differential but half the power flow of the full structure, resulting in impedances that are twice those for the full structure.



If the structure has a combination of perfect H and perfect E boundaries, adjust accordingly. For example, you do not have to enter an impedance multiplier for a structure with both a perfect E and perfect H boundary since you would be multiplying by 2 and 0.5.

Related Topics Setting the Impedance Multiplier

Calculating Terminal Characteristic Impedance Matrix See Converting Modes to Nodes.

Calculating the S-Matrix A generalized S-matrix describes what fraction of power associated with a given field excitation is transmitted or reflected at each port. The S-matrix for a three-port structure is as follows: where



All quantities are complex numbers.

16-34 Technical Notes

HFSS Online Help

b1

S 11 S 12 S 13 a 1

b 2 = S 21 S 22 S 23 a 2 b3 •

S 31 S 32 S 33 a 3

The magnitudes of a and b are normalized to a field carrying one watt of power.

• •

|ai|2 represents the excitation power at port i. |bi|2 represents the power of the transmitted or reflected field at port i.



The full field pattern at a port is the sum of the port’s excitation field and all reflected/transmitted fields.



The phase of ai and bi represent the phase of the incident and reflected/transmitted field at t=0.





∠a i represents the phase angle of the excitation field on port i at t = 0. (By default, it is zero for lossy port modes and lossless propagating modes. For lossless cut-off modes, it is 90.)



∠b i represents the phase angle of the reflected or transmitted field with respect to the excitation field.

Sij is the S-parameter describing how much of the excitation field at port j is reflected back or transmitted to port i. For example, S31 is used to compute the amount of power from the port 1 excitation field that is transmitted to port 3. The phase of S31 specifies the phase shift that occurs as the field travels from port 1 to port 3. Note

When the Wave module computes the excitation field for a given port, it has no information indicating which way is "up" or "down." Therefore, if the port mode has not been calibrated, the calculated S-parameters may be 180 degrees out of phase with the expected solution.

Under the Matrix Data tab of the Solution Data dialog box, the S-matrix can be displayed as magnitude/ phase, real/ imaginary, dB/ phase, magnitude, phase, real, imaginary, or dB.

Calculating the Z-Matrix The impedance matrix, Z, is calculated from the S-matrix as follows:

Z =

–1

Z0 ( I – S ) ( I + S ) Z0

where

• • •

S is the n x n generalized S-matrix. I is an n x n identity matrix. Z0 is a diagonal matrix having the characteristic impedance (Z0) of each port as a diagonal value.

Under the Matrix Data tab of the Display Items Dialog, the Z-matrix can be displayed as magnitude/ phase, real/ imaginary, magnitude, phase, real, or imaginary. Technical Notes 16-35

HFSS Online Help

Calculating the Y-Matrix The admittance matrix, Y, is simply the inverse of the impedance matrix, Z. Under the Matrix Data tab of the Solution Data dialog box, the Y-matrix can be displayed as magnitude/ phase, real/ imaginary, magnitude, phase, real, or imaginary.

Calculating the W-Elements For RLGC Format: RG parameters are frequency dependent such that HSPICE computes them as R(f) = Ro + Rs * sqrt(f) G(f) = Go + Gd * f where Ro is the low frequency resistance and Go is the low frequency conductance. Rs and Gd represent the high-frequency asymptotes due to skin effect and loss tangent, respectively. L and C are assumed to be fixed over the frequency band. Under some conditions, during W-Element export, HFSS may issue a warning that “One or more of the diagonal terms in the W-element matrix for some frequency are negative for a .” This signifies a non-physical result. A negative diagonal entry in the RLGC matrices indicates that the model is non-passive at that frequency (i.e. can produce energy, which is probably not realistic for a metal interconnect.) This can be caused by a number of things:

• •

Interpolating sweeps.

• •

Allowing radiation boundaries on the ports.

Non-causal dielectric material models, such as the traditional constant loss tangent, constant permittivity dielectric model. The Djordjevic or Debye models in HFSS would be the preferred ones to use here. Solving to a very low frequency (one so low that the field solution from the full-wave solver contains significant numerical errors.)

Calculating the Complex Propagation Constant (Gamma) Each port is assumed to be connected to a transmission structure that has the same cross-section as the port. The complex propagation constant, γ, of these transmission lines is computed by HFSS, and is given by γ = α + jβ , where:



α is the attenuation constant of a signal in the transmission structure. It is the real component of the propagation constant and has units of nepers per meter.



β is the phase constant associated with the wave. It is the imaginary component of the propagation constant and has units of radians per meter.

Under the Matrix Data tab of the Display Items Dialog, gamma can be displayed as magnitude/ phase, real/ imaginary, magnitude, phase, real, or imaginary.

16-36 Technical Notes

HFSS Online Help

Calculating the Effective Wavelength (Lambda) The effective wavelength, λeff, is calculated from

2π λ eff = -----β

where β is the phase constant associated with the wave. Under the Matrix Data tab of the Solution Data dialog box, lambda is displayed when Gamma is selected as the matrix type.

Calculating the Relative Permittivity (Epsilon) The relative permittivity, εr, is calculated using

c λ eff = ---------εr f where λeff is the effective wavelength given in meters.

• • •

c is the speed of light. f is the frequency of the wave.

Under the Matrix Data tab of the Solution Data dialog box, epsilon is displayed when Gamma is selected as the matrix type.

De-embedded S-Matrices If a uniform length of transmission line is added to (or removed from) a port, the S-matrix of the γl S γl , modified structure can be calculated using the following relationship S' =

e

e

where



e

γl is a diagonal matrix with the following entries:

e

γ1 l1

0 0

0 e

0

γ2 l2

0

0 e

γ3 l3



γ=α + jβ is the complex propagation constant, where:



• α is the attenuation constant of the wave. • β is the propagation constant of the uniform transmission line at port i. lι is the length of the uniform transmission line that has been added to or removed from the structure at port i. A positive value indicates that a length of transmission line has been removed from the structure.

The value of γ for each port is automatically calculated by HFSS. Technical Notes 16-37

HFSS Online Help

Related Topics De-embedding S-Matrices

Passivity Passive devices can only dissipate or temporarily store energy, but never generate it. The mathematical definition of passivity is based upon the following condition: Q = I - conjugate(transpose(S)) * S must be a positive semidefinite matrix. where:

• •

S is the S-parameter matrix I is an identity matrix.

A positive semidefinite matrix has only non-negative eigenvalues. The passivity test computes the eigenvalues of the matrix Q above at each frequency in the sweep. If any of the eigenvalues is negative, and larger (in magnitude) than the specified passivity tolerance, then a violation of passivity is reported to the user. The default value for passivity tolerance is 5 percent tolerance above 1.0 magnitude.

16-38 Technical Notes

HFSS Online Help

Radiated Fields When HFSS calculates radiation fields, the values of the fields over the radiation surface are used to compute the fields in the space surrounding the device. This space is typically split into two regions — the near-field region and the far-field region. The near-field region is the region closest to the source. In general, the electric field E(x,y,z) external to the region bounded by a closed surface may be written as

E ( x, y, z ) = ∫ ( 〈 jωμ 0 H tan〉 G + 〈 E tan × ∇G〉 + 〈 E normal ∇G〉 ) ds s

where

• • • • • • • •

s represents the radiation boundary surfaces. j is the imaginary unit,

–1 .

ω is the angular frequency, 2πf. μ0 is the relative permeability of the free space, 4π×10-7 Wb/Am. Htan is the component of the magnetic field that is tangential to the surface. Enormal is the component of the electric field that is normal to the surface. Etan is the component of the electric field that is tangential to the surface. G is the free space Green’s function, given by

– jk 0 r – r ′

μr εr

e G = ------------------------------------r – r′ where



k0 is the free space wave number,

ω μ0 ε0 = ω ⁄ c . • • • •

r and

r ′ represent field points and source points on the surface, respectively.

ε0 is the permittivity of free space, 1/(c2μ0) εr is the relative permittivity of a dielectric. μr is the relative permeability of a dielectric.

This r dependence is characteristic of a spherical wave, a key feature of far fields. The far field is a spherical TEM wave with the following equation:

E = η 0 H × rˆ . where η0 is the intrinsic impedance of free space.

Technical Notes 16-39

HFSS Online Help

When calculating the near fields, HFSS uses the general expressions given in (eq. 1). You must specify the radial coordinate r. Because it can be used to compute fields at an arbitrary radius from the radiating structure, this command can be useful in EMC applications. Note

If HFSS calculates the near fields in a problem containing an incident wave, the radius at which the fields are calculated is very important. If the radius is within the solution region, then the fields calculated are either the total fields or the scattered fields depending upon which is selected. If the radius is outside the solution region, then the fields calculated are only the scattered fields.

When calculating the far fields, the previously discussed far-field approximations are used, and the result is valid only for field points in the far-field region. Warning

A radiation or PML boundary must have been defined in the design for HFSS to calculate radiated fields.

Related Topics Assigning Boundaries Assiging Excitations Spherical Cross-Sections Maximum Near Field Data Selecting a Far Field Quanity to Plot

Spherical Cross-Sections When you set up a spherical surface over which to analyze near or far fields, you specify a range and step size for phi and theta. These indicate the spherical direction in which you want to evaluate the radiated fields. For every value of phi there is a corresponding range of values for theta, and vice versa. This creates a spherical grid. Each grid point indicates a unique direction along a line that extends from the center of the sphere through the grid point. The radiated field is evaluated in this direction. The number of grid points is determined by the step size for phi and theta. The sphere can be defined according to any defined coordinate system and before or after a solution has been generated.

16-40 Technical Notes

HFSS Online Help

The relationship between phi and theta is shown below.

z

φ is rotated away from the x-axis. θ is rotated away from the z-axis. θ φ x

y

When HFSS evaluates the radiated fields, it needs at least two directions along which to plot the fields. Therefore, if the step size for phi is zero, then the step size for theta must be greater than zero, and vice versa. This ensures that the fields are plotted in at least two directions. When setting up the sphere, phi and theta angles must be specified between -360 degrees (deg) and 360 degrees (deg), or the equivalents in radians (rad). If deg nor rad is specified, HFSS assumes the value to be in degrees. Following are additional guidelines for specifying Phi in the Near Field Radiation Sphere Setup window or the Far Field Radiation Sphere Setup window: Start

The point where the rotation of phi begins. The Start value must be equal to or greater than one.

Stop

The point where the rotation of phi ends. The Stop value must be greater than the Start value and less than 360. If the Stop value is equal to the Start value, then HFSS assumes that only one angle should be used and the Step Size value will be ignored.

Step Size

The number of degrees or radians (spherical grid points) between the sweep of phi. For example, to divide a sweep from 0° to 180° into 10° increments, you would enter 10. Entering zero for the Step Size causes the sweep to consist of one point, the start value. If the Step Size value is zero, then HFSS assumes that only one angle should be used.

Technical Notes 16-41

HFSS Online Help

Following are additional guidelines for specifying Theta: Start

The point where the rotation of theta begins. The Start value must be greater than 90 degrees, or the equivalent in radians.

Stop

The point where the rotation of theta ends. The Stop value must be greater than the Start value and less than 90 degrees, or the equivalent in radians. If the Stop value is equal to the Start value, HFSS assumes that only one angle should be used and the Step Size value will be ignored.

Step Size

The number of degrees or radians (spherical grid points) between the sweep of theta. For example, to divide a sweep from -60 degrees to 60 degrees into 10degree increments, you would enter 10deg. Entering zero for the number of steps causes the sweep to consist of one point, the Start value. If the Step Size value is zero, then HFSS assumes that only one angle should be used.

Related Topics Setting up a Far-Field Infinite Sphere Setting up a Near-Field Sphere

Maximum Near-Field Data The parameters listed in the Max Field Data window remain the same regardless of the geometry over which they were calculated. However, the coordinates displayed change depending on the geometry. On a sphere, the coordinates — phi and theta — of the maximum value are listed under Phi and Theta. The values are given in volts per meter. Along a line, the coordinates — x, y, and z — of the maximum values are listed under X, Y, and Z. The values are given in volts per meter, and the coordinates are given in meters. The following parameters are listed: Total

The maximum of the total E-field.

X

The maximum E-field in the x-direction.

Y

The maximum E-field in the y-direction.

Z

The maximum E-field in the z-direction.

Phi

The maximum E-field in the φ-direction.

Theta

The maximum E-field in the θ-direction.

LHCP

The maximum left-hand circularly polarized component, which is equal to

16-42 Technical Notes

1-----( E θ – jE φ ) . 2

HFSS Online Help

RHCP

The maximum right-hand circularly polarized component, which is equal to

1-----( E θ + jE φ ) . 2

Ludwig 3/X dominant

The maximum of the dominant component, Vmain, for an x-polarized aperture using Ludwig’s third definition of cross polarization. This is equal to |Eθcosφ - Eφsinφ|.

Ludwig 3/Y dominant

The maximum of the dominant component, Vmain, for a y-polarized aperture using Ludwig’s third definition of cross polarization. This is equal to |Eθsinφ + Eφcosφ|.

Maximum Far-Field Data When HFSS calculates antenna parameters, the following maximum field data is calculated: Total

The maximum of the total rE-field.

X

The maximum rE-field in the x-direction.

Y

The maximum rE-field in the y-direction.

Z

The maximum rE-field in the z-direction.

Phi

The maximum rE-field in the φ-direction.

Theta

The maximum rE-field in the θ-direction.

LHCP

The maximum left-hand circularly polarized component, which is equal to

1-----( E θ – jE φ ) . 2 RHCP

The maximum right-hand circularly polarized component, which is equal to

1-----( E θ + jE φ ) . 2 Ludwig 3/X dominant

The maximum of the dominant component, Vmain, for an x-polarized aperture using Ludwig’s third definition of cross polarization. This is equal to |Eθcosφ - Eφsinφ|.

Ludwig 3/Y dominant

The maximum of the dominant component, Vmain, for a y-polarized aperture using Ludwig’s third definition of cross polarization. This is equal to |Eθsinφ + Eφcosφ|.

When calculating the maximum far field values, the distance r is factored out of the E-field. Therefore, the units for the maximum field data values are given in volts.

Technical Notes 16-43

HFSS Online Help

Array Factors HFSS enables you to compute antenna array radiation patterns and antenna parameters for designs that have analyzed a single array element. You can define array geometry and excitation. HFSS models the array radiation pattern by applying an "array factor" to the single element’s pattern. Two array geometry types are supported. The "regular uniform array" geometry defines a finite 2D array of uniformly spaced, equal-amplitude elements. This is a natural specification after analyzing a single-unit cell of an infinite array. The regular array type may be scanned to a user-specified direction. Scan direction can be specified in terms of spherical coordinate angles in the radiation coordinate system. The regular array geometry type also allows scan specification in terms of differential phase shifts between elements. The "custom array" geometry allows for greater flexibility. It defines an arbitrary array of identical elements distributed in 3D space with individual user-specified complex weights. Cautionary Note for Array Factor Use The field factorization (eq. 1) and consequent use of an array factor are useful tools for analyzing the radiated fields of antenna arrays; however, the analysis can yield incorrect results if used improperly. An HFSS single array element solution does not generally take into account the effects of the element’s hypothetical neighbors. For closely spaced array elements, these proximity effects (mutual coupling) may be significant. Consequently the patterns of the array elements vary with their position in the array and may depart significantly from the isolated element pattern. In such cases, the primary assumption in the use of the array factor is violated and the results will be inaccurate. Note in particular that the array power expressions (eq. 13) and (eq. 14) neglect mutual coupling between elements of the finite array. Unless mutual coupling effects are negligible or have been implicitly included in the single element solution, the normalizations (eq. 13) and (eq. 14) gain and directivity are incorrect. Related Topics Defining Antenna Arrays Theory of the Array Factor Calculation Regular Uniform Arrays Scan Specification for Regular Uniform Array Custom Array Power Normalization

Theory of the Array Factor Calculation The composite far-field pattern, Earray (φ, θ) from an array of N identical radiating sources, each with far-field pattern Eelement (φ, θ), may be factored into the form (1) E array ( φ, θ ) = AF ( φ, θ ) E element ( φ, θ ) where the "array factor" AF (φ, θ) is defined as 16-44 Technical Notes

HFSS Online Help

(2)

N AF ( φ, θ ) =



Wn e

jk r n ⋅ rˆ

n=1 and where

• • • • • •

(φ, θ) are the field-point spherical angles.

Wn is the complex weight assigned to element n. j is

–1 .

k is 2π/λ. rn is the position vector of element n, .



is the pattern angle unit vector, .

The complex weights Wn in (eq. 2) may be written in terms of a (real) voltage amplitude An and (real) phase ψ n as:

(3)

Wn = An e

jψn .

To scan a regular array in the direction (φ0, θ0), the element phases

ψ n are set to

(4)

ψ n = – k r n ⋅ rˆo where

(5) rˆ0 =

is the scan-angle unit vector.

Regular Uniform Arrays Let us define a uniform array as an array with unity amplitude weights for all elements, i.e., An = 1 for all n. For the case in which a uniform array is scanned to direction rˆ 0 , the array factor (eq. 2) becomes

Technical Notes 16-45

HFSS Online Help

(6) N

AF ( φ, θ ) =



e

jkr n ⋅ ( rˆ – rˆ0 )

.

n=1

For a "regular" uniform array with element spacing defined by lattice vectors u and v, the element position vectors rn may be written in the doubly-indexed form (7)

r mn = ( m – 1 ) u + ( n – 1 ) v with m = 1, 2, ..., Nu and n = 1, 2, ...., Nv. The total number of elements in the array is given by N = NuNv. The array factor (eq. 6) for the Nu x Nv array becomes (8) Nu

AF ( φ, θ ) =

Nv

∑ ∑e

ˆ jkr mn ⋅ ( rˆ – r 0 )

.

m = 1n = 1

Scan Specification for Regular Uniform Arrays The scanning phase (eq. 4) is written in terms of the scan direction rˆ 0 . Alternatively, for a regular uniform array, the scanning phase may be written in terms of the differential phase shift between elements. This may be more natural in cases where the individual array element was analyzed using linked boundaries with user-specified phase shifts applied between master and slave boundaries. To develop this alternate scanning phase description, (eq. 7) is used to rewrite the expression (eq. 4) in doubly-indexed form as follows (9):

ψ mn = – k r mn ⋅ rˆ0 = – k ( m – 1 ) u ⋅ rˆ0 – k ( n – 1 ) v .⋅ rˆ0 Let us define ψu as the differential phase between adjacent elements in the u direction. Similarly, let us define ψv as the differential phase between adjacent elements in the v direction. Then

16-46 Technical Notes

HFSS Online Help

(10)

ψ u ≡ ψ m + 1, n – ψ m, n = – k u ⋅ rˆ0 and (11)

ψ v ≡ ψ m, n + 1 – ψ m, n = – k v ⋅ rˆ0. The scanning phase (eq. 4) may now be rewritten in terms of ψu and ψv as (12)

ψ mn = ( m – 1 )ψ u + ( n – 1 )ψ. v Thus in the case of a regular uniform array, the angle pair (ψu, ψv) may act as a substitute scan definition for the more general (φ0, θ0).

Custom Arrays Once you have imported the array factor information from a text file, HFSS uses (eq. 8) to compute the array factor. When a custom array is defined, no scan direction is set and the array factor phase weights are those specified on an element-by-element basis in the geometry file. The text file must have the following format. All values are assumed to be SI units: N x_1 y_1 z_1 A_1 P_1 x_2 y_2 z_2 A_2 P_2 ... ... x_N y_N z_N A_N P_N where

• • • • •

x_1 is the x-coordinate position of the first element. y_1 is the y-coordinate position of the first element. z_1 is the y-coordinate position of the first element. A_1 is the amplitude weight of the first element. Amplitude references voltage. P_1 is the phase weight for the first element. Phase references radians.

Technical Notes 16-47

HFSS Online Help

Following is an example of a square 3 x 3 custom array geometry defined in a text file. The array elements are uniformly weighted and separated from one another in the x- and y-directions by 0.6729 user units. 9 0.0 0.6729 1.3458 0.0 0.6729 1.3458 0.0 0.6729 1.3458

0.0 0.0 1.00 .0 0.0 0.0 1.00 .0 0.0 0.0 1.00 .0 0.6729 0.0 1.00 0.6729 0.0 1.00 0.6729 0.0 1.00 1.3458 0.0 1.00 1.3458 0.0 1.00 1.3458 0.0 1.00

.0 .0 .0 .0 .0 .0

The information will appear as follows in the Custom Array Definition window:

16-48 Technical Notes

HFSS Online Help

Power Normalizations When the array factor feature is in use, the power normalizations used to compute the gain and directivity are modified as follows. Let P rad and P accepted denote the radiated power and the accepted power element

element

rad of the single array element. P element is computed by integrating the Poynting vector accepted is computed by integrating the Poynting vector on the radiation boundary surface and P element on the union of port boundary surfaces. When the array factor feature is invoked for an array of N elements, the array radiated power P rad and array accepted power P accepted will be computed simply as the sums of array

array

element-radiated and element-accepted powers, respectively, as follows:

(13)

⎛ N ⎞ 2⎟ rad rad ⎜ P = ∑A P ⎜ n⎟ element array ⎝n = 1 ⎠ (14)

⎛ N ⎞ 2⎟ accepted accepted ⎜ . P = ∑ A P ⎜ n⎟ element array ⎝n = 1 ⎠ Here An, as defined in (eq. 3), is the real amplitude weight applied to element n.

Antenna Parameters Generally, when dealing with radiated fields, you are also interested in the antenna properties of the radiated bodies. HFSS calculates the following antenna properties: Maximum intensity (Max U) Peak directivity Peak gain Peak realized gain Radiated power Accepted power Incident power Radiation efficiency

Technical Notes 16-49

HFSS Online Help

Warning

A radiation or PML boundary must have been defined in the design for HFSS to calculate radiated fields.

Related Topics Computing Antenna Parameters

Polarization of the Electric Field At each aspect angle in the far field of a radiating source, the electric and magnetic field vectors lie in a fixed plane. Over time, the instantaneous electric field vector traces out a figure or shape in this plane. This figure defines the polarization state of the field. In general, this figure is an ellipse and is called the polarization ellipse. The wave is said to be elliptically polarized when the instantaneous electric field traces out an ellipse. As a special case, the polarization ellipse may be a circle, in which case the wave is circularly polarized. Elliptical and circular polarization have two different states, left and right, distinguished by the sense of rotation of the electric field vector. Some of these figures, or states, are shown below. In each case the direction of propagation is off the screen.

ω ω

Circular

Right-hand circular polarization

ω Elliptical

Right-hand elliptical polarization

Left-hand circular polarization

ω

Left-hand elliptical polarization

where ω is the rotation radian frequency. A second special case occurs when the polarization ellipse degenerates to a straight line. In this case the wave is linearly polarized. To completely describe the polarization state of a radiated field, two independent components are required. HFSS supports three types of descriptions:

• •

Spherical polar Ludwig-3

16-50 Technical Notes

HFSS Online Help



Circular

Spherical Polar The most fundamental description of the polarization state of a radiated field is spherical polar, which is the electric field phasor resolved in the directions of unit theta and phi vectors of the reference coordinate system. In this description, the field may be written as E = (Εθ, Εφ). The polarization ratio for a predominantly φ-polarized antenna is equal to

Eφ ------ . Eθ The polarization ratio for a predominantly θ-polarized antenna is equal to

Eθ ------ . Eφ Ludwig-3 Polarization Arthur C. Ludwig wrote a classic paper [Ref. 1]on the definition of cross polarization. In particular, his third definition is often used since it describes the field components that are typically measured on a far-field antenna test range. Using his definition, the radiated field may be written as E = (Ex, Ey) where

E x = E θ cos φ – E φ sin φ

E y = E θ sin φ + E φ cos φ and phi is the usual azimuthal angle in the reference spherical coordinate system. [1] Arthur C. Ludwig, The Definition of Cross Polarization, IEEE Transactions on Antennas and Propagation, vol. AP-21 num. 1, pp. 116 -119, Jan. 1973.

Circular Polarization For antennas designed to receive or transmit circularly polarized fields, a meaningful description is in terms of pure left and right circular states. In this description, the field may be written as E = (ER, EL) where

1 E R = ------- ( E θ + jE φ ) 2 1 · E L = ------- ( E θ – j E φ ) . 2 Axial Ratio Axial ratio is defined as the ratio of the major to the minor axis of the polarization ellipse. 1.

Ex and Ey are orthogonal complex-valued field components. If either is zero, HFSS treats the field as linearly polarized. However, if neither Ex and Ey is zero:

2.

Compute circular components E- and E+ from: Technical Notes 16-51

HFSS Online Help

E- = Ex - jEy E+ = Ex + jEy 3.

If E+ = 0 or E- = 0 HFSS understands the field as perfectly circular, the axial ratio is 1. Otherwise, for the elliptical polarization case, HFSS determines the tilt angle τ from: phase(E-/E+) = 2τ

4.

Rotate the orginal data to coincide with the axes of the polarization ellipse.

E' x = E x cos τ – E y sin τ E' y = E x sin τ – E y cos τ 5.

The Axial Ratio AR is given by:

E' AR = ------y E' x Because the above definition does not discriminate between major and minor ellipse axes, to enforce the convention that AR< 1, it is necessary to check this condition and if necessary invert the value obtained.

Polarization Ratio The IEEE defines the (complex) polarization ratio as, "For a given field vector at a point in space, the (magnitude of the) ratio of the complex amplitudes of two specified orthogonally polarized

16-52 Technical Notes

HFSS Online Help

field vectors into which the given field vector has been resolved." [Ref. 2] HFSS computes the following six polarization ratios at each selected aspect angle:

E Circular ⁄ LHCP = -----LER E Circular ⁄ RHCP = -----REL E Spherical ⁄ Phi = -----φEθ E Spherical ⁄ Theta = -----θEφ Ludwig

E 3 ⁄ X = -----x Ey

Ludwig

E 3 ⁄ Y = -----y Ex

[2] IEEE Standard Definitions of Terms for Antennas, IEEE Transactions on Antennas and Propagation, vol. AP-31 num. 6, Nov. 1983.

Max U The radiation intensity, U, is the power radiated from an antenna per unit solid angle. HFSS calculates the radiation intensity in the direction in which it has the maximum value. The maximum intensity of the radiation is measured in watts per steradian and is calculated by 2

1E U (θ,φ) = --- --------- r 2 2 η0

where

• • • •

U (θ,φ) is the radiation intensity in watts per steradian. |E| is the magnitude of the E-field. η0 is the intrinsic impedance of free space — 376.7 ohms. r is the distance from the antenna, in meters.

Related Topics Computing Antenna Parameters

Peak Directivity Directivity is defined as the ratio of an antenna’s radiation intensity in a given direction to the radiation intensity averaged over all directions. Peak directivity, in turn, is the maximum directivity over all the user-specified directions of the far-field infinite sphere. Technical Notes 16-53

HFSS Online Help

Directivity is a dimensionless quantity represented by

4 πU directivity = ----------P rad

where

• •

U is the radiation intensity in watts per steradian in the direction specified. Prad is the radiated power in watts. Note



The peak directivity displayed in the Antenna Parameters window is the directivity in the direction of maximum radiation intensity, Umax.

For a lossless antenna, the directivity will be equal to the gain. However, if the antenna has inherent losses, the directivity is related to the gain by the radiation efficiency of the antenna.

Related Topics Setting up a Far-Field Infinite Sphere Computing Antenna Parameters

Peak Gain Gain is four pi times the ratio of an antenna’s radiation intensity in a given direction to the total power accepted by the antenna. Peak gain, in turn, is the maximum gain over all the user-specified directions of the far-field infinite sphere. The following equation is used to calculate gain in HFSS:

U gain = 4 π ---------P acc where

• •

U is the radiation intensity in watts per steradian in the direction specified. Pacc is the accepted power in watts entering the antenna.

Gain can be confused with directivity, since they are equivalent for lossless antennas. Gain is related to directivity by the radiation efficiency of the antenna. If the radiation efficiency is 100%, they are equal. Note

Because the gain is calculated from the input signal at the port, a port must be defined for this quantity to be displayed.

Related Topics Setting up a Far-Field Infinite Sphere Computing Antenna Parameters

16-54 Technical Notes

HFSS Online Help

Peak Realized Gain Realized gain is four pi times the ratio of an antenna’s radiation intensity in a given direction to the total power incident upon the antenna port(s). Peak realized gain, in turn, is the maximum realized gain over all the user-specified directions of the far-field infinite sphere. The following equation is used to calculate realized gain in HFSS: realized gain =

U 4 π -------------------P incident

where

• •

U is the radiation intensity in watts per steradian in the direction specified. Pincident is the incident power in watts. Note

Because the gain is calculated from the input signal at the port, a port must be defined for this quantity to be displayed.

Related Topics Setting up a Far-Field Infinite Sphere Computing Antenna Parameters

Radiated Power Radiated power is the amount of time-averaged power (in watts) exiting a radiating antenna structure through a radiation boundary. For a general radiating structure in HFSS, radiated power is computed as

1 P rad = --- ℜ ∫ E × H∗ ⋅ ds 2 s

where

• • • • • •

Prad is the radiated power in watts. ℜ is the real part of a complex number. s represents the radiation boundary surfaces. E is the radiated electric field. H* is the conjugate of H. ds is the local radiation-boundary unit normal directed out of the 3D model. Note

The accuracy of the computed radiated power depends on the accuracy of E and H. In some cases it is possible that the computed radiated power may deviate slightly from the actual radiated power.

The accuracy of the computed radiated power depends on the accuracy of E and H on the absorbing boundary. In some cases it is possible that the computed radiated power may deviate slightly from Technical Notes 16-55

HFSS Online Help

the actual radiated power. To increase the accuracy of the radiated power, seed the mesh on the absorbing boundary. As a check, you can use the S-parameters — if ports have been defined — to calculate the radiated power. Related Topics Computing Antenna Parameters

Accepted Power The accepted power is the amount of time-averaged power (in watts) entering a radiating antenna structure through one or more ports. For antennas with a single port, accepted power is a measure of the incident power reduced by the mismatch loss at the port plane. For a general radiating structure in HFSS, accepted power is computed as

P acc = ℜ ∫ E × H∗ ⋅ ds A

where

• • • • • •

Pacc is the accepted power in watts. ℜ is the real part of a complex number. A is the union of all port boundaries in the model. E is the radiated electric field. H* is the conjugate of H. ds is the local port-boundary unit normal directed into the 3D HFSS model.

For the simple case of an antenna with one lossless port containing a single propagating mode, the above expression reduces to 2

2

P acc = a ( 1 – s 11 ) where

• •

a is the complex modal excitation specified. s11 is the single-entry generalized scattering matrix (without renormalization) computed by HFSS. Note

Because the accepted power is calculated from the input signal at the port, a port must be defined for this quantity to be displayed.

Related Topics Computing Antenna Parameters

Incident Power Incident power is the total amount of time-averaged power (in watts) incident upon all port boundaries of an antenna structure. Incident power is set at your discretion in the Edit Sources window.

16-56 Technical Notes

HFSS Online Help

For the simple case of an antenna with one lossless port containing a single propagating mode, the incident power Pincident is given by

P incident = a

2

where



a is the complex modal-project excitation specified in the Edit Sources window. Note

Because input power is calculated from the input signal at the port, a port must be defined for incident power to be displayed.

Related Topics Computing Antenna Parameters

Radiation Efficiency The radiation efficiency is the ratio of the radiated power to the accepted power given by

P rad e = ---------P acc where

• •

Prad is the radiated power in watts. Pacc is the accepted power in watts. Note

Because the radiation efficiency is calculated from the accepted power, a port must be defined for radiation efficiency to be displayed.

Related Topics Computing Antenna Parameters

Technical Notes 16-57

HFSS Online Help

Calculating Finite Thickness Impedance The Assign DC Thickness option on the HFSS menu is enabled if at least one object contains a good conducting isotropic material (such as copper), and the Solve Inside property is not selected. If the object meets these conditions, you can assign a DC thickness. If the thickness of the layer is finite, the skin impedance is calculated as:

Z = R = jX 1 sh ( 2 v ) + sin ( 2 v ) R = ------ ------------------------------------------σδ ch ( 2 v ) – cos ( 2 v ) 1 sh ( 2 v ) – sin ( 2 v ) X = ------ ------------------------------------------σδ ch ( 2 v ) – cos ( 2 v ) where δ =

2 ----------ωμσ h v = --δ

where h is the layer thickness. Similar skin impedance is assigned to surfaces of 3D objects of good conductors, which are of NoSolveInside and Thickness for DC Resistance is set

16-58 Technical Notes

HFSS Online Help

Modes to Nodes Conversion This section describes the conversion of modal S-parameters, computed using Ansoft HFSS’s fullwave field solver, into nodal or voltage-based pseudo-S-parameters used in circuit theory. The S-matrix solutions in HFSS express their results in terms of the incident and reflected powers of waveguide modes. This description is mathematically and physically rigorous, but does not lend itself to problems where several different modes can propagate simultaneously. Examples of such situations include coupled transmission lines on printed circuit boards, multi-conductor cables, and many common types of electrical connectors. For these types of structures, which generally support multiple, quasi-transverse electromagnetic (TEM) modes of propagation, it is difficult to excite and measure a single mode. In any practical, or laboratory-like, measurement situation:

• •

measurements (e.g., of voltage) contain contributions from several modes the applied stimuli excite several modes simultaneously

Nodal or “terminal” support was added to HFSS to enable the simulation of terminal currents and voltages directly, without requiring engineers to determine the needed linear combinations of waveguide modes. Background Recall from electromagnetic field theory that the solutions for the transverse components of the electric and magnetic fields in a waveguide with a uniform cross-section can be written as

Et =

∑ an en(x, y) e

– γz

+ ∑ b n e n(x, y) e

n

Ht =

γz

n

∑ an hn(x, y) e

– γz

– ∑ b n h n(x, y) e

n

γz

n

Here the an and bn are the intensities of the forward and backward traveling modal waves, and e n and h n are the transverse electric and magnetic field patterns. Note that the an and bn are considered to be dimensionless quantities here, while e n and h n have the normal units for electric and magnetic fields. For this discussion’s purpose, assume that each port is defined at z = 0; this permits the removal of exponential terms in the above equations. Nodal Voltages and Currents It is possible to define a set of voltages for a port by establishing a number of different integration paths across the port. If a port supports N quasi-TEM modes of propagation, one can set up N different open contours of integration, C1, C2, ... CN, and define N different voltages, v1, v2, ... vN, according to the integral formulas

v k = – ∫ E t ⋅ dl . Ck

Technical Notes 16-59

HFSS Online Help

These integration paths are set when you define the terminal voltage lines on a port. Alternatively, you can define a set of currents {ik}using a set of closed contours of integration {Dk}:

ik =

°∫ Ht ⋅ dl.

Dk

Ansoft HFSS does not require you to set up the current integration contours separately. The software automatically infers the current contours from the chosen voltage contours using a power conservation relationship. Each definition produces a set of relationships between the modal intensities and the voltages or currents. Since the total transverse fields can be expanded as a linear combination of modes, we can rewrite the previous equations as

v k = – ∑ a n ∫ e n(x, y) ⋅ dl – ∑ b n ∫ e n(x, y) ⋅ dl . n

ik =

Ck

n

Ck

∑ an ∫ hn(x, y) ⋅ dl – ∑ bn ∫ hn(x, y) ⋅ dl n

Dk

n

Dk

To simplify, introduce the following terms:

t kn = – ∫ e n(x, y) ⋅ dl Ck

u kn =

∫ hn(x, y) ⋅ dl . Dk

Now vk and ik become

vk =

∑ an tkn + ∑ bn tkn n

ik =

n

∑ an ukn – ∑ bn ukn . n

n

Since there are N possible voltage definitions and N quasi-TEM modes, there are NxN matrices that relate the nodal voltages and currents to the following modal intensities:

[ i k ] = [ u kn ] ( [ a n ] – [ b n ] ) [ v k ] = [ t kn ] ( [ a n ] + [ b n ] ).

16-60 Technical Notes

HFSS Online Help

Now introduce the matrices T = [ t kn ] and U = Note that the units of T are volts, while the units of

[ u kn ] to represent these transformations. U are amperes.

In summary, the 3D Post Processor could be used to load different modal field patterns and manually perform the integrals defined previously over each terminal contour line. This would be a tedious and error-prone process, which HFSS’s modes-to-terminals conversion feature eliminates. Related Topics Terminal Based Models for Circuit Analysis Terminal Characteristic Impedance Matrix Differential Pairs

Terminal-Based Models for Circuit Analysis It is possible to use the transformations developed above to compute terminal-based admittance (Y), impedance (Z) and pseudo-S-matrices ( S p ). First consider the admittance case. A relationship of the form i = Yv is needed that gives the vector of terminal currents i = [ i k ] as a function of the vector of terminal voltages v = [ v k ] . It is known that

v = T(a + b)

and

i = U( a – b ) . It is also known that the incident and scattered modal powers are related by the modal S-matrix computed by HFSS. Therefore

b = Sa , where S is

v = T ( a + Sa ) = T ( I + S )a i = U ( a – Sa ) = U ( I – S )a . Here I denotes an identity matrix of the same size as S . i can then be solved for in terms of v by eliminating the incident wave variable a . –1 –1 a = (I + S) T v –1 –1

i = U(I – S)(I + S) T v . The terminal-based (or nodal) admittance matrix

Y is identified from the above expression as

–1 –1 Y = U(I – S)(I + S) T .

A similar relationship can be developed for the terminal-based impedance matrix –1

–1

Z = T(I + S)(I – S) U . It is also possible to convert the terminal-based admittance and impedance matrices into a terminalbased “pseudo-S-matrix” S p . To do this, a reference impedance Z k must be defined for each ter-

Technical Notes 16-61

HFSS Online Help

minal k . Then standard formulas are used to convert the terminal impedance matrix minal S-matrix 1⁄2

–1

–1 ⁄ 2

S p = Z ref ( Z + Z ref ) ( Z – Z ref )Z ref

Z into the ter-

.

Z ref = diag(Z k) is a diagonal matrix whose entries are the reference impedances Z k . The terminal S-matrix S p relates the intensities of the incident and reflected pseudo-waves at the Here

terminals

[ βk ] = Sp [ αk ] . These pseudo-waves are defined by

1 –1 ⁄ 2 α k = --- Z k ( v k + Z k i k ) 2 1 –1 ⁄ 2 β k = --- Z k ( v k – Z k i k ) . 2 Here α k is the incident pseudo-wave at terminal k , and β k is the reflected pseudo-wave at the same terminal. Note that the units of α k and β k are watts1/2. The terminal voltages and currents can also be written in terms of the pseudo-waves 1⁄2

vk = Zk ( αk + βk ) –1 ⁄ 2

ik = Zk

( αk – βk ).

Unlike true waveguide modes, the pseudo-waves α k and β k have no associated propagation constant. The pseudo-waves represent linear combinations of several modes, which may all have differing propagation constants. HFSS is still capable of performing de-embedding on the terminalbased S-matrix, but this is accomplished by first de-embedding the modal S-matrix and then performing the transformation back to a terminal-based S-matrix. For the normalization of terminal voltages in the Fields Post Processor, see Scaling a Source’s Magnitude and Phase. Related Topics Modes to Nodes Conversion Terminal Characteristic Impedance Matrix Differential Pairs

Terminal Characteristic Impedance Matrix Consider the situation illustrated below. A 3D structure with one multi-mode waveguide port is loaded by an N-port matrix impedance Z. The structure contains internal sources, which generate outgoing waves that exit through the waveguide port and strike the impedance Z . If Z does not

16-62 Technical Notes

HFSS Online Help

match the impedance of the waveguide in some sense, a reflection will occur from this load and will return to the 3D structure, where it is interpreted as an incident wave.

i a

+

b

v _

3D structure

Z

An optimal choice of Z will prevent any reflections from the load returning as an incident wave a. Note that the circuit equations at the load are v = – Zi (the minus sign is due to the sense of the current i ). By replacing the voltages and currents with their modal expansions, the voltage becomes

v = T ( a + b ) = – ZU ( a – b ) . Rearranging this to isolate a and b , it is determined that ( T + ZU )a + ( T – ZU )b = 0 . Now notice that if we select T = ZU ; the incident wave a vanishes. Corresponding to this condition is an “optimal” choice Z 0 for the impedance Z –1 Z 0 = TU . Z 0 is the terminal characteristic impedance matrix for the multi-mode waveguide port. This value of impedance will completely absorb any linear combination of modal waves leaving the port. As such, it should be of interest to circuit designers wishing to control reflections. In the important, T special case of a lossless waveguide, it can be shown that Z 0 = TT is a real-valued, symmetric impedance matrix. It is then easy to synthesize a network of resistors with the specified matrix impedance. Related Topics Modes to Nodes Conversion Terminal Based Models for Circuit Analysis Differential Pairs

Technical Notes 16-63

HFSS Online Help

16-64 Technical Notes

HFSS Online Help

Geometric Objects Following are supplemental technical details about working with geometric objects and complicated models:

• • • •

Bondwires Healing and Meshing Detecting and Addressing Model Problems to Improve Meshing Handling Complicated Models

Bondwires A bondwire is a thin metal wire that connects a metal signal trace with a chip. You can choose to draw a standard JEDEC 4-point bondwire, as shown below:

Bond Pad Point

Horizontal Plane

Lead Point

where h1 = the height between the bond pad point and the top of the loop. h2 = the height between the lead point and the bond pad point. diameter = thickness of the wire. Or you can choose to draw a JEDEC 5-point or Low bondwire, as shown below:

where α = the angle between the horizontal plane and the wire at the bond pad point. β = the angle between the horizontal plane and the wire at the lead point. Technical Notes 16-65

HFSS Online Help

When drawing the bondwire, you first select the bond pad point, a point in 3D space that defines the bond pad position in a horizontal plane. Then you select the lead point, which indicates the distance the wire covers in the horizontal plane. HFSS will use the distance between the bond pad and lead points to calculate the height between the bond pad and the lead point, or h2, a value that you can modify in the Bondwires dialog box. For the JEDEC types, notice that the horizontal distance on the wire is calculated as the total length divided by 8. For the Low type, the horizontal distance is affected by the Alpha and Beta values as well as the length. Related Topics Drawing Bondwires

Healing and Meshing Potential problems with 3D Models This section lists problems that can prevent a 3D model from being meshed successfully. Subsequent sections will describe how these problems can be detected and addressed. ACIS errors The underlying solid modeling technology used by Ansoft’s 3D products Maxwell, HFSS and Q3D is provided by the ACIS geometric modeler. You can create models directly in the drawing environment of these Ansoft products using primitives, such as boxes, cylinders, etc. and operations on primitives, such as Boolean operations. In addition, you can import models produced by other CAD tools in a variety of formats such as STEP, IGES, etc. In Ansoft’s 3D products, all models have to be stored internally in ACIS’ native format, known as sat format. When you import models into Ansoft products, translators are invoked that convert the models to sat format. Often, models that were created in other CAD tools were created initially for other purposes than electromagnetic analysis, such as for mechanical design or just for display purposes. They may have imperfections that make them illegal to ACIS. Further, there can be compatibility issues between different versions and even flavors of modeling tools. All this can lead to errors in imported 3D models. If you use Ansoft products to create geometry models, and thereby avoid model import and translation, you are unlikely to encounter such problems. Mixed dimensionality Even if a model is imported and translated without errors, there is a restriction to be aware of. ACIS can handle mixed-dimensionality models. One of the goals of Ansoft’s use of the ACIS modeling system is to create a valid volumetric mesh for simulation. Mixed-dimensionality models will not yield a valid volumetric mesh. Therefore, the Ansoft tools will not mesh objects with mixed dimensionality, so-called non-manifold objects. For instance, imagine a 3D object representing a curved metal plate with a small but finite thickness. If it reaches zero thickness somewhere while having non-zero thickness elsewhere, it has mixed dimensionality, 2D as well as 3D. You will get an error message saying that the object is non manifold. Of course, 2D and 3D objects can co-exist in a model, but any one object cannot be both 2D and 3D.

16-66 Technical Notes

HFSS Online Help

Intersecting objects Another restriction is that Ansoft 3D tools don’t allow partial intersections (also known as partial overlaps) between 3D objects. Each element of the mesh has to belong unambiguously to one object. There is no problem if one object is enclosed completely inside a bigger object, but partial intersections lead to ambiguities. As long as there are partial object intersections, the mesh generator will not attempt to create a mesh. Instead, you will get an error message notifying you which objects are intersecting. You must remove the intersections before you can proceed. You can do this by changing the shapes of objects slightly, or by subtracting one object from the other. Caveat: if as a result of a subtraction the model has pairs of true surfaces that are coincident, that is, smooth curved surfaces that fit exactly one inside the other, you make it harder for the mesh generator to create a mesh. This is because ACIS will create segmentations on each of these surfaces, and these segmentations are not guaranteed to fit. Setting a small value for Surface Deviation under Mesh Operations >Assign>Surface Approximation increases your chance of success in such a case, but it is better to avoid such situations if you can. Small features and misalignment When there are no ACIS errors in the model, no non-manifold objects and no partial object intersections, the mesh generator can be invoked to create a valid mesh for the electromagnetic analysis. Even if the geometry is valid, mesh generation can still fail. Possible causes are the presence of very short edges, very small faces, long and thin sliver faces, and slight misalignments between faces that are supposed to be coincident. Related Topics Technical Notes: Detecting and Addressing Model Problems to Improve Meshing Technical Notes: Handling Complicated Models

Detecting and Addressing Model Problems to Improve Meshing The following sections describe a systematic procedure to detect and address model problems that can interfere with the meshing process. Technical Notes: Healing During Geometry Import Technical Notes: Healing After Geometry Import Technical Notes: Removing Object Intersections Technical Notes: Removing Small Features Technical Notes: Aligning Objects Technical Notes: Troubleshooting if Meshing Still Fails

One: Healing during geometry import In case you don’t draw your entire geometry in the Ansoft environment but wish to import (part of) it, in the Import File window you select which geometry file to import. Some formats permit healing during import. These are: 3D Modeler file (*.sm3), SAT file (*.sat), STEP file (*.step,*. stp), Technical Notes 16-67

HFSS Online Help

IGES file (*.iges, *.igs), ProE files (*.prt, *.asm) and CATIA (*.model, *.CATpart). Selecting these formats enables a checkbox at the bottom of this window, "Heal Imported Objects." For these supported formats (except for 3D Modeler file), two modes exist, "auto" and "manual". Auto Healing will try to address ACIS errors and non-manifold errors, the first two classes of potential problems listed earlier. It will also fix surface normals in the body and updating orientation of body, to avoid having a body with negative volume.

Manual healing adds small-feature removal to this. You can remove small features at this stage if you wish. However, the usual approach is to apply auto-healing at this stage and leave small-feature removal until later.

Two: Healing after geometry import Healing can only be performed on objects that have no drawing history other than "import". If necessary, object history can be deleted through Modeler>Purge History. If that causes a warning that another object will be deleted, you may need to purge the history of that other object first, or purge the histories of several objects simultaneously.

16-68 Technical Notes

HFSS Online Help

At any time after import, you can perform a Validation Check: HFSS>Validation Check. This will enable you to focus on bodies and body pairs that need attention before a mesh can be created. Note that you can set the Modeler Validation settings for Warning Only, Basic, and Strong. 1.

Select the objects that have ACIS errors, such as failing api_check_entity(), and the objects that have non-manifold features, i.e. mixed dimensionality.

2.

Invoke Modeler->Model Analysis->Analyze Objects. This will bring up an Analysis Options dialog where you set the strictness of the entity check, detection and thresholds for holes, chamfers and blends, thresholds for small feature detection.

3.

When you have made selections, click OK to start the analysis. On completion, the Model Analysis dialog is displayed. All bodies in the model are shown in the objects grid along with their status. Bodies can have the following status: 1.

Good

2.

Null Body

3.

Analysis not performed

4.

Invalid entities found

5.

Small-entity errors

Invalid-entity errors are ACIS errors and non-manifold errors. Small-entity errors are small faces, sliver faces and small edges that are optionally detected based on user-defined parameters.

Note

Invalid-entity errors must be fixed before a mesh can be generated.

To fix invalid entity errors: 1.

Choose the bodies that have "Invalid Entities Found."

2.

In the same Model Analysis window, choose Perform>Heal Objects, with or without an optional setting for small-feature removal. In most cases, the bodies will be healed and the errors fixed.

3.

If errors still persist, choose "offending" faces and edges and click on Delete. This will replace the selected face/edge entity by a tolerant edge/vertex respectively.

In order to avoid unintended changes, it is good practice to do the following: 1.

At the bottom of the Model Analysis window, check the box "Auto Zoom to Selection."

2.

Select one face or edge at a time

3.

Decide for each face and edge whether you want to delete it.

Technical Notes 16-69

HFSS Online Help

Note

Healing causes changes to the geometry and topology of the body being healed. Validation check has to be re-run after healing is done to identify body pairs that intersect. It is possible that after healing, bodies that were disjoint before now overlap.

In some cases the replacement of the face/edge by tolerant edge/vertex will fail. If the object remains invalid, you know at this point what parts of the object are invalid. You will need to change that part of the object manually, either in Ansoft’s drawing environment or in the original CAD tool, to make it pass. Often, the invalid entities are in small details that can be changed without noticeably affecting the results of the electromagnetic analysis. For example, it may be possible to create a small object, well placed in the "offending" region, and to unite it with or subtract it from the problematic object, such that the "offending" details don’t exist anymore.

Three: Removing Object Intersections If there are any intersecting objects, a Validation Check will list them. You must eliminate object intersections before a mesh can be created.

16-70 Technical Notes

HFSS Online Help

In complicated models, before making changes, it is good practice to inspect the overlap visually. A way to do this is to: 1.

Duplicate both objects and place the copies outside the model.

2.

Perform Boolean Intersect on the copies. This will show you what causes the intersection and will help you decide how to remove it.

3.

Then, delete the copies.

The easiest way to eliminate object overlap is to subtract one object from the other, in the order that leaves the desired material in the region of overlap. If the overlap is very small and you can choose the order of subtraction, choose one that does not create coincident true surfaces, if possible. Caveat: if as a result of a subtraction the model has pairs of true surfaces that are coincident, that is, smooth curved surfaces that fit exactly one inside the other, you will make it harder for the mesh generator to create a mesh. This is because ACIS will create segmentations on each of these surfaces, and these segmentations are not guaranteed to fit. Setting a small value for Surface Deviation under Mesh Operations>Assign>Surface Approximation increases your chance of success in such a case, but it’s better to avoid such situations if you can. A way to eliminate object intersections without subtraction is to split one object in parts, in such a way that some parts are completely enclosed in the other object, and some parts are completely outside the other object. Even for complicated objects, this is possible through a sequence of Boolean operations on the objects and copies of the objects. At this point, the geometry has no ACIS errors, no non-manifold objects and no partial object intersections. A mesh can be created for the electromagnetic analysis.

Four: Removing Small Features Even though, in principle, the geometry may be ready for a mesh to be created, it is possible that small features in the geometry lead to a mesh that is unnecessarily large and contains long and thin tetrahedra that make the simulation converge slower. Small features may even cause the mesh generation to fail. By small, we mean details on an object that are thousands of times smaller than the main features of the object, and that, in most cases, are unintended consequences of the drawing history in another CAD tool. Therefore, it is advantageous to remove small features. To do this, you may need to purge the history of objects, since healing and related operations can only be performed on objects without history beyond import. You may have noticed that you could have invoked small-feature removal at several earlier stages. There is no objection to doing it earlier. The reason why it is presented here as stage four is that the previous stages were necessary while this one is optional. To start the small-feature removal: 1.

Click HFSS>Modeler>Analysis Options and specify the Enity Check level, make selections for holes, chamfers, and blends, their thresholds, as well as for edges, faces and slivers.

2.

Select objects and invoke object analysis through Modeler>Model Analysis>Analyze Objects. Alternatively, without objects selected, use Modeler>Model Analysis>Show Analysis Dialog>Objects and select objects from the list. In the Model Analysis window, invoke PerTechnical Notes 16-71

HFSS Online Help

form>Analyze Objects. The software will report according to the Analysis Options settings, such as holes smaller than a given radius, the smallest edge length and the smallest face area. 3.

Upon clicking OK, the analysis is performed. As a result of the analysis, the software presents a list of all holes, chamfers, blends, faces and edges that don’t meet the thresholds set by you in the Analysis Options.

4.

Check the box "Auto-Zoom to Selection" at the bottom of the Model Analysis window and click on items in the list. Inspect them visually and decide whether they can be deleted. It is good practice to delete them one by one rather than deleting many at once in order to prevent unintended changes. Sometimes, an edge or face cannot be deleted, and you get a message notifying you. In that case, either ignore it, or revisit it after deleting some other details first, or revisit it later manually in the 3D drawing environment. At this point, the geometry has no ACIS errors, no non-manifold objects and no partial object intersections. Furthermore, there are fewer small features that were unintended or unimportant for the electromagnetic analysis, so the quality of the model has improved.

Five: Aligning Objects Objects that touch each other in imported geometries don’t always have well-aligned faces. Often, this is a consequence of the limited level of precision in the imported file. Misaligned faces can cause tiny object intersections or tiny gaps between objects, which in turn can lead to an inefficient mesh or even a failure to create the mesh. To repair such occurrences in an automated way, you can select groups of objects and invoke Modeler>Model Analysis>Analyze Interobject Misalignment. This will yield face pairs from different bodies that are slightly misaligned with respect to each other. In the window that shows this list, check the box "Auto-Zoom to Selection" and select face pairs from the list. When you decide that faces should be aligned, click Align Faces. In some cases, face alignment will fail if the topology of the body would change by a large amount after alignment. In that case, you can decide to ignore it, as it may not be a problem, or revisit it later manually in the Modeler environment.

Note

16-72 Technical Notes

In complicated models, the Interobject Misalignment analysis can take a long time if you select all objects before launching the analysis. If you don’t know which pairs of objects to analyze, just let the mesh generator try to make a mesh. If the mesh fails, a list will be presented to you of misalignments that the mesh generator finds suspicious but didn’t want to adjust without permission. Not every misalignment in the list is always a problem: this is a list of features that might need your attention.

HFSS Online Help

Note

As face misalignments between touching objects can cause small object intersections, this alignment capability can already serve a useful role in stage three.

Six: Troubleshooting if meshing still fails If mesh generation fails, information about the reasons for the failure is presented under Modeler>Model Analysis>Show Analysis Dialog>Last Simulation Mesh. Again, check the box "Auto Zoom to Selection" and click on the errors in the list. This can give you hints about which parts of the model are causing difficulties. For instance, there may be self-intersecting bodies or faces. Such errors can have a variety of causes, such as a face that is supposed to be planar, but of which the vertices don’t quite lie in the same plane. When you zoom and search you are likely to see what causes the problem. Also, there may be face misalignments. Once you know they exist, you can inspect them and decide whether to align them under the Objects Misalignment tab. One of the tabs of the Model Analysis window is the Surface Mesh tab. Under that tab, you can try to create surface meshes for objects and pairs of objects. Since a surface mesh on selected objects is easier to create than a volume mesh for the whole model, this can help you to identify quickly which objects are causing difficulties and why. Also, in order to determine which objects are causing difficulties, you can exclude objects temporarily from the model. If the mesh succeeds without them, this helps to identify the reason for failure. To exclude an object temporarily, select it and uncheck "Model" in its properties window. Then try to create the mesh again. Once you know which objects make the mesh fail, you can try to make small changes to them that don’t affect the electrical properties noticeably but help the mesh maker succeed. For example:

• •

Zoom in on details and consider removing details;

• •

Split very complicated objects into multiple less-complicated objects;



Replace imported objects by objects drawn in Ansoft’s 3D modeling environment. For instance, some CAD tools produce cylinders that consist of two half cylinders that have a seam where they join. The fit is not always perfect.

Find coincident true surfaces and move one of the faces over a very short distance so the pair of faces is not coincident anymore; Delete a complicated 3D ground object and create a 2D ground through a boundary condition on the appropriate faces of a dielectric;

Finally, for coincident true surfaces, set a very small value for Surface Deviation under Mesh Operations>Assign>Surface Approximation. ACIS will give them more segments, but you can compensate for that with Model Resolution. In a parametric sweep, you can experiment with settings for Surface Deviation and Model Resolution. Related Topics Analyze Objects Technical Notes 16-73

HFSS Online Help

Analyze Interobject Misalignment Analyze Surface Mesh Healing Validating Projects Technical Notes: Handling Complicated Models

Handling Complicated Models Complicated models, often imported from a CAD tool or layout tool, may slow down the interface, use a lot of RAM during file I/O and other operations, contain imperfections and object overlaps. After analysis, post processing of such models may be time consuming. HFSS has several options and features that address these problems.

• • • • •

Interface Options for Complicated Models RAM Settings for Complicated Models Geometry Imperfections and Complicated Models Object Overlap Settings for Complicated Models Post Processing Settings for Complicated Models

Interface Options for Complicated Models To improve the speed of the interface when dealing with complicated geometries, do the following: Under Tools>Options>Modeler Options, on the Display tab...



Set "Default View Render" to "Wire Frame". Wire-frame rendering is faster than shaded rendering.



Turn off "Display UV Isolines". For models with curved faces, this will simplify the wireframe display, so the rendering will be faster.



Turn off "Visualize History of Objects". This will remove visualization of objects that are part of the model history. For large models, this is faster and uses less memory.

Under Tools>Options>HFSS Options, on the General tab...



Turn off "Visualize Boundaries on Geometry". When a boundary or excitation is selected, it will not be shown with a "pattern". This will prevent large delays when selecting.

Under View>Visualization Settings



Use larger deviations to view curved objects in less detail.

Under Modeler>Import



Un-check "Check Model" and "Heal Imported Objects." This helps for complicated models: Validation and healing take considerable time for such models. Use this option to defer checking to a later stage (especially in cases where you know that you want to mesh the model as is).

Under Tools>Options>General Options, on the Project Options tab…



Turn off "Do Autosave" or set the autosave interval to a larger value, e.g. 50. Auto-save can be time consuming.

16-74 Technical Notes

HFSS Online Help

RAM Settings for Large Geometries Modeler>Support Large Geometry Import Use this to reduce memory during file I/O and other operations for very large imported geometry. Only in exceptional cases will this need to be set. Large-address awareness Some 32-bit versions of Windows operating systems don't allow, by default, executables to access more than 2 GB of address space. If such an operating system is used on a machine with more than 2 GB RAM, this maximum can be raised to 3 GB by adding the switch /3GB to the file boot.ini which resides, as a hidden file, on the C:\ drive. More information can be found on www.microsoft.com, e.g. by searching for the string /3GB .

Geometry Imperfections and Complicated Models Modeler>Import Many formats can be handled. It is recommended to import a version of the geometry that is as close as possible to its source, rather than geometries that have been translated before from one format to another, or that have been imported into another computational tool and later exported from it. Modeler>Validation Settings Geometry imperfections are listed as ACIS errors when executing HFSS>Validation Check and when starting an analysis. It is recommended to attempt to heal objects with such errors. However, HFSS enables you to bypass the errors (not the check itself) by choosing a setting under Modeler>Validation Settings. "Warning Only" enables you to ignore all errors. "Basic" enables you to bypass all but the most severe errors. The HFSS mesh generator has been enhanced to handle many geometry errors.

Object Overlap Settings for Complicated Models HFSS>Set Material Override Complicated geometries often have small object overlaps. This setting will allow overlaps between dielectrics and metals. In the overlap region, the metal will locally take priority over the dielectric, as if this part of the dielectric has been subtracted. Overlaps between two dielectrics and overlaps between two metals are still not allowed.

Post Processing for Complicated Models Under Tools>Options>General Options, on the Miscellaneous Options tab...



Turn off "Dynamically update postprocessing data during edits". This will disable expensive updating of existing reports and plots.



Turn off "Update reports on file open". This will disable expensive updating of reports and plots when opening a project.

Under HFSS>Fields>Modify Plot Attributes, on the Plots tab…



Set Plot Quality to Coarse, and save as default. This will make field plots much faster. The fields will not be as smoothly approximated within each tetrahedron, but this should not be Technical Notes 16-75

HFSS Online Help

noticeable on very large meshes.

16-76 Technical Notes

HFSS Online Help

Boundaries Boundary conditions specify the field behavior on the surfaces of the problem region and object interfaces. This area of the technical notes includes information about the following boundary types:

• • • • • • • • • •

Perfect E Impedance Radiation PML Finite Conductivity Symmetry Master and Slave Lumped RLC Layered Impedance Infinite Ground Planes

and the following subjects:

• •

Frequency-Dependent Boundaries Default Boundary Assignments

Perfect E Boundaries In HFSS, perfect E boundaries represent perfectly conducting surfaces in a structure. By default, all HFSS model surfaces exposed to the background are assumed to have perfect E boundaries; HFSS assumes that the entire structure is surrounded by perfectly conducting walls. The electric field is assumed to be normal to these surfaces. The final field solution must match the case in which the tangential component of the electric field goes to zero at perfect E boundaries. The surfaces of all model objects that have been assigned perfectly conducting materials are automatically assigned perfect E boundaries.

Impedance Boundaries In HFSS, impedance boundaries represent surfaces of known impedance. The behavior of the field at the surface and the losses generated by the currents flowing on the surface are computed using analytical formulas; HFSS does not actually simulate any fields inside the resistor. Similar to finite conductivity boundaries, the following condition applies at impedance boundaries:

E tan = Z s ( nˆ × H tan ) where

• •

nˆ is the is the unit vector that is normal to the surface. Etan is the component of the E-field that is tangential to the surface. Technical Notes 16-77

HFSS Online Help

• •

Htan is the component of the H-field that is tangential to the surface. Zs is the surface impedance of the boundary, Rs + jXs, where

• •

Rs is the resistance in ohms/square. Xs is the reactance in ohms/square.

For example, assume that a structure contains two dielectrics separated by a thin-film resistor. This resistor could be represented by an impedance boundary at the surface between the two objects.

Units of Impedance Boundaries Impedance on the surface of objects, Zs, has units of ohms per square. The units ohms per square indicate that the impedance, Zs, is equal to the equivalent circuit impedance, Z, measured between the edges of a square sheet of the material. For example, a rectangle of length L and width w has a uniform current, I, applied to it. It has a voltage drop, V, across it and an equivalent circuit impedance of Z ohms. L y I I Z w

x

+

V If the current density, J, is uniform over the rectangle then the equation nˆ × E = Z s nˆ × J becomes

E = Zs J (3) where



E = E on the rectangle, and



J = J on the rectangle.

The circuit quantities and fields are related as follows: L



V =

E ⋅ dL = EL

x=0 w



I =

J ⋅ xˆ dy = Jw

y=0

EL V Z = --- = ------Jw I Substituting equation (1) into equation (2) results in the following equation:

L Z = Z s ---w

16-78 Technical Notes

HFSS Online Help

Thus, when L = w, the equivalent circuit impedance is equal to the impedance on one square. Hence the units ohms per square. If in this example L = 2w, the impedance would be equal to one-half of the circuit equivalent impedance for the rectangle, or the circuit equivalent impedance of one "square" of the rectangle is equal to the impedance of that square. Therefore, when entering the surface impedance for an object, you must enter the impedance per square.

Radiation Boundaries In HFSS, radiation boundaries are used to simulate open problems that allow waves to radiate infinitely far into space, such as antenna designs. HFSS absorbs the wave at the radiation boundary, essentially ballooning the boundary infinitely far away from the structure. At radiation boundary surfaces, the second-order radiation boundary condition is used:

j j ( ∇×E ) tan = jk 0 E tan – ----- ∇ tan × ( ∇ tan × E tan ) + ----- ∇ tan ( ∇ tan • E tan ) k0 k0 where

• •

Etan is the component of the E-field that is tangential to the surface. k0 is the free space phase constant,

ω μ0 ε0 . •

j is – 1 .

The second-order radiation boundary condition is an approximation of free space. The accuracy of the approximation depends on the distance between the boundary and the object from which the radiation emanates.

PML Boundaries Perfectly matched layers (PMLs) are fictitious materials that fully absorb the electromagnetic fields impinging upon them. These materials are complex anisotropic. There are two types of PML applications: free space termination and reflection-free termination. With free space termination, PMLs are associated with a surface that radiates into free space equally in every direction. PMLs are more appropriate than radiation boundaries in this case because PMLs enable radiation surfaces to be located closer to radiating objects, reducing the problem domain. Any homogenous isotropic material, including lossy materials like ocean water, can surround the design. With reflection-free termination of guided waves, the structure continues uniformly to infinity. Its termination surface radiates in the direction in which the wave is guided. Reflection-free PMLs are appropriate for simulating phased array antennas because the antenna radiates in a certain direction. Related Topics Assigning PML Boundaries Technical Notes 16-79

HFSS Online Help

Material Tensors Applied at PML Boundaries Tensor Entries Boundaries at PML Surfaces

Material Tensors Applied at PML Boundaries PMLs materials are complex anisotropic. An example is shown below. PML_Z PML_XYZ

PML_XY PML_Y PML_X

To ensure that there will not be any reflection at the PML/air interface, the bi-axial diagonal material tensors for x-, y- and z-directed PMLs (PML_X, PML_Y, and PML_Z) are as follows. For PML_X:

[-----ε ]1= --CC ε0 C

[------μ ]1= --C C μ0 C

[-----ε ]1= C --C ε0 C

[------μ ]1= C --C μ0 C

[-----ε ]1= C C --ε0 C

[------μ ]1= C C --μ0 C

For PML_Y:

For PML_Z:

where C = a - jb. The tensors designated as PML_X characterize an x-directed PML corresponding to a PML wall in the yz plane. Similarly, PML_Y and PML_Z are designated tensors for y- and z-directed PMLs. 16-80 Technical Notes

HFSS Online Help

PMLs of different directions must be joined in order to construct a box with PML walls. To ensure complete coverage where the edges and corners of two PMLs meet, create edge and corner PML objects. The tensors of an edge object joining PML_X and PML_Y are as follows for PML_XY:

[-----ε ]= 1 1 C2 ε0

[------μ ]= 1 1 C2 μ0

A similar tensor construction rule is valid for joining x- and z-directed and y- and z-directed PMLs. The tensor for a corner object is a follows for PML_XYZ:

[-----ε ]= C C C ε0

[------μ ]= CCC μ0

Related Topics Tensor Entries Boundaries at PML Surfaces PML Boundaries

Tensor Entries Entering the matrices of the anisotropic materials doesn’t require a special procedure. The usual anisotropic material definitions can be used for any PML structure. However, keep in mind that the efficiency of the PMLs depends on the material values assigned to them. Setting the complex parameter C ensures that the electromagnetic field decays strongly in the PMLs. Back reflections from the bounding PECs are then kept below a prescribed bound. To accomplish this, the following inequalities have to be satisfied:

– ln ρ e ≥ ------------------- = e min 2 D min H

– ln d e ≤ ------------------- = e max 2 D max h where

ω min 1 D min = α min + β min = ---------- + ----------r max c ω max 1 D max = α max + β max = --------- + -----------r min c

• • • •

e=a=b a and b are the real and imaginary parts of C. H is the thickness of the PML object. ωmax and ωmin are the minimum and maximum angular frequencies. Technical Notes 16-81

HFSS Online Help



rmax and rmin are the minimum and maximum distance of a radiating object to the PML surface.

• • • •

ρ is the bound for back reflection.

d is the maximum decay characterizing the element. (d is approximately 3 ⋅ 10 h is the thickness of one finite element. c is the velocity of light in vacuum.

–3

.)

Related Topics Material Tensors Applied at PML Boundaries Boundaries at PML Surfaces PML Boundaries

Boundaries at PML Surfaces After embedding a structure in PMLs, the next step is to specify boundaries on the outer surface of the box. The simplest way is to bound the box either with perfect electric conductors (PECs) or perfect magnetic conductors (PMCs.) In general, use PECs because they reduce the problem size. Related Topics Tensor Entries PML Boundaries Boundaries at PML Surfaces Material Tensors Applied at PML Boundaries

Finite Conductivity Boundaries In HFSS, finite conductivity boundaries represent imperfect conductors. At such boundaries, the following condition holds:

E tan = Z ( nˆ × H tan ) where

• • •

Etan is the component of the E-field that is tangential to the surface. Htan is the component of the H-field that is tangential to the surface. Zs is the surface impedance of the boundary,

• • • •

δ is the skin depth,

( 1 + j ) ⁄ ( δσ )

, where

2 ⁄ ( ωσμ ) , of the conductor being modeled.

ω is the frequency of the excitation wave. σ is the conductivity of the conductor. μ is the permeability of the conductor.

The fact that the E-field has a tangential component at the surface of imperfect conductors simulates the case in which the surface is lossy.

16-82 Technical Notes

HFSS Online Help

The surfaces of any objects defined to be non-perfect conductors are automatically set to finite conductivity boundaries. Note that HFSS does not attempt to compute the field inside these objects; the finite conductivity boundary approximates the behavior of the field at the surfaces of the objects. The finite conductivity boundary condition is valid only if the conductor being modeled is a good conductor, that is, if the conductor’s thickness is much larger than the skin depth in the given frequency range. If the conductor's thickness is in the range or larger than the skin depth in the given frequency range, HFSS’s layered impedance boundary condition must be used.

Symmetry Boundaries In HFSS, symmetry boundaries represent perfect E or perfect H planes of symmetry. Symmetry boundaries enable you to model only part of a structure, which reduces the size or complexity of your design, thereby shortening the solution time. When you are defining a symmetry plane, keep the following requirements in mind:

• • • •

A plane of symmetry must be exposed to the background. A plane of symmetry must not cut through an object drawn in the 3D Modeler window. A plane of symmetry must be defined on a planar surface. Only three orthogonal symmetry planes can be defined in a problem.

Perfect E Vs. Perfect H Symmetry Boundaries In general, use the following guidelines to decide which type of symmetry boundary to use, a perfect E or a perfect H:



If the symmetry is such that the E-field is normal to the symmetry plane, use a perfect E symmetry plane.



If the symmetry is such that the E-field is tangential to the symmetry plane, use a perfect H symmetry plane.

The simple rectangular waveguide shown below illustrates the differences between the two types of boundaries. The E-field of the dominant mode signal (TE10) is shown. The waveguide has two planes of symmetry, one vertically through the center and one horizontally.

Technical Notes 16-83

HFSS Online Help

The horizontal plane of symmetry is a perfect E surface. The E-field is normal and the H-field is tangential to that surface. The vertical plane of symmetry is a perfect H surface. The E-field is tangential and H-field is normal to that surface. Electric field of TE10 Mode

Perfect H symmetry plane Perfect E symmetry plane

For common problems, you can usually decide which symmetry boundary to use by reviewing the geometry. For example, if the structure is a microstrip, the flux lines of the E-field run between the ground plane and the conductive strip; therefore, the E-field is tangential to any vertical symmetry plane that slices a microstrip in half.

Symmetry and Port Impedance If a symmetry plane has been defined, the computed port impedances will not match the port impedance of the full structure unless an impedance multiplier is specified. Note

Port impedance is only calculated when a port has been defined. If you are solving a problem without ports, you do not need to specify an impedance multiplier.

Symmetry and Multiple Modes If you are solving for multiple modes, keep in mind that the orientation of the E- and H-fields may differ from mode to mode. A perfect H symmetry boundary for the dominant mode may be a perfect E symmetry for another mode.

Master and Slave Boundaries Master and slave boundaries enable you to model planes of periodicity where the E-field on one surface matches the E-field on another to within a phase difference. They force the E-field at each 16-84 Technical Notes

HFSS Online Help

point on the slave boundary match the E-field to within a phase difference at each corresponding point on the master boundary. They are useful for simulating devices such as infinite arrays. Unlike symmetry boundaries, E does not have to be tangential or normal to these boundaries. The only condition is that the fields on the two boundaries must have the same magnitude and direction (or the same magnitude and opposite directions). When creating matching boundaries, keep the following points in mind:



Master and slave boundaries can only be assigned to planar surfaces. These may be the faces of 2D or 3D objects.



The geometry of the surface on one boundary must match the geometry on the surface of the other boundary. For example, if the master is a rectangular surface, the slave must be a rectangular surface of the same size.



If the mesh on the master boundary does not match the mesh on the slave boundary exactly, the solution will fail. Normally HFSS automatically forces the mesh to match on each boundary; however, in some cases, the mesh cannot be forced to match. To prevent the solution from failing, create a virtual object on the slave boundary that exactly matches any extra object on the master boundary, or create a virtual object on the master boundary that exactly matches any extra object on the slave boundary.



To make a surface a master or slave boundary, you must specify a coordinate system that defines the plane on which the selected surface exists. When HFSS attempts to match the two boundaries, the two coordinate systems must also match each other. If they do not, HFSS will transpose the slave boundary to match the master boundary. When doing this, the surface to which the slave boundary is assigned is also transposed. If, after doing this, the two surfaces do not occupy the same position relative to their combined defined coordinate system, an error message appears. For example, consider the following figure:

V

U V

U

Slave

Master

To match the coordinate system of the master boundary, the coordinate system on the slave boundary must rotate 90 degrees counterclockwise; however, when this is done, you get the following:

V U

Technical Notes 16-85

HFSS Online Help

The two surfaces do not correspond and thus the mesh will not match, causing an error message.



The angle between the axes defined by the u point and v point must be identical for the master and slave boundary.

Calculating the E-Field on the Slave Boundary The E-field on the slave boundary is forced to match the E-field on the master boundary. The magnitude of the E-field on both boundaries is the same; however, the fields may be out of phase with each other. The function relating the electric field on the slave boundary, ES, to the electric field on the master boundary, EM, depends on the type of problem you are solving. For example, consider an infinite array simulation for a rectangular array. If the array excited to radiate in the direction (θ, φ) in spherical coordinates. The fields above the array experience a phase delay of

Ψ = k ( rˆo • v ) where

• •

rˆ 0 is the unit vector in the direction of scan. v is the vector from the slave boundary to the master boundary.

To simulate this in the finite element solution, HFSS incorporates phase shifts in the relation between the matching boundaries. That is, the electric field values on the master boundary will be related to the electric field values on the corresponding points on the slave boundary. This equation would be the following:

ES = e



EM

HFSS gives you the option of entering the scan angles, φ and θ, when relating ES to EM. The phase delay is calculated from the scan angles. However, if you know the phase delay, you may enter that directly.

16-86 Technical Notes

HFSS Online Help

Lumped RLC Boundaries To model any combination of lumped resistor, inductor, and/or capacitor in parallel on a surface, create a lumped RLC boundary. A lumped RLC boundary represents R, L, and C in parallel:

Similar to impedance boundaries, the following condition holds at lumped RLC boundaries:

E tan = Z s ( nˆ × H tan )

where

• • • •

nˆ is the is the unit vector that is normal to the surface. Etan is the component of the E-field that is tangential to the surface. Htan is the component of the H-field that is tangential to the surface. Zs is the surface impedance of the boundary, Rs + jXs, where

• •

Rs is the resistance in ohms/square. Xs is the reactance in ohms/square.

Unlike impedance boundaries, you are not required to supply the impedance per square, but you must supply the actual values for R, L, and C. HFSS then determines the impedance per square of the lumped RLC boundary at any frequency. A Fast frequency sweep is supported for this boundary condition.

Layered Impedance Boundaries A layered impedance boundary is used to model multiple layers in a structure as one impedance surface. The effect is the same as an impedance boundary condition, except that HFSS calculates the reactance and resistance values for the surface based on data you enter for the layered structure. Surface roughness is also taken into account. The reactance and resistance values are calculated differently for internal and external layered impedance boundaries. For external layered impedance boundaries, HFSS calculates the impedance for the side of the surface in contact with the computational domain and assigns this value to the boundary. For internal layered impedance boundaries, HFSS calculates the average impedance value for the two sides of the surface in contact with the computational domain and assigns this value to the boundary.

Technical Notes 16-87

HFSS Online Help

The layered impedance boundary is supported for single-frequency solutions and Discrete and Interpolating frequency sweeps.

Impedance Calculation for Layered Impedance Boundary The impedance of the layered structure is calculated by recursively calling the impedance calculation formulation known from transmission line theory:

Z inputk + 1 ch ( γ k d k ) + Z wk sh ( γ k d k ) Z inputk = Z wk --------------------------------------------------------------------------------Z inputk + 1 sh ( γ k d k ) + Z wk ch ( γ k d k ) where



Z inputk is the input impedance for the kth layer.



Z wk =

• • •

ch is the hyperbolic cosine function.

μ 0 μ rk --------------ε 0 με rk

sh is the hyperbolic sine function.

γ k = k 0 – ε rk μ rk where

• • • •

γ is the propagation coefficient. k0 is the free space wave number,

ω μ 0 ε 0 , where ω is the angular frequency, 2πf.

εrk is the relative complex permittivity of the Kth layer.

μrk is the relative complex permeability of the Kth layer.

where





sigma ε rk = epsr k – j ⎛ --------------- + epsr ⋅ tan de⎞ ⎝ ωε 0 ⎠



μ rk = mur k – j ( mur k ⋅ tan dm k )

dk is the thickness of the Kth layer.

16-88 Technical Notes

HFSS Online Help

Surface Roughness Calculation for Layered Impedance Boundary The surface roughness is measured as the RMS deviation of the conductor surface from a plane. Surface roughness increases conduction losses. Ansoft HFSS calculates surface roughness by modifying the conductivity as follows:

σ σ c = -------2 K w

where σ is the material’s conductivity.

s 1.6 K w = 1 + exp ⎛ – ⎛ ------⎞ ⎞ ⎝ ⎝ 2 h⎠ ⎠ where, further:

• •

h is the surface roughness. s is the skin depth.

Infinite Ground Planes To simulate the effects of an infinite ground plane, select the Infinite ground plane check box when setting up a perfect E, finite conductivity, or impedance boundary condition. The selection only affects the calculation of near- and far-field radiation during post processing. The 3D Post Processor models the boundary as a finite portion of an infinite, perfectly conducting plane. Conceptually, a boundary condition designated as an infinite ground plane divides the problem region into the half above it, where the entire model resides, and the half below it, where the radiated fields are set to zero. Antenna parameters involving radiated power will be consistent with these properties. Lossy ground planes may be approximated by selecting the Infinite ground plane check box when assigning a finite conductivity or impedance boundary. The effects of these boundaries are incorporated into the field solution in the usual manner, but the radiated fields in the 3D Post Processor are computed as if the lossy ground planes were perfectly conducting. When defining an infinite ground plane, keep the following requirements in mind:

• • • •

An infinite ground plane in a model must be exposed to the background. An infinite ground plane must be defined on a planar surface. The total number of infinite ground planes and symmetry planes cannot exceed three. All infinite ground planes and symmetry planes must be mutually orthogonal.

Frequency-Dependent Boundaries and Excitations In general, boundary and excitation parameters cannot depend on intrinsic functions. An exception is when a parameter depends on the variable Freq, which represents the solution frequency. The following boundary parameters can be assigned an expression that includes Freq: Technical Notes 16-89

HFSS Online Help

• •

Impedance boundary - the Resistance and Reactance parameters.

• • •

Slave boundary - the Phase parameter.

Finite conductivity boundary - the Conductivity parameter. If a material is specified, the material can be frequency dependent. Lumped RLC boundary - Resistance, Inductance, and Capacitance parameters. Layered impedance boundary - materials assigned on layers can be frequency dependent. Note

Dependence on Freq is supported for single-frequency solutions and for Discrete and Interpolating frequency sweeps. If a Fast sweep is requested, the solution will be valid for the center frequency, but may not be valid at other frequencies.

Default Boundary Assignments If a boundary has not been assigned to a model surface, one of the following default boundaries will be assigned to the surface: smetal

A single perfect E boundary is assigned to all objects that do not have Solve Inside selected in the Properties window and that are perfect conductors.

i_

A finite conductivity boundary is assigned to each object that does not have Solve Inside selected in the Properties window and that is not a perfect conductor. is the name of the object on which the boundary is assigned.

outer

A default boundary applied on the outermost surfaces of the model.

Related Topics Reviewing Boundaries and Excitations in the Solver View

16-90 Technical Notes

HFSS Online Help

Excitations Assigning excitations to an HFSS design enables you to specify the sources of electromagnetic fields and charges, currents, or voltages on objects or surfaces. This area of the Technical Notes includes information on the following topics:

• • • • • • • •

Wave Ports Polarizing the E-Fields Lumped Ports Setting the Field Pattern Direction Differential Pairs Magnetic Bias Sources Incident Waves Formula Summary for HFSS Floquet Modes

Wave Ports By default, the interface between all 3D objects and the background is a perfect E boundary through which no energy may enter or exit. Wave ports are typically placed on this interface to provide a window that couples the model device to the external world. HFSS assumes that each wave port you define is connected to a semi-infinitely long waveguide that has the same cross-section and material properties as the port. When solving for the S-parameters, HFSS assumes that the structure is excited by the natural field patterns (modes) associated with these cross-sections. The 2D field solutions generated for each wave port serve as boundary conditions at those ports for the 3D problem. The final field solution computed must match the 2D field pattern at each port. HFSS generates a solution by exciting each wave port individually. Each mode incident on a port contains one watt of time-averaged power. Port 1 is excited by a signal of one watt, and the other ports are set to zero watts. After a solution is generated, port 2 is set to one watt, and the other ports to zero watts and so forth. Within the 3D model, an internal port can be represented by a lumped port. Lumped ports compute S-parameters directly at the port. The S-parameters can be renormalized and the Y-matrix and Zmatrix can be computed. Lumped ports have a user-defined characteristic impedance.

Polarizing the E-Fields In some cases, such as when a port is square or circular, not only is the positive and negative direction in question, the line with which the E-field is aligned is also arbitrary. For example, in the case of a square waveguide, the E-field of the dominant mode can be aligned horizontally, vertically, or diagonally within the guide. There is no preferred direction. However, HFSS aligns the field with the defined integration line if you select Polarize E Field. Circular waveguides also require a polarized E-field. The direction of the E-field at ωt = 0 can point in any direction. To align the simulated field with a preferred direction, define an integration line Technical Notes 16-91

HFSS Online Help

and select Polarize E Field. In this case, the integration line must lie in the middle of the port, that is, in the symmetry plane. When polarizing the E-fields, observe the following guidelines. Otherwise the results may not be as expected.

• • •

Polarize the E-field only on square or circular waveguides. Make sure the port on the waveguide only feeds a single conductor (the waveguide wall.) Do not polarize the E-fields if you are using a symmetry boundary. The polarization is automatically enforced by the symmetry boundary condition.

Deembedding Deembedding means adding or subtracting transmission line. The deembedding operation uses the complex propagation constant to adjust the S-parameters. In the lossless case, it is nothing more than a change of the phase in the S-parameters. Deembedding is just post processing, meaning that a change in deembedding doesn't require HFSS to rerun the simulation. The new results appear instantaneously. This section shows an example where subtracting transmission line can be useful and an example where adding transmission line can be useful. Consider the aperture-coupled patch antenna shown in Fig. 1. A microstrip trace located below a ground plane feeds a patch antenna located above the ground plane. A slot in the ground plane couples power from the microstrip trace to the antenna.

microstrip trace ground plane slot patch antenna

16-92 Technical Notes

HFSS Online Help

Fig. 1 Aperture-coupled patch antenna A port is located at the beginning of the trace. It cannot be located very close to the slot, since a port has to be located in a position where a clean transmission-line mode is expected, at some distance from the first discontinuity. The port is shown in Fig. 2. One edge coincides with the ground plane. The other edges are such that the port width is several times the trace width and the port height several times the substrate thickness. The red arrows represent the port field solution. Notice that the three non-ground-plane edges don't influence the port solution noticeably, so this port is large enough.

Fig. 2 Magnitude of S11 in dB

Technical Notes 16-93

HFSS Online Help

The S-parameter characteristic is shown in Fig. 3 in a rectangular plot and in Fig. 4 in a Smith chart. Note that the resonance frequency in Fig. 3 corresponds to the point in Fig. 4 where the curve is closest to the center of the chart. Also note that the curve circles the chart several times.

Fig. 3 Magnitude of S11 in dB

16-94 Technical Notes

HFSS Online Help

Fig. 4 Smith Chart before deembedding Antenna designers who need to design a matching circuit close to the feed point may want to see the Smith chart with the reference point located close to the feed point of the antenna, that is. close to the slot, rather than some distance away from the feed point. That can be achieved by deembedding. Fig. 5 shows the Smith chart after deembedding.

Technical Notes 16-95

HFSS Online Help

Fig. 5 Smith Chart after deembedding Note that after this kind of deembedding, where transmission line was removed, the curve circles the Smith chart fewer times. As an example where adding transmission line may be useful, consider an IC package or a connector mounted on a printed circuit board. Fig. 6 shows a connector on a printed circuit board. The connector designer has included short sections of traces on the board in his model. These are coupled differential lines, and because of the coupling they share one port. Again, there is some distance between the port and the first discontinuity, so the fields that reach the port form clean transmission-line modes. To model the connector accurately, this model is sufficient.

16-96 Technical Notes

HFSS Online Help

Fig. 6 Connector on printed circuit board On the board, the traces may continue as uniform transmission lines for some distance. To evaluate system performance, it may be desirable to include that length in the S-parameters that are to be exported to a circuit simulator. With deembedding, uniform transmission line can be added as a matrix post processing step. Another example where adding transmission-line length through deembedding may be useful is modeling long cables with frequency-dependent materials, for example, in back planes. In HFSS, only a short section would be modeled, and its behavior over the entire frequency range analyzed accurately. Analyzing only a short section has the benefits of both speed and accuracy. Then, with deembedding, the cable can be extended to any desired length. The S-parameters for the full length can be exported to a circuit simulator to be incorporated into a system.

Technical Notes 16-97

HFSS Online Help

Lumped Ports Lumped ports are similar to traditional wave ports, but can be located internally and have a complex user-defined impedance. Lumped ports compute S-parameters directly at the port. Use lumped ports for microstrip structures. A lumped port can be defined as a rectangle from the edge of the trace to the ground or as a traditional wave port. The default boundary is perfect H on all edges that do not come in contact with the metal or with another boundary condition. The complex impedance Zs defined for a lumped port serves as the reference impedance of the Smatrix on the lumped port. The impedance Zs has the characteristics of a wave impedance; it is used to determine the strength of a source, such as the modal voltage V and modal current I, through complex power normalization. (The magnitude of the complex power is normalized to 1.) In either case, you would get an identical S-matrix by solving a problem using a complex impedance for a lumped Zs or renormalizing an existing solution to the same complex impedance. When the reference impedance is a complex value, the magnitude of the S-matrix is not always less than or equal to 1, even for a passive device. Note

When a lumped port is used as an internal port, the conducting cap required for a traditional wave port must be removed to prevent short-circuiting the source.

Setting the Field Pattern Direction When HFSS computes the excitation field pattern at a port, the direction of the field at ωt = 0 is arbitrary; the field can always point in one of at least two directions. In the figure below, the mode 1 field at ωt = 0 can either point to the left or to the right. Either direction is correct — unless a preferred direction is specified. To specify a direction, you must calibrate the port relative to some reference orientation by defining an integration line.

In the case of rectangular waveguides, visualize the difference in terms of a physical connection. If the up side of a port is aligned with the up side of the waveguide carrying the excitation signal, the signal at the port is in phase with what is expected. But if the up side of the port is connected to the down side of the waveguide, the incoming signal will be out of phase with the expected signal. Likewise, it is desirable to define which way is up at all ports on a structure; otherwise, the resulting S-parameters can be shifted from the expected orientation. 16-98 Technical Notes

HFSS Online Help

Calibrate a port to define a preferred direction at each port relative to other ports having identical or similar cross-sections. In this way, the results of laboratory measurements, in which the setup is calibrated by removing the structure and connecting two ports together, can be duplicated. Note

Because integration lines can determine the phase of the excitation signal and traveling wave, they are ignored by HFSS when a ports-only solution is requested.

Differential Pairs A differential pair represents two circuits, one positive and one negative, routed close together so they will pick up nearly the same amount of noise. The two signals are subtracted from each other by a receiver, yielding a much more noise-free version of the signal. You can compare the noise rejection of a differential pair to that of a conventional "single-ended" signal and alter the differential pair’s terminal Zo to determine its best reference impedance value. You can define a series of differential pairs from terminal voltage lines defined on existing ports. You must have defined two terminal lines on a single port for this command to be active.

Computing Differential Pairs To compute the differential and common voltages vd and vc of a terminal pair on a shared port rather than the single-ended voltages v1 and v2, define a differential pair in the Wave Port dialog box. The differential and common voltages vd and vc are defined by (1)

vd = v1 – v2 v1 + v2 v c = ---------------2 Consistent with power conservation, the corresponding differential and common currents, represented as id and ic respectively, are defined by (2)

i1 – i2 i d = -------------2 ic = i1 + i2 Equations (1) and (2) can be concisely represented as (3) v = Qe Technical Notes 16-99

HFSS Online Help

i = Q-Tu where



v =

v1 v2



i =

i1 i2



e =

vd vc



u =

id ic



Q is the real, non-singular matrix defined by (4)

1--1 Q = 2 1 – --- 1 2 •

Q-T is the inverse transpose of Q defined by (5)

Q

–T

1 1 --2 = 1 – 1 --2

Using equations (3), we may easily transform between single-ended and differential quantities.

16-100 Technical Notes

HFSS Online Help

Differential Admittance and Impedance Matrices The terminal admittance (Y) and impedance (Z) matrices discussed in the previous topics in the Technical Notes relate single-ended voltages and currents as i = Yv and v = Zi , respectively. If you defined differential voltages and currents e and u, equations (3) can be used to derive new Y and Z matrices that relate differential quantities. For example, if

i = Yv , then substituting equations (3) yields

Q-Tu = YQe. Solving for u yields (6) u = QTYQe and the matrix Y’ relating differential quantities e and u is defined by Y’ = QTYQ. A similar procedure applies to the terminal Z matrix.

Differential S-Matrices It is clear that an S-matrix can be computed for differential signals because it is possible to compute admittance and impedance matrices for differential signals. The differential S-matrix can be envisioned as relating in-going and out-going waves on imaginary transmission lines attached to the differential ports. The characteristic impedance must be specified for these lines. In the single-ended case, the characteristic impedance for a pair of transmission lines may be written in the form of a matrix relating the voltages and currents on the two (uncoupled) lines, (7)

v1

= Z

(1)

v2

Z

0 (1)

i1

0

ref

(2)

ref

i2

(2)

where Z ref and Z ref are the user-specified reference impedances. In the differential case, the matrix equation relating differential and common currents and voltages is written as (8)

vd vc

= Z

(d)

0

ref

Z

0

id

(c)

ic

ref

.

Technical Notes 16-101

HFSS Online Help

(d)

In this case, Z ref and Z impedances, respectively.

(c)

ref denote the user-specified differential and common reference

Magnetic Bias Sources When you create a ferrite material, you must define the net internal field that biases the ferrite by assigning a magnetic bias source. The bias field aligns the magnetic dipoles in the ferrite, producing a non-zero magnetic moment. When the applied bias field is assumed to be uniform, you will specify the tensor coordinate system through a rotation from the global coordinate system. When the applied bias field is non-uniform, specified coordinate system rotations are not allowed. The permeability tensor’s local coordinate system is calculated on a tetrahedron by tetrahedron basis, with the direction determined by the field directions calculated in the static solution. HFSS references the static solution project as the source of the non-uniform magnetostatic field information during solution generation. If a design already contains a magnetic bias field, you cannot assign another of a different type. If a single bias field exists in a design, you can edit the type. Related Topics Technical Notes: Uniform Applied Bias Fields Technical Notes: Non-uniform Applied Bias Fields

Uniform Applied Bias Fields The applied DC bias that causes ferrite saturation is always in the positive z direction of the tensor coordinate system. Initially the tensor coordinate system is assumed to be aligned with the fixed coordinate system; the tensor’s z-axis is the same as the model’s z-axis. To model other directions of applied bias, the permeability tensor must be rotated so that its z-axis lies in another direction on the fixed coordinate system. This is accomplished by specifying the rotation angles about the axes when you assign a magnetic bias source to a model surface. The rotation angles should be defined in the Magnetic Bias Source dialog box in such a way that the tensor coordinate system is obtained in the following manner: 1.

Rotating the tensor coordinate system by α degrees (from the X Angle) around the fixed xaxis.

2.

Rotating the resulting tensor coordinate system by β degrees (from the Y Angle) around the new y-axis.

3.

Rotating the new tensor coordinate system by γ degrees (from the Z Angle) around the new zaxis.

This concept is illustrated in the following graphic. In the first panel, the permeability tensor is rotated α degrees about the x-axis. In the second panel, the tensor is rotated β degrees about the y'axis (the new y-axis). In the third panel, the tensor is rotated γ degrees about the z''-axis (the new z-

16-102 Technical Notes

HFSS Online Help

axis). The resulting tensor has the coordinate system (x''y''z'') relative to the fixed coordinate system. 1.

z

2.

z’

y’ α

x

3.

x’

z’’ β

y

x

y’ y’’

x’’ γ

z’

x’

z’’

y’

For example, to model the DC bias in the x direction you would rotate the tensor coordinate system so that its z-axis lies along the x-axis of the fixed coordinate system. To do this you would enter 0 for the X Angle, 90 for the Y Angle, and 0 for the Z Angle.

Non-uniform Applied Bias Fields To accurately model a ferrite in an applied static magnetic bias field, the non-uniform magnetic bias fields must also be calculated. In HFSS, a ferrite’s permeability tensor is a direct result of an applied static magnetic bias field. The static field causes the tensor to assume an hermitian form, with cross coupling terms between field components perpendicular to the bias. However, a uniform bias field is difficult to achieve in practice. Even if the bias field is nearly uniform, a non-ellipsoidal-shaped ferrite material will have non-uniform demagnetization, resulting in non-uniform fields in the ferrite. Use the magnetostatic solver provided in the Maxwell 3D Field Simulator to generate a solution for non-uniform magnetostatic fields. Once a solution is generated it may be imported into HFSS. Note

To specify the non-uniform bias field, you must have purchased the Maxwell 3D Field Simulator. Refer to the Maxwell 3D Field Simulator documentation for instructions on solving for non-uniform magnetostatic fields.

Incident Waves An incident wave (or plane wave) is a wave that propagates in one direction and is uniform in the directions perpendicular to its direction of propagation. The angle at which the incident wave impacts the device is known as the angle of incidence. The equation that HFSS uses to calculate the incident wave is

ˆ

E inc = E 0 e – j k 0 ( k ⋅ r ) where

• •

Einc is the incident wave. E0 is the E-field polarization vector. Technical Notes 16-103

HFSS Online Help



k 0 is the free space wave number. It is equal to ω μ 0 ε 0 .

• •

kˆ is the propagation vector. It is a unit vector. r is the position vector and is equal to xxˆ + yyˆ + zzˆ .

Incident wave excitations are specified in a peak sense. That is, if the incident wave magnitude is 5 V/m, then the real time function of the incident field is E ( t ) = 5 cos ( k ⋅ r + ωt ) .

Port Terminals in HFSS HFSS can categorize microwave structures in terms of a black-box that relates voltages and currents flowing in and out of a given structure. The black-box has several terminals, each with an associated voltage/current pair. In HFSS, these terminals reside inside wave ports that enable post processing of a modal representation of the black-box into the terminal representation. When a terminal project is solved using HFSS, the number of modes for a port is determined by the number of terminals touching the port. If N+1 distinct conductors touch the port, there are N terminals and one reference conductor usually referred to as ground. The modal port representations of the electric and magnetic fields are: (1)

N

E =

∑ ( an + bn )en n=1

(2)

N

H =

∑ ( an – bn )hn n=1

where an and bn are unitless complex amplitudes of the ingoing and outgoing modal fields, respectively. The modal black-box representation of a given structure is given by HFSS in terms of the generalized scattering matrix, S, (3)

b = Sa where a and b are the unitless complex modal coefficient vectors. In order to obtain a terminal representation of the black-box, N integration paths Ci and N integration loops Li are used to define N voltages and N currents, respectively,

16-104 Technical Notes

HFSS Online Help

(4)

N

vi =

N

∫ ( E ⋅ dl ) = ∑ ( an + bn ) ∫ en ⋅ dl = ∑ ( an + bn )Tin Ci

n=1

Ci

i = 1,2... ,N

n=1

(5)

N

ii =

N

°∫ ( H ⋅ dl ) = ∑ ( an – bn ) °∫ hn ⋅ dl = n∑= 1 ( an – bn )Uin

Ci

n=1

i = 1,2... ,N

Ci

In matrix notation, the equations become (6)

v = T(a + b ) (7)

i = U(a – b) Combining these equations with (3), yields the following circuit or terminal description of the black-box representation of the structure (8)

i = Yv where the terminal admittance matrix Y is given by (9) –1 –1

Y = U( I – S )( I + S ) T

In HFSS, a generalized terminal scattering matrix St is supplied to the user instead of Y due

to

more stable properties of St. (10)

β = st α where α and β are ingoing and outgoing pseudo power waves, respectively. The St matrix is obtained by assuming that the voltages and currents are measured by some device with a given reference impedance. This assumption leads to the following relations. Technical Notes 16-105

HFSS Online Help

(11)

1⁄2

v = Z ref

(α + β)

(12)

–1 ⁄ 2

(α – β)

i = Z ref

where Zref is a diagonal reference impedance matrix representing the measuring device. An

expression for St is obtained by using equations (8) - (12) (13)

1⁄2

1⁄2

S t = ( I + Z ref

YZ ref

–1

1⁄2

) ( I – Z ref

1⁄2

YZ ref

)

Prior to HFSS version 11, the T matrix was obtained by integrating the modal electric fields from the user specified terminal lines, and the U matrix was implicitly obtained from a modal power matrix P, with the assumption that (14)

P mn =

∫ ∫

*

H

( e n × h m ) ⋅ dS = U m T n

Port

m = 1, 2, 3, ...,N n = 1, 2, 3, ..., N

where * indicates complex conjugation and Um and Tm are the mth column vector of the U and T matrices, respectively. Equation (14) can be written in matrix format as (15)

H

P = U T In HFSS version 11, the user no longer has to draw the terminal lines which sometimes can be a rather difficult and time consuming task. Instead, the U matrix is obtained by integrating the modal magnetic fields around each terminal touching a port and the T matrix is then implicitly obtained from (15). Each integration loop needed to obtain U is automatically determined based on the terminal definitions.

Formula Summary for HFSS Floquet Modes • Planar array lattice is specified by lattice vectors a and b. • Lattice angle α defined by a ⋅ b = ab cos α • Global material is lossless, isotropic, and homogeneous, and specified by real ε r and μ r . 16-106 Technical Notes

HFSS Online Help



Frequency is specified in the form of free-space wave number quency and c is the speed of light in a vacuum.



Local coordinate system (LCS) unit vectors

2πf k 0 = -------c

where f is fre-

xˆ and yˆ are related to lattice vectors by:

(1)

xˆ = aˆ (2)

c = b – ( b ⋅ aˆ )aˆ (3)

c yˆ = -c

where

a aˆ = --a

Unit vector rˆ s denotes scan direction. In the global coordinate system (GCS) the components of rˆ s are given by ( sin θ s cos φ s, sin θ s sin θφ s, cos θ s ) where scan angles θ s and φ s are specified as spherical angles in the GCS. (4)

ψa =

μ r ε r k s rˆ ⋅ a

(5)

ψb =

μ r ε r k 0 rˆ s ⋅ b

(6)

m ,nε { … ,– 2 ,– 1 ,0 ,1 ,2 ,… } (7)

Technical Notes 16-107

2πm ψ a k a = ----------- + -----a a

HFSS Online Help

If

kz ≠ 0

(8)

2πn ψ b k b = ---------- + -----ab b (9)

kx = ka (10)

kb k y = ----------- – k a cot α sin α (11)

2

2

2

k c = kx + ky (12)

kz =

2

2

μr εr k 0 – k c

(13)

ψ mn ( x ,y ) =

– jk x x – jk y y 1 e ------------------ e ab sin α

(14)

(1) Ψ mn = 16-108 Technical Notes

k y xˆ – k x yˆ ----------------------- ψ mn ( x ,y ) kc

( kc ≠ 0 )

HFSS Online Help

(15)

(2) Ψ mn =

k x xˆ + k y yˆ ----------------------- ψ mn ( x ,y ) kc

( kc ≠ 0 )

(16)

˜ (1) Ψ mn =

1 ------------------ ( sin θ s xˆ – cos θ s yˆ ) ab sin α

( kc ≠ 0 )

(17)

˜ (2) Ψ mn =

1 ------------------ ( sin θ s xˆ + cos θ s yˆ ) ab sin α

( kc ≠ 0 )

(18) TE

TE

(1)

e mn = N mn Ψ mn (19) TE

TE

TE ˆ h mn = Y mn z × emn (20)

kz 1 TE Y mn = ----------- ----μ0 k0 η0 (21) TE

Nmn =

1 μ r k 0 ------------ η 0 kz Technical Notes 16-109

HFSS Online Help

(22) TE zˆ emn = 0 (23)

TE TE zˆ h mn = – zˆ Ymn

TE

Nmn

⎛ k c⎞ ⎜ -----⎟ ψ mn ⎝ k z⎠

(24) TE

TM

(2)

e mn= N mn Ψ mn (25) TM

TM

TM ˆ h mn = Y mn z × e mn (26)

εr k TM 0 1 Y mn = ---------- ----kz η0 (27)

kz 1 ------------------------ η0 = N TM mn εr k0 kz (28)

TM TM zˆ e mn = – zˆ N mn 16-110 Technical Notes

⎛ k c⎞ ⎜ -----⎟ ψ mn ⎝ k z⎠

HFSS Online Help

(29)

TM zˆ h mn = 0

If k = 0 , use the preceeding z small constant. If

kz ≠ 0

formulas with

kz = α

where

0Pause Script.

To resume a script after pausing it: 17-2 Scripting

HFSS Online Help



Click Tools>Resume Script.

Stopping a Script ClickTools>Stop Script. HFSS stops executing the script that has been paused.

Scripting17-3

HFSS Online Help

17-4 Scripting

18 Glossaries

Glossary of Terms

Glossaries 18-1

HFSS Online Help

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. The cost function can be based on any solution quantity that HFSS can compute, such as field values, S-parameters, and eigenmode data.

design variation

A single combination of variable values that is solved during a parametric or optimization setup.

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 .

18-2

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.

nominal design

The original model on which Optimetrics analyses are based.

sweep definition

See variable sweep definition.

variable sweep definition

A set of variable values within a range that Optimetrics drives HFSS to solve when a parametric setup is analyzed. A parametric setup can include one or more sweep definitions.

Glossaries

Index

Symbols 14-13

Numerics 1D objects 5-2 2D model files exporting 3-18 importing 3-22 2D objects 5-2 3D model files exporting 3-18 3D Modeler Chamfer command 5-66 opening new windows 5-1 3D Modeler commands Delete Last Operation 5-47 Purge History 5-66 3D Modeler window 1-29 3D movement mode 5-84 3D objects 5-2 3D UI Options View Options command 10-6

A aborting analyses 13-51

absolute coordinates, entering 5-81 absorbing boundary for ports 12-19 accepted power 16-56 adaptive analysis and frequency sweeps 12-20 bypassing 12-2, 12-10 maximum refinement per pass 12-15 setting convergence on real frequency only 12-12 setting lambda refinement 12-14 setting matrix convergence 12-16 setting maximum delta Energy 12-11 setting maximum delta S 12-11 setting maximum number of passes 12-10 setting minimum number of converged passes 1216 setting minimum number of passes 12-16 setting up 12-10 Adaptive Lanczos-Padé Sweep (ALPS) 16-21 adaptive passes completed and remaining 15-3 adaptive solution single frequency 16-19 admittance matrix for differential pairs 16-101 method of calculation 16-36 plotting parameters 15-72 analyses Index-1

changing priority of 13-50 monitoring 13-48 Optimetrics 14-1 re-solving 13-52 starting 13-1 stopping 13-51 Analyze All command using 13-2 animations controlling the display 15-28 exporting 15-30 frequency 15-27 geometry 15-27 overview 15-26 phase 15-26 anisotropic materials about 16-116 and ports 16-120 assigning 8-6 conductivity tensor 16-118 electric loss tangent tensor 16-119 magnetic loss tangent tensor 16-120 permeability tensor 16-117 permittivity tensor 16-117 anisotropy conductivity 16-118 electric loss tangent 16-119 magnetic loss tangent 16-120 permeability 16-117 permittivity 16-117 anisotropy tensors defining conductivity 8-7 defining dielectric loss tangent 8-8 defining magnetic loss tangent 8-8 defining relative permeability 8-6 defining relative permittivity 8-7 antenna arrays defining custom 15-132 defining regular uniform 15-131 Antenna Parameters calculated by HFSS 15-74 antenna parameters exporting 15-134 antenna properties Index-2

accepted power 16-56 axial ratio 16-51 computing 15-132 incident power 16-56 max far-field data 16-43 maximum radiation intensity 16-53 overview 16-49 peak directivity 16-53 peak gain 16-54 peak realized gain 16-55 polarization 16-50 polarization ratio 16-52 radiated power 16-55 radiation efficiency 16-57 arc lines center-point arcs 5-4 three-point arcs 5-3 arcs center-point 5-4 three-point 5-3 array factor and power normalizations 16-49 calculation 16-44 scan angle 16-44 arrays defining custom 15-132 defining regular 15-131 arrows modifying in plots 15-95 types in plots 15-95 AtPhase Calculator General Commands 15-113 attenuation constant 16-36 auto-save file 3-10 average SAR calculation of 16-29 Axial Ratio definition 15-74 axial ratio 16-51

B background color, setting 10-19 basis functions

low-order solution basis 12-18 overview 16-2 BIstatic RCS equations 15-75 bondwires drawing 5-21 overview 16-65 boundaries and frequency dependence 16-89 assigning 6-1 assigning at face intersections 5-63 default assignments 16-90 deleting 6-26 duplicating with geometry 6-30 editing properties of 6-25 hiding 6-31 moving to different surfaces 6-27 reassigning 6-27 reprioritizing 6-28 setting default values 6-34 types of 6-1 Boundary Zoom to selected 6-2 boxes, drawing 5-13

C calculated expressions plotting 15-88 calculation range setting for a cost function 14-33 setting in a parametric setup 14-10 Calculator General commands AtPhase 15-113 CmplxImag 15-113 CmplxMag 15-112 CmplxPeak 15-113 CmplxPhase 15-112 CmplxReal 15-113 Con 15-113 Imag 15-112 Real 15-112 calculator

entering values and geometries 15-106 exporting 15-122 general operations 15-111 output commands 15-120 registers 15-104 scalar operations 15-113 stack commands 15-105 stacks 15-104 units assumed as SI 15-105 vector operations 15-117 capacitors modeling lumped 6-19 Cartesian coordinates on grid 10-21 entering coordinates 5-79 setting as grid type 10-21 category traces 15-71 center-point arcs 5-4 Chamfer command 3D modeler 5-66 characteristic impedance 16-32 and renormalized S-parameters 16-31 plotting 15-72 specifying impedance lines 7-16 Zpi impedance 16-33 Zpv impedance 16-33 Zvi impedance 16-33 circles, drawing 5-7 circuit types, modeling 6-19 circular polarization 16-51 clean stop 13-51 cleaning up solutions 15-16 clear linked data 12-14 clearing selections 5-79 cloning objects before intersecting 5-62 before subtracting 5-61 before uniting 5-60 closed objects 5-2 cloud plots 15-96 CmplxImag Calculator General Commands 15-113 CmplxMag Index-3

Calculator General Commands 15-112 CmplxPeak Calculator General Commands 15-113 CmplxPhase Calculator General Commands 15-112 CmplxReal Calculator General Commands 15-113 color key moving 15-93 setting visibility 15-93 colors assigning to objects 5-44 default for objects 5-44 default for outlines 5-44 of field overlays 15-92 of highlighted objects 5-71 of selected objects 5-70 setting background color 10-19 command properties 1-28 command-line options 1-36 Complex (Bistatic) RCS equations for 15-75 complex numbers in calculator registers 15-104 complex propagation constant 16-10 complex weight 16-44 conductivity 16-114 anisotropic 16-118 defining anisotropy tensors 8-7 cones, drawing 5-14 Conj Calculator General Commands 15-113 connecting objects 5-57 constraints setting linear 14-77 context-sensitive help 2-1 convergence in solution process 16-3 on real frequency only 12-12 output variable 12-12 viewing output variable 15-4 convergence criteria matrix 12-16 maximum number of passes 12-10 Index-4

minimum converged passes 12-16 minimum number of passes 12-16 setting delta Energy 12-11 setting maximum delta S 12-11 convergence data for design variations 14-81 mag margin 16-15 maximum delta Energy results 15-4 maximum delta S results 15-3 number of passes completed 15-3 output variable 15-4 phase margin 16-15 plotting 15-7 viewing 15-2 viewing the mag margin 15-5 viewing the max delta (Mag S) 15-5 viewing the max delta (phase S) 15-6 viewing the maximum delta frequency 15-6 viewing the phase margin 15-5 coordinate systems creating face 5-95 creating relative 5-93 default planes 5-95 deleting 5-96 enlarging axes 10-20 hiding axes 10-20 modifying 5-96 modifying view of axes 10-20 operations affecting 5-96 overview 5-92 setting the working CS 5-92 showing axes 10-20 shrinking axes 10-20 specifying for matching boundaries 6-16 coordinates entering absolute 5-81 entering Cartesian 5-79 entering cylindrical 5-80 entering relative 5-82 entering spherical 5-80 copy command for report and trace definitions 15-64 Copying 5-45 copying and pasting objects 5-45

copying materials 8-16 copying to the clipboard 5-45 copyright notices 1-53 corners removing rounded 5-58 cost function adding 14-30 plotting results vs. iteration 14-84 setting a goal 14-30 setting the calculation range 14-33 specifying solution quantity for 14-33 viewing results vs. iteration 14-83 count setting for sweep definitions 14-6 covering faces 5-56 covering lines 5-56 CPU time viewing for solution tasks 15-7 vs. real time 15-7 creating custom report templates 15-39 creating a User Defined Primitive 5-39 cross-sections creating 5-57 plotting spherical 16-40 CTRL+A shortcut keys 5-70 current coordinate system about 5-92 current flow direction 7-35 current flow lines 6-19 current sources assigning 7-35 editing 7-35 scaling the magnitude 15-23 setting the phase 15-23 custom arrays geometry file setup 16-47 setting up 15-132 custom report templates creating 15-39 cylinders, drawing 5-12 cylindrical coordinates, entering 5-80

D data tables exporting 3-20 importing 3-30 data tables, creating 15-49 data types for convergence sweep setup 12-22 dataset expressions adding 3-58 using 3-57 datasets adding 3-58 and frequency-dependent materials 8-9 modifying 3-59 DC thickness assigning 2-1 Debeye’s model 16-121, 16-122 decade count sweep definitions 14-5 decay of higher order modes 16-12 de-embedding S-matrices 7-46 theory 16-37 deembedding technical notes 16-92 default impedance changing 15-53 default variable value overriding for a parametric setup 14-7 defaults 5-44, 5-45 assigned boundaries 16-90 auto cover closed polylines 5-56 auto cover polylines 5-56 background color 10-19 basic field quantities 16-27 clone objects before intersecting 5-62 clone objects before subtracting 5-61 clone objects before uniting 5-60 color of highlighted objects 5-71 color of selected objects 5-70 field plot attributes 15-91 lighting 10-17 mesh plot attributes 15-137 open Properties window after drawing objects 1Index-5

27 rendering mode 10-12 SAR settings 15-89 setting face CS 5-96 setting for boundary values 6-34 setting for excitation values 6-34 snap settings 5-87 view orientation 10-15 Delete Last Operation command 3D Modeler 5-47 deleting boundaries 6-26 excitations 7-40 field overlay plots 15-100 materials 8-17 polyline segments 5-46 projects 3-12 solution data 15-16 start points and end points 5-47 deleting objects 5-46 delta between markers in reports 15-51 delta E, See maximum delta Energy 12-11 delta frequency, maximum 15-6 delta H 16-116 delta S, See maximum delta S 12-11 density of grid 10-21 derived field quantities plotting 15-88 design variables deleting 3-53 See local variables 3-52 design variations manually modifying points 14-6 viewing all in a parametric setup 14-4 viewing solution data 14-81 designs in project tree 1-24 inserting in project 4-2 setting up 4-1 desktop menu bar 1-15 overview 1-13 status bar 1-23 Index-6

toolbars 1-17 detaching edges 5-57 detaching faces 5-56 dielectric loss tangent 16-114 defining anisotropy tensors 8-8 differential pairs admittance and impedance matrices 16-101 computing the S-matrix 16-101 setting up 7-18 Directivity definition 15-74 directivity, peak 16-53 discard below value 15-62 Discrete frequency sweep 16-22 Discrete sweeps saving fields 12-26 saving fields at single frequencies 12-27 specifying single frequencies 12-27 display types, of reports 15-42 distributed analysis 14-12 licensing 13-44 distribution criteria setting for statistical setups 14-60 Djordjevic-Sarkar Model input use in Frequency Dependent materials 8-10 donuts, See toruses 5-14 draft angles and sweeping objects 5-53 draft types and sweeping objects 5-53 drawing a model overview 5-1 drawing objects bondwires 5-21 boxes 5-13 center-point arcs 5-4 circles 5-7 cones 5-14 cross-sections 5-57 cylinders 5-12 ellipses 5-8 equation based curve 5-7 for post processing 5-24 helices 5-15

non model 5-24 overview 5-2 planes 5-22 points 5-22 polylines 5-5 rectangles 5-9 regular polygons 5-10 regular polyhedrons 5-13 spheres 5-11 spiral using UDP 5-20 spirals 5-18 splines 5-4 straight line segments 5-2 three-point arcs 5-3 toruses 5-14 Driven Modal solutions overview 16-24 setting 4-3 Driven Terminal solutions overview 16-24 setting 4-3 duplicates and parent objects 5-50 duplicating boundaries 6-30 excitions 6-30 integration lines 7-17 duplicating objects along a line 5-50 and mirroring 5-51 around an axis 5-51 overview 5-50

E edges creating objects from 5-63 detaching 5-57 removing 5-57 rounding 5-66 edges, selecting 5-76 effective wavelength 16-37 E-field aligning with integration lines 16-91 specifying direction of 7-34

e-field specifying direction of 7-16 E-fields calculating on slave boundary 16-86 mapping to other surfaces 16-84 relating master and slave boundary 6-17 Eigenmode setting Maximum delta Frequency 12-12 Eigenmode solutions overview 16-24 setting 4-3 viewing solution data 15-15 eigenmodes minimum frequency to search for 12-8 specifying number of 12-9 ellipses, drawing 5-8 Emission test selecting quantity to plot 15-80 energy error 12-11 epsilon 16-37 equation based surface drawing 5-11 equations based curve, drawing 5-7 equivalent circuit export options 15-13 error tolerance for interpolating sweeps 12-23 Eval command fields calculator 15-120 Excitation Zoom to selected 7-2 excitation fields 16-10 excitations and frequency dependence 16-89 deleting 7-40 duplicating with geometry 6-30 editing properties of 7-39 hiding 6-31 invalidated 7-41 moving to another surface 7-41 scaling the magnitude 15-23 setting default values 6-34 setting the phase 15-23 types of 7-1 exponential count sweep definitions 14-5 Index-7

export from the calculator 15-122 Export command fields calculator fields calculator Export command 15-122 export results Ansys Mechanical 15-18 exporting 2D model files 3-18 3D model files 3-18 animations 15-30 antenna parameters 15-134 data tables 3-20 equivalent circuit data files 15-13 field overlay plots 15-99 materials to libraries 8-18 matrix data 15-11 maximum field data 15-134 W-element data 15-14 expressions dataset 3-57 defining 3-54 including in functions 3-59 intrinsic functions in 3-55 piecewise linear functions in 3-57 using as cost function goal 14-35 valid operators 3-54 extruding faces 5-58

F face coordinate system about 5-92 creating 5-95 creating automatically 5-96 operations affecting 5-95 faces copying 5-62 covering 5-56 creating coordinate system on 5-95 creating face lists 5-75 creating objects from 5-62 detaching 5-56 Index-8

extruding 5-58 intersections 5-63 moving along a vector 5-59 moving along the normal 5-58 removing 5-56 selecting 5-72 selecting all object 5-73 selecting behind 5-79 selecting by name 5-74 uncovering 5-56 far field quantities Antenna Params calculated 15-74 Axial Ratio 15-74 Bistatic RCS 15-75 Complex (Bistatic) RCS 15-75 Directivity 15-74 Gain 15-74 Monostatic RCS 15-75 Polarization Ratio 15-74 rE 15-74 Realized Gain 15-74 far fields and radiation boundaries 15-128 calculation of 16-39 computing antenna parameters 15-132 computing max data 15-132 defining antenna arrays 15-131 horizontal cross-sections 15-78 infinite spheres 15-129 plotting on spherical cross-sections 16-40 plotting quantities 15-74 reports 15-41 vertical cross-sections 15-78 far-field pattern 16-44 Fast frequency sweep 16-21 Fast sweeps modifying matrix data 15-9 saving fields 12-26 ferrite materials adding to libraries 8-5 properties of 8-5 ferrites about 16-115 and delta H 16-116

and lande G 16-116 and magnetic saturation 16-115 assigning bias field 7-36 assigning magnetic bias sources 7-36 field overlay plots 15-87, 15-88 default settings 15-100 hiding color key 15-93 modifying attributes 15-90 modifying colors of 15-92 modifying field quantities 15-90 modifying phase 15-87 modifying plot scale 15-94 moving color key 15-93 on lines 15-98 SAR 16-29 SAR settings 15-89 scalar plots 15-89 vector plots 15-90 field pattern direction, specifying 16-98 field quantities defaults 16-27 phase angle 15-113 plotting basic 15-87 plotting derived 15-88 within tetrahedra 16-2 field reports 15-41 field solutions linking from simulations 7-20 saving at all frequency points 12-26 saving for a parametric setup 14-70 saving for a sensitivity setup 14-71 saving for a statistical setup 14-70, 14-72 saving for a tuning analysis 14-70, 14-71 saving for all Optimetrics setups 14-70 saving for an optimization setup 14-70 fields saving at specific frequency points 12-28 fields calculator Eval command 15-120 Value command 15-120 Write command 15-121 Fields Reporter options 3-42 file formats animated GIF 15-30

.asol 3-2 .avi 15-30 data table 15-11 .dsp 15-99 Ensemble ver. 6+ 15-11 .gds 3-22 .hfss 3-2 HFSS ver. 6+ 15-11 .hfssresults 3-2 HSpice 15-13 .lib 15-13 Libra 15-11 .m files 15-11 Maxwell Spice 15-13 Neutral Model Format 15-11 nmf 15-11 PSpice 15-13 .sat 3-18 .sm2 3-18, 3-22 .sm3 3-18 .sNp 15-11 .sp 15-13 .spc 15-13 Touchstone 15-11 files auto-save 3-10 HFSS 3-2 importing 3-22 fillet command rounding edges 5-66 filtering materials 8-20 finite array patterns 16-44 finite conductivity boundaries and frequency dependence 16-89 assigning 6-14 conditions applied at 16-82 guidelines for assigning 16-82 finite element mesh, overview 16-2 finite element method, overview 16-2 fitting all objects in view 10-7 fitting selections in view 10-7 fixed variables setting values during analyses 14-76 free space lambda refinement 12-14 Index-9

free space termination, and PMLs 16-79 free space wave number 16-26 Freq variable 16-89 frequency 16-10 and propagating modes 16-12 frequency animations 15-27 frequency depedent data points adding for materials 8-12 frequency dependent materials Djordjevic-Sarkar model 8-10 frequency points choosing for full-wave SPICE 12-29 deleting from solution 12-28 inserting in solution 12-29 frequency sweep range for full-wave SPICE 12-29 frequency sweeps adding to designs 12-20 and adaptive analysis 12-20 and bypassing adaptive analysis 12-2, 12-10 and lumped RLC boundaries 16-87 error tolerance 12-23 Fast sweep overview 16-21, 16-22 Interpolating sweep overview 16-23 linear step frequencies 12-25 maximum number of solutions 12-24 minimum number of solutions 12-22 overview 16-20 selecting type 12-21 setting points to solve 12-25 setting single frequencies 12-27 settings for 12-20 frequency-dependent materials and lossy dielectrics 16-121, 16-122 defining 8-9 defining properties for lossy dielectrics 8-11 FSS surfaces assigning reference surface for radiation boundaries 6-7, 6-10, 6-11 full-wave SPICE choosing frequencies 12-29 guidelines for calculating maximum frequency 12-30 guidelines for calculating step size 12-30 Index-10

functions defining 3-59 for traces 15-62 reserved names in HFSS 3-59 selecting for a quantity 15-67 valid operators 3-54

G Gain definition 15-74 gain, peak 16-54 gain, peak realized 16-55 Generate History command 5-67 geometry animations 15-27 Getting Started guides 1-40 global coordinate system about 5-92 global materials Ansoft 8-21 user-defined 8-21 glossary of terms 17-1 goal setting a complex value 14-34 setting a real value 14-34 setting a single value 14-34 setting as variable dependent 14-35 setting for cost function 14-34 setting weight of 14-30 using an expression for 14-35 goal weight setting 14-30 gradient background colors 10-19 grid settings choosing 10-21 density 10-21 dots or lines 10-21 grid plane 10-22 spacing 10-21 style 10-21 type 10-21 visibility 10-22 ground planes

lossy 16-89 group delay plotting 15-72 guide 1-41

H helices, drawing 5-15 helix drawing segmented polygon with UDP 5-16 drawing segmented rectangular with UDP 5-17 help about conventions used 2-3 on context 2-1 on dialog boxes 2-1 on menu commands 2-1 HFSS command-line options 1-36 getting started 1-1 introduction 1-1 setting options 3-36 HFSS Options dialog solving inside threshold 8-3 hiding boundaries 6-31 color key 15-93 excitations 6-31 field overlay plots 15-99 objects 10-8 selections 10-8 hiding windows 1-13 history viewing outline of merged objects 3-48 History operations setting visualization 3-48 history tree controlling view of objects 1-33 operations affecting CSs 5-96 operations affecting face CS 5-95 operations affecting relative CS 5-92 Unclassified folder 1-32 holes moving 5-59 resizing 5-58

horizontal cross-sections 15-78 HSpice files exporting to 15-13

I i_ boundary type 16-90 Imag Calculator General Commands 15-112 impedance and frequency 16-12 and symmetry 16-84 changing 15-53 characteristic 16-32 method of calculating 16-32 renormalizing S-matrices 7-45 renormalizing S-parameters 16-31 impedance boundaries and frequency dependence 16-89 assigning 6-6 conditions applied at 16-77 overview 16-77 impedance boundary units 16-78 impedance lines See integration lines 7-16 impedance matrix for differential pairs 16-101 method of calculation 16-35 plotting parameters 15-72 impedance multiplier and symmetry planes 16-84 setting 7-44 theory behind 16-34 imperfect conductors, modeling 6-14 importing data tables 3-30 files 3-22 solution data 3-30 incident power 16-56 incident waves assigning 7-20 scaling the magnitude 15-23 scaling the phase 15-23 Index-11

inductors modeling lumped 6-19 infinite arrays 16-44 defining custom 15-132 defining regular 15-131 infinite sphere, defining 15-129 infinity visualization 15-38 initial displacement setting 14-55 initial mesh source from current or other design 12-13 initial mesh, reverting to 11-9 in-plane movement mode 5-83 input signal, for time domain reports 15-51 input time signal duration 12-29 inserting line segments 5-6 inserting designs 4-2 integration lines and multiple modes 7-16 defining 7-16 deleting 7-17 duplicating 7-17 guidelines for defining 7-16 modifying 7-17 reversing direction of 7-17 swapping endpoints 7-17 Interpolating sweep 16-23 Interpolating sweeps modifying matrix data 15-9 interpolating sweeps error tolerance 12-23 intersecting faces 5-62 intersecting objects 5-61 intrinsic functions 3-55 introduction to HFSS 1-1 invalid excitations 7-41 isosurface display 15-96 Iterative matrix solver 16-17

J JEDEC 4-point bondwires 16-65 JEDEC 5-point bondwires 16-65 Index-12

joining objects 5-59

L lambda 16-37 lambda refinement setting 12-14 lande G factor 16-116 layered impedance boundaries and frequency dependence 16-89 assigning 6-22 external vs. internal 16-87 impedance calculation 16-87 impedance calculation formula 16-88 surface roughness calculation 16-89 legacy HFSS projects opening 3-4 translation overview 3-4 legends in reporrts 15-38 length of transmission line adding to ports 7-46 subtracting from ports 7-46 length-based refinement inside objects 11-3 on faces 11-2 libraries editing methods for user and system 8-21 licensing distributed analysis 13-44 lighting 10-17 line segments inserting 5-6 linear constraints deleting 14-78 modifying 14-78 setting 14-77 linear count sweep definitions 14-5 linear materials adding to libraries 8-5 properties of 8-5 linear polarization 16-50 linear step frequencies 12-25 linear step sweep definitions 14-5 lines

between grid points 10-21 converting to arcs 5-65 converting to splines 5-65 covering 5-56 drawing center-point arc segments 5-4 drawing straight segments 5-2 drawing three-point arc segments 5-3 field plots on 15-98 integration 7-16 value vs. distance plots 15-66 link Thermal to Ansys 15-18 linking from simulations 7-20 Linux Setting Up a Printer 1-5 system requirements 1-4 local SAR calculation of 16-29 local variables adding 3-52 units in definition 3-52 log of solution tasks 15-7 lossy ground planes 16-89 low-order solution basis 12-18 Ludwig-3 16-51 Lumped Port wizard 7-10 lumped ports for modal solutions 7-10 for terminal solutions 7-11 guidelines for assigning 16-98 overview 16-98 lumped RLC boundaries and frequency dependence 16-89 and frequency sweeps 16-87 assigning 6-19 conditions applied at 16-87 overview 16-87 lumps, multiple 5-64

M M3DFS as source of field information 7-36 MAFET Consortium 15-11

mag margin 16-15 magnetic bias non-uniform 16-103 uniform 16-102 magnetic bias sources assigning to ferrites 7-36 magnetic loss tangent 16-115 defining anisotropy tensors 8-8 magnetic saturation 16-115 magnifying objects 10-4 magnitude setting maximum change for matrix entries 12-17 magnitude margin 15-5 Map Infinity Mode 15-38 markers adding to plot traces 15-60 delta between markers 15-51 markers, point plot 15-97 master boundaries assigning 6-16 guidelines for assigning 16-84 matching boundaries assigning 6-16 defining coordinate systems 16-85 guidelines for assigning 16-84 material browser accessing 8-1 material characteristics magnetic loss tangent 16-115 permeability 16-113 material properties anisotropic 8-6 changing units of 8-5 conductivity 16-114 defining frequency dependent 8-9 defining variables for 8-9 delta H 16-116 dielectric loss tangent 16-114 lande G 16-116 magnetic loss tangent 16-115 magnetic saturation 16-115 permeability 16-113 permittivity 16-113 simple 8-6 Index-13

types of 8-6 using expressions for 8-13 using functions for 8-13 using variables for 8-9 materials about ferrites 16-115 adding to library 8-5 assigning to objects 8-1 copying, cloning 8-16 deleting 8-17 exporting to libraries 8-18 filtering 8-20 global 8-21 modifying 8-14 removing from libraries 8-17 search by name 8-4 search by property 8-4 solving inside an object 8-3 solving on object surface 8-3 sorting 8-19 user-defined database 8-21 validating 8-15 viewing 8-14 mathematical functions See functions 3-59 matrices, admittance computing from S-parameters 16-36 method of calculation 16-36 matrices, impedance method of calculation 16-35 relationship to S-parameters 16-31 matrix convergence, setting 12-16 matrix data display format 15-10 exporting 15-11 for design variations 14-81 modifying frequencies 15-8 renaming 15-12 viewing 15-8 matrix entries selecting convergence criteria 12-16 max delta (Mag S) 15-5 max delta (phase S) 15-6 max U 16-53 Index-14

maximum delta Energy setting 12-11 viewing results 15-4 maximum delta frequency 15-6 maximum delta S setting 12-11 viewing results 15-3, 15-4 maximum far-field data computing 15-132 overview 16-43 maximum near-field data computing 15-128 overview 16-42 maximum number of iterations setting for a sensitivity analysis 14-51 setting for an optimization 14-28 setting for statistical analysis 14-58 maximum number of passes, setting 12-10 maximum number of solutions 12-24 maximum refinement solution setup options 12-16 Maximum refinement per pass setting maximum 12-15 maximum step size setting for optimization analysis 14-40 maximum variable Optimetrics calculation of 14-37, 14-54 maximum variable value changing for all setups 14-62 overriding for a sensitivity setup 14-54 overriding for all optimization setups 14-38 overriding for all sensitivity setups 14-55 overriding for an optimization setup 14-38 Maxwell Spice files exporting to 15-13 Measure Mode distance between two points 5-90 Measure mode position 5-90 memory setting hard limit 12-36 setting soft limit 12-35 used during solution 15-7 menu bar

overview 1-15 menus shortcut menus 1-19 Merged objects viewing outlines 3-48 Mesh statistics 15-15 mesh color in plots 15-136 for discrete frequency sweep 16-22 for fast frequency sweep 16-21 matching on master/slave boundaries 16-85 plotting 15-136 purpose of 16-2 size vs. accuracy 16-3 mesh generation and surface approximation settings 16-7 Copy geometric equivalent meshes options 14-73 copy geometrically equivalent meshes 14-73 process 16-4 reverting to initial mesh 11-9 Mesh operations model resolution 11-7 mesh operations applying without solving 11-10 defining 11-1 modifying surface approximation 11-6 surface approximation overview 16-7 mesh plots color of mesh 15-136 creating 15-136 setting attributes 15-136 tetrahedra scale factor 15-136 transparency 15-136 mesh refinement based on material-dependent wavelength 12-14 defining mesh operations 11-1 maximum refinement per pass 12-15 on ports 16-11 setting lambda refinement 12-14 without solving 11-10 meshing detecting and addressing problems 16-67 meshing region 16-8

Message window about 1-29 displaying 1-29 Min and Max focus SNLP optimizer 14-40 minimum frequency failure to solve 12-30 minimum frequency, setting 12-8 minimum number of converged passes, setting 12-16 minimum number of passes, setting 12-16 minimum number of solutions 12-22 minimum rise time 12-29 minimum step size setting for optimization analysis 14-40 minimum variable value changing for all setups 14-62 Optimetrics calculation of 14-37, 14-54 overriding for a sensitivity setup 14-54 overriding for all optimization setups 14-38 overriding for all sensitivity setups 14-55 overriding for an optimization setup 14-38 mirroring objects 5-49 modal solutions assigning lumped ports 7-10 assigning wave ports 7-3 selecting 4-3 modal S-parameter reports 15-41 model analysis Modeler menu command 5-27 model resoliution mesh operations 11-7 modes 16-11 and lumped ports 7-10 conversion to nodes/terminals 16-59 field pattern conversion 16-12 multiple at wave ports 7-3 multiple modes and integration lines 7-16 relationship to voltages or currents 16-60 simultaneously propagating 16-59 modes, multiple for multi-conductor ports 16-12 See multiple modes 16-84 simultaneously propagating 16-59 modifying in Properties window 1-28 Index-15

modifying objects 5-43 monitoring solutions 13-48 Monostatic RCS description 15-75 movement mode 3D 5-84 along x-axis 5-85 along y-axis 5-86 along z-axis 5-86 choosing 5-83 in plane 5-83 out of plane 5-83 moving faces a specified distance 5-58 along a vector 5-59 along the normal 5-58 moving holes 5-59 moving objects 5-47 moving the cursor along x-axis 5-85 along y-axis 5-86 along z-axis 5-86 in 3D space 5-84 in plane 5-83 out of plane 5-83 selecting movement modes 5-83 moving windows 1-14 multiple modes and lumped ports 7-10, 16-98 and symmetry planes 16-84 at wave ports 7-3

N named expressions plotting 15-88 near fields and radiation boundaries 15-127 calculation of 16-39 computing max parameters 15-128 effect of radius on calculation 16-40 effect of radius on total or scallered fields 16-40 line setup 15-128 plotting on spherical cross-sections 16-40 Index-16

plotting quantities 15-79 radius in calculation 16-40 reports 15-41 sphere setup 15-126 new projects, creating 3-3 Next Behind command 5-79 nodes conversion from modes 16-59 nominal design 14-1 non-adaptive solution single frequency 16-19 non-model objects 5-24 non-uniform magnetic bias 16-103 normalized distance overview 15-66 notes saving with project 3-35 number of passes setting maximum 12-10 setting minimum 12-16 setting minimum converged 12-16 number of processors, setting 12-34 number of time points 12-29

O object history viewing outline of merged objects 3-48 object orientation changing 5-48 objects associating with faces 5-95 bondwires 5-21 boxes 5-13 center-point arcs 5-4 circles 5-7 cones 5-14 converting polyline segments 5-65 creating from faces 5-62 creating from intersections 5-61 creating object lists 5-71 cylinders 5-12 deleting parts on a plane 5-63 drawing relative to 5-93

duplicates and parents 5-50 ellipses 5-8 equation based curve 5-7 for post processing 5-24 helices 5-15 modifying 5-43 non model 5-24 planes 5-22 points 5-22 polylines 5-5 rectangles 5-9 regular polygons 5-10 regular polyhedrons 5-13 separating 5-64 spheres 5-11 spirals 5-18, 5-20 splines 5-4 straight lines 5-2 three-point arcs 5-3 toruses 5-14 types of 5-2 ways to select 5-69 octave count sweep definitions 14-5 offsetting objects 5-49 ohms per square 16-78 old HFSS projects, opening 3-4 open objects 5-2 opening existing projects 3-4 field overlay plots 15-100 legacy HFSS projects 3-4 recent projects 3-4 operating systems Sun Solaris 1-4 Windows 1-2 Optimetrics Copy geometric equivalent meshes 14-73 overview 14-1 tuning a variable 14-67 types of analyses 14-1 viewing analysis results 14-81 viewing solution data 14-81 Optimization norms, L1, L2, and Max 14-43

optimization 14-13 optimization analysis choosing variables to optimize 3-60 optional settings 14-22 overview 14-13 plotting cost vs. iteration results 14-84 setting up 14-22 viewing cost vs. iteration results 14-83 optimization setups adding 14-22 adding a cost function 14-30 procedure for defining 14-22 setting a goal 14-30 setting the max. iterations 14-28 solving 13-1 optimizers 14-13 options setting in HFSS 3-36 orientation changing for objects 5-48 creating new view directions 10-15 deleting view directions 10-16 setting in view window 10-15 orthographic view 10-18 outer boundary type 16-90 out-of-plane movement mode 5-83 output parameter adding to sensitivity setup 14-51 plotting results 14-84 setting calculation range 14-53 specifying solution quantity for 14-52 viewing results in table format 14-84 output variable viewing convergence 15-4 output variable convergence Setup Context for field quantities 12-13 output variables deleting 15-86 specifying 15-84

P panning the view 10-3 parameterizing Index-17

See variables 3-51 parameters assigning variables to 3-60 parametric analysis setting up 14-4 solution quantity results 14-10, 14-82 parametric setup adding 14-4 overview 14-4 parametric setups adding sweep definitions 14-4 adding to a design 14-4 plotting solution quantity results 14-83 setting the calculation range 14-10 solution quantity results 14-10, 14-82 solving 13-1 solving before optimization 14-41 solving before sensitivity analysis 14-55 solving during optimization 14-42 solving during sensitivity analyses 14-56, 14-65 specifying a solution setup 14-8 specifying solution quantities for 14-8 using results for optimization 14-41 using results for sensitivity analysis 14-55 parametric sweep distributed analysis 14-12 parent objects and duplicates 5-50 pasting objects 5-45 pattern search optimizer 14-13 pausing a script 17-2 peak directivity 16-53 peak gain 16-54 peak phasors and gap sources 16-29 and incident waves 16-29 calculating 16-28 peak realized gain 16-55 perfect conductors, modeling 6-4 perfect E boundaries and symmetry planes 16-83 assigning 6-4 impedance multiplier for 16-34 overview 16-77 Index-18

perfect H boundaries and symmetry planes 16-83 assigning 6-5 impedance multiplier for 16-34 perfectly matched layers, See PML boundaries 6-9 permeability 16-113 anisotropic 16-117 permittivity 16-113 anisotropic 16-117 perspective view 10-18 phase modifying for field overlays 15-87 setting for excitations 15-23 setting maximum change for matrix entries 12-17 phase angle in the calculator 15-113 phase animations 15-26 phase constant 16-36 phase delay defining for matching boundaries 6-17 phase difference defining for matching boundaries 6-17 phase margin 15-5, 16-15 phasors peak 16-28 RMS 16-28 piecewise linear functions dataset expressions in 3-57 for material properties 8-9 using in expressions 3-57 planes created with coordinate system 5-95 default 5-22 drawing 5-22 setting the grid plane 10-22 planes of periodicity, modeling 16-84 planes of symmetry, modeling 6-15 play panel 15-28 plots adding markers 15-60 convergence data 15-7 deleting field overlays 15-100 distribution results for statistical analyses 14-85 hiding 15-99

mesh 15-136 modifying field overlays 15-90 modifying field quantities 15-90 named expressions 15-88 on spherical cross-sections 16-40 opening field overlays 15-100 parametric solution quantity results 14-83 saving field overlays 15-99 plotting basic quantities 15-87 characteristic port impedances 15-72 derived quantities 15-88 group delay 15-72 on spherical cross-sections 16-40 TDR impedance 15-72 VSWR 15-72 PML boundaries applications for 16-79 assigning 6-9 creating automatically 6-9 creating manually 6-11 guidelines for assigning 6-12 material tensors at 16-80 modifying 6-13 recalculating materials 6-13 specifying boundaries at 16-82 point of reference 5-83 point plots markers 15-97 points measuring distance between 5-90 points, drawing 5-22 polar coordinates on grid 10-21 setting as grid type 10-21 polar plots creating 2D 15-45 creating 3D 15-46 creating radiation patterns 15-50 creating Smith charts 15-48 information displayed 15-46 polarization 16-50 circular 16-51 linear 16-50

Ludwig-3 16-51 spherical 16-51 Polarization Ratio definition 15-74 polarization ratio 16-52 polarizing E-fields 16-91 polygons, drawing 5-10 polyhedrons, drawing 5-13 polylines center-point arcs 5-4 connecting between planes 5-57 connecting with sheet objects 5-57 converting segments 5-65 converting to sheet objects 5-56 covering 5-56 defining sweep paths 5-54 drawing 5-5 plotting value vs. distance 15-66 setting up near-field 15-128 spline segments 5-4 straight line segments 5-2 three-point arcs 5-3 port adapt options solution setup 12-19 port field accuracy overview 16-13 port impedance, plotting in time domain 15-51 port solutions overview 16-10 setting only 12-7 ports and anisotropic materials 16-120 and mesh refinement 16-11 assigning lumped ports 7-10 assigning wave ports 7-3 internal to model 16-98 multiple 16-12 scaling the magnitude 15-23 setting the phase 15-23 use absorbing boundary 12-19 ports only solutions setting 12-7 position measuring 5-90 Index-19

post processing overview of options 15-1 viewing convergence data 15-2 viewing matrix data 15-8 viewing profile data 15-7 post processing objects points 5-22 power accepted 16-56 incident 16-56 radiated 16-55 power flow and perfect E symmetry planes 16-34 and perfect H symmetry planes 16-34 Poynting vector for peak phasors 16-29 for RMS phasors 16-29 primary sweep modifying the variable 15-65 specifying for 2D rectangular plots 15-43 specifying for 3D polar plots 15-47 specifying for 3D rectangular plot 15-44 specifying for data tables 15-49 specifying for radiation patterns 15-50 Printers Linux 1-5 Solaris 1-5 printing from HFSS 3-34 priority of boundaries, changing 6-28 priority, changing simulation 13-50 problem region 16-8 profile information for design variations 14-81 for Optimetrics solutions 14-82 viewing 15-7 Progress window monitoring solutions 13-48 Project Manager window overview 1-23 showing 1-23 project tree auto expanding 1-24 field overlays 15-87 Index-20

field plot folders 15-87 showing 1-23 project variables adding 3-51 and material properties 8-9 deleting 3-52 naming conventions 3-51 units in definition 3-51 projection view 10-18 projects creating new 3-3 default names 3-1 deleting 3-12 managing 3-1 opening existing 3-4 opening legacy HFSS 3-4 opening recent 3-4 renaming 3-9 saving 3-8 saving active 3-9 saving automatically 3-10 saving copies 3-9 saving new 3-8 saving notes 3-35 propagation constant 16-10 and de-embedding 16-37 and frequency 16-12 plotting 15-72 viewing 16-36 propagation of higher order modes 16-12 properties report backgrounds 15-36 Properties window modifying command properties 1-28 set to open after drawing objects 1-27 PSpice files exporting to 15-13 Purge History command 3D Modeler 5-66

Q Q factor 16-26 viewing results 15-15

quality factor 16-26 quantities plotting far field 15-74 plotting field 15-73 plotting near field 15-79 plotting S-parameter 15-71 quasi newton optimizer 14-13 queued simulations removing 13-49 viewing 13-49

R Radar Radar Cross Section 15-75 RCS for Plane Incident Waves 15-75 Radar Cross Section (RCS) Bistatic RCS 15-75 definition 15-75 diagram 15-76 Monostatic 15-75 radiated fields calculation of 16-39 post-processing capabilities 15-126 radiated power 16-55 radiation boundaries and far fields 15-128 and near fields 15-127 assigning 6-7 conditions applied at 16-79 FSS surfaces 6-7, 6-10, 6-11 guidelines for assigning 16-79 overview 16-79 radiation efficiency 16-57 radiation intensity, maximum 16-53 radiation patterns, creating 15-50 radius, on polar grid 10-21 RAM available to HFSS 12-35 used during solution 15-7 RAM requirements Sun Solaris 1-4 Windows 1-2 RCS

Bistatic RCS 15-75 Complex (Bistatic) 15-75 diagram 15-76 Monostatic 15-75 Radar Cross Section 15-75 rE definition 15-74 Real Calculator General Commands 15-112 real frequency only convergence 12-12 Realized Gain definition 15-74 reassigning boundaries 6-27 reassigning excitations 7-41 recording a script 17-1 rectangles, drawing 5-9 rectangular plots creating 2D 15-42 creating 3D 15-43 of parametric solution quantity results 14-83 reference point moving relative to 5-83 selecting 5-83 reflection of higher order modes 16-12 reflection-free termination, and PMLs 16-79 registers 15-104 regular arrays calculation of 16-45 scan specification 16-46 setting up 15-131 regular polygons, drawing 5-10 regular polyhedrons, drawing 5-13 relative coordinate system about 5-92 creating 5-93 operations affecting 5-92 relative coordinates, entering 5-82 relative permeability 16-113 defining anisotropy tensors 8-6 relative permittivity 16-113 defining anisotropy tensors 8-7 viewing 16-37 remote analysis 13-3 Index-21

renaming matrix data 15-12 renaming projects 3-9 rendering objects as shaded solids 10-12 as wireframes 10-12 setting default for 10-12 renormalizing S-matrices 7-45 report properties discard below value 15-62 Report setup options 3-50 report templates creating 15-39 report types, selecting 15-41 Reports background properties 15-36 reports adding traces 15-56 creating 15-31 creating 2D polar plots 15-45 creating 2D rectangular plots 15-42 creating 3D polar plots 15-46 creating 3D rectangular plots 15-43 creating data tables 15-49 creating radiation patterns 15-50 creating Smith charts 15-48 display types 15-42 finding delta between markers 15-51 modifying data in 15-35 overview 15-31 plotting far-field quantities 15-74 plotting field quantities 15-73 plotting near-field quantities 15-79 selecting a function 15-67 specifying time or frequency domain 15-34, 1542, 15-45, 15-49 sweeping variables 15-65 types of 15-41 value vs. distance 15-66 reprioritizing boundaries 6-28 Reset command in Tuning dialog box 14-69 resistive surfaces Index-22

modeling 6-6 modeling layered structures 6-22 resistors modeling lumped 6-19 resizing holes 5-58 resizing objects 5-52 resizing windows 1-14 re-solving a problem 13-52 resonant frequency 16-25 resuming a script 17-2 rise time for time domain reports 15-51 rise time, minimum 12-29 RMS and radiated power 16-29 RMS phasors calculating 16-28 rotating and sweeping objects 5-54 objects 5-48 the view 10-2 roughness, surface 16-89 rounded corners removing 5-58 running a script 17-2

S SAR calculating 16-29 modifying settings 15-89 saving field overlay plots 15-99 tuned states 14-68 saving fields at all frequency points 12-26 at specific frequency points 12-28 for a parametric setup 14-70 for a sensitivity setup 14-71 for a statistical setup 14-70, 14-72 for a tuning analysis 14-70, 14-71 for all Optimetrics setups 14-70 saving projects 3-8 active projects 3-9

automatically 3-10 new projects 3-8 saving copies 3-9 scalar field plots cloud plots 15-96 creating 15-89 isosurface display 15-96 transparency 15-97 scalar operations 15-113 scale modifying for field overlays 15-94 scaling magnitude of excitations 15-23 objects 5-52 scan angles defining for slave boundaries 6-17 scattered fields effect of radius on near field calculation 16-40 scattered wave diagram for bistatic RCS 15-76 scripts pausing 17-2 recording 17-1 resuming 17-2 running 17-2 stop recording 17-1 stopping execution of 17-3 secondary sweep modifying the variable 15-65 specifying for 3D polar plots 15-47 seeding the mesh 16-5 segmented polygon helix drawing with UDP 5-16 segmented rectangular helix drawing with UDP 5-17 Select All command 5-70 Select All Visible command 5-70 selecting all object faces 5-73 all visible objects selecting all objects in design 5-70 clearing a selection 5-79 edges 5-76

face behind 5-79 faces 5-72 faces by name 5-74 multiple objects 5-70 object behind 5-79 objects 5-69 objects by name 5-70 vertices 5-77 sensitivity analysis choosing variables to include 3-61 optional settings 14-50 setting up 14-50 sensitivity setups adding 14-50 adding an output parameter 14-51 procedure for defining 14-50 setting initial displacement 14-55 setting the max. iterations 14-51 separating bodies 5-64 Sequential Mixed Integer NonLinear Programming (SMINLP) Optimizer 14-13 Sequential Nonlinear Programming (SNLP) Optimizer optimizer 14-13 setting object color 5-44 setting object transparency 5-45 setting outline color 5-44 setting up designs 4-1 setting up projects 4-1 Setup Context dialog output variable convergence 12-13 setup link dialog 7-38 setups, dependent solution 12-2 setups, solution 12-1 sheet objects 5-2 sheets thicken to make 3D objects 5-55 shortcut keys CTRL+A 5-70 shortcut menus overview 1-19 Show Queued Simulations command using 13-49 showing selections 10-9 Index-23

some objects 10-9 showing windows 1-13 shrinking objects 10-4 signal rise time 12-29 signals minimum rise time 12-29 simulations changing priority of 13-50 monitoring 13-48 re-solving 13-52 running Optimetrics 13-1 starting 13-1 stopping 13-51 single frequency points 12-27 single frequency solution 16-19 method for computing 16-19 single frequency solutions specifying 12-2, 12-10 skin depth-based refinement creation of layers 16-6 on faces 11-4 slave boundaries and frequency dependence 16-89 assigning 6-17 guidelines for assigning 16-84 S-matrices de-embedding 7-46 renormalizing 7-45 S-matrix for differential signals 16-101 smetal boundary type 16-90 Smith charts, creating 15-48 snap settings choosing 5-87 guidelines for 5-88 modes 5-87 setting default 5-87 SNLP optimizer setting Min and Max focus 14-40 Solaris Setting Up a Printer 1-5 solid objects 5-2 solution data deleting 15-16 Index-24

for design variations 14-81 importing 3-30 viewing 15-2 viewing convergence data 15-2 viewing eigenmode 15-15 solution frequency and Fast sweeps 12-6 setting 12-6 solution process overview 16-4 tetrahedra used during 15-7 viewing memory used during 15-7 viewing profile data 15-7 viewing tasks performed 15-7 solution quantity calculation range for optimization 14-33 calculation range for parametric setups 14-10 calculation range for sensitivity 14-53 calculation range for statistical 14-60 plotting parametric setup results 14-83 specifying for cost function 14-33 specifying for output parameter 14-52 specifying for parametric setups 14-8 specifying for statistical setups 14-59 solution settings adding frequency sweeps 12-20 available memory 12-35 convergence on real frequency 12-12 lambda refinement 12-14 matrix convergence 12-16 maximum delta Energy per pass 12-11 maximum delta S per pass 12-11 maximum number of passes 12-10 maximum refinement per pass 12-15 memory limit 12-36 minimum frequency 12-8 minimum number of converged passes 12-16 minimum number of passes 12-16 number of eigenmodes 12-9 number of processors 12-34 setting up adaptive analyses 12-10 solution frequency 12-6 solving ports only 12-7 solution settings, specifying 12-1

solution settings, specifying dependent 12-2 solution setup data types for convergence 12-22 port adapt options 12-19 solution setups adding 12-1 adding dependent 12-2 choosing for a parametric analysis 14-8 solution type overview 16-24 setting 4-3 solutions after modifying the model 13-52 at single frequency 16-19 changing priority of 13-50 monitoring 13-48 re-solving 13-52 starting 13-1 stopping 13-51 Solutions window displaying 13-48 solving 13-1 batch solution 1-36 inside an object 8-3 on surface 8-3 parametric setup before optimization 14-41 parametric setup before sensitivity analysis 14-55 parametric setup during optimization 14-42 parametric setup during sensitivity analysis 1456, 14-65 solving remotely 13-3 sorting materials 8-19 spacing between grid points 10-21 S-parameters and reflected modes 16-12 de-embedding 16-37 plotting quantities 15-71 renormalized 16-31 specific absorption rate see SAR 15-89 spheres drawing 5-11 plotting value vs. distance 15-66 setting up infinite 15-129

setting up near-field 15-126 spherical coordinates, entering 5-80 spherical cross-sections 16-40 spherical polar 16-51 spinning the view 10-2 spirals drawing 5-18, 5-20 splines converting to straight lines 5-65 drawing 5-4 splitting objects on a plane 5-63 square (unit of) 16-78 stack 15-104 stack commands clear 15-105 exch 15-105 loading into 15-106 performing operations on 15-111 pop 15-105 push 15-105 rldn 15-105 rlup 15-105 undo 15-106 starting frequency 12-25 starting variable value overriding for optimizations 14-37 overriding for sensitivity 14-53 overriding for statistical 14-65 statistical analysis choosing variables to include 3-62 plotting distribution results 14-85 setting up 14-58 viewing distribution results 14-85 statistical setups adding 14-58 procedure for defining 14-58 setting the max. iterations 14-58 specifying solution quantities for 14-59 status bar overview 1-23 step size setting constraints for optimization 14-40 setting for sweep definitions 14-6 step size between frequencies 12-25 Index-25

stopping a script 17-3 stopping an analysis 13-51 stopping criteria matrix convergence 12-16 maximum delta Energy 12-11 maximum delta S 12-11 maximum number of passes 12-10 minimum number of converged passes 12-16 minimum number of passes 12-16 stopping criteria for optimization maximum number of iterations 14-28 stopping criteria for sensitivity analysis max. iterations 14-51 stopping frequency 12-25 stopping script recording 17-1 subtracting objects 5-60 surface approximation guidelines for setting 16-8 modifying settings 11-6 overview 16-7 surface roughness 16-89 surface visualization setting 10-13 surfaces covering 5-56 creating face lists 5-75 detaching 5-56, 5-57 uncovering 5-56 sweep definitions See variable sweep definitions 14-4 sweep variables in reports modifying values 15-65 normalized distance 15-66 normalized line 15-66 spherical coordinates 15-66 sweeping faces along normal 5-55 sweeping objects along a path 5-54 along a vector 5-54 and draft angles 5-53 and twisting 5-54 around an axis 5-53 draft types 5-53 Index-26

overview 5-52 symmetry boundaries and multiple modes 16-84 and polarizing E-fields 16-92 assigning 6-15 guidelines for assigning 16-83 overview 16-83 symmetry planes and impedance 16-84 and multiple modes 16-84 guidelines for modeling 16-83 Perfect E vs. Perfect H 16-83 symmetry planes, modeling 6-15 Sync # column 14-6 synchronizing sweep definitions 14-6 system material libraries 8-21 system requirements Sun Solaris 1-4 Windows 1-2

T TDR Impedance changing default value 15-53 TDR impedance plotting 15-72 TDR impedance, plotting 15-51 TDR Options dialog box 15-51 templates for reports creating 15-39 tensor coordinate system 16-102 terminal conversion from modes 16-59 terminal lines and differential pairs 7-18 terminal solutions assigning lumped ports 7-11 assigning wave ports 7-5 setting 4-3 terminal S-parameter reports 15-41 terminals scaling the magnitude 15-23 setting a complex impedance 15-23 tetrahedra

color in plots 15-137 display options 15-137 field quantities within 16-2 scale factor in plot 15-136 setting number added each pass 12-15 used during solution 15-7 thermal link to Ansys Mechanical 15-18 thermal quadratic parameters 8-13 theta, on polar grid 10-21 thicken sheets 5-55 three-point arcs 5-3 time real vs. CPU 15-7 viewing for solution tasks 15-7 time domain specifying for report 15-51 time steps per rise time 12-29 T-junction Getting Started guide 1-40 toolbars overview 1-17 toruses, drawing 5-14 total fields radius and near fields calculation 16-40 Traces display properties 15-59 traces adding characteristics 15-62 adding to reports 15-56 categories 15-71 copy and paste definitions 15-64 removing 15-63 Traces dialog box 15-31 trademark notices 1-53 translating legacy projects 3-4 transparency assigning to objects 5-44 default for objects 5-45 in scalar field plots 15-97 of mesh plots 15-136 traveling waves at ports 16-10 tuning choosing variables to tune 3-62 tuning analysis

resetting variable values after 14-69 reverting to a state 14-68 saving a state 14-68 setting up 14-67 twisting objects while sweeping 5-54

U UDPPrimitiveTypeInfo data structure 5-40 Unclassified folder history tree 1-32 uncovering faces 5-56 uniform magnetic bias 16-102 uniting objects 5-59 units as part of variable definitions 3-51 of impedance boundaries 16-78 setting for design 4-4 User Defined Primitives 5-20, 5-39 user interface overview 1-13 user material libraries 8-21

V validating materials 8-15 validation check 3-15 Value command fields calculator 15-120 value vs. distance plots 15-66 variable for output convergence 12-12 variable sweep definitions adding to parametric setups 14-4 manually modifying 14-6 overview 14-4 setting values to solve 14-5 synchronizing 14-6 tracking changes to 14-6 viewing all design variations 14-4 variable-dependent goal 14-35 variables Index-27

adding local variables 3-52 adding project variables 3-51 and object parameters 5-2 assigning to material properties 8-9 assigning to parameters 3-60 choosing to optimize 3-60 choosing to tune 3-62 dataset expressions in 3-57 defining sweep definitions 14-4 deleting from design 3-53 deleting from project 3-52 excluding from Optimetrics analyses 14-75 including in functions 3-59 including in sensitivity analysis 3-61 including in statistical analysis 3-62 material properties 8-9 min. and max values for optimization 14-37 min. and max values for sensitivity analysis 14-54 output 15-84 overriding default value for a parametric setup 147 overview 3-51 predefined in HFSS 3-59 setting default value 3-52 setting distribution criteria 14-60 setting fixed values 14-76 setting range of values 14-54 setting range of values for optimization 14-37 tuning 14-67 types in HFSS 3-51 updating to optimized values 14-42 .vbs file format 17-1 VBScript .vbs file format 17-1 vector field plots creating 15-90 modifying arrows 15-95 vector operations 15-117 vertex, selecting 5-77 vertical cross-sections 15-78 vertices, selecting 5-77 video drivers recommended 1-2 view direction 10-15 Index-28

view options background color 10-19 fit all in view 10-7 lighting 10-17 modifying 10-1 orientation 10-15 pan 10-3 projection 10-18 rotate 10-2 spin 10-2 view direction 10-15 zoom 10-4 zoom on rectangle 10-4 visibility hiding objects 10-8 of color key 15-93 of field overlay plots 15-99 of mesh on field plots 15-96 showing objects 10-9 visualization options for boundaries 6-31 for excitations 6-31 Visualize hiistory of objects Setting option for 3-48 voltage differentials and perfect E symmetry planes 16-34 and perfect H symmetry planes 16-34 voltage sources assigning 7-34 editing 7-34 setting the phase 15-23 voltage standing wave ratio plotting 15-72 voltage transform plotting’plotting voltage transform 15-72

W Wave Port wizard 7-3 wave ports for modal solutions 7-3 for terminal solutions 7-5 overview 16-91

specifying multiple modes 7-3 W-element warning message 16-36 W-element data exporting 15-14 windows moving and resizing 1-14 show or hide 1-13 wireframe objects 10-12 working coordinate system about 5-92 selecting 5-92 Write command fields calculator 15-121

Y Y-parameters, plotting 15-72

Z zero order basis functions 16-2 Zo changing default impedance 15-53 Zoom to selected boundary 6-2 to selected excitation 7-2 zooming in and out 10-4 on rectangular area 10-4 Z-parameters, plotting 15-72 Zpi definition of 16-33 Zpv definition of 16-33 Zvi definition of 16-33

Index-29

Index-30