Changeset 1365 for palm/trunk/SOURCE/prognostic_equations.f90
- Timestamp:
- Apr 22, 2014 3:03:56 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/prognostic_equations.f90
r1362 r1365 20 20 ! Current revisions: 21 21 ! ------------------ 22 ! 22 ! Calls of ls_advec for large scale advection added, 23 ! subroutine subsidence is only called if use_subsidence_tendencies = .F., 24 ! new argument ls_index added to the calls of subsidence 25 ! +ls_index 23 26 ! 24 27 ! Former revisions: … … 143 146 dp_level_ind_b, dp_smooth_factor, dpdxy, dt_3d, humidity, & 144 147 icloud_scheme, inflow_l, intermediate_timestep_count, & 145 intermediate_timestep_count_max, large_scale_subsidence, & 146 neutral, nudging, ocean, outflow_l, outflow_s, passive_scalar, & 147 plant_canopy, precipitation, prho_reference, prho_reference, & 148 prho_reference, pt_reference, pt_reference, pt_reference, & 149 radiation, scalar_advec, scalar_advec, simulated_time, & 150 sloping_surface, timestep_scheme, tsc, use_upstream_for_tke, & 148 intermediate_timestep_count_max, large_scale_forcing, & 149 large_scale_subsidence, neutral, nudging, ocean, outflow_l, & 150 outflow_s, passive_scalar, plant_canopy, precipitation, & 151 prho_reference, prho_reference, prho_reference, pt_reference, & 152 pt_reference, pt_reference, radiation, scalar_advec, & 153 scalar_advec, simulated_time, sloping_surface, timestep_scheme, & 154 tsc, use_subsidence_tendencies, use_upstream_for_tke, & 151 155 use_upstream_for_tke, use_upstream_for_tke, wall_heatflux, & 152 156 wall_nrflux, wall_qflux, wall_qflux, wall_qflux, wall_qrflux, & … … 222 226 223 227 USE kinds 228 229 USE ls_forcing_mod, & 230 ONLY: ls_advec 224 231 225 232 USE microphysics_mod, & … … 307 314 i_omp_start = i 308 315 ENDIF 309 316 310 317 DO j = nys, nyn 311 318 ! … … 537 544 538 545 ! 546 !-- Large scale advection 547 IF ( large_scale_forcing ) THEN 548 CALL ls_advec( i, j, simulated_time, 'pt' ) 549 ENDIF 550 551 ! 539 552 !-- If required, compute effect of large-scale subsidence/ascent 540 IF ( large_scale_subsidence ) THEN 541 CALL subsidence( i, j, tend, pt, pt_init ) 553 IF ( large_scale_subsidence .AND. & 554 .NOT. use_subsidence_tendencies ) THEN 555 CALL subsidence( i, j, tend, pt, pt_init, 2 ) 542 556 ENDIF 543 557 … … 662 676 663 677 ! 678 !-- Large scale advection 679 IF ( large_scale_forcing ) THEN 680 CALL ls_advec( i, j, simulated_time, 'q' ) 681 ENDIF 682 683 ! 664 684 !-- If required compute influence of large-scale subsidence/ascent 665 IF ( large_scale_subsidence ) THEN 666 CALL subsidence( i, j, tend, q, q_init ) 685 IF ( large_scale_subsidence .AND. & 686 .NOT. use_subsidence_tendencies ) THEN 687 CALL subsidence( i, j, tend, q, q_init, 3 ) 667 688 ENDIF 668 689 … … 1177 1198 1178 1199 ! 1200 !-- Large scale advection 1201 IF ( large_scale_forcing ) THEN 1202 CALL ls_advec( simulated_time, 'pt' ) 1203 ENDIF 1204 1205 ! 1179 1206 !-- If required compute influence of large-scale subsidence/ascent 1180 IF ( large_scale_subsidence ) THEN 1181 CALL subsidence( tend, pt, pt_init ) 1207 IF ( large_scale_subsidence .AND. & 1208 .NOT. use_subsidence_tendencies ) THEN 1209 CALL subsidence( tend, pt, pt_init, 2 ) 1182 1210 ENDIF 1183 1211 … … 1365 1393 !-- Sink or source of scalar concentration due to canopy elements 1366 1394 IF ( plant_canopy ) CALL plant_canopy_model( 5 ) 1367 1395 1396 ! 1397 !-- Large scale advection 1398 IF ( large_scale_forcing ) THEN 1399 CALL ls_advec( simulated_time, 'q' ) 1400 ENDIF 1401 1368 1402 ! 1369 1403 !-- If required compute influence of large-scale subsidence/ascent 1370 IF ( large_scale_subsidence ) THEN 1371 CALL subsidence( tend, q, q_init ) 1404 IF ( large_scale_subsidence .AND. & 1405 .NOT. use_subsidence_tendencies ) THEN 1406 CALL subsidence( tend, q, q_init, 3 ) 1372 1407 ENDIF 1373 1408 … … 1978 2013 1979 2014 ! 2015 !-- Large scale advection 2016 IF ( large_scale_forcing ) THEN 2017 CALL ls_advec( simulated_time, 'pt' ) 2018 ENDIF 2019 2020 ! 1980 2021 !-- If required compute influence of large-scale subsidence/ascent 1981 IF ( large_scale_subsidence ) THEN 1982 CALL subsidence( tend, pt, pt_init ) 2022 IF ( large_scale_subsidence .AND. & 2023 .NOT. use_subsidence_tendencies ) THEN 2024 CALL subsidence( tend, pt, pt_init, 2 ) 1983 2025 ENDIF 1984 2026 … … 2142 2184 2143 2185 ! 2186 !-- Large scale advection 2187 IF ( large_scale_forcing ) THEN 2188 CALL ls_advec( simulated_time, 'q' ) 2189 ENDIF 2190 2191 ! 2144 2192 !-- If required compute influence of large-scale subsidence/ascent 2145 IF ( large_scale_subsidence ) THEN 2146 CALL subsidence( tend, q, q_init ) 2193 IF ( large_scale_subsidence .AND. & 2194 .NOT. use_subsidence_tendencies ) THEN 2195 CALL subsidence( tend, q, q_init, 3 ) 2147 2196 ENDIF 2148 2197
Note: See TracChangeset
for help on using the changeset viewer.