Changeset 4441 for LMDZ6/trunk
- Timestamp:
- Feb 17, 2023, 5:11:37 PM (20 months ago)
- Location:
- LMDZ6/trunk/libf/phylmd
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/trunk/libf/phylmd/thermcell_down.F90
r4438 r4441 223 223 224 224 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 226 226 IMPLICIT NONE 227 227 … … 271 271 do ig=1,ngrid 272 272 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) 275 275 fdn(ig,ilay)=fdn(ig,ilay+1)+edn(ig,ilay)-ddn(ig,ilay) 276 276 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 3 3 4 4 save 5 5 6 integer :: dvdq=1,dqimpl=-1,prt_level=0,lunout 6 7 real RG,RD,RCPD,RKAPPA,RLVTT,RLvCp,RETV … … 8 9 integer :: iflag_thermals_ed,iflag_thermals_optflux,iflag_thermals_closure 9 10 integer :: iflag_thermals_down 10 real :: entrdn_coef, detrdn_coef11 real :: fact_thermals_down 11 12 12 13 !$OMP THREADPRIVATE(dvdq,dqimpl,prt_level,lunout) … … 15 16 !$OMP THREADPRIVATE(iflag_thermals_ed,iflag_thermals_optflux,iflag_thermals_closure) 16 17 !$OMP THREADPRIVATE(iflag_thermals_down) 17 !$OMP THREADPRIVATE(entrdn_coef, detrdn_coef )18 !$OMP THREADPRIVATE(entrdn_coef, detrdn_coef,fact_thermals_down) 18 19 19 20 … … 92 93 CALL getin_p('iflag_thermals_down',iflag_thermals_down) 93 94 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) 101 97 102 98 CALL getin_p('thermals_fact_epsilon',fact_epsilon) -
LMDZ6/trunk/libf/phylmd/thermcell_main.F90
r4438 r4441 18 18 USE thermcell_ini_mod, ONLY: thermcell_ini,dqimpl,dvdq,prt_level,lunout,prt_level 19 19 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 22 21 USE thermcell_ini_mod, ONLY: RD,RG 23 22 … … 503 502 IF (iflag_thermals_down .GT. 0) THEN 504 503 if (debut) print*,'WARNING !!! routine thermcell_down en cours de developpement' 505 entrdn= entrdn_coef*detr0506 detrdn= detrdn_coef*entr0504 entrdn=fact_thermals_down*detr0 505 detrdn=fact_thermals_down*entr0 507 506 ! we want to transport potential temperature, total water and momentum 508 507 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.