Ignore:
Timestamp:
May 23, 2014 12:11:32 PM (10 years ago)
Author:
suehring
Message:

Bugfix: set inflow boundary conditions also if no humidity or passive_scalar is used

File:
1 edited

Legend:

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

    r1399 r1409  
    2020! Current revisions:
    2121! ------------------
    22 !
     22! Bugfix: i_omp_start changed for advec_u_ws at left inflow and outflow boundary.
     23! This ensures that left-hand side fluxes are also calculated for nxl in that
     24! case, even though the solution at nxl is overwritten in boundary_conds()
    2325!
    2426! Former revisions:
     
    349351             IF ( timestep_scheme(1:5) == 'runge' )  THEN
    350352                IF ( ws_scheme_mom )  THEN
    351                    IF ( ( inflow_l .OR. outflow_l ) .AND. i_omp_start == nxl )  THEN
    352                       CALL advec_u_ws( i, j, i_omp_start + 1, tn )
    353                    ELSE
    354                       CALL advec_u_ws( i, j, i_omp_start, tn )
    355                    ENDIF
     353                   CALL advec_u_ws( i, j, i_omp_start, tn )
    356354                ELSE
    357355                   CALL advec_u_pw( i, j )
Note: See TracChangeset for help on using the changeset viewer.