TALK=T;RUN(1,1) AUTOPLOT USE FI PHI 5 cl DA 1 W1;PL msg Profile of velocity, W1 msg - msg Pressto continue pause cl DA 1 U2RS;DA 1 V2RS;DA 1 VWRS scale col4 1 col8 2 cole 3 msg Profiles of U2RS - blue msg V2RS - green msg VWRS - red msg - msg Press e to end ENDUSE DISPLAY The problem considered is plane turbulent couette flow in a channel at a Reynolds number of 1.E5, as described in detail for library case T100. ENDDIS ************************************************************ Group 1. Run Title and Number ************************************************************ ************************************************************ TEXT(RSTM_1DY PLANE COUETTE FLOW :T606) ************************************************************ ************************************************************ IRUNN = 1 ;LIBREF = 14 ************************************************************ Group 2. Time dependence STEADY = T ************************************************************ Group 3. X-Direction Grid Spacing CARTES = T NX = 1 XULAST =1. XFRAC(1)=1. ************************************************************ Group 4. Y-Direction Grid Spacing NY = 60 YVLAST =0.1 YFRAC(1)=0.016667 ;YFRAC(2)=0.033333 YFRAC(3)=0.05 ;YFRAC(4)=0.066667 YFRAC(5)=0.083333 ;YFRAC(6)=0.1 YFRAC(7)=0.116667 ;YFRAC(8)=0.133333 YFRAC(9)=0.15 ;YFRAC(10)=0.166667 YFRAC(11)=0.183333 ;YFRAC(12)=0.2 YFRAC(13)=0.216667 ;YFRAC(14)=0.233333 YFRAC(15)=0.25 ;YFRAC(16)=0.266667 YFRAC(17)=0.283333 ;YFRAC(18)=0.3 YFRAC(19)=0.316667 ;YFRAC(20)=0.333333 YFRAC(21)=0.35 ;YFRAC(22)=0.366667 YFRAC(23)=0.383333 ;YFRAC(24)=0.4 YFRAC(25)=0.416667 ;YFRAC(26)=0.433333 YFRAC(27)=0.45 ;YFRAC(28)=0.466667 YFRAC(29)=0.483333 ;YFRAC(30)=0.5 YFRAC(31)=0.516667 ;YFRAC(32)=0.533333 YFRAC(33)=0.55 ;YFRAC(34)=0.566667 YFRAC(35)=0.583333 ;YFRAC(36)=0.6 YFRAC(37)=0.616667 ;YFRAC(38)=0.633333 YFRAC(39)=0.65 ;YFRAC(40)=0.666667 YFRAC(41)=0.683333 ;YFRAC(42)=0.7 YFRAC(43)=0.716667 ;YFRAC(44)=0.733333 YFRAC(45)=0.75 ;YFRAC(46)=0.766667 YFRAC(47)=0.783333 ;YFRAC(48)=0.8 YFRAC(49)=0.816667 ;YFRAC(50)=0.833333 YFRAC(51)=0.85 ;YFRAC(52)=0.866667 YFRAC(53)=0.883333 ;YFRAC(54)=0.9 YFRAC(55)=0.916667 ;YFRAC(56)=0.933333 YFRAC(57)=0.95 ;YFRAC(58)=0.966667 YFRAC(59)=0.983333 ;YFRAC(60)=1. ************************************************************ Group 5. Z-Direction Grid Spacing PARAB = F NZ = 1 ZWLAST =1. ZFRAC(1)=1. ************************************************************ Group 6. Body-Fitted Coordinates ************************************************************ Group 7. Variables: STOREd,SOLVEd,NAMEd ONEPHS = T NAME(5)=V1 ;NAME(7)=W1 NAME(12)=KE ;NAME(13)=EP NAME(132)=U2RS ;NAME(133)=V2RS NAME(134)=W2RS ;NAME(135)=VWRS NAME(136)=W2DK ;NAME(137)=V2DK NAME(138)=U2DK ;NAME(139)=VWDK NAME(140)=FWAL ;NAME(141)=EPDK NAME(142)=PK ;NAME(143)=DVW NAME(144)=PU2 ;NAME(145)=PV2 NAME(146)=PW2 ;NAME(147)=PVW NAME(148)=DWDY ;NAME(149)=LEN1 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(V1,Y,N,N,N,N,Y) SOLUTN(W1,Y,Y,N,N,N,Y) SOLUTN(KE,Y,N,N,N,N,N) SOLUTN(EP,Y,Y,N,N,N,N) SOLUTN(U2RS,Y,Y,N,N,N,N) SOLUTN(V2RS,Y,Y,N,N,N,N) SOLUTN(W2RS,Y,Y,N,N,N,N) SOLUTN(VWRS,Y,Y,N,N,N,N) SOLUTN(W2DK,Y,N,N,N,N,Y) SOLUTN(V2DK,Y,N,N,N,N,Y) SOLUTN(U2DK,Y,N,N,N,N,Y) SOLUTN(VWDK,Y,N,N,N,N,Y) SOLUTN(FWAL,Y,N,N,N,N,Y) SOLUTN(EPDK,Y,N,N,N,N,Y) SOLUTN(PK,Y,N,N,N,N,Y) SOLUTN(DVW,Y,N,N,N,N,Y) SOLUTN(PU2,Y,N,N,N,N,Y) SOLUTN(PV2,Y,N,N,N,N,Y) SOLUTN(PW2,Y,N,N,N,N,Y) SOLUTN(PVW,Y,N,N,N,N,Y) SOLUTN(DWDY,Y,N,N,N,N,Y) SOLUTN(LEN1,Y,N,N,N,N,Y) SOLUTN(ENUT,Y,N,N,N,N,Y) VIST = 150 LEN1 = 149 ************************************************************ 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(W1,N,N,Y,Y,Y,Y) TERMS(EP,Y,N,Y,Y,N,Y) TERMS(U2RS,N,N,Y,Y,Y,Y) TERMS(V2RS,Y,N,Y,Y,N,Y) TERMS(W2RS,N,N,Y,Y,Y,Y) TERMS(VWRS,Y,N,Y,Y,N,Y) DIFCUT =0.5 ;ZDIFAC =1. GALA = F ;ADDDIF = F NEWENT = F UDIFF = T UCONNE = T USOURC = 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 = GRND 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 =5.0E-07 ;ENUT = GRND ENUTA =0. ;ENUTB =0. ;ENUTC =0. IENUTA = 0 PRNDTL(W1)=1. ;PRNDTL(EP)=1. PRNDTL(U2RS)=1. ;PRNDTL(V2RS)=1. PRNDTL(W2RS)=1. ;PRNDTL(VWRS)=1. PRT(W1)=1. ;PRT(EP)=1.314 PRT(U2RS)=1. ;PRT(V2RS)=1. PRT(W2RS)=1. ;PRT(VWRS)=1. CP1 =1. ;CP2 =1. ************************************************************ Group 10.Inter-Phase Transfer Processes ************************************************************ Group 11.Initial field variables (PHIs) FIINIT(V1)=1.0E-10 ;FIINIT(W1)=0.5 FIINIT(KE)=1.280533E-03 ;FIINIT(EP)=1.673059E-03 FIINIT(U2RS)=8.536889E-04 ;FIINIT(V2RS)=8.536889E-04 FIINIT(W2RS)=8.536889E-04 ;FIINIT(VWRS)=-3.8416E-04 FIINIT(W2DK)=1.0E-10 ;FIINIT(V2DK)=1.0E-10 FIINIT(U2DK)=1.0E-10 ;FIINIT(VWDK)=1.0E-10 FIINIT(FWAL)=1.0E-10 ;FIINIT(EPDK)=1.0E-10 FIINIT(PK)=1.0E-10 ;FIINIT(DVW)=1.0E-10 FIINIT(PU2)=1.0E-10 ;FIINIT(PV2)=1.0E-10 FIINIT(PW2)=1.0E-10 ;FIINIT(PVW)=1.0E-10 FIINIT(DWDY)=1.0E-10 ;FIINIT(LEN1)=1.0E-10 FIINIT(ENUT)=1.0E-10 No PATCHes yet used for this Group 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(WAL1 ,NWALL , 1, 1, 60, 60, 1, 1, 1, 1) COVAL(WAL1 ,W1 , GRND2 ,1. ) COVAL(WAL1 ,EP , GRND2 , GRND2 ) PATCH(WAL2 ,SWALL , 1, 1, 1, 1, 1, 1, 1, 1) COVAL(WAL2 ,W1 , GRND2 ,0. ) COVAL(WAL2 ,EP , GRND2 , GRND2 ) PATCH(WDMPN03 ,PHASEM, 1, 1, 1, 60, 1, 1, 1, 1) COVAL(WDMPN03 ,U2RS, FIXFLU , GRND1 ) COVAL(WDMPN03 ,V2RS, FIXFLU , GRND1 ) COVAL(WDMPN03 ,W2RS, FIXFLU , GRND1 ) COVAL(WDMPN03 ,VWRS, FIXFLU , GRND1 ) PATCH(WDMPS04 ,PHASEM, 1, 1, 1, 60, 1, 1, 1, 1) COVAL(WDMPS04 ,U2RS, FIXFLU , GRND1 ) COVAL(WDMPS04 ,V2RS, FIXFLU , GRND1 ) COVAL(WDMPS04 ,W2RS, FIXFLU , GRND1 ) COVAL(WDMPS04 ,VWRS, FIXFLU , GRND1 ) XCYCLE = F EGWF = T WALLCO = GRND2 ************************************************************ Group 14. Downstream Pressure For PARAB ************************************************************ Group 15. Terminate Sweeps LSWEEP = 50 ;ISWC1 = 1 LITHYD = 20 ;LITFLX = 1 ;LITC = 1 ;ITHC1 = 1 SELREF = T RESFAC =1.0E-05 ************************************************************ Group 16. Terminate Iterations LITER(W1)=10 ;LITER(EP)=20 LITER(U2RS)=20 ;LITER(V2RS)=20 LITER(W2RS)=20 ;LITER(VWRS)=20 ENDIT(W1)=1.0E-03 ;ENDIT(EP)=1.0E-03 ENDIT(U2RS)=1.0E-03 ;ENDIT(V2RS)=1.0E-03 ENDIT(W2RS)=1.0E-03 ;ENDIT(VWRS)=1.0E-03 ************************************************************ Group 17. Relaxation RELAX(V1,LINRLX,1.) RELAX(W1,FALSDT,0.3) RELAX(KE,LINRLX,1.) RELAX(EP,FALSDT,0.05) RELAX(U2RS,FALSDT,0.05) RELAX(V2RS,FALSDT,0.05) RELAX(W2RS,FALSDT,0.05) RELAX(VWRS,FALSDT,0.05) RELAX(W2DK,LINRLX,1.) RELAX(V2DK,LINRLX,1.) RELAX(U2DK,LINRLX,1.) RELAX(VWDK,LINRLX,1.) RELAX(FWAL,LINRLX,1.) RELAX(EPDK,LINRLX,1.) RELAX(PK,LINRLX,1.) RELAX(DVW,LINRLX,1.) RELAX(PU2,LINRLX,1.) RELAX(PV2,LINRLX,1.) RELAX(PW2,LINRLX,1.) RELAX(PVW,LINRLX,1.) RELAX(DWDY,LINRLX,1.) RELAX(LEN1,LINRLX,1.) RELAX(ENUT,LINRLX,1.) OVRRLX =0. EXPERT = F ;NNORSL = F ************************************************************ Group 18. Limits VARMAX(V1)=1.0E+06 ;VARMIN(V1)=-1.0E+06 VARMAX(W1)=1.0E+06 ;VARMIN(W1)=1.0E-10 VARMAX(KE)=1.0E+10 ;VARMIN(KE)=1.0E-10 VARMAX(EP)=1.0E+10 ;VARMIN(EP)=1.0E-10 VARMAX(U2RS)=1.0E+10 ;VARMIN(U2RS)=-1.0E+10 VARMAX(V2RS)=1.0E+10 ;VARMIN(V2RS)=-1.0E+10 VARMAX(W2RS)=1.0E+10 ;VARMIN(W2RS)=-1.0E+10 VARMAX(VWRS)=1.0E+10 ;VARMIN(VWRS)=-1.0E+10 VARMAX(W2DK)=1.0E+10 ;VARMIN(W2DK)=-1.0E+10 VARMAX(V2DK)=1.0E+10 ;VARMIN(V2DK)=-1.0E+10 VARMAX(U2DK)=1.0E+10 ;VARMIN(U2DK)=-1.0E+10 VARMAX(VWDK)=1.0E+10 ;VARMIN(VWDK)=-1.0E+10 VARMAX(FWAL)=1.0E+10 ;VARMIN(FWAL)=-1.0E+10 VARMAX(EPDK)=1.0E+10 ;VARMIN(EPDK)=-1.0E+10 VARMAX(PK)=1.0E+10 ;VARMIN(PK)=-1.0E+10 VARMAX(DVW)=1.0E+10 ;VARMIN(DVW)=-1.0E+10 VARMAX(PU2)=1.0E+10 ;VARMIN(PU2)=-1.0E+10 VARMAX(PV2)=1.0E+10 ;VARMIN(PV2)=-1.0E+10 VARMAX(PW2)=1.0E+10 ;VARMIN(PW2)=-1.0E+10 VARMAX(PVW)=1.0E+10 ;VARMIN(PVW)=-1.0E+10 VARMAX(DWDY)=1.0E+10 ;VARMIN(DWDY)=-1.0E+10 VARMAX(LEN1)=1.0E+10 ;VARMIN(LEN1)=-1.0E+10 VARMAX(ENUT)=1.0E+10 ;VARMIN(ENUT)=-1.0E+10 ************************************************************ Group 19. Data transmitted to GROUND GENK = T RSTM = T PARSOL = F ISG62 = 1 SPEDAT(SET,GXMONI,PLOTALL,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(V1,Y,N,Y,N,N,N) OUTPUT(W1,Y,N,Y,Y,Y,Y) OUTPUT(KE,Y,N,Y,N,N,N) OUTPUT(EP,Y,N,Y,Y,Y,Y) OUTPUT(U2RS,Y,N,Y,Y,Y,Y) OUTPUT(V2RS,Y,N,Y,Y,Y,Y) OUTPUT(W2RS,Y,N,Y,Y,Y,Y) OUTPUT(VWRS,Y,N,Y,Y,Y,Y) OUTPUT(W2DK,Y,N,Y,N,N,N) OUTPUT(V2DK,Y,N,Y,N,N,N) OUTPUT(U2DK,Y,N,Y,N,N,N) OUTPUT(VWDK,Y,N,Y,N,N,N) OUTPUT(FWAL,Y,N,Y,N,N,N) OUTPUT(EPDK,Y,N,Y,N,N,N) OUTPUT(PK,Y,N,Y,N,N,N) OUTPUT(DVW,Y,N,Y,N,N,N) OUTPUT(PU2,Y,N,Y,N,N,N) OUTPUT(PV2,Y,N,Y,N,N,N) OUTPUT(PW2,Y,N,Y,N,N,N) OUTPUT(PVW,Y,N,Y,N,N,N) OUTPUT(DWDY,Y,N,Y,N,N,N) OUTPUT(LEN1,Y,N,Y,N,N,N) OUTPUT(ENUT,Y,N,Y,N,N,N) WALPRN = T ************************************************************ Group 22. Monitor Print-Out IXMON = 1 ;IYMON = 58 ;IZMON = 1 NPRMON = 100000 ;NPRMNT = 1 ;TSTSWP = -1 UWATCH = T ;USTEER = T HIGHLO = F ************************************************************ Group 23.Field Print-Out & Plot Control NPRINT = 100000 ;NUMCLS = 5 NYPRIN = 1 ;IYPRF = 1 ;IYPRL = 10000 IPLTF = 1 ;IPLTL = -1 ;NPLT = 1 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 =CHAM STOP