马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?我要加入
x
现在在做水箱盛水问题,但是流固耦合这一块出问题,附上命令流。希望各位大神帮帮忙。
/prep7
/UNITS,SI!国际单位制
smrt,off
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!* define material proterties
mp,dens,1,7800 !mat 1 for shell
mp,ex,1,2.06e11
mp,prxy,1,0.3
mp,dens,2,1000 !mat 2 for water
mp,sonc,2,1400
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!* define element type
et,1,SHELL63
r,1,0.01
ET,2,FLUID30
r,2,0
keyopt,2,2,0
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!* define geometry
K,1,2,0,0
K,2,2,0,2
K,3
K,4,0,0,1
L,1,2
AROTAT,1,,,,,,3,4
PCIRC,0,2
WPROTA,,,90
ASBW,5,,,
WPCSYS,-1
WPROTA,,90,
ASEL,S,,,6,7
ASBW,ALL,,,
WPCSYS,-1
ALLSEL,ALL
AGLUE,ALL
allsel,all
ASEL,S,,,1,4
ASEL,A,,,6,7
ASEL,A,,,11,12
AATT,1,1,1
allsel,all
CYLIND,2,0,0,1.5
allsel,all
VSEL,S,,,1
WPROTA,,,90
VSBW,1,,,
WPCSYS,-1
WPROTA,,90,
VSEL,S,,,2,3
VSBW,ALL,,,
WPCSYS,-1
ALLSEL,ALL
VSEL,S,,,1
VSEL,A,,,4,6
VATT,2,2,2
ALLSEL,ALL
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!* mesh geometry
ASEL,s,,,6,7
ASEL,A,,,11,12
lESIZE,22,,,10
lESIZE,23,,,10
lESIZE,24,,,10
lESIZE,17,,,10
mshape,0,2D
mshkey,1
amesh,all
ALLSEL,ALL
ASEL,S,,,1,4
lESIZE,2,0.05,,
lESIZE,6,,,10
lESIZE,8,,,10
lESIZE,10,,,10
lESIZE,12,,,10
mshape,0,2D
mshkey,1
amesh,all
ALLSEL,ALL
VSEL,S,,,1
VSEL,A,,,4,6
LESIZE,26,0.05,,
LESIZE,18,,,20
LESIZE,19,,,20
LESIZE,20,,,20
lesize,21,,,20
mshape,0,3D
mshkey,1
vmesh,all
allsel,all
numcmp,all
/SOLU
ALLSEL,ALL !液体FSI面
asel,s,,,13,16
!asel,a,,,5
!asel,a,,,17,23,3
nsla,s,
sf,all,fsin,1
allsel,all !固体FSI面
asel,s,,,1,4
!asel,a,,,11,12
!asel,a,,,6,7
nsla,s,
sf,all,fsin,1
allsel,all
asel,s,,,8 !水体表面约束
asel,a,,,18,24,3
nsla,s,1
d,all,pres,0
allsel,all
ACEL,0,0,9.81 !施加自重
allsel,all
ASEL,s,,,6,7
ASEL,A,,,11,12
nsla,s,1
D,ALL,ALL
ALLSEL,ALL
fldata1,solu,flow,1
fldata1,solu,tran,1
fldata1,solu,swrl,1
fldata1,solu,tran,1
fldata1,solu,ale,1
fldata1,solu,rdsf,1
flda,iter,exec,50
!Fluid Properties
fldata7,prot,dens,LIQUID
fldata7,prot,visc,LIQUID
fldata8,nomi,dens,1000 !density
fldata8,nomi,visc,1.005e-3 !viscosity
FLDATA15,PRES,REFE,101350,
FLDATA16,BULK,BETA,36
flda,time,step,0.01
FLDATA4,TIME,TEND,1.0e06 !!!默认值
flda,time,glob,15
FLDATA4,TIME,VX,0.01,
FLDATA4,TIME,VY,0.01,
FLDATA4,TIME,VZ,0.01,
FLDATA4,TIME,PRES,1e-004,
FLDATA4,TIME,TEMP,1e-006,
FLDATA4,TIME,APPE,1.0e6
FLDATA4,TIME,SUMF,1.0e6
FLDATA4,TIME,BC,0
FLDATA4,TIME,TEND,1.0e6,
fldata4,time,meth,newm
fldata4,time,delt,0.5
fsan,on !FSI analysis on
fsco,all,1.0e-1 !FSI convergence criteria
fsre,all,0.5 !FSI relaxation
fsou,0.01 !FSI output frequency
fsit,5 !Number of stagger loops
fsti,5 !FSI end time
fsdt,0.01 !FSI delta time
fsor,fluid !FSI order of solution
fstr,solid, !Transient fluid for FSI analysis
antype,trans
fstr,fluid, !Transient structural for FSI analysis
deltim,0.01
flda,time,step,0.01
save
solve
|