```
TALK=T;RUN(1,1)
DISPLAY
The example considered is the steady combustion of an H2-O2-N2
mixture in a 1d plug-flow reactor (PSR) at atmospheric pressure.
This case is the same a case 201, except that the calculation is
performed in the z-direction rather than the y-direction. In
addition, the option exists for using the parabolic, rather than
the elliptic solution procedure of PHOENICS. The same results
will be obtained irrespective of the method of solution.
ENDDISPLAY
************************************************************
Group 1. Run Title and Number
************************************************************
************************************************************

TEXT(Plug Flow Reactor, Para. PHOENICS solver)

************************************************************
************************************************************

IRUNN = 1 ;LIBREF = 14
************************************************************
Group 2. Time dependence
************************************************************
Group 3. X-Direction Grid Spacing
CARTES = T
NX = 1
XULAST =67.400002
XFRAC(1)=1.
************************************************************
Group 4. Y-Direction Grid Spacing
NY = 1
YVLAST =1.
YFRAC(1)=1.
************************************************************
Group 5. Z-Direction Grid Spacing
PARAB = T
NZ = 2
ZWLAST =2.
ZFRAC(1)=0.5 ;ZFRAC(2)=1.
************************************************************
Group 6. Body-Fitted Coordinates
************************************************************
Group 7. Variables: STOREd,SOLVEd,NAMEd
ONEPHS = T
NAME(1)=P1 ;NAME(7)=W1
NAME(16)=H2 ;NAME(17)=H
NAME(18)=O2 ;NAME(19)=O
NAME(20)=OH ;NAME(21)=HO2
NAME(22)=H2O ;NAME(23)=N2
NAME(142)=8& ;NAME(143)=O2+
NAME(144)=SPH1 ;NAME(145)=ENTH
NAME(146)=QDOT ;NAME(147)=ELN
NAME(148)=ELH ;NAME(149)=TEM1
NAME(150)=DEN1
* 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(W1,Y,Y,N,N,N,Y)
SOLUTN(H2,Y,Y,N,N,N,Y)
SOLUTN(H,Y,Y,N,N,N,Y)
SOLUTN(O2,Y,Y,N,N,N,Y)
SOLUTN(O,Y,Y,N,N,N,Y)
SOLUTN(OH,Y,Y,N,N,N,Y)
SOLUTN(HO2,Y,Y,N,N,N,Y)
SOLUTN(H2O,Y,Y,N,N,N,Y)
SOLUTN(N2,Y,N,N,N,N,Y)
SOLUTN(8&,Y,N,N,N,N,Y)
SOLUTN(O2+,Y,N,N,N,N,Y)
SOLUTN(SPH1,Y,N,N,N,N,Y)
SOLUTN(ENTH,Y,N,N,N,N,Y)
SOLUTN(QDOT,Y,N,N,N,N,Y)
SOLUTN(ELN,Y,N,N,N,N,Y)
SOLUTN(ELH,Y,N,N,N,N,Y)
SOLUTN(TEM1,Y,Y,N,N,N,Y)
SOLUTN(DEN1,Y,N,N,N,N,Y)
DEN1 = 150
************************************************************
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(H2,N,Y,N,Y,Y,N)
TERMS(H,N,Y,N,Y,Y,N)
TERMS(O2,N,Y,N,Y,Y,N)
TERMS(O,N,Y,N,Y,Y,N)
TERMS(OH,N,Y,N,Y,Y,N)
TERMS(HO2,N,Y,N,Y,Y,N)
TERMS(H2O,N,Y,N,Y,Y,N)
TERMS(TEM1,N,Y,N,Y,Y,N)
DIFCUT =0.5 ;ZDIFAC =1.
GALA = F ;ADDDIF = F
NEWRH1 = T
ISOLX = -1 ;ISOLY = -1 ;ISOLZ = -1
DENPCO = T
************************************************************
Group 9. Properties used if PRPS is not
stored, and where PRPS = -1.0 if it is!
RHO1 = GRND9 ;TMP1 =0.
EL1 =0.
TSURR =0. ;TEMP0 =0.
PRESS0 =0.
DVO1DT =0. ;DRH1DP =0.
RHO1A =0. ;RHO1B =0.
RHO1C =0.
EMISS =0. ;SCATT =0.
ENUL =1.0E-05 ;ENUT =0.
PRNDTL(W1)=1.
PRT(W1)=1.
CP1 = GRND9 ;CP2 =1.
CP1A =0. ;CP1B =0.
CP1C =0. ;CP1D =0.
************************************************************
Group 10.Inter-Phase Transfer Processes
************************************************************
Group 11.Initial field variables (PHIs)
FIINIT(P1)=1.0E-10 ;FIINIT(W1)=1.0E-10
FIINIT(H2)=0.025701 ;FIINIT(H)=0.
FIINIT(O2)=0.205607 ;FIINIT(O)=0.
FIINIT(OH)=0. ;FIINIT(HO2)=0.
FIINIT(H2O)=0. ;FIINIT(N2)=0.768692
FIINIT(8&)=1.0E-10 ;FIINIT(O2+)=1.0E-10
FIINIT(SPH1)=1.0E-10 ;FIINIT(ENTH)=1.0E-10
FIINIT(QDOT)=1.0E-10 ;FIINIT(ELN)=1.0E-10
FIINIT(ELH)=1.0E-10 ;FIINIT(TEM1)=1700.
FIINIT(DEN1)=1.0E-10

PATCH(ICHEMK1 ,INIVAL, 1, 1, 1, 1, 1, 2, 1, 1)
INIT(ICHEMK1 ,DEN1,0. , GRND1 )
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(NOCPCK1 ,LOW , 1, 1, 1, 1, 1, 1, 1, 1)
COVAL(NOCPCK1 ,P1 , FIXFLU ,5.400593 )
COVAL(NOCPCK1 ,W1 ,0. , GRND9 )
COVAL(NOCPCK1 ,H2 ,0. ,0.025701 )
COVAL(NOCPCK1 ,H ,0. ,0. )
COVAL(NOCPCK1 ,O2 ,0. ,0.205607 )
COVAL(NOCPCK1 ,O ,0. ,0. )
COVAL(NOCPCK1 ,OH ,0. ,0. )
COVAL(NOCPCK1 ,HO2 ,0. ,0. )
COVAL(NOCPCK1 ,H2O ,0. ,0. )
COVAL(NOCPCK1 ,N2 ,0. ,0.768692 )
COVAL(NOCPCK1 ,TEM1,0. , GRND9 )

PATCH(CHEMK1 ,VOLUME, 0, 0, 0, 0, 0, 0, 1, 1)
COVAL(CHEMK1 ,H2 , GRND9 , GRND9 )
COVAL(CHEMK1 ,H , GRND9 , GRND9 )
COVAL(CHEMK1 ,O2 , GRND9 , GRND9 )
COVAL(CHEMK1 ,O , GRND9 , GRND9 )
COVAL(CHEMK1 ,OH , GRND9 , GRND9 )
COVAL(CHEMK1 ,HO2 , GRND9 , GRND9 )
COVAL(CHEMK1 ,H2O , GRND9 , GRND9 )
COVAL(CHEMK1 ,TEM1, GRND9 , GRND9 )
XCYCLE = F
EGWF = T
WALLCO = GRND2
************************************************************
Group 14. Downstream Pressure For PARAB
IPARAB = 0
AZPH =0. ;PBAR =0.
************************************************************
Group 15. Terminate Sweeps
LSWEEP = 1 ;ISWC1 = 1
LITHYD = 600 ;LITFLX = 1 ;LITC = 1 ;ITHC1 = 1
SELREF = T
RESFAC =1.0E-04
************************************************************
Group 16. Terminate Iterations
LITER(P1)=20 ;LITER(W1)=10
LITER(H2)=20 ;LITER(H)=20
LITER(O2)=20 ;LITER(O)=20
LITER(OH)=20 ;LITER(HO2)=20
LITER(H2O)=20 ;LITER(TEM1)=20
ENDIT(P1)=1.0E-03 ;ENDIT(W1)=1.0E-03
ENDIT(H2)=1.0E-06 ;ENDIT(H)=1.0E-06
ENDIT(O2)=1.0E-06 ;ENDIT(O)=1.0E-06
ENDIT(OH)=1.0E-06 ;ENDIT(HO2)=1.0E-06
ENDIT(H2O)=1.0E-06 ;ENDIT(TEM1)=1.0E-06
************************************************************
Group 17. Relaxation
RELAX(P1,LINRLX,1.)
RELAX(W1,FALSDT,3.0E-05)
RELAX(H2,FALSDT,6.0E-05)
RELAX(H,FALSDT,6.0E-05)
RELAX(O2,FALSDT,6.0E-05)
RELAX(O,FALSDT,6.0E-05)
RELAX(OH,FALSDT,6.0E-05)
RELAX(HO2,FALSDT,6.0E-05)
RELAX(H2O,FALSDT,6.0E-05)
RELAX(N2,LINRLX,1.)
RELAX(8&,LINRLX,1.)
RELAX(O2+,LINRLX,1.)
RELAX(SPH1,LINRLX,1.)
RELAX(ENTH,LINRLX,1.)
RELAX(QDOT,LINRLX,1.)
RELAX(ELN,LINRLX,1.)
RELAX(ELH,LINRLX,1.)
RELAX(TEM1,FALSDT,2.1E-07)
RELAX(DEN1,LINRLX,1.)
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(H2)=1. ;VARMIN(H2)=0.
VARMAX(H)=1. ;VARMIN(H)=0.
VARMAX(O2)=1. ;VARMIN(O2)=0.
VARMAX(O)=1. ;VARMIN(O)=0.
VARMAX(OH)=1. ;VARMIN(OH)=0.
VARMAX(HO2)=1. ;VARMIN(HO2)=0.
VARMAX(H2O)=1. ;VARMIN(H2O)=0.
VARMAX(N2)=1. ;VARMIN(N2)=0.
VARMAX(8&)=1.0E+10 ;VARMIN(8&)=-1.0E+10
VARMAX(O2+)=1.0E+10 ;VARMIN(O2+)=-1.0E+10
VARMAX(SPH1)=1.0E+10 ;VARMIN(SPH1)=-1.0E+10
VARMAX(ENTH)=1.0E+10 ;VARMIN(ENTH)=-1.0E+10
VARMAX(QDOT)=1.0E+10 ;VARMIN(QDOT)=-1.0E+10
VARMAX(ELN)=1.0E+10 ;VARMIN(ELN)=-1.0E+10
VARMAX(ELH)=1.0E+10 ;VARMIN(ELH)=-1.0E+10
VARMAX(TEM1)=1.0E+10 ;VARMIN(TEM1)=200.
VARMAX(DEN1)=1.0E+10 ;VARMIN(DEN1)=-1.0E+10
************************************************************
Group 19. Data transmitted to GROUND
PARSOL = F
CHMKIN = T
ISG62 = 1
CHSOB =16.
CHSOC =1.
CSG4    ='ho11'
************************************************************
Group 20. Preliminary Printout
DISTIL = T ;NULLPR = F
NDST = 0
DSTTOL =1.0E-02
EX(P1)=1.015E+05 ;EX(W1)=3.19E+04
EX(H2)=3.445E-03 ;EX(H)=1.481E-03
EX(O2)=0.03162 ;EX(O)=5.401E-03
EX(OH)=7.878E-03 ;EX(HO2)=1.054E-06
EX(H2O)=0.1815 ;EX(N2)=0.7687
EX(8&)=1.0E-10 ;EX(O2+)=1.0E-10
EX(SPH1)=1.208E+07 ;EX(ENTH)=8644.
EX(QDOT)=3.359E+10 ;EX(ELN)=0.7687
EX(ELH)=0.0257 ;EX(TEM1)=1695.
EX(DEN1)=1.693E-04
************************************************************
Group 21. Print-out of Variables
INIFLD = T ;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(H2,Y,N,Y,Y,Y,Y)
OUTPUT(H,Y,N,Y,Y,Y,Y)
OUTPUT(O2,Y,N,Y,Y,Y,Y)
OUTPUT(O,Y,N,Y,Y,Y,Y)
OUTPUT(OH,Y,N,Y,Y,Y,Y)
OUTPUT(HO2,Y,N,Y,Y,Y,Y)
OUTPUT(H2O,Y,N,Y,Y,Y,Y)
OUTPUT(N2,Y,N,Y,N,Y,N)
OUTPUT(8&,Y,N,Y,N,N,N)
OUTPUT(O2+,Y,N,Y,N,N,N)
OUTPUT(SPH1,Y,N,Y,N,N,N)
OUTPUT(ENTH,Y,N,Y,N,N,N)
OUTPUT(QDOT,Y,N,Y,N,N,N)
OUTPUT(ELN,Y,N,Y,N,N,N)
OUTPUT(ELH,Y,N,Y,N,N,N)
OUTPUT(TEM1,Y,N,Y,Y,Y,Y)
OUTPUT(DEN1,Y,Y,Y,Y,Y,Y)
************************************************************
Group 22. Monitor Print-Out
IXMON = 1 ;IYMON = 1 ;IZMON = 1
NPRMON = 300 ;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
IPLTF = 1 ;IPLTL = -1 ;NPLT = 50
ISWPRF = 1 ;ISWPRL = 100000
ITABL = 2 ;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
```