TALK=T;RUN(1,1) PHOTON USE autoplot upause 1 file; phi 5 cl; da 1; mpro; da 1; moxi; da 1; fmix; da 1; mfue; da 1; oxix; da 1; fex; da 1; fuex; da 1; prox; scale; col7 1; col2 2; colf 3; colC 4; col1 5; col1 6; col1 7; col1 8; bi msg msg Mass fractions of oxidant - blue, fuel - yellow, msg products - green and mixture fraction - red. msg Exact solution - white ......................... mor pause cl; da 1; temp; da 1; temx; col7 1; col1 2; big; msg msg Temperature, K msg Exact solution - white. pause enduse DISPLAY Convection-only steady combustion of CO: One-phase, SCRS, 1D, one space, constant properties, convection only, comparison with analitical solution. ENDDIS ************************************************************ Group 1. Run Title and Number ************************************************************ ************************************************************ TEXT(Convection-only steady combustion of CO ) ************************************************************ ************************************************************ 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 = 1 YVLAST =1. YFRAC(1)=1. ************************************************************ Group 5. Z-Direction Grid Spacing PARAB = F NZ = 30 ZWLAST =10. ZFRAC(1)=0.033333 ;ZFRAC(2)=0.066667 ZFRAC(3)=0.1 ;ZFRAC(4)=0.133333 ZFRAC(5)=0.166667 ;ZFRAC(6)=0.2 ZFRAC(7)=0.233333 ;ZFRAC(8)=0.266667 ZFRAC(9)=0.3 ;ZFRAC(10)=0.333333 ZFRAC(11)=0.366667 ;ZFRAC(12)=0.4 ZFRAC(13)=0.433333 ;ZFRAC(14)=0.466667 ZFRAC(15)=0.5 ;ZFRAC(16)=0.533333 ZFRAC(17)=0.566667 ;ZFRAC(18)=0.6 ZFRAC(19)=0.633333 ;ZFRAC(20)=0.666667 ZFRAC(21)=0.7 ;ZFRAC(22)=0.733333 ZFRAC(23)=0.766667 ;ZFRAC(24)=0.8 ZFRAC(25)=0.833333 ;ZFRAC(26)=0.866667 ZFRAC(27)=0.9 ;ZFRAC(28)=0.933333 ZFRAC(29)=0.966667 ;ZFRAC(30)=1. ************************************************************ Group 6. Body-Fitted Coordinates ************************************************************ Group 7. Variables: STOREd,SOLVEd,NAMEd ONEPHS = T NAME(1)=P1 ;NAME(7)=W1 NAME(14)=H1 ;NAME(140)=TEMX NAME(141)=H1X ;NAME(142)=PROX NAME(143)=OXIX ;NAME(144)=FUEX NAME(145)=FEX ;NAME(146)=MOXI NAME(147)=MFUE ;NAME(148)=MPRO NAME(149)=TEMP ;NAME(150)=FMIX * 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(W1,Y,Y,N,N,N,Y) SOLUTN(H1,Y,Y,N,N,N,Y) SOLUTN(TEMX,Y,N,N,N,N,Y) SOLUTN(H1X,Y,N,N,N,N,Y) SOLUTN(PROX,Y,N,N,N,N,Y) SOLUTN(OXIX,Y,N,N,N,N,Y) SOLUTN(FUEX,Y,N,N,N,N,Y) SOLUTN(FEX,Y,N,N,N,N,Y) SOLUTN(MOXI,Y,N,N,N,N,Y) SOLUTN(MFUE,Y,N,N,N,N,Y) SOLUTN(MPRO,Y,N,N,N,N,Y) SOLUTN(TEMP,Y,N,N,N,N,Y) SOLUTN(FMIX,Y,Y,N,N,N,Y) ************************************************************ 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(W1,Y,Y,Y,Y,Y,Y) TERMS(H1,N,Y,Y,N,Y,N) TERMS(FMIX,N,Y,Y,Y,Y,Y) DIFCUT =0.5 ;ZDIFAC =1. GALA = F ;ADDDIF = F 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.165333 ;TMP1 =0. ;EL1 =0. TSURR =0. ;TEMP0 =0. ;PRESS0 =1.0E+05 DVO1DT =0. ;DRH1DP =0. EMISS =0. ;SCATT =0. RADIA =0. ;RADIB =0. ENUL =1.0E-05 ;ENUT =0. PRNDTL(W1)=1. ;PRNDTL(H1)=1. PRNDTL(FMIX)=1. PRT(W1)=1. ;PRT(H1)=1. PRT(FMIX)=1. CP1 =1. ;CP2 =1. ************************************************************ Group 10.Inter-Phase Transfer Processes ************************************************************ Group 11.Initial field variables (PHIs) FIINIT(P1)=1.0E-10 ;FIINIT(W1)=1.0E-10 FIINIT(H1)=1.0E-10 ;FIINIT(TEMX)=1.0E-10 FIINIT(H1X)=1.0E-10 ;FIINIT(PROX)=1.0E-10 FIINIT(OXIX)=1.0E-10 ;FIINIT(FUEX)=1.0E-10 FIINIT(FEX)=1.0E-10 ;FIINIT(MOXI)=1.0E-10 FIINIT(MFUE)=1.0E-10 ;FIINIT(MPRO)=1.0E-10 FIINIT(TEMP)=1.0E-10 ;FIINIT(FMIX)=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(INLET ,LOW , 1, 1, 1, 1, 1, 1, 1, 1) COVAL(INLET ,P1 , FIXFLU ,1.165333 ) COVAL(INLET ,W1 ,0. ,1. ) COVAL(INLET ,H1 ,0. ,1.03179E+07 ) COVAL(INLET ,FMIX,0. ,1. ) PATCH(MASS ,VOLUME, 1, 1, 1, 1, 1, 30, 1, 1) COVAL(MASS ,P1 , FIXFLU ,0.4 ) COVAL(MASS ,H1 ,0. ,3.179E+05 ) COVAL(MASS ,FMIX,0. ,0. ) PATCH(OUTLET ,HIGH , 1, 1, 1, 1, 30, 30, 1, 1) COVAL(OUTLET ,P1 ,1. ,0. ) XCYCLE = F EGWF = T WALLCO = GRND2 ************************************************************ Group 14. Downstream Pressure For PARAB ************************************************************ Group 15. Terminate Sweeps LSWEEP = 200 ;ISWC1 = 1 LITHYD = 10 ;LITFLX = 1 ;LITC = 1 ;ITHC1 = 1 SELREF = T RESFAC =1.0E-04 ************************************************************ Group 16. Terminate Iterations LITER(P1)=20 ;LITER(W1)=10 LITER(H1)=20 ;LITER(FMIX)=20 ENDIT(P1)=1.0E-03 ;ENDIT(W1)=1.0E-03 ENDIT(H1)=1.0E-03 ;ENDIT(FMIX)=1.0E-03 ************************************************************ Group 17. Relaxation RELAX(P1,LINRLX,1.) RELAX(W1,FALSDT,1.) RELAX(H1,FALSDT,1.0E+09) RELAX(TEMX,LINRLX,1.) RELAX(H1X,LINRLX,1.) RELAX(PROX,LINRLX,1.) RELAX(OXIX,LINRLX,1.) RELAX(FUEX,LINRLX,1.) RELAX(FEX,LINRLX,1.) RELAX(MOXI,LINRLX,1.) RELAX(MFUE,LINRLX,1.) RELAX(MPRO,LINRLX,1.) RELAX(TEMP,LINRLX,1.) RELAX(FMIX,FALSDT,1.0E+09) OVRRLX =0. EXPERT = F ;NNORSL = F ************************************************************ Group 18. Limits VARMAX(P1)=1.0E+10 ;VARMIN(P1)=-1.0E+10 VARMAX(W1)=1.0E+06 ;VARMIN(W1)=-1.0E+06 VARMAX(H1)=1.0E+10 ;VARMIN(H1)=-1.0E+10 VARMAX(TEMX)=1.0E+10 ;VARMIN(TEMX)=-1.0E+10 VARMAX(H1X)=1.0E+10 ;VARMIN(H1X)=-1.0E+10 VARMAX(PROX)=1.0E+10 ;VARMIN(PROX)=-1.0E+10 VARMAX(OXIX)=1.0E+10 ;VARMIN(OXIX)=-1.0E+10 VARMAX(FUEX)=1.0E+10 ;VARMIN(FUEX)=-1.0E+10 VARMAX(FEX)=1.0E+10 ;VARMIN(FEX)=-1.0E+10 VARMAX(MOXI)=1.0E+10 ;VARMIN(MOXI)=-1.0E+10 VARMAX(MFUE)=1.0E+10 ;VARMIN(MFUE)=-1.0E+10 VARMAX(MPRO)=1.0E+10 ;VARMIN(MPRO)=-1.0E+10 VARMAX(TEMP)=1.0E+10 ;VARMIN(TEMP)=-1.0E+10 VARMAX(FMIX)=1.0E+10 ;VARMIN(FMIX)=-1.0E+10 ************************************************************ Group 19. Data transmitted to GROUND NAMSAT =MOSG 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(P1,Y,N,Y,Y,Y,Y) OUTPUT(W1,Y,N,Y,Y,Y,Y) OUTPUT(H1,Y,N,Y,Y,Y,Y) OUTPUT(TEMX,Y,N,Y,N,N,N) OUTPUT(H1X,Y,N,Y,N,N,N) OUTPUT(PROX,Y,N,Y,N,N,N) OUTPUT(OXIX,Y,N,Y,N,N,N) OUTPUT(FUEX,Y,N,Y,N,N,N) OUTPUT(FEX,Y,N,Y,N,N,N) OUTPUT(MOXI,Y,N,Y,N,N,N) OUTPUT(MFUE,Y,N,Y,N,N,N) OUTPUT(MPRO,Y,N,Y,N,N,N) OUTPUT(TEMP,Y,N,Y,N,N,N) OUTPUT(FMIX,Y,N,Y,Y,Y,Y) ************************************************************ Group 22. Monitor Print-Out IXMON = 1 ;IYMON = 0 ;IZMON = 29 NPRMON = 100000 ;NPRMNT = 1 ;TSTSWP = -1 UWATCH = T ;USTEER = T HIGHLO = F ************************************************************ Group 23.Field Print-Out & Plot Control NPRINT = 100000 ;NUMCLS = 5 NZPRIN = 1 ;IZPRF = 1 ;IZPRL = 10000 XZPR = F ;YZPR = F 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