TALK=T;RUN(1,1)
  PHOTON USE
  p



  gr ou z 1
  gr ou z 1 x 5 9 y 1 6
  gr ou z 1 x 15 19 y 4 9
  gr ou z 1 x 6 6 y 5 5
  gr ou z 1 x 8 8 y 5 5
  gr ou z 1 x 6 6 y 2 3
  gr ou z 1 x 8 8 y 2 3

  gr ou z 1 x 16 16 y 1 3
  gr ou z 1 x 17 17 y 1 3
  gr ou z 1 x 18 18 y 1 3


  gr ou z 1 x 16 16 y 5 5
  gr ou z 1 x 16 16 y 7 7
  gr ou z 1 x 18 18 y 5 5
  gr ou z 1 x 18 18 y 7 7
  red
  set vec comp au1 cv1 -
  msg               VEHICULAR EXHAUST DISPERSION
  msg                  Air velocity vectors
  vec z 1 sh
  msg  Press Enter to continue
  pause
  vec off;red
  con h1 z 1 fil;.5
  msg               VEHICULAR EXHAUST DISPERSION
  msg                  NOx concentration in air
  msg Press Enter to continue
  pause
  con off;red
  con h2 z 1 fil;.5
  msg               VEHICULAR EXHAUST DISPERSION
  msg              NOx concentration in rain water
  msg  Press Enter to continue
  pause
  con off;red
  set vec comp bu2 dv2 -
  msg                      VELOCITY VECTORS OF RAIN
  vec z 1 sh
  msg  Press Enter to continue
  pause
  vec off;red
  msg                       LIQUID VOLUME FRACTION
  con liq z 1 fil;0.1
  ENDUSE
  DISPLAY
   This case is a part of a project to predict turbulent and
   two-phase flows on an urban scale. It concerns rain-fall in a
   street canyon between one elevated building and  its low -rise
   neighbour block.

   The pollution is affected by inter-phase transport from gas to
   liquid phase governed by specification of values of interphase
   transfer coefficients and  PHI  differences  between  the  phase$
s.

   PLANT instructions are provided  in  Group  10  make  create
   special GROUND codings
  ENDDIS
    PLANTBEGIN
  ** Instruct PLANT to code the inter-phase  transfer  coefficients
     and PHI differences between the phases.
CINT(H1)=GRND
    COI1(H1)=10.*MASS2
CINT(H2)=1.e10
PHINT(H1)=GRND
    FII1(H1)=H2
PHINT(H2)=GRND
    FII2(H2)=H1
  PLANTEND
  PHOTON USE
  p



  gr ou z 1
  gr ou z 1 x 5 9 y 1 6
  gr ou z 1 x 15 19 y 4 9
  gr ou z 1 x 6 6 y 5 5
  gr ou z 1 x 8 8 y 5 5
  gr ou z 1 x 6 6 y 2 3
  gr ou z 1 x 8 8 y 2 3

  gr ou z 1 x 16 16 y 1 3
  gr ou z 1 x 17 17 y 1 3
  gr ou z 1 x 18 18 y 1 3


  gr ou z 1 x 16 16 y 5 5
  gr ou z 1 x 16 16 y 7 7
  gr ou z 1 x 18 18 y 5 5
  gr ou z 1 x 18 18 y 7 7
  red
  set vec comp au1 cv1 -
  msg               VEHICULAR EXHAUST DISPERSION
  msg                  Air velocity vectors
  vec z 1 sh
  msg  Press Enter to continue
  pause
  vec off;red
  con h1 z 1 fil;.5
  msg               VEHICULAR EXHAUST DISPERSION
  msg                  NOx concentration in air
  msg Press Enter to continue
  pause
  con off;red
  con h2 z 1 fil;.5
  msg               VEHICULAR EXHAUST DISPERSION
  msg              NOx concentration in rain water
  msg  Press Enter to continue
  pause
  con off;red
  set vec comp bu2 dv2 -
  msg                      VELOCITY VECTORS OF RAIN
  vec z 1 sh
  msg  Press Enter to continue
  pause
  vec off;red
  msg                       LIQUID VOLUME FRACTION
  con liq z 1 fil;0.1
  ENDUSE
 ************************************************************
  Group 1. Run Title and Number
 ************************************************************
 ************************************************************
 
 TEXT(In-Form equivalent of PLANT case Z102   )
 
 ************************************************************
 ************************************************************
 
 IRUNN = 1 ;LIBREF = 702
 ************************************************************
  Group 2. Time dependence
 STEADY = T
 ************************************************************
  Group 3. X-Direction Grid Spacing
 CARTES = T
 NX = 23
 XULAST =80.
 XFRAC(1)=0.0625 ;XFRAC(2)=0.125
 XFRAC(3)=0.1875 ;XFRAC(4)=0.25
 XFRAC(5)=0.275 ;XFRAC(6)=0.3
 XFRAC(7)=0.325 ;XFRAC(8)=0.35
 XFRAC(9)=0.375 ;XFRAC(10)=0.425
 XFRAC(11)=0.475 ;XFRAC(12)=0.525
 XFRAC(13)=0.575 ;XFRAC(14)=0.625
 XFRAC(15)=0.65 ;XFRAC(16)=0.675
 XFRAC(17)=0.7 ;XFRAC(18)=0.725
 XFRAC(19)=0.75 ;XFRAC(20)=0.8125
 XFRAC(21)=0.875 ;XFRAC(22)=0.9375
 XFRAC(23)=1.
 ************************************************************
  Group 4. Y-Direction Grid Spacing
 NY = 14
 YVLAST =50.
 YFRAC(1)=0.033333 ;YFRAC(2)=0.066667
 YFRAC(3)=0.1 ;YFRAC(4)=0.166667
 YFRAC(5)=0.233333 ;YFRAC(6)=0.3
 YFRAC(7)=0.366667 ;YFRAC(8)=0.433333
 YFRAC(9)=0.5 ;YFRAC(10)=0.6
 YFRAC(11)=0.7 ;YFRAC(12)=0.8
 YFRAC(13)=0.9 ;YFRAC(14)=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 = F
 EQUVEL = F
 NAME(1)=P1 ;NAME(3)=AU1
 NAME(4)=BU2 ;NAME(5)=CV1
 NAME(6)=DV2 ;NAME(9)=GAS
 NAME(10)=LIQ ;NAME(14)=H1
 NAME(15)=H2 ;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,N,N,N,Y)
 SOLUTN(AU1,Y,Y,N,Y,N,Y)
 SOLUTN(BU2,Y,Y,N,Y,N,Y)
 SOLUTN(CV1,Y,Y,N,Y,N,Y)
 SOLUTN(DV2,Y,Y,N,Y,N,Y)
 SOLUTN(LIQ,Y,Y,N,Y,N,Y)
 SOLUTN(H1,Y,Y,N,Y,N,Y)
 SOLUTN(H2,Y,Y,N,Y,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(AU1,Y,Y,Y,Y,Y,Y)
 TERMS(BU2,Y,Y,Y,Y,N,Y)
 TERMS(CV1,Y,Y,Y,Y,Y,Y)
 TERMS(DV2,Y,Y,Y,Y,N,Y)
 TERMS(LIQ,Y,Y,Y,Y,N,Y)
 TERMS(H1,N,Y,Y,N,Y,Y)
 TERMS(H2,N,Y,N,N,N,Y)
 DIFCUT =0.5 ;ZDIFAC =1.
 GALA = F ;ADDDIF = F
 EQDVDP = 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. ;TMP1 =0.
 EL1 =0.
 TSURR =0. ;TEMP0 =0.
 PRESS0 =0.
 DVO1DT =0. ;DRH1DP =0.
 EMISS =0. ;SCATT =0.
 RADIA =0. ;RADIB =0.
 RHO2 =1000. ;TMP2 =0.
 EL2 =0.
 DVO2DT =0. ;DRH2DP =0.
 ENUL =1.5E-05 ;ENUT =6.7
 PHINT(AU1)=-2.022E+04 ;PHINT(BU2)=-2.022E+04
 PHINT(CV1)=-2.022E+04 ;PHINT(DV2)=-2.022E+04
 PHINT(LIQ)=-2.022E+04 ;PHINT(H1)=GRND10
 PHINT(H2)=GRND10
 PHNH1A =0. ;PHNH1B =0.
 PHNH1C =0.
 PHNH2A =0. ;PHNH2B =0.
 PHNH2C =0.
 PRNDTL(AU1)=1. ;PRNDTL(BU2)=1.
 PRNDTL(CV1)=1. ;PRNDTL(DV2)=1.
 PRNDTL(LIQ)=1. ;PRNDTL(H1)=1.5
 PRT(AU1)=1. ;PRT(BU2)=1.
 PRT(CV1)=1. ;PRT(DV2)=1.
 PRT(LIQ)=1. ;PRT(H1)=1.
 CP1 =1. ;CP2 =1.
 ************************************************************
  Group 10.Inter-Phase Transfer Processes
 CFIPS =9800.19043
 RLOLIM =0. ;CMDOT =0.
 CINT(P1)=1. ;CINT(AU1)=1.
 CINT(BU2)=1. ;CINT(CV1)=1.
 CINT(DV2)=1. ;CINT(LIQ)=1.
 CINT(H1)=GRND10 ;CINT(H2)=1.0E+10
 PHINT(P1)=-2.022E+04 ;PHINT(AU1)=-2.022E+04
 PHINT(BU2)=-2.022E+04 ;PHINT(CV1)=-2.022E+04
 PHINT(DV2)=-2.022E+04 ;PHINT(LIQ)=-2.022E+04
 PHINT(H1)=GRND10 ;PHINT(H2)=GRND10
 CINH1A =0. ;CINH1B =0.
 CINH1C =0.
 ************************************************************
  Group 11.Initial field variables (PHIs)
 FIINIT(P1)=2. ;FIINIT(AU1)=2.
 FIINIT(BU2)=2. ;FIINIT(CV1)=0.
 FIINIT(DV2)=-1. ;FIINIT(GAS)=0.9999
 FIINIT(LIQ)=1.0E-04 ;FIINIT(H1)=0.
 FIINIT(H2)=1.0E-10 ;FIINIT(PRPS)=-1.
 
 PATCH(CMP0 ,INIVAL, 5, 9, 1, 6, 1, 1, 1, 1)
 INIT(CMP0 ,PRPS,0. ,198. )
 
 PATCH(CMP1 ,INIVAL, 15, 19, 4, 9, 1, 1, 1, 1)
 INIT(CMP1 ,PRPS,0. ,198. )
 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(INLET ,WEST , 1, 1, 1, 14, 1, 1, 1, 1)
 COVAL(INLET ,AU1 ,0. ,2. )
 COVAL(INLET ,BU2 ,0. ,2. )
 COVAL(INLET ,GAS , FIXFLU ,1.9998 )
 COVAL(INLET ,LIQ , FIXFLU ,0.2 )
 COVAL(INLET ,H1 ,0. ,0. )
 
 PATCH(SKY ,NORTH , 1, 23, 14, 14, 1, 1, 1, 1)
 COVAL(SKY ,DV2 ,0. ,-1. )
 COVAL(SKY ,LIQ , FIXFLU ,0.1 )
 
 PATCH(OUTLET1 ,EAST , 23, 23, 1, 14, 1, 1, 1, 1)
 COVAL(OUTLET1 ,AU1 ,0. ,0. )
 COVAL(OUTLET1 ,BU2 ,0. ,0. )
 COVAL(OUTLET1 ,CV1 ,0. ,0. )
 COVAL(OUTLET1 ,DV2 ,0. ,0. )
 COVAL(OUTLET1 ,GAS ,1.0E-02 ,0. )
 COVAL(OUTLET1 ,LIQ ,10. ,0. )
 COVAL(OUTLET1 ,H1 ,0. , SAME )
 
 PATCH(GRAVITY ,PHASEM, 1, 23, 1, 14, 1, 1, 1, 1)
 COVAL(GRAVITY ,DV2 , FIXFLU ,-9.81 )
 
 PATCH(FLOOR ,SOUTH , 1, 23, 1, 1, 1, 1, 1, 1)
 COVAL(FLOOR ,LIQ ,1. ,0. )
 
 PATCH(ROOF1 ,PHASEM, 5, 9, 7, 7, 1, 1, 1, 1)
 COVAL(ROOF1 ,BU2 , FIXFLU ,0.981 )
 
 PATCH(ROOF2 ,PHASEM, 15, 19, 10, 10, 1, 1, 1, 1)
 COVAL(ROOF2 ,BU2 , FIXFLU ,0.981 )
 
 PATCH(ROAD ,CELL , 10, 14, 1, 3, 1, 1, 1, 1)
 COVAL(ROAD ,H1 , FIXFLU ,1.0E-02 )
 XCYCLE = F
 EGWF = T
 WALLCO = GRND2
 ************************************************************
  Group 14. Downstream Pressure For PARAB
 ************************************************************
  Group 15. Terminate Sweeps
 LSWEEP = 400 ;ISWC1 = 1
 LITHYD = 1 ;LITFLX = 1 ;LITC = 1 ;ITHC1 = 1
 ISWR1 = 1 ;ISWR2 = 10000
 SELREF = T
 RESFAC =1.0E-04
 ************************************************************
  Group 16. Terminate Iterations
 LITER(P1)=20 ;LITER(AU1)=10
 LITER(BU2)=10 ;LITER(CV1)=10
 LITER(DV2)=10 ;LITER(LIQ)=1
 LITER(H1)=20 ;LITER(H2)=20
 ENDIT(P1)=1.0E-10 ;ENDIT(AU1)=1.0E-03
 ENDIT(BU2)=1.0E-03 ;ENDIT(CV1)=1.0E-03
 ENDIT(DV2)=1.0E-03 ;ENDIT(LIQ)=1.0E-03
 ENDIT(H1)=1.0E-03 ;ENDIT(H2)=1.0E-03
 ************************************************************
  Group 17. Relaxation
 RELAX(P1,LINRLX,1.)
 RELAX(AU1,FALSDT,10.)
 RELAX(BU2,FALSDT,10.)
 RELAX(CV1,FALSDT,10.)
 RELAX(DV2,FALSDT,10.)
 RELAX(GAS,LINRLX,1.)
 RELAX(LIQ,LINRLX,0.95)
 RELAX(H1,FALSDT,100.)
 RELAX(H2,FALSDT,1.0E+09)
 RELAX(PRPS,LINRLX,1.)
 OVRRLX =0.
 EXPERT = F ;NNORSL = F
 ************************************************************
  Group 18. Limits
 VARMAX(P1)=1.0E+10 ;VARMIN(P1)=-1.0E+10
 VARMAX(AU1)=1.0E+06 ;VARMIN(AU1)=-1.0E+06
 VARMAX(BU2)=1.0E+06 ;VARMIN(BU2)=-1.0E+06
 VARMAX(CV1)=1.0E+06 ;VARMIN(CV1)=-1.0E+06
 VARMAX(DV2)=1.0E+06 ;VARMIN(DV2)=-1.0E+06
 VARMAX(GAS)=1. ;VARMIN(GAS)=1.0E-06
 VARMAX(LIQ)=1. ;VARMIN(LIQ)=1.0E-09
 VARMAX(H1)=1.0E+10 ;VARMIN(H1)=-1.0E+10
 VARMAX(H2)=1.0E+10 ;VARMIN(H2)=-1.0E+10
 VARMAX(PRPS)=1.0E+10 ;VARMIN(PRPS)=-1.0E+10
 ************************************************************
  Group 19. Data transmitted to GROUND
 PARSOL = F
 ISG62 = 1
 SPEDAT(SET,PROPERTY,CINT(H1),C,=10.*MASS2)
 SPEDAT(SET,PROPERTY,PHINT(H1),C,=H2)
 SPEDAT(SET,PROPERTY,PHINT(H2),C,=H1)
 SPEDAT(SET,MATERIAL,198,L,T)
 ************************************************************
  Group 20. Preliminary Printout
 DISTIL = T ;NULLPR = F
 NDST = 0
 DSTTOL =1.0E-02
 EX(P1)=169.800003 ;EX(AU1)=1.66
 EX(BU2)=1.643 ;EX(CV1)=0.
 EX(DV2)=0.7913 ;EX(GAS)=0.
 EX(LIQ)=0. ;EX(H1)=5.665E-05
 EX(H2)=9.448E-06 ;EX(PRPS)=37.709999
 ************************************************************
  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,N,Y,Y,Y)
 OUTPUT(AU1,Y,N,N,Y,Y,Y)
 OUTPUT(BU2,Y,N,N,Y,Y,Y)
 OUTPUT(CV1,N,N,Y,Y,Y,Y)
 OUTPUT(DV2,Y,N,N,Y,Y,Y)
 OUTPUT(GAS,N,N,N,N,N,N)
 OUTPUT(LIQ,N,N,Y,Y,Y,Y)
 OUTPUT(H1,Y,N,N,Y,Y,Y)
 OUTPUT(H2,Y,N,Y,Y,Y,Y)
 OUTPUT(PRPS,Y,N,Y,N,N,N)
 ************************************************************
  Group 22. Monitor Print-Out
 IXMON = 12 ;IYMON = 3 ;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
   No PATCHes yet used for this Group
 ************************************************************
  Group 24. Dumps For Restarts
 SAVE = T ;NOWIPE = F
 NSAVE =CHAM
STOP