Changeset 4289 for LMDZ6/trunk
- Timestamp:
- Oct 2, 2022, 10:32:19 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/trunk/libf/phylmd/yamada4.F90
r4019 r4289 444 444 tkeprov= tkeprov* & 445 445 & (tkeprov+dt*(shear(ig,k)+max(0.,buoy(ig,k))))/ & 446 & (tkeprov+dt*((-1.)*min(0.,buoy(ig,k))+dissip(ig,k) ))446 & (tkeprov+dt*((-1.)*min(0.,buoy(ig,k))+dissip(ig,k)+drgpro(ig,k)*tkeprov)) 447 447 q2(ig,k)=tkeprov*ydeux 448 448 ENDDO … … 497 497 DO ig=1,ngrid 498 498 tkeprov=q2(ig,k)/ydeux 499 500 ! if(ifl_pbltree .eq. 0) then501 ! disseff=dissip(ig,k)-min(0.,buoy(ig,k))502 ! tkeexp=exp(-dt*disseff/tkeprov)503 ! tkeprov= shear(ig,k)*tkeprov/disseff*(1.-tkeexp)+tkeprov*tkeexp504 ! else505 499 !FC on ajoute la dissipation due aux arbres 506 500 disseff=dissip(ig,k)-min(0.,buoy(ig,k)) + drgpro(ig,k)*tkeprov … … 510 504 tkeprov= (shear(ig,k)+ & 511 505 & drgpro(ig,k)*(winds(ig,k))**3)*tkeprov/disseff*(1.-tkeexp)+tkeprov*tkeexp 512 ! endif513 514 506 q2(ig,k)=tkeprov*ydeux 515 516 507 ! En cas stable, on traite la flotabilite comme la 517 508 ! dissipation, en supposant que buoy/q2^3 est constant. … … 522 513 DO k = 2, klev - 1 523 514 DO ig=1,ngrid 524 !tkeprov=q2(ig,k)/ydeux525 !tkeprov=tkeprov+max(buoy(ig,k)+shear(ig,k),0.)*dt526 !disseff=dissip(ig,k)-min(0.,buoy(ig,k)+shear(ig,k))527 !tkeexp=exp(-dt*disseff/tkeprov)528 !tkeprov= tkeprov*tkeexp529 !q2(ig,k)=tkeprov*ydeux530 515 ! En cas stable, on traite la flotabilite comme la 531 516 ! dissipation, en supposant que dissipeff/TKE est constant. 532 517 ! Puis on prend la solution exacte 533 !534 518 ! With drag and dissipation from high vegetation (EV & FC, 05/10/2020) 535 519 winds(ig,k)=sqrt(u(ig,k)**2+v(ig,k)**2)
Note: See TracChangeset
for help on using the changeset viewer.