TALK=T;RUN(1,1) DISPLAY Coal-Wood Combustion Model; Two-phase, with Slip. Reactions: C (s) + 0.5 O2 > CO (exothermic ) CO + 0.5 O2 > CO2 (exothermic ) C(s) + CO2 > 2CO (endothermic) C(s) + H2O > CO + H2 (endothermic) H2 + 0.5 O2 > H2O (exothermic ) GROUP 1. Run title and other preliminaries Fuel composition and consequences for stoichiometry ** cincl & hincl are the mass fractions of carbon & hydrogen in the coal ENDDIS ************************************************************ Group 1. Run Title and Number ************************************************************ ************************************************************ TEXT(1D coal + wood combustion ) ************************************************************ ************************************************************ IRUNN = 1 ;LIBREF = 0 ************************************************************ Group 2. Time dependence STEADY = T ************************************************************ Group 3. X-Direction Grid Spacing CARTES = T NX = 20 XULAST =10. XFRAC(1)=0.05 ;XFRAC(2)=0.1 XFRAC(3)=0.15 ;XFRAC(4)=0.2 XFRAC(5)=0.25 ;XFRAC(6)=0.3 XFRAC(7)=0.35 ;XFRAC(8)=0.4 XFRAC(9)=0.45 ;XFRAC(10)=0.5 XFRAC(11)=0.55 ;XFRAC(12)=0.6 XFRAC(13)=0.65 ;XFRAC(14)=0.7 XFRAC(15)=0.75 ;XFRAC(16)=0.8 XFRAC(17)=0.85 ;XFRAC(18)=0.9 XFRAC(19)=0.95 ;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 = 1 ZWLAST =1. ZFRAC(1)=1. ************************************************************ Group 6. Body-Fitted Coordinates ************************************************************ Group 7. Variables: STOREd,SOLVEd,NAMEd ONEPHS = F EQUVEL = F NAME(1)=P1 ;NAME(3)=U1 NAME(4)=U2 ;NAME(9)=GAS NAME(10)=FUE ;NAME(11)=SHAD NAME(14)=H1 ;NAME(15)=H2 NAME(16)=WOOD ;NAME(18)=FWD NAME(20)=MIXF ;NAME(138)=TMP2 NAME(139)=TMP1 ;NAME(140)=YVOL NAME(141)=CHAR ;NAME(142)=YH2O NAME(143)=YH2 ;NAME(144)=YN2 NAME(145)=YCO2 ;NAME(146)=YO2 NAME(147)=YCO ;NAME(148)=DEN1 NAME(149)=CFIP ;NAME(150)=MDOT * 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,N,N,N,Y) SOLUTN(U1,Y,Y,N,N,N,Y) SOLUTN(U2,Y,Y,N,N,N,Y) SOLUTN(GAS,Y,Y,N,N,N,Y) SOLUTN(FUE,Y,Y,N,N,N,Y) SOLUTN(SHAD,Y,Y,N,N,N,Y) SOLUTN(H1,Y,Y,N,N,N,Y) SOLUTN(H2,Y,Y,N,N,N,Y) SOLUTN(WOOD,Y,Y,N,N,N,Y) SOLUTN(FWD,Y,Y,N,N,N,Y) SOLUTN(MIXF,Y,Y,N,N,N,Y) SOLUTN(TMP2,Y,N,N,N,N,Y) SOLUTN(TMP1,Y,N,N,N,N,Y) SOLUTN(YVOL,Y,N,N,N,N,Y) SOLUTN(CHAR,Y,Y,N,N,N,Y) SOLUTN(YH2O,Y,N,N,N,N,Y) SOLUTN(YH2,Y,N,N,N,N,Y) SOLUTN(YN2,Y,N,N,N,N,Y) SOLUTN(YCO2,Y,N,N,N,N,Y) SOLUTN(YO2,Y,N,N,N,N,Y) SOLUTN(YCO,Y,N,N,N,N,Y) SOLUTN(DEN1,Y,N,N,N,N,Y) SOLUTN(CFIP,Y,N,N,N,N,Y) SOLUTN(MDOT,Y,N,N,N,N,Y) DEN1 = 148 INTMDT = 150 TEMP1 = 139 TEMP2 = 138 ************************************************************ 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(U2,Y,Y,Y,Y,N,Y) TERMS(GAS,Y,Y,Y,Y,Y,Y) TERMS(FUE,Y,Y,Y,Y,N,Y) TERMS(SHAD,Y,Y,Y,Y,N,Y) TERMS(H1,N,Y,Y,Y,Y,Y) TERMS(H2,N,Y,Y,Y,N,Y) TERMS(WOOD,N,Y,N,Y,Y,N) TERMS(FWD,N,Y,Y,Y,Y,Y) TERMS(MIXF,N,Y,Y,Y,Y,Y) TERMS(CHAR,N,Y,Y,Y,Y,N) DIFCUT =0.5 ;ZDIFAC =1. GALA = F ;ADDDIF = F NEWRH1 = T EQDVDP = F ISOLX = 0 ;ISOLY = 0 ;ISOLZ = 0 DENPCO = T ************************************************************ Group 9. Properties used if PRPS is not stored, and where PRPS = -1.0 if it is! RHO1 = GRND7 ;TMP1 =0. ;EL1 =0. TSURR =0. ;TEMP0 =0. ;PRESS0 =1.0E+05 DVO1DT =0. ;DRH1DP =0. RHO1A =0.86 ;RHO1B =0.05 ;RHO1C =0. EMISS =0. ;SCATT =0. RADIA =0. ;RADIB =0. RHO2 =1000. ;TMP2 =0. ;EL2 =0. DVO2DT =0. ;DRH2DP =0. ENUL =1.0E-05 ;ENUT =6.532045 PHINT(U1)=-2.022E+04 ;PHINT(U2)=-2.022E+04 PHINT(GAS)=-2.022E+04 ;PHINT(FUE)=-2.022E+04 PHINT(SHAD)=-2.022E+04 ;PHINT(H1)=GRND7 PHINT(H2)=GRND7 ;PHINT(FWD)=0. PHINT(MIXF)=1. PHNH1A =0. ;PHNH1B =0. ;PHNH1C =0. PHNH2A =0. ;PHNH2B =0. ;PHNH2C =0. PRNDTL(U1)=1. ;PRNDTL(U2)=1. PRNDTL(GAS)=1. ;PRNDTL(FUE)=1. PRNDTL(SHAD)=1. ;PRNDTL(H1)=1. PRNDTL(H2)=1. ;PRNDTL(FWD)=1. PRNDTL(MIXF)=1. ;PRNDTL(CHAR)=1. PRT(U1)=1. ;PRT(U2)=1. PRT(GAS)=1. ;PRT(FUE)=1. PRT(SHAD)=1. ;PRT(H1)=1. PRT(H2)=1. ;PRT(FWD)=1. PRT(MIXF)=1. ;PRT(CHAR)=1. CP1 =1100. ;CP2 =1100. ************************************************************ Group 10.Inter-Phase Transfer Processes CFIPS = GRND1 RLOLIM =0. ;CMDOT = GRND3 CFIPA =0. ;CFIPB =0. CFIPC =1.0E+05 ;CFIPD =0. CMDTA =100. ;CMDTB =0. CMDTC =0.168279 ;CMDTD =0. CINT(P1)=1. ;CINT(U1)=1. CINT(U2)=1. ;CINT(GAS)=1. CINT(FUE)=1. ;CINT(SHAD)=1. CINT(H1)=1. ;CINT(H2)=1. CINT(FWD)=0. ;CINT(MIXF)=0. PHINT(P1)=-2.022E+04 ;PHINT(U1)=-2.022E+04 PHINT(U2)=-2.022E+04 ;PHINT(GAS)=-2.022E+04 PHINT(FUE)=-2.022E+04 ;PHINT(SHAD)=-2.022E+04 PHINT(H1)=GRND7 ;PHINT(H2)=GRND7 PHINT(FWD)=0. ;PHINT(MIXF)=1. ************************************************************ Group 11.Initial field variables (PHIs) FIINIT(P1)=1.0E-10 ;FIINIT(U1)=0. FIINIT(U2)=0. ;FIINIT(GAS)=0.99 FIINIT(FUE)=1.0E-02 ;FIINIT(SHAD)=1.0E-02 FIINIT(H1)=5.5E+05 ;FIINIT(H2)=3.479612E+07 FIINIT(WOOD)=1.0E-10 ;FIINIT(FWD)=1.0E-10 FIINIT(MIXF)=0.1 ;FIINIT(TMP2)=500. FIINIT(TMP1)=500. ;FIINIT(YVOL)=1.0E-10 FIINIT(CHAR)=1.0E-10 ;FIINIT(YH2O)=1.0E-10 FIINIT(YH2)=1.0E-10 ;FIINIT(YN2)=1.0E-10 FIINIT(YCO2)=1.0E-10 ;FIINIT(YO2)=1.0E-10 FIINIT(YCO)=1.0E-10 ;FIINIT(DEN1)=0.69587 FIINIT(CFIP)=1.0E-10 ;FIINIT(MDOT)=0.2 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(INLETSW ,WEST , 1, 1, 1, 1, 1, 1, 1, 1) COVAL(INLETSW ,U1 ,0. ,65.320457 ) COVAL(INLETSW ,U2 ,0. ,2. ) COVAL(INLETSW ,GAS , FIXFLU ,45. ) COVAL(INLETSW ,FUE , FIXFLU ,20. ) COVAL(INLETSW ,H1 ,0. ,5.5E+05 ) COVAL(INLETSW ,H2 ,0. ,3.479612E+07 ) COVAL(INLETSW ,MIXF,0. ,0. ) PATCH(WOODINSW,WEST , 1, 1, 1, 1, 1, 1, 1, 1) COVAL(WOODINSW,GAS , FIXFLU ,0.45 ) COVAL(WOODINSW,H1 ,0. ,3.367308E+07 ) COVAL(WOODINSW,WOOD,0. ,1. ) COVAL(WOODINSW,FWD ,0. ,1. ) PATCH(CHSOW- ,PHASEM, 1, 20, 1, 1, 1, 1, 1, 1) COVAL(CHSOW- ,WOOD, GRND6 ,0. ) PATCH(CHSOC+ ,PHASEM, 1, 20, 1, 1, 1, 1, 1, 1) COVAL(CHSOC+ ,CHAR, FIXFLU , GRND2 ) PATCH(CHSOC- ,PHASEM, 1, 20, 1, 1, 1, 1, 1, 1) COVAL(CHSOC- ,CHAR, GRND1 ,0. ) PATCH(OUTLET ,EAST , 20, 20, 1, 1, 1, 1, 1, 1) COVAL(OUTLET ,GAS ,1.0E-02 ,0. ) COVAL(OUTLET ,FUE ,100. ,0. ) COVAL(OUTLET ,H1 ,0. , SAME ) COVAL(OUTLET ,H2 ,0. , SAME ) COVAL(OUTLET ,WOOD,0. , SAME ) COVAL(OUTLET ,FWD ,0. , SAME ) COVAL(OUTLET ,MIXF,0. , SAME ) COVAL(OUTLET ,CHAR,0. , SAME ) XCYCLE = F EGWF = T WALLCO = GRND2 ************************************************************ Group 14. Downstream Pressure For PARAB ************************************************************ Group 15. Terminate Sweeps LSWEEP = 2000 ;ISWC1 = 1 LITHYD = 1 ;LITFLX = 1 ;LITC = 1 ;ITHC1 = 1 ISWR1 = 1 ;ISWR2 = 10000 SELREF = T RESFAC =1.0E-03 ************************************************************ Group 16. Terminate Iterations LITER(P1)=30 ;LITER(U1)=2 LITER(U2)=2 ;LITER(GAS)=1 LITER(FUE)=1 ;LITER(SHAD)=1 LITER(H1)=20 ;LITER(H2)=20 LITER(WOOD)=20 ;LITER(FWD)=20 LITER(MIXF)=20 ;LITER(CHAR)=20 ENDIT(P1)=1.0E-03 ;ENDIT(U1)=1.0E-03 ENDIT(U2)=1.0E-03 ;ENDIT(GAS)=1.0E-03 ENDIT(FUE)=1.0E-03 ;ENDIT(SHAD)=1.0E-03 ENDIT(H1)=1.0E-03 ;ENDIT(H2)=1.0E-03 ENDIT(WOOD)=1.0E-03 ;ENDIT(FWD)=1.0E-03 ENDIT(MIXF)=1.0E-03 ;ENDIT(CHAR)=1.0E-03 ************************************************************ Group 17. Relaxation RELAX(P1,LINRLX,1.) RELAX(U1,FALSDT,2.0E-04) RELAX(U2,FALSDT,2.0E-04) RELAX(GAS,LINRLX,0.1) RELAX(FUE,LINRLX,0.1) RELAX(SHAD,LINRLX,0.1) RELAX(H1,FALSDT,2.0E-03) RELAX(H2,FALSDT,2.0E-03) RELAX(WOOD,FALSDT,2.0E-03) RELAX(FWD,FALSDT,2.0E-03) RELAX(MIXF,FALSDT,1.0E-02) RELAX(TMP2,LINRLX,1.) RELAX(TMP1,LINRLX,1.) RELAX(YVOL,LINRLX,1.) RELAX(CHAR,FALSDT,2.0E-03) RELAX(YH2O,LINRLX,1.) RELAX(YH2,LINRLX,1.) RELAX(YN2,LINRLX,1.) RELAX(YCO2,LINRLX,1.) RELAX(YO2,LINRLX,1.) RELAX(YCO,LINRLX,1.) RELAX(DEN1,LINRLX,0.1) RELAX(CFIP,LINRLX,0.3) RELAX(MDOT,LINRLX,0.1) OVRRLX =0. EXPERT = F ;NNORSL = F ************************************************************ Group 18. Limits VARMAX(P1)=1.0E+10 ;VARMIN(P1)=-9.999E+04 VARMAX(U1)=1.0E+06 ;VARMIN(U1)=-1.0E+06 VARMAX(U2)=1.0E+06 ;VARMIN(U2)=-1.0E+06 VARMAX(GAS)=1. ;VARMIN(GAS)=1.0E-06 VARMAX(FUE)=1. ;VARMIN(FUE)=1.0E-10 VARMAX(SHAD)=1. ;VARMIN(SHAD)=1.0E-06 VARMAX(H1)=1.0E+10 ;VARMIN(H1)=-1.0E+10 VARMAX(H2)=1.0E+10 ;VARMIN(H2)=-1.0E+10 VARMAX(WOOD)=1.0E+10 ;VARMIN(WOOD)=-1.0E+10 VARMAX(FWD)=1.0E+10 ;VARMIN(FWD)=-1.0E+10 VARMAX(MIXF)=0.168279 ;VARMIN(MIXF)=0. VARMAX(TMP2)=1.0E+10 ;VARMIN(TMP2)=-1.0E+10 VARMAX(TMP1)=1.0E+10 ;VARMIN(TMP1)=-1.0E+10 VARMAX(YVOL)=1.0E+10 ;VARMIN(YVOL)=-1.0E+10 VARMAX(CHAR)=1.0E+10 ;VARMIN(CHAR)=-1.0E+10 VARMAX(YH2O)=1.0E+10 ;VARMIN(YH2O)=-1.0E+10 VARMAX(YH2)=1.0E+10 ;VARMIN(YH2)=-1.0E+10 VARMAX(YN2)=1.0E+10 ;VARMIN(YN2)=-1.0E+10 VARMAX(YCO2)=1.0E+10 ;VARMIN(YCO2)=-1.0E+10 VARMAX(YO2)=1.0E+10 ;VARMIN(YO2)=-1.0E+10 VARMAX(YCO)=1.0E+10 ;VARMIN(YCO)=-1.0E+10 VARMAX(DEN1)=1.0E+10 ;VARMIN(DEN1)=-1.0E+10 VARMAX(CFIP)=1.0E+10 ;VARMIN(CFIP)=-1.0E+10 VARMAX(MDOT)=1.0E+10 ;VARMIN(MDOT)=-1.0E+10 ************************************************************ Group 19. Data transmitted to GROUND PARSOL = F ISG62 = 1 CHSOA =100. CHSOD =-30.069761 SPEDAT(SET,WOODBURN,HINVL,R,0.02) SPEDAT(SET,WOODBURN,VLINWD,R,0.5) SPEDAT(SET,WOODBURN,MLWTVL,R,100.) SPEDAT(SET,WOODBURN,MOINWD,R,0.2) SPEDAT(SET,CHSOC+,REACT4,C,WOOD) SPEDAT(SET,CHSOC+,CONSTA,R,50.) SPEDAT(SET,CHSOC+,CONSTB,R,0.) SPEDAT(SET,CHSOC-,REACT1,C,YCO2) SPEDAT(SET,CHSOC-,REACT2,C,YH2O) SPEDAT(SET,CHSOC-,REACT3,C,YO2) SPEDAT(SET,CHSOC-,CONSTC,R,1000.) SPEDAT(SET,CHSOC-,CONSTD,R,1000.) SPEDAT(SET,CHSOC-,CONSTE,R,1000.) 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(U1,Y,N,Y,Y,Y,Y) OUTPUT(U2,Y,N,Y,Y,Y,Y) OUTPUT(GAS,Y,N,Y,Y,Y,Y) OUTPUT(FUE,Y,N,N,N,N,N) OUTPUT(SHAD,Y,N,Y,Y,Y,Y) OUTPUT(H1,Y,N,Y,Y,Y,Y) OUTPUT(H2,Y,N,Y,Y,Y,Y) OUTPUT(WOOD,Y,N,Y,Y,Y,Y) OUTPUT(FWD,Y,N,Y,Y,Y,Y) OUTPUT(MIXF,Y,N,Y,Y,Y,Y) OUTPUT(TMP2,Y,N,Y,N,N,N) OUTPUT(TMP1,Y,N,N,N,N,N) OUTPUT(YVOL,Y,N,Y,N,N,N) OUTPUT(CHAR,Y,N,Y,Y,Y,Y) OUTPUT(YH2O,Y,N,Y,N,N,N) OUTPUT(YH2,Y,N,Y,N,N,N) OUTPUT(YN2,Y,N,Y,N,N,N) OUTPUT(YCO2,Y,N,Y,N,N,N) OUTPUT(YO2,Y,N,Y,N,N,N) OUTPUT(YCO,Y,N,Y,N,N,N) OUTPUT(DEN1,Y,N,Y,N,N,N) OUTPUT(CFIP,Y,N,Y,N,N,N) OUTPUT(MDOT,Y,N,N,N,N,N) ************************************************************ Group 22. Monitor Print-Out IXMON = 10 ;IYMON = 0 ;IZMON = 0 NPRMON = 100000 ;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 IPLTF = 1 ;IPLTL = -1 ;NPLT = -1 ISWPRF = 1 ;ISWPRL = 100000 ITABL = 3 ;IPROF = 1 ABSIZ =0.6 ;ORSIZ =0.2 NTZPRF = 1 ;NCOLPF = 50 ICHR = 2 ;NCOLCO = 45 ;NROWCO = 20 PATCH(AXIS ,PROFIL, 1, 20, 1, 1, 1, 1, 1, 1) PLOT(AXIS ,WOOD,0. ,0.1 ) PLOT(AXIS ,FWD ,0. ,0.1 ) PLOT(AXIS ,MIXF,0. ,0.1 ) PLOT(AXIS ,CHAR,0. ,0.1 ) PATCH(AXIS2 ,PROFIL, 1, 20, 1, 1, 1, 1, 1, 1) PLOT(AXIS2 ,YH2O,0. ,0. ) PLOT(AXIS2 ,YH2 ,0. ,0. ) PLOT(AXIS2 ,YCO2,0. ,0. ) PLOT(AXIS2 ,YO2 ,0. ,0. ) PLOT(AXIS2 ,YCO ,0. ,0. ) PATCH(AXIS3 ,PROFIL, 1, 20, 1, 1, 1, 1, 1, 1) PLOT(AXIS3 ,FUE ,0. ,0. ) PLOT(AXIS3 ,SHAD,0. ,0. ) PLOT(AXIS3 ,MDOT,0. ,0. ) PATCH(AXIS4 ,PROFIL, 1, 20, 1, 1, 1, 1, 1, 1) PLOT(AXIS4 ,H1 ,0. ,0. ) PLOT(AXIS4 ,H2 ,0. ,0. ) PLOT(AXIS4 ,TMP2,0. ,0. ) PLOT(AXIS4 ,TMP1,0. ,0. ) PATCH(AXIS5 ,PROFIL, 1, 20, 1, 1, 1, 1, 1, 1) PLOT(AXIS5 ,P1 ,0. ,0. ) PLOT(AXIS5 ,U1 ,0. ,0. ) PLOT(AXIS5 ,U2 ,0. ,0. ) ************************************************************ Group 24. Dumps For Restarts SAVE = T ;NOWIPE = F NSAVE =CHAM STOP