TALK=F;RUN( 1, 1) ************************************************************ Q1 created by VDI menu, Version 2010, Date 18/08/10 CPVNAM=VDI;SPPNAM=Core ************************************************************ Echo DISPLAY / USE settings DISPLAY ENDDIS ************************************************************ IRUNN = 1 ;LIBREF = 103 ************************************************************ Group 1. Run Title TEXT(2D CHANNEL ) ************************************************************ Group 2. Transience STEADY = T ************************************************************ Groups 3, 4, 5 Grid Information * Overall number of cells, RSET(M,NX,NY,NZ,tolerance) INTEGER(LEVEL) LEVEL = 0 mesg(Level of refinement is :LEVEL: mesg(Do you want to change it? (y/n) readvdu(ans,char,n) if(:ans:.eq.y)then mesg(Enter level of refinement readvdu(LEVEL,int,LEVEL) mesg(New level of refinement is :LEVEL: RSET(M,30,10,1,5.714999E-06) else RSET(M,60,20,1,5.714999E-06) endif ************************************************************ Group 6. Body-Fitted coordinates ************************************************************ Group 7. Variables: STOREd,SOLVEd,NAMEd * Non-default variable names NAME(148)=GEN1 ;NAME(150)=ENUT * Solved variables list SOLVE(P1,U1,V1) * Stored variables list STORE(ENUT,GEN1,KEU2) * Additional solver options SOLUTN(P1,Y,Y,Y,N,N,N) SOLUTN(U1,Y,Y,N,N,N,N) SOLUTN(V1,Y,Y,N,N,N,N) TURMOD(KEMODL) SAVE7BEGIN real(RE_H,U00) RE_H=10.e3 U00 = RE_H*1.e-5/0.18 (STORED VAR KEU2 IS SQRT(KE/U00**2)) RE_H U00 SAVE7END ************************************************************ Echo save-block settings for Group 7 SAVE7BEGIN SAVE7END ************************************************************ Group 8. Terms & Devices USP = T ; USPDBG= F UTCPLT = F ; USPIMB= F UAUTO = T ; UGTGRD= F USPVTK = T ; USPTER= F USCANX = T ; USCANY= T USCANZ = T MXLEV = 0 ;MYLEV = 0 ;MZLEV = 0 DOMAT = -1 CELLST = 500 ; FACEST= 500 MINPRP = -1 ; MAXPRP= 250 UMXLEV = LEVEL ; UMXCLS= 10000 UNOLAY = 2 ; UIOLEV= LEVEL UWALEV = LEVEL ; UGRITR= 2 UMXCRS = 16 USPREL =0.7 ; UMNCEL=1. UDVREL =1. PARSOL = F ************************************************************ Group 9. Properties RHO1 =1. ENUL =1.0E-05 CP1 =1. PRT(EP)=1.314 ************************************************************ Group 10.Inter-Phase Transfer Processes ************************************************************ Group 11.Initialise Var/Porosity Fields FIINIT(P1)=1.3E-04 ;FIINIT(U1)=0. FIINIT(V1)=0. ;FIINIT(KE)=0. FIINIT(EP)=1.0E-11 ;FIINIT(GEN1)=0. FIINIT(ENUT)=1.001E-10 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 No PATCHes used for this Group EGWF = T ************************************************************ Group 14. Downstream Pressure For PARAB ************************************************************ Group 15. Terminate Sweeps LSWEEP = 6000 RESFAC =1.0E-05 ************************************************************ Group 16. Terminate Iterations LITER(KE)=5 ;LITER(EP)=5 ************************************************************ Group 17. Relaxation RELAX(P1 ,LINRLX,0.4 ) RELAX(U1 ,FALSDT,0.02 ) RELAX(V1 ,FALSDT,0.02 ) RELAX(KE ,LINRLX,0.5 ) RELAX(EP ,LINRLX,0.5 ) mesg(Do you want to use collocated arrangement (y) or staggered one (n)? (y/n) readvdu(ans,char,n) if(:ans:.eq.y)then SPEDAT(SET,USP,METHOD,I,1) RELAX(P1 ,LINRLX, 0.3) RELAX(U1 ,FALSDT, 1.E-02) RELAX(V1 ,FALSDT, 1.E-02) mesg(Do you want to use SIMPLEST (y) or SIMPLE (n)? (y/n) readvdu(ans,char,n) if(:ans:.eq.y)then SPEDAT(SET,USP,SIMPLEST,L,T) endif endif KELIN = 3 ************************************************************ Group 18. Limits ************************************************************ Group 19. EARTH Calls To GROUND Station GENK = T ************************************************************ Group 20. Preliminary Printout ************************************************************ Group 21. Print-out of Variables ************************************************************ Group 22. Monitor Print-Out NPRMON = 100 NPRMNT = 1 TSTSWP = -1 ************************************************************ Group 23.Field Print-Out & Plot Control NPRINT = 100000 NXPRIN = 4 NYPRIN = 1 IPLTF = 1 ;IPLTL = 400 NPLT = 10 ISWPRF = 1 ;ISWPRL = 100000 No PATCHes used for this Group ************************************************************ Group 24. Dumps For Restarts GVIEW(P,-0.206965,0.040245,0.977521) GVIEW(UP,-0.018665,0.998809,-0.045074) > DOM, SIZE, 8.940000E+00, 1.800000E-01, 1.800000E-01 > DOM, MONIT, 7.449999E-02, 4.500000E-03, 9.000000E-02 > DOM, SCALE, 1.000000E+00, 1.000000E+00, 1.000000E+00 > DOM, INCREMENT, 1.000000E-02, 1.000000E-02, 1.000000E-02 if(LEVEL.eq.0)then > GRID, RSET_X_1, 60, 1.000000E+00 > GRID, RSET_Y_1, 20, 1.000000E+00 else > GRID, RSET_X_1, 30, 1.000000E+00 > GRID, RSET_Y_1, 10, 1.000000E+00 endif > GRID, RSET_Z_1, 1, 1.000000E+00 > DOM, T_AMBIENT, 0.000000E+00 > OBJ, NAME, INLET > OBJ, POSITION, 0.000000E+00, 0.000000E+00, 0.000000E+00 > OBJ, SIZE, 0.000000E+00, 1.800000E-01, 1.800000E-01 > OBJ, GEOMETRY, cube3t > OBJ, GRID, N,N,N > OBJ, TYPE, INLET > OBJ, PRESSURE, P_AMBIENT > OBJ, VELOCITY, :U00: ,0. ,0. > OBJ, KE_IN, 0.000000E+00 > OBJ, EP_IN, 0.000000E+00 > OBJ, NAME, OUTLET > OBJ, POSITION, 8.940000E+00, 0.000000E+00, 0.000000E+00 > OBJ, SIZE, 0.000000E+00, 1.800000E-01, 1.800000E-01 > OBJ, GEOMETRY, cube12t > OBJ, GRID, N,N,N > OBJ, TYPE, OUTLET > OBJ, PRESSURE, 0. > OBJ, COEFFICIENT, 1.0E+05 > OBJ, TURBULENCE, 0. ,0. > OBJ, NAME, WFNN > OBJ, POSITION, 0.000000E+00, 1.800000E-01, 0.000000E+00 > OBJ, SIZE, 8.940000E+00, 0.000000E+00, 1.800000E-01 > OBJ, GEOMETRY, cube11 > OBJ, GRID, N,N,N > OBJ, TYPE, PLATE > OBJ, NAME, WFNS > OBJ, POSITION, 0.000000E+00, 0.000000E+00, 0.000000E+00 > OBJ, SIZE, 8.940000E+00, 0.000000E+00, 1.800000E-01 > OBJ, GEOMETRY, cube11 > OBJ, GRID, N,N,N > OBJ, TYPE, PLATE STOP