Changeset 4109 for palm/trunk/SOURCE/turbulence_closure_mod.f90
- Timestamp:
- Jul 22, 2019 5:00:34 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/turbulence_closure_mod.f90
r4105 r4109 20 20 ! Current revisions: 21 21 ! ----------------- 22 ! 22 ! pass integer flag array as well as boundary flags to WS scalar advection 23 ! routine 23 24 ! 24 25 ! Former revisions: … … 248 249 249 250 USE indices, & 250 ONLY: nbgp, nxl, nxlg, nxr, nxrg, nyn, nyng, nys, nysg, nzb, nzt, & 251 ONLY: advc_flags_s, & 252 nbgp, nxl, nxlg, nxr, nxrg, nyn, nyng, nys, nysg, nzb, nzt, & 251 253 wall_flags_0 252 254 … … 2329 2331 IF ( timestep_scheme(1:5) == 'runge' ) THEN 2330 2332 IF ( ws_scheme_sca ) THEN 2331 CALL advec_s_ws( e, 'e' ) 2333 CALL advec_s_ws( advc_flags_s, e, 'e', & 2334 bc_dirichlet_l .OR. bc_radiation_l, & 2335 bc_dirichlet_n .OR. bc_radiation_n, & 2336 bc_dirichlet_r .OR. bc_radiation_r, & 2337 bc_dirichlet_s .OR. bc_radiation_s ) 2332 2338 ELSE 2333 2339 CALL advec_s_pw( e ) … … 2443 2449 IF ( timestep_scheme(1:5) == 'runge' ) THEN 2444 2450 IF ( ws_scheme_sca ) THEN 2445 CALL advec_s_ws( diss, 'diss' ) 2451 CALL advec_s_ws( advc_flags_s, diss, 'diss', & 2452 bc_dirichlet_l .OR. bc_radiation_l, & 2453 bc_dirichlet_n .OR. bc_radiation_n, & 2454 bc_dirichlet_r .OR. bc_radiation_r, & 2455 bc_dirichlet_s .OR. bc_radiation_s ) 2446 2456 ELSE 2447 2457 CALL advec_s_pw( diss ) … … 2549 2559 .AND. .NOT. use_upstream_for_tke ) THEN 2550 2560 IF ( ws_scheme_sca ) THEN 2551 CALL advec_s_ws( i, j, e, 'e', flux_s_e, diss_s_e, & 2552 flux_l_e, diss_l_e , i_omp, tn ) 2561 CALL advec_s_ws( advc_flags_s, & 2562 i, j, e, 'e', flux_s_e, diss_s_e, & 2563 flux_l_e, diss_l_e , i_omp, tn, & 2564 bc_dirichlet_l .OR. bc_radiation_l, & 2565 bc_dirichlet_n .OR. bc_radiation_n, & 2566 bc_dirichlet_r .OR. bc_radiation_r, & 2567 bc_dirichlet_s .OR. bc_radiation_s ) 2553 2568 ELSE 2554 2569 CALL advec_s_pw( i, j, e ) … … 2618 2633 .AND. .NOT. use_upstream_for_tke ) THEN 2619 2634 IF ( ws_scheme_sca ) THEN 2620 CALL advec_s_ws( i, j, diss, 'diss', flux_s_diss, diss_s_diss, & 2621 flux_l_diss, diss_l_diss, i_omp, tn ) 2635 CALL advec_s_ws( advc_flags_s, & 2636 i, j, diss, 'diss', flux_s_diss, diss_s_diss, & 2637 flux_l_diss, diss_l_diss, i_omp, tn, & 2638 bc_dirichlet_l .OR. bc_radiation_l, & 2639 bc_dirichlet_n .OR. bc_radiation_n, & 2640 bc_dirichlet_r .OR. bc_radiation_r, & 2641 bc_dirichlet_s .OR. bc_radiation_s ) 2622 2642 ELSE 2623 2643 CALL advec_s_pw( i, j, diss ) … … 3451 3471 dvdy(k) = ( v(k,j+1,i) - v(k,j,i) ) * ddy 3452 3472 dvdz(k) = 0.5_wp * ( v(k+1,j,i) + v(k+1,j+1,i) - & 3453 3473 v(k-1,j,i) - v(k-1,j+1,i) ) * dd2zu(k) 3454 3474 3455 3475 dwdx(k) = 0.25_wp * ( w(k,j,i+1) + w(k-1,j,i+1) - &
Note: See TracChangeset
for help on using the changeset viewer.