Changeset 4180 for palm/trunk/SOURCE/urban_surface_mod.f90
- Timestamp:
- Aug 21, 2019 2:37:54 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/urban_surface_mod.f90
r4168 r4180 140 140 ! Implementation of the PALM module interface 141 141 ! 142 ! 3636 2018-12-19 13:48:34Z raasch143 ! nopointer option removed144 !145 ! 3614 2018-12-10 07:05:46Z raasch146 ! unused variables removed147 !148 ! 3607 2018-12-07 11:56:58Z suehring149 ! Output of radiation-related quantities migrated to radiation_model_mod.150 !151 ! 3597 2018-12-04 08:40:18Z maronga152 ! Fixed calculation method of near surface air potential temperature at 10 cm153 ! and moved to surface_layer_fluxes. Removed unnecessary _eb strings.154 !155 ! 3524 2018-11-14 13:36:44Z raasch156 ! bugfix concerning allocation of t_surf_wall_v157 !158 ! 3502 2018-11-07 14:45:23Z suehring159 ! Disable initialization of building roofs with ground-floor-level properties,160 ! since this causes strong oscillations of surface temperature during the161 ! spinup.162 !163 ! 3469 2018-10-30 20:05:07Z kanani164 ! Add missing PUBLIC variables for new indoor model165 !166 ! 3449 2018-10-29 19:36:56Z suehring167 ! Bugfix: Fix average arrays allocations in usm_3d_data_averaging (J.Resler)168 ! Bugfix: Fix reading wall temperatures (J.Resler)169 ! Bugfix: Fix treating of outputs for wall temperature and sky view factors (J.Resler)170 !171 !172 ! 3435 2018-10-26 18:25:44Z gronemeier173 ! Bugfix: allocate gamma_w_green_sat until nzt_wall+1174 !175 ! 3418 2018-10-24 16:07:39Z kanani176 ! (rvtils, srissman)177 ! -Updated building databse, two green roof types (ind_green_type_roof)178 ! -Latent heat flux for green walls and roofs, new output of latent heatflux179 ! and soil water content of green roof substrate180 ! -t_surf changed to t_surf_wall181 ! -Added namelist parameter usm_wall_mod for lower wall tendency182 ! of first two wall layers during spinup183 ! -Window calculations deactivated during spinup184 !185 ! 3382 2018-10-19 13:10:32Z knoop186 ! Bugix: made array declaration Fortran Standard conform187 !188 ! 3378 2018-10-19 12:34:59Z kanani189 ! merge from radiation branch (r3362) into trunk190 ! (moh.hefny):191 ! - check the requested output variables if they are correct192 ! - added unscheduled_radiation_calls switch to control force_radiation_call193 ! - minor formate changes194 !195 ! 3371 2018-10-18 13:40:12Z knoop196 ! Set flag indicating that albedo at urban surfaces is already initialized197 !198 ! 3347 2018-10-15 14:21:08Z suehring199 ! Enable USM initialization with default building parameters in case no static200 ! input file exist.201 !202 ! 3343 2018-10-15 10:38:52Z suehring203 ! Add output variables usm_rad_pc_inlw, usm_rad_pc_insw*204 !205 ! 3274 2018-09-24 15:42:55Z knoop206 ! Modularization of all bulk cloud physics code components207 !208 ! 3248 2018-09-14 09:42:06Z sward209 ! Minor formating changes210 !211 ! 3246 2018-09-13 15:14:50Z sward212 ! Added error handling for input namelist via parin_fail_message213 !214 ! 3241 2018-09-12 15:02:00Z raasch215 ! unused variables removed216 !217 ! 3223 2018-08-30 13:48:17Z suehring218 ! Bugfix for commit 3222219 !220 ! 3222 2018-08-30 13:35:35Z suehring221 ! Introduction of surface array for type and its name222 !223 ! 3203 2018-08-23 10:48:36Z suehring224 ! Revise bulk parameter for emissivity at ground-floor level225 !226 ! 3196 2018-08-13 12:26:14Z maronga227 ! Added maximum aerodynamic resistance of 300 for horiztonal surfaces.228 !229 ! 3176 2018-07-26 17:12:48Z suehring230 ! Bugfix, update virtual potential surface temparture, else heat fluxes on231 ! roofs might become unphysical232 !233 ! 3152 2018-07-19 13:26:52Z suehring234 ! Initialize q_surface, which might be used in surface_layer_fluxes235 !236 ! 3151 2018-07-19 08:45:38Z raasch237 ! remaining preprocessor define strings __check removed238 !239 ! 3136 2018-07-16 14:48:21Z suehring240 ! Limit also roughness length for heat and moisture where necessary241 !242 ! 3123 2018-07-12 16:21:53Z suehring243 ! Correct working precision for INTEGER number244 !245 ! 3115 2018-07-10 12:49:26Z suehring246 ! Additional building type to represent bridges247 !248 ! 3091 2018-06-28 16:20:35Z suehring249 ! - Limit aerodynamic resistance at vertical walls.250 ! - Add check for local roughness length not exceeding surface-layer height and251 ! limit roughness length where necessary.252 !253 ! 3065 2018-06-12 07:03:02Z Giersch254 ! Unused array dxdir was removed, dz was replaced by dzu to consider vertical255 ! grid stretching256 !257 ! 3049 2018-05-29 13:52:36Z Giersch258 ! Error messages revised259 !260 ! 3045 2018-05-28 07:55:41Z Giersch261 ! Error message added262 !263 ! 3029 2018-05-23 12:19:17Z raasch264 ! bugfix: close unit 151 instead of 90265 !266 ! 3014 2018-05-09 08:42:38Z maronga267 ! Added pc_transpiration_rate268 !269 ! 2977 2018-04-17 10:27:57Z kanani270 ! Implement changes from branch radiation (r2948-2971) with minor modifications.271 ! (moh.hefny):272 ! Extended exn for all model domain height to avoid the need to get nzut.273 !274 ! 2963 2018-04-12 14:47:44Z suehring275 ! Introduce index for vegetation/wall, pavement/green-wall and water/window276 ! surfaces, for clearer access of surface fraction, albedo, emissivity, etc. .277 !278 ! 2943 2018-04-03 16:17:10Z suehring279 ! Calculate exner function at all height levels and remove some un-used280 ! variables.281 !282 ! 2932 2018-03-26 09:39:22Z maronga283 ! renamed urban_surface_par to urban_surface_parameters284 !285 ! 2921 2018-03-22 15:05:23Z Giersch286 ! The activation of spinup has been moved to parin287 !288 ! 2920 2018-03-22 11:22:01Z kanani289 ! Remove unused pcbl, npcbl from ONLY list290 ! moh.hefny:291 ! Fixed bugs introduced by new structures and by moving radiation interaction292 ! into radiation_model_mod.f90.293 ! Bugfix: usm data output 3D didn't respect directions294 !295 ! 2906 2018-03-19 08:56:40Z Giersch296 ! Local variable ids has to be initialized with a value of -1 in297 ! usm_3d_data_averaging298 !299 ! 2894 2018-03-15 09:17:58Z Giersch300 ! Calculations of the index range of the subdomain on file which overlaps with301 ! the current subdomain are already done in read_restart_data_mod,302 ! usm_read/write_restart_data have been renamed to usm_r/wrd_local, variable303 ! named found has been introduced for checking if restart data was found,304 ! reading of restart strings has been moved completely to305 ! read_restart_data_mod, usm_rrd_local is already inside the overlap loop306 ! programmed in read_restart_data_mod, SAVE attribute added where necessary,307 ! deallocation and allocation of some arrays have been changed to take care of308 ! different restart files that can be opened (index i), the marker *** end usm309 ! *** is not necessary anymore, strings and their respective lengths are310 ! written out and read now in case of restart runs to get rid of prescribed311 ! character lengths312 !313 ! 2805 2018-02-14 17:00:09Z suehring314 ! Initialization of resistances.315 !316 ! 2797 2018-02-08 13:24:35Z suehring317 ! Comment concerning output of ground-heat flux added.318 !319 ! 2766 2018-01-22 17:17:47Z kanani320 ! Removed redundant commas, added some blanks321 !322 ! 2765 2018-01-22 11:34:58Z maronga323 ! Major bugfix in calculation of f_shf. Adjustment of roughness lengths in324 ! building_pars325 !326 ! 2750 2018-01-15 16:26:51Z knoop327 ! Move flag plant canopy to modules328 !329 ! 2737 2018-01-11 14:58:11Z kanani330 ! Removed unused variables t_surf_whole...331 !332 ! 2735 2018-01-11 12:01:27Z suehring333 ! resistances are saved in surface attributes334 !335 ! 2723 2018-01-05 09:27:03Z maronga336 ! Bugfix for spinups (end_time was increased twice in case of LSM + USM runs)337 !338 ! 2720 2018-01-02 16:27:15Z kanani339 ! Correction of comment340 !341 ! 2718 2018-01-02 08:49:38Z maronga342 ! Corrected "Former revisions" section343 !344 ! 2705 2017-12-18 11:26:23Z maronga345 ! Changes from last commit documented346 !347 ! 2703 2017-12-15 20:12:38Z maronga348 ! Workaround for calculation of r_a349 !350 ! 2696 2017-12-14 17:12:51Z kanani351 ! - Change in file header (GPL part)352 ! - Bugfix in calculation of pt_surface and related fluxes. (BM)353 ! - Do not write surface temperatures onto pt array as this might cause354 ! problems with nesting. (MS)355 ! - Revised calculation of pt1 (now done in surface_layer_fluxes).356 ! Bugfix, f_shf_window and f_shf_green were not set at vertical surface357 ! elements. (MS)358 ! - merged with branch ebsolver359 ! green building surfaces do not evaporate yet360 ! properties of green wall layers and window layers are taken from wall layers361 ! this input data is missing. (RvT)362 ! - Merged with branch radiation (developed by Mohamed Salim)363 ! - Revised initialization. (MS)364 ! - Rename emiss_surf into emissivity, roughness_wall into z0, albedo_surf into365 ! albedo. (MS)366 ! - Move first call of usm_radiatin from usm_init to init_3d_model367 ! - fixed problem with near surface temperature368 ! - added near surface temperature pt_10cm_h(m), pt_10cm_v(l)%t(m)369 ! - does not work with temp profile including stability, ol370 ! pt_10cm = pt1 now371 ! - merged with 2357 bugfix, error message for nopointer version372 ! - added indoor model coupling with wall heat flux373 ! - added green substrate/ dry vegetation layer for buildings374 ! - merged with 2232 new surface-type structure375 ! - added transmissivity of window tiles376 ! - added MOSAIK tile approach for 3 different surfaces (RvT)377 !378 ! 2583 2017-10-26 13:58:38Z knoop379 ! Bugfix: reverted MPI_Win_allocate_cptr introduction in last commit380 !381 ! 2582 2017-10-26 13:19:46Z hellstea382 ! Workaround for gnufortran compiler added in usm_calc_svf. CALL MPI_Win_allocate is383 ! replaced by CALL MPI_Win_allocate_cptr if defined ( __gnufortran ).384 !385 ! 2544 2017-10-13 18:09:32Z maronga386 ! Date and time quantities are now read from date_and_time_mod. Solar constant is387 ! read from radiation_model_mod388 !389 ! 2516 2017-10-04 11:03:04Z suehring390 ! Remove tabs391 !392 ! 2514 2017-10-04 09:52:37Z suehring393 ! upper bounds of 3d output changed from nx+1,ny+1 to nx,ny394 ! no output of ghost layer data395 !396 ! 2350 2017-08-15 11:48:26Z kanani397 ! Bugfix and error message for nopointer version.398 ! Additional "! defined(__nopointer)" as workaround to enable compilation of399 ! nopointer version.400 !401 ! 2318 2017-07-20 17:27:44Z suehring402 ! Get topography top index via Function call403 !404 ! 2317 2017-07-20 17:27:19Z suehring405 ! Bugfix: adjust output of shf. Added support for spinups406 !407 ! 2287 2017-06-15 16:46:30Z suehring408 ! Bugfix in determination topography-top index409 !410 ! 2269 2017-06-09 11:57:32Z suehring411 ! Enable restart runs with different number of PEs412 ! Bugfixes nopointer branch413 !414 ! 2258 2017-06-08 07:55:13Z suehring415 ! Bugfix, add pre-preprocessor directives to enable non-parrallel mode416 !417 ! 2233 2017-05-30 18:08:54Z suehring418 !419 ! 2232 2017-05-30 17:47:52Z suehring420 ! Adjustments according to new surface-type structure. Remove usm_wall_heat_flux;421 ! insteat, heat fluxes are directly applied in diffusion_s.422 !423 ! 2213 2017-04-24 15:10:35Z kanani424 ! Removal of output quantities usm_lad and usm_canopy_hr425 !426 ! 2209 2017-04-19 09:34:46Z kanani427 ! cpp switch __mpi3 removed,428 ! minor formatting,429 ! small bugfix for division by zero (Krc)430 !431 ! 2113 2017-01-12 13:40:46Z kanani432 ! cpp switch __mpi3 added for MPI-3 standard code (Ketelsen)433 !434 ! 2071 2016-11-17 11:22:14Z maronga435 ! Small bugfix (Resler)436 !437 ! 2031 2016-10-21 15:11:58Z knoop438 ! renamed variable rho to rho_ocean439 !440 ! 2024 2016-10-12 16:42:37Z kanani441 ! Bugfixes in deallocation of array plantt and reading of csf/csfsurf,442 ! optimization of MPI-RMA operations,443 ! declaration of pcbl as integer,444 ! renamed usm_radnet -> usm_rad_net, usm_canopy_khf -> usm_canopy_hr,445 ! splitted arrays svf -> svf & csf, svfsurf -> svfsurf & csfsurf,446 ! use of new control parameter varnamelength,447 ! added output variables usm_rad_ressw, usm_rad_reslw,448 ! minor formatting changes,449 ! minor optimizations.450 !451 ! 2011 2016-09-19 17:29:57Z kanani452 ! Major reformatting according to PALM coding standard (comments, blanks,453 ! alphabetical ordering, etc.),454 ! removed debug_prints,455 ! removed auxiliary SUBROUTINE get_usm_info, instead, USM flag urban_surface is456 ! defined in MODULE control_parameters (modules.f90) to avoid circular457 ! dependencies,458 ! renamed canopy_heat_flux to pc_heating_rate, as meaning of quantity changed.459 !460 ! 2007 2016-08-24 15:47:17Z kanani461 ! Initial revision462 !463 142 ! 464 143 ! Description:
Note: See TracChangeset
for help on using the changeset viewer.