Changeset 4441 for LMDZ6/trunk


Ignore:
Timestamp:
Feb 17, 2023, 5:11:37 PM (20 months ago)
Author:
fhourdin
Message:

Parametre controlant les downdrafts

Location:
LMDZ6/trunk/libf/phylmd
Files:
3 edited

Legend:

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

    r4438 r4441  
    223223
    224224
    225    USE thermcell_ini_mod, ONLY : prt_level,RLvCp,RKAPPA,RETV
     225   USE thermcell_ini_mod, ONLY : prt_level,RLvCp,RKAPPA,RETV,fact_thermals_down
    226226   IMPLICIT NONE
    227227
     
    271271      do ig=1,ngrid
    272272         if (ilay.le.lmax(ig).and.lmax(ig)>1) then
    273             edn(ig,ilay)=0.5*dup(ig,ilay)
    274             ddn(ig,ilay)=0.5*eup(ig,ilay)
     273            edn(ig,ilay)=fact_thermals_down*dup(ig,ilay)
     274            ddn(ig,ilay)=fact_thermals_down*eup(ig,ilay)
    275275            fdn(ig,ilay)=fdn(ig,ilay+1)+edn(ig,ilay)-ddn(ig,ilay)
    276276            thetad(ig,ilay)=( fdn(ig,ilay+1)*thetad(ig,ilay+1) + edn(ig,ilay)*theta(ig,ilay) ) / (fdn(ig,ilay)+ddn(ig,ilay))
  • LMDZ6/trunk/libf/phylmd/thermcell_ini_mod.F90

    r4413 r4441  
    33
    44save
     5
    56   integer :: dvdq=1,dqimpl=-1,prt_level=0,lunout
    67   real RG,RD,RCPD,RKAPPA,RLVTT,RLvCp,RETV
     
    89   integer        :: iflag_thermals_ed,iflag_thermals_optflux,iflag_thermals_closure
    910   integer        :: iflag_thermals_down
    10    real           :: entrdn_coef, detrdn_coef
     11   real           :: fact_thermals_down
    1112
    1213!$OMP THREADPRIVATE(dvdq,dqimpl,prt_level,lunout)
     
    1516!$OMP THREADPRIVATE(iflag_thermals_ed,iflag_thermals_optflux,iflag_thermals_closure)
    1617!$OMP THREADPRIVATE(iflag_thermals_down)
    17 !$OMP THREADPRIVATE(entrdn_coef, detrdn_coef)
     18!$OMP THREADPRIVATE(entrdn_coef, detrdn_coef,fact_thermals_down)
    1819
    1920
     
    9293   CALL getin_p('iflag_thermals_down',iflag_thermals_down)
    9394
    94 
    95    entrdn_coef = 0.5
    96    CALL getin_p('entrdn_coef',entrdn_coef)
    97 
    98    detrdn_coef = 0.5
    99    CALL getin_p('detrdn_coef',detrdn_coef)
    100 
     95   fact_thermals_down = 0.5
     96   CALL getin_p('fact_thermals_down',fact_thermals_down)
    10197
    10298     CALL getin_p('thermals_fact_epsilon',fact_epsilon)
  • LMDZ6/trunk/libf/phylmd/thermcell_main.F90

    r4438 r4441  
    1818      USE thermcell_ini_mod, ONLY: thermcell_ini,dqimpl,dvdq,prt_level,lunout,prt_level
    1919      USE thermcell_ini_mod, ONLY: iflag_thermals_closure,iflag_thermals_ed,tau_thermals,r_aspect_thermals
    20       USE thermcell_ini_mod, ONLY: iflag_thermals_down
    21       USE thermcell_ini_mod, ONLY: entrdn_coef, detrdn_coef
     20      USE thermcell_ini_mod, ONLY: iflag_thermals_down, fact_thermals_down
    2221      USE thermcell_ini_mod, ONLY: RD,RG
    2322
     
    503502      IF (iflag_thermals_down .GT. 0) THEN
    504503        if (debut) print*,'WARNING !!! routine thermcell_down en cours de developpement'
    505         entrdn=entrdn_coef*detr0
    506         detrdn=detrdn_coef*entr0
     504        entrdn=fact_thermals_down*detr0
     505        detrdn=fact_thermals_down*entr0
    507506        ! we want to transport potential temperature, total water and momentum
    508507        CALL thermcell_updown_dq(ngrid,nlay,ptimestep,lmax,entr0,detr0,entrdn,detrdn,masse,zthl,zdthladj)
Note: See TracChangeset for help on using the changeset viewer.