TALK=T;RUN(1,1) DISPLAY This case is the same of T103 except that higher-order schemes are employed, and the calculation is performed in all six planes with the standard k-e model as a consistency test. Experiment indicates a reattachment length XR/H=7.2 downstream of the step, where H is the step height. The present calculations use the linear-upwind scheme (LUS) for the momentum equations, and the non-linear flux-limiter OSPRE scheme for KE and EP. The HYBRID scheme yields XR/H=5.12, whereas using LUS on the momentum equations and the upwind scheme on KE and EP predicts X/H=5.85. If LUS is used for momentum and OSPRE for KE and EP, then PHOENICS predicts XR/H=6.1. The higher-order schemes need 700 sweeps for a converged solution, and HYBRID needs 250 sweeps. ENDDIS PHOTON USE p 0.20443E+04 0.15633E+04 CR gr ou y 1;use patgeo stream 2d y 1 -.99 0 10 stream 2d y 1 0. .0374 5 msg Streamlines msg Pressto continue pause cl;use patgeo;vec y 1 sh msg Vectors msg Press to continue pause ENDUSE AUTOPLOT USE FILE PHI 5 D 1 W1 X 1;PLOT;DIV X .0381 1;SHIFT X -4 1;SCALE SCALE X 0 10;LEVEL Y 0 msg Horizontal W1 velocity distribution along bottom wall msg Reattachment point where W1 passes through zero. msg Press to continue pause ENDUSE ************************************************************ Group 1. Run Title and Number ************************************************************ ************************************************************ TEXT(2DXZ TURBULENT BKWRD FACING STEP: N107 ) ************************************************************ ************************************************************ IRUNN = 1 ;LIBREF = 14 ************************************************************ Group 2. Time dependence STEADY = T ************************************************************ Group 3. X-Direction Grid Spacing CARTES = T NX = 20 XULAST =0.1143 XFRAC(1)=0.020568 ;XFRAC(2)=0.050644 XFRAC(3)=0.085792 ;XFRAC(4)=0.1247 XFRAC(5)=0.166667 ;XFRAC(6)=0.208634 XFRAC(7)=0.247542 ;XFRAC(8)=0.282689 XFRAC(9)=0.312766 ;XFRAC(10)=0.333333 XFRAC(11)=0.368354 ;XFRAC(12)=0.425753 XFRAC(13)=0.496372 ;XFRAC(14)=0.577229 XFRAC(15)=0.666667 ;XFRAC(16)=0.756104 XFRAC(17)=0.836961 ;XFRAC(18)=0.907581 XFRAC(19)=0.964979 ;XFRAC(20)=1. ************************************************************ Group 4. Y-Direction Grid Spacing NY = 1 YVLAST =1. YFRAC(1)=1. ************************************************************ Group 5. Z-Direction Grid Spacing PARAB = F NZ = 25 ZWLAST =0.762 ZFRAC(1)=0.04 ;ZFRAC(2)=0.08 ZFRAC(3)=0.12 ;ZFRAC(4)=0.16 ZFRAC(5)=0.2 ;ZFRAC(6)=0.229645 ZFRAC(7)=0.263546 ;ZFRAC(8)=0.299264 ZFRAC(9)=0.336214 ;ZFRAC(10)=0.37411 ZFRAC(11)=0.412776 ;ZFRAC(12)=0.452095 ZFRAC(13)=0.491982 ;ZFRAC(14)=0.532371 ZFRAC(15)=0.573213 ;ZFRAC(16)=0.614466 ZFRAC(17)=0.656096 ;ZFRAC(18)=0.698075 ZFRAC(19)=0.740378 ;ZFRAC(20)=0.782985 ZFRAC(21)=0.825877 ;ZFRAC(22)=0.869038 ZFRAC(23)=0.912454 ;ZFRAC(24)=0.956112 ZFRAC(25)=1. ************************************************************ Group 6. Body-Fitted Coordinates ************************************************************ Group 7. Variables: STOREd,SOLVEd,NAMEd ONEPHS = T NAME(1)=P1 ;NAME(3)=U1 NAME(7)=W1 ;NAME(12)=KE NAME(13)=EP ;NAME(148)=PRPS NAME(150)=ENUT * Y in SOLUTN argument list denotes: * 1-stored 2-solved 3-whole-field * 4-point-by-point 5-explicit 6-harmonic averaging SOLUTN(P1,Y,Y,Y,N,N,N) SOLUTN(U1,Y,Y,N,N,N,N) SOLUTN(W1,Y,Y,N,N,N,N) SOLUTN(KE,Y,Y,N,N,N,N) SOLUTN(EP,Y,Y,N,N,N,N) SOLUTN(PRPS,Y,N,N,N,N,N) SOLUTN(ENUT,Y,N,N,N,N,Y) VIST = 150 PRPS = 148 ************************************************************ Group 8. Terms & Devices * Y in TERMS argument list denotes: * 1-built-in source 2-convection 3-diffusion 4-transient * 5-first phase variable 6-interphase transport TERMS(P1,Y,Y,Y,N,Y,Y) TERMS(U1,Y,Y,Y,Y,Y,Y) TERMS(W1,Y,Y,Y,Y,Y,Y) TERMS(KE,N,Y,Y,Y,Y,N) TERMS(EP,N,Y,Y,Y,Y,N) DIFCUT =0. ;ZDIFAC =1. GALA = F ;ADDDIF = F NEWENT = T ISOLX = -1 ;ISOLY = -1 ;ISOLZ = -1 ************************************************************ Group 9. Properties used if PRPS is not stored, and where PRPS = -1.0 if it is! RHO1 =1. ;TMP1 =0. ;EL1 = GRND4 TSURR =0. ;TEMP0 =0. ;PRESS0 =0. DVO1DT =0. ;DRH1DP =0. EMISS =0. ;SCATT =0. RADIA =0. ;RADIB =0. EL1A =0. ;EL1B =0. ;EL1C =0. ENUL =1.100667E-05 ;ENUT = GRND3 ENUTA =0. ;ENUTB =0. ;ENUTC =0. IENUTA = 0 PRNDTL(U1)=1. ;PRNDTL(W1)=1. PRNDTL(KE)=1. ;PRNDTL(EP)=1. PRT(U1)=1. ;PRT(W1)=1. PRT(KE)=1. ;PRT(EP)=1.314 CP1 =1. ;CP2 =1. ************************************************************ Group 10.Inter-Phase Transfer Processes ************************************************************ Group 11.Initial field variables (PHIs) FIINIT(P1)=1.3E-04 ;FIINIT(U1)=1.3 FIINIT(W1)=13. ;FIINIT(KE)=0.7605 FIINIT(EP)=31.777433 ;FIINIT(PRPS)=-1. FIINIT(ENUT)=1.0E-10 PATCH(STEP ,INIVAL, 1, 10, 1, 1, 1, 5, 1, 1) INIT(STEP ,PRPS,0. ,199. ) INIADD = F FSWEEP = 1 NAMFI =CHAM ************************************************************ Group 12. Patchwise adjustment of terms Patches for this group are printed with those for Group 13. Their names begin either with GP12 or & ************************************************************ Group 13. Boundary & Special Sources PATCH(KESOURCE,PHASEM, 0, 0, 0, 0, 0, 0, 1, 1) COVAL(KESOURCE,KE , GRND4 , GRND4 ) COVAL(KESOURCE,EP , GRND4 , GRND4 ) PATCH(HOCS ,CELL , 0, 0, 0, 0, 0, 0, 1, 1) COVAL(HOCS ,U1 , FIXFLU , GRND1 ) COVAL(HOCS ,W1 , FIXFLU , GRND1 ) COVAL(HOCS ,KE , FIXFLU , GRND2 ) COVAL(HOCS ,EP , FIXFLU , GRND2 ) PATCH(INLET ,LOW , 11, 20, 1, 1, 1, 1, 1, 1) COVAL(INLET ,P1 , FIXFLU ,13. ) COVAL(INLET ,U1 ,0. ,0. ) COVAL(INLET ,W1 ,0. ,13. ) COVAL(INLET ,KE ,0. ,0.7605 ) COVAL(INLET ,EP ,0. ,31.777433 ) PATCH(OUTLET ,HIGH , 1, 20, 1, 1, 25, 25, 1, 1) COVAL(OUTLET ,P1 ,1000. ,0. ) COVAL(OUTLET ,U1 ,0. ,0. ) COVAL(OUTLET ,W1 ,0. ,0. ) COVAL(OUTLET ,KE ,0. ,0. ) COVAL(OUTLET ,EP ,0. ,0. ) PATCH(TOP ,EWALL , 20, 20, 1, 1, 1, 25, 1, 1) COVAL(TOP ,W1 , GRND2 ,0. ) COVAL(TOP ,KE , GRND2 , GRND2 ) COVAL(TOP ,EP , GRND2 , GRND2 ) PATCH(BOT ,WWALL , 1, 1, 1, 1, 6, 25, 1, 1) COVAL(BOT ,W1 , GRND2 ,0. ) COVAL(BOT ,KE , GRND2 , GRND2 ) COVAL(BOT ,EP , GRND2 , GRND2 ) PATCH(STEPL ,LWALL , 1, 10, 1, 1, 6, 6, 1, 1) COVAL(STEPL ,U1 , GRND2 ,0. ) COVAL(STEPL ,KE , GRND2 , GRND2 ) COVAL(STEPL ,EP , GRND2 , GRND2 ) PATCH(STEPT ,WWALL , 11, 11, 1, 1, 1, 5, 1, 1) COVAL(STEPT ,W1 , GRND2 ,0. ) COVAL(STEPT ,KE , GRND2 , GRND2 ) COVAL(STEPT ,EP , GRND2 , GRND2 ) XCYCLE = F EGWF = T WALLCO = GRND2 ************************************************************ Group 14. Downstream Pressure For PARAB ************************************************************ Group 15. Terminate Sweeps LSWEEP = 700 ;ISWC1 = 1 LITHYD = 1 ;LITFLX = 1 ;LITC = 1 ;ITHC1 = 1 SELREF = T RESFAC =1.0E-05 ************************************************************ Group 16. Terminate Iterations LITER(P1)=20 ;LITER(U1)=10 LITER(W1)=10 ;LITER(KE)=20 LITER(EP)=20 ENDIT(P1)=1.0E-03 ;ENDIT(U1)=1.0E-03 ENDIT(W1)=1.0E-03 ;ENDIT(KE)=1.0E-03 ENDIT(EP)=1.0E-03 ************************************************************ Group 17. Relaxation RELAX(P1,LINRLX,1.) RELAX(U1,FALSDT,4.689231E-04) RELAX(W1,FALSDT,4.689231E-04) RELAX(KE,FALSDT,4.689231E-04) RELAX(EP,FALSDT,4.689231E-04) RELAX(PRPS,LINRLX,1.) RELAX(ENUT,LINRLX,1.) KELIN = 1 OVRRLX =0. EXPERT = F ;NNORSL = F ************************************************************ Group 18. Limits VARMAX(P1)=1.0E+10 ;VARMIN(P1)=-1.0E+10 VARMAX(U1)=1.0E+06 ;VARMIN(U1)=-1.0E+06 VARMAX(W1)=1.0E+06 ;VARMIN(W1)=-1.0E+06 VARMAX(KE)=1.0E+10 ;VARMIN(KE)=1.0E-10 VARMAX(EP)=1.0E+10 ;VARMIN(EP)=1.0E-10 VARMAX(PRPS)=1.0E+10 ;VARMIN(PRPS)=-1.0E+10 VARMAX(ENUT)=1.0E+10 ;VARMIN(ENUT)=-1.0E+10 ************************************************************ Group 19. Data transmitted to GROUND GENK = T PARSOL = F ISG62 = 1 SPEDAT(SET,SCHEME,INLCS007,I,1) SPEDAT(SET,SCHEME,INLCS003,I,1) SPEDAT(SET,SCHEME,INLCS012,I,10) SPEDAT(SET,SCHEME,INLCS013,I,10) SPEDAT(SET,GXMONI,PLOTALL,L,T) SPEDAT(SET,MATERIAL,199,L,T) ************************************************************ Group 20. Preliminary Printout ************************************************************ Group 21. Print-out of Variables INIFLD = F ;SUBWGR = F * Y in OUTPUT argument list denotes: * 1-field 2-correction-eq. monitor 3-selective dumping * 4-whole-field residual 5-spot-value table 6-residual table OUTPUT(P1,Y,N,Y,Y,Y,Y) OUTPUT(U1,Y,N,Y,Y,Y,Y) OUTPUT(W1,Y,N,Y,Y,Y,Y) OUTPUT(KE,Y,N,Y,Y,Y,Y) OUTPUT(EP,Y,N,Y,Y,Y,Y) OUTPUT(PRPS,Y,N,Y,N,N,N) OUTPUT(ENUT,Y,N,Y,N,N,N) WALPRN = T ************************************************************ Group 22. Monitor Print-Out IXMON = 8 ;IYMON = 1 ;IZMON = 7 NPRMON = 100 ;NPRMNT = 1 ;TSTSWP = -1 UWATCH = T ;USTEER = T HIGHLO = F ************************************************************ Group 23.Field Print-Out & Plot Control NPRINT = 100000 ;NUMCLS = 5 NXPRIN = -1 ;IXPRF = 1 ;IXPRL = 10000 NZPRIN = -1 ;IZPRF = 1 ;IZPRL = 10000 XZPR = F ;YZPR = F IPLTF = 1 ;IPLTL = 700 ;NPLT = 10 ISWPRF = 1 ;ISWPRL = 100000 ITABL = 3 ;IPROF = 1 ABSIZ =0.5 ;ORSIZ =0.4 NTZPRF = 1 ;NCOLPF = 50 ICHR = 2 ;NCOLCO = 45 ;NROWCO = 20 No PATCHes yet used for this Group ************************************************************ Group 24. Dumps For Restarts SAVE = T ;NOWIPE = F NSAVE =bsxz STOP