Ignore:
Timestamp:
Aug 5, 2011, 11:56:23 AM (13 years ago)
Author:
aslmd
Message:

MESOSCALE: Something was broken for MESOSCALE model in r259-r260 (flag_LES is not known in vdifc). Moved this to meso_inc/meso_inc_les.F. Also there was a problem with the new surface layer if calltherm is false because then wmax has no value... Fixed.

Location:
trunk/LMDZ.MARS/libf/phymars
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.MARS/libf/phymars/meso_inc/meso_inc_les.F

    r256 r263  
    2828
    2929         DO ig=1,ngrid
     30          wmax_th(ig)=0.  !! no additional gustiness needed in surface layer (see vdifc.F)
    3031          DO l=1,nlayer
    3132            zdvdif(ig,l) = 0.
  • trunk/LMDZ.MARS/libf/phymars/physiq.F

    r256 r263  
    322322      REAL lmax_th_out(ngridmx),zmax_th(ngridmx)
    323323      REAL, SAVE :: wmax_th(ngridmx)
    324       REAL, SAVE :: hfmax_th(ngridmx)
     324      REAL, SAVE :: hfmax_th(ngridmx)  !! AS: pourquoi en save ?
    325325      REAL pdu_th(ngridmx,nlayermx),pdv_th(ngridmx,nlayermx)
    326326      REAL pdt_th(ngridmx,nlayermx),pdq_th(ngridmx,nlayermx,nqmx)
     
    784784        else   !of if calltherm
    785785        lmax_th(:)=0
     786        wmax_th(:)=0.
    786787        end if
    787788
  • trunk/LMDZ.MARS/libf/phymars/vdifc.F

    r259 r263  
    234234      CALL vdif_cd(ngrid,nlay,pz0,g,pzlay,pu,pv,ptsrf,ph
    235235     &             ,zcdv_true,zcdh_true)
    236 
    237 #ifdef MESOSCALE
    238       IF (flag_LES) THEN
    239       wmax(:)=0.
    240       ENDIF
    241 #endif
    242236
    243237      DO ig=1,ngrid
Note: See TracChangeset for help on using the changeset viewer.