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



  gr ou z 1
  ve z 1 sh
  msg                    Velocity distribution:
  MSG Press  to continue
  pause
  clear
  msg                    Fuel distribution :
  con fuel z 1 fil;0.01
  msg Press e to END
  ENDUSE
  DISPLAY
      This case describes how the SCRS option in conjuction
      with PLANT can be used to predict the turbulent diffusion
      of three gases with different physical properties and
      eddy break-up model to represent the chemical mass source.
  ENDDIS
     PLANTBEGIN
   *  Chemical reaction sources
PATCH(REAC,PHASEM,1,NX,1,NY,1,NZ,1,LSTEP)
    COF=4.0*EP/(KE+1.e-10)
COVAL(REAC,FUEL,GRND,0.0)
     PLANTEND
 ************************************************************
  Group 1. Run Title and Number
 ************************************************************
 ************************************************************
 
 TEXT(In-Form equivalent of PLANT case Z133   )
 
 ************************************************************
 ************************************************************
 
 IRUNN = 1 ;LIBREF = 733
 ************************************************************
  Group 2. Time dependence
 STEADY = T
 ************************************************************
  Group 3. X-Direction Grid Spacing
 CARTES = F
 NX = 20
 XULAST =1.57
 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 = 15
 YVLAST =1.
 RINNER =2.5 ;SNALFA =0.
 YFRAC(1)=0.05 ;YFRAC(2)=0.1
 YFRAC(3)=0.15 ;YFRAC(4)=0.2
 YFRAC(5)=0.25 ;YFRAC(6)=0.3
 YFRAC(7)=0.35 ;YFRAC(8)=0.4
 YFRAC(9)=0.45 ;YFRAC(10)=0.5
 YFRAC(11)=0.55 ;YFRAC(12)=0.6
 YFRAC(13)=0.65 ;YFRAC(14)=0.7
 YFRAC(15)=0.75
 ************************************************************
  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(5)=V1 ;NAME(12)=KE
 NAME(13)=EP ;NAME(14)=H1
 NAME(145)=TMP1 ;NAME(146)=RHO1
 NAME(147)=PROD ;NAME(148)=OXID
 NAME(149)=FUEL ;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,N)
 SOLUTN(U1,Y,Y,N,N,N,Y)
 SOLUTN(V1,Y,Y,N,N,N,Y)
 SOLUTN(KE,Y,Y,N,N,N,Y)
 SOLUTN(EP,Y,Y,N,N,N,Y)
 SOLUTN(H1,Y,N,N,N,N,Y)
 SOLUTN(TMP1,Y,N,N,N,N,Y)
 SOLUTN(RHO1,Y,N,N,N,N,Y)
 SOLUTN(PROD,Y,N,N,N,N,Y)
 SOLUTN(OXID,Y,N,N,N,N,Y)
 SOLUTN(FUEL,Y,Y,N,N,N,Y)
 SOLUTN(MIXF,Y,Y,N,N,N,Y)
 DEN1 = 146
 TEMP1 = 145
 ************************************************************
  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(V1,Y,Y,Y,Y,Y,Y)
 TERMS(KE,Y,Y,Y,Y,Y,Y)
 TERMS(EP,Y,Y,Y,Y,N,Y)
 TERMS(FUEL,N,Y,Y,Y,N,Y)
 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
 ************************************************************
  Group 9. Properties used if PRPS is not
  stored, and where PRPS = -1.0 if it is!
 RHO1 = GRND6 ;TMP1 = GRND8 ;EL1 = GRND4
 TSURR =0. ;TEMP0 =0. ;PRESS0 =1.0E+05
 DVO1DT =0. ;DRH1DP =0.
 RHO1A =17. ;RHO1B =29. ;RHO1C =46.
 TMP1A =1500. ;TMP1B =1500. ;TMP1C =1500.
 TMP2A =0.999999 ;TMP2B =0. ;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(U1)=1. ;PRNDTL(V1)=1.
 PRNDTL(KE)=1. ;PRNDTL(EP)=1.
 PRNDTL(FUEL)=1. ;PRNDTL(MIXF)=1.
 PRT(U1)=1. ;PRT(V1)=1.
 PRT(KE)=1. ;PRT(EP)=1.314
 PRT(FUEL)=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(U1)=-11.666667
 FIINIT(V1)=1.0E-10 ;FIINIT(KE)=10.
 FIINIT(EP)=20. ;FIINIT(H1)=7.5E+05
 FIINIT(TMP1)=1.0E-10 ;FIINIT(RHO1)=0.75
 FIINIT(PROD)=0.92 ;FIINIT(OXID)=0.06
 FIINIT(FUEL)=0.02 ;FIINIT(MIXF)=0.94
   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, 1, 20, 1, 15, 1, 1, 1, 1)
 COVAL(KESOURCE,KE , GRND4 , GRND4 )
 COVAL(KESOURCE,EP , GRND4 , GRND4 )
 
 PATCH(INL1 ,EAST , 20, 20, 1, 5, 1, 1, 1, 1)
 COVAL(INL1 ,P1 , FIXFLU ,11.25 )
 COVAL(INL1 ,U1 ,0. ,-15. )
 COVAL(INL1 ,V1 ,0. ,0. )
 COVAL(INL1 ,KE ,0. ,10. )
 COVAL(INL1 ,EP ,0. ,20. )
 COVAL(INL1 ,H1 ,0. ,1.0E+05 )
 COVAL(INL1 ,FUEL,0. ,1.0E-05 )
 COVAL(INL1 ,MIXF,0. ,1.0E-05 )
 
 PATCH(INL2 ,EAST , 20, 20, 6, 10, 1, 1, 1, 1)
 COVAL(INL2 ,P1 , FIXFLU ,3.75 )
 COVAL(INL2 ,U1 ,0. ,-5. )
 COVAL(INL2 ,V1 ,0. ,0. )
 COVAL(INL2 ,KE ,0. ,20. )
 COVAL(INL2 ,EP ,0. ,40. )
 COVAL(INL2 ,FUEL,0. ,0.025 )
 COVAL(INL2 ,MIXF,0. ,0.05 )
 
 PATCH(INL3 ,EAST , 20, 20, 11, 15, 1, 1, 1, 1)
 COVAL(INL3 ,P1 , FIXFLU ,11.25 )
 COVAL(INL3 ,U1 ,0. ,-15. )
 COVAL(INL3 ,V1 ,0. ,0. )
 COVAL(INL3 ,KE ,0. ,10. )
 COVAL(INL3 ,EP ,0. ,20. )
 COVAL(INL3 ,FUEL,0. ,1.0E-05 )
 COVAL(INL3 ,MIXF,0. ,1.0E-05 )
 
 PATCH(OUT ,WEST , 1, 1, 1, 15, 1, 1, 1, 1)
 COVAL(OUT ,P1 ,1. ,0. )
 COVAL(OUT ,KE ,0. , SAME )
 COVAL(OUT ,EP ,0. , SAME )
 COVAL(OUT ,FUEL,0. , SAME )
 COVAL(OUT ,MIXF,0. , SAME )
 
 PATCH(WALLS ,SWALL , 1, 20, 1, 1, 1, 1, 1, 1)
 COVAL(WALLS ,U1 , GRND2 ,0. )
 COVAL(WALLS ,KE , GRND2 , GRND2 )
 COVAL(WALLS ,EP , GRND2 , GRND2 )
 
 PATCH(WALLN ,NWALL , 1, 20, 15, 15, 1, 1, 1, 1)
 COVAL(WALLN ,U1 , GRND2 ,0. )
 COVAL(WALLN ,KE , GRND2 , GRND2 )
 COVAL(WALLN ,EP , GRND2 , GRND2 )
 
 PATCH(IREAC ,PHASEM, 1, 20, 1, 15, 1, 1, 1, 1)
 COVAL(IREAC ,FUEL,In-Form:source - see Grp 19)
 XCYCLE = F
 EGWF = T
 WALLCO = GRND2
 ************************************************************
  Group 14. Downstream Pressure For PARAB
 ************************************************************
  Group 15. Terminate Sweeps
 LSWEEP = 100 ;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)=1
 LITER(V1)=1 ;LITER(KE)=1
 LITER(EP)=1 ;LITER(FUEL)=1
 LITER(MIXF)=1
 ENDIT(P1)=1.0E-03 ;ENDIT(U1)=1.0E-06
 ENDIT(V1)=1.0E-06 ;ENDIT(KE)=1.0E-06
 ENDIT(EP)=1.0E-06 ;ENDIT(FUEL)=1.0E-06
 ENDIT(MIXF)=1.0E-06
 ************************************************************
  Group 17. Relaxation
 RELAX(P1,LINRLX,0.5)
 RELAX(U1,FALSDT,0.033333)
 RELAX(V1,FALSDT,0.033333)
 RELAX(KE,FALSDT,0.033333)
 RELAX(EP,FALSDT,0.033333)
 RELAX(H1,LINRLX,1.)
 RELAX(TMP1,LINRLX,1.)
 RELAX(RHO1,LINRLX,1.)
 RELAX(PROD,LINRLX,1.)
 RELAX(OXID,LINRLX,1.)
 RELAX(FUEL,FALSDT,1.0E-02)
 RELAX(MIXF,FALSDT,1.0E+09)
 KELIN = 0
 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(V1)=1.0E+06 ;VARMIN(V1)=-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(TMP1)=1.0E+10 ;VARMIN(TMP1)=-1.0E+10
 VARMAX(RHO1)=1.0E+10 ;VARMIN(RHO1)=-1.0E+10
 VARMAX(PROD)=1.0E+10 ;VARMIN(PROD)=-1.0E+10
 VARMAX(OXID)=1.0E+10 ;VARMIN(OXID)=-1.0E+10
 VARMAX(FUEL)=1.0E+10 ;VARMIN(FUEL)=-1.0E+10
 VARMAX(MIXF)=1.0E+10 ;VARMIN(MIXF)=-1.0E+10
 ************************************************************
  Group 19. Data transmitted to GROUND
 GENK = T
 PARSOL = F
 ISG62 = 1
 SPEDAT(SET,SOURCE,FUEL!IREAC,C,=4.0*EP/(KE+1.E-10)*(0-FUEL))
 SPEDAT(SET,GXMONI,PLOTALL,L,T)
 ************************************************************
  Group 20. Preliminary Printout
 DISTIL = T ;NULLPR = F
 NDST = 0
 DSTTOL =1.0E-02
 EX(P1)=11.59 ;EX(U1)=12.52
 EX(V1)=0.2344 ;EX(KE)=16.66
 EX(EP)=56.169998 ;EX(H1)=7.5E+05
 EX(TMP1)=500. ;EX(RHO1)=0.6991
 EX(PROD)=6.618E-03 ;EX(OXID)=0.9927
 EX(FUEL)=6.621E-04 ;EX(MIXF)=7.28E-03
 ************************************************************
  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,Y,N,Y,Y,Y)
 OUTPUT(U1,Y,Y,N,Y,Y,Y)
 OUTPUT(V1,Y,Y,N,Y,Y,Y)
 OUTPUT(KE,Y,Y,N,Y,Y,Y)
 OUTPUT(EP,Y,Y,N,Y,Y,Y)
 OUTPUT(H1,Y,Y,N,Y,Y,Y)
 OUTPUT(TMP1,Y,N,Y,N,N,N)
 OUTPUT(RHO1,Y,N,Y,N,N,N)
 OUTPUT(PROD,Y,Y,N,Y,Y,Y)
 OUTPUT(OXID,Y,Y,N,Y,Y,Y)
 OUTPUT(FUEL,Y,Y,N,Y,Y,Y)
 OUTPUT(MIXF,Y,Y,N,Y,Y,Y)
 ************************************************************
  Group 22. Monitor Print-Out
 IXMON = 16 ;IYMON = 7 ;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
 NYPRIN = -1 ;IYPRF = 1 ;IYPRL = 10000
 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