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/urban_surface_mod.f90

    r4747 r4750  
    2727! -----------------
    2828! $Id$
     29! - bugfix in openmp directive
     30! - make t_green_h and t_green_v public (required in indoor model)
     31!
     32! 4747 2020-10-16 09:19:57Z pavelkrc
    2933! Fix window absorptivity calculation (correctly account for 2-sided reflection)
    3034!
     
    880884           nzb_wall,                                                                               &
    881885           nzt_wall,                                                                               &
     886           t_green_h,                                                                              &
     887           t_green_v,                                                                              &
    882888           t_wall_h,                                                                               &
    883889           t_wall_v,                                                                               &
     
    51495155    IMPLICIT NONE
    51505156
     5157    LOGICAL       ::  during_spinup  !< if true, no calculation of window temperatures
    51515158    LOGICAL       ::  horizontal     !< Flag indicating horizontal or vertical surfaces
     5159
     5160    INTEGER(iwp)  ::  kw             !< grid index - wall depth
    51525161    INTEGER(iwp)  ::  l              !< direction index
    5153     LOGICAL       ::  during_spinup  !< if true, no calculation of window temperatures
    5154 
    5155     INTEGER(iwp)  ::  i,j,k,kw, m    !< running indices
     5162    INTEGER(iwp)  ::  m              !< running index for surface elements
    51565163
    51575164    REAL(wp)  ::  win_absorp        !< absorption coefficient from transmissivity
     
    51975204!
    51985205!-- Cycle for all surfaces in given direction
    5199     !$OMP PARALLEL DO PRIVATE (m, i, j, k, kw, wtend, wintend, win_absorp, wall_mod) SCHEDULE (STATIC)
     5206    !$OMP PARALLEL DO PRIVATE (m, kw, wtend, wintend, win_absorp) SCHEDULE (STATIC)
    52005207    DO  m = 1, surf%ns
    5201 !
    5202 !--    Obtain indices
    5203        i = surf%i(m)
    5204        j = surf%j(m)
    5205        k = surf%k(m)
    52065208!
    52075209!--    Prognostic equation for ground/roof temperature t_wall
Note: See TracChangeset for help on using the changeset viewer.