Changeset 284 for trunk/LMDZ.MARS/libf/phymars/meso_inc
- Timestamp:
- Sep 7, 2011, 3:20:37 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.MARS/libf/phymars/meso_inc/meso_inc_les.F
r268 r284 1 DO ig=1,ngrid 2 !! sensible heat flux in W/m2 3 ! hfx(ig) = zflubid(ig)-capcal(ig)*zdtsdif(ig) 1 if (callrichsl .eq. .false.) then 2 3 DO ig=1,ngrid 4 !! sensible heat flux in W/m2 5 6 hfx(ig) = zflubid(ig)-capcal(ig)*zdtsdif(ig) 7 8 !! u star in similarity theory in m/s 9 ust(ig) = 0.4 10 . * sqrt( pu(ig,1)*pu(ig,1) + pv(ig,1)*pv(ig,1) ) 11 . / log( 1.E+0 + zzlay(ig,1)/z0_default ) 12 ENDDO 13 14 else 15 16 DO ig=1,ngrid 4 17 5 18 ! New SL parametrization, correct formulation for hfx : 6 19 7 hfx(ig) = (pplay(ig,1)/(r*pt(ig,1)))*cpp 8 & *sqrt((pu(ig,1)*pu(ig,1) + pv(ig,1)*pv(ig,1))) 9 & *zcdh(ig)*(tsurf(ig)-zh(ig,1)) 20 hfx(ig) = (pplay(ig,1)/(r*pt(ig,1)))*cpp 21 & *sqrt(pu(ig,1)*pu(ig,1) + pv(ig,1)*pv(ig,1) 22 & + (1.0*wmax_th(ig))**2) 23 & *zcdh(ig)*(tsurf(ig)-zh(ig,1)) 10 24 11 !! u star in similarity theory in m/s12 ! ust(ig) = 0.413 ! . * sqrt( pu(ig,1)*pu(ig,1) + pv(ig,1)*pv(ig,1) )14 ! . / log( 1.E+0 + zzlay(ig,1)/z0_default )15 25 16 26 ! New SL parametrization, ust is more accurately computed in vdif_cd : 17 ust(ig) = sqrt(zcdv(ig)*(pu(ig,1)*pu(ig,1) + pv(ig,1)*pv(ig,1))) 27 ust(ig) = sqrt(zcdv(ig)* 28 & (pu(ig,1)*pu(ig,1) + pv(ig,1)*pv(ig,1) + (1.0*wmax_th(ig))**2) 29 & ) 18 30 19 ENDDO 31 ENDDO 32 33 endif !of if callrichsl 34 20 35 ! write (*,*) 'PHYS HFX cp zdts', hfx(100), zflubid(100), 21 36 ! . capcal(100),
Note: See TracChangeset
for help on using the changeset viewer.