Changeset 3274 for palm/trunk/SOURCE/data_output_dvrp.f90
- Timestamp:
- Sep 24, 2018 3:42:55 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/data_output_dvrp.f90
r3045 r3274 25 25 ! ----------------- 26 26 ! $Id$ 27 ! Modularization of all bulk cloud physics code components 28 ! 29 ! 3045 2018-05-28 07:55:41Z Giersch 27 30 ! Code adjusted according to PALM coding standards 28 31 ! … … 131 134 132 135 USE arrays_3d, & 133 ONLY: p, pt, q, ql, s, ts, u, us, v, w, zu 134 135 USE cloud_parameters, & 136 ONLY: l_d_cp, pt_d_t 137 138 USE constants, & 139 ONLY: pi 140 136 ONLY: p, pt, q, ql, s, ts, u, us, v, w, zu, d_exner 137 138 USE basic_constants_and_equations_mod, & 139 ONLY: pi, lv_d_cp 140 141 141 USE control_parameters, & 142 ONLY: cloud_droplets, cloud_physics, do2d, do3d, humidity, ibc_uv_b,&142 ONLY: cloud_droplets, do2d, do3d, humidity, ibc_uv_b, & 143 143 message_string, nz_do3d, passive_scalar, simulated_time, & 144 144 threshold … … 160 160 161 161 USE kinds 162 163 USE bulk_cloud_model_mod, & 164 ONLY: bulk_cloud_model 162 165 163 166 USE pegrid … … 335 338 336 339 CASE ( 'pt', 'pt_xy', 'pt_xz', 'pt_yz' ) 337 IF ( .NOT. cloud_physics) THEN340 IF ( .NOT. bulk_cloud_model ) THEN 338 341 DO i = nxl_dvrp, nxr_dvrp+1 339 342 DO j = nys_dvrp, nyn_dvrp+1 … … 347 350 DO j = nys_dvrp, nyn_dvrp+1 348 351 DO k = nzb, nz_do3d 349 local_pf(i,j,k) = pt(k,j,i) + l _d_cp *&350 pt_d_t(k) * ql(k,j,i)352 local_pf(i,j,k) = pt(k,j,i) + lv_d_cp * & 353 d_exner(k) * ql(k,j,i) 351 354 ENDDO 352 355 ENDDO … … 372 375 373 376 CASE ( 'ql', 'ql_xy', 'ql_xz', 'ql_yz' ) 374 IF ( cloud_physics.OR. cloud_droplets ) THEN377 IF ( bulk_cloud_model .OR. cloud_droplets ) THEN 375 378 DO i = nxl_dvrp, nxr_dvrp+1 376 379 DO j = nys_dvrp, nyn_dvrp+1 … … 381 384 ENDDO 382 385 ELSE 383 message_string = 'if cloud_physics = .FALSE. and ' // &386 message_string = 'if bulk_cloud_model = .FALSE. and ' // & 384 387 'cloud_droplets = .FALSE. ' 385 388 'output of ' // TRIM( output_variable) // &
Note: See TracChangeset
for help on using the changeset viewer.