Changeset 4675 for LMDZ6/trunk/libf
- Timestamp:
- Sep 5, 2023, 2:29:43 PM (15 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/trunk/libf/phylmd/atke_exchange_coeff_mod.F90
r4663 r4675 240 240 DO igrid=1,ngrid 241 241 qq=max(sqrt(2.*tke(igrid,ilay)),1.e-10) 242 delta=1.+4.*dtime/cepsilon/l_exchange(igrid,ilay)/(2.**(3/2)) * & 243 (qq+dtime*l_exchange(igrid,ilay)/sqrt(2.)*Sm(igrid,ilay)*shear2(igrid,ilay) & 244 *(1.-Ri(igrid,ilay)/Prandtl(igrid,ilay))) 245 qq=(-1. + sqrt(delta))/dtime*cepsilon*sqrt(2.)*l_exchange(igrid,ilay) 242 delta=(2.*sqrt(2.)*cepsilon*l_exchange(igrid,ilay)/dtime)**2. & 243 +4.*(2.*sqrt(2.)*cepsilon*l_exchange(igrid,ilay)/dtime*qq + & 244 2.*l_exchange(igrid,ilay)*l_exchange(igrid,ilay)*cepsilon*Sm(igrid,ilay) & 245 *shear2(igrid,ilay) * (1. - Ri(igrid,ilay) / Prandtl(igrid,ilay))) 246 qq=(-2.*sqrt(2.)*cepsilon*l_exchange(igrid,ilay)/dtime + sqrt(delta))/2. 247 qq=max(0.,qq) 246 248 tke(igrid,ilay)=0.5*(qq**2) 247 249 ENDDO
Note: See TracChangeset
for help on using the changeset viewer.