Ansys Learning Forum › Forums › Discuss Simulation › Electronics › Variable Dimension Problems › Reply To: Variable Dimension Problems
May 21, 2024 at 3:02 pm
DimK
Ansys Employee
Hello again Taiye,Despite the version and the tool of AEDT that you use, when you define a design parameter, despite the "Name" and the "Value" of it, you should also define simultaneously the "Unit Type" (for example for your model: "Length") and the "Units" (for example for your model: "mm") fields of it in the respective window, as you can see in the following screenshot: Then, if you use this variable in the object that you want to create, you can see that the evaluated value is the correct one and it is displayed in the appropriate units (mm):
If you don’t specify the "Unit Type" and the "Units" fields of the design variable during its creation and then use this variable to create the object, the units of the object are by default set to meters. So, if you specify the "Unit Type"and the "Units" fields of the design variable afterwards, the properties will be expressed into meters in the object’s properties window. For example, a design variable ("X1") with value 5mm will be expressed as 0.005 meters (following screenshot).
So, the values in the object’s properties are correct, but are displayed in meters. To avoid this, it is recommended to define the "Unit Type" and the "Units" fields of the design variable during its creation.Best Regards,DimK