Changeset 2478 for palm/trunk/SOURCE/production_e.f90
- Timestamp:
- Sep 18, 2017 1:37:24 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/production_e.f90
r2329 r2478 25 25 ! ----------------- 26 26 ! $Id$ 27 ! Bugfix, consider case where no constant-flux layer and no surfaces fluxes 28 ! are used 29 ! 30 ! 2329 2017-08-03 14:24:56Z knoop 27 31 ! Bugfix: added division by density as kinematic fluxes are needed 28 32 ! … … 432 436 ENDDO 433 437 434 ELSE IF ( use_surface_fluxes ) THEN438 ELSE 435 439 436 440 DO j = nys, nyn … … 1182 1186 ENDDO 1183 1187 1184 ELSE IF ( use_surface_fluxes ) THEN1188 ELSE 1185 1189 ! 1186 1190 !-- Calculate TKE production by shear. Here, no additional … … 1235 1239 !-- the bottom and top surface layer 1236 1240 DO k = nzb+1, nzt 1241 1237 1242 tend(k,j,i) = tend(k,j,i) + & 1238 1243 kh(k,j,i) * g / rho_reference * & … … 1241 1246 MERGE( 1.0_wp, 0.0_wp, & 1242 1247 BTEST( wall_flags_0(k,j,i), 0 ) & 1243 ) 1248 ) 1244 1249 ENDDO 1245 1250 … … 1323 1328 MERGE( 1.0_wp, 0.0_wp, & 1324 1329 BTEST( wall_flags_0(k,j,i), 0 ) & 1325 ) 1330 ) 1326 1331 ENDDO 1327 1332
Note: See TracChangeset
for help on using the changeset viewer.