ansys網(wǎng)格劃分的命令流

2013-08-14  by:廣州ANSYS Workbench軟件培訓中心  來源:仿真在線

ansys網(wǎng)格劃分的命令流

 

這是ansys工程結構數(shù)值分析中的一些網(wǎng)網(wǎng)格劃分的命令流

!長方體開圓柱槽的網(wǎng)格劃分
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 具坑缺陷圓柱的網(wǎng)格劃分
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 圓柱與長方體組合模型的網(wǎng)格劃分
!采用六面體映射網(wǎng)格劃分
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 圓柱與長方體組合模型的網(wǎng)格劃分
!采用過渡六面體映射網(wǎng)格劃分
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


開放分享:優(yōu)質(zhì)有限元技術文章,助你自學成才

相關標簽搜索:ansys網(wǎng)格劃分的命令流 ansys 網(wǎng)格劃分 命令流 結構分析培訓 Ansys有限元培訓 Ansys workbench培訓 ansys視頻教程 ansys workbench教程 ansys APDL經(jīng)典教程 ansys資料下載 ansys技術咨詢 ansys基礎知識 

編輯
在線報名:
  • 客服在線請直接聯(lián)系我們的客服,您也可以通過下面的方式進行在線報名,我們會及時給您回復電話,謝謝!
驗證碼

全國服務熱線

1358-032-9919

廣州公司:
廣州市環(huán)市中路306號金鷹大廈3800
電話:13580329919
          135-8032-9919
培訓QQ咨詢:點擊咨詢 點擊咨詢
項目QQ咨詢:點擊咨詢
email:kf@1cae.com