教学文库网 - 权威文档分享云平台
您的当前位置:首页 > 精品文档 > 综合文档 >

ansys的常用命令介绍

来源:网络收集 时间:2026-09-07
导读: ansys命令流中文翻译以及常用命令的介绍 /PREP7 前处理的一些常用命令: ET,1,SOLID45 定义单元类型 KEYOPT,1,2,1 单元选项(OPTION) MP,EX,1,100 定义材料参数,1为材料号 tb, 材料表(定义塑性、超弹性等) *dim,rr,array,3,2 定义数组rr为3行2列 k,1

ansys命令流中文翻译以及常用命令的介绍

/PREP7 前处理的一些常用命令:

ET,1,SOLID45 定义单元类型

KEYOPT,1,2,1 单元选项(OPTION)

MP,EX,1,100 定义材料参数,1为材料号

tb, 材料表(定义塑性、超弹性等)

*dim,rr,array,3,2 定义数组rr为3行2列

k,1,X,Y,Z 定义KEYPOINT1坐标

LSTR,1,2 由1、2点生成线

lesize 划分网格,尺寸定义

NUMMRG,KP, , , ,LOW 压缩节点号

asel , 选择面

r, 定义实常数

wpro,,-90, 旋转工作平面

esln,s 选择与节点相关的单元

emodif,all,real,i 修改单元实常数

amesh 对面划分网格

type,2
mat,2
real,1
esys,0 (或 aatt) 激活单元类型2,材料号2,实常数1,单元坐标系

vsweep,all,,, 扫掠网格
.
/prep7
numstr,kp,100 !define the following keypoint number start with with the 100
l,1,2,4 !如果CSYS=0则生成直线,如果CSYS=1则生成弧线,这个命令与当前的坐标系统有关而楼上师兄的 LSTR 则始终生成直线.

lsel , !取线
wprof,,12 !移坐标
alsv !拾取一选定实体上的所有面
nsla !同理,拾取一选定面上的所有节点
aatt,1,1,1 !等效于楼上的 MAT,1 TYPE,1 REAL, 1对面定义属性

mshke,0
!网格格划分进行限定:采用FREE进行划分;网格形状为 四 边形或六面体
mshape,1,2d
vmesh ,2 !划分实体网格,后面的参数是实体编号如:2
/solu !进入求解过程
antype,static !选择求解类型为静力分析
asel,s,loc,x,
nsla
d,all,uy,,,,,roty,rotz !对选定的面上的所有节点施加UY ROTY ROTZ 的对称约束.
allsel !恢复全部选择等效于:ASELL,ALL ESEL,ALL NSEL,ALL
asel,s,,,1
sfa,all,1,press,1000 !对选定的面1施加均布力1000
allsel
/stat,slou !显示求解状况
solve
/post1 !进入后处理
set,list !列出求解的步数及相关信息
set,last !读取最后一步结果
plns,s,eqv,,1 !绘出节点的等效应力云图
plns,epto,eqv !绘出节点的等效应变云图
/post26 !进入时间后处理器
plvar,2 !对以定义的变量2用曲线绘出

/exit,save !退出并存盘

3.
BEGINNER'S GUIDE TO ANSYS COMMANDS
The symbol '*' corresponds to the following:

* --> k, l, a, v, e, n, cm, et, mp, r where ==>
k --> Keypoints
l --> Lines
a --> Area
v --> Volumes
e --> Elements
n --> Nodes
cm --> component
et --> element type
mp --> material property
r --> real constant
$ --> d, f, sf, bf, ic, where ==>
d --> DOF constraint (ux... in Structural, Temp in thermal,
f --> Force Load ( Heat in thermal)
sf --> Surface load on nodes
bf --> Body Force on Nodes

More Commands can be generated by sensible combinations of " $* " family of commands. See the following list of $* possible options

$* --> dk --> DOF constraints on KP (Vx,Vy,Pres... in CFD)
dl --> DOF
constraints on Lines
da --> DOF constraints on Areas
fk --> Force on Keypoints
sfl --> Surface load on Lines
sfa --> Surface

ansys命令流中文翻译以及常用命令的介绍

load on Areas
sfe --> Surface load on element faces
bfk --> Body Force on Keypoints
bfl --> Body Force on Lines
bfa --> Body Force on Area
bfv --> Body Force on Volumes
bfe --> Body Force on Elements
ic --> Initial Conditions ",

p" --> If ",p" was issued at the end of the Command(in Input Window) the GUI based picking menu will be activated. Useful for listing, plotting, meshing, deleting, etc..

**********************************************************

1. Listing of picked Entities:
COMMAND SYNTAX: *LIS,p & $*LIS,p
A few Combinations of this command are:

klis,p --> List KP
llis,p --> Lists Lines
alis,p --> Lists Areas
vlis,p --> Lists Volumes
elis,p --> Lists Elements
nlis,p --> Lists Nodes
cmlis,p --> Lists components
cslis,p --> Lists user created local co-ordinate systems
dlis,p --> Lists DOF constraints specfied on nodes
dalis,p --> Lists DOF constraints applied on Areas
flis,p --> Lists force on Nodes
sfllis,p --> Lists Surface Load on lines
bfalis,p --> Lists body force load applied on Areas
iclis,p --> Lists Initial condition on Nodes

If ",p" was not issued, all entites currently selected will be listed.
For certain commands ",p" cannot be issued. See the below mentioned commands

etlis --> Lists the different element types defined
mplis --> Lists whatever Material properties
rlis --> Lists whatever real constants
cslis --> Lists all co-ordinate systems
cmlis --> Lists all components

*********************************************************

2. Plotting of Entities: COMMAND SYNTAX: *plo KPLO / LPLO / APLO / VPLO / EPLO / NPLO / CMPLO /

**********************************************************

3. deleting of Entities:
COMMAND SYNTAX: *DEL,p & $*DEL,p
KDEL,p / LDEL,p / ADEL,p / VDEL,p / EDEL,p / NDEL,p / CMDEL,p / DDEL,p /
DKDEL,p / DADEL,p / FDEL,p / SFDEL,p / SFEDEL,p / SFADEL,p / SFLDEL,p /
BFADEL,p / ......
The syntax for this command is very similar to LISTING command.

**********************************************************

4. distance between two entities:
COMMAND SYNTAX: *DIS,p
ndis,p --> Distance between two nodes
kdis,p --> Distance between two KPs

**********************************************************

5. Meshing of geometries:
COMMAND SYNTAX: *MES,p
KMES,p / LMES,p / AMES,p / VMES,p

*************** …… 此处隐藏:23562字,全部文档内容请下载后查看。喜欢就下载吧 ……

ansys的常用命令介绍.doc 将本文的Word文档下载到电脑,方便复制、编辑、收藏和打印
本文链接:https://www.jiaowen.net/wendang/1891485.html(转载请注明文章来源)
Copyright © 2020-2025 教文网 版权所有
声明 :本网站尊重并保护知识产权,根据《信息网络传播权保护条例》,如果我们转载的作品侵犯了您的权利,请在一个月内通知我们,我们会及时删除。
客服QQ:78024566 邮箱:78024566@qq.com
苏ICP备19068818号-2
Top
× 游客快捷下载通道(下载后可以自由复制和排版)
VIP包月下载
特价:29 元/月 原价:99元
低至 0.3 元/份 每月下载150
全站内容免费自由复制
VIP包月下载
特价:29 元/月 原价:99元
低至 0.3 元/份 每月下载150
全站内容免费自由复制
注:下载文档有可能出现无法下载或内容有问题,请联系客服协助您处理。
× 常见问题(客服时间:周一到周五 9:30-18:00)