Professional Documents
Culture Documents
Parametric Modeling
Introduction to ANSYS
DesignModeler
ANSYS, Inc. Proprietary
2010 ANSYS, Inc. All rights reserved.
7-1
Release 12.0
March 2010
Contents
Training Manual
Dimension References
Promoting Parameters
Promoting Dimension References
Promoting Feature Dimensions
Parameter Manager
Driven/Dependent Parameters
Auxiliary Variables
Parameter Functions
7-2
Release 12.0
March 2010
A. Dimension References
Training Manual
When sketches and features are created, their properties are controlled by
what are called dimension references.
Dimension references
7-3
Release 12.0
March 2010
B. Promoting Parameters
Training Manual
7-4
Release 12.0
March 2010
Dimension parameters:
Default sketch dimension names indicate the associated plane as well as the
specific dimension
dimension.
Syntax is Plane_reference.Dimension_type_and_number.
Example:
Us
Using
g tthe
ee
example
a p e be
below,
o , the
t e de
default
au t name
a e for
o the
t e pa
parameter
a ete reads
eads
Plane4.D3.
Plane4: indicates on which plane the dimension is located.
D3: indicates the specific dimension is Diameter number 3.
It can be
b easily
il changed.
h
d
7-5
Release 12.0
March 2010
Feature dimensions:
Default feature dimension names indicate the operation as well as the
dimension reference number (FD
( FD indicates Feature Dimension)
Dimension).
Syntax is Operation_type.Feature_Dimension_number.
Using the example below the default name for the parameter reads
Extrude6.FD1.
7-6
Release 12.0
March 2010
E. Parameter Manager
Training Manual
7-7
Release 12.0
March 2010
Parameter Manager
Training Manual
7-8
Release 12.0
March 2010
Parameter Manager
Training Manual
7-9
Release 12.0
March 2010
Parameter Manager
Training Manual
7-10
Release 12.0
March 2010
F. Driven/Dependent Parameters
Training Manual
S2
S1
In DesignModeler
g
we would proceed
p
as follows:
Dimension the sketch height and width.
Create a design parameter called S1.
S1 will be our driving parameter.
Continued . . .
ANSYS, Inc. Proprietary
2010 ANSYS, Inc. All rights reserved.
7-11
Release 12.0
March 2010
Driven/Dependent Parameters
Training Manual
By inspecting the details for our sketch (previous page) we can see the
width dimension assignment is called H1.
Remember!: The H
H in H1 indicates a horizontal dimension while the
V in V2 indicates a vertical dimension.
From the Parameter/Dimension Assignments notice the dimension
assignment for S1 is:
Knowing the internal parameter name for our driven parameter will be
XYPlane.H1 we can type the following formula in the
Parameter/Dimension Assignment tab:
7-12
Release 12.0
March 2010
Driven/Dependent Parameters
Training Manual
At this point we could verify our formula by simply changing values for
S1, re-generating the model, and checking to make sure the width is
always equal to 2*S1.
WAIT! If the regeneration of the model fails due to a mistake in our
formula, we could encounter problems trying to undo the operation.
Fortunately DesignModeler contains a more elegant solution to validating
parametric formulae:
By moving to the Check tab, parametric assignments are evaluated
and the result displayed.
7-13
Release 12.0
March 2010
Driven/Dependent Parameters
Training Manual
Parameter/Dimension Assignments
g Parameter Assignments
g
Design
7-14
Release 12.0
March 2010
G. Auxiliary Variables
Training Manual
7-15
Release 12.0
March 2010
H. Parameter Functions
Training Manual
Functions can be utilized to capture Design Intent and other relationships among
parameters.
Functions are operations that return a single value
ABS(X)
EXP(X)
LN(X)
( )
SQRT(X)
SIN(X) (in degrees)
COS(X)
TAN(X)
For X between 1 and +1:
ASIN(X) & ATAN(X)
(return value between -90 & 90 degrees)
ACOS(X)
(returns value between zero & 180 degrees)
Examples
A=acos(-1) #
evaluates to 90
B=abs(X)
#
evaluates to |X|
7-16
Release 12.0
March 2010