TALK=T;RUN(1,1) PHOTON USE autoplot upause 1 file; phi 5 cl; da 1; yco2; da 1; yo2; da 1; yco; scale; cola 1; col3 2 colf 3 msg msg msg Mass fractions of CO2 - yellow, O2 - blue, msg CO - red ................................more pause; cl; da 1; yh2o; da 1; YH2; scale; col3 1; colf 2 msg msg msg Mass fractions of H2O - blue and H2 - red ...mor pause; cl; da 1; fcl; da 1; YN2; scale; col3 1; colf 2 msg msg msg Mass fractions of N2 - red and msg coal-derived gas - blue ........more pause; cl; da 1; temp; colF 1; msg msg msg Temperature of gas, K .......more pause; cl; da 1; w1; col7 1;scale; msg msg msg Gas velocity, m/s enduse DISPLAY Air flow through combustion of coke packed bed: One-phase, 1D, one space. ENDDIS ************************************************************ Group 1. Run Title and Number ************************************************************ ************************************************************ TEXT(Combustion of packed bed of coke ) ************************************************************ ************************************************************ 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 = 10 ZWLAST =10. ZFRAC(1)=0.1 ;ZFRAC(2)=0.2 ZFRAC(3)=0.3 ;ZFRAC(4)=0.4 ZFRAC(5)=0.5 ;ZFRAC(6)=0.6 ZFRAC(7)=0.7 ;ZFRAC(8)=0.8 ZFRAC(9)=0.9 ;ZFRAC(10)=1. ************************************************************ Group 6. Body-Fitted Coordinates ************************************************************ Group 7. Variables: STOREd,SOLVEd,NAMEd ONEPHS = T NAME(1)=P1 ;NAME(7)=W1 NAME(14)=H1 ;NAME(126)=HPOR NAME(127)=VPOR ;NAME(128)=RCO2 NAME(129)=RCO ;NAME(130)=RFE NAME(131)=RO ;NAME(132)=GOPA NAME(133)=GOFU ;NAME(134)=GH NAME(135)=GC ;NAME(136)=GO NAME(137)=FRAC ;NAME(138)=FLIM NAME(139)=DEN1 ;NAME(140)=YSUM NAME(141)=YH2O ;NAME(142)=YCO2 NAME(143)=YCO ;NAME(144)=YO2 NAME(145)=YH2 ;NAME(146)=YN2 NAME(147)=TEMP ;NAME(148)=HSUB NAME(149)=RMIX ;NAME(150)=FCL * 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,Y) SOLUTN(W1,Y,Y,N,N,N,Y) SOLUTN(H1,Y,Y,Y,N,N,Y) SOLUTN(HPOR,Y,N,N,N,N,Y) SOLUTN(VPOR,Y,N,N,N,N,Y) SOLUTN(RCO2,Y,N,N,N,N,Y) SOLUTN(RCO,Y,N,N,N,N,Y) SOLUTN(RFE,Y,N,N,N,N,Y) SOLUTN(RO,Y,N,N,N,N,Y) SOLUTN(GOPA,Y,N,N,N,N,Y) SOLUTN(GOFU,Y,N,N,N,N,Y) SOLUTN(GH,Y,N,N,N,N,Y) SOLUTN(GC,Y,N,N,N,N,Y) SOLUTN(GO,Y,N,N,N,N,Y) SOLUTN(FRAC,Y,N,N,N,N,Y) SOLUTN(FLIM,Y,N,N,N,N,Y) SOLUTN(DEN1,Y,N,N,N,N,Y) SOLUTN(YSUM,Y,N,N,N,N,Y) SOLUTN(YH2O,Y,N,N,N,N,Y) SOLUTN(YCO2,Y,N,N,N,N,Y) SOLUTN(YCO,Y,N,N,N,N,Y) SOLUTN(YO2,Y,N,N,N,N,Y) SOLUTN(YH2,Y,N,N,N,N,Y) SOLUTN(YN2,Y,N,N,N,N,Y) SOLUTN(TEMP,Y,N,N,N,N,Y) SOLUTN(HSUB,Y,N,N,N,N,Y) SOLUTN(RMIX,Y,N,N,N,N,Y) SOLUTN(FCL,Y,Y,Y,N,N,Y) DEN1 = 139 EPOR = 0 ;HPOR = 126 ;NPOR = 0 ;VPOR = 127 ************************************************************ 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,N,Y,Y,Y) TERMS(FCL,N,Y,N,Y,Y,Y) DIFCUT =0.5 ;ZDIFAC =1. GALA = F ;ADDDIF = F NEWRH1 = 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 = GRND ;TMP1 =0. ;EL1 =0. TSURR =0. ;TEMP0 =0. ;PRESS0 =1.0E+05 DVO1DT =0. ;DRH1DP =0. RHO1A =0. ;RHO1B =0. ;RHO1C =0. EMISS =0. ;SCATT =0. RADIA =0. ;RADIB =0. ENUL =1.0E-05 ;ENUT =0. PRNDTL(W1)=1. PRT(W1)=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. FIINIT(H1)=1.0E-10 ;FIINIT(HPOR)=1. FIINIT(VPOR)=0.25 ;FIINIT(RCO2)=1.0E-10 FIINIT(RCO)=1.0E-10 ;FIINIT(RFE)=1.0E-10 FIINIT(RO)=1.0E-10 ;FIINIT(GOPA)=1.0E-10 FIINIT(GOFU)=1.0E-10 ;FIINIT(GH)=1.0E-10 FIINIT(GC)=1.0E-10 ;FIINIT(GO)=1.0E-10 FIINIT(FRAC)=1.0E-10 ;FIINIT(FLIM)=1.0E-10 FIINIT(DEN1)=1.0E-10 ;FIINIT(YSUM)=1.0E-10 FIINIT(YH2O)=1.0E-10 ;FIINIT(YCO2)=1.0E-10 FIINIT(YCO)=1.0E-10 ;FIINIT(YO2)=1.0E-10 FIINIT(YH2)=1.0E-10 ;FIINIT(YN2)=1.0E-10 FIINIT(TEMP)=1.0E-10 ;FIINIT(HSUB)=1.0E-10 FIINIT(RMIX)=1.0E-10 ;FIINIT(FCL)=1. 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 ,4.811162 ) COVAL(INLET ,W1 ,0. ,5. ) COVAL(INLET ,H1 ,0. ,3.85E+05 ) COVAL(INLET ,FCL ,0. ,0. ) PATCH(FRICTION,VOLUME, 1, 1, 1, 1, 1, 10, 1, 1) COVAL(FRICTION,W1 ,100. ,0. ) PATCH(OUTLET ,HIGH , 1, 1, 1, 1, 10, 10, 1, 1) COVAL(OUTLET ,P1 ,1. ,0. ) PATCH(CAR2GAS ,VOLUME, 1, 1, 1, 1, 1, 10, 1, 1) COVAL(CAR2GAS ,P1 , FIXFLU , GRND ) COVAL(CAR2GAS ,H1 ,0. , GRND ) COVAL(CAR2GAS ,FCL ,0. ,1. ) XCYCLE = F EGWF = T WALLCO = GRND2 ************************************************************ Group 14. Downstream Pressure For PARAB ************************************************************ Group 15. Terminate Sweeps LSWEEP = 350 ;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(FCL)=20 ENDIT(P1)=1.0E-03 ;ENDIT(W1)=1.0E-03 ENDIT(H1)=1.0E-03 ;ENDIT(FCL)=1.0E-03 ************************************************************ Group 17. Relaxation RELAX(P1,LINRLX,0.25) RELAX(W1,FALSDT,0.025) RELAX(H1,FALSDT,0.025) RELAX(RCO2,LINRLX,1.) RELAX(RCO,LINRLX,1.) RELAX(RFE,LINRLX,1.) RELAX(RO,LINRLX,1.) RELAX(GOPA,LINRLX,1.) RELAX(GOFU,LINRLX,1.) RELAX(GH,LINRLX,1.) RELAX(GC,LINRLX,1.) RELAX(GO,LINRLX,1.) RELAX(FRAC,LINRLX,1.) RELAX(FLIM,LINRLX,1.) RELAX(DEN1,LINRLX,0.2) RELAX(YSUM,LINRLX,1.) RELAX(YH2O,LINRLX,1.) RELAX(YCO2,LINRLX,1.) RELAX(YCO,LINRLX,1.) RELAX(YO2,LINRLX,1.) RELAX(YH2,LINRLX,1.) RELAX(YN2,LINRLX,1.) RELAX(TEMP,LINRLX,1.) RELAX(HSUB,LINRLX,1.) RELAX(RMIX,LINRLX,1.) RELAX(FCL,FALSDT,0.025) 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(HPOR)=1.0E+10 ;VARMIN(HPOR)=-1.0E+10 VARMAX(VPOR)=1.0E+10 ;VARMIN(VPOR)=-1.0E+10 VARMAX(RCO2)=1.0E+10 ;VARMIN(RCO2)=-1.0E+10 VARMAX(RCO)=1.0E+10 ;VARMIN(RCO)=-1.0E+10 VARMAX(RFE)=1.0E+10 ;VARMIN(RFE)=-1.0E+10 VARMAX(RO)=1.0E+10 ;VARMIN(RO)=-1.0E+10 VARMAX(GOPA)=1.0E+10 ;VARMIN(GOPA)=-1.0E+10 VARMAX(GOFU)=1.0E+10 ;VARMIN(GOFU)=-1.0E+10 VARMAX(GH)=1.0E+10 ;VARMIN(GH)=-1.0E+10 VARMAX(GC)=1.0E+10 ;VARMIN(GC)=-1.0E+10 VARMAX(GO)=1.0E+10 ;VARMIN(GO)=-1.0E+10 VARMAX(FRAC)=1.0E+10 ;VARMIN(FRAC)=-1.0E+10 VARMAX(FLIM)=1.0E+10 ;VARMIN(FLIM)=-1.0E+10 VARMAX(DEN1)=3. ;VARMIN(DEN1)=1.0E-03 VARMAX(YSUM)=1.0E+10 ;VARMIN(YSUM)=-1.0E+10 VARMAX(YH2O)=1.0E+10 ;VARMIN(YH2O)=-1.0E+10 VARMAX(YCO2)=1.0E+10 ;VARMIN(YCO2)=-1.0E+10 VARMAX(YCO)=1.0E+10 ;VARMIN(YCO)=-1.0E+10 VARMAX(YO2)=1.0E+10 ;VARMIN(YO2)=-1.0E+10 VARMAX(YH2)=1.0E+10 ;VARMIN(YH2)=-1.0E+10 VARMAX(YN2)=1.0E+10 ;VARMIN(YN2)=-1.0E+10 VARMAX(TEMP)=3000. ;VARMIN(TEMP)=350. VARMAX(HSUB)=1.0E+10 ;VARMIN(HSUB)=-1.0E+10 VARMAX(RMIX)=1.0E+10 ;VARMIN(RMIX)=-1.0E+10 VARMAX(FCL)=1. ;VARMIN(FCL)=0. ************************************************************ 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(HPOR,Y,N,Y,N,N,N) OUTPUT(VPOR,Y,N,Y,N,N,N) OUTPUT(RCO2,Y,N,Y,N,N,N) OUTPUT(RCO,Y,N,Y,N,N,N) OUTPUT(RFE,Y,N,Y,N,N,N) OUTPUT(RO,Y,N,Y,N,N,N) OUTPUT(GOPA,Y,N,Y,N,N,N) OUTPUT(GOFU,Y,N,Y,N,N,N) OUTPUT(GH,Y,N,Y,N,N,N) OUTPUT(GC,Y,N,Y,N,N,N) OUTPUT(GO,Y,N,Y,N,N,N) OUTPUT(FRAC,Y,N,Y,N,N,N) OUTPUT(FLIM,Y,N,Y,N,N,N) OUTPUT(DEN1,Y,N,Y,N,N,N) OUTPUT(YSUM,Y,N,Y,N,N,N) OUTPUT(YH2O,Y,N,Y,N,N,N) OUTPUT(YCO2,Y,N,Y,N,N,N) OUTPUT(YCO,Y,N,Y,N,N,N) OUTPUT(YO2,Y,N,Y,N,N,N) OUTPUT(YH2,Y,N,Y,N,N,N) OUTPUT(YN2,Y,N,Y,N,N,N) OUTPUT(TEMP,Y,N,Y,N,N,N) OUTPUT(HSUB,Y,N,Y,N,N,N) OUTPUT(RMIX,Y,N,Y,N,N,N) OUTPUT(FCL,Y,N,Y,Y,Y,Y) ************************************************************ Group 22. Monitor Print-Out IXMON = 1 ;IYMON = 0 ;IZMON = 9 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