TALK=T;RUN( 1, 1) ************************************************************ Q1 created by VDI menu, Version 2022, Date 21/03/22 CPVNAM=VDI; SPPNAM=Core ************************************************************ Echo DISPLAY / USE settings DISPLAY Library case 652: Tutorial: Water over a backward-facing step (VOF) ENDDIS ************************************************************ IRUNN = 1 ;LIBREF = 0 ************************************************************ Group 1. Run Title TEXT(Flow over a backward-facing step (VOF) ) ************************************************************ Group 2. Transience STEADY=F * Set overall time and no. of steps RSET(U,0.,1.,1000) * Modify regions ************************************************************ Groups 3, 4, 5 Grid Information * Overall number of cells, RSET(M,NX,NY,NZ,tolerance) RSET(M,36,1,40) ************************************************************ Group 6. Body-Fitted coordinates ************************************************************ Group 7. Variables: STOREd,SOLVEd,NAMEd * Non-default variable names NAME(146)=ENUL ;NAME(147)=PRPS NAME(148)=DEN1 ;NAME(149)=VFOL NAME(150) =SURN * Solved variables list SOLVE(P1,U1,W1,VFOL,SURN) * Stored variables list STORE(DEN1,PRPS,ENUL) * Additional solver options SOLUTN(P1,Y,Y,Y,N,N,Y) ************************************************************ Group 8. Terms & Devices TERMS (VFOL,N,N,N,N,Y,N) TERMS (SURN,N,N,N,N,Y,N) GALA = T RUPLIM =0.999 ;RLOLIM =1.0E-03 ************************************************************ Group 9. Properties PRESS0 =1.01325E+05 ;TEMP0 =273. 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(PRPS)=-1. 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, 1000) COVAL(BUOYANCY, U1, 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 RESFAC =1.0E-05 ************************************************************ Group 16. Terminate Iterations LITER(P1)=200 ;LITER(SURN)=1 ************************************************************ Group 17. Relaxation RELAX(P1 ,LINRLX,1. ) RELAX(U1 ,LINRLX,0.5 ) RELAX(W1 ,LINRLX,0.5 ) RELAX(VFOL,LINRLX,1. ) RELAX(SURN,LINRLX,1. ) ************************************************************ Group 18. Limits VARMAX(SURN)=1. ;VARMIN(SURN)=0. ************************************************************ Group 19. EARTH Calls To GROUND Station SURF = T PARSOL = F CONWIZ = T IPRPSA = 67 ISG62 = 1 ISURFA = 5 BTATHC =3.5 SPEDAT(SET,GXMONI,PLOTALL,L,T) ************************************************************ Group 20. Preliminary Printout ************************************************************ Group 21. Print-out of Variables OUTPUT(VFOL,Y,Y,Y,N,Y,Y) OUTPUT(SURN,Y,Y,Y,Y,Y,Y) ************************************************************ Group 22. Monitor Print-Out IXMON = 21 ;IYMON = 1 ;IZMON = 9 NPRMON = 100000 NPRMNT = 1 TSTSWP = -1 ************************************************************ Group 23.Field Print-Out & Plot Control NPRINT = 100000 NTPRIN = 100000 ;ISTPRF = 1 ;ISTPRL = 100000 ISWPRF = 1 ;ISWPRL = 100000 No PATCHes used for this Group ************************************************************ Group 24. Dumps For Restarts IDISPA = 10 ;IDISPB = 0 ;IDISPC = 0 CSG1 ='N' GVIEW(P,0.,-1.,0.) GVIEW(UP,0.,0.,1.) GVIEW(DEPTH,2.27511E+04) GVIEW(VDIS,0.693928) GVIEW(CENTRE,0.5,0.5,0.15) > DOM, SIZE, 1.000000E+00, 1.000000E+00, 3.000000E-01 > DOM, MONIT, 5.011402E-01, 5.000000E-01, 1.015164E-01 > DOM, SCALE, 1.000000E+00, 1.000000E+00, 1.000000E+00 > DOM, INCREMENT, 1.000000E-02, 1.000000E-02, 1.000000E-02 > GRID, AUTO, T T T > GRID, RSET_X_1, -16, 1.100000E+00,G > GRID, RSET_X_2, -20, 1.100000E+00,G > GRID, RSET_Y_1, 1, 1.000000E+00 > GRID, RSET_Z_1, 13,-1.100000E+00,G > GRID, RSET_Z_2, -14, 1.100000E+00,G > GRID, RSET_Z_3, 13, 1.100000E+00,G > DOM, INI_AMB, YES > DOM, INI_BUOY, YES > OBJ, NAME, BLK > OBJ, POSITION, 0.000000E+00, 0.000000E+00, 0.000000E+00 > OBJ, SIZE, 4.000000E-01, TO_END, 1.300000E-01 > OBJ, DOMCLIP, NO > OBJ, GEOMETRY, box > OBJ, TYPE, BLOCKAGE > OBJ, MATERIAL, 198,Solid with smooth-wall friction > OBJ, TIME_LIMITS, ALWAYS_ACTIVE > OBJ, NAME, INLET > OBJ, POSITION, 0.000000E+00, 0.000000E+00, 1.300000E-01 > OBJ, SIZE, 0.000000E+00, TO_END, 9.120000E-02 > OBJ, DOMCLIP, NO > OBJ, GEOMETRY, box > OBJ, TYPE, INLET > OBJ, FLUID, HEAVY > OBJ, VELOCITY, 1.5 ,0. ,0. > OBJ, TIME_LIMITS, ALWAYS_ACTIVE > OBJ, NAME, OUTLET > OBJ, POSITION, AT_END, 0.000000E+00, 0.000000E+00 > OBJ, SIZE, 0.000000E+00, TO_END, TO_END > OBJ, DOMCLIP, NO > OBJ, GEOMETRY, box > OBJ, TYPE, OUTLET > OBJ, PRESSURE, P_AMBIENT > OBJ, COEFFICIENT, 1000. > OBJ, TIME_LIMITS, ALWAYS_ACTIVE STOP