jackfromdy 发表于 2009-4-25 10:38

求助:划分网格出错

对边壁打孔后的钢管求外加压力后的变形,建立模型后划分网格总是出错,也不知道为什么。请各位大侠帮忙看看?
另外,我是初学者,写的命令流对不对,可否优化?恳请各位指正。
/PREP7
ET,1,SOLID45
MP,EX,1,2E11
MP,PRXY,1,0.26

CYL4,0,0,0.0675,0,0.0775,360,1
APLOT
NUMMRG,ALL
NUMCMP,ALL

WPOFFS,0,0,0.2      !工作面平移,准备画第一个射孔
WPROTA,0,0,90         !工作面旋转,z轴指向管壁
CYL4,0,0,0,0,0.01,360,0.1   !画第一个孔

WPOFFS,-0.2,0,0      !工作面从上一个点平移,准备画第二个射孔
WPROTA,0,-90,0         !工作面旋转,z轴指向管壁
CYL4,0,0,0,0,0.01,360,0.1   !画第二个孔


WPOFFS,-0.2,0,0      !工作面从上一个点平移,准备画第三个射孔
WPROTA,0,-90,0         !工作面旋转,z轴指向管壁
CYL4,0,0,0,0,0.01,360,0.1   !画第三个孔

WPOFFS,-0.2,0,0      !工作面从上一个点平移,准备画第四个射孔
WPROTA,0,-90,0         !工作面旋转,z轴指向管壁
CYL4,0,0,0,0,0.01,360,0.1   !画第四个孔

VSBV,1,2
NUMMRG,ALL
NUMCMP,ALL

VSBV,4,1
NUMMRG,ALL
NUMCMP,ALL

VSBV,3,1
NUMMRG,ALL
NUMCMP,ALL

VSBV,2,1
NUMMRG,ALL
NUMCMP,ALL

WPROTA,0,0,-90
WPROTA,90,0,0    !回到原点
WPROTA,0,0,90
VSBW,1         !体1由工作平面分割成2个体

WPROTA,0,0,90
VSBW,ALL

WPOFFS,0,0,0.2
VSBW,ALL

WPOFFS,0,0,0.2
VSBW,ALL

WPOFFS,0,0,0.2
VSBW,ALL

!开始划分网格
ESIZE,0.01,0
MSHKEY,1                        !采用映射网格划分
WPSTYLE,,,,,,,,0
VSEL,S,LOC,X,0,0.2
lesize,1,,,10, , ,, ,1
lesize,2,,,10, , ,, ,1
lesize,3,,,10, , ,, ,1
lesize,4,,,10, , ,, ,1
lesize,5,,,10, , ,, ,1
lesize,6,,,10, , ,, ,1
lesize,7,,,10, , ,, ,1
lesize,8,,,10, , ,, ,1

lesize,23,,,10, , ,, ,1
lesize,25,,,10, , ,, ,1
lesize,29,,,10, , ,, ,1
lesize,30,,,10, , ,, ,1
lesize,32,,,10, , ,, ,1
lesize,41,,,10, , ,, ,1
lesize,106,,,10, , ,, ,1
lesize,108,,,10, , ,, ,1

lesize,149,,,5, , ,, ,1
lesize,150,,,5, , ,, ,1
lesize,151,,,5, , ,, ,1
lesize,152,,,5, , ,, ,1
lesize,31,,,5, , ,, ,1
lesize,39,,,5, , ,, ,1
lesize,107,,,5, , ,, ,1
lesize,109,,,5, , ,, ,1

lesize,143,,,5, , ,, ,1
lesize,144,,,5, , ,, ,1
lesize,145,,,5, , ,, ,1
lesize,146,,,5, , ,, ,1
lesize,147,,,5, , ,, ,1
lesize,148,,,5, , ,, ,1
lesize,153,,,5, , ,, ,1
lesize,154,,,5, , ,, ,1
lesize,155,,,5, , ,, ,1
lesize,156,,,5, , ,, ,1

VSWEEP,ALL
页: [1]
查看完整版本: 求助:划分网格出错