source: trunk/LMDZ.MARS/libf/phymars/meso_inc/meso_inc_les.F @ 265

Last change on this file since 265 was 265, checked in by acolaitis, 14 years ago

Corrected wrong definition for u* in mesoscale model

File size: 1.7 KB
Line 
1         DO ig=1,ngrid
2          !! sensible heat flux in W/m2
3          hfx(ig) = zflubid(ig)-capcal(ig)*zdtsdif(ig)
4          !! u star in similarity theory in m/s
5!          ust(ig) = 0.4
6!     .               * sqrt( pu(ig,1)*pu(ig,1) + pv(ig,1)*pv(ig,1) )
7!     .               / log( 1.E+0 + zzlay(ig,1)/z0_default )
8
9! New SL parametrization, ust is more accurately computed in vdif_cd :
10        ust(ig) = sqrt(zcdv(ig)*(pu(ig,1)*pu(ig,1) + pv(ig,1)*pv(ig,1)))
11
12         ENDDO   
13!         write (*,*) 'PHYS HFX cp zdts', hfx(100), zflubid(100),
14!     .       capcal(100),
15!     .       zdtsdif(100)
16!         write (*,*) 'PHYS UST', ust(100)
17
18!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
19!!! LES LES
20       IF (flag_LES) THEN       
21
22         write (*,*) '************************************************'
23         write (*,*) '** LES mode: the difv part is only used to'
24         write (*,*) '**  provide HFX and UST to the dynamics'
25         write (*,*) '** NB: - dudif, dvdif, dhdif, dqdif are set to 0'
26         write (*,*) '**     - tsurf is updated'     
27         write (*,*) '************************************************'
28
29         DO ig=1,ngrid
30          wmax_th(ig)=0.  !! no additional gustiness needed in surface layer (see vdifc.F)
31          DO l=1,nlayer
32            zdvdif(ig,l) = 0.
33            zdudif(ig,l) = 0.
34            zdhdif(ig,l) = 0.
35            DO iq=1, nq
36              zdqdif(ig,l,iq) = 0.
37              zdqsdif(ig,iq) = 0. !! sortir de la boucle
38            ENDDO
39          ENDDO
40         ENDDO
41      ENDIF
42!!! LES LES       
43!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Note: See TracBrowser for help on using the repository browser.