Ignore:
Timestamp:
Oct 15, 2018 2:21:08 PM (6 years ago)
Author:
suehring
Message:

Offline nesting revised and separated from large_scale_forcing_mod; Time-dependent synthetic turbulence generator; bugfixes in USM/LSM radiation model and init_pegrid

File:
1 edited

Legend:

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

    r3183 r3347  
    2525! -----------------
    2626! $Id$
     27! Bugfixes in offline nesting.
     28! Add comment.
     29!
     30! 3341 2018-10-15 10:31:27Z suehring
    2731! Rename variables for boundary flags and nesting
    2832!
     
    169173               dt_3d, gathered_size, ibc_p_b, ibc_p_t,                         &
    170174               intermediate_timestep_count, intermediate_timestep_count_max,   &
    171                mg_switch_to_pe0_level, psolver, subdomain_size,                &
     175               mg_switch_to_pe0_level, nesting_offline,                        &
     176               psolver, subdomain_size,                                        &
    172177               topography, volume_flow, volume_flow_area, volume_flow_initial
    173178
     
    386391    ENDIF
    387392
    388     IF ( ibc_p_b == 1  .AND.  ibc_p_t == 1  .AND.                              &
     393    IF ( ibc_p_b == 1  .AND.  ibc_p_t == 1  .AND.  .NOT. nesting_offline  .AND. &
    389394         .NOT. child_domain_nvn  .AND. intermediate_timestep_count /= 0 )       &
    390395    THEN
     
    719724       volume_flow_l(2) = 0.0_wp
    720725    ENDIF
    721 
     726!
     727!-- Add pressure gradients to the velocity components. Note, the loops are
     728!-- running over the entire model domain, even though, in case of non-cyclic
     729!-- boundaries u- and v-component are not prognostic at i=0 and j=0,
     730!-- respectiveley. However, in case of Dirichlet boundary conditions for the
     731!-- velocities, zero-gradient conditions for the pressure are set, so that
     732!-- no modification is imposed at the boundaries.
    722733    !$OMP PARALLEL PRIVATE (i,j,k)
    723734    !$OMP DO
Note: See TracChangeset for help on using the changeset viewer.