Changeset 2296 for palm/trunk/SOURCE/urban_surface_mod.f90
- Timestamp:
- Jun 28, 2017 7:53:56 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/urban_surface_mod.f90
r2287 r2296 26 26 ! ----------------- 27 27 ! $Id$ 28 ! Bugfix: adjust output of shf. Added support for spinups 29 ! 30 ! 2287 2017-06-15 16:46:30Z suehring 28 31 ! Bugfix in determination topography-top index 29 32 ! … … 139 142 140 143 USE control_parameters, & 141 ONLY: dz, topography, dt_3d, intermediate_timestep_count,&142 in itializing_actions, intermediate_timestep_count_max,&143 simulated_time, end_time, timestep_scheme, tsc,&144 coupling_char, io_blocks, io_group, message_string,&145 time_since_reference_point, surface_pressure,&146 g, pt_surface, large_scale_forcing, lsf_surf, 147 time_do3d, dt_do3d, average_count_3d, varnamelength,&148 urban_surface144 ONLY: coupling_start_time, dz, topography, dt_3d, & 145 intermediate_timestep_count, initializing_actions, & 146 intermediate_timestep_count_max, simulated_time, end_time, & 147 timestep_scheme, tsc, coupling_char, io_blocks, io_group, & 148 message_string, time_since_reference_point, surface_pressure, & 149 g, pt_surface, large_scale_forcing, lsf_surf, spinup, & 150 spinup_pt_mean, spinup_time, time_do3d, dt_do3d, & 151 average_count_3d, varnamelength, urban_surface 149 152 150 153 USE cpulog, & … … 3489 3492 !-- Set flag that indicates that the land surface model is switched on 3490 3493 urban_surface = .TRUE. 3494 3495 ! 3496 !-- Activate spinup 3497 IF ( spinup_time > 0.0_wp ) THEN 3498 coupling_start_time = spinup_time 3499 end_time = end_time + spinup_time 3500 IF ( spinup_pt_mean == 9999999.9_wp ) THEN 3501 spinup_pt_mean = pt_surface 3502 ENDIF 3503 spinup = .TRUE. 3504 ENDIF 3491 3505 3492 3506 10 CONTINUE … … 5161 5175 !-- store kinematic surface heat fluxes for utilization in other processes 5162 5176 !-- diffusion_s, surface_layer_fluxes,... 5163 surf_usm_h%shf(m) = surf_usm_h%wshf_eb(m) / rho_cp5177 surf_usm_h%shf(m) = surf_usm_h%wshf_eb(m) / cp 5164 5178 5165 5179 ENDDO … … 5282 5296 !-- store kinematic surface heat fluxes for utilization in other processes 5283 5297 !-- diffusion_s, surface_layer_fluxes,... 5284 surf_usm_v(l)%shf(m) = surf_usm_v(l)%wshf_eb(m) / rho_cp5298 surf_usm_v(l)%shf(m) = surf_usm_v(l)%wshf_eb(m) / cp 5285 5299 5286 5300 ENDDO … … 5316 5330 !-- Instead of this, we can adjust shf in case AH only at surface 5317 5331 surf_usm_h%shf(m) = surf_usm_h%shf(m) + & 5318 aheat(j,i) * acoef * ddx * ddy / rho_cp5332 aheat(j,i) * acoef * ddx * ddy / cp 5319 5333 ENDIF 5320 5334 ENDDO
Note: See TracChangeset
for help on using the changeset viewer.