Struct2D  1.0
Solution of 2-D Euler- and Navier-Stokes Equations on Structured Grids
 All Classes Files Functions Variables
bcondSymmetry.f90 File Reference

Treatment of symmetry boundaries. More...

Functions/Subroutines

subroutine bcondsymmetry (lb, lbeg, lend)
 Applies symmetry boundary condition to dummy cells:
(1) density and energy are set equal to values in the corresponding physical cells
(2) velocity components are mirrored with respect to the boundary. It is assumed the boundary coincides either with x=const. or y=const. line.
Values are prescribed in the first layer and extrapolated to the second dummy layer. More...
 

Function/Subroutine Documentation

subroutine bcondsymmetry ( integer, intent(in)  lb,
integer, intent(in)  lbeg,
integer, intent(in)  lend 
)
Parameters
lbside of the computational domain (1: j=2, 2: i=i2, 3: j=j2,4: i=2)
lbegstart index of the boundary segment
lendend index of the boundary segment