Ignore:
Timestamp:
Apr 6, 2016 1:49:59 PM (8 years ago)
Author:
raasch
Message:

cpp-switches removed + cpp-bugfixes + zero-settings for velocities inside topography re-activated

File:
1 edited

Legend:

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

    r1789 r1815  
    1919! Current revisions:
    2020! ------------------
    21 !
     21! zero-settings for velocities inside topography re-activated (was deactivated
     22! in r1762)
    2223!
    2324! Former revisions:
     
    857858!--       levels to zero in order to avoid too small time steps caused by the
    858859!--       diffusion limit in the initial phase of a run (at k=1, dz/2 occurs
    859 !--       in the limiting formula!). The original values are stored to be later
    860 !--       used for volume flow control.
    861           ! TO_DO:  Antti will check if this is really required
    862           !AH IF ( ibc_uv_b /= 1 )  THEN
    863           !AH    DO  i = nxlg, nxrg
    864           !AH       DO  j = nysg, nyng
    865           !AH          u(nzb:nzb_u_inner(j,i)+1,j,i) = 0.0_wp
    866           !AH          v(nzb:nzb_v_inner(j,i)+1,j,i) = 0.0_wp
    867           !AH       ENDDO
    868           !AH    ENDDO
    869           !AH ENDIF
     860!--       in the limiting formula!).
     861          IF ( ibc_uv_b /= 1 )  THEN
     862             DO  i = nxlg, nxrg
     863                DO  j = nysg, nyng
     864                   u(nzb:nzb_u_inner(j,i)+1,j,i) = 0.0_wp
     865                   v(nzb:nzb_v_inner(j,i)+1,j,i) = 0.0_wp
     866                ENDDO
     867             ENDDO
     868          ENDIF
    870869
    871870          IF ( humidity  .OR.  passive_scalar )  THEN
Note: See TracChangeset for help on using the changeset viewer.