Changeset 5647 for LMDZ6/trunk


Ignore:
Timestamp:
May 10, 2025, 9:25:12 PM (4 weeks ago)
Author:
evignon
Message:

petite correction pour la phase mixte dans les thermiques, nouvelle param Lea Etienne

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/trunk/libf/phylmd/lmdz_lscp_main.f90

    r5633 r5647  
    149149  REAL, DIMENSION(klon,klev+1),    INTENT(IN)   :: tke             ! turbulent kinetic energy [m2/s2]
    150150  REAL, DIMENSION(klon,klev+1),    INTENT(IN)   :: tke_dissip      ! TKE dissipation [m2/s3]
    151   REAL, DIMENSION(klon,klev),      INTENT(IN)   :: entr_therm      ! thermal plume entrainment rate [kg/s/m2] ! per mesh surface unit
    152   REAL, DIMENSION(klon,klev),      INTENT(IN)   :: detr_therm      ! thermal plume detrainment rate [kg/s/m2] ! per mesh surface unit
     151  REAL, DIMENSION(klon,klev),      INTENT(IN)   :: entr_therm      ! thermal plume entrainment rate * dz [kg/s/m2]
     152  REAL, DIMENSION(klon,klev),      INTENT(IN)   :: detr_therm      ! thermal plume detrainment rate * dz [kg/s/m2]
    153153
    154154
     
    312312  REAL, DIMENSION(klon) :: znebprecip, znebprecipclr, znebprecipcld
    313313  REAL, DIMENSION(klon) :: tot_zneb
    314   REAL, DIMENSION(klon) :: zdistcltop, ztemp_cltop
     314  REAL, DIMENSION(klon) :: zdistcltop, ztemp_cltop, zdeltaz
    315315  REAL, DIMENSION(klon) :: zqliq, zqice, zqvapcl, zqliqth, zqiceth, zqvapclth, sursat_e, invtau_e ! for icefrac_lscp_turb
    316316
     
    658658         Tbefthm1(:)=Tbefth(:)       
    659659        ENDIF
    660         zqth=qta(:,k)
     660        zqth(:)=qta(:,k)
     661        zdeltaz(:)=(paprs(:,k)-paprs(:,k+1))/RG/zp(:)*RD*zt(:)
    661662
    662663        ! Treatment of stratiform clouds (lognormale or ice-sursat) or all clouds (including cloudth
     
    849850                        ENDIF
    850851                        sursat_e(i)=cloudth_senv(i,k)/zqsi(i)
    851                         invtau_e(i)=gamma_mixth*MAX(entr_therm(i,k)-detr_therm(i,k),0.)*RD*Tbef(i)/zp(i)
     852                        invtau_e(i)=gamma_mixth*MAX(entr_therm(i,k)-detr_therm(i,k),0.)*RD*Tbef(i)/zp(i)/zdeltaz(i)
    852853                     ENDDO
    853854                     CALL icefrac_lscp_turb(klon, dtime, pticefracturb, Tbefth, zp, paprs(:,k), paprs(:,k+1), wth(:,k), zqi_ini,  &
     
    860861                        IF (k .GT. 1) THEN
    861862                           ! evaluate the mixing sursaturation using saturation deficit at level below
     863                           ! as air pacels detraining into clouds have not (less) seen yet entrainement from above
    862864                           sursat_e(i)=cloudth_sth(i,k-1)/(zqsith(i)+zdqsith(i)*RCPD/RLSTT*(Tbefthm1(i)-Tbefth(i)))
    863                            invtau_e(i)=gamma_mixth*MAX(detr_therm(i,k)-entr_therm(i,k),0.)*RD*Tbef(i)/zp(i)
     865                           ! mixing is assumed to scales with intensity of net detrainment/entrainment rate (D/dz-E/dz) / rho
     866                           invtau_e(i)=gamma_mixth*MAX(detr_therm(i,k)-entr_therm(i,k),0.)*RD*Tbef(i)/zp(i)/zdeltaz(i)
    864867                        ELSE
    865868                           sursat_e(i)=0.
Note: See TracChangeset for help on using the changeset viewer.