TALK=T;RUN(1,1)
  DISPLAY


   IMMERSOL  2D, H1, SCRS, WALL
             Radiative heat exchange in a model burner.
             IMMERSOL-SCRS-WALL treatment.

   The emissivity and scattering coefficient are set by way of
   the whole-field stored variables EMIS and SCAT, the values
   of which are caused to vary with product composition by means of
   In-Form.


  ENDDIS
  PHOTON USE
   p ; ; ; ; ;

   set prop off
   msg Computational Domain:
   gr i 1
   use patgeo
   msg Press Any Key to Continue...
   pause
   cl
   set vec av off
   msg Velocity Vectors:
   vec i 1 sh
   msg Press Any Key to Continue...
   pause
   cl
   msg Contours of Pressure:
   con p1 i 1 fi;0.005
   pause
   cl
   msg Contours of: tmp1
   con tmp1 i 1 fi;0.005
   pause
   cl
   msg Contours of t3:
   con t3 i 1 fi;0.005
   pause
   cl
   msg Contours of: emis
   con emis i 1 fi;0.005
   pause
   cl
   msg Contours of scat
   con scat i 1 fi;0.005
   pause
   cl
   msg Contours of qrz:
   con qrz i 1 fi;0.005
   pause
   cl
   msg Contours of qry:
   con qry i 1 fi;0.005
   msg Press E  to exit PHOTON ...
  ENDUSE
 ************************************************************
  Group 1. Run Title and Number
 ************************************************************
 ************************************************************
 
 TEXT(IMMERSOL-SCRS 2D model of burner    :212)
 
 ************************************************************
 ************************************************************
 
 IRUNN = 1 ;LIBREF = 1
 ************************************************************
  Group 2. Time dependence
 STEADY = T
 ************************************************************
  Group 3. X-Direction Grid Spacing
 CARTES = F
 NX = 1
 XULAST =0.03
 XFRAC(1)=1.
 ************************************************************
  Group 4. Y-Direction Grid Spacing
 NY = 15
 YVLAST =0.065
 YFRAC(1)=0.046154 ;YFRAC(2)=0.092308
 YFRAC(3)=0.138462 ;YFRAC(4)=0.184615
 YFRAC(5)=0.230769 ;YFRAC(6)=0.307692
 YFRAC(7)=0.384615 ;YFRAC(8)=0.461538
 YFRAC(9)=0.538462 ;YFRAC(10)=0.615385
 YFRAC(11)=0.692308 ;YFRAC(12)=0.769231
 YFRAC(13)=0.846154 ;YFRAC(14)=0.923077
 YFRAC(15)=1.
 ************************************************************
  Group 5. Z-Direction Grid Spacing
 PARAB = F
 NZ = 25
 ZWLAST =0.255
 ZFRAC(1)=0.019608 ;ZFRAC(2)=0.039216
 ZFRAC(3)=0.058824 ;ZFRAC(4)=0.078431
 ZFRAC(5)=0.098039 ;ZFRAC(6)=0.117647
 ZFRAC(7)=0.130719 ;ZFRAC(8)=0.143791
 ZFRAC(9)=0.156863 ;ZFRAC(10)=0.180392
 ZFRAC(11)=0.203922 ;ZFRAC(12)=0.227451
 ZFRAC(13)=0.25098 ;ZFRAC(14)=0.27451
 ZFRAC(15)=0.287582 ;ZFRAC(16)=0.300654
 ZFRAC(17)=0.313725 ;ZFRAC(18)=0.39951
 ZFRAC(19)=0.485294 ;ZFRAC(20)=0.571078
 ZFRAC(21)=0.656863 ;ZFRAC(22)=0.742647
 ZFRAC(23)=0.828431 ;ZFRAC(24)=0.914216
 ZFRAC(25)=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(16)=MIXF ;NAME(133)=EPKE
 NAME(134)=ENUT ;NAME(135)=GEN1
 NAME(136)=QRZ ;NAME(137)=QRY
 NAME(138)=SPH1 ;NAME(139)=RHO1
 NAME(140)=TMP1 ;NAME(141)=PROD
 NAME(142)=OXID ;NAME(143)=PRPS
 NAME(144)=FUEL ;NAME(145)=LTLS
 NAME(146)=WDIS ;NAME(147)=WGAP
 NAME(148)=T3 ;NAME(149)=SCAT
 NAME(150)=EMIS
    * 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,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ALA = F ;ADDDIF = F
 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 =1. ;TMP1 = GRND8 ;EL1 = GRND4
 TSURR =0. ;TEMP0 =0. ;PRESS0 =8.0E+05
 DVO1DT =0. ;DRH1DP =0.
 TMP1A =1500. ;TMP1B =1500. ;TMP1C =1500.
 TMP2A =0.054825 ;TMP2B =4.9E+07 ;TMP2C =0.
 EMISS =1. ;SCATT =0.
 RADIA =0. ;RADIB =0.
 EL1A =0. ;EL1B =0. ;EL1C =0.
 ENUL =9.983361E-06 ;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.
 PRNDTL(FUEL)=1. ;PRNDTL(LTLS)=1.
 PRNDTL(T3)=1.
 PRT(V1)=1. ;PRT(W1)=1.
 PRT(KE)=1. ;PRT(EP)=1.314
 PRT(H1)=1. ;PRT(MIXF)=1.
 PRT(FUEL)=1. ;PRT(LTLS)=1.
 PRT(T3)=1.
 CP1 =1. ;CP2 =1.
   *  List of user-defined materials to be read by EARTH
    MATFLG=T;IMAT=1   
   *  Name
   *Ind. Dens.  Viscos.  Spec.heat  Conduct.  Expans.  Compr.
   *  
    30 GRND6 9.983E-6 GRND10 0.0263 3.33E-3 3.41E-3
   *       constants for GRND option no 1
    16.0 29.0 28.0
   *       constants for GRND option no 2
    1.5E3 1.5E3 1.5E3
 ************************************************************
  Group 10.Inter-Phase Transfer Processes
 ************************************************************
  Group 11.Initial field variables (PHIs)
 FIINIT(P1)=1.0E-10 ;FIINIT(V1)=1.0E-10
 FIINIT(W1)=10. ;FIINIT(KE)=11.25
 FIINIT(EP)=353.255707 ;FIINIT(H1)=1.1595E+06
 FIINIT(MIXF)=0.054825 ;FIINIT(EPKE)=1.0E-10
 FIINIT(ENUT)=1.0E-10 ;FIINIT(GEN1)=1.0E-10
 FIINIT(QRZ)=1.0E-10 ;FIINIT(QRY)=1.0E-10
 FIINIT(SPH1)=1.0E-10 ;FIINIT(RHO1)=1.0E-10
 FIINIT(TMP1)=1.0E-10 ;FIINIT(PROD)=1.0E-10
 FIINIT(OXID)=1.0E-10 ;FIINIT(PRPS)=30.
 FIINIT(FUEL)=0.054825 ;FIINIT(LTLS)=1.0E-10
 FIINIT(WDIS)=0.1 ;FIINIT(WGAP)=1.0E-10
 FIINIT(T3)=1.0E-10 ;FIINIT(SCAT)=0.
 FIINIT(EMIS)=1.
 
 PATCH(SOL1 ,INIVAL, 1, 1, 1, 5, 7, 9, 1, 1)
 INIT(SOL1 ,H1 ,0. ,3.65629E+05 )
 INIT(SOL1 ,PRPS,0. ,111. )
 INIT(SOL1 ,EMIS,0. ,0.9 )
 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(IN1 ,LOW , 1, 1, 1, 5, 1, 1, 1, 1)
 COVAL(IN1 ,P1 , FIXFLU ,360.600006 )
 COVAL(IN1 ,V1 ,0. ,0. )
 COVAL(IN1 ,W1 ,0. ,100. )
 COVAL(IN1 ,KE ,0. ,0.25 )
 COVAL(IN1 ,EP ,0. ,58.752605 )
 COVAL(IN1 ,H1 ,0. ,3.845904E+06 )
 COVAL(IN1 ,MIXF,0. ,0.054825 )
 COVAL(IN1 ,FUEL,0. ,0.054825 )
 
 PATCH(IN2 ,NORTH , 1, 1, 15, 15, 15, 17, 1, 1)
 COVAL(IN2 ,P1 , FIXFLU ,8.157E-03 )
 COVAL(IN2 ,V1 ,0. ,-40. )
 COVAL(IN2 ,W1 ,0. ,0. )
 COVAL(IN2 ,KE ,0. ,0.123 )
 COVAL(IN2 ,EP ,0. ,8.429416 )
 COVAL(IN2 ,H1 ,0. ,1.1595E+06 )
 
 PATCH(OUT ,HIGH , 1, 1, 1, 15, 25, 25, 1, 1)
 COVAL(OUT ,P1 ,1000. ,0. )
 COVAL(OUT ,KE ,0. , SAME )
 COVAL(OUT ,EP ,0. , SAME )
 
 PATCH(CHSOTB ,PHASEM, 1, 1, 1, 15, 1, 25, 1, 1)
 COVAL(CHSOTB ,FUEL, GRND9 , GRND9 )
 
 PATCH(IMSWL1 ,LWALL , 1, 1, 6, 15, 1, 1, 1, 1)
 COVAL(IMSWL1 ,V1 , GRND2 ,0. )
 COVAL(IMSWL1 ,KE , GRND2 , GRND2 )
 COVAL(IMSWL1 ,EP , GRND2 , GRND2 )
 COVAL(IMSWL1 ,H1 , GRND2 , GRND4 )
 COVAL(IMSWL1 ,T3 , GRND4 ,773. )
 
 PATCH(IMSWL2 ,NWALL , 1, 1, 15, 15, 1, 14, 1, 1)
 COVAL(IMSWL2 ,W1 , GRND2 ,0. )
 COVAL(IMSWL2 ,KE , GRND2 , GRND2 )
 COVAL(IMSWL2 ,EP , GRND2 , GRND2 )
 COVAL(IMSWL2 ,H1 , GRND2 , GRND4 )
 COVAL(IMSWL2 ,T3 , GRND4 ,773. )
 
 PATCH(IMSWL3 ,NWALL , 1, 1, 15, 15, 18, 25, 1, 1)
 COVAL(IMSWL3 ,W1 , GRND2 ,0. )
 COVAL(IMSWL3 ,KE , GRND2 , GRND2 )
 COVAL(IMSWL3 ,EP , GRND2 , GRND2 )
 COVAL(IMSWL3 ,H1 , GRND2 , GRND4 )
 COVAL(IMSWL3 ,T3 , GRND4 ,773. )
 XCYCLE = F
 EGWF = T
 WALLCO = GRND2
 ************************************************************
  Group 14. Downstream Pressure For PARAB
 ************************************************************
  Group 15. Terminate Sweeps
 LSWEEP = 500 ;ISWC1 = 1
 LITHYD = 1 ;LITFLX = 1 ;LITC = 1 ;ITHC1 = 1
 SELREF = T
 RESFAC =1.0E-04
 ************************************************************
  Group 16. Terminate Iterations
 LITER(P1)=20 ;LITER(V1)=10
 LITER(W1)=10 ;LITER(KE)=20
 LITER(EP)=20 ;LITER(H1)=20
 LITER(MIXF)=20 ;LITER(FUEL)=20
 LITER(LTLS)=20 ;LITER(T3)=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 ;ENDIT(FUEL)=1.0E-03
 ENDIT(LTLS)=1.0E-03 ;ENDIT(T3)=1.0E-03
 ************************************************************
  Group 17. Relaxation
 RELAX(P1,LINRLX,0.5)
 RELAX(V1,FALSDT,8.666666E-04)
 RELAX(W1,FALSDT,8.666666E-04)
 RELAX(KE,LINRLX,0.5)
 RELAX(EP,LINRLX,0.5)
 RELAX(H1,LINRLX,0.5)
 RELAX(MIXF,FALSDT,1.0E+09)
 RELAX(EPKE,LINRLX,1.)
 RELAX(ENUT,LINRLX,1.)
 RELAX(GEN1,LINRLX,1.)
 RELAX(QRZ,LINRLX,1.)
 RELAX(QRY,LINRLX,1.)
 RELAX(SPH1,LINRLX,1.)
 RELAX(RHO1,LINRLX,1.)
 RELAX(TMP1,LINRLX,1.)
 RELAX(PROD,LINRLX,1.)
 RELAX(OXID,LINRLX,1.)
 RELAX(PRPS,LINRLX,1.)
 RELAX(FUEL,FALSDT,1.0E+09)
 RELAX(LTLS,FALSDT,1.0E+09)
 RELAX(WDIS,LINRLX,1.)
 RELAX(WGAP,LINRLX,1.)
 RELAX(T3,LINRLX,0.5)
 RELAX(SCAT,LINRLX,1.)
 RELAX(EMIS,LINRLX,1.)
 KELIN = 3
 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(MIXF)=1.0E+10 ;VARMIN(MIXF)=-1.0E+10
 VARMAX(EPKE)=1.0E+10 ;VARMIN(EPKE)=-1.0E+10
 VARMAX(ENUT)=1.0E+10 ;VARMIN(ENUT)=-1.0E+10
 VARMAX(GEN1)=1.0E+10 ;VARMIN(GEN1)=-1.0E+10
 VARMAX(QRZ)=1.0E+10 ;VARMIN(QRZ)=-1.0E+10
 VARMAX(QRY)=1.0E+10 ;VARMIN(QRY)=-1.0E+10
 VARMAX(SPH1)=1.0E+10 ;VARMIN(SPH1)=-1.0E+10
 VARMAX(RHO1)=1.0E+10 ;VARMIN(RHO1)=-1.0E+10
 VARMAX(TMP1)=7730. ;VARMIN(TMP1)=773.
 VARMAX(PROD)=1.0E+10 ;VARMIN(PROD)=-1.0E+10
 VARMAX(OXID)=1.0E+10 ;VARMIN(OXID)=-1.0E+10
 VARMAX(PRPS)=1.0E+10 ;VARMIN(PRPS)=-1.0E+10
 VARMAX(FUEL)=1.0E+10 ;VARMIN(FUEL)=-1.0E+10
 VARMAX(LTLS)=1.0E+10 ;VARMIN(LTLS)=-1.0E+10
 VARMAX(WDIS)=1.0E+10 ;VARMIN(WDIS)=-1.0E+10
 VARMAX(WGAP)=1.0E+10 ;VARMIN(WGAP)=-1.0E+10
 VARMAX(T3)=7730. ;VARMIN(T3)=773.
 VARMAX(SCAT)=1.0E+10 ;VARMIN(SCAT)=-1.0E+10
 VARMAX(EMIS)=1.0E+10 ;VARMIN(EMIS)=-1.0E+10
 ************************************************************
  Group 19. Data transmitted to GROUND
 GENK = T
 PARSOL = F
 ISG62 = 1
 CHSOA =0.054825 ;CHSOB =1.
 CSG10   ='Q1'
 SPEDAT(SET,EMISSIVITY,OFIMSWL1,R,0.9)
 SPEDAT(SET,EMISSIVITY,OFIMSWL3,R,0.9)
 SPEDAT(SET,STORED,EMIS,C,=0.1+2.0*PROD!IMAT<100!ZSLFIN)
 SPEDAT(SET,STORED,SCAT,C,=0.5*EMIS!ZSLFIN)
 SPEDAT(SET,GXMONI,PLOTALL,L,T)
 SPEDAT(SET,MATERIAL,30,L,T)
 SPEDAT(SET,MATERIAL,111,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(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(MIXF,Y,N,Y,Y,Y,Y)
 OUTPUT(EPKE,Y,N,Y,N,N,N)
 OUTPUT(ENUT,Y,N,Y,N,N,N)
 OUTPUT(GEN1,Y,N,Y,N,N,N)
 OUTPUT(QRZ,Y,N,Y,N,N,N)
 OUTPUT(QRY,Y,N,Y,N,N,N)
 OUTPUT(SPH1,Y,N,Y,N,N,N)
 OUTPUT(RHO1,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(PRPS,Y,N,Y,N,N,N)
 OUTPUT(FUEL,Y,N,Y,Y,Y,Y)
 OUTPUT(LTLS,Y,N,Y,Y,Y,Y)
 OUTPUT(WDIS,Y,N,Y,N,N,N)
 OUTPUT(WGAP,Y,N,Y,N,N,N)
 OUTPUT(T3,Y,N,Y,Y,Y,Y)
 OUTPUT(SCAT,Y,N,Y,N,N,N)
 OUTPUT(EMIS,Y,N,Y,N,N,N)
 WALPRN = T
 ************************************************************
  Group 22. Monitor Print-Out
 IXMON = 1 ;IYMON = 8 ;IZMON = 13
 NPRMON = 100000 ;NPRMNT = 1 ;TSTSWP = -1
 UWATCH = T ;USTEER = T
 HIGHLO = F
 ************************************************************
  Group 23.Field Print-Out & Plot Control
 NPRINT = 100000 ;NUMCLS = 5
 NYPRIN = -1 ;IYPRF = 1 ;IYPRL = 10000
 NZPRIN = -1 ;IZPRF = 1 ;IZPRL = 10000
 XZPR = F ;YZPR = F
 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