- Timestamp:
- Sep 16, 2020 10:23:06 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/indoor_model_mod.f90
r4671 r4681 25 25 ! ----------------- 26 26 ! $Id$ 27 ! Bugfix for implementation of downward surfaces 28 ! 29 ! 4671 2020-09-09 20:27:58Z pavelkrc 27 30 ! Implementation of downward facing USM and LSM surfaces 28 31 ! … … 180 183 INTEGER(iwp) :: ventilation_int_loads !< [-] allocation of activity in the building 181 184 185 INTEGER(iwp), DIMENSION(:), ALLOCATABLE :: l_h !< index array linking surface-element orientation index 186 !< for horizontal surfaces with building 182 187 INTEGER(iwp), DIMENSION(:), ALLOCATABLE :: l_v !< index array linking surface-element orientation index 183 188 !< for vertical surfaces with building … … 915 920 !-- required in case a building is located at the subdomain boundaries, where the building and 916 921 !-- the corresponding surface elements are located on different subdomains. 922 ALLOCATE( buildings(nb)%l_h(1:buildings(nb)%num_facades_per_building_h_l) ) 917 923 ALLOCATE( buildings(nb)%m_h(1:buildings(nb)%num_facades_per_building_h_l) ) 918 924 … … 957 963 958 964 IF ( buildings(nb)%on_pe ) THEN 965 buildings(nb)%l_h(n_fa(nb)) = l 959 966 buildings(nb)%m_h(n_fa(nb)) = m 960 967 n_fa(nb) = n_fa(nb) + 1 … … 1220 1227 ! 1221 1228 !-- Determine indices where corresponding surface-type information is stored. 1222 l = buildings(nb)%l_ v(fa)1223 m = buildings(nb)%m_ v(fa)1229 l = buildings(nb)%l_h(fa) 1230 m = buildings(nb)%m_h(fa) 1224 1231 ! 1225 1232 !-- Determine building height level index. … … 1233 1240 ( buildings(nb)%num_facades_per_building_h + & 1234 1241 buildings(nb)%num_facades_per_building_v ) !< [m2] area of total facade 1235 window_area_per_facade = surf_usm_h(l)%frac(m,ind_wat_win) * facade_element_area 1242 window_area_per_facade = surf_usm_h(l)%frac(m,ind_wat_win) * facade_element_area !< [m2] window area per facade 1236 1243 !< element 1237 1244
Note: See TracChangeset
for help on using the changeset viewer.