Changeset 3012 for palm/trunk/SOURCE


Ignore:
Timestamp:
May 8, 2018 11:01:29 AM (6 years ago)
Author:
Giersch
Message:

To avoid jumps while plotting w-profiles w level nzt+1 is set to w level nzt after velocity modifications through the pressure solver were carried out

File:
1 edited

Legend:

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

    r2718 r3012  
    2020! Current revisions:
    2121! ------------------
    22 !
     22! To avoid jumps while plotting profiles w level nzt+1 is set to w level nzt
     23! after velocity modifications through the pressure solver are carried out
    2324!
    2425! Former revisions:
     
    154155
    155156    USE control_parameters,                                                    &
    156         ONLY:  bc_lr_cyc, bc_ns_cyc, conserve_volume_flow, dt_3d,              &
    157                gathered_size, ibc_p_b, ibc_p_t, intermediate_timestep_count,   &
    158                intermediate_timestep_count_max, mg_switch_to_pe0_level,        &
    159                nest_domain, outflow_l, outflow_n, outflow_r,                   &
    160                outflow_s, psolver, subdomain_size, topography, volume_flow,    &
    161                volume_flow_area, volume_flow_initial
     157        ONLY:  bc_lr_cyc, bc_ns_cyc, conserve_volume_flow, coupling_mode,      &
     158               dt_3d, gathered_size, ibc_p_b, ibc_p_t,                         &
     159               intermediate_timestep_count, intermediate_timestep_count_max,   &
     160               mg_switch_to_pe0_level, nest_domain, outflow_l, outflow_n,      &
     161               outflow_r, outflow_s, psolver, subdomain_size, topography,      &
     162               volume_flow, volume_flow_area, volume_flow_initial
    162163
    163164    USE cpulog,                                                                &
     
    745746
    746747!
     748!-- The vertical velocity is not set to zero at nzt + 1 for nested domains
     749!-- Instead it is set to the values of nzt (see routine vnest_boundary_conds
     750!-- or pmci_interp_tril_t) BEFORE calling the pressure solver. To avoid jumps
     751!-- while plotting profiles w at the top has to be set to the values in the
     752!-- height nzt after above modifications. Hint: w level nzt+1 does not impact
     753!-- results.
     754    IF (nest_domain .OR. coupling_mode == 'vnested_fine') THEN
     755       w(nzt+1,:,:) = w(nzt,:,:)
     756    ENDIF
     757
     758!
    747759!-- Sum up the volume flow through the right and north boundary
    748760    IF ( conserve_volume_flow  .AND.  bc_lr_cyc  .AND.  bc_ns_cyc  .AND.       &
Note: See TracChangeset for help on using the changeset viewer.