TALK=T;RUN(1,1) PHOTON USE p set ve ref 20;ROT Y ANG 340 gr ou y 4 z 15 16 col 11;gr ou z 17 y 1 3 col 11 gr ou y 2 X 9 M z 7 9 col 11;gr ou z 10 y 1 1 col 11 gr ou y 11 x 6 8 z 7 9 col 11;gr ou z 10 x 6 8 y 2 10 col 11 GR OU X M Y 1 1 Z 7 9 col 11;GR OU X M Y 1 3 Z 15 16 col 11 GR OU X 9 Y 2 10 Z 7 9 col 11 GR OU x 1 1 y 1 1 z 8 9 col 11;rot y ang 355 red msg FLOW and DISPERSION NEAR TOWER BLOCK msg Geometry msg Press Enter to continue PAUSE red msg FLOW and DISPERSION NEAR TOWER BLOCK msg NOx concentration at the road surface CON C1 y 1 z 10 14 fil;.001 msg Press Enter to continue PAUSE CON off;red set vec ref 40. VEc X 7 Z 1 1 sh VEc Y 1 sh msg FLOW and DISPERSION NEAR TOWER BLOCK MSG Velocity field msg Press E to end ENDUSE DISPLAY Vehicle exhaust dispesion in the street canyon with influence of traffic streams flowing in opposite directions is considered. The traffic caused momentum sources/sinks are introduced by PLANT options. The similar problem with no traffic disturbed near road region has been simulated and succesfully compared with field observations by S. Zhubrin et al. in PHOENICS J. of CFD and its applications, v. 6, No 3, 1993 ENDDIS PLANTBEGIN PATCH(CARSO1,CELL,1,NX,1,1,11,12,1,1)CO=.3*1./2.*4.*10*((20.-U1)**2+V1**2+W1**2)**0.5 COVAL(CARSO1,U1,GRND,20.) CO=.3*1./2.*4.*10.*((20.-U1)**2+V1**2+W1**2)**0.5 COVAL(CARSO1,V1,GRND,0.0) CO=.3*1./2.*4.*10.*((20.-U1)**2+V1**2+W1**2)**0.5 COVAL(CARSO1,W1,GRND,0.0) * PATCH(CARSO2,CELL,1,NX,1,1,13,13,1,1) CO=.3*1./2.*4.*10.*((-20.-U1)**2+V1**2+W1**2)**0.5 COVAL(CARSO2,U1,GRND,-20.) CO=.3*1./2.*4.*10.*((-20.-U1)**2+V1**2+W1**2)**0.5 COVAL(CARSO2,V1,GRND,0.0) CO=.3*1./2.*4.*10.*((-20.-U1)**2+V1**2+W1**2)**0.5 COVAL(CARSO2,W1,GRND,0.0) PLANTEND ************************************************************ Group 1. Run Title and Number ************************************************************ ************************************************************ TEXT(In-Form equivalent of PLANT case Z142 ) ************************************************************ ************************************************************ IRUNN = 1 ;LIBREF = 742 ************************************************************ Group 2. Time dependence STEADY = T ************************************************************ Group 3. X-Direction Grid Spacing CARTES = T NX = 9 XULAST =130. XFRAC(1)=0.1282 ;XFRAC(2)=0.2564 XFRAC(3)=0.3846 ;XFRAC(4)=0.4615 XFRAC(5)=0.5385 ;XFRAC(6)=0.6154 XFRAC(7)=0.7436 ;XFRAC(8)=0.8718 XFRAC(9)=1. ************************************************************ Group 4. Y-Direction Grid Spacing NY = 11 YVLAST =150. YFRAC(1)=0.06667 ;YFRAC(2)=0.1333 YFRAC(3)=0.2 ;YFRAC(4)=0.2933 YFRAC(5)=0.3867 ;YFRAC(6)=0.48 YFRAC(7)=0.5733 ;YFRAC(8)=0.6667 YFRAC(9)=0.7778 ;YFRAC(10)=0.8889 YFRAC(11)=1. ************************************************************ Group 5. Z-Direction Grid Spacing PARAB = F NZ = 17 ZWLAST =210. ZFRAC(1)=0.05714 ;ZFRAC(11)=0.6667 ************************************************************ 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(146)=PRPS NAME(147)=HPOR ;NAME(148)=NPOR NAME(149)=EPOR * 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(C1,Y,Y,N,N,N,Y) SOLUTN(PRPS,Y,N,N,N,N,Y) SOLUTN(HPOR,Y,N,N,N,N,Y) SOLUTN(NPOR,Y,N,N,N,N,Y) SOLUTN(EPOR,Y,N,N,N,N,Y) EPOR = 149 ;HPOR = 147 ;NPOR = 148 ;VPOR = 0 PRPS = 146 ************************************************************ 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) DIFCUT =0. ;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.293 ;TMP1 =0. ;EL1 =0. TSURR =0. ;TEMP0 =0. ;PRESS0 =1.0E+05 DVO1DT =0. ;DRH1DP =0. EMISS =0. ;SCATT =0. RADIA =0. ;RADIB =0. ENUL =1.0E-05 ;ENUT =6.7 PRNDTL(U1)=1. ;PRNDTL(V1)=1. PRNDTL(W1)=1. ;PRNDTL(C1)=1. PRT(U1)=1. ;PRT(V1)=1. PRT(W1)=1. ;PRT(C1)=1. CP1 =1. ;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)=10. FIINIT(C1)=1.0E-10 ;FIINIT(PRPS)=-1. FIINIT(HPOR)=1. ;FIINIT(NPOR)=1. FIINIT(EPOR)=1. PATCH(CMP0 ,INIVAL, 1, 9, 1, 1, 7, 9, 1, 1) INIT(CMP0 ,PRPS,0. ,199. ) PATCH(CMP1 ,INIVAL, 6, 8, 2, 10, 7, 9, 1, 1) INIT(CMP1 ,PRPS,0. ,199. ) PATCH(CMP2 ,INIVAL, 1, 9, 1, 3, 15, 16, 1, 1) INIT(CMP2 ,PRPS,0. ,199. ) 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(INL1 ,LOW , 1, 9, 1, 1, 1, 1, 1, 1) COVAL(INL1 ,P1 , FIXFLU ,22.397947 ) COVAL(INL1 ,U1 ,0. ,0. ) COVAL(INL1 ,V1 ,0. ,0. ) COVAL(INL1 ,W1 ,0. ,17.322466 ) COVAL(INL1 ,C1 ,0. ,0. ) PATCH(INL2 ,LOW , 1, 9, 2, 2, 1, 1, 1, 1) COVAL(INL2 ,P1 , FIXFLU ,29.47736 ) COVAL(INL2 ,U1 ,0. ,0. ) COVAL(INL2 ,V1 ,0. ,0. ) COVAL(INL2 ,W1 ,0. ,22.797649 ) COVAL(INL2 ,C1 ,0. ,0. ) PATCH(INL3 ,LOW , 1, 9, 3, 3, 1, 1, 1, 1) COVAL(INL3 ,P1 , FIXFLU ,33.492744 ) COVAL(INL3 ,U1 ,0. ,0. ) COVAL(INL3 ,V1 ,0. ,0. ) COVAL(INL3 ,W1 ,0. ,25.90313 ) COVAL(INL3 ,C1 ,0. ,0. ) PATCH(INL4 ,LOW , 1, 9, 4, 4, 1, 1, 1, 1) COVAL(INL4 ,P1 , FIXFLU ,36.431976 ) COVAL(INL4 ,U1 ,0. ,0. ) COVAL(INL4 ,V1 ,0. ,0. ) COVAL(INL4 ,W1 ,0. ,28.176317 ) COVAL(INL4 ,C1 ,0. ,0. ) PATCH(INL5 ,LOW , 1, 9, 5, 5, 1, 1, 1, 1) COVAL(INL5 ,P1 , FIXFLU ,38.794384 ) COVAL(INL5 ,U1 ,0. ,0. ) COVAL(INL5 ,V1 ,0. ,0. ) COVAL(INL5 ,W1 ,0. ,30.003391 ) COVAL(INL5 ,C1 ,0. ,0. ) PATCH(INL6 ,LOW , 1, 9, 6, 6, 1, 1, 1, 1) COVAL(INL6 ,P1 , FIXFLU ,40.790253 ) COVAL(INL6 ,U1 ,0. ,0. ) COVAL(INL6 ,V1 ,0. ,0. ) COVAL(INL6 ,W1 ,0. ,31.546988 ) COVAL(INL6 ,C1 ,0. ,0. ) PATCH(INL7 ,LOW , 1, 9, 7, 7, 1, 1, 1, 1) COVAL(INL7 ,P1 , FIXFLU ,42.529873 ) COVAL(INL7 ,U1 ,0. ,0. ) COVAL(INL7 ,V1 ,0. ,0. ) COVAL(INL7 ,W1 ,0. ,32.892399 ) COVAL(INL7 ,C1 ,0. ,0. ) PATCH(INL8 ,LOW , 1, 9, 8, 8, 1, 1, 1, 1) COVAL(INL8 ,P1 , FIXFLU ,44.078934 ) COVAL(INL8 ,U1 ,0. ,0. ) COVAL(INL8 ,V1 ,0. ,0. ) COVAL(INL8 ,W1 ,0. ,34.090435 ) COVAL(INL8 ,C1 ,0. ,0. ) PATCH(INL9 ,LOW , 1, 9, 9, 9, 1, 1, 1, 1) COVAL(INL9 ,P1 , FIXFLU ,45.48 ) COVAL(INL9 ,U1 ,0. ,0. ) COVAL(INL9 ,V1 ,0. ,0. ) COVAL(INL9 ,W1 ,0. ,35.174015 ) COVAL(INL9 ,C1 ,0. ,0. ) PATCH(INL10 ,LOW , 1, 9, 10, 10, 1, 1, 1, 1) COVAL(INL10 ,P1 , FIXFLU ,46.762386 ) COVAL(INL10 ,U1 ,0. ,0. ) COVAL(INL10 ,V1 ,0. ,0. ) COVAL(INL10 ,W1 ,0. ,36.165806 ) COVAL(INL10 ,C1 ,0. ,0. ) PATCH(INL11 ,LOW , 1, 9, 11, 11, 1, 1, 1, 1) COVAL(INL11 ,P1 , FIXFLU ,47.947178 ) COVAL(INL11 ,U1 ,0. ,0. ) COVAL(INL11 ,V1 ,0. ,0. ) COVAL(INL11 ,W1 ,0. ,37.082119 ) COVAL(INL11 ,C1 ,0. ,0. ) PATCH(OUT ,HIGH , 1, 9, 1, 11, 17, 17, 1, 1) COVAL(OUT ,P1 ,1. ,0. ) PATCH(TOP ,NORTH , 1, 9, 11, 11, 1, 17, 1, 1) COVAL(TOP ,P1 ,1. ,0. ) PATCH(LEFT ,WEST , 1, 1, 1, 11, 1, 17, 1, 1) COVAL(LEFT ,P1 ,1. ,0. ) PATCH(RIGHT ,EAST , 9, 9, 1, 11, 1, 17, 1, 1) COVAL(RIGHT ,P1 ,1. ,0. ) PATCH(SOURCE ,SOUTH , 1, 9, 1, 1, 11, 13, 1, 1) COVAL(SOURCE ,C1 , FIXFLU ,10. ) PATCH(ABSORB ,SOUTH , 1, 9, 1, 1, 1, 17, 1, 1) COVAL(ABSORB ,C1 ,0.05 ,0. ) PATCH(ICARSO1 ,CELL , 1, 9, 1, 1, 11, 12, 1, 1) COVAL(ICARSO1 ,U1 ,In-Form:source - see Grp 19) COVAL(ICARSO1 ,V1 ,In-Form:source - see Grp 19) COVAL(ICARSO1 ,W1 ,In-Form:source - see Grp 19) PATCH(ICARSO2 ,CELL , 1, 9, 1, 1, 13, 13, 1, 1) COVAL(ICARSO2 ,U1 ,In-Form:source - see Grp 19) COVAL(ICARSO2 ,V1 ,In-Form:source - see Grp 19) COVAL(ICARSO2 ,W1 ,In-Form:source - see Grp 19) XCYCLE = F EGWF = T WALLCO = GRND2 ************************************************************ Group 14. Downstream Pressure For PARAB ************************************************************ Group 15. Terminate Sweeps LSWEEP = 250 ;ISWC1 = 20 LITHYD = 1 ;LITFLX = 1 ;LITC = 1 ;ITHC1 = 1 SELREF = T RESFAC =1.0E-05 ************************************************************ Group 16. Terminate Iterations LITER(P1)=20 ;LITER(U1)=10 LITER(V1)=10 ;LITER(W1)=10 LITER(C1)=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 ************************************************************ Group 17. Relaxation RELAX(P1,LINRLX,0.8) RELAX(U1,FALSDT,2.) RELAX(V1,FALSDT,2.) RELAX(W1,FALSDT,2.) RELAX(C1,FALSDT,100.) 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.0E+10 ;VARMIN(C1)=-1.0E+10 VARMAX(PRPS)=1.0E+10 ;VARMIN(PRPS)=-1.0E+10 VARMAX(HPOR)=1.0E+10 ;VARMIN(HPOR)=-1.0E+10 VARMAX(NPOR)=1.0E+10 ;VARMIN(NPOR)=-1.0E+10 VARMAX(EPOR)=1.0E+10 ;VARMIN(EPOR)=-1.0E+10 ************************************************************ Group 19. Data transmitted to GROUND PARSOL = F ISG62 = 1 SPEDAT(SET,SOURCE,U1!ICARSO1,C,=.3*1./2.*4.*10.*((20.-U1)^2+V1^2+$) SPEDAT(SET,SOURCE,U1!ICARSO1,C,W1^2)^0.5*(20.-U1)) SPEDAT(SET,SOURCE,V1!ICARSO1,C,=.3*1./2.*4.*10.*((20.-U1)^2+V1^2+$) SPEDAT(SET,SOURCE,V1!ICARSO1,C,W1^2)^0.5*(0.-V1)) SPEDAT(SET,SOURCE,W1!ICARSO1,C,=.3*1./2.*4.*10.*((20.-U1)^2+V1^2+$) SPEDAT(SET,SOURCE,W1!ICARSO1,C,W1^2)^0.5*(0.-W1)) SPEDAT(SET,SOURCE,U1!ICARSO2,C,=.3*1./2.*4.*10.*((-20.-U1)^2+V1^2$) SPEDAT(SET,SOURCE,U1!ICARSO2,C,+W1^2)^0.5*(-20.-U1)) SPEDAT(SET,SOURCE,V1!ICARSO2,C,=.3*1./2.*4.*10.*((-20.-U1)^2+V1^2$) SPEDAT(SET,SOURCE,V1!ICARSO2,C,+W1^2)^0.5*(0.-V1)) SPEDAT(SET,SOURCE,W1!ICARSO2,C,=.3*1./2.*4.*10.*((-20.-U1)^2+V1^2$) SPEDAT(SET,SOURCE,W1!ICARSO2,C,+W1^2)^0.5*(0.-W1)) SPEDAT(SET,GXMONI,PLOTALL,L,T) SPEDAT(SET,MATERIAL,199,L,T) ************************************************************ Group 20. Preliminary Printout DISTIL = T ;NULLPR = F NDST = 0 DSTTOL =1.0E-02 EX(P1)=62.939999 ;EX(U1)=2.772 EX(V1)=1. ;EX(W1)=21.360001 EX(C1)=0.08786 ;EX(PRPS)=20.059999 EX(HPOR)=0.9037 ;EX(NPOR)=0.9037 EX(EPOR)=0.9037 ************************************************************ 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,N,N,Y,Y,N,N) 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(C1,Y,N,Y,Y,Y,Y) OUTPUT(PRPS,Y,N,Y,N,N,N) OUTPUT(HPOR,N,N,N,N,N,N) OUTPUT(NPOR,N,N,N,N,N,N) OUTPUT(EPOR,N,N,N,N,N,N) ************************************************************ Group 22. Monitor Print-Out IXMON = 6 ;IYMON = 3 ;IZMON = 10 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 NZPRIN = 10 ;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