上面的命令流有很大的错修改后如下:(上次没有转换节点坐标系!)
fini
/clear
/units,si
*set,guanhou,0.032 !壁厚按最底层计算
*set,r,40 !罐的内径
*set,ye_h,20.2 !充液高度
*set,guan_h,21.8!罐高
*set,fen1,16 !线的划分
*set,fen2,5 !线的划分
*set,fen3,1 !线的划分
/filn,zizhenfenxi,1
/titl,ouhe
/prep7
et,1,shell63
mp,ex,1,2e11
mp,prxy,1,0.3
mp,dens,1,7.85e3
r,1,guanhou,guanhou,guanhou,guanhou
et,2,80
mp,ex,2,3e10
mp,dens,2,880
mp,visc,2,0.0024
k,1,
k,2,,,ye_h
k,3,,,guan_h
k,4,r
k,5,r,,ye_h
l,1,4
l,4,5
l,2,3
arota,1,2,,,,,1,2
adrag,11,13,15,17,,,3
type,1
real,1
mat,1
lesize,10,,,fen1
lesize,12,,,fen1
lesize,14,,,fen1
lesize,16,,,fen1
lesize,5,,,fen2
lesize,7,,,fen2
lesize,9,,,fen2
lesize,1,,,fen1
lesize,6,,,fen1
lesize,8,,,fen1
lesize,19,,,fen3
lesize,20,,,fen3
lesize,22,,,fen3
mshkey,1
mshape,0,2D
amesh,all
cyl4,,,40,,,,ye_h
wpro,,90
vsbw,1
wpro,,,90
vsbw,2
vsbw,3
wpstyl,defa
type,2
mat,2
lesi,30,,,fen1
lesi,31,,,fen1
lesi,32,,,fen1
lesi,46,,,fen2
lesi,35,,,fen2
lesi,34,,,fen2
lesi,40,,,fen1
lesi,41,,,fen1
lesi,45,,,fen1
mshkey,1
mshape,0,3D
vmesh,all
csys,1
nrota,all
fini
/solu
antype,2
modopt,reduc,4
mxpand,4,,,1
alls,below,volu
nsel,r,loc,z,ye_h
m,all,uz
alls
nsel,s,loc,z,0
nsel,r,loc,x,0,39
cp,1,uz,all
alls
nsel,s,loc,x,r
nsel,r,loc,z,1,ye_h
cp,2,ux,all
acel,,,9.8
alls
solv
save
fini
不一定对,还请高手们、版主提意见啊 |