Changeset 5512 for LMDZ6/trunk/libf/phylmd/lmdz_thermcell_flux2.f90
- Timestamp:
- Jan 28, 2025, 7:07:51 PM (2 days ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/trunk/libf/phylmd/lmdz_thermcell_flux2.f90
r5390 r5512 16 16 !--------------------------------------------------------------------------- 17 17 18 USE lmdz_thermcell_ini, ONLY : prt_level,iflag_thermals_optflux 18 USE lmdz_thermcell_ini, ONLY : prt_level,iflag_thermals_optflux, thermals_fomass_max, thermals_alphamax 19 19 IMPLICIT NONE 20 20 … … 48 48 REAL f_old,ddd0,eee0,ddd,eee,zzz 49 49 50 REAL,SAVE :: fomass_max=0.551 REAL,SAVE :: alphamax=0.752 !$OMP THREADPRIVATE(fomass_max,alphamax)53 54 50 logical check_debug,labort_physic 55 51 56 character (len=20) :: modname='thermcell_flux2'52 character (len=20), PARAMETER :: modname='thermcell_flux2' 57 53 character (len=80) :: abort_message 58 54 … … 391 387 do ig=1,ngrid 392 388 if (zw2(ig,l+1).gt.1.e-10) then 393 zfm=rhobarz(ig,l+1)*zw2(ig,l+1)* alphamax389 zfm=rhobarz(ig,l+1)*zw2(ig,l+1)*thermals_alphamax 394 390 if ( fm(ig,l+1) .gt. zfm) then 395 391 f_old=fm(ig,l+1) … … 430 426 eee0=entr(ig,l) 431 427 ddd0=detr(ig,l) 432 eee=entr(ig,l)-masse(ig,l)* fomass_max/ptimestep428 eee=entr(ig,l)-masse(ig,l)*thermals_fomass_max/ptimestep 433 429 ddd=detr(ig,l)-eee 434 430 if (eee.gt.0.) then … … 470 466 print*,'detr',detr(ig,l) 471 467 print*,'masse',masse(ig,l) 472 print*,' fomass_max',fomass_max473 print*,'masse(ig,l)*fomass_max/ptimestep',masse(ig,l)* fomass_max/ptimestep468 print*,'thermal_fomass_max',thermals_fomass_max 469 print*,'masse(ig,l)*fomass_max/ptimestep',masse(ig,l)*thermals_fomass_max/ptimestep 474 470 print*,'ptimestep',ptimestep 475 471 print*,'lmax(ig)',lmax(ig)
Note: See TracChangeset
for help on using the changeset viewer.