Ignore:
Timestamp:
Jan 15, 2014 1:40:41 PM (10 years ago)
Author:
heinze
Message:

Usage of Dirichlet bottom boundary condition for scalars in conjunction with large scale forcing enabled

File:
1 edited

Legend:

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

    r1242 r1276  
    2020! Current revisions:
    2121! -----------------
    22 !
     22! Use LSF_DATA also in case of Dirichlet bottom boundary condition for scalars
    2323!
    2424! Former revisions:
     
    16131613    ENDIF
    16141614
    1615     IF ( surface_heatflux == 9999999.9  .AND.  .NOT. large_scale_forcing )  THEN
    1616         constant_heatflux     = .FALSE.
     1615    IF ( surface_heatflux == 9999999.9  )  THEN
     1616       constant_heatflux = .FALSE.
     1617       IF ( large_scale_forcing )  THEN
     1618          IF ( ibc_pt_b == 0 )  THEN
     1619             constant_heatflux = .FALSE.
     1620          ELSEIF ( ibc_pt_b == 1 )  THEN
     1621             constant_heatflux = .TRUE.
     1622             IF ( TRIM( initializing_actions ) /= 'read_restart_data' )  THEN
     1623                surface_heatflux = shf_surf(1)
     1624             ENDIF
     1625          ENDIF
     1626       ENDIF
    16171627    ELSE
    1618         constant_heatflux     = .TRUE.
     1628        constant_heatflux = .TRUE.
    16191629        IF ( TRIM( initializing_actions ) /= 'read_restart_data' .AND. &
    16201630               large_scale_forcing ) THEN
    1621            surface_heatflux      = shf_surf(1)
     1631           surface_heatflux = shf_surf(1)
    16221632        ENDIF
    16231633    ENDIF
     
    17421752       ENDIF
    17431753
    1744        IF ( surface_waterflux == 9999999.9  .AND.  &
    1745                              .NOT. large_scale_forcing )  THEN
    1746            constant_waterflux     = .FALSE.
     1754       IF ( surface_waterflux == 9999999.9  )  THEN
     1755          constant_waterflux = .FALSE.
     1756          IF ( large_scale_forcing )  THEN
     1757             IF ( ibc_q_b == 0 )  THEN
     1758                constant_waterflux = .FALSE.
     1759             ELSEIF ( ibc_q_b == 1 )  THEN
     1760                constant_waterflux = .TRUE.
     1761                IF ( TRIM( initializing_actions ) /= 'read_restart_data' )  THEN
     1762                   surface_waterflux = qsws_surf(1)
     1763                ENDIF
     1764             ENDIF
     1765          ENDIF
    17471766       ELSE
    1748            constant_waterflux    = .TRUE.
    1749            IF ( TRIM( initializing_actions ) /= 'read_restart_data' .AND. &
    1750                large_scale_forcing ) THEN
    1751               surface_waterflux      = qsws_surf(1)
    1752            ENDIF
     1767          constant_waterflux = .TRUE.
     1768          IF ( TRIM( initializing_actions ) /= 'read_restart_data' .AND. &
     1769                 large_scale_forcing ) THEN
     1770             surface_waterflux = qsws_surf(1)
     1771          ENDIF
    17531772       ENDIF
    17541773
Note: See TracChangeset for help on using the changeset viewer.