全文预览已结束
下载本文档
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
广州有道资料网ansys内嵌函数ansys中可以用*get命令获取信息。如: *get,xx,node,i,loc,x 可以获取第i个节点的x坐标,即把第i个节点的x坐标赋给xx. 通过内嵌函数,我们可以很方便的实现上述过程: xx=nx(i), nx(i)就是ansys的一个内嵌函数。 下面我把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) Absolute value of x. SIGN(x,y) Absolute value of x with sign of y. y=0 results in positive sign. EXP(x) Exponential of x (ex). LOG(x) Natural log of x (ln (x). LOG10(x) Common log of x (log10(x). SQRT(x) Square root of x. NINT(x) Nearest integer to x. MOD(x,y) Remainder of x/y. y=0 returns zero (0). RAND(x,y) Random number (uniform distribution) in the range x to y (x = lower bound, y = upper bound). GDIS(x,y) Random sample of a Gaussian (normal) distribution with mean x and standard deviation y. SIN(x), COS(x), TAN(x) Sine, Cosine, and Tangent of x. x is in radians by default, but can be changed to degrees with *AFUN. SINH(x), COSH(x), TANH(x) Hyperbolic sine, Hyperbolic cosine, and Hyperbolic tangent of x. ASIN(x), ACOS(x), ATAN(x) Arcsine, Arccosine, and Arctangent of x. x must be between -1.0 and +1.0 for ASIN and ACOS. Output is in radians by default, but can be changed to degrees with *AFUN. Range of output is -pi/2 to +pi/2 for ASIN and ATAN, and 0 to pi for ACOS. ATAN2(y,x) Arctangent of y/x with the sign of each component considered. Output is in radians by default, but can be changed to degrees with *AFUN. Range of output is -pi to +pi. 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 的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 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).同理,LY(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 adjace
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 端午假期安全课件
- 办公楼安全知识培训课件
- 2025年二级建造师考试试题一附答案详解(精练)
- 2020年上海市《放射医学》测试卷(第560套)
- 2025年二级建造师考试通关提分题库及答案详解一套
- 印刷基础知识考核试题及答案
- 天文知识竞赛题
- 产品创新策略应用考试试卷
- 广东教师招聘教育综合基础知识模拟试题及答案一
- 食药安全主题班会课件
- 心内科室简介
- 村镇应急车辆管理办法
- 智慧教育新型基础设施建设项目可行性研究报告
- 压力容器操作员安全培训资料
- 学堂在线 唐宋词鉴赏 章节测试答案
- 2025至2030中国番茄加工行业发展趋势分析与未来投资战略咨询研究报告
- 阵发性室上性心动过速病例讨论
- 观感质量验收标准
- GB/T 31051-2025起重机工作和非工作状态下的锚定装置
- 护理事业十五五发展规划(2026-2030)
- 安装护栏安全协议书范本
评论
0/150
提交评论