TALK=T;RUN(1,1)
  DISPLAY
  This one-dimensional heat conduction problem tests
  the correctness of NEWPARSOL solver which gives correct
  result at one iteration.

  The domain is XLENG [m] long in y; object BLOCK is on the right
  side of the domain. The domain material is air, the object
  is steel.
  The object does not fit the grid.
          k1             k2
      |-------!---|---!-------|
      |       !   |///!///////|
      |   1   ! 2 |///!///3///|
      |       !   |///!///////|
      |-------!---|---!-------|
     z=0        z1=1.5      z2=YLENG

  This case containts several tasks selected by CASENO.
  CASENO=1 - set tem1 0 and flux=1 at west and east boundaries.
  CASENO=2 - fix zero values in left and right,
             set volume source 1 at sunny sub-cell.
  CASENO=3 - fix zero values in left and right,
             set volume source 1 at dark sub-cell.
  CASENO=4 - fix zero values in left and right,
             set volume source 1 at sunny and dark sub-cells.
  CASENO=5 - set value 0 at low and high boundaries,
             fix value at sunny sub-cell.
  CASENO=6 - set value 0 at low and high boundaries,
             fix value at dark sub-cell.
  CASENO=7 - set value 0 at low and high boundaries,
             fix value at sunny and dark sub-cell.
  CASENO=8 - unsteady, fix zero values in left and right,
             initial value 1.
  CASENO=9 - set tem1 0 and 1 at low and high boundaries,
             set volume source 1 at sunny sub-cell.
  CASENO=10- set tem1 0 and 1 at low and high boundaries,
             set volume source 1 at dark sub-cell.
  CASENO=11- set tem1 0 and 1 at low and high boundaries,
             set volume source 1 at sunny dark sub-cell.
  ENDDIS
  PHOTON USE
  AUTOPLOT USE
  file
  phi 5

  d 1 tem1;d 1 dvar;Col1 1;Col2 2;blb4 1;blb2 2;Redr
  text
  1
  1
  Temperature in structured storage
   0.9E+03 0.28E+04 CR
  text
  1
  2
  Temperature in dark sub-cells
   0.9E+03 0.27E+04 CR
  msg Press any key to END
  pause
  ENDUSE
 ************************************************************
  Group 1. Run Title and Number
 ************************************************************
 ************************************************************
 
 TEXT(NEWPARSOL, 1D heat-conduction in z dir  )
 
 ************************************************************
 ************************************************************
 
 IRUNN = 1 ;LIBREF = 0
 ************************************************************
  Group 2. Time dependence
 STEADY = T
 ************************************************************
  Group 3. X-Direction Grid Spacing
 CARTES = T
 NX = 1
 XULAST =1.
 XFRAC(1)=1.
 ************************************************************
  Group 4. Y-Direction Grid Spacing
 NY = 1
 YVLAST =1.
 YFRAC(1)=1.
 ************************************************************
  Group 5. Z-Direction Grid Spacing
 PARAB = F
 NZ = 3
 ZWLAST =3.
 ZFRAC(1)=0.333333 ;ZFRAC(2)=0.666667
 ZFRAC(3)=1.
 ************************************************************
  Group 6. Body-Fitted Coordinates
 ************************************************************
  Group 7. Variables: STOREd,SOLVEd,NAMEd
 ONEPHS = T
 NAME(136)=DE/D ;NAME(137)=SE/S
 NAME(138)=D_EX ;NAME(139)=S_EX
 NAME(140)=AWT1 ;NAME(141)=AET1
 NAME(142)=APT1 ;NAME(143)=CRT1
 NAME(144)=RST1 ;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(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(AWT1,Y,N,N,N,N,Y)
 SOLUTN(AET1,Y,N,N,N,N,Y)
 SOLUTN(APT1,Y,N,N,N,N,Y)
 SOLUTN(CRT1,Y,N,N,N,N,Y)
 SOLUTN(RST1,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 =273. ;PRESS0 =1.0E+05
 DVO1DT =3.41E-03 ;DRH1DP =0.
 EMISS =0. ;SCATT =0.
 RADIA =0. ;RADIB =0.
 ENUL =1.544E-05 ;ENUT =0.
 PRNDTL(TEM1)=-0.0258
 PRT(TEM1)=1.
 CP1 =1005. ;CP2 =1.
 ************************************************************
  Group 10.Inter-Phase Transfer Processes
 ************************************************************
  Group 11.Initial field variables (PHIs)
 FIINIT(DE/D)=0. ;FIINIT(SE/S)=0.
 FIINIT(D_EX)=0. ;FIINIT(S_EX)=0.
 FIINIT(AWT1)=1.0E-10 ;FIINIT(AET1)=1.0E-10
 FIINIT(APT1)=1.0E-10 ;FIINIT(CRT1)=1.0E-10
 FIINIT(RST1)=1.0E-10 ;FIINIT(DCOR)=-1.234E-11
 FIINIT(DRES)=-1.234E-11 ;FIINIT(DVAR)=-1.234E-11
 FIINIT(TEM1)=0. ;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. ,111. )
 
 PATCH(^OB2 ,INIVAL, 2, 0, 0, 0, 0, 0, 1, 1)
 INIT(^OB2 ,TEM1,0. ,0. )
 INIT(^OB2 ,PRPS,0. ,111. )
 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(LWAL ,LWALL , 1, 1, 1, 1, 1, 1, 1, 1)
 COVAL(LWAL ,TEM1,1. ,0. )
 
 PATCH(HFLUX ,HIGH , 1, 1, 1, 1, 3, 3, 1, 1)
 COVAL(HFLUX ,TEM1, FIXFLU ,1. )
 
 PATCH(SUNYCELL,CELL , 1, 1, 1, 1, 2, 2, 1, 1)
 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)=2
 ENDIT(TEM1)=1.0E-03
 ************************************************************
  Group 17. Relaxation
 RELAX(DE/D,LINRLX,1.)
 RELAX(SE/S,LINRLX,1.)
 RELAX(D_EX,LINRLX,1.)
 RELAX(S_EX,LINRLX,1.)
 RELAX(AWT1,LINRLX,1.)
 RELAX(AET1,LINRLX,1.)
 RELAX(APT1,LINRLX,1.)
 RELAX(CRT1,LINRLX,1.)
 RELAX(RST1,LINRLX,1.)
 RELAX(DCOR,LINRLX,1.)
 RELAX(DRES,LINRLX,1.)
 RELAX(DVAR,LINRLX,1.)
 RELAX(TEM1,FALSDT,1.0E+10)
 RELAX(KOND,LINRLX,1.)
 RELAX(PRPS,LINRLX,1.)
 OVRRLX =0.
 EXPERT = F ;NNORSL = F
 ************************************************************
  Group 18. Limits
 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(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(CRT1)=1.0E+10 ;VARMIN(CRT1)=-1.0E+10
 VARMAX(RST1)=1.0E+10 ;VARMIN(RST1)=-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)=3000. ;VARMIN(TEM1)=-204.75
 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
 PARSOL = F
 ISG60 = 1
 ISG62 = 1
 SPEDAT(SET,DOMAIN,PHASE_1_MAT,I,0)
 SPEDAT(SET,GXMONI,TRANSIENT,L,F)
 SPEDAT(SET,STORED,RST1,C,=RESI(TEM1)!RESIDU)
 SPEDAT(SET,STORED,CRT1,C,=CORR(TEM1)!CORREC)
 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,S_EX,C,=ZG*1./0.0258!IF(ZG.LE.1.5)!ZSLFIN)
 SPEDAT(SET,STORED,S_EX,C,=(ZG-1.5)*1./43.+1.*1.5/0.0258!IF(ZG.GT.$)
 SPEDAT(SET,STORED,S_EX,C,1.5)!ZSLFIN)
 SPEDAT(SET,STORED,S_EX!SUNYCELL,C,=.5*(1.5+ZW[&&-1])*1./0.0258!ZS$)
 SPEDAT(SET,STORED,S_EX!SUNYCELL,C,LFIN)
 SPEDAT(SET,STORED,D_EX!SUNYCELL,C,=0.5*1./43.+1.*1.5/0.0258!ZSLFIN)
 SPEDAT(SET,STORED,SE/S,C,=S_EX/TEM1!IF(TEM1.NE.0.)!SWPFIN)
 SPEDAT(SET,STORED,DE/D,C,=D_EX/DVAR!IF(DVAR.NE.0.)!SWPFIN)
 SPEDAT(SET,GXMONI,PLOTALL,L,T)
 SPEDAT(SET,OBJNAM,^OB1,C,BLOCK)
 SPEDAT(SET,OBJTYP,^OB1,C,BLOCKAGE)
 SPEDAT(SET,BLOCK,MATERIAL,R,111.)
 SPEDAT(SET,OBJNAM,^OB2,C,BLOCK2)
 SPEDAT(SET,OBJTYP,^OB2,C,BLOCKAGE)
 SPEDAT(SET,BLOCK2,MATERIAL,R,111.)
 SPEDAT(SET,FACETDAT,NUMOBJ,I,2)
 SPEDAT(SET,MATERIAL,111,L,T)
 ************************************************************
  Group 20. Preliminary Printout
 DISTIL = T ;NULLPR = F
 NDST = 0
 DSTTOL =1.0E-02
 EX(DE/D)=0. ;EX(SE/S)=0.
 EX(D_EX)=0. ;EX(S_EX)=0.
 EX(AWT1)=0. ;EX(AET1)=0.
 EX(APT1)=0. ;EX(CRT1)=0.
 EX(RST1)=0. ;EX(DCOR)=0.
 EX(DRES)=0. ;EX(DVAR)=0.
 EX(TEM1)=0. ;EX(KOND)=0.
 EX(PRPS)=3.354
 ************************************************************
  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(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(AWT1,Y,N,Y,N,N,N)
 OUTPUT(AET1,Y,N,Y,N,N,N)
 OUTPUT(APT1,Y,N,Y,N,N,N)
 OUTPUT(CRT1,Y,N,Y,N,N,N)
 OUTPUT(RST1,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 = 2
 NPRMON = 100000 ;NPRMNT = 1 ;TSTSWP = -1
 UWATCH = T ;USTEER = T
 HIGHLO = F
 ************************************************************
  Group 23.Field Print-Out & Plot Control
 NPRINT = 100000 ;NUMCLS = 5
 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
 
 PATCH(PLOT ,PROFIL, 1, 1, 1, 1, 1, 1, 1, 1)
 PLOT(PLOT ,TEM1,0. ,0. )
 ************************************************************
  Group 24. Dumps For Restarts
 SAVE = T ;NOWIPE = F
 NSAVE =CHAM
STOP