TALK=T;RUN( 1, 1) ************************************************************ Q1 created by VDI menu, Version 2017, Date 05/10/17 CPVNAM=VDI; SPPNAM=Core ************************************************************ Echo DISPLAY / USE settings VRV USE SLICE X VIEW 1.000000E+00 0.000000E+00 0.000000E+00 UP 0.000000E+00 0.000000E+00 1.000000E+00 VARIABLE VFOL CONTOUR ON PAUSE ANIMATE enduse DISPLAY FREE SURFACE EXAMPLES - Slumping of a column of liquid Scalar Equation Method (VOF) 2-dimensional (y-z), Cartesian, transient, elliptic simulation This case simulates the slumping of a liquid column that may arise,for example, when container walls break down. In addition an obstacle can be errected in the path of the liquid. liquid | column |------ z ^ | - - | | | - | +-----> | -- | | wall y | -- | | |_____|______|___ ///////////////// enddis ************************************************************ IRUNN = 1 ;LIBREF = 106 ************************************************************ Group 1. Run Title TEXT(SLUMPING OF A LIQUID COLUMN BY VOF:P119 ) ************************************************************ Group 2. Transience STEADY=F * Set overall time and no. of steps RSET(U,0.,0.5,20) * Modify regions RSET(T,1,20,1.) ************************************************************ Groups 3, 4, 5 Grid Information * Overall number of cells, RSET(M,NX,NY,NZ,tolerance) RSET(M,1,10,10) ************************************************************ Group 6. Body-Fitted coordinates ************************************************************ Group 7. Variables: STOREd,SOLVEd,NAMEd * Non-default variable names NAME(147)=SURN ;NAME(148)=VFOL NAME(149)=PRPS ;NAME(150)=DEN1 * Solved variables list SOLVE(P1,V1,W1,SURN,VFOL) * Stored variables list STORE(DEN1,PRPS) * Additional solver options SOLUTN(P1,Y,Y,Y,N,N,N) SOLUTN(V1,Y,Y,N,N,N,N) SOLUTN(W1,Y,Y,N,N,N,N) ************************************************************ Group 8. Terms & Devices TERMS (SURN,N,N,N,N,Y,N) TERMS (VFOL,N,N,N,N,Y,N) GALA = T RUPLIM =0.999 ;RLOLIM =1.0E-03 ************************************************************ Group 9. Properties RHO1 =998.22998 ENUL =1.006E-06 CP1 =4181.799805 ENUT =0. DVO1DT =1.18E-04 ************************************************************ Group 10.Inter-Phase Transfer Processes ************************************************************ Group 11.Initialise Var/Porosity Fields FIINIT(P1)=0. ;FIINIT(V1)=0. FIINIT(W1)=0. ;FIINIT(SURN)=0. FIINIT(VFOL)=0. ;FIINIT(PRPS)=-1. FIINIT(DEN1)=1.189 No PATCHes used for this Group INIADD = F ************************************************************ Group 12. Convection and diffusion adjustments No PATCHes used for this Group ************************************************************ Group 13. Boundary & Special Sources PATCH(BUOYANCY, PHASEM, 0, 0, 0, 0, 0, 0, 1, 20) COVAL(BUOYANCY, V1, FIXFLU, GRND1) COVAL(BUOYANCY, W1, FIXFLU, GRND1) BUOYA =0. ; BUOYB =0. BUOYC =-9.81 EGWF = T ************************************************************ Group 14. Downstream Pressure For PARAB ************************************************************ Group 15. Terminate Sweeps LSWEEP = 10 RESREF(P1)=1.0E-06 ;RESREF(V1)=1.0E-06 RESREF(W1)=1.0E-06 RESFAC =1.0E-04 ************************************************************ Group 16. Terminate Iterations LITER(SURN)=1 ************************************************************ Group 17. Relaxation RELAX(P1 ,LINRLX,1. ) RELAX(V1 ,FALSDT,1.0E-02 ) RELAX(W1 ,FALSDT,1.0E-02 ) ************************************************************ Group 18. Limits VARMAX(SURN)=1. ;VARMIN(SURN)=0. ************************************************************ Group 19. EARTH Calls To GROUND Station SURF = T IPRPSA = 67 ISURFA = 1 ISG62 = 1 ************************************************************ Group 20. Preliminary Printout ************************************************************ Group 21. Print-out of Variables OUTPUT(P1 ,Y,Y,Y,Y,Y,Y) OUTPUT(V1 ,Y,Y,Y,Y,Y,Y) OUTPUT(W1 ,Y,Y,Y,Y,Y,Y) OUTPUT(SURN,Y,Y,Y,N,Y,Y) OUTPUT(VFOL,Y,Y,Y,N,Y,Y) ************************************************************ Group 22. Monitor Print-Out IXMON = 1 ;IYMON = 5 ;IZMON = 5 NPRMON = 100000 NPRMNT = 1 TSTSWP = -1 ************************************************************ Group 23.Field Print-Out & Plot Control NPRINT = 100000 NTPRIN = 10 ;ISTPRF = 1 ;ISTPRL = 100000 ISWPRF = 1 ;ISWPRL = 100000 PATCH(MAP, CONTUR, 1, 1, 1, 10, 1, 10, 1, 20) PLOT(MAP, SURN, 0., 1.) ************************************************************ Group 24. Dumps For Restarts IDISPA = 1 ;IDISPB = 0 ;IDISPC = 0 CSG1 ='N' GVIEW(P,1.,0.,0.) GVIEW(UP,0.,0.,1.) GVIEW(DEPTH,1772.006958) GVIEW(VDIS,0.695198) GVIEW(CENTRE,0.5,0.5,0.15625) > DOM, SIZE, 1.000000E+00, 1.000000E+00, 3.125000E-01 > DOM, MONIT, 5.000000E-01, 4.500000E-01, 1.406250E-01 > DOM, SCALE, 1.000000E+00, 1.000000E+00, 1.000000E+00 > DOM, INCREMENT, 1.000000E-02, 1.000000E-02, 1.000000E-02 > GRID, RSET_X_1, 1, 1.000000E+00 > GRID, RSET_Y_1, 5, 1.000000E+00 > GRID, RSET_Y_2, 5, 1.000000E+00 > GRID, RSET_Z_1, 5, 1.000000E+00 > GRID, RSET_Z_2, 5, 1.000000E+00 > DOM, T_AMBIENT, 0.000000E+00 > OBJ, NAME, LIQUID > OBJ, POSITION, 0.000000E+00, 0.000000E+00, 0.000000E+00 > OBJ, SIZE, 1.000000E+00, 5.000000E-01, 1.562500E-01 > OBJ, GEOMETRY, cubet > OBJ, TYPE, BLOCKAGE > OBJ, MATERIAL, 67, WATER at 20. deg C > OBJ, TIME_LIMITS, ALWAYS_ACTIVE > OBJ, NAME, REFP > OBJ, POSITION, 0.000000E+00, 0.000000E+00, AT_END > OBJ, SIZE, 1.000000E+00, 1.000000E+00, 0.000000E+00 > OBJ, DOMCLIP, NO > OBJ, GEOMETRY, cube12t > OBJ, TYPE, OUTLET > OBJ, PRESSURE, P_AMBIENT > OBJ, COEFFICIENT, 1000. > OBJ, TIME_LIMITS, ALWAYS_ACTIVE STOP