TALK=T;RUN(1,1)
  DISPLAY
  The problem considered is methane gas entering at one end of
  a duct, and oxidant injected downstream at a uniform rate along
  the duct. The combustion of the resulting mixture is modelled by
  means of the built-in SCRS (simple-chemical reaction scheme).

  The reaction can be diffusion- or chemistry-controlled, and for
  the latter, the option is provided for calculations to be made
  with either the eddy-break-up model or the Arrhenius law.

  The gas emits and aborbs radiant energy which is modelled by means
  of the 1-flux radiation model. The fuel inlet and gas outlet is
  presumed transparent to radiation.
  ENDDIS
  PHOTON USE
    AUTOPLOT
    FILE
    PHI 5

    cl;D 1 TMP1;COL3 1
    text
     1

     axial temperature profile
    0.13201E+04 0.25859E+04 CR
    redr
    PAUSE
    CL
    D 1 FUEL;D 1 OXID;D 1 PROD
    COL3 1;COL9 2;COLF 3
    text
     1

     profiles of fuel, oxidant & product mass fractions
    0.75201E+03 0.25859E+04 CR
    redr
    PAUSE
  ENDUSE
 ************************************************************
  Group 1. Run Title and Number
 ************************************************************
 ************************************************************
 
 TEXT(SCRS Combustion In A Duct               )
 
 ************************************************************
 ************************************************************
 
 IRUNN = 1 ;LIBREF = 14
 ************************************************************
  Group 2. Time dependence
 STEADY = T
 ************************************************************
  Group 3. X-Direction Grid Spacing
 CARTES = T
 NX = 30
 XULAST =1.
 XFRAC(1)=0.016883 ;XFRAC(2)=0.038787
 XFRAC(3)=0.063096 ;XFRAC(4)=0.08911
 XFRAC(5)=0.116471 ;XFRAC(6)=0.144956
 XFRAC(7)=0.17441 ;XFRAC(8)=0.204721
 XFRAC(9)=0.235801 ;XFRAC(10)=0.267581
 XFRAC(11)=0.300003 ;XFRAC(12)=0.333021
 XFRAC(13)=0.366595 ;XFRAC(14)=0.40069
 XFRAC(15)=0.435275 ;XFRAC(16)=0.470325
 XFRAC(17)=0.505817 ;XFRAC(18)=0.541728
 XFRAC(19)=0.578041 ;XFRAC(20)=0.614739
 XFRAC(21)=0.651805 ;XFRAC(22)=0.689226
 XFRAC(23)=0.726989 ;XFRAC(24)=0.765082
 XFRAC(25)=0.803494 ;XFRAC(26)=0.842214
 XFRAC(27)=0.881234 ;XFRAC(28)=0.920543
 XFRAC(29)=0.960135 ;XFRAC(30)=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 = T
 NAME(1)=P1 ;NAME(3)=U1
 NAME(14)=H1 ;NAME(144)=RADX
 NAME(145)=FUEL ;NAME(146)=DEN1
 NAME(147)=TMP1 ;NAME(148)=PROD
 NAME(149)=OXID ;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,N,N,N,Y)
 SOLUTN(U1,Y,Y,N,N,N,Y)
 SOLUTN(H1,Y,Y,N,N,N,Y)
 SOLUTN(RADX,Y,Y,N,N,N,N)
 SOLUTN(FUEL,Y,N,N,N,N,Y)
 SOLUTN(DEN1,Y,N,N,N,N,Y)
 SOLUTN(TMP1,Y,N,N,N,N,Y)
 SOLUTN(PROD,Y,N,N,N,N,Y)
 SOLUTN(OXID,Y,N,N,N,N,Y)
 SOLUTN(MIXF,Y,Y,N,N,N,Y)
 DEN1 = 146
 TEMP1 = 147
 ************************************************************
  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(H1,N,Y,Y,N,Y,N)
 TERMS(RADX,N,N,Y,N,Y,N)
 TERMS(MIXF,N,Y,Y,Y,Y,Y)
 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 = GRND6 ;TMP1 = GRND7 ;EL1 =0.
 TSURR =0. ;TEMP0 =0. ;PRESS0 =1.01325E+05
 DVO1DT =0. ;DRH1DP =0.
 RHO1A =16. ;RHO1B =29. ;RHO1C =28.
 TMP1A =0. ;TMP1B =1. ;TMP1C =0.
 TMP2A =0.054825 ;TMP2B =4.9E+07 ;TMP2C =0.
 EMISS =0. ;SCATT =0.
 RADIA =0.2 ;RADIB =0.05
 ENUL =1.0E-05 ;ENUT =0.
 PRNDTL(U1)=1. ;PRNDTL(H1)=1.
 PRNDTL(RADX)=-GRND1 ;PRNDTL(MIXF)=1.
 PRT(U1)=1. ;PRT(H1)=1.
 PRT(RADX)=1.0E+10 ;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(U1)=1.
 FIINIT(H1)=4.9432E+07 ;FIINIT(RADX)=459.245697
 FIINIT(FUEL)=1. ;FIINIT(DEN1)=1.0E-10
 FIINIT(TMP1)=1.0E-10 ;FIINIT(PROD)=1.0E-10
 FIINIT(OXID)=1.0E-10 ;FIINIT(MIXF)=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(RADISO ,FREEVL, 0, 0, 0, 0, 0, 0, 1, 1)
 COVAL(RADISO ,H1 , GRND1 , GRND1 )
 COVAL(RADISO ,RADX, GRND1 , GRND1 )
 
 PATCH(FUIN ,CELL , 1, 1, 1, 1, 1, 1, 1, 1)
 COVAL(FUIN ,P1 , FIXFLU ,1. )
 COVAL(FUIN ,U1 ,0. ,1. )
 COVAL(FUIN ,H1 ,0. ,4.9432E+07 )
 COVAL(FUIN ,RADX,1. ,459.245697 )
 COVAL(FUIN ,MIXF,0. ,1. )
 
 PATCH(OUT ,HIGH , 30, 30, 1, 1, 1, 1, 1, 1)
 COVAL(OUT ,P1 ,1. ,0. )
 COVAL(OUT ,RADX,1. ,459.245697 )
 
 PATCH(OX1 ,NORTH , 2, 30, 1, 1, 1, 1, 1, 1)
 COVAL(OX1 ,P1 , FIXFLU ,34.48 )
 COVAL(OX1 ,U1 , FIXFLU ,0. )
 COVAL(OX1 ,H1 ,0. ,4.32E+05 )
 COVAL(OX1 ,MIXF,0. ,0. )
 XCYCLE = F
 EGWF = T
 WALLCO = GRND2
 ************************************************************
  Group 14. Downstream Pressure For PARAB
 ************************************************************
  Group 15. Terminate Sweeps
 LSWEEP = 25 ;ISWC1 = 1
 LITHYD = 1 ;LITFLX = 1 ;LITC = 1 ;ITHC1 = 1
 SELREF = T
 RESFAC =1.0E-05
 ************************************************************
  Group 16. Terminate Iterations
 LITER(P1)=20 ;LITER(U1)=10
 LITER(H1)=20 ;LITER(RADX)=2
 LITER(MIXF)=20
 ENDIT(P1)=1.0E-03 ;ENDIT(U1)=1.0E-03
 ENDIT(H1)=1.0E-03 ;ENDIT(RADX)=1.0E-03
 ENDIT(MIXF)=1.0E-03
 ************************************************************
  Group 17. Relaxation
 RELAX(P1,LINRLX,1.)
 RELAX(U1,FALSDT,1.)
 RELAX(H1,FALSDT,1.0E+09)
 RELAX(RADX,FALSDT,1.0E+09)
 RELAX(FUEL,LINRLX,1.)
 RELAX(DEN1,LINRLX,0.3)
 RELAX(TMP1,LINRLX,1.)
 RELAX(PROD,LINRLX,1.)
 RELAX(OXID,LINRLX,1.)
 RELAX(MIXF,FALSDT,1.0E+09)
 OVRRLX =0.
 EXPERT = F ;NNORSL = F
 ************************************************************
  Group 18. Limits
 VARMAX(P1)=1.0E+10 ;VARMIN(P1)=-1.0E+10
 VARMAX(U1)=1.0E+06 ;VARMIN(U1)=-1.0E+06
 VARMAX(H1)=1.0E+10 ;VARMIN(H1)=-1.0E+10
 VARMAX(RADX)=1.0E+10 ;VARMIN(RADX)=-1.0E+10
 VARMAX(FUEL)=1. ;VARMIN(FUEL)=0.
 VARMAX(DEN1)=1.0E+10 ;VARMIN(DEN1)=9.749316E-03
 VARMAX(TMP1)=1.0E+10 ;VARMIN(TMP1)=144.
 VARMAX(PROD)=1.0E+10 ;VARMIN(PROD)=-1.0E+10
 VARMAX(OXID)=1.0E+10 ;VARMIN(OXID)=-1.0E+10
 VARMAX(MIXF)=1.0E+10 ;VARMIN(MIXF)=-1.0E+10
 ************************************************************
  Group 19. Data transmitted to GROUND
 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)=3485. ;EX(U1)=76.879997
 EX(H1)=7.232E+06 ;EX(RADX)=9.58E+04
 EX(FUEL)=0.09643 ;EX(DEN1)=0.2204
 EX(TMP1)=1671. ;EX(PROD)=0.7747
 EX(OXID)=0.1289 ;EX(MIXF)=0.1389
 ************************************************************
  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(H1,Y,N,Y,Y,Y,Y)
 OUTPUT(RADX,Y,N,Y,Y,Y,Y)
 OUTPUT(FUEL,Y,N,Y,N,N,N)
 OUTPUT(DEN1,Y,N,Y,N,N,N)
 OUTPUT(TMP1,Y,N,Y,N,N,N)
 OUTPUT(PROD,Y,N,Y,N,N,N)
 OUTPUT(OXID,Y,N,Y,N,N,N)
 OUTPUT(MIXF,Y,N,Y,Y,Y,Y)
 ************************************************************
  Group 22. Monitor Print-Out
 IXMON = 5 ;IYMON = 1 ;IZMON = 1
 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 = 25 ;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