淘宝官方店     推荐课程     在线工具     联系方式     关于我们  
 
 

微波射频仿真设计   Ansoft Designer 中文培训教程   |   HFSS视频培训教程套装

 

Agilent ADS 视频培训教程   |   CST微波工作室视频教程   |   AWR Microwave Office

          首页 >> Ansoft Designer >> Ansoft Designer在线帮助文档


Ansoft Designer / Ansys Designer 在线帮助文档:


Variables in Designer >
   Defining Local Variables >
       Defining a New Local Variable by Starting at the Design Level           


Defining a New Local Variable by Starting at the Design Level

To define a new local variable by starting at the design level:

1. In the project tree, right-click the design for which you want to define a local variable.

2. Select Design Properties.

3. Click the Local Variables tab.

4. Click Add. The Add Property dialog box appears.

In the Name box, type a variable name.

Project variable names must start with the symbol $ followed by a letter. Variable names may include alphanumeric characters and underscores ( _ ). The names of Intrinsic Functions and the pre-defined constant pi (π) cannot be used as variable names. For more information see Reserved Variable Names.

5. In the Unit Type text box you can use the drop down menu to select from the list of available unit types. “None” is the default.

When you select a Unit Type, the choices in the drop down menu for the Units text box adapt to that unit type. For example, selecting Length as the Unit Type causes the Unit menu to show a range of metric and english units for length. Similarly, if you select the Unit Type as Resistance, the Units drop down lists a range of standard Ohm units.

6. In the Value text box, type the quantity that the variable represents. If you did not specify the Unit Type and Unit, you can also optionally include the units of measurement.

Warning

If you include the variable’s units in its definition in the Value text box, do not 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 value (default) for the variable. If the mathematical expression includes a reference to an existing variable, this variable is treated as a dependent variable. The units for a dependent variable will automatically change to those of the independent variable on which the value depends. Additionally, dependent variables, though useful in many situations, cannot be the direct subject of optimization, sensitivity analysis, tuning, or statistical analysis.

7. Click OK or press Enter.

8. In the Properties dialog, you may click Add Array to Define Array Variables.

9. Do either of the following:

• To add another local variable, click Add or press Enter.

• To stop adding local variables, click OK.




HFSS视频教学培训教程 ADS2011视频培训教程 CST微波工作室教程 Ansoft Designer 教程

                HFSS视频教程                                      ADS视频教程                               CST视频教程                           Ansoft Designer 中文教程


 

      Copyright © 2006 - 2013   微波EDA网, All Rights Reserved    业务联系:mweda@163.com