TALK=F;RUN( 1, 1) ************************************************************ Q1 created by VDI menu, Version 2010, Date 26/11/10 CPVNAM=VDI;SPPNAM=Core ************************************************************ IRUNN = 1 ;LIBREF = 249 ************************************************************ Group 1. Run Title TEXT(Turb. flow in Square Cavity With Moving Lid ) ************************************************************ 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,6,6,1,1.0E-05) else RSET(M,20,20,1,1.0E-05) endif ************************************************************ Group 6. Body-Fitted coordinates ************************************************************ Group 7. Variables: STOREd,SOLVEd,NAMEd * Non-default variable names NAME(148)=GEN1 ;NAME(149)=ENUT NAME(150) =EPKE * Solved variables list SOLVE(P1,U1,V1) * Stored variables list STORE(EPKE,ENUT,GEN1,KEU2) * Additional solver options SOLUTN(P1,Y,Y,Y,N,N,Y) SOLUTN(U1,Y,Y,Y,N,N,Y) SOLUTN(V1,Y,Y,Y,N,N,Y) TURMOD(KEMODL) SAVE7BEGIN real(RE_H,U00) RE_H=10.e3 U00 = RE_H*1.e-5/1.0 (STORED VAR KEU2 IS SQRT(KE/U00**2)) RE_H U00 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= 0 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 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 = 3000 RESFAC =1.0E-04 ************************************************************ Group 16. Terminate Iterations ************************************************************ Group 17. Relaxation IF(LEVEL.eq.0)THEN RELAX(P1 ,LINRLX,0.5 ) RELAX(U1 ,FALSDT,5.0E+00 ) RELAX(V1 ,FALSDT,5.0E+00 ) RELAX(U1 ,LINRLX,5.0E-01 ) RELAX(V1 ,LINRLX,5.0E-01 ) LSWEEP = 800 else RELAX(P1 ,LINRLX,0.4 ) RELAX(U1 ,FALSDT,0.4 ) RELAX(V1 ,FALSDT,0.4 ) endif 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+01) RELAX(V1 ,FALSDT, 1.E+01) if(LVEL.eq.0)then LSWEEP = 300 else RESFAC=1.E-5 endif 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 = 100000 NPRMNT = 1 TSTSWP = -1 ************************************************************ Group 23.Field Print-Out & Plot Control NPRINT = 100000 ISWPRF = 1 ;ISWPRL = 100000 No PATCHes used for this Group ************************************************************ Group 24. Dumps For Restarts GVIEW(P,0.022274,-1.701364E-03,0.99975) GVIEW(UP,-0.032246,0.999477,2.419334E-03) > DOM, SIZE, 1.000000E+00, 1.000000E+00, 1.000000E-01 > DOM, MONIT, 4.098361E-02, 2.380952E-02, 5.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, 20, 1.000000E+00 > GRID, RSET_Y_1, 20, 1.000000E+00 else > GRID, RSET_X_1, 6, 1.000000E+00 > GRID, RSET_Y_1, 6, 1.000000E+00 endif > GRID, RSET_Z_1, 1, 1.000000E+00 > OBJ, NAME, BOT > OBJ, POSITION, 0.000000E+00, 0.000000E+00, 0.000000E+00 > OBJ, SIZE, TO_END, 0.000000E+00, 1.000000E-01 > OBJ, DOMCLIP, NO > OBJ, GEOMETRY, cube11 > OBJ, TYPE, PLATE > OBJ, NAME, TOP > OBJ, POSITION, 0.000000E+00, 1.000000E+00, 0.000000E+00 > OBJ, SIZE, TO_END, 0.000000E+00, 1.000000E-01 > OBJ, DOMCLIP, NO > OBJ, GEOMETRY, cube11 > OBJ, TYPE, PLATE > OBJ, VELOCITY, :U00: ,0. ,0. > OBJ, NAME, LEFT > OBJ, POSITION, 0.000000E+00, 0.000000E+00, 0.000000E+00 > OBJ, SIZE, 0.000000E+00, 1.000000E+00, 1.000000E-01 > OBJ, GEOMETRY, cube11 > OBJ, TYPE, PLATE > OBJ, NAME, RIGHT > OBJ, POSITION, AT_END, 0.000000E+00, 0.000000E+00 > OBJ, SIZE, 0.000000E+00, 1.000000E+00, 1.000000E-01 > OBJ, DOMCLIP, NO > OBJ, GEOMETRY, cube11 > OBJ, TYPE, PLATE > OBJ, NAME, FIXPRESS > OBJ, POSITION, 0.000000E+00, 0.000000E+00, 0.000000E+00 > OBJ, SIZE, 5.000000E-02, 5.000000E-02, 1.000000E-01 > OBJ, GEOMETRY, cubet > OBJ, TYPE, PRESSURE_RELIEF > OBJ, PRES_RELIEF, 1.000000E+03, P_AMBIENT STOP