|
Struct2D
1.0
Solution of 2-D Euler- and Navier-Stokes Equations on Structured Grids
|
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... | |
| subroutine bcondsymmetry | ( | integer, intent(in) | lb, |
| integer, intent(in) | lbeg, | ||
| integer, intent(in) | lend | ||
| ) |
| lb | side of the computational domain (1: j=2, 2: i=i2, 3: j=j2,4: i=2) |
| lbeg | start index of the boundary segment |
| lend | end index of the boundary segment |