Changeset 4565 for palm/trunk/SOURCE
- Timestamp:
- Jun 15, 2020 8:30:38 AM (4 years ago)
- Location:
- palm/trunk/SOURCE
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/check_parameters.f90
r4564 r4565 24 24 ! ----------------- 25 25 ! $Id$ 26 ! added check for pt_surface_heating_rate 27 ! 28 ! 4564 2020-06-12 14:03:36Z raasch 26 29 ! Vertical nesting method of Huq et al. (2019) removed 27 30 ! … … 1384 1387 CALL message( 'check_parameters', 'PA0066', 1, 2, 0, 6, 0 ) 1385 1388 ENDIF 1389 IF ( constant_heatflux .AND. pt_surface_heating_rate /= 0.0_wp ) THEN 1390 WRITE ( message_string, * ) 'constant_heatflux = .TRUE. is not allo', & 1391 'wed with pt_surface_heating_rate (/=0) = ', pt_surface_heating_rate 1392 CALL message( 'check_parameters', 'PA0497', 1, 2, 0, 6, 0 ) 1393 ENDIF 1386 1394 1387 1395 ! -
palm/trunk/SOURCE/modules.f90
r4536 r4565 25 25 ! ----------------- 26 26 ! $Id$ 27 ! added pt_surface_heating_rate 28 ! 29 ! 4536 2020-05-17 17:24:13Z raasch 27 30 ! +qsurf_av, ssurf_av 28 31 ! … … 942 945 !< boundary of total domain 943 946 REAL(wp) :: pt_surface = 300.0_wp !< namelist parameter 947 REAL(wp) :: pt_surface_heating_rate = 0.0_wp !< namelist parameter 944 948 REAL(wp) :: pt_surface_initial_change = 0.0_wp !< namelist parameter 945 949 REAL(wp) :: q_surface = 0.0_wp !< namelist parameter -
palm/trunk/SOURCE/parin.f90
r4564 r4565 25 25 ! ----------------- 26 26 ! $Id$ 27 ! added pt_surface_heating_rate 28 ! 29 ! 4564 2020-06-12 14:03:36Z raasch 27 30 ! Vertical nesting method of Huq et al. (2019) removed 28 31 ! … … 195 198 nsor, nsor_ini, nudging, nx, ny, nz, ocean_mode, omega, & 196 199 omega_sor, outflow_source_plane, passive_scalar, & 197 prandtl_number, psolver, pt_damping_factor, 198 pt_ damping_width, pt_reference, pt_surface,&200 prandtl_number, psolver, pt_damping_factor, pt_damping_width, & 201 pt_reference, pt_surface, pt_surface_heating_rate, & 199 202 pt_surface_initial_change, pt_vertical_gradient, & 200 203 pt_vertical_gradient_level, q_surface, q_surface_initial_change, & … … 267 270 nsor, nsor_ini, nudging, nx, ny, nz, ocean_mode, omega, & 268 271 omega_sor, outflow_source_plane, passive_scalar, & 269 prandtl_number, psolver, pt_damping_factor, 270 pt_ damping_width, pt_reference, pt_surface,&272 prandtl_number, psolver, pt_damping_factor, pt_damping_width, & 273 pt_surface_heating_rate, pt_reference, pt_surface, & 271 274 pt_surface_initial_change, pt_vertical_gradient, & 272 275 pt_vertical_gradient_level, q_surface, q_surface_initial_change, & -
palm/trunk/SOURCE/time_integration.f90
r4564 r4565 25 25 ! ----------------- 26 26 ! $Id$ 27 ! added new surface temperature forcing method for bc_pt_b = 'dirichlet': 28 ! surface temperature pt(0) can be linearly increased by pt_surface_heating_rate (in K/h) 29 ! 30 ! 4564 2020-06-12 14:03:36Z raasch 27 31 ! Vertical nesting method of Huq et al. (2019) removed 28 32 ! … … 269 273 multi_agent_system_end, multi_agent_system_start, nesting_offline, neutral, & 270 274 nr_timesteps_this_run, nudging, ocean_mode, passive_scalar, pt_reference, & 271 pt_slope_offset, random_heatflux, rans_tke_e, run_coupled, salsa, & 275 pt_slope_offset, pt_surface, pt_surface_heating_rate, pt_surface_initial_change, & 276 random_heatflux, rans_tke_e, run_coupled, salsa, & 272 277 simulated_time, simulated_time_chr, skip_time_do2d_xy, skip_time_do2d_xz, & 273 278 skip_time_do2d_yz, skip_time_do3d, skip_time_domask, skip_time_dopr, & … … 944 949 945 950 ! 951 !-- Increase temperature pt(0) according to pt_surface_heating_rate (convert from K/h to K/s) 952 IF ( pt_surface_heating_rate /= 0.0_wp ) THEN 953 pt(0,:,:) = pt_surface + pt_surface_initial_change + & 954 time_since_reference_point * pt_surface_heating_rate / 3600.0_wp 955 ENDIF 956 957 ! 946 958 !-- Impose a turbulent inflow using the recycling method 947 959 IF ( turbulent_inflow ) CALL inflow_turbulence
Note: See TracChangeset
for help on using the changeset viewer.