Changeset 3071
- Timestamp:
- Nov 14, 2017, 4:17:16 PM (7 years ago)
- Location:
- LMDZ6/trunk/libf/phylmd
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/trunk/libf/phylmd/ener_conserv.F90
r2903 r3071 222 222 DO k=1,klev 223 223 bils_ec(:)=bils_ec(:)-d_t_ec(:,k)*masse(:,k) 224 bils_tke(:)=bils_tke(:)+0.5*(dtke(:,k)+dtke(:,k+1))*masse(:,k)225 224 bils_diss(:)=bils_diss(:)-d_t_diss(:,k)*masse(:,k) 226 225 bils_kinetic(:)=bils_kinetic(:)+masse(:,k)* & … … 235 234 ENDDO 236 235 bils_ec(:)=rcpd*bils_ec(:)/pdtphys 237 bils_tke(:)=bils_tke(:)/pdtphys238 236 bils_diss(:)=rcpd*bils_diss(:)/pdtphys 239 237 bils_kinetic(:)= 0.5*bils_kinetic(:)/pdtphys 240 238 bils_enthalp(:)=rcpd*bils_enthalp(:)/pdtphys 241 239 bils_latent(:)=rlvtt*bils_latent(:)/pdtphys 240 !jyg< 241 IF (iflag_pbl > 1) THEN 242 DO k=1,klev 243 bils_tke(:)=bils_tke(:)+0.5*(dtke(:,k)+dtke(:,k+1))*masse(:,k) 244 ENDDO 245 bils_tke(:)=bils_tke(:)/pdtphys 246 ENDIF ! (iflag_pbl > 1) 247 !>jyg 242 248 243 249 IF (iflag_ener_conserv>=1) THEN -
LMDZ6/trunk/libf/phylmd/physiq_mod.F90
r3048 r3071 1400 1400 !jyg< 1401 1401 IF (klon_glo==1) THEN 1402 pbl_tke(:,:,is_ave) = 0. 1403 DO nsrf=1,nbsrf 1404 DO k = 1,klev+1 1405 pbl_tke(:,k,is_ave) = pbl_tke(:,k,is_ave) & 1406 +pctsrf(:,nsrf)*pbl_tke(:,k,nsrf) 1407 ENDDO 1408 ENDDO 1402 IF (iflag_pbl > 1) THEN 1403 pbl_tke(:,:,is_ave) = 0. 1404 DO nsrf=1,nbsrf 1405 DO k = 1,klev+1 1406 pbl_tke(:,k,is_ave) = pbl_tke(:,k,is_ave) & 1407 +pctsrf(:,nsrf)*pbl_tke(:,k,nsrf) 1408 ENDDO 1409 ENDDO 1410 ELSE ! (iflag_pbl > 1) 1411 pbl_tke(:,:,:) = 0. 1412 ENDIF ! (iflag_pbl > 1) 1409 1413 !>jyg 1410 1414 ENDIF
Note: See TracChangeset
for help on using the changeset viewer.