Changeset 875
- Timestamp:
- Apr 2, 2012 3:35:15 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/boundary_conds.f90
r768 r875 4 4 ! Current revisions: 5 5 ! ----------------- 6 ! 7 ! Bugfix in case of dirichlet inflow bc at the right or north boundary 6 8 ! 7 9 ! … … 190 192 191 193 ! 192 !-- Lateral boundary conditions at the inflow. Quasi Neumann conditions 193 !-- are needed for the wall normal velocity in order to ensure zero 194 !-- divergence. Dirichlet conditions are used for all other quantities. 194 !-- In case of inflow at the south boundary the boundary for v is at nys 195 !-- and in case of inflow at the left boundary the boundary for u is at nxl. 196 !-- Since in prognostic_equations (cache optimized version) these levels are 197 !-- handled as a prognostic level, boundary values have to be restored here. 195 198 IF ( inflow_s ) THEN 196 199 v_p(:,nys,:) = v_p(:,nys-1,:) 197 ELSEIF ( inflow_n ) THEN198 v_p(:,nyn,:) = v_p(:,nyn+1,:)199 200 ELSEIF ( inflow_l ) THEN 200 201 u_p(:,:,nxl) = u_p(:,:,nxl-1) 201 ELSEIF ( inflow_r ) THEN202 u_p(:,:,nxr) = u_p(:,:,nxr+1)203 202 ENDIF 204 203
Note: See TracChangeset
for help on using the changeset viewer.