Changeset 4230 for palm/trunk/SOURCE/urban_surface_mod.f90
- Timestamp:
- Sep 11, 2019 1:58:14 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/urban_surface_mod.f90
r4227 r4230 28 28 ! ----------------- 29 29 ! $Id$ 30 ! Bugfix, initialize canopy resistance. Even if no green fraction is set, 31 ! r_canopy must be initialized for output purposes. 32 ! 33 ! 4227 2019-09-10 18:04:34Z gronemeier 30 34 ! implement new palm_date_time_mod 31 35 ! … … 3555 3559 !-- Map values onto horizontal elemements 3556 3560 DO m = 1, surf_usm_h%ns 3557 surf_usm_h%r_canopy_min(m) = 200.0_wp !< min_canopy_resistance 3558 surf_usm_h%g_d(m) = 0.0_wp !< canopy_resistance_coefficient 3561 surf_usm_h%r_canopy(m) = 200.0_wp !< canopy_resistance 3562 surf_usm_h%r_canopy_min(m) = 200.0_wp !< min_canopy_resistance 3563 surf_usm_h%g_d(m) = 0.0_wp !< canopy_resistance_coefficient 3559 3564 ENDDO 3560 3565 ! … … 3563 3568 DO l = 0, 3 3564 3569 DO m = 1, surf_usm_v(l)%ns 3565 surf_usm_v(l)%r_canopy_min(m) = 200.0_wp !< min_canopy_resistance 3566 surf_usm_v(l)%g_d(m) = 0.0_wp !< canopy_resistance_coefficient 3570 surf_usm_v(l)%r_canopy(m) = 200.0_wp !< canopy_resistance 3571 surf_usm_v(l)%r_canopy_min(m) = 200.0_wp !< min_canopy_resistance 3572 surf_usm_v(l)%g_d(m) = 0.0_wp !< canopy_resistance_coefficient 3567 3573 ENDDO 3568 3574 ENDDO … … 7585 7591 !-- vegetated surfaces and bare soils. 7586 7592 m_liq_max = m_max_depth * ( surf_usm_h%lai(m) ) 7593 7587 7594 surf_usm_h%c_liq(m) = MIN( 1.0_wp, ( m_liq_usm_h%var_usm_1d(m) / m_liq_max )**0.67 ) 7588 7595 ! … … 7987 7994 7988 7995 7989 IF ( surf_usm_v(l)%frac( 1,m) > 0.0_wp ) THEN7996 IF ( surf_usm_v(l)%frac(ind_pav_green,m) > 0.0_wp ) THEN 7990 7997 ! 7991 7998 !-- Adapted from LSM:
Note: See TracChangeset
for help on using the changeset viewer.