Working with Variables
A variable is a numerical value, mathematical expression, or mathematical function that can be assigned to a design parameter in HFSS. You can assign a variable to any dimension or material property, or output value. Variables are useful in the following situations:
You expect to change a parameter often.
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 optimize a parameter value by running an optimization analysis.
You intend to run a convergence on an output variable.
You intend to calculate derivatives for variables.
You intend to animate a plot against a 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. Project Variables can be designated as Design, ArrayIndex or Separator variables but not as Post Processing variables. |
Design Variables |
A design variable can be assigned to any parameter value in the HFSS design in which it was created. From the Design Variables Properties dialog, you can Add, Add Array, Edit, or Remove Design variables. Design Variables can be designated as Design, ArrayIndex or Separator variables and as Processing Variables. |
Related Topics
Defining an Expression
Defining Mathematical Functions
Assigning Variables
Specify Expressions for Adaptive Convergence
Specifying Output Variables
Using Optimetrics for Design Analysis
Choosing a Variable to Optimize
Selecting Objects by Variable
Exporting Variables for Documentation
Viewing Variables
-
国内最全面的HFSS培训课程,包含7套视频教程和2本教材,资深专家讲解,视频操作演示,结合最新工程案例,让HFSS学习不再难...【详细介绍】