- Timestamp:
- Aug 4, 2017 11:57:04 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/init_1d_model.f90
r2299 r2334 25 25 ! ----------------- 26 26 ! $Id$ 27 ! set c_m = 0.4 according to Detering and Etling (1985) 28 ! 29 ! 2299 2017-06-29 10:14:38Z maronga 27 30 ! Removed german text 28 31 ! … … 273 276 REAL(wp) :: a !< 274 277 REAL(wp) :: b !< 278 REAL(wp) :: c_m = 0.4_wp !< model constant, 0.4 according to Detering and Etling (1985) 275 279 REAL(wp) :: dissipation !< 276 280 REAL(wp) :: dpt_dz !< … … 473 477 !-- Boundary conditions for the prognostic variables. 474 478 !-- At the top boundary (nzt+1) u,v and e keep their initial values 475 !-- (ug(nzt+1), vg(nzt+1), 0), at the bottom boundary the mirror 476 !-- boundary condition applies to u and v. 477 !-- The boundary condition for e is set further below ( (u*/cm)**2 ). 478 ! u1d_p(nzb) = -u1d_p(nzb+1) 479 ! v1d_p(nzb) = -v1d_p(nzb+1) 480 479 !-- (ug(nzt+1), vg(nzt+1), 0). 480 !-- At the bottom boundary, Dirichlet condition is used for u and v (0) 481 !-- and Neumann condition for e (e(nzb)=e(nzb+1)). 481 482 u1d_p(nzb) = 0.0_wp 482 483 v1d_p(nzb) = 0.0_wp … … 499 500 ! 500 501 !-- Compute theta* using Rif numbers of the previous time step 501 IF ( rif1d( 1) >= 0.0_wp ) THEN502 IF ( rif1d(nzb+1) >= 0.0_wp ) THEN 502 503 ! 503 504 !-- Stable stratification … … 628 629 !-- compatibility with the 3D model. 629 630 IF ( ibc_e_b == 2 ) THEN 630 e1d(nzb+1) = ( us1d / 0.1_wp )**2 631 ! e1d(nzb+1) = ( us1d / 0.4_wp )**2 !not used so far, see also 632 !prandtl_fluxes 631 e1d(nzb+1) = ( us1d / c_m )**2 633 632 ENDIF 634 633 e1d(nzb) = e1d(nzb+1) … … 637 636 ! 638 637 !-- Compute q* 639 IF ( rif1d( 1) >= 0.0_wp ) THEN638 IF ( rif1d(nzb+1) >= 0.0_wp ) THEN 640 639 ! 641 640 !-- Stable stratification … … 714 713 ENDIF 715 714 DO k = nzb_diff, nzt 716 ! km1d(k) = 0.4 * SQRT( e1d(k) ) !changed: adjustment to 3D-model 717 km1d(k) = 0.1_wp * SQRT( e1d(k) ) 715 km1d(k) = c_m * SQRT( e1d(k) ) 716 718 717 IF ( rif1d(k) >= 0.0_wp ) THEN 719 718 km1d(k) = km1d(k) * l1d(k)
Note: See TracChangeset
for help on using the changeset viewer.