TALK=T;RUN(1,1)
  DISPLAY

  Library case H108:

  ELECTRONIC SYSTEM RACK

  This case represents a real-life sytem rack.  The model is
  set up of 17 plates, 6 solids, 2 apertures and  two  fans;
  fans are part of the equipment within the rack. Turbulence
  model used is k-e model. System  units  generate heat and
  the model is used to check maximum temperature.

  Current grid set-up is nx=20, ny=48, nz=18.
  However, when  you  run  this case you have the
  opportunity to reduce cell number by a factor of two.

  (Use PHOTON to display  results.  Enter  USE Q1  in PHOTON
  command mode,  or create a file called U,  which  contains
  the one line: USE Q1   before typing  RUNPHO.

  Note that USE file contains commands corresponding to  the
  finer grid.)

  ENDDIS
  PHOTON USE
  p;;;;

  use patgeo
  msg Geometry of the problem
  msg
  use hotspot
  msg
  msg Press return to plot temperature field
  msg
  pause
  cont tem1 z 8 fil;.001
  msg Press return to plot velocity field
  pause
  vec x 10 sh
  msg Press E to end
  ENDUSE
 ************************************************************
  Group 1. Run Title and Number
 ************************************************************
 ************************************************************
 
 TEXT(Electronic System Rack                  )
 
 ************************************************************
 ************************************************************
 
 IRUNN = 1 ;LIBREF = 14
 ************************************************************
  Group 2. Time dependence
 STEADY = T
 ************************************************************
  Group 3. X-Direction Grid Spacing
 CARTES = T
 NX = 10
 XULAST =0.6
 XFRAC(1)=0.04381 ;XFRAC(5)=0.5
 XFRAC(9)=0.95619
 ************************************************************
  Group 4. Y-Direction Grid Spacing
 NY = 24
 YVLAST =1.847
 YFRAC(1)=0.027071 ;YFRAC(5)=0.221982
 YFRAC(9)=0.392528 ;YFRAC(13)=0.636167
 YFRAC(17)=0.831077 ;YFRAC(21)=0.985111
 ************************************************************
  Group 5. Z-Direction Grid Spacing
 PARAB = F
 NZ = 9
 ZWLAST =0.8
 ZFRAC(1)=0.29375 ;ZFRAC(4)=0.6875
 ZFRAC(7)=0.75
 ************************************************************
  Group 6. Body-Fitted Coordinates
 ************************************************************
  Group 7. Variables: STOREd,SOLVEd,NAMEd
 ONEPHS = T
 NAME(1)=P1 ;NAME(3)=U1
 NAME(5)=V1 ;NAME(7)=W1
 NAME(12)=KE ;NAME(13)=EP
 NAME(43)=EPKE ;NAME(44)=NPOR
 NAME(45)=HPOR ;NAME(46)=EPOR
 NAME(47)=BLOK ;NAME(48)=PRPS
 NAME(49)=DEN1 ;NAME(50)=TEM1
    * 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(W1,Y,Y,N,N,N,Y)
 SOLUTN(KE,Y,Y,N,N,N,N)
 SOLUTN(EP,Y,Y,N,N,N,N)
 SOLUTN(EPKE,Y,N,N,N,N,Y)
 SOLUTN(NPOR,Y,N,N,N,N,Y)
 SOLUTN(HPOR,Y,N,N,N,N,Y)
 SOLUTN(EPOR,Y,N,N,N,N,Y)
 SOLUTN(BLOK,Y,N,N,N,N,Y)
 SOLUTN(PRPS,Y,N,N,N,N,Y)
 SOLUTN(DEN1,Y,N,N,N,N,Y)
 SOLUTN(TEM1,Y,Y,Y,N,N,Y)
 DEN1 = 49
 EPOR = 46 ;HPOR = 45 ;NPOR = 44 ;VPOR = 0
 IVARBK = -1 ;ISOLBK = 1
 PRNITS= F ;OPTRLX= F ;NOSIP= F ;ALLVBC= F
 DBSOLV= F ;IMPINI= F ;EARL1D= F
 PRPS = 48
 ************************************************************
  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(W1,Y,Y,Y,Y,Y,Y)
 TERMS(KE,N,Y,Y,Y,Y,N)
 TERMS(EP,N,Y,Y,Y,Y,N)
 TERMS(TEM1,N,Y,Y,Y,Y,Y)
 DIFCUT =0.5 ;ZDIFAC =1.
 GALA = F ;ADDDIF = F
 NEWENT = T
 ISOLX = 0 ;ISOLY = 0 ;ISOLZ = 0
 ************************************************************
  Group 9. Properties used if PRPS is not
  stored, and where PRPS = -1.0 if it is!
 RHO1 = FILE ;TMP1 =0.
 EL1 = GRND4
 TSURR =0. ;TEMP0 =273.
 PRESS0 =1.0E+05
 DVO1DT =1.189 ;DRH1DP =0.
 EMISS =0. ;SCATT =0.
 RADIA =0. ;RADIB =0.
 EL1A =0. ;EL1B =0.
 EL1C =0.
 ENUL = FILE ;ENUT = GRND3
 ENUTA =0. ;ENUTB =0.
 ENUTC =0.
 IENUTA = 0
 PRNDTL(U1)=1. ;PRNDTL(V1)=1.
 PRNDTL(W1)=1. ;PRNDTL(KE)=1.
 PRNDTL(EP)=1. ;PRNDTL(TEM1)=CONDFILE
 PRT(U1)=1. ;PRT(V1)=1.
 PRT(W1)=1. ;PRT(KE)=1.
 PRT(EP)=1.314 ;PRT(TEM1)=1.
 CP1 = FILE ;CP2 =1.
 ************************************************************
  Group 10.Inter-Phase Transfer Processes
 ************************************************************
  Group 11.Initial field variables (PHIs)
 FIINIT(P1)=1.0E-10 ;FIINIT(U1)=1.0E-10
 FIINIT(V1)=1.0E-10 ;FIINIT(W1)=1.0E-10
 FIINIT(KE)=1.0E-10 ;FIINIT(EP)=1.0E-10
 FIINIT(EPKE)=1. ;FIINIT(NPOR)=1.
 FIINIT(HPOR)=1. ;FIINIT(EPOR)=1.
 FIINIT(BLOK)=1. ;FIINIT(PRPS)=2.
 FIINIT(DEN1)=1.0E-10 ;FIINIT(TEM1)=20.
 
 PATCH(FDC1 ,INIVAL, 4, 4, 7, 8, 4, 9, 1, 1)
 INIT(FDC1 ,U1 ,0. ,0. )
 INIT(FDC1 ,EPOR,0. ,0. )
 
 PATCH(RDC2 ,INIVAL, 6, 6, 14, 15, 4, 9, 1, 1)
 INIT(RDC2 ,U1 ,0. ,0. )
 INIT(RDC2 ,EPOR,0. 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)
 INIT(MSU2 ,U1 ,0. ,0. )
 INIT(MSU2 ,EPOR,0. ,0. )
 
 PATCH(MSU6 ,INIVAL, 5, 6, 12, 12, 3, 9, 1, 1)
 INIT(MSU6 ,NPOR,0. ,0.25 )
 
 PATCH(MSU3 ,INIVAL, 5, 6, 11, 11, 3, 9, 1, 1)
 INIT(MSU3 ,NPOR,0. ,0.25 )
 
 PATCH(MSU4 ,INIVAL, 5, 6, 12, 12, 2, 2, 1, 1)
 INIT(MSU4 ,W1 ,0. ,0. )
 INIT(MSU4 ,HPOR,0. ,0. )
 
 PATCH(SS ,INIVAL, 5, 6, 5, 5, 9, 9, 1, 1)
 INIT(SS ,BLOK,0. ,2. )
 INIT(SS ,PRPS,0. ,100. )
 
 PATCH(TOIN ,INIVAL, 5, 6, 9, 9, 6, 9, 1, 1)
 INIT(TOIN ,BLOK,0. ,3. )
 INIT(TOIN ,PRPS,0. ,100. )
 
 PATCH(PCU2 ,INIVAL, 5, 6, 10, 10, 7, 9, 1, 1)
 INIT(PCU2 ,BLOK,0. ,4. )
 INIT(PCU2 ,PRPS,0. ,100. )
 
 PATCH(TIO2 ,INIVAL, 5, 6, 17, 17, 6, 9, 1, 1)
 INIT(TIO2 ,BLOK,0. ,5. )
 INIT(TIO2 ,PRPS,0. ,100. )
 
 PATCH(UNIT ,INIVAL, 5, 6, 18, 18, 8, 9, 1, 1)
 INIT(UNIT ,BLOK,0. ,6. )
 INIT(UNIT ,PRPS,0. ,100. )
 
 PATCH(ACD ,INIVAL, 5, 6, 20, 20, 5, 9, 1, 1)
 INIT(ACD ,BLOK,0. ,7. )
 INIT(ACD ,PRPS,0. ,100. )
 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(KESOUR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2 ,0. )
 COVAL(RDC5 ,KE , GRND2 , GRND2 )
 COVAL(RDC5 ,EP , GRND2 , GRND2 )
 
 PATCH(HOTRDC5 ,HIGH , 5, 6, 14, 15, 9, 9, 1, 1)
 COVAL(HOTRDC5 ,TEM1, FIXFLU ,555.299988 )
 
 PATCH(HOTRDC4 ,NORTH , 5, 6, 15, 15, 2, 9, 1, 1)
 COVAL(HOTRDC4 ,TEM1, FIXFLU ,555.299988 )
 
 PATCH(HOTRDC6 ,SOUTH , 5, 6, 14, 14, 2, 9, 1, 1)
 COVAL(HOTRDC6 ,TEM1, FIXFLU ,552.099976 )
 
 PATCH(HOTFDC6 ,SOUTH , 5, 6, 7, 7, 2, 9, 1, 1)
 COVAL(HOTFDC6 ,TEM1, FIXFLU ,552.099976 )
 
 PATCH(HOTFDC3 ,NORTH , 5, 6, 8, 8, 2, 9, 1, 1)
 COVAL(HOTFDC3 ,TEM1, FIXFLU ,552.099976 )
 
 PATCH(HOTMSU1 ,WEST , 5, 5, 12, 12, 3, 9, 1, 1)
 COVAL(HOTMSU1 ,TEM1, FIXFLU ,28.59 )
 
 PATCH(HOTMSU2 ,EAST , 6, 6, 12, 12, 3, 9, 1, 1)
 COVAL(HOTMSU2 ,TEM1, FIXFLU ,28.59 )
 
 PATCH(MSU5 ,HWALL , 5, 6, 12, 12, 9, 9, 1, 1)
 COVAL(MSU5 ,U1 , GRND2 ,0. )
 COVAL(MSU5 ,V1 , GRND2 ,0. )
 COVAL(MSU5 ,KE , GRND2 , GRND2 )
 COVAL(MSU5 ,EP , GRND2 , GRND2 )
 
 PATCH(HOTMSU5 ,HIGH , 5, 6, 12, 12, 9, 9, 1, 1)
 COVAL(HOTMSU5 ,TEM1, FIXFLU ,26. )
 
 PATCH(HOTMSU6 ,NORTH , 5, 6, 12, 12, 3, 9, 1, 1)
 COVAL(HOTMSU6 ,TEM1, FIXFLU ,95.400002 )
 
 PATCH(HOTMSU3 ,SOUTH , 5, 6, 12, 12, 3, 9, 1, 1)
 COVAL(HOTMSU3 ,TEM1, FIXFLU ,95.400002 )
 
 PATCH(HOTMSU4 ,LOW , 5, 6, 12, 12, 3, 3, 1, 1)
 COVAL(HOTMSU4 ,TEM1, FIXFLU ,26. )
 
 PATCH(HOTTOIN ,VOLUME, 5, 6, 9, 9, 6, 9, 1, 1)
 COVAL(HOTTOIN ,TEM1, FIXFLU ,3074. )
 
 PATCH(HOTTIO2 ,VOLUME, 5, 6, 17, 17, 6, 9, 1, 1)
 COVAL(HOTTIO2 ,TEM1, FIXFLU ,3074. )
 
 PATCH(AIR ,HIGH , 5, 6, 2, 3, 9, 9, 1, 1)
 COVAL(AIR ,P1 ,1. ,0. )
 COVAL(AIR ,KE ,0. , SAME )
 COVAL(AIR ,EP ,0. , SAME )
 COVAL(AIR ,TEM1,0. ,20. )
 
 PATCH(EX1 ,HIGH , 1, 10, 23, 23, 9, 9, 1, 1)
 COVAL(EX1 ,P1 ,1. ,0. )
 COVAL(EX1 ,KE ,0. , SAME )
 COVAL(EX1 ,EP ,0. , SAME )
 COVAL(EX1 ,TEM1,0. ,20. )
 
 PATCH(EX2 ,LOW , 1, 10, 23, 23, 1, 1, 1, 1)
 COVAL(EX2 ,P1 ,1. ,0. )
 COVAL(EX2 ,KE ,0. , SAME )
 COVAL(EX2 ,EP ,0. , SAME )
 COVAL(EX2 ,TEM1,0. ,20. )
 
 PATCH(EX3 ,WEST , 1, 1, 23, 23, 1, 9, 1, 1)
 COVAL(EX3 ,P1 ,1. ,0. )
 COVAL(EX3 ,KE ,0. , SAME )
 COVAL(EX3 ,EP ,0. , SAME )
 COVAL(EX3 ,TEM1,0. ,20. )
 
 PATCH(EX4 ,EAST , 10, 10, 23, 23, 1, 9, 1, 1)
 COVAL(EX4 ,P1 ,1. ,0. )
 COVAL(EX4 ,KE ,0. , SAME )
 COVAL(EX4 ,EP ,0. , SAME )
 COVAL(EX4 ,TEM1,0. ,20. )
 
 PATCH(HIW ,HWALL , 1, 10, 4, 22, 9, 9, 1, 1)
 COVAL(HIW ,U1 , GRND2 ,0. )
 COVAL(HIW ,V1 , GRND2 ,0. )
 COVAL(HIW ,KE , GRND2 , GRND2 )
 COVAL(HIW ,EP , GRND2 , GRND2 )
 
 PATCH(LW ,LWALL , 1, 10, 1, 22, 1, 1, 1, 1)
 COVAL(LW ,U1 , GRND2 ,0. )
 COVAL(LW ,V1 , GRND2 ,0. )
 COVAL(LW ,KE , GRND2 , GRND2 )
 COVAL(LW ,EP , GRND2 , GRND2 )
 
 PATCH(WW ,WWALL , 1, 1, 1, 22, 1, 9, 1, 1)
 COVAL(WW ,V1 , GRND2 ,0. )
 COVAL(WW ,W1 , GRND2 ,0. )
 COVAL(WW ,KE , GRND2 , GRND2 )
 COVAL(WW ,EP , GRND2 , GRND2 )
 
 PATCH(EW ,EWALL , 10, 10, 1, 22, 1, 9, 1, 1)
 COVAL(EW ,V1 , GRND2 ,0. )
 COVAL(EW ,W1 , GRND2 ,0. )
 COVAL(EW ,KE , GRND2 , GRND2 )
 COVAL(EW ,EP , GRND2 , GRND2 )
 
 PATCH(FDC1-EW ,EWALL , 4, 4, 7, 8, 4, 9, 1, 1)
 COVAL(FDC1-EW ,V1 , GRND2 ,0. )
 COVAL(FDC1-EW ,W1 , GRND2 ,0. )
 COVAL(FDC1-EW ,KE , GRND2 , GRND2 )
 COVAL(FDC1-EW ,EP , GRND2 , GRND2 )
 
 PATCH(FDC1-WW ,WWALL , 5, 5, 7, 8, 4, 9, 1, 1)
 COVAL(FDC1-WW ,V1 , GRND2 ,0. )
 COVAL(FDC1-WW ,W1 , GRND2 ,0. )
 COVAL(FDC1-WW ,KE , GRND2 , GRND2 )
 COVAL(FDC1-WW ,EP , GRND2 , GRND2 )
 
 PATCH(RDC2-EW ,EWALL , 6, 6, 14, 15, 4, 9, 1, 1)
 COVAL(RDC2-EW ,V1 , GRND2 ,0. )
 COVAL(RDC2-EW ,W1 , GRND2 ,0. )
 COVAL(RDC2-EW ,KE , GRND2 , GRND2 )
 COVAL(RDC2-EW ,EP , GRND2 , GRND2 )
 
 PATCH(RDC2-WW ,WWALL , 7, 7, 14, 15, 4, 9, 1, 1)
 COVAL(RDC2-WW ,V1 , GRND2 ,0. )
 COVAL(RDC2-WW ,W1 , GRND2 ,0. )
 COVAL(RDC2-WW ,KE , GRND2 , GRND2 )
 COVAL(RDC2-WW ,EP , GRND2 , GRND2 )
 
 PATCH(FDC2-EW ,EWALL , 6, 6, 7, 8, 4, 9, 1, 1)
 COVAL(FDC2-EW ,V1 , GRND2 ,0. )
 COVAL(FDC2-EW ,W1 , GRND2 ,0. )
 COVAL(FDC2-EW ,KE , GRND2 , GRND2 )
 COVAL(FDC2-EW ,EP , GRND2 , GRND2 )
 
 PATCH(FDC2-WW ,WWALL , 7, 7, 7, 8, 4, 9, 1, 1)
 COVAL(FDC2-WW ,V1 , GRND2 ,0. )
 COVAL(FDC2-WW ,W1 , GRND2 ,0. )
 COVAL(FDC2-WW ,KE , GRND2 , GRND2 )
 COVAL(FDC2-WW ,EP , GRND2 , GRND2 )
 
 PATCH(FDC4-HW ,HWALL , 5, 6, 7, 8, 1, 1, 1, 1)
 COVAL(FDC4-HW ,U1 , GRND2 ,0. )
 COVAL(FDC4-HW ,V1 , GRND2 ,0. )
 COVAL(FDC4-HW ,KE , GRND2 , GRND2 )
 COVAL(FDC4-HW ,EP , GRND2 , GRND2 )
 
 PATCH(FDC4-LW ,LWALL , 5, 6, 7, 8, 2, 2, 1, 1)
 COVAL(FDC4-LW ,U1 , GRND2 ,0. )
 COVAL(FDC4-LW ,V1 , GRND2 ,0. )
 COVAL(FDC4-LW ,KE , GRND2 , GRND2 )
 COVAL(FDC4-LW ,EP , GRND2 , GRND2 )
 
 PATCH(RDC1-EW ,EWALL , 4, 4, 14, 15, 4, 9, 1, 1)
 COVAL(RDC1-EW ,V1 , GRND2 ,0. )
 COVAL(RDC1-EW ,W1 , GRND2 ,0. )
 COVAL(RDC1-EW ,KE , GRND2 , GRND2 )
 COVAL(RDC1-EW ,EP , GRND2 , GRND2 )
 
 PATCH(RDC1-WW ,WWALL , 5, 5, 14, 15, 4, 9, 1, 1)
 COVAL(RDC1-WW ,V1 , GRND2 ,0. )
 COVAL(RDC1-WW ,W1 , GRND2 ,0. )
 COVAL(RDC1-WW ,KE , GRND2 , GRND2 )
 COVAL(RDC1-WW ,EP , GRND2 , GRND2 )
 
 PATCH(RDC4-NW ,NWALL , 5, 6, 15, 15, 2, 9, 1, 1)
 COVAL(RDC4-NW ,U1 , GRND2 ,0. )
 COVAL(RDC4-NW ,W1 , GRND2 ,0. )
 COVAL(RDC4-NW ,KE , GRND2 , GRND2 )
 COVAL(RDC4-NW ,EP , GRND2 , GRND2 )
 
 PATCH(RDC4-SW ,SWALL , 5, 6, 16, 16, 2, 9, 1, 1)
 COVAL(RDC4-SW ,U1 , GRND2 ,0. )
 COVAL(RDC4-SW ,W1 , GRND2 ,0. )
 COVAL(RDC4-SW ,KE , GRND2 , GRND2 )
 COVAL(RDC4-SW ,EP , GRND2 , GRND2 )
 
 PATCH(RDC6-NW ,NWALL , 5, 6, 13, 13, 2, 9, 1, 1)
 COVAL(RDC6-NW ,U1 , GRND2 ,0. )
 COVAL(RDC6-NW ,W1 , GRND2 ,0. )
 COVAL(RDC6-NW ,KE , GRND2 , GRND2 )
 COVAL(RDC6-NW ,EP , GRND2 , GRND2 )
 
 PATCH(RDC6-SW ,SWALL , 5, 6, 14, 14, 2, 9, 1, 1)
 COVAL(RDC6-SW ,U1 , GRND2 ,0. )
 COVAL(RDC6-SW ,W1 , GRND2 ,0. )
 COVAL(RDC6-SW ,KE , GRND2 , GRND2 )
 COVAL(RDC6-SW ,EP , GRND2 , GRND2 )
 
 PATCH(FDC6-NW ,NWALL , 5, 6, 6, 6, 2, 9, 1, 1)
 COVAL(FDC6-NW ,U1 , GRND2 ,0. )
 COVAL(FDC6-NW ,W1 , GRND2 ,0. )
 COVAL(FDC6-NW ,KE , GRND2 , GRND2 )
 COVAL(FDC6-NW ,EP , GRND2 , GRND2 )
 
 PATCH(FDC6-SW ,SWALL , 5, 6, 7, 7, 2, 9, 1, 1)
 COVAL(FDC6-SW ,U1 , GRND2 ,0. )
 COVAL(FDC6-SW ,W1 , GRND2 ,0. )
 COVAL(FDC6-SW ,KE , GRND2 , GRND2 )
 COVAL(FDC6-SW ,EP , GRND2 , GRND2 )
 
 PATCH(FDC3-NW ,NWALL , 5, 6, 8, 8, 2, 9, 1, 1)
 COVAL(FDC3-NW ,U1 , GRND2 ,0. )
 COVAL(FDC3-NW ,W1 , GRND2 ,0. )
 COVAL(FDC3-NW ,KE , GRND2 , GRND2 )
 COVAL(FDC3-NW ,EP , GRND2 , GRND2 )
 
 PATCH(FDC3-SW ,SWALL , 5, 6, 9, 9, 2, 9, 1, 1)
 COVAL(FDC3-SW ,U1 , GRND2 ,0. )
 COVAL(FDC3-SW ,W1 , GRND2 ,0. )
 COVAL(FDC3-SW ,KE , GRND2 , GRND2 )
 COVAL(FDC3-SW ,EP , GRND2 , GRND2 )
 
 PATCH(MSU1-EW ,EWALL , 4, 4, 12, 12, 3, 9, 1, 1)
 COVAL(MSU1-EW ,V1 , GRND2 ,0. )
 COVAL(MSU1-EW ,W1 , GRND2 ,0. )
 COVAL(MSU1-EW ,KE , GRND2 , GRND2 )
 COVAL(MSU1-EW ,EP , GRND2 , GRND2 )
 
 PATCH(MSU1-WW ,WWALL , 5, 5, 12, 12, 3, 9, 1, 1)
 COVAL(MSU1-WW ,V1 , GRND2 ,0. )
 COVAL(MSU1-WW ,W1 , GRND2 ,0. )
 COVAL(MSU1-WW ,KE , GRND2 , GRND2 )
 COVAL(MSU1-WW ,EP , GRND2 , GRND2 )
 
 PATCH(MSU2-EW ,EWALL , 6, 6, 12, 12, 3, 9, 1, 1)
 COVAL(MSU2-EW ,V1 , GRND2 ,0. )
 COVAL(MSU2-EW ,W1 , GRND2 ,0. )
 COVAL(MSU2-EW ,KE , GRND2 , GRND2 )
 COVAL(MSU2-EW ,EP , GRND2 , GRND2 )
 
 PATCH(MSU2-WW ,WWALL , 7, 7, 12, 12, 3, 9, 1, 1)
 COVAL(MSU2-WW ,V1 , GRND2 ,0. )
 COVAL(MSU2-WW ,W1 , GRND2 ,0. )
 COVAL(MSU2-WW ,KE , GRND2 , GRND2 )
 COVAL(MSU2-WW ,EP , GRND2 , GRND2 )
 
 PATCH(MSU4-HW ,HWALL , 5, 6, 12, 12, 2, 2, 1, 1)
 COVAL(MSU4-HW ,U1 , GRND2 ,0. )
 COVAL(MSU4-HW ,V1 , GRND2 ,0. )
 COVAL(MSU4-HW ,KE , GRND2 , GRND2 )
 COVAL(MSU4-HW ,EP , GRND2 , GRND2 )
 
 PATCH(MSU4-LW ,LWALL , 5, 6, 12, 12, 3, 3, 1, 1)
 COVAL(MSU4-LW ,U1 , GRND2 ,0. )
 COVAL(MSU4-LW ,V1 , GRND2 ,0. )
 COVAL(MSU4-LW ,KE , GRND2 , GRND2 )
 COVAL(MSU4-LW ,EP , GRND2 , GRND2 )
 XCYCLE = F
 EGWF = T
 WALLCO = GRND2
 BUOYA =0. ; BUOYB =-9.81
 BUOYC =0.
 BUOYD =1.189
 ************************************************************
  Group 14. Downstream Pressure For PARAB
 ************************************************************
  Group 15. Terminate Sweeps
 LSWEEP = 50 ;ISWC1 = 1
 LITHYD = 1 ;LITFLX = 1 ;LITC = 1 ;ITHC1 = 1
 SELREF = T
 RESFAC =1.0E-02
 ************************************************************
  Group 16. Terminate Iterations
 LITER(P1)=20 ;LITER(U1)=10
 LITER(V1)=10 ;LITER(W1)=10
 LITER(KE)=20 ;LITER(EP)=20
 LITER(TEM1)=15
 ENDIT(P1)=1.0E-03 ;ENDIT(U1)=1.0E-03
 ENDIT(V1)=1.0E-03 ;ENDIT(W1)=1.0E-03
 ENDIT(KE)=1.0E-03 ;ENDIT(EP)=1.0E-03
 ENDIT(TEM1)=1.0E-03
 ************************************************************
  Group 17. Relaxation
 RELAX(P1,LINRLX,1.)
 RELAX(U1,FALSDT,1.635E-03)
 RELAX(V1,FALSDT,1.635E-03)
 RELAX(W1,FALSDT,1.635E-03)
 RELAX(KE,LINRLX,0.4)
 RELAX(EP,LINRLX,0.4)
 RELAX(EPKE,LINRLX,1.)
 RELAX(BLOK,LINRLX,1.)
 RELAX(PRPS,LINRLX,1.)
 RELAX(DEN1,LINRLX,1.)
 RELAX(TEM1,FALSDT,16.35)
 KELIN = 1
 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(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(EPKE)=1.0E+10 ;VARMIN(EPKE)=-1.0E+10
 VARMAX(NPOR)=1.0E+10 ;VARMIN(NPOR)=-1.0E+10
 VARMAX(HPOR)=1.0E+10 ;VARMIN(HPOR)=-1.0E+10
 VARMAX(EPOR)=1.0E+10 ;VARMIN(EPOR)=-1.0E+10
 VARMAX(BLOK)=1.0E+10 ;VARMIN(BLOK)=-1.0E+10
 VARMAX(PRPS)=1.0E+10 ;VARMIN(PRPS)=-1.0E+10
 VARMAX(DEN1)=1.0E+10 ;VARMIN(DEN1)=-1.0E+10
 VARMAX(TEM1)=1.0E+10 ;VARMIN(TEM1)=-1.0E+10
 ************************************************************
  Group 19. Data transmitted to GROUND
 NAMGRD =HTBX
 GENK = T
 PARSOL = F
 ISG62 = 1
 SPEDAT(SET,MATERIAL,2,L,T)
 SPEDAT(SET,MATERIAL,100,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(U1,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(EPKE,Y,N,Y,N,N,N)
 OUTPUT(NPOR,Y,N,Y,N,N,N)
 OUTPUT(HPOR,Y,N,Y,N,N,N)
 OUTPUT(EPOR,Y,N,Y,N,N,N)
 OUTPUT(BLOK,N,N,N,N,N,N)
 OUTPUT(PRPS,N,N,N,N,N,N)
 OUTPUT(DEN1,Y,N,Y,N,N,N)
 OUTPUT(TEM1,Y,N,Y,Y,Y,Y)
 ************************************************************
  Group 22. Monitor Print-Out
 IXMON = 5 ;IYMON = 16 ;IZMON = 7
 NPRMON = 100000 ;NPRMNT = 1 ;TSTSWP = -1
 UWATCH = T ;USTEER = T
 HIGHLO = F
 ************************************************************
  Group 23.Field Print-Out & Plot Control
 NPRINT = 100000 ;NUMCLS = 5
 NXPRIN = 4 ;IXPRF = 1 ;IXPRL = 10000
 NYPRIN = 4 ;IYPRF = 1 ;IYPRL = 10000
 NZPRIN = 3 ;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