Вы находитесь на странице: 1из 2

NX Shortcuts: Expressions

Logical Operators for expressions


within NX:

The following is an example of


conditional expressions used to size
the diameter of a camshaft.
Engineering formulas are used to size
the shaft diameter. Expressions are
used for both geometric and
mathematical formulas. In the following
figure, the diameter size (d) is
dependent on the power (H) and the
shaft speed (n). These two
expressions are the only expressions
with numerical values that drive the
shaft design.
The expressions used to size the
camshaft diameter are designed to
account for a maximum shear stress of
8000 N/m2. This set of equations (see
the previous figure) sizes the shaft at a
diameter of 30, 40, or 50mm. If the
stress exceeds 8000 N/m2, an error
message occurs preventing the model
from updating. The expression 'K' is
created for this purpose. When the
shaft is sized at 50mm diameter, the
maximum ratio of power/shaft speed
is .134. By setting the constant K into
the torque equation (T), it is either 1 or
0. In the diameter expression, when
T<=0, the diameter is 0, which, in turn,
causes J=0. If the Stress formula
contains 0, it creates an error message
preventing an update. In the diameter
expression, the T values are the
maximum values of T, causing the
Stress formula to exceed 8000.

The bearing surfaces and the gear teeth are


associative to the diameter expression by inserting
'd' into their creation values (see the following three
figures). Whenever the diameter changes, the
values of these features also change. The length of
Bearing Surface 1 is related to 'd.' The diameter
changes when 'd' changes and the length is always
0.75*d. Bearing Surface 2 remains a constant size
and Bearing Surface 3 changes diameter when 'd'
changes.
The sketch gear_teeth is also dependent on 'd.'
In the following figure, the shaft diameter is 1.25.
The power (H=100) and shaft speed (n=2500) are
the input values, which results in a torque value of
less than 2940.
Changing the power (H=250) and the shaft speed
(n=3000) causes T>5250 and d to resize to 1.75,
which also changes the bearing surfaces and the
gear teeth as shown in the graphic.
Attempting to increase the power to H=400 and
decreasing the shaft speed to n=2500 makes K=0,
T=0, and d = 0, which, in turn, makes J=0. Trying
to divide by 0, which is impossible, results in an
error message.
Comments are denoted with //
Unit Conversions:

Вам также может понравиться