求赐教
浏览:83056 回答:1
下面是ansys help文件中一个例题的命令流,运行为什么出现了一个error ,求指教
/BATCH,LIST
/title, broken dam problem by the VOF solution.
/com
/com ------------------------------------------------------------------
/com ** Reference: "Part IV: An Experimental Study of the Collapse of
/com ** Liquid Columns on a Rigid Horizontal Plane"
/com ** By Martin and Moyce, Phil. Trans. Roy. Soc.
/com ** (London,A244, pp. 312-324, 1952.
/com ** "Volume of Fluid (VOF) Method for the Dynamics of
/com ** Free Boundaries" By C.W. Hirt and B.D. Nichols,
/com ** J. Comput. Physics, Vol. 39, pp. 201-225, 1981.
/com **
/prep7
!!!!! Define some dimensions and gravity
LX = 5.0 ! X length
LY = 2.5 ! Y length
DELX = 0.2 ! X spacing
DELY = 0.05 ! Y spacing
grav = 9.81 ! Gravity
et,1,141
!!!! meshing
rect,0,LX,0,LY
lsel,s,,,2,4,2
lesize,all,DELY
lsel,s,,,1,3,2
lesize,all,DELX
amesh,all
nsel,s,loc,y,0.0 ! Wall boundary conditions
nsel,a,loc,x,0.0
d,all,vx,0.0
d,all,vy,0.0
nsel,s,loc,x,0.0,1.0 ! Setup initial VFRC
nsel,r,loc,y,0.0,2.0
esln,s,1
ice,all,vfrc,1.0
alls ! Initial conditions for vx & vy
ic,all,vx,0
ic,all,vy,0
save
fini
/solu
!!!! FLOTRAN input
acel,0.0,grav,0
FLDA,NOMI,DENS,1.0e3
FLDA,NOMI,VISC,1.0d-3
FLDA,SOLU,FLOW,T
FLDA,SOLU,TRAN,T
FLDA,SOLU,turb,F
flda,solu,vof,t
flda,time,glob,5
flda,time,numb,70
flda,time,step,0.01
flda,time,appe,0.1
flda,advm,mome,supg
flda,relx,vx,0.5
flda,relx,vy,0.5
flda,relx,pres,1.0
solve
/BATCH,LIST
/title, broken dam problem by the VOF solution.
/com
/com ------------------------------------------------------------------
/com ** Reference: "Part IV: An Experimental Study of the Collapse of
/com ** Liquid Columns on a Rigid Horizontal Plane"
/com ** By Martin and Moyce, Phil. Trans. Roy. Soc.
/com ** (London,A244, pp. 312-324, 1952.
/com ** "Volume of Fluid (VOF) Method for the Dynamics of
/com ** Free Boundaries" By C.W. Hirt and B.D. Nichols,
/com ** J. Comput. Physics, Vol. 39, pp. 201-225, 1981.
/com **
/prep7
!!!!! Define some dimensions and gravity
LX = 5.0 ! X length
LY = 2.5 ! Y length
DELX = 0.2 ! X spacing
DELY = 0.05 ! Y spacing
grav = 9.81 ! Gravity
et,1,141
!!!! meshing
rect,0,LX,0,LY
lsel,s,,,2,4,2
lesize,all,DELY
lsel,s,,,1,3,2
lesize,all,DELX
amesh,all
nsel,s,loc,y,0.0 ! Wall boundary conditions
nsel,a,loc,x,0.0
d,all,vx,0.0
d,all,vy,0.0
nsel,s,loc,x,0.0,1.0 ! Setup initial VFRC
nsel,r,loc,y,0.0,2.0
esln,s,1
ice,all,vfrc,1.0
alls ! Initial conditions for vx & vy
ic,all,vx,0
ic,all,vy,0
save
fini
/solu
!!!! FLOTRAN input
acel,0.0,grav,0
FLDA,NOMI,DENS,1.0e3
FLDA,NOMI,VISC,1.0d-3
FLDA,SOLU,FLOW,T
FLDA,SOLU,TRAN,T
FLDA,SOLU,turb,F
flda,solu,vof,t
flda,time,glob,5
flda,time,numb,70
flda,time,step,0.01
flda,time,appe,0.1
flda,advm,mome,supg
flda,relx,vx,0.5
flda,relx,vy,0.5
flda,relx,pres,1.0
solve