Changeset 4381 for LMDZ6/trunk/libf/phylmd
- Timestamp:
- Jan 13, 2023, 11:39:28 AM (23 months ago)
- Location:
- LMDZ6/trunk/libf/phylmd
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/trunk/libf/phylmd/thermcell_down.F90
r4377 r4381 4 4 ! thermcell_updown_dq: calcul du transport d'un traceur en pr??sence 5 5 ! d'up/down drafts 6 ! 6 7 !-------------------------------------------------------------- 7 8 … … 83 84 fthd(ig,ilay)=-fdn(ig,ilay)*thetad(ig,ilay) 84 85 !!!!ATTENTION HYPOTHESE de FLUX COMPENSATOIRE DESCENDANT ET DONC comme schema amont on va chercher theta au dessus!!!!! 86 !!!! si ce n'est pas le cas on stoppe le code !!!! 87 if (fup(ig,ilay)-fdn(ig,ilay) .lt. 0.) then 88 write(*,*) 'flux compensatoire montant, cas non traite par thermcell_updown_dq' 89 stop 90 endif 85 91 fthe(ig,ilay)=-(fup(ig,ilay)-fdn(ig,ilay))*theta(ig,ilay) 86 92 fthtot(ig,ilay)=fthu(ig,ilay)+fthd(ig,ilay)+fthe(ig,ilay) -
LMDZ6/trunk/libf/phylmd/thermcell_ini_mod.F90
r4095 r4381 7 7 real :: r_aspect_thermals,tau_thermals,fact_thermals_ed_dz 8 8 integer :: iflag_thermals_ed,iflag_thermals_optflux,iflag_thermals_closure 9 9 integer :: iflag_thermals_down 10 10 11 11 !$OMP THREADPRIVATE(dvdq,dqimpl,prt_level,lunout) … … 13 13 !$OMP THREADPRIVATE(r_aspect_thermals,tau_thermals,fact_thermals_ed_dz) 14 14 !$OMP THREADPRIVATE(iflag_thermals_ed,iflag_thermals_optflux,iflag_thermals_closure) 15 !$OMP THREADPRIVATE(iflag_thermals_down) 16 15 17 16 18 REAL, SAVE :: fact_epsilon=0.002 … … 85 87 CALL getin_p('iflag_thermals_closure',iflag_thermals_closure) 86 88 89 iflag_thermals_down = 0 90 CALL getin_p('iflag_thermals_down',iflag_thermals_down) 91 92 87 93 CALL getin_p('thermals_fact_epsilon',fact_epsilon) 88 94 CALL getin_p('thermals_betalpha',betalpha) -
LMDZ6/trunk/libf/phylmd/thermcell_main.F90
r4377 r4381 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 20 21 USE thermcell_ini_mod, ONLY: RD,RG 21 22 … … 481 482 ! calcul du transport vertical 482 483 !------------------------------------------------------------------ 483 484 #undef DevThermcellDown 485 #ifdef DevThermcellDown 486 print*,'AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA' 487 print*,'WARNING !!! routine thermcell_down en cours de developpement' 488 CALL thermcell_updown_dq(ngrid,nlay,ptimestep,lmax,entr0,detr0,0.5*detr0,0.5*entr0,masse,zthl) 489 !-------------------------------------------------------------- 490 #endif 484 IF (iflag_thermals_down .GT. 0) THEN 485 print*,'AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA' 486 print*,'WARNING !!! routine thermcell_down en cours de developpement' 487 CALL thermcell_updown_dq(ngrid,nlay,ptimestep,lmax,entr0,detr0,0.5*detr0,0.5*entr0,masse,zthl) 488 ENDIF 489 !-------------------------------------------------------------- 491 490 492 491 call thermcell_dq(ngrid,nlay,dqimpl,ptimestep,fm0,entr0,masse, &
Note: See TracChangeset
for help on using the changeset viewer.