Ignore:
Timestamp:
Oct 16, 2020 2:27:48 PM (4 years ago)
Author:
suehring
Message:

Indoor-model new: Namelist parameter added to switch-off/on the indoor model during wall/soil spinup; bugfixes concerning indoor model: bugfix in window-wall treatment during spinup - in the urban-surface model the window fraction is set to zero during spinup, so it is done here also; bugfix in wall treatment - inner wall temperature was too low due to wrong weighting of wall/green/window fractions; Revision of 10-cm temperature at vertical walls - assume grid-cell temperature rather than employ MOST; call hourly-based indoor model only once per hour during spinup, not every timestep; add missing dependency in Makefile; urban-surface model: bugfix in openmp directive

File:
1 edited

Legend:

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

    r4717 r4750  
    2525! -----------------
    2626! $Id$
     27! Revision of 10-cm temperature at vertical walls - assume grid-cell temperature rather than employ
     28! MOST
     29!
     30! 4717 2020-09-30 22:27:40Z pavelkrc
    2731! Fixes and optimizations of OpenMP parallelization, formatting of OpenMP
    2832! directives (J. Resler)
     
    20442048
    20452049       CASE ( '10cm' )
    2046 
    2047           DO  m = 1, surf%ns
    2048              surf%pt_10cm(m) = surf%pt_surface(m) + surf%ts(m) / kappa                             &
     2050!
     2051!--       For horizontal upward-facing surfaces 10-cm temperature can be calculated using MOST.
     2052          IF ( .NOT.  downward  .AND.  .NOT. surf_vertical )  THEN
     2053             DO  m = 1, surf%ns
     2054                surf%pt_10cm(m) = surf%pt_surface(m) + surf%ts(m) / kappa                          &
    20492055                               * ( LOG( 0.1_wp /  surf%z0h(m) ) - psi_h( 0.1_wp / surf%ol(m) )     &
    20502056                                   + psi_h( surf%z0h(m) / surf%ol(m) ) )
    2051           ENDDO
     2057             ENDDO
     2058!
     2059!--       At vertical surfaces 10-cm temperature cannot be calculated via MOST as the Obukhov length
     2060!--       and temperature scaling parameter are not calculated. Hence, set 10-cm temperature to
     2061!--       the grid-cell temperature.
     2062          ELSE
     2063             DO  m = 1, surf%ns
     2064                surf%pt_10cm(m) = pt(surf%k(m)+surf%koff,surf%j(m)+surf%joff,surf%i(m)+surf%ioff)
     2065             ENDDO
     2066          ENDIF
    20522067
    20532068    END SELECT
Note: See TracChangeset for help on using the changeset viewer.