Changeset 4573 for palm/trunk/SOURCE/time_integration.f90
- Timestamp:
- Jun 24, 2020 1:08:47 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/time_integration.f90
r4565 r4573 25 25 ! ----------------- 26 26 ! $Id$ 27 ! calculate pt(0) incrementally by using dt_3d instead of calculating it absolutely 28 ! by using time_since_reference_point, because time_since_reference_point is set 29 ! to zero for initializing_actions = 'cyclic_fill' 30 ! 31 ! 4565 2020-06-15 08:30:38Z oliver.maas 27 32 ! added new surface temperature forcing method for bc_pt_b = 'dirichlet': 28 33 ! surface temperature pt(0) can be linearly increased by pt_surface_heating_rate (in K/h) … … 950 955 ! 951 956 !-- 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 957 IF ( pt_surface_heating_rate /= 0.0_wp .AND. intermediate_timestep_count == 1 ) THEN 958 pt(0,:,:) = pt(0,:,:) + dt_3d * pt_surface_heating_rate / 3600.0_wp 955 959 ENDIF 956 960
Note: See TracChangeset
for help on using the changeset viewer.