Ignore:
Timestamp:
Apr 17, 2020 10:12:45 AM (4 years ago)
Author:
suehring
Message:

Surface output: correct output of ground/wall-heat flux at USM surfaces; add conversion factor to heat- and momentum-flux outputs; data_output_2d: Unify output conversion of sensible and latent heat flux; data-output module: avoid uninitialized variables; restart_data_mpi_io: fix overlong lines

File:
1 edited

Legend:

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

    r4495 r4500  
    2828! -----------------
    2929! $Id$
     30! Allocate array for wall heat flux, which is further used to aggregate tile
     31! fractions in the surface output
     32!
     33! 4495 2020-04-13 20:11:20Z raasch
    3034! restart data handling with MPI-IO added
    3135!
     
    11221126        ENDDO
    11231127!
    1124 !--     allocate wall heat flux output array and set initial values. For horizontal surfaces
     1128!--     Allocate wall heat flux output arrays and set initial values. For horizontal surfaces
    11251129!        ALLOCATE ( surf_usm_h%wshf(1:surf_usm_h%ns)    )  !can be removed
    11261130        ALLOCATE ( surf_usm_h%wshf_eb(1:surf_usm_h%ns) )
     
    11301134        ALLOCATE ( surf_usm_h%iwghf_eb(1:surf_usm_h%ns) )
    11311135        ALLOCATE ( surf_usm_h%iwghf_eb_window(1:surf_usm_h%ns) )
     1136        ALLOCATE ( surf_usm_h%ghf(1:surf_usm_h%ns) )
    11321137        IF ( ALLOCATED( surf_usm_h%wshf    ) )  surf_usm_h%wshf    = 0.0_wp
    11331138        IF ( ALLOCATED( surf_usm_h%wshf_eb ) )  surf_usm_h%wshf_eb = 0.0_wp
     
    11371142        IF ( ALLOCATED( surf_usm_h%iwghf_eb ) )  surf_usm_h%iwghf_eb = 0.0_wp
    11381143        IF ( ALLOCATED( surf_usm_h%iwghf_eb_window ) )  surf_usm_h%iwghf_eb_window = 0.0_wp
     1144        IF ( ALLOCATED( surf_usm_h%ghf ) )  surf_usm_h%ghf = 0.0_wp
    11391145!
    11401146!--     Now, for vertical surfaces
     
    11471153           ALLOCATE ( surf_usm_v(l)%iwghf_eb(1:surf_usm_v(l)%ns) )
    11481154           ALLOCATE ( surf_usm_v(l)%iwghf_eb_window(1:surf_usm_v(l)%ns) )
     1155           ALLOCATE ( surf_usm_v(l)%ghf(1:surf_usm_v(l)%ns) )
    11491156           IF ( ALLOCATED( surf_usm_v(l)%wshf    ) )  surf_usm_v(l)%wshf    = 0.0_wp
    11501157           IF ( ALLOCATED( surf_usm_v(l)%wshf_eb ) )  surf_usm_v(l)%wshf_eb = 0.0_wp
     
    11541161           IF ( ALLOCATED( surf_usm_v(l)%iwghf_eb ) )  surf_usm_v(l)%iwghf_eb = 0.0_wp
    11551162           IF ( ALLOCATED( surf_usm_v(l)%iwghf_eb_window ) )  surf_usm_v(l)%iwghf_eb_window = 0.0_wp
     1163           IF ( ALLOCATED( surf_usm_v(l)%ghf ) )  surf_usm_v(l)%ghf = 0.0_wp
    11561164        ENDDO
    11571165!
Note: See TracChangeset for help on using the changeset viewer.