TALK=T;RUN(1,1)
  DISPLAY
  Two-dimensional steady-state heat conduction problem
  tests symmetrical solution.


      |-----------------|
      |\\\\\\\\\\\\\ T=1|
      |  \\\\\\ \\\\\\\ |
      |    \\\\ k2 \\\\\|
      |      \\\\ \\\\\\|
      |        \\\\\\\\\|
      |          \\\\\\\|
      |            \\\\\|
      |      k1      \\\|
    Y |T=0             \|
    | |-----------------|
    +-- X

  The solution should be lineary for k1=k2.
  The 161 number property is the solid with incompressible
  air properties.
  ENDDIS
  PHOTON USE
  p;;;;

  vi z;up y
  msg Temperature contours
  con TEM1 z 1 fil;.001
  msg Press e to END
  use patgeo
  ENDUSE
 ************************************************************
  Group 1. Run Title and Number
 ************************************************************
 ************************************************************
 
 TEXT(2D PARSOL heat-conduction, xy plane     )
 
 ************************************************************
 ************************************************************
 
 IRUNN = 1 ;LIBREF = 0
 ************************************************************
  Group 2. Time dependence
 STEADY = T
 ************************************************************
  Group 3. X-Direction Grid Spacing
 CARTES = T
 NX = 3
 XULAST =3.
 XFRAC(1)=0.333333 ;XFRAC(2)=0.666667
 XFRAC(3)=1.
 ************************************************************
  Group 4. Y-Direction Grid Spacing
 NY = 3
 YVLAST =3.
 YFRAC(1)=0.333333 ;YFRAC(2)=0.666667
 YFRAC(3)=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(139)=CRT1 ;NAME(140)=RST1
 NAME(141)=DE/D ;NAME(142)=SE/S
 NAME(143)=D_EX ;NAME(144)=S_EX
 NAME(145)=DCOR ;NAME(146)=DRES
 NAME(147)=DVAR ;NAME(148)=TEM1
 NAME(149)=KOND ;NAME(150)=PRPS
    * Y in SOLUTN argument list denotes:
    * 1-stored 2-solved 3-whole-field
    * 4-point-by-point 5-explicit 6-harmonic averaging 
 SOLUTN(CRT1,Y,N,N,N,N,N)
 SOLUTN(RST1,Y,N,N,N,N,N)
 SOLUTN(DE/D,Y,N,N,N,N,Y)
 SOLUTN(SE/S,Y,N,N,N,N,Y)
 SOLUTN(D_EX,Y,N,N,N,N,Y)
 SOLUTN(S_EX,Y,N,N,N,N,Y)
 SOLUTN(DCOR,Y,N,N,N,N,Y)
 SOLUTN(DRES,Y,N,N,N,N,Y)
 SOLUTN(DVAR,Y,N,N,N,N,Y)
 SOLUTN(TEM1,Y,Y,Y,N,N,Y)
 SOLUTN(KOND,Y,N,N,N,N,Y)
 SOLUTN(PRPS,Y,N,N,N,N,Y)
 PRPS = 150
 ************************************************************
  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.189 ;TMP1 =0.
 EL1 =0.
 TSURR =0. ;TEMP0 =0.
 PRESS0 =0.
 DVO1DT =3.41E-03 ;DRH1DP =0.
 EMISS =0. ;SCATT =0.
 RADIA =0. ;RADIB =0.
 ENUL =1.544E-05 ;ENUT =0.
 PRNDTL(TEM1)=-1.
 PRT(TEM1)=1.
 CP1 =1005. ;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.
   *  
    <161>ARTIFICIAL SOLID MATERIAL HAVING SAME PROPERTIES
 ************************************************************
  Group 10.Inter-Phase Transfer Processes
 ************************************************************
  Group 11.Initial field variables (PHIs)
 FIINIT(CRT1)=1.0E-10 ;FIINIT(RST1)=1.0E-10
 FIINIT(DE/D)=0. ;FIINIT(SE/S)=0.
 FIINIT(D_EX)=0. ;FIINIT(S_EX)=0.
 FIINIT(DCOR)=-1.234E-11 ;FIINIT(DRES)=-1.234E-11
 FIINIT(DVAR)=-1.234E-11 ;FIINIT(TEM1)=1.0E-10
 FIINIT(KOND)=1.0E-10 ;FIINIT(PRPS)=-1.
 
 PATCH(^OB1 ,INIVAL, 1, 0, 0, 0, 0, 0, 1, 1)
 INIT(^OB1 ,TEM1,0. ,0. )
 INIT(^OB1 ,PRPS,0. ,161. )
 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(HOT ,VOLUME, 3, 3, 3, 3, 1, 1, 1, 1)
 COVAL(HOT ,TEM1,1.0E+06 ,1. )
 
 PATCH(COLD ,VOLUME, 1, 1, 1, 1, 1, 1, 1, 1)
 COVAL(COLD ,TEM1,1.0E+06 ,0. )
 
 PATCH(STRUCT1 ,CELL , 2, 2, 1, 1, 1, 1, 1, 1)
 
 PATCH(STRUCT2 ,CELL , 1, 1, 2, 2, 1, 1, 1, 1)
 
 PATCH(STRUCT3 ,CELL , 2, 2, 3, 3, 1, 1, 1, 1)
 
 PATCH(STRUCT4 ,CELL , 2, 2, 3, 3, 1, 1, 1, 1)
 
 PATCH(CUT1 ,CELL , 3, 3, 1, 1, 1, 1, 1, 1)
 
 PATCH(CUT2 ,CELL , 1, 1, 3, 3, 1, 1, 1, 1)
 
 PATCH(CUT3 ,CELL , 2, 2, 2, 2, 1, 1, 1, 1)
 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-04
 ************************************************************
  Group 16. Terminate Iterations
 LITER(TEM1)=100
 ENDIT(TEM1)=0.
 ************************************************************
  Group 17. Relaxation
 RELAX(CRT1,LINRLX,1.)
 RELAX(RST1,LINRLX,1.)
 RELAX(DE/D,LINRLX,1.)
 RELAX(SE/S,LINRLX,1.)
 RELAX(D_EX,LINRLX,1.)
 RELAX(S_EX,LINRLX,1.)
 RELAX(DCOR,LINRLX,1.)
 RELAX(DRES,LINRLX,1.)
 RELAX(DVAR,LINRLX,1.)
 RELAX(TEM1,LINRLX,1.)
 RELAX(KOND,LINRLX,1.)
 RELAX(PRPS,LINRLX,1.)
 OVRRLX =0.
 EXPERT = F ;NNORSL = F
 ************************************************************
  Group 18. Limits
 VARMAX(CRT1)=1.0E+10 ;VARMIN(CRT1)=-1.0E+10
 VARMAX(RST1)=1.0E+10 ;VARMIN(RST1)=-1.0E+10
 VARMAX(DE/D)=1.0E+10 ;VARMIN(DE/D)=-1.0E+10
 VARMAX(SE/S)=1.0E+10 ;VARMIN(SE/S)=-1.0E+10
 VARMAX(D_EX)=1.0E+10 ;VARMIN(D_EX)=-1.0E+10
 VARMAX(S_EX)=1.0E+10 ;VARMIN(S_EX)=-1.0E+10
 VARMAX(DCOR)=1.0E+10 ;VARMIN(DCOR)=-1.0E+10
 VARMAX(DRES)=1.0E+10 ;VARMIN(DRES)=-1.0E+10
 VARMAX(DVAR)=1.0E+10 ;VARMIN(DVAR)=-1.0E+10
 VARMAX(TEM1)=1.0E+10 ;VARMIN(TEM1)=-1.0E+10
 VARMAX(KOND)=1.0E+10 ;VARMIN(KOND)=-1.0E+10
 VARMAX(PRPS)=1.0E+10 ;VARMIN(PRPS)=-1.0E+10
 ************************************************************
  Group 19. Data transmitted to GROUND
 ISG60 = 1
 ISG62 = 1
 CSG10   ='Q1'
 SPEDAT(SET,DOMAIN,PHASE_1_MAT,I,0)
 SPEDAT(SET,STORED,RST1,C,=RESI(TEM1)!RESIDU)
 SPEDAT(SET,STORED,CRT1,C,=CORR(TEM1)!CORREC)
 SPEDAT(SET,STORED,S_EX!HOT,C,=1.0!ZSLFIN)
 SPEDAT(SET,STORED,S_EX!STRUCT1,C,=.325!ZSLFIN)
 SPEDAT(SET,STORED,S_EX!STRUCT2,C,=.325!ZSLFIN)
 SPEDAT(SET,STORED,S_EX!STRUCT3,C,=.675!ZSLFIN)
 SPEDAT(SET,STORED,S_EX!STRUCT4,C,=.675!ZSLFIN)
 SPEDAT(SET,STORED,S_EX!CUT1,C,=.4708!ZSLFIN)
 SPEDAT(SET,STORED,D_EX!CUT1,C,=.5292!ZSLFIN)
 SPEDAT(SET,STORED,S_EX!CUT2,C,=.4708!ZSLFIN)
 SPEDAT(SET,STORED,D_EX!CUT2,C,=.5292!ZSLFIN)
 SPEDAT(SET,STORED,S_EX!CUT3,C,=.45!ZSLFIN)
 SPEDAT(SET,STORED,D_EX!CUT3,C,=.55!ZSLFIN)
 SPEDAT(SET,STORED,SE/S,C,=S_EX/TEM1!IF(TEM1.NE.0.)!ZSLFIN)
 SPEDAT(SET,STORED,DE/D,C,=D_EX/DVAR!IF(DVAR.NE.0.)!ZSLFIN)
 SPEDAT(SET,GXMONI,PLOTALL,L,T)
 SPEDAT(SET,OBJNAM,^OB1,C,BLOCK)
 SPEDAT(SET,OBJTYP,^OB1,C,BLOCKAGE)
 SPEDAT(SET,BLOCK,MATERIAL,R,161.)
 SPEDAT(SET,FACETDAT,NUMOBJ,I,1)
 SPEDAT(SET,MATERIAL,161,L,T)
 ************************************************************
  Group 20. Preliminary Printout
 DISTIL = T ;NULLPR = F
 NDST = 0
 DSTTOL =1.0E-02
 EX(CRT1)=0. ;EX(RST1)=0.
 EX(DE/D)=0. ;EX(SE/S)=0.
 EX(D_EX)=0. ;EX(S_EX)=0.
 EX(DCOR)=0. ;EX(DRES)=0.
 EX(DVAR)=0. ;EX(TEM1)=0.
 EX(KOND)=0. ;EX(PRPS)=0.
 ************************************************************
  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(CRT1,Y,N,Y,N,N,N)
 OUTPUT(RST1,Y,N,Y,N,N,N)
 OUTPUT(DE/D,Y,N,Y,N,N,N)
 OUTPUT(SE/S,Y,N,Y,N,N,N)
 OUTPUT(D_EX,Y,N,Y,N,N,N)
 OUTPUT(S_EX,Y,N,Y,N,N,N)
 OUTPUT(DCOR,Y,N,Y,N,N,N)
 OUTPUT(DRES,Y,N,Y,N,N,N)
 OUTPUT(DVAR,Y,N,Y,N,N,N)
 OUTPUT(TEM1,Y,N,Y,Y,Y,Y)
 OUTPUT(KOND,Y,N,Y,N,N,N)
 OUTPUT(PRPS,Y,N,Y,N,N,N)
 ************************************************************
  Group 22. Monitor Print-Out
 IXMON = 1 ;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
 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
 
 PATCH(PLOT ,PROFIL, 1, 3, 1, 1, 1, 1, 1, 1)
 PLOT(PLOT ,TEM1,0. ,0. )
 ************************************************************
  Group 24. Dumps For Restarts
 SAVE = T ;NOWIPE = F
 NSAVE =CHAM
STOP