TALK=T;RUN(1,1)
  DISPLAY
    Simulation of heat transfer to and from the solid
    material surrounding a tunnel, when a moving heat
    source (eg a train) passes along it. Air also flows
    along the tunnel.
  ENDDIS
 ************************************************************
  Group 1. Run Title and Number
 ************************************************************
 ************************************************************
 
 TEXT(Transient Tunnel Heat Transfer          )
 
 ************************************************************
 ************************************************************
 
 IRUNN = 1 ;LIBREF = 14
 ************************************************************
  Group 2. Time dependence
 STEADY = F
    * Set overall time and no. of steps
 TFIRST =0. ;TLAST =1.
 FSTEP = 1 ;LSTEP = 20
   Method of pairs used for grid setting.
 TFRAC(1)=-10. ;TFRAC(2)=20.
 TFRAC(3)=10. ;TFRAC(4)=200.
 ************************************************************
  Group 3. X-Direction Grid Spacing
 CARTES = F
 NX = 1
 XULAST =6.28318
 XFRAC(1)=1.
 ************************************************************
  Group 4. Y-Direction Grid Spacing
 NY = 10
 YVLAST =1.
   Method of pairs used for grid setting.
 YFRAC(1)=-1. ;YFRAC(2)=5.
 YFRAC(3)=9. ;YFRAC(4)=0.015
 ************************************************************
  Group 5. Z-Direction Grid Spacing
 PARAB = F
 NZ = 10
 ZWLAST =1000.
 ZFRAC(1)=0.1 ;ZFRAC(3)=0.3
 ZFRAC(5)=0.5 ;ZFRAC(7)=0.7
 ZFRAC(9)=0.9
 ************************************************************
  Group 6. Body-Fitted Coordinates
 ************************************************************
  Group 7. Variables: STOREd,SOLVEd,NAMEd
 ONEPHS = T
 NAME(14)=H1 ;NAME(149)=VPOR
 NAME(150)=NPOR
    * Y in SOLUTN argument list denotes:
    * 1-stored 2-solved 3-whole-field
    * 4-point-by-point 5-explicit 6-harmonic averaging 
 SOLUTN(H1,Y,Y,N,N,N,Y)
 SOLUTN(VPOR,Y,N,N,N,N,Y)
 SOLUTN(NPOR,Y,N,N,N,N,Y)
 EPOR = 0 ;HPOR = 0 ;NPOR = 150 ;VPOR = 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(H1,N,N,Y,Y,Y,Y)
 DIFCUT =0.5 ;ZDIFAC =1.
 GALA = F ;ADDDIF = F
 HUNIT =1.
 ISOLX = -1 ;ISOLY = -1 ;ISOLZ = -1
 ************************************************************
  Group 9. Properties used if PRPS is not
  stored, and where PRPS = -1.0 if it is!
 RHO1 =1460. ;TMP1 =0. ;EL1 =0.
 TSURR =0. ;TEMP0 =0. ;PRESS0 =0.
 DVO1DT =0. ;DRH1DP =0.
 EMISS =0. ;SCATT =0.
 RADIA =0. ;RADIB =0.
 ENUL =1.0E-05 ;ENUT =0.
 PRNDTL(H1)=9.883077
 PRT(H1)=1.
 CP1 =1. ;CP2 =1.
 ************************************************************
  Group 10.Inter-Phase Transfer Processes
 ************************************************************
  Group 11.Initial field variables (PHIs)
 FIINIT(H1)=0. ;FIINIT(VPOR)=1.
 FIINIT(NPOR)=1.
 
 PATCH(TUNNEL ,INIVAL, 1, 1, 1, 1, 1, 10, 1, 1)
 INIT(TUNNEL ,VPOR,0. ,7.783312E-04 )
 INIT(TUNNEL ,NPOR,0. ,334.333344 )
 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(INLEH1 ,LOW , 1, 1, 1, 1, 1, 1, 1, 20)
 COVAL(INLEH1 ,H1 ,5.681818 ,0. )
 
 PATCH(NEL1 ,LOW , 1, 1, 1, 1, 2, 10, 1, 20)
 COVAL(NEL1 ,H1 ,5.681818 , GRND8 )
 
 PATCH(HEATR1 ,CELL , 1, 1, 1, 1, 1, 1, 1, 1)
 COVAL(HEATR1 ,H1 , FIXFLU ,1.0E+06 )
 
 PATCH(HEATR2 ,CELL , 1, 1, 1, 1, 2, 2, 2, 2)
 COVAL(HEATR2 ,H1 , FIXFLU ,1.0E+06 )
 
 PATCH(HEATR3 ,CELL , 1, 1, 1, 1, 3, 3, 3, 3)
 COVAL(HEATR3 ,H1 , FIXFLU ,1.0E+06 )
 
 PATCH(HEATR4 ,CELL , 1, 1, 1, 1, 4, 4, 4, 4)
 COVAL(HEATR4 ,H1 , FIXFLU ,1.0E+06 )
 
 PATCH(HEATR5 ,CELL , 1, 1, 1, 1, 5, 5, 5, 5)
 COVAL(HEATR5 ,H1 , FIXFLU ,1.0E+06 )
 
 PATCH(HEATR6 ,CELL , 1, 1, 1, 1, 6, 6, 6, 6)
 COVAL(HEATR6 ,H1 , FIXFLU ,1.0E+06 )
 
 PATCH(HEATR7 ,CELL , 1, 1, 1, 1, 7, 7, 7, 7)
 COVAL(HEATR7 ,H1 , FIXFLU ,1.0E+06 )
 
 PATCH(HEATR8 ,CELL , 1, 1, 1, 1, 8, 8, 8, 8)
 COVAL(HEATR8 ,H1 , FIXFLU ,1.0E+06 )
 
 PATCH(HEATR9 ,CELL , 1, 1, 1, 1, 9, 9, 9, 9)
 COVAL(HEATR9 ,H1 , FIXFLU ,1.0E+06 )
 
 PATCH(HEATR10 ,CELL , 1, 1, 1, 1, 10, 10, 10, 10)
 COVAL(HEATR10 ,H1 , FIXFLU ,1.0E+06 )
 XCYCLE = F
 EGWF = T
 WALLCO = GRND2
 ************************************************************
  Group 14. Downstream Pressure For PARAB
 ************************************************************
  Group 15. Terminate Sweeps
 LSWEEP = 2 ;ISWC1 = 1
 LITHYD = 1 ;LITFLX = 1 ;LITC = 1 ;ITHC1 = 1
 SELREF = T
 RESFAC =1.0E-05
 ************************************************************
  Group 16. Terminate Iterations
 LITER(H1)=20
 ENDIT(H1)=1.0E-03
 ************************************************************
  Group 17. Relaxation
 RELAX(H1,FALSDT,1.0E+09)
 OVRRLX =0.
 EXPERT = F ;NNORSL = F
 ************************************************************
  Group 18. Limits
 VARMAX(H1)=1.0E+10 ;VARMIN(H1)=-1.0E+10
 VARMAX(VPOR)=1.0E+10 ;VARMIN(VPOR)=-1.0E+10
 VARMAX(NPOR)=1.0E+10 ;VARMIN(NPOR)=-1.0E+10
 ************************************************************
  Group 19. Data transmitted to GROUND
 PARSOL = F
 ISG62 = 1
 SPEDAT(SET,GXMONI,TRANSIENT,L,F)
 SPEDAT(SET,GXMONI,PLOTALL,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(H1,Y,Y,Y,Y,Y,Y)
 OUTPUT(VPOR,N,N,N,N,N,N)
 OUTPUT(NPOR,N,N,N,N,N,N)
 ************************************************************
  Group 22. Monitor Print-Out
 IXMON = 1 ;IYMON = 1 ;IZMON = 5
 NPRMON = 100000 ;NPRMNT = 1 ;TSTSWP = 1
 UWATCH = T ;USTEER = T
 HIGHLO = F
 ************************************************************
  Group 23.Field Print-Out & Plot Control
 NPRINT = 100000 ;NUMCLS = 5
 NTPRIN = 1 ;ISTPRF = 1 ;ISTPRL = 100000
 NYPRIN = -1 ;IYPRF = 1 ;IYPRL = 10000
 NZPRIN = 2 ;IZPRF = 1 ;IZPRL = 9
 XZPR = F ;YZPR = F
 IPLTF = 1 ;IPLTL = 2 ;NPLT = 1
 ISWPRF = 1 ;ISWPRL = 100000
 ITABL = 2 ;IPROF = 1
 ABSIZ =0.5 ;ORSIZ =0.4
 NTZPRF = 1 ;NCOLPF = 50
 ICHR = 2 ;NCOLCO = 45 ;NROWCO = 20
 
 PATCH(LONGPLOT,PROFIL, 1, 1, 2, 2, 1, 10, 1, 20)
 PLOT(LONGPLOT,H1 ,0. ,0. )
 
 PATCH(MAP ,CONTUR, 1, 1, 2, 10, 1, 10, 1, 20)
 PLOT(MAP ,H1 ,0. ,10. )
 
 PATCH(TIMEPLOT,PROFIL, 1, 1, 2, 2, 5, 5, 1, 20)
 PLOT(TIMEPLOT,H1 ,0. ,0. )
 ************************************************************
  Group 24. Dumps For Restarts
 SAVE = T ;NOWIPE = F
 NSAVE =CHAM
STOP