Ignore:
Timestamp:
Mar 4, 2024, 6:58:03 PM (3 months ago)
Author:
crio
Message:

Nouvelle formulation du strig et correction thermiques montent trop haut

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/trunk/libf/phylmd/lmdz_thermcell_main.F90

    r4692 r4843  
    1515     &                  ,zmax0, f0,zw2,fraca,ztv &
    1616     &                  ,zpspsk,ztla,zthl,ztva &
    17      &                  ,pcon,rhobarz,wth3,wmax_sec,lalim,fm,alim_star,zmax &
     17     &                  ,pcon,rhobarz,wth3,wmax_sec,lalim,fm,alim_star,zmax,zcong &
    1818#ifdef ISO         
    1919     &      ,xtpo,xtpdoadj &
     
    134134      real, intent(out), dimension(ngrid,nlay+1) :: fm
    135135      real, intent(out), dimension(ngrid,nlay) :: alim_star
    136       real, intent(out), dimension(ngrid) :: zmax
     136      real, intent(out), dimension(ngrid) :: zmax,zcong
    137137
    138138!   local:
     
    150150      integer ig,k,l,ierr,ll
    151151      logical sorties
    152       real, dimension(ngrid) :: linter,zmix, zmax_sec
    153       integer,dimension(ngrid) :: lmin,lmix,lmix_bis,nivcon
     152      real, dimension(ngrid) :: linter,zmix, zmax_sec,lintercong
     153      integer,dimension(ngrid) :: lmin,lmix,lmix_bis,nivcon, lcong
    154154      real, dimension(ngrid,nlay) :: ztva_est
    155155      real, dimension(ngrid,nlay) :: deltaz,zlay,zdthladj,zu,zv,z_o,zl,zva,zua,z_oa
     
    227227
    228228          CALL thermcell_env(ngrid,nlay,p_o,ptemp_env,puwind,pvwind,pplay,  &
    229          &           pplev,z_o,ztemp_env,zl,ztv,zthl,zu,zv,zpspsk,zqsat,lev_out)
     229         &           pplev,z_o,ztemp_env,zl,ztv,zthl,zu,zv,zpspsk,zqsat,lcong,lintercong,lev_out)
    230230
    231231      else
     
    456456!-------------------------------------------------------------------------------
    457457!
    458       CALL thermcell_height(ngrid,nlay,lalim,lmin,linter,lmix,zw2,  &
    459      &           zlev,lmax,zmax,zmax0,zmix,wmax)
     458      CALL thermcell_height(ngrid,nlay,lalim,lmin,linter,lcong,lintercong,lmix,zw2,  &
     459     &           zlev,lmax,zmax,zmax0,zmix,wmax,zcong)
    460460! Attention, w2 est transforme en sa racine carree dans cette routine
    461461! Le probleme vient du fait que linter et lmix sont souvent egaux a 1.
     
    729729        endif
    730730      enddo
    731       if (ierr==1) then
    732            abort_message = 'thermcellV0_main: les thermiques vont trop haut '
    733            CALL abort_physic (modname,abort_message,1)
    734       endif
     731!      if (ierr==1) then
     732!           abort_message = 'thermcellV0_main: les thermiques vont trop haut '
     733!           CALL abort_physic (modname,abort_message,1)
     734!      endif
    735735
    736736      if (prt_level.ge.1) print*,'14b OK convect8'
Note: See TracChangeset for help on using the changeset viewer.