Ignore:
Timestamp:
Jan 5, 2016, 4:37:49 PM (8 years ago)
Author:
crio
Message:

Nouvelle option d'epluchage de l'ascendance adiabatique dans le schema d'Emanuel: epluchage fonction de B/w2 au lieu de w. S'active avec iflag_mix_adiab=1 (valeur par defaut iflag_mix_adiab=0). Fonctionne avec iflag_mix=0 et iflag_mix=1.
Correction de bugs dans le schema de convection pour le calcul de inb, cape et buoy (sous le meme flag pour l'instant).
New option for the erosion of the adiabatic ascent in the Emanuel scheme: erosion function of B/w2 instead of w. Activated by iflag_mix_adiab=1 (standard value iflag_mix_adiab=0). Should work with iflag_mix=0 and iflag_mix=1.
Various bug corrections in the convection scheme for the computation of inb, cape, buoy (protected by the same flag for now).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ5/trunk/libf/phylmd/cv3_buoy.F90

    r1992 r2420  
    1414  include "cvthermo.h"
    1515  include "cv3param.h"
     16  include "YOMCST2.h"
    1617
    1718  ! input:
     
    139140  END DO
    140141
    141 
     142!CR:Correction of buoy for what comes next
     143!keep flag or to modify in all cases?
     144  IF (iflag_mix_adiab.eq.1) THEN
     145  DO k = 1, nl
     146    DO il = 1, ncum
     147       IF ((k>=kmx(il)) .AND. (k<=inb(il)) .AND. (buoy(il,k).lt.0.)) THEN
     148          buoy(il,k)=buoy(il,k-1)
     149       END IF
     150    ENDDO
     151  ENDDO
     152  ENDIF
    142153
    143154  RETURN
Note: See TracChangeset for help on using the changeset viewer.