ANSYS软件APDL命令流建模的体会

  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

ANSYS软件APDL命令流建模的体会

首先申明,本人学习ANSYS基本上是靠自己一点一点琢磨出来的,由于本人喜欢用APDL命令流,故总结出来的几点经验也就比较适合用APDL命令的朋友。

1、多看help,ANSYS的help为我们提供了很强大的功能,我最喜欢的是其中对各个命令有关参数的说明和解释部分,不管是建模、加载、后处理等,都可以通过apdl命令来实现。只要你知道命令,如“aatt ”,在help搜索栏输入“aatt”,回车,弹出aatt的有关页码,一般其中有一个只有“aatt”的一项,确

认,即可看到你要查询的aatt命令的有关参数意义,本人常用的命令有:

et---定义单元类型

mp---定义材料属性

k----建关键点,

l----建线条

a---由关键点建立面

al---由线建立面

v----由关键点建立体

vl---由线建立体

va--由面建立体

lsel---在很多很多线中选择你需要的目标线,数量可以无限多……

asel---在很多很多面中选择你需要的目标面,数量也可以无限多……

vsel---在很多很多体中选择你需要的目标体,数量也可以无限多……

latt----给选中的线按材料编号赋属性(前提是首先已定义好材料)

aatt---给选中的面按材料编号赋属性

vatt-----给选中的体按材料编号赋属性

acel---按坐标轴赋体积力,

lmesh,amesh,vmesh---对线、面、体进行剖分

d---在节点上加约束边界

dl---在线上加载约束边界

da----在面上加载约束边界

2、以上只是列出了常见的几个命令,但是ansys提供的命令是很多的,我们不可能都记得,计算记得,也不知道其有关参数是如何定义的,那不要紧,我们可以与界面操作结合起来学习。我们先利用界面操作实现,然后在保存路径里面找到文件“file.log”,在该文件里有该操作等价的apdl命令,那以后我们

就可以使用了。

3、复合命令,很多命令是复合命令,通过几个命令的组合以实现一定的目标,如FITEM、FLST等。这里不予以详述,大家可在学习中慢慢体会。

4、ansys提供的apdl语言可像fortain、c语言一样,可以编程,有条件语句、逻辑语句、文件读写等,但是这些语句语法有个特点,就是在相应的语句前要加“*”,以示其与以上apdl命令的区别。

以上只是一点小小的总结,希望对大家有帮助。

K, NPT, X, Y, Z

Defines a keypoint.

Npt: Reference number for keypoint. If zero, the lowest available number is assigned

X,y,z:Keypoint location in the active coordinate system (may be R, θ, Z or R, θ, Φ). If X= P, graphical picking is enabled and all other fields (including NPT) are ignored (valid only in the GUI).

A, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18

Defines an area by connecting keypoints.

P1, P2, P3, . . . , P18 List of keypoints defining the area (18 maximum if using keyboard entry). At least 3 keypoints must be entered. If P1 = P, graphical picking is enabled and all remaining arguments are ignored (valid only in the GUI).

L, P1, P2, NDIV, SPACE, XV1, YV1, ZV1, XV2, YV2, ZV2

Defines a line between two keypoints.

NDIV:Number of element divisions within this line. Normally this field is not used; specifying divisions with LESIZE, etc. is recommended.

SPACE:Spacing ratio. Normally this field is not used, as specifying spacing ratios with the LESIZE command is recommended. If positive, SPACE is the nominal ratio of the last division size (at P2) to the first division size (at P1). If the ratio is greater than 1, the division sizes increase from P1 to P2, and if less than 1, they decrease. If SPACE is negative, then |SPACE| is the nominal ratio of the center division size to those at the ends.

XV1, YV1, ZV1:Location (in the active coordinate system) of the head of the "slope vector" corresponding to the slope at the P1 end of the line. The tail of the vector is at the origin of the coordinate system. XV2, YV2, ZV2:Location of the head of the "slope vector" corresponding to the slope at the P2 end of the line.

AL, L1, L2, L3, L4, L5, L6, L7, L8, L9, L10

Generates an area bounded by previously defined lines.

N, NODE, X, Y, Z, THXY, THYZ, THZX

Defines a node.

NODE:Node number to be assigned. A previously defined node of the same number will be redefined. Defaults to the maximum node number used +1.

FILL, NODE1, NODE2, NFILL, NSTRT, NINC, ITIME, INC, SPACE

Generates a line of nodes between two existing nodes.

ITIME, INC:Do fill-in operation a total of ITIMEs, incrementing NODE1, NODE2 and NSTRT by INC each time after the first. ITIME and INC both default to 1.

NGEN, IT IME, INC, NODE1, NODE2, NINC, DX, DY, DZ, SPACE(类似:Agen)

Generates additional nodes from a pattern of nodes.

ITIME, INC:Do this generation operation a total of ITIME times(包含现有的自身), incrementing all nodes in the given pattern by INC each time after the first. ITIME must be > 1 for generation to occur. NODE1, NODE2, NINC:Generate nodes from the pattern of nodes beginning with NODE1 to NODE2 (defaults to NODE1) in steps of NINC (defaults to 1). If NODE1 = ALL, NODE2 and NINC are ignored and the pattern is all selected nodes [NSEL]. If NODE1= P, graphical picking is enabled and all remaining command fields

相关文档
最新文档