01.12.2012 Views

Alternative small scale meteorology input to a chemical transport ...

Alternative small scale meteorology input to a chemical transport ...

Alternative small scale meteorology input to a chemical transport ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

C<br />

C<br />

VNS = 0.25 * ( XVV(C, R,K) + XVV(IP1, R,K)<br />

& + XVV(C,JP1,K) + XVV(IP1,JP1,K) )<br />

ENDDO<br />

ENDDO<br />

ENDDO<br />

WSPEED (C, R, K) = MAX( 0.5, SQRT( UNS**2 + VNS**2 ) )<br />

C<br />

DO C = 1, NCOLS_X<br />

DO R = 1,NROWS_X<br />

C<br />

C saturation vapor pressure (mb) over water<br />

C Estimating water vapor at surface with TSURF = 0.5*(TEMPM(1)+TEMPG)<br />

C assuming it has the same relative humidity as the layer 1 air,<br />

C but at the reference temperature<br />

C<br />

C R.H = vapor_press / sat_vapor_press<br />

C Use AERK formula<br />

C<br />

TSURF (C,R) = XTEMPM (C,R,1) ! test<br />

VSAT = E_AERK( TSURF (C,R) - STDTEMP ) ! in Pascal<br />

VPRESS = XDENSWM (C,R,1) * RWVAP * XTEMPM (C,R,1)<br />

RHUMID = VPRESS / VSAT<br />

PSURF = XPRESM(C,R,1) + GRAV*XDENSAM(C,R,1)*X3HTM(C,R,1)<br />

VPRESS = VSAT * RHUMID<br />

DENSW = VPRESS / ( RWVAP * XTEMPM (C,R,1) )<br />

DENSD = XDENSAF(C,R,0)<br />

QSURF (C,R) = DENSW / DENSD<br />

C<br />

C virtual temperature of ground and air above ground<br />

VPTSURF = F_VTEMP( TSURF (C,R), QSURF (C,R) )<br />

VPTSURF = F_PTEMP( VPTSURF, PSURF )<br />

C<br />

QRATIO(C,R) = XDENSWM (C,R,1) /<br />

& ( XDENSAM (C,R,1) - XDENSWM (C,R,1) )<br />

VPTEMP(C,R) = F_VTEMP( XTEMPM (C,R,1), QRATIO(C,R) ) !<br />

VPTEMP(C,R) = F_PTEMP( VPTEMP (C,R), XPRESM (C,R,1) ) !<br />

DTMPV (C,R) = VPTSURF - VPTEMP (C,R)<br />

IF ( DTMPV(C,R) .LT. DTEMPMIN ) DTMPV (C,R) = DTEMPMIN<br />

IF ( DTMPV(C,R) .GT. DTEMPMAX ) DTMPV (C,R) = DTEMPMAX<br />

C ! limit for stable & unstable case differently<br />

DTMPV (C,R) = CVMGZ( 1.E-10, DTMPV (C,R), DTMPV (C,R) )<br />

ENDDO<br />

ENDDO<br />

104

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!