Changeset 4750 for palm/trunk/SOURCE/surface_layer_fluxes_mod.f90
- Timestamp:
- Oct 16, 2020 2:27:48 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/surface_layer_fluxes_mod.f90
r4717 r4750 25 25 ! ----------------- 26 26 ! $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 27 31 ! Fixes and optimizations of OpenMP parallelization, formatting of OpenMP 28 32 ! directives (J. Resler) … … 2044 2048 2045 2049 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 & 2049 2055 * ( LOG( 0.1_wp / surf%z0h(m) ) - psi_h( 0.1_wp / surf%ol(m) ) & 2050 2056 + 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 2052 2067 2053 2068 END SELECT
Note: See TracChangeset
for help on using the changeset viewer.