Ignore:
Timestamp:
May 21, 2013 11:58:22 AM (11 years ago)
Author:
fricke
Message:

Bugfix: In case of non-cyclic lateral boundary conditions, Neumann boundary conditions for the velocity components at the outflow are in fact radiation boundary conditions using the maximum phase velocity that ensures numerical stability (CFL-condition).
Logical operator use_cmax is now used instead of bc_lr_dirneu/_neudir.

File:
1 edited

Legend:

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

    r1154 r1159  
    2323! Current revisions:
    2424! ------------------
     25! -bc_lr_dirneu, bc_lr_neudir, bc_ns_dirneu, bc_ns_neudir
    2526!
    2627!
     
    16951696    ptdf_x = 0.0
    16961697    ptdf_y = 0.0
    1697     IF ( bc_lr_dirrad  .OR.  bc_lr_dirneu )  THEN
     1698    IF ( bc_lr_dirrad )  THEN
    16981699       DO  i = nxl, nxr
    16991700          IF ( ( i * dx ) < pt_damping_width )  THEN
     
    17031704          ENDIF
    17041705       ENDDO
    1705     ELSEIF ( bc_lr_raddir  .OR.  bc_lr_neudir )  THEN
     1706    ELSEIF ( bc_lr_raddir )  THEN
    17061707       DO  i = nxl, nxr
    17071708          IF ( ( i * dx ) > ( nx * dx - pt_damping_width ) )  THEN
     
    17111712          ENDIF
    17121713       ENDDO
    1713     ELSEIF ( bc_ns_dirrad  .OR.  bc_ns_dirneu )  THEN
     1714    ELSEIF ( bc_ns_dirrad )  THEN
    17141715       DO  j = nys, nyn
    17151716          IF ( ( j * dy ) > ( ny * dy - pt_damping_width ) )  THEN
     
    17191720          ENDIF
    17201721       ENDDO
    1721     ELSEIF ( bc_ns_raddir  .OR.  bc_ns_neudir )  THEN
     1722    ELSEIF ( bc_ns_raddir )  THEN
    17221723       DO  j = nys, nyn
    17231724          IF ( ( j * dy ) < pt_damping_width )  THEN
Note: See TracChangeset for help on using the changeset viewer.