关键词不能为空

当前您在: 主页 > 英语 >

ANSYS函数

作者:高考题库网
来源:https://www.bjmy2z.cn/gaokao
2021-02-01 21:16
tags:

-

2021年2月1日发(作者:shero什么意思)


ANSYS


函数



1. distnd( i,j)



I,j


两点的距离



2. node(x,y,z)




提取距 离位置


(x,y,z)


最近的节点号




3. kp(x,y,z)




提取距离位置

(x,y,z)


最近的关键点号




4.


基本函数





ABS(x)

:求


x


的绝对值



SIGN(x,y)


:反回值大小等于︳


X

< p>
︱,符号同


y




y=0


时也返回正数)



EXP(x)



:指数函数


e



LOG(x)



:自然对数


ln(


x


)




SQRT(x)


:求


x


的平方根



NINT(x)



:求最接近


x


的整数



MOD(x,y)



:求

< p>
x


/


y


的余数(


y=0


时返回


0




RAND(x,y)


< br>:随机数发生器,随机数在


x


~


y


间平均分布



GDIS(x,y)< /p>


:正态分布函数,平均值为


x


,方差为< /p>


y


SIN(x), COS(x), TAN(x)



三角函数,


默认情况下


x


的单位为弧度,


可用命令


*AFU N


转换为


角度。



SINH(x), COSH(x), TANH(x)


:双曲函数



ASIN(x), ACOS(x), A


TAN(x)


:反三角函数,默认情况下 返回值单位为弧度



ATAN2(y,x)


:反双曲函数,默认情况下返回值单位为弧度



V


ALCHR(CPARM)


:字符参数


CPARM


数值,


(


如果



CPARM


含有非数字字符则返回


0)


CHRV


AL(PARM)


:数值参 数


PARM


的字符串,小数位取决于量级。


UPCASE(CPARM)


:将字符串


CPARM


转换为大写



LWCASE(CPARM)


:将



字符串


CPARM


转换为小写



5. kx(i)




表示关键点


i


x


坐标值;同理



ky(i)



kz(i)



6. nx(i)


:表示节点


i



x


坐标值;同理



ny(i)



nz(i)



7. nsel(k)




是节点

< p>
k


在就是


1


,不在就是< /p>


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 =


LOG10(x)


:常用对数


log


10


?


x


?< /p>



x


MA


T, TYPE, REAL, ESYS, PSTA


T, 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.



20. ELNEXT(N)






Next higher element number above N in selected set (or zero if none found).



21. KSEL(N)






Select status of keypoint N





-1 = unselected, 0 = undefined, 1 = selected.


22. KPNEXT(N)






Next higher keypoint number above N in selected set (or zero if none found).


23. LSEL(N)






Select status of line N





-1=unselected, 0=undefined, 1=selected.


24. LSNEXT(N)



Next higher line number above N in the selected set (or zero if none found).


25. LX(n,lfrac)




return


the


X


coordinate


location


of


line


N


at


the


length


fraction


lfrac


(0.0


to


1.0).


同理,


L


Y(n,lfrac)



LZ(n,lfrac).



26




. LSX(L,LFRAC)






X slope of line L at length fraction LFRAC (0.0 to 1.0).










LSY(L,LFRAC)





Y slope of line L at length fraction LFRAC (0.0 to 1.0).









LSZ(L,LFRAC)





Z slope of line L at length fraction LFRAC (0.0 to 1.0).



27. ASEL(N)




Select status of area N





-1=unselected, 0=undefined, 1=selected.


28. VSEL(N)



Select status of volume N





-1=unselected, 0=undefined, 1=selected.


29. VLNEXT(N)



Next higher volume number above N in selected set (or zero if none found).


30.


距离函数





DISTND(N1,N2) Distance between nodes N1 and N2.



DISTKP(K1,K2) Distance between keypoints K1 and K2.



DISTEN(E,N) Distance between the centroid of element E and node N. Centroid is determined


from the selected nodes on the element.



31.


角度函数



(


缺省单位为弧度,单位变换用



*AFUN


命令


)



ANGLEN(N1,N2,N3)



Subtended angle between two lines (defined by three nodes where N1 is the vertex node). Default


is in radians.



ANGLEK(K1,K2,K3)



Subtended angle between two lines (defined by three keypoints where K1 is the vertex keypoint).


Default is in radians.



32.


最近实体函数




NNEAR(N) Selected node nearest node N.



KNEAR(K) Selected keypoint nearest keypoint K.



ENEARN(N)


Selected


element


nearest


node


N.


The


element


position


is


calculated


from


the


selected nodes.



33.


面积函数




AREAND(N1,N2,N3)



Area of the triangle with vertices at nodes N1, N2, and N3.



AREAKP(K1,K2,K3)



Area of the triangle with vertices at keypoints K1, K2, and K3.



ARNODE(N)



Area


at


node


N


apportioned


from


selected


elements


attached


to


node N.


For


2-D


planar


solids,


returns


edge


area


associated


with


the


node.


For


axisymmetric


solids,


returns


edge


surface


area


associated with the node. For 3-D volumetric solids, returns face area associated with the node.



34.


法向函数





NORMNX(N1,N2,N3)






X-direction cosine of the normal to the plane containing nodes N1, N2, and N3.



NORMNY(N1,N2,N3)






Y-direction cosine of the normal to the plane containing nodes N1, N2, and N3.



NORMNZ(N1,N2,N3)






Z-direction cosine of the normal to the plane containing nodes N1, N2, and N3.



NORMKX(K1,K2,K3)






X-direction cosine of the normal to the plane containing keypoints K1, K2, and K3.



NORMKY(K1,K2,K3)






Y-direction cosine of the normal to the plane containing keypoints K1, K2, and K3.



NORMKZ(K1,K2,K3)






Z-direction cosine of the normal to the plane containing keypoints K1, K2, and K3.



35.


相邻实体函数




ENEXTN(N,LOC)





Element connected to node N. LOC is the position in the resulting list when many elements share


the node. A zero is returned at the end of the list.



NELEM(E,NPOS)






Node number in position NPOS (1--20) of element E.



36.


面函数




ELADJ(E,FACE)






Element adjacent to a face (FACE) of element E. The face number is the same as the surface


load


key


number.


Only


elements


of


the


same


dimensionality


and


shape


are


considered.


A


-1


is


returned if more than one is adjacent.



NDFACE(E,FACE,LOC)






Node in position LOC of a face number FACE of element E. The face number is the same as the


surface load key number. LOC is the nodal position on the face (for an IJLK face, LOC=1 is at


node I, 2 is at node J, etc.)



NMFACE(E)






Face number of element E containing the selected nodes. The face number output is the surface


load key. If multiple load keys occur on a face (such as for line and area elements) the lowest load


key for that face is output.



ARFACE(E)






For


2-D


planar


solids


and


3-D


volumetric


solids,


returns


the


area


of


the


face


of


element


E


containing the selected nodes. For axisymmetric elements, the area is the full (360 degree) area.




函数加载及命令中附带的问题



?



问题


:< /p>


本想施加线性变化的荷载的却加成了


均布荷载

了!大家帮我看一下命令流,哪地


方出错了!



/PREP7


ELEM_L=0.25


ET,1,BEAM3


MP,EX,1,207E9


MP,PRXY,1,0.3


MP,DENS,1,7.8E3


R,1,0.03,0.25E-4,0.1


K,1


K,2,6


K,3,7


K,4,8


L,1,2


L,2,3


L,3,4


LATT,1,1,1,


LESIZE,ALL,ELEM_L


LMESH,ALL


D,1,ALL,0


D,26,UY,0



*DIM,XXHZ,TABLE,2,1,1


*SET,XXHZ(2,1,1),800


*SET,XXHZ(1,1,1),400


*SET,XXHZ(2,0,1),0


*SET,XXHZ(1,0,1),6


ALLSEL,ALL


LSEL,S,LINE,,1


ESLL,S



*GET,MAXN,ELEM,,NUM,MAX


*GET,MINN,ELEM,,NUM,MIN


*SET,KK,MINN



*DO,KK,MINN,MAXN



*IF,ESEL(KK),EQ,1,THEN



F1=XXHZ(NX(NELEM(KK,1)))



F2=XXHZ(NX(NELEM(KK,2)))



SFBEAM,kk,1,PRES,F1,F2

-


-


-


-


-


-


-


-



本文更新与2021-02-01 21:16,由作者提供,不代表本网站立场,转载请注明出处:https://www.bjmy2z.cn/gaokao/595114.html

ANSYS函数的相关文章