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 CONTOUR VFOL PAUSE ANIMATE enduse DISPLAY FREE SURFACE FLOW - Filling of a duct by VOF-CICSAM Method 2-dimensional (y-z), Cartesian, transient, elliptic simulation Vessel dimensions: 0.5 m x 0.5 m x 1m (height). Liquid enters at the bottom corner. +-----------+ | | | | z ^ | | | | | +----> | | y +------- ^ + | liquid inflow enddis ************************************************************ IRUNN = 1 ;LIBREF = 104 ************************************************************ Group 1. Run Title TEXT(FILLING OF A 2D DUCT BY VOF :P117 ) ************************************************************ Group 2. Transience STEADY=F * Set overall time and no. of steps RSET(U,0.,10.,200) * Modify regions ************************************************************ Groups 3, 4, 5 Grid Information * Overall number of cells, RSET(M,NX,NY,NZ,tolerance) RSET(M,1,6,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.1 ;FIINIT(SURN)=0. FIINIT(VFOL)=0. ;FIINIT(PRPS)=-1. FIINIT(DEN1)=1.89 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, 200) 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 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 PARSOL = F 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 = 6 ;IZMON = 6 NPRMON = 10 NPRMNT = 1 TSTSWP = -1 ************************************************************ Group 23.Field Print-Out & Plot Control NPRINT = 100000 NTPRIN = 50 ;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,1.,0.,0.) GVIEW(UP,0.,0.,1.) GVIEW(VDIS,0.767047) GVIEW(CENTRE,0.25,0.25,0.5) > DOM, SIZE, 5.000000E-01, 5.000000E-01, 1.000000E+00 > DOM, MONIT, 2.500000E-01, 4.500000E-01, 5.500000E-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, 2, 1.000000E+00 > GRID, RSET_Y_2, 3, 1.000000E+00 > GRID, RSET_Y_3, 1, 1.000000E+00 > GRID, RSET_Z_1, 10, 1.000000E+00 > DOM, T_AMBIENT, 0.000000E+00 > OBJ, NAME, IFLO > OBJ, POSITION, 0.000000E+00, 2.000000E-01, 0.000000E+00 > OBJ, SIZE, 5.000000E-01, 3.000000E-01, 0.000000E+00 > OBJ, GEOMETRY, cube3t > OBJ, TYPE, INLET > OBJ, FLUID, HEAVY > OBJ, VELOCITY, 0. ,0. ,0.1 > OBJ, TIME_LIMITS, ALWAYS_ACTIVE > OBJ, NAME, REFP > OBJ, POSITION, 0.000000E+00, 4.000000E-01, AT_END > OBJ, SIZE, 5.000000E-01, 9.999999E-02, 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