Changeset 2924 for LMDZ5/branches/LMDZ_tree_FC/libf/phylmd/yamada4.F90
- Timestamp:
- Jun 30, 2017, 12:00:23 PM (8 years ago)
- Location:
- LMDZ5/branches/LMDZ_tree_FC
- Files:
-
- 1 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
LMDZ5/branches/LMDZ_tree_FC/libf/phylmd/yamada4.F90
r2891 r2924 2 2 3 3 SUBROUTINE yamada4(ni, nsrf, ngrid, dt, g, rconst, plev, temp, zlev, zlay, u, v, teta, & 4 cd, tke, km, kn, kq, ustar, iflag_pbl )4 cd, tke, km, kn, kq, ustar, iflag_pbl, drgpro) 5 5 6 6 USE dimphy … … 101 101 INTEGER ni(klon) 102 102 103 !FC 104 REAL drgpro(klon,klev) 105 REAL winds(klon,klev) 103 106 104 107 ! Local … … 479 482 DO ig=1,ngrid 480 483 tkeprov=q2(ig,k)/ydeux 481 disseff=dissip(ig,k)-min(0.,buoy(ig,k)) 484 485 ! if(ifl_pbltree .eq. 0) then 486 ! disseff=dissip(ig,k)-min(0.,buoy(ig,k)) 487 ! tkeexp=exp(-dt*disseff/tkeprov) 488 ! tkeprov= shear(ig,k)*tkeprov/disseff*(1.-tkeexp)+tkeprov*tkeexp 489 ! else 490 !FC on ajoute la dissipation due aux arbres 491 disseff=dissip(ig,k)-min(0.,buoy(ig,k)) + drgpro(ig,k)*tkeprov 482 492 tkeexp=exp(-dt*disseff/tkeprov) 483 tkeprov= shear(ig,k)*tkeprov/disseff*(1.-tkeexp)+tkeprov*tkeexp 493 ! on prend en compte la tke cree par les arbres 494 winds(ig,k)=sqrt(u(ig,k)**2+v(ig,k)**2) 495 tkeprov= (shear(ig,k)+ & 496 & drgpro(ig,k)*(winds(ig,k))**3)*tkeprov/disseff*(1.-tkeexp)+tkeprov*tkeexp 497 ! endif 498 484 499 q2(ig,k)=tkeprov*ydeux 500 485 501 ! En cas stable, on traite la flotabilite comme la 486 502 ! dissipation, en supposant que buoy/q2^3 est constant.
Note: See TracChangeset
for help on using the changeset viewer.