Ignore:
Timestamp:
Jun 24, 2020 1:08:47 PM (4 years ago)
Author:
oliver.maas
Message:

pt_surface_heating_rate: calculate pt(0) incrementally by using dt_3d instead of calculating it absolutely by using time_since_reference_point, because time_since_reference_point is set to zero for initializing_actions = 'cyclic_fill', add statement for pt_surface_heating_rate in header.f90

File:
1 edited

Legend:

Unmodified
Added
Removed
  • palm/trunk/SOURCE/time_integration.f90

    r4565 r4573  
    2525! -----------------
    2626! $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
    2732! added new surface temperature forcing method for bc_pt_b = 'dirichlet':
    2833! surface temperature pt(0) can be linearly increased by pt_surface_heating_rate (in K/h)
     
    950955!
    951956!--       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
    955959          ENDIF
    956960
Note: See TracChangeset for help on using the changeset viewer.