TALK=T;RUN(1,1)
  PHOTON USE
  p;  phi
  15 1




  set con fi dep 3
  con fuel x 1 fi;0.01
  gr ou x 1
  te
  1

  fuel mass-fraction contours
   0.13265E+04 0.21215E+04 CR
  msg Press  to continue
  pause
  cl
  con prod x 1 fi;0.01
  gr ou x 1
  te
  1

  product contours
   0.13265E+04 0.21215E+04 CR
  msg Press  to continue
  pause
  cl
  con mixf x 1 fi;0.01
  gr ou x 1
  te
  1

  mixture fraction contours
   0.13265E+04 0.21215E+04 CR
  msg Press  to continue
  pause
  cl
  con tmp1 x 1 fi;0.01
  gr ou x 1
  te
  1

  temperature contours
   0.13265E+04 0.21215E+04 CR
  msg Press  to continue
  pause
  cl
  vec x 1 sh
  gr ou x 1
  te
  1

  velocity vectors
   0.13265E+04 0.21215E+04 CR
  msg Press  to continue
  pause
  end
  enduse
  DISPLAY
   The problem considered is two-dimensional and concerns the
   calculation of thermal-nox emissions.
   A two-step approach is used whereby the first step involves the
   main exothermic reaction of methane in air, and the second
   involves the solution of the Zeldovich reaction scheme for the
   formation of the major nitric oxide: nitrogen oxide, NO.
   The first PHOENICS calculation considers the methane combustion
   only, so that the logical variable NOXCAL=F.
   The second and final PHOENICS calculation sets NOXCAL=T, which
   deactivates the solution of all dependent variables excepting
   those involved in the nox chemistry.
  ENDDIS
  noxdbegin
    ns       7
    nr       3
    jxdbck   1
    jydbck   9
    jzdbck   18
    jsdbck   10

    gn2ox    0.767
    gn2pr    0.725
    gco2pr   0.151
    gh2opr   0.124

    crkbug   f
    dbgnox   f
  noxdend
 ************************************************************
  Group 1. Run Title and Number
 ************************************************************
 ************************************************************
 
 TEXT(2-D CH4/AIR combustion+thermal NOX: C113)
 
 ************************************************************
 ************************************************************
 
 IRUNN = 1 ;LIBREF = 113
 ************************************************************
  Group 2. Time dependence
 STEADY = T
 ************************************************************
  Group 3. X-Direction Grid Spacing
 CARTES = F
 NX = 1
 XULAST =0.1
 XFRAC(1)=1.
 ************************************************************
  Group 4. Y-Direction Grid Spacing
 NY = 24
 YVLAST =1.0E-02
 YFRAC(1)=0.061179 ;YFRAC(2)=0.119637
 YFRAC(3)=0.17524 ;YFRAC(4)=0.227834
 YFRAC(5)=0.277236 ;YFRAC(6)=0.323223
 YFRAC(7)=0.365521 ;YFRAC(8)=0.403775
 YFRAC(9)=0.4375 ;YFRAC(10)=0.465979
 YFRAC(11)=0.487972 ;YFRAC(12)=0.5
 YFRAC(13)=0.512028 ;YFRAC(14)=0.534021
 YFRAC(15)=0.5625 ;YFRAC(16)=0.596225
 YFRAC(17)=0.634479 ;YFRAC(18)=0.676777
 YFRAC(19)=0.722764 ;YFRAC(20)=0.772166
 YFRAC(21)=0.82476 ;YFRAC(22)=0.880363
 YFRAC(23)=0.938821 ;YFRAC(24)=1.
 ************************************************************
  Group 5. Z-Direction Grid Spacing
 PARAB = F
 NZ = 35
 ZWLAST =0.6
 ZFRAC(1)=0.028571 ;ZFRAC(2)=0.057143
 ZFRAC(3)=0.085714 ;ZFRAC(4)=0.114286
 ZFRAC(5)=0.142857 ;ZFRAC(6)=0.171429
 ZFRAC(7)=0.2 ;ZFRAC(8)=0.228571
 ZFRAC(9)=0.257143 ;ZFRAC(10)=0.285714
 ZFRAC(11)=0.314286 ;ZFRAC(12)=0.342857
 ZFRAC(13)=0.371429 ;ZFRAC(14)=0.4
 ZFRAC(15)=0.428571 ;ZFRAC(16)=0.457143
 ZFRAC(17)=0.485714 ;ZFRAC(18)=0.514286
 ZFRAC(19)=0.542857 ;ZFRAC(20)=0.571429
 ZFRAC(21)=0.6 ;ZFRAC(22)=0.628571
 ZFRAC(23)=0.657143 ;ZFRAC(24)=0.685714
 ZFRAC(25)=0.714286 ;ZFRAC(26)=0.742857
 ZFRAC(27)=0.771429 ;ZFRAC(28)=0.8
 ZFRAC(29)=0.828571 ;ZFRAC(30)=0.857143
 ZFRAC(31)=0.885714 ;ZFRAC(32)=0.914286
 ZFRAC(33)=0.942857 ;ZFRAC(34)=0.971429
 ZFRAC(35)=1.
 ************************************************************
  Group 6. Body-Fitted Coordinates
 ************************************************************
  Group 7. Variables: STOREd,SOLVEd,NAMEd
 ONEPHS = T
 NAME(1)=P1 ;NAME(5)=V1
 NAME(7)=W1 ;NAME(12)=KE
 NAME(13)=EP ;NAME(14)=H1
 NAME(136)=NOSR ;NAME(137)=CRKT
 NAME(138)=XO2 ;NAME(139)=XOH
 NAME(140)=XO ;NAME(141)=XH
 NAME(142)=XN ;NAME(143)=XNO
 NAME(144)=ENUT ;NAME(145)=FUEL
 NAME(146)=PROD ;NAME(147)=OXID
 NAME(148)=RHO1 ;NAME(149)=TMP1
 NAME(150)=MIXF
    * 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(V1,Y,Y,N,N,N,Y)
 SOLUTN(W1,Y,Y,N,N,N,Y)
 SOLUTN(KE,Y,Y,N,N,N,N)
 SOLUTN(EP,Y,Y,N,N,N,N)
 SOLUTN(H1,Y,Y,N,N,N,Y)
 SOLUTN(NOSR,Y,N,N,N,N,Y)
 SOLUTN(CRKT,Y,N,N,N,N,Y)
 SOLUTN(XO2,Y,N,N,N,N,Y)
 SOLUTN(XOH,Y,N,N,N,N,Y)
 SOLUTN(XO,Y,N,N,N,N,Y)
 SOLUTN(XH,Y,N,N,N,N,Y)
 SOLUTN(XN,Y,N,N,N,N,Y)
 SOLUTN(XNO,Y,N,N,N,N,Y)
 SOLUTN(ENUT,Y,N,N,N,N,Y)
 SOLUTN(FUEL,Y,N,N,N,N,Y)
 SOLUTN(PROD,Y,N,N,N,N,Y)
 SOLUTN(OXID,Y,N,N,N,N,Y)
 SOLUTN(RHO1,Y,N,N,N,N,Y)
 SOLUTN(TMP1,Y,N,N,N,N,Y)
 SOLUTN(MIXF,Y,Y,N,N,N,Y)
 DEN1 = 148
 VIST = 144
 TEMP1 = 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(P1,Y,Y,Y,N,Y,Y)
 TERMS(V1,Y,Y,Y,Y,Y,Y)
 TERMS(W1,Y,Y,Y,Y,Y,Y)
 TERMS(KE,N,Y,Y,Y,Y,N)
 TERMS(EP,N,Y,Y,Y,Y,N)
 TERMS(H1,N,Y,Y,N,Y,N)
 TERMS(MIXF,N,Y,Y,Y,Y,Y)
 DIFCUT =0.5 ;ZDIFAC =1.
 GALA = F ;ADDDIF = F
 NEWRH1 = T
 NEWENT = 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 = GRND6 ;TMP1 = GRND7 ;EL1 = GRND4
 TSURR =0. ;TEMP0 =0. ;PRESS0 =4.0E+05
 DVO1DT =0. ;DRH1DP =0.
 RHO1A =16.04303 ;RHO1B =28.941999 ;RHO1C =29.189119
 TMP1A =1500. ;TMP1B =1500. ;TMP1C =1500.
 TMP2A =0.054825 ;TMP2B =4.9E+07 ;TMP2C =0.
 EMISS =0. ;SCATT =0.
 RADIA =0. ;RADIB =0.
 EL1A =0. ;EL1B =0. ;EL1C =0.
 ENUL =1.0E-05 ;ENUT = GRND3
 ENUTA =0. ;ENUTB =0. ;ENUTC =0.
 IENUTA = 0
 PRNDTL(V1)=1. ;PRNDTL(W1)=1.
 PRNDTL(KE)=1. ;PRNDTL(EP)=1.
 PRNDTL(H1)=1. ;PRNDTL(MIXF)=1.
 PRT(V1)=1. ;PRT(W1)=1.
 PRT(KE)=1. ;PRT(EP)=1.314
 PRT(H1)=1. ;PRT(MIXF)=1.
 CP1 = GRND10 ;CP2 =1.
 CP1A =1500. ;CP1B =1500. ;CP1C =1500. ;CP1D =0.
 ************************************************************
  Group 10.Inter-Phase Transfer Processes
 ************************************************************
  Group 11.Initial field variables (PHIs)
 FIINIT(P1)=1.0E-10 ;FIINIT(V1)=1.0E-10
 FIINIT(W1)=0.6 ;FIINIT(KE)=9.0E-04
 FIINIT(EP)=8.8722E-03 ;FIINIT(H1)=4.94335E+07
 FIINIT(NOSR)=1.0E-10 ;FIINIT(CRKT)=0.
 FIINIT(XO2)=0. ;FIINIT(XOH)=0.
 FIINIT(XO)=0. ;FIINIT(XH)=0.
 FIINIT(XN)=0. ;FIINIT(XNO)=0.
 FIINIT(ENUT)=1.0E-10 ;FIINIT(FUEL)=1.0E-10
 FIINIT(PROD)=1.0E-10 ;FIINIT(OXID)=1.0E-10
 FIINIT(RHO1)=1.0E-10 ;FIINIT(TMP1)=1.0E-10
 FIINIT(MIXF)=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(KESOURCE,PHASEM, 0, 0, 0, 0, 0, 0, 1, 1)
 COVAL(KESOURCE,KE , GRND4 , GRND4 )
 COVAL(KESOURCE,EP , GRND4 , GRND4 )
 
 PATCH(INLETF ,LOW , 1, 1, 1, 12, 1, 1, 1, 1)
 COVAL(INLETF ,P1 , FIXFLU ,1.60247 )
 COVAL(INLETF ,W1 ,0. ,0.6 )
 COVAL(INLETF ,KE ,0. ,9.0E-04 )
 COVAL(INLETF ,EP ,0. ,8.8722E-03 )
 COVAL(INLETF ,H1 ,0. ,4.94335E+07 )
 COVAL(INLETF ,MIXF,0. ,1. )
 
 PATCH(INLETA ,LOW , 1, 1, 13, 24, 1, 1, 1, 1)
 COVAL(INLETA ,P1 , FIXFLU ,10.129744 )
 COVAL(INLETA ,W1 ,0. ,5.892573 )
 COVAL(INLETA ,KE ,0. ,0.086806 )
 COVAL(INLETA ,EP ,0. ,8.404124 )
 COVAL(INLETA ,H1 ,0. ,1.215E+06 )
 COVAL(INLETA ,MIXF,0. ,0. )
 
 PATCH(OUTLET ,HIGH , 1, 1, 1, 24, 35, 35, 1, 1)
 COVAL(OUTLET ,P1 ,1. ,0. )
 COVAL(OUTLET ,H1 ,0. , SAME )
 COVAL(OUTLET ,FUEL,0. , SAME )
 COVAL(OUTLET ,MIXF,0. , SAME )
 
 PATCH(WFNN ,NWALL , 1, 1, 24, 24, 1, 35, 1, 1)
 COVAL(WFNN ,W1 , GRND2 ,0. )
 COVAL(WFNN ,KE , GRND2 , GRND2 )
 COVAL(WFNN ,EP , GRND2 , GRND2 )
 XCYCLE = F
 EGWF = T
 WALLCO = GRND2
 ************************************************************
  Group 14. Downstream Pressure For PARAB
 ************************************************************
  Group 15. Terminate Sweeps
 LSWEEP = 250 ;ISWC1 = 1
 LITHYD = 1 ;LITFLX = 1 ;LITC = 1 ;ITHC1 = 1
 SELREF = T
 RESFAC =1.0E-05
 ************************************************************
  Group 16. Terminate Iterations
 LITER(P1)=25 ;LITER(V1)=10
 LITER(W1)=10 ;LITER(KE)=20
 LITER(EP)=20 ;LITER(H1)=20
 LITER(MIXF)=20
 ENDIT(P1)=1.0E-03 ;ENDIT(V1)=1.0E-03
 ENDIT(W1)=1.0E-03 ;ENDIT(KE)=1.0E-03
 ENDIT(EP)=1.0E-03 ;ENDIT(H1)=1.0E-03
 ENDIT(MIXF)=1.0E-03
 ************************************************************
  Group 17. Relaxation
 RELAX(P1,LINRLX,1.)
 RELAX(V1,FALSDT,2.909231E-04)
 RELAX(W1,FALSDT,2.909231E-03)
 RELAX(KE,FALSDT,2.909231E-03)
 RELAX(EP,FALSDT,2.909231E-03)
 RELAX(H1,FALSDT,0.029092)
 RELAX(NOSR,LINRLX,1.)
 RELAX(CRKT,LINRLX,1.)
 RELAX(XO2,LINRLX,1.)
 RELAX(XOH,LINRLX,1.)
 RELAX(XO,LINRLX,1.)
 RELAX(XH,LINRLX,1.)
 RELAX(XN,LINRLX,1.)
 RELAX(XNO,LINRLX,7.273077E-04)
 RELAX(ENUT,LINRLX,1.)
 RELAX(FUEL,LINRLX,1.)
 RELAX(PROD,LINRLX,1.)
 RELAX(OXID,LINRLX,1.)
 RELAX(RHO1,LINRLX,0.1)
 RELAX(TMP1,LINRLX,1.)
 RELAX(MIXF,FALSDT,0.029092)
 KELIN = 0
 OVRRLX =0.
 EXPERT = F ;NNORSL = F
 ************************************************************
  Group 18. Limits
 VARMAX(P1)=1.0E+10 ;VARMIN(P1)=-1.0E+10
 VARMAX(V1)=1.0E+06 ;VARMIN(V1)=-1.0E+06
 VARMAX(W1)=1.0E+06 ;VARMIN(W1)=-1.0E+06
 VARMAX(KE)=1.0E+10 ;VARMIN(KE)=1.0E-10
 VARMAX(EP)=1.0E+10 ;VARMIN(EP)=1.0E-10
 VARMAX(H1)=1.0E+10 ;VARMIN(H1)=-1.0E+10
 VARMAX(NOSR)=1.0E+10 ;VARMIN(NOSR)=-1.0E+10
 VARMAX(CRKT)=1.0E+10 ;VARMIN(CRKT)=-1.0E+10
 VARMAX(XO2)=1.0E+10 ;VARMIN(XO2)=-1.0E+10
 VARMAX(XOH)=1.0E+10 ;VARMIN(XOH)=-1.0E+10
 VARMAX(XO)=1.0E+10 ;VARMIN(XO)=-1.0E+10
 VARMAX(XH)=1.0E+10 ;VARMIN(XH)=-1.0E+10
 VARMAX(XN)=1. ;VARMIN(XN)=0.
 VARMAX(XNO)=1. ;VARMIN(XNO)=0.
 VARMAX(ENUT)=1.0E+10 ;VARMIN(ENUT)=-1.0E+10
 VARMAX(FUEL)=1. ;VARMIN(FUEL)=0.
 VARMAX(PROD)=1. ;VARMIN(PROD)=0.
 VARMAX(OXID)=1. ;VARMIN(OXID)=0.
 VARMAX(RHO1)=50. ;VARMIN(RHO1)=1.0E-03
 VARMAX(TMP1)=4000. ;VARMIN(TMP1)=28.9
 VARMAX(MIXF)=1. ;VARMIN(MIXF)=0.
 ************************************************************
  Group 19. Data transmitted to GROUND
 GENK = T
 PARSOL = F
 ISG62 = 1
 SPEDAT(SET,GXMONI,PLOTALL,L,T)
 ************************************************************
  Group 20. Preliminary Printout
 DISTIL = T ;NULLPR = F
 NDST = 0
 DSTTOL =1.0E-02
 EX(P1)=58.290001 ;EX(V1)=0.03029
 EX(W1)=10.95 ;EX(KE)=0.7682
 EX(EP)=211.300003 ;EX(H1)=6.619E+06
 EX(NOSR)=1.0E-10 ;EX(CRKT)=0.
 EX(XO2)=0. ;EX(XOH)=0.
 EX(XO)=0. ;EX(XH)=0.
 EX(XN)=0. ;EX(XNO)=0.
 EX(ENUT)=4.299E-04 ;EX(FUEL)=0.07205
 EX(PROD)=0.7303 ;EX(OXID)=0.1977
 EX(RHO1)=0.7279 ;EX(TMP1)=2059.
 EX(MIXF)=0.1121
 ************************************************************
  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(V1,Y,N,Y,Y,Y,Y)
 OUTPUT(W1,Y,N,Y,Y,Y,Y)
 OUTPUT(KE,Y,N,Y,Y,Y,Y)
 OUTPUT(EP,Y,N,Y,Y,Y,Y)
 OUTPUT(H1,Y,N,Y,Y,Y,Y)
 OUTPUT(NOSR,N,N,N,N,N,N)
 OUTPUT(CRKT,N,N,N,N,N,N)
 OUTPUT(XO2,N,N,N,N,N,N)
 OUTPUT(XOH,N,N,N,N,N,N)
 OUTPUT(XO,N,N,N,N,N,N)
 OUTPUT(XH,N,N,N,N,N,N)
 OUTPUT(XN,N,N,N,N,N,N)
 OUTPUT(XNO,N,N,N,N,N,N)
 OUTPUT(ENUT,Y,N,Y,N,N,N)
 OUTPUT(FUEL,Y,N,Y,N,N,N)
 OUTPUT(PROD,Y,N,Y,N,N,N)
 OUTPUT(OXID,Y,N,Y,N,N,N)
 OUTPUT(RHO1,Y,N,Y,N,N,N)
 OUTPUT(TMP1,Y,N,Y,Y,Y,Y)
 OUTPUT(MIXF,Y,N,Y,Y,Y,Y)
 ************************************************************
  Group 22. Monitor Print-Out
 IXMON = 1 ;IYMON = 9 ;IZMON = 18
 NPRMON = 1 ;NPRMNT = 1 ;TSTSWP = -1
 UWATCH = T ;USTEER = T
 HIGHLO = F
 ************************************************************
  Group 23.Field Print-Out & Plot Control
 NPRINT = 250 ;NUMCLS = 5
 NYPRIN = -1 ;IYPRF = 1 ;IYPRL = 10000
 NZPRIN = 1 ;IZPRF = 1 ;IZPRL = 10000
 XZPR = F ;YZPR = T
 IPLTF = 1 ;IPLTL = 250 ;NPLT = 5
 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