```
TALK=T;RUN(1,1)
************************************************************
Group 1. Run Title and Number
************************************************************
************************************************************

TEXT(Trains passing in a tunnel              )

************************************************************
************************************************************

IRUNN = 1 ;LIBREF = 0
************************************************************
Group 2. Time dependence
* Set overall time and no. of steps
TFIRST =0. ;TLAST =0.25
FSTEP = 1 ;LSTEP = 20
TFRAC(1)=0.05 ;TFRAC(2)=0.1
TFRAC(3)=0.15 ;TFRAC(4)=0.2
TFRAC(5)=0.25 ;TFRAC(6)=0.3
TFRAC(7)=0.35 ;TFRAC(8)=0.4
TFRAC(9)=0.45 ;TFRAC(10)=0.5
TFRAC(11)=0.55 ;TFRAC(12)=0.6
TFRAC(13)=0.65 ;TFRAC(14)=0.7
TFRAC(15)=0.75 ;TFRAC(16)=0.8
TFRAC(17)=0.85 ;TFRAC(18)=0.9
TFRAC(19)=0.95 ;TFRAC(20)=1.
************************************************************
Group 3. X-Direction Grid Spacing
CARTES = T
NX = 10
XULAST =1.
XFRAC(1)=0.1 ;XFRAC(2)=0.2
XFRAC(3)=0.3 ;XFRAC(4)=0.4
XFRAC(5)=0.5 ;XFRAC(6)=0.6
XFRAC(7)=0.7 ;XFRAC(8)=0.8
XFRAC(9)=0.9 ;XFRAC(10)=1.
************************************************************
Group 4. Y-Direction Grid Spacing
NY = 50
YVLAST =5.
YFRAC(1)=0.020522 ;YFRAC(2)=0.041043
YFRAC(3)=0.061565 ;YFRAC(4)=0.082087
YFRAC(5)=0.102609 ;YFRAC(6)=0.12313
YFRAC(7)=0.143652 ;YFRAC(8)=0.164174
YFRAC(9)=0.184696 ;YFRAC(10)=0.205217
YFRAC(11)=0.225739 ;YFRAC(12)=0.246261
YFRAC(13)=0.266783 ;YFRAC(14)=0.287304
YFRAC(15)=0.307826 ;YFRAC(16)=0.328348
YFRAC(17)=0.34887 ;YFRAC(18)=0.369391
YFRAC(19)=0.389913 ;YFRAC(20)=0.410435
YFRAC(21)=0.430957 ;YFRAC(22)=0.451478
YFRAC(23)=0.472 ;YFRAC(24)=0.486
YFRAC(25)=0.500001 ;YFRAC(26)=0.517
YFRAC(27)=0.534 ;YFRAC(28)=0.551
YFRAC(29)=0.571409 ;YFRAC(30)=0.591818
YFRAC(31)=0.612227 ;YFRAC(32)=0.632636
YFRAC(33)=0.653045 ;YFRAC(34)=0.673455
YFRAC(35)=0.693864 ;YFRAC(36)=0.714273
YFRAC(37)=0.734682 ;YFRAC(38)=0.755091
YFRAC(39)=0.7755 ;YFRAC(40)=0.795909
YFRAC(41)=0.816318 ;YFRAC(42)=0.836727
YFRAC(43)=0.857136 ;YFRAC(44)=0.877545
YFRAC(45)=0.897955 ;YFRAC(46)=0.918364
YFRAC(47)=0.938773 ;YFRAC(48)=0.959182
YFRAC(49)=0.979591 ;YFRAC(50)=1.
************************************************************
Group 5. Z-Direction Grid Spacing
PARAB = F
NZ = 50
ZWLAST =10.
ZFRAC(1)=0.02 ;ZFRAC(2)=0.04
ZFRAC(3)=0.06 ;ZFRAC(4)=0.08
ZFRAC(5)=0.1 ;ZFRAC(6)=0.12
ZFRAC(7)=0.14 ;ZFRAC(8)=0.16
ZFRAC(9)=0.18 ;ZFRAC(10)=0.2
ZFRAC(11)=0.216667 ;ZFRAC(12)=0.233333
ZFRAC(13)=0.25 ;ZFRAC(14)=0.27
ZFRAC(15)=0.29 ;ZFRAC(16)=0.31
ZFRAC(17)=0.33 ;ZFRAC(18)=0.35
ZFRAC(19)=0.37 ;ZFRAC(20)=0.39
ZFRAC(21)=0.41 ;ZFRAC(22)=0.43
ZFRAC(23)=0.45 ;ZFRAC(24)=0.47
ZFRAC(25)=0.49 ;ZFRAC(26)=0.51
ZFRAC(27)=0.53 ;ZFRAC(28)=0.55
ZFRAC(29)=0.57 ;ZFRAC(30)=0.59
ZFRAC(31)=0.61 ;ZFRAC(32)=0.63
ZFRAC(33)=0.65 ;ZFRAC(34)=0.67
ZFRAC(35)=0.69 ;ZFRAC(36)=0.71
ZFRAC(37)=0.73 ;ZFRAC(38)=0.75
ZFRAC(39)=0.766667 ;ZFRAC(40)=0.783333
ZFRAC(41)=0.8 ;ZFRAC(42)=0.822222
ZFRAC(43)=0.844444 ;ZFRAC(44)=0.866667
ZFRAC(45)=0.888889 ;ZFRAC(46)=0.911111
ZFRAC(47)=0.933333 ;ZFRAC(48)=0.955556
ZFRAC(49)=0.977778 ;ZFRAC(50)=1.
************************************************************
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(16)=C1 ;NAME(17)=AIR1
NAME(149)=OBID ;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(P1,Y,Y,Y,N,N,Y)
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(C1,Y,Y,N,N,N,Y)
SOLUTN(AIR1,Y,Y,N,N,N,Y)
SOLUTN(OBID,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(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(C1,N,Y,Y,Y,Y,Y)
TERMS(AIR1,N,Y,Y,Y,N,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 =1.0E-05
EMISS =0. ;SCATT =0.
ENUL =1.544E-05 ;ENUT =0.
PRNDTL(U1)=1. ;PRNDTL(V1)=1.
PRNDTL(W1)=1. ;PRNDTL(C1)=1.
PRNDTL(AIR1)=1.
PRT(U1)=1. ;PRT(V1)=1.
PRT(W1)=1. ;PRT(C1)=1.
PRT(AIR1)=1.
CP1 =1005. ;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(C1)=0. ;FIINIT(AIR1)=0.
FIINIT(OBID)=1.0E-10 ;FIINIT(PRPS)=0.

PATCH(^C1IN ,INIVAL, 17, 0, 0, 0, 0, 0, 1, 20)
INIT(^C1IN ,C1 ,0. ,1. )

PATCH(^OB1 ,INIVAL, 1, 0, 0, 0, 0, 0, 1, 1)
INIT(^OB1 ,P1 ,0. ,0. )
INIT(^OB1 ,W1 ,0. ,8. )
INIT(^OB1 ,C1 ,0. ,0. )
INIT(^OB1 ,PRPS,0. ,-1. )

PATCH(^OB3 ,INIVAL, 3, 0, 0, 0, 0, 0, 1, 1)
INIT(^OB3 ,P1 ,0. ,0. )
INIT(^OB3 ,W1 ,0. ,-8. )
INIT(^OB3 ,C1 ,0. ,0. )
INIT(^OB3 ,PRPS,0. ,-1. )

PATCH(^OB4 ,INIVAL, 4, 0, 0, 0, 0, 0, 1, 1)
INIT(^OB4 ,PRPS,0. ,198. )

PATCH(^OB5 ,INIVAL, 5, 0, 0, 0, 0, 0, 1, 1)
INIT(^OB5 ,PRPS,0. ,198. )
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(^OB2 ,HIGH , 2, 0, 0, 0, 0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U1 ,0. ,0. )
COVAL(^OB10 ,V1 ,0. ,0. )
COVAL(^OB10 ,W1 ,0. ,0. )

PATCH(^OB12 ,EAST , 18, 0, 0, 0, 0, 0, 1, 20)
COVAL(^OB12 ,P1 ,1000. ,0. )
COVAL(^OB12 ,U1 ,0. ,0. )
COVAL(^OB12 ,V1 ,0. ,0. )
COVAL(^OB12 ,W1 ,0. ,0. )
COVAL(^OB12 ,AIR1,0. ,1. )

PATCH(^OB13 ,EAST , 19, 0, 0, 0, 0, 0, 1, 20)
COVAL(^OB13 ,P1 ,1000. ,0. )
COVAL(^OB13 ,U1 ,0. ,0. )
COVAL(^OB13 ,V1 ,0. ,0. )
COVAL(^OB13 ,W1 ,0. ,0. )
COVAL(^OB13 ,AIR1,0. ,1. )

PATCH(^OB14 ,EAST , 20, 0, 0, 0, 0, 0, 1, 20)
COVAL(^OB14 ,P1 ,1000. ,0. )
COVAL(^OB14 ,U1 ,0. ,0. )
COVAL(^OB14 ,V1 ,0. ,0. )
COVAL(^OB14 ,W1 ,0. ,0. )
COVAL(^OB14 ,AIR1,0. ,1. )
XCYCLE = F
EGWF = T
WALLCO = GRND2
************************************************************
Group 14. Downstream Pressure For PARAB
************************************************************
Group 15. Terminate Sweeps
LSWEEP = 20 ;ISWC1 = 1
LITHYD = 1 ;LITFLX = 1 ;LITC = 1 ;ITHC1 = 1
SELREF = T
RESFAC =1.0E-03
************************************************************
Group 16. Terminate Iterations
LITER(P1)=20 ;LITER(U1)=10
LITER(V1)=10 ;LITER(W1)=10
LITER(C1)=20 ;LITER(AIR1)=20
ENDIT(P1)=1.0E-03 ;ENDIT(U1)=1.0E-03
ENDIT(V1)=1.0E-03 ;ENDIT(W1)=1.0E-03
ENDIT(C1)=1.0E-03 ;ENDIT(AIR1)=1.0E-03
************************************************************
Group 17. Relaxation
RELAX(P1,LINRLX,0.5)
RELAX(U1,FALSDT,1.)
RELAX(V1,FALSDT,1.)
RELAX(W1,FALSDT,1.)
RELAX(C1,FALSDT,1.)
RELAX(AIR1,FALSDT,1.)
RELAX(OBID,LINRLX,1.)
RELAX(PRPS,LINRLX,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(C1)=1. ;VARMIN(C1)=0.
VARMAX(AIR1)=1. ;VARMIN(AIR1)=0.
VARMAX(OBID)=1.0E+10 ;VARMIN(OBID)=-1.0E+10
VARMAX(PRPS)=1.0E+10 ;VARMIN(PRPS)=-1.0E+10
************************************************************
Group 19. Data transmitted to GROUND
ISG62 = 0
SPEDAT(SET,DOMAIN,PHASE_1_MAT,I,0)
SPEDAT(SET,MOFOR,MOFFILE,C,TUNNEL.MOF)
SPEDAT(SET,GXMONI,TRANSIENT,L,F)
SPEDAT(SET,OBJNAM,^C1IN,C,B17)
SPEDAT(SET,OBJTYP,^C1IN,C,USER_DEFINED)
SPEDAT(SET,OBJNAM,^OB1,C,CYL1)
SPEDAT(SET,OBJTYP,^OB1,C,BLOCKAGE)
SPEDAT(SET,CYL1,MATERIAL,R,-1.)
SPEDAT(SET,OBJNAM,^OB2,C,B2)
SPEDAT(SET,OBJTYP,^OB2,C,OUTLET)
SPEDAT(SET,ARATIO,^OB2,R,1.)
SPEDAT(SET,OBJNAM,^OB3,C,CYL2)
SPEDAT(SET,OBJTYP,^OB3,C,BLOCKAGE)
SPEDAT(SET,CYL2,MATERIAL,R,-1.)
SPEDAT(SET,OBJNAM,^OB4,C,B4)
SPEDAT(SET,OBJTYP,^OB4,C,BLOCKAGE)
SPEDAT(SET,B4,MATERIAL,R,198.)
SPEDAT(SET,OBJNAM,^OB5,C,B5)
SPEDAT(SET,OBJTYP,^OB5,C,BLOCKAGE)
SPEDAT(SET,B5,MATERIAL,R,198.)
SPEDAT(SET,OBJNAM,^OB6,C,B6)
SPEDAT(SET,OBJTYP,^OB6,C,OUTLET)
SPEDAT(SET,ARATIO,^OB6,R,1.)
SPEDAT(SET,OBJNAM,^OBB,C,B11)
SPEDAT(SET,OBJTYP,^OBB,C,OUTLET)
SPEDAT(SET,ARATIO,^OBB,R,1.)
SPEDAT(SET,OBJNAM,^OBC,C,B12)
SPEDAT(SET,OBJTYP,^OBC,C,OUTLET)
SPEDAT(SET,ARATIO,^OBC,R,1.)
SPEDAT(SET,OBJNAM,^OBD,C,B13)
SPEDAT(SET,OBJTYP,^OBD,C,OUTLET)
SPEDAT(SET,ARATIO,^OBD,R,1.)
SPEDAT(SET,OBJNAM,^OBE,C,B14)
SPEDAT(SET,OBJTYP,^OBE,C,OUTLET)
SPEDAT(SET,ARATIO,^OBE,R,1.)
SPEDAT(SET,OBJNAM,^OBF,C,B15)
SPEDAT(SET,OBJTYP,^OBF,C,OUTLET)
SPEDAT(SET,ARATIO,^OBF,R,1.)
SPEDAT(SET,OBJNAM,^OB10,C,B16)
SPEDAT(SET,OBJTYP,^OB10,C,OUTLET)
SPEDAT(SET,ARATIO,^OB10,R,1.)
SPEDAT(SET,OBJNAM,^OB12,C,B18)
SPEDAT(SET,OBJTYP,^OB12,C,OUTLET)
SPEDAT(SET,ARATIO,^OB12,R,1.)
SPEDAT(SET,OBJNAM,^OB13,C,B19)
SPEDAT(SET,OBJTYP,^OB13,C,OUTLET)
SPEDAT(SET,ARATIO,^OB13,R,1.)
SPEDAT(SET,OBJNAM,^OB14,C,B20)
SPEDAT(SET,OBJTYP,^OB14,C,OUTLET)
SPEDAT(SET,ARATIO,^OB14,R,1.)
SPEDAT(SET,FACETDAT,NUMOBJ,I,20)
SPEDAT(SET,MATERIAL,0,L,T)
SPEDAT(SET,MATERIAL,198,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,Y,Y,N,Y,Y)
OUTPUT(W1,Y,Y,Y,N,Y,Y)
OUTPUT(C1,Y,N,Y,Y,Y,Y)
OUTPUT(AIR1,Y,N,Y,Y,Y,Y)
OUTPUT(OBID,Y,N,Y,N,N,N)
OUTPUT(PRPS,Y,N,Y,N,N,N)
************************************************************
Group 22. Monitor Print-Out
IXMON = 10 ;IYMON = 29 ;IZMON = 9
NPRMON = 100000 ;NPRMNT = 1 ;TSTSWP = -1
UWATCH = T ;USTEER = T
HIGHLO = F
************************************************************
Group 23.Field Print-Out & Plot Control
NPRINT = 100000 ;NUMCLS = 5
NTPRIN = 100000 ;ISTPRF = 1 ;ISTPRL = 10000
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
IDISPA = 1 ;IDISPB = 0 ;IDISPC = 0
CSG1    ='M'
STOP
```