ansys网格划分的命令流

2013-08-14  by:广州ANSYS Workbench软件培训中心  来源:仿真在线

ansys网格划分的命令流

 

这是ansys工程结构数值分析中的一些网网格划分的命令流

!长方体开圆柱槽的网格划分
finish
/clear
/prep7
blc5,,,20,10,30
wpoff,,5,5
cyl4,,,8,,,,10
wpoff,,,10
cyl4,,,4,,,,12
vsel,s,,,2,3
cm,v1cm,volu
allsel
wpcsys,-1
vsbv,1,v1cm
voffst,15,5
voffst,16,3
voffst,17,15
vptn,all
wprota,,,90
vsbw,all

wpcsys,-1
wpoff,,,5
vsbw,all
wpoff,,,10
vsbw,all
wpoff,,,12
vsbw,all

et,1,mesh200,7
esize,2
mshape,0,2d
mshkey,1
asel,s,loc,z,30
lccat,6,74
lccat,8,68
amesh,all
asel,s,loc,z,0
lccat,3,73
lccat,1,67
amesh,all


allsel
et,2,solid95
mshape,0,3d
mshkey,1
vsweep,all


!EX3.26 具坑缺陷圆柱的网格划分
finish
/clear
/prep7
l0=50
r0=10
r1=5
r2=1
h0=5
et,1,solid45
cyl4,,,r0,,,,l0
wpave,0,r0,l0/2
wprota,,90
con4,,,r1,r2,h0
vsbv,1,2
wprota,,90
vsbw,all
wpoff,,,r1+3
vsbw,all
wpoff,,,-2*(r1+3)
vsbw,all
wprota,,,90
vsbw,all
wpoff,,,r1+1
vsbw,all
wpoff,,,-2*(r1+1)
vsbw,all
wpcsys,-1
wprota,,90
vsbw,all
wpoff,,,-r1
vsbw,all
wpoff,,,2*r1
vsbw,all
wpcsys,-1
numcmp,all
ksel,s,loc,z,l0/2
ksel,r,loc,x,0
ksel,u,loc,y,0
*get,kp1,kp,0,num,min
kp2=kpnext(kp1)
ksel,s,loc,z,l0/2+r2
*get,kp3,kp,0,num,min
allsel
k,1000,,-r0,l0/2+5
l,kp3,1000
asel,none
*get,l1,line,0,num,max
arotat,l1,,,,,,kp1,kp2
cm,a1cm,area
allsel
vsba,all,a1cm

!vsel,s,loc,z,17,33
!vsel,r,loc,x,-6,6
!aslv,s
!aplot
accat,128,61
accat,160,138
accat,224,202
accat,183,35

accat,31,134
accat,151,164
accat,215,231
accat,82,195

accat,130,5
accat,162,145
accat,229,209
accat,192,89

accat,12,123
accat,117,155
accat,109,219
accat,14,178

mshape,0,3d
mshkey,1
esize,1
vmesh,all


!EX3.24A 圆柱与长方体组合模型的网格划分
!采用六面体映射网格划分
finish
/clear
/prep7
a0=30
h1=15
h2=25
r0=7
blc4,,,a0/2,a0/2,h1
cyl4,,,r0,,,90,h1+h2
vptn,all
accat,4,6
et,1,95
esize,3
mshape,0,3d
mshkey,1
vmesh,all
asel,s,acca
adele,all
lsel,s,lcca
ldele,all
allsel
vsymm,x,all
vsymm,y,all
nummrg,all
!EX3.24B 圆柱与长方体组合模型的网格划分
!采用过渡六面体映射网格划分
finish
/clear
/prep7
a0=30
h1=15
h2=25
r0=7
blc4,,,a0/2,a0/2,h1
cyl4,,,r0,,,90,h1+h2
vptn,all
lsel,s,radius,,r0
lsel,a,length,,r0
lesize,all,,,6
lsel,s,loc,z,0
lsel,a,loc,z,h1
lesize,all,,,7
asel,s,loc,x,a0/2
asel,a,loc,y,a0/2
accat,all
allsel
et,1,95
esize,3
mshape,0,3d
mshkey,1
vmesh,all
asel,s,acca
adele,all
lsel,s,lcca
ldele,all
allsel
vsymm,x,all
vsymm,y,all
nummrg,all


开放分享:优质有限元技术文章,助你自学成才

相关标签搜索:ansys网格划分的命令流 ansys 网格划分 命令流 结构分析培训 Ansys有限元培训 Ansys workbench培训 ansys视频教程 ansys workbench教程 ansys APDL经典教程 ansys资料下载 ansys技术咨询 ansys基础知识 

编辑
在线报名:
  • 客服在线请直接联系我们的客服,您也可以通过下面的方式进行在线报名,我们会及时给您回复电话,谢谢!
验证码

全国服务热线

1358-032-9919

广州公司:
广州市环市中路306号金鹰大厦3800
电话:13580329919
          135-8032-9919
培训QQ咨询:点击咨询 点击咨询
项目QQ咨询:点击咨询
email:kf@1cae.com