Changeset 3065 for palm/trunk/SOURCE/urban_surface_mod.f90
- Timestamp:
- Jun 12, 2018 7:03:02 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/urban_surface_mod.f90
r3049 r3065 28 28 ! ----------------- 29 29 ! $Id$ 30 ! Unused array dxdir was removed, dz was replaced by dzu to consider vertical 31 ! grid stretching 32 ! 33 ! 3049 2018-05-29 13:52:36Z Giersch 30 34 ! Error messages revised 31 35 ! … … 282 286 #if ! defined( __nopointer ) 283 287 USE arrays_3d, & 284 ONLY: hyp, zu, pt, pt_1, pt_2, p, u, v, w, hyp, tend288 ONLY: dzu, hyp, zu, pt, pt_1, pt_2, p, u, v, w, hyp, tend 285 289 #endif 286 290 … … 292 296 293 297 USE control_parameters, & 294 ONLY: coupling_start_time, dz, topography, dt_3d,&298 ONLY: coupling_start_time, topography, dt_3d, & 295 299 intermediate_timestep_count, initializing_actions, & 296 300 intermediate_timestep_count_max, simulated_time, end_time, & … … 7207 7211 REAL(wp), DIMENSION(nzb:nzt) :: exn !< value of the Exner function in layers 7208 7212 7209 REAL(wp), DIMENSION(0:4) :: dxdir !< surface normal direction gridbox length7210 7213 REAL(wp) :: dtime !< simulated time of day (in UTC) 7211 7214 INTEGER(iwp) :: dhour !< simulated hour of day (in UTC) … … 7213 7216 7214 7217 7215 dxdir = (/dz,dy,dy,dx,dx/)7216 7218 #if ! defined( __nopointer ) 7217 7219 exn(nzb:nzt) = (hyp(nzb:nzt) / 100000.0_wp )**0.286_wp !< Exner function … … 7634 7636 (dtime/3600.0_wp-REAL(dhour,wp))*aheatprof(k,dhour+1) 7635 7637 IF ( aheat(k,j,i) > 0.0_wp ) THEN 7636 pt(k,j,i) = pt(k,j,i) + aheat(k,j,i)*acoef*dt_3d/(exn(k)*rho_cp*dz )7638 pt(k,j,i) = pt(k,j,i) + aheat(k,j,i)*acoef*dt_3d/(exn(k)*rho_cp*dzu(k)) 7637 7639 ENDIF 7638 7640 ENDIF
Note: See TracChangeset
for help on using the changeset viewer.