Ignore:
Timestamp:
Jun 20, 2019, 4:11:54 PM (5 years ago)
Author:
aboissinot
Message:

Update the thermal plume model:

  • check formulae consistency between thermcell_plume and thercell_closure
  • compute correctly thermal plume height
  • fix alimentation computation in the first unstable layer
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.GENERIC/libf/phystd/thermcell_env.F90

    r2130 r2143  
    5151!     --------
    5252     
    53       REAL zqt(ngrid,nlay)                      ! q    environment
    54       REAL zql(ngrid,nlay)                      ! q    environment
     53      REAL zqt(ngrid,nlay)                      ! qt   environment
     54      REAL zql(ngrid,nlay)                      ! ql   environment
    5555      REAL zt(ngrid,nlay)                       ! T    environment
    5656      REAL ztv(ngrid,nlay)                      ! TRPV environment
     
    7676      zhl(:,:) = pt(:,:) / zpopsk(:,:)
    7777     
     78      zqt(:,:) = pq(:,:,igcm_h2o_vap)
     79      zql(:,:) = 0.
     80     
    7881!===============================================================================
    7982! Condensation and latent heat release
     
    8184     
    8285      IF (water) THEN
    83          
    84          zqt(:,:) = pq(:,:,igcm_h2o_vap)
    8586         
    8687         DO l=1,nlay
     
    101102      ELSE
    102103         
    103          zqt(:,:) = 0.
    104          zql(:,:) = 0.
    105104         zt(:,:) = pt(:,:)
    106          ztv(:,:) = zhl(:,:)
     105         ztv(:,:) = pt(:,:) / zpopsk(:,:)
    107106         
    108107      ENDIF
Note: See TracChangeset for help on using the changeset viewer.