ANSYS内嵌函数总汇.doc

上传人:汽*** 文档编号:561369383 上传时间:2022-10-31 格式:DOC 页数:7 大小:87.50KB
返回 下载 相关 举报
ANSYS内嵌函数总汇.doc_第1页
第1页 / 共7页
ANSYS内嵌函数总汇.doc_第2页
第2页 / 共7页
ANSYS内嵌函数总汇.doc_第3页
第3页 / 共7页
ANSYS内嵌函数总汇.doc_第4页
第4页 / 共7页
ANSYS内嵌函数总汇.doc_第5页
第5页 / 共7页
点击查看更多>>
资源描述

《ANSYS内嵌函数总汇.doc》由会员分享,可在线阅读,更多相关《ANSYS内嵌函数总汇.doc(7页珍藏版)》请在金锄头文库上搜索。

1、ANSYS内嵌函数总汇Appendix B. GET Function SummaryA get function is available for some items, and can be used instead of the *GET command. The function returns the value and uses it where the function is input (bypassing the need for storing the value with a parameter name and inputting the parameter name

2、where the value is to be used). For example, assume the average X-location of two nodes is to be calculated. Using the *GET command, parameter L1 can be assigned the X location of node 1 (*GET, L1, NODE, 1, LOC, X), and parameter L2 can be assigned the X location of node 2, then the mid location can

3、 be computed from MID = (L1+L2)/2. However, using the node location get function NX(N), which returns the X location of node N, MID can be computed directly from MID = (NX(1)+NX(2)/2, without the need for intermediate parameters L1 and L2. Get functions return values in the active coordinate system

4、unless stated otherwise. Get function arguments may themselves be parameters or other get functions. The get function NELEM(ENUM,NPOS) returns the node number in position NPOS for element ENUM. Combining functions, NX(NELEM(ENUM,NPOS) returns the X location of that node. Get functions (where availab

5、le) are shown with the corresponding *GET items in the tables below and are summarized at the end of this command description. Get functions are described at the beginning of this command (see Notes) and are shown as alternatives to the *GET items where they apply. They are summarized here (grouped

6、by functionality) for convenience. TableB.1*GET - Get Function SummaryGet Function Summary Entity Status Get FunctionDescriptionNSEL(N)Status of node N: -1=unselected, 0=undefined, 1=selected.ESEL(E)Status of element E: -1=unselected, 0=undefined, 1=selected.KSEL(K)Status of keypoint K: -1=unselecte

7、d, 0=undefined, 1=selected.LSEL(L)Status of line L: -1=unselected, 0=undefined, 1=selected.ASEL(A)Status of area A: -1=unselected, 0=undefined, 1=selected.VSEL(V)Status of volume V: -1=unselected, 0=undefined, 1=selected.Next Selected EntityNDNEXT(N)Next selected node having a node number greater th

8、an N.ELNEXT(E)Next selected element having an element number greater than E.KPNEXT(K)Next selected keypoint having a keypoint number greater than K. LSNEXT(L)Next selected line having a line number greater than L.ARNEXT(A)Next selected area having an area number greater than A.VLNEXT(V)Next selected

9、 volume having a volume number greater than V.LocationsCENTRX(E)Centroid X-coordinate of element E in global Cartesian coordinate system. Centroid is determined from the selected nodes on the element.CENTRY(E)Centroid Y-coordinate of element E in global Cartesian coordinate system. Centroid is deter

10、mined from the selected nodes on the element.CENTRZ(E)Centroid Z-coordinate of element E in global Cartesian coordinate system. Centroid is determined from the selected nodes on the element.NX(N)X-coordinate of node N in the active coordinate system.NY(N)Y-coordinate of node N in the active coordina

11、te system.NZ(N)Z-coordinate of node N in the active coordinate system.KX(K)X-coordinate of keypoint K in the active coordinate systemKY(K)Y-coordinate of keypoint K in the active coordinate systemKZ(K)Z-coordinate of keypoint K in the active coordinate systemLX(L,LFRAC)X-coordinate of line L at leng

12、th fraction LFRAC (0.0 to 1.0).LY(L,LFRAC)Y-coordinate of line L at length fraction LFRAC (0.0 to 1.0).LZ(L,LFRAC)Z-coordinate of line L at length fraction LFRAC (0.0 to 1.0).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

13、.0 to 1.0).LSZ(L,LFRAC)Z slope of line L at length fraction LFRAC (0.0 to 1.0).Nearest to LocationNODE(X,Y,Z)Number of the selected node nearest the X,Y,Z point (in the active coordinate system, lowest number for coincident nodes).KP(X,Y,Z)Number of the selected keypoint nearest the X,Y,Z point (in

14、the active coordinate system, lowest number for coincident nodes).DistancesDISTND(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.A

15、ngles (in radians by default - see the *AFUN command)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 i

16、s in radians.Nearest to EntityNNEAR(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.AreasAREAND(N1,N2,N3)Area of the triangle with vertices at nodes N1, N2, and N3.AREAKP(K1

展开阅读全文
相关资源
正为您匹配相似的精品文档
相关搜索

最新文档


当前位置:首页 > 生活休闲 > 社会民生

电脑版 |金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号