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


   msg Contours of temperature Tem1
   do jj = 1, 6
   con tem1 j jj fi;0.005
   enddo


  ENDUSE
  DISPLAY
  This case uses the geometry and finer grid volumes of F304.

  Temperatures at opposite boundaries along x-direction is
  fixed as boundary conditions. Then, uniform u1 is imposed
  in the direction of the temperature gradient. The soulution
  is one dimensional with exponential profile

            (exp((u1*rho1*cp1)/cond)*x) - 1
  T(x) =(------------------------------------------ )*(T2-T1)+T1
            ( exp((u1*rho1*cp1)/cond)*L) -1

         at x=0 T=T1 ; at x=L T=T2


  ENDDIS
 ************************************************************
  Group 1. Run Title and Number
 ************************************************************
 ************************************************************
 
 TEXT(Simple f304 (tem1 & uniform u1, 3D)     )
 
 ************************************************************
 ************************************************************
 
 IRUNN = 1 ;LIBREF = 0
 ************************************************************
  Group 2. Time dependence
 STEADY = T
 ************************************************************
  Group 3. X-Direction Grid Spacing
 CARTES = T
 NX = 8
 XULAST =8.
 XFRAC(1)=0.125 ;XFRAC(2)=0.25
 XFRAC(3)=0.375 ;XFRAC(4)=0.5
 XFRAC(5)=0.625 ;XFRAC(6)=0.75
 XFRAC(7)=0.875 ;XFRAC(8)=1.
 ************************************************************
  Group 4. Y-Direction Grid Spacing
 NY = 8
 YVLAST =4.
 YFRAC(1)=0.125 ;YFRAC(2)=0.25
 YFRAC(3)=0.375 ;YFRAC(4)=0.5
 YFRAC(5)=0.625 ;YFRAC(6)=0.75
 YFRAC(7)=0.875 ;YFRAC(8)=1.
 ************************************************************
  Group 5. Z-Direction Grid Spacing
 PARAB = F
 NZ = 8
 ZWLAST =4.
 ZFRAC(1)=0.125 ;ZFRAC(2)=0.25
 ZFRAC(3)=0.375 ;ZFRAC(4)=0.5
 ZFRAC(5)=0.625 ;ZFRAC(6)=0.75
 ZFRAC(7)=0.875 ;ZFRAC(8)=1.
 ************************************************************
  Group 6. Body-Fitted Coordinates
 ************************************************************
  Group 7. Variables: STOREd,SOLVEd,NAMEd
 ONEPHS = T
 NAME(3)=U1 ;NAME(5)=V1
 NAME(7)=W1 ;NAME(138)=TCOR
 NAME(139)=TRES ;NAME(140)=GAT1
 NAME(141)=AHT1 ;NAME(142)=ALT1
 NAME(143)=AST1 ;NAME(144)=ANT1
 NAME(145)=AWT1 ;NAME(146)=AET1
 NAME(147)=APT1 ;NAME(148)=TEM1
 NAME(149)=PRPS ;NAME(150)=ASAP
    * Y in SOLUTN argument list denotes:
    * 1-stored 2-solved 3-whole-field
    * 4-point-by-point 5-explicit 6-harmonic averaging 
 SOLUTN(U1,Y,N,N,N,N,Y)
 SOLUTN(V1,Y,N,N,N,N,Y)
 SOLUTN(W1,Y,N,N,N,N,Y)
 SOLUTN(TCOR,Y,N,N,N,N,Y)
 SOLUTN(TRES,Y,N,N,N,N,Y)
 SOLUTN(GAT1,Y,N,N,N,N,Y)
 SOLUTN(AHT1,Y,N,N,N,N,Y)
 SOLUTN(ALT1,Y,N,N,N,N,Y)
 SOLUTN(AST1,Y,N,N,N,N,Y)
 SOLUTN(ANT1,Y,N,N,N,N,Y)
 SOLUTN(AWT1,Y,N,N,N,N,Y)
 SOLUTN(AET1,Y,N,N,N,N,Y)
 SOLUTN(APT1,Y,N,N,N,N,Y)
 SOLUTN(TEM1,Y,Y,Y,N,N,Y)
 SOLUTN(PRPS,Y,N,N,N,N,Y)
 SOLUTN(ASAP,Y,N,N,N,N,Y)
 PRPS = 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(TEM1,N,Y,Y,Y,Y,Y)
 DIFCUT =0.5 ;ZDIFAC =1.
 GALA = F ;ADDDIF = F
 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 =0. ;EL1 =0.
 TSURR =0. ;TEMP0 =0. ;PRESS0 =1.0E+05
 DVO1DT =0. ;DRH1DP =0.
 EMISS =0. ;SCATT =0.
 RADIA =0. ;RADIB =0.
 ENUL =1. ;ENUT =0.
 PRNDTL(TEM1)=1.
 PRT(TEM1)=1.
 CP1 =1. ;CP2 =1.
 ************************************************************
  Group 10.Inter-Phase Transfer Processes
 ************************************************************
  Group 11.Initial field variables (PHIs)
 FIINIT(U1)=0.5 ;FIINIT(V1)=1.0E-10
 FIINIT(W1)=1.0E-10 ;FIINIT(TCOR)=1.0E-10
 FIINIT(TRES)=1.0E-10 ;FIINIT(GAT1)=1.0E-10
 FIINIT(AHT1)=1.0E-10 ;FIINIT(ALT1)=1.0E-10
 FIINIT(AST1)=1.0E-10 ;FIINIT(ANT1)=1.0E-10
 FIINIT(AWT1)=1.0E-10 ;FIINIT(AET1)=1.0E-10
 FIINIT(APT1)=1.0E-10 ;FIINIT(TEM1)=1000.
 FIINIT(PRPS)=-1. ;FIINIT(ASAP)=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(^OB1 ,CELL , 1, 0, 0, 0, 0, 0, 1, 1)
 
 PATCH(^OB3 ,EAST , 3, 0, 0, 0, 0, 0, 1, 1)
 COVAL(^OB3 ,U1 ,0. ,0. )
 COVAL(^OB3 ,V1 ,0. ,0. )
 COVAL(^OB3 ,W1 ,0. ,0. )
 COVAL(^OB3 ,TEM1,0. ,0. )
 XCYCLE = F
 EGWF = T
 WALLCO = GRND2
 ************************************************************
  Group 14. Downstream Pressure For PARAB
 ************************************************************
  Group 15. Terminate Sweeps
 LSWEEP = 1 ;ISWC1 = 1
 LITHYD = 1 ;LITFLX = 1 ;LITC = 1 ;ITHC1 = 1
 SELREF = T
 RESFAC =1.0E-03
 ************************************************************
  Group 16. Terminate Iterations
 LITER(TEM1)=1
 ENDIT(TEM1)=1.0E-03
 ************************************************************
  Group 17. Relaxation
 RELAX(U1,LINRLX,1.)
 RELAX(V1,LINRLX,1.)
 RELAX(W1,LINRLX,1.)
 RELAX(TCOR,LINRLX,1.)
 RELAX(TRES,LINRLX,1.)
 RELAX(GAT1,LINRLX,1.)
 RELAX(AHT1,LINRLX,1.)
 RELAX(ALT1,LINRLX,1.)
 RELAX(AST1,LINRLX,1.)
 RELAX(ANT1,LINRLX,1.)
 RELAX(AWT1,LINRLX,1.)
 RELAX(AET1,LINRLX,1.)
 RELAX(APT1,LINRLX,1.)
 RELAX(TEM1,LINRLX,1.)
 RELAX(PRPS,LINRLX,1.)
 RELAX(ASAP,LINRLX,1.)
 OVRRLX =0.
 EXPERT = F ;NNORSL = F
 ************************************************************
  Group 18. Limits
 VARMAX(U1)=1.0E+06 ;VARMIN(U1)=-1.0E+06
 VARMAX(V1)=1.0E+06 ;VARMIN(V1)=-1.0E+06
 VARMAX(W1)=1.0E+06 ;VARMIN(W1)=-1.0E+06
 VARMAX(TCOR)=1.0E+10 ;VARMIN(TCOR)=-1.0E+10
 VARMAX(TRES)=1.0E+10 ;VARMIN(TRES)=-1.0E+10
 VARMAX(GAT1)=1.0E+10 ;VARMIN(GAT1)=-1.0E+10
 VARMAX(AHT1)=1.0E+10 ;VARMIN(AHT1)=-1.0E+10
 VARMAX(ALT1)=1.0E+10 ;VARMIN(ALT1)=-1.0E+10
 VARMAX(AST1)=1.0E+10 ;VARMIN(AST1)=-1.0E+10
 VARMAX(ANT1)=1.0E+10 ;VARMIN(ANT1)=-1.0E+10
 VARMAX(AWT1)=1.0E+10 ;VARMIN(AWT1)=-1.0E+10
 VARMAX(AET1)=1.0E+10 ;VARMIN(AET1)=-1.0E+10
 VARMAX(APT1)=1.0E+10 ;VARMIN(APT1)=-1.0E+10
 VARMAX(TEM1)=1.0E+10 ;VARMIN(TEM1)=-1.0E+10
 VARMAX(PRPS)=1.0E+10 ;VARMIN(PRPS)=-1.0E+10
 VARMAX(ASAP)=1.0E+10 ;VARMIN(ASAP)=-1.0E+10
 ************************************************************
  Group 19. Data transmitted to GROUND
 ISG62 = 0
 SPEDAT(SET,FGMB_ITR,TEM1,I,10000)
 SPEDAT(SET,STORED,APT1,C,=APCO(TEM1)!EQCOEF)
 SPEDAT(SET,STORED,AET1,C,=AECO(TEM1)!EQCOEF)
 SPEDAT(SET,STORED,AWT1,C,=AWCO(TEM1)!EQCOEF)
 SPEDAT(SET,STORED,ANT1,C,=ANCO(TEM1)!EQCOEF)
 SPEDAT(SET,STORED,AST1,C,=ASCO(TEM1)!EQCOEF)
 SPEDAT(SET,STORED,ANT1,C,=ALCO(TEM1)!EQCOEF)
 SPEDAT(SET,STORED,AST1,C,=AHCO(TEM1)!EQCOEF)
 SPEDAT(SET,STORED,GAT1,C,=GAMM(TEM1)!GAMCOF)
 SPEDAT(SET,GXMONI,PLOTALL,L,T)
 SPEDAT(SET,OBJNAM,^OB1,C,B7)
 SPEDAT(SET,OBJTYP,^OB1,C,FINE_GRID_VOL)
 SPEDAT(SET,^OB1,FINEX,I,2)
 SPEDAT(SET,^OB1,FINEY,I,2)
 SPEDAT(SET,^OB1,FINEZ,I,2)
 SPEDAT(SET,OBJNAM,^OB3,C,B2)
 SPEDAT(SET,OBJTYP,^OB3,C,OUTLET)
 SPEDAT(SET,ARATIO,^OB3,R,1.)
 SPEDAT(SET,OBJNAM,^OB4,C,B3)
 SPEDAT(SET,OBJTYP,^OB4,C,PLATE)
 SPEDAT(SET,OBJNAM,^OB5,C,B4)
 SPEDAT(SET,OBJTYP,^OB5,C,PLATE)
 SPEDAT(SET,OBJNAM,^OB6,C,B5)
 SPEDAT(SET,OBJTYP,^OB6,C,PLATE)
 SPEDAT(SET,OBJNAM,^OB7,C,B6)
 SPEDAT(SET,OBJTYP,^OB7,C,PLATE)
 SPEDAT(SET,OBJNAM,^OB8,C,PLT2)
 SPEDAT(SET,OBJTYP,^OB8,C,PLATE)
 SPEDAT(SET,OBJNAM,^OB9,C,PLT1)
 SPEDAT(SET,OBJTYP,^OB9,C,PLATE)
 SPEDAT(SET,FACETDAT,NUMOBJ,I,9)
 ************************************************************
  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(U1,Y,N,Y,N,N,N)
 OUTPUT(V1,Y,N,Y,N,N,N)
 OUTPUT(W1,Y,N,Y,N,N,N)
 OUTPUT(TCOR,Y,N,Y,N,N,N)
 OUTPUT(TRES,Y,N,Y,N,N,N)
 OUTPUT(GAT1,Y,N,Y,N,N,N)
 OUTPUT(AHT1,Y,N,Y,N,N,N)
 OUTPUT(ALT1,Y,N,Y,N,N,N)
 OUTPUT(AST1,Y,N,Y,N,N,N)
 OUTPUT(ANT1,Y,N,Y,N,N,N)
 OUTPUT(AWT1,Y,N,Y,N,N,N)
 OUTPUT(AET1,Y,N,Y,N,N,N)
 OUTPUT(APT1,Y,N,Y,N,N,N)
 OUTPUT(TEM1,Y,N,Y,Y,Y,Y)
 OUTPUT(PRPS,Y,N,Y,N,N,N)
 OUTPUT(ASAP,Y,N,Y,N,N,N)
 ************************************************************
  Group 22. Monitor Print-Out
 IXMON = 2 ;IYMON = 8 ;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
 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