-
ANSYS
函数
一、
ANSYS
中可以使用的数学函数
<
/p>
在
ANSYS
帮助系统中关于
*SET
命令的注释下列出了
ANSYS
中可以使用的
数学函数。
所有这些数学函数均可
以在
ANSYS
环境中使用,
这些数学
函数包括,
其中三角函数的单位默认是弧度:
ABS(X)
——
x
ACOS(X)
——
arccos(
x
)
ASIN(X)
——
arcsin(
x
)
ATAN(X)
——
arctg
(
x
)
y
ATA
N2(X,Y)
——
arc
(
)
x
COS(X)
——
cos(
x
)
COSH(X)
——
coh
(
x
)
EXP(X)
——
e
x
GDIS(X,Y)
< br>求以
X
为均值
,Y
为标准差的高斯分布
,
在使用蒙地卡罗法研究随机荷
载和随机材料参数时
,
可以用该函数处
理计算结果
LOG(X)
——
ln(
x
)
LOG10(X)
——
lg(
x
)
MOD(X,Y)
求
X/Y
的余数
.
如果
Y=0,
函数值为
0
NINT(X)
求最近的整数
RAND(X,Y)
取随机数
,
p>
其中
X
是下限
,
Y
是上限
SIGN(X,Y)
取
X
的绝对
值并赋予
Y
的符号
. Y>=0,
函数值为
|X|, Y<0,
函数值为
-|X|,.
SIN(X)
正弦
SINH(X)
双曲正弦
SQRT(X)
——
x
TAN(X)<
/p>
——
tg
(
x<
/p>
)
TANH(X)
双曲正切
二、
ansys
内嵌函数
1.
distnd( i,j)
—
I,j
两点的距离
1
ANSYS
函数
2.
node(x,y,z)
—
提取距离位置
(x,y,z)
最近的节点号
3.
kp(x,y,z)
—
提取距离位置
(x,y,z)
最近的关键点号
4.
基本函数
GDIS(x,y)
Random
sample
of
a
Gaussian
(normal)
distribution
with
mean x and standard deviation y.
VALCHR(CPARM)
Numerical
value
of
CPARM
(if
CPARM
is
non-numeric,
returns 0.0).
CHRVAL(PARM)
Character
value
of
numerical
parameter
PARM.
Number
of
decimal places depends on magnitude.
UPCASE(CPARM)
Upper case
equivalent of CPARM.
LWCASE(CPARM)
Lower case
equivalent of CPARM.
5.
kx(i)
表示关键点
i <
/p>
的
x
坐标值;同理
ky(i)
;
kz(i)
6.
nx(i)
表示节点
i
的
x
坐标值;同理
ny(i)
;
nz(i)
7.
nsel(k)
是节点
k
在就是
1
,不在就
是
0.
8.
NDNEXT(N)
Next
higher
node
number
above
N
in
selected
set
(or
zero
if none
found).
9.
NELEM(ENUM,NPOS)
returns the node
number in position NPOS for
element
ENUM. Node number at position 1,2,... or 20 of
elementN, where
npos is 1,2,...20.
10.
UX(N), UY(N),
UZ(N)
X, Y, or Z structural
displacement or vector
sum.
11.
ROTX(N),
ROTY(N),
ROTZ(N)
X,
Y,
or
Z
structural
rotation
or
vector
sum.
12.
TEMP(N)
Temperature.
13.
PRES(N)
Pressure.
14.
VX(N), VY(N), VZ(N)
X, Y, or Z fluid velocity or vector
sum.
15.
ENKE(N)
Turbulent kinetic energy (FLOTRAN).
16.
ENDS(N)
Turbulent energy
dissipation (FLOTRAN).
17.
CENTRX(N), CENTRY(N), and
CENTRZ(N)
always retrieve the
element
centroid in global Cartesian
coordinates, and are determined from the
selected nodes on the elements.
18.
ELADJ(N,face)
Element number adjacent to face
1,2,...6.
。
Number
assigned
to
the
attribute
Name,
where
Name
=
MAT,
TYPE,
REAL,
ESYS,
PSTAT,
LIVE
attribute. A zero
is returned if
the element is unselected.
If Name
= PSTAT (valid for
p-elements only), a 1 is returned if the element.
19.
ESEL(N)
Select status of element N -1 = unselected, 0 =
undefined.
2
-
-
-
-
-
-
-
-
-
上一篇:ANSYS函数编辑
下一篇:ANSYS-菜单命令详解.