Treatment of far-field boundaries.
More...
|
| subroutine | bcondfarfield (lb, lbeg, lend, rhof, uf, vf, pf) |
| | Applies far-field boundary condition to dummy cells. Values are prescribed in the first layer and extrapolated to the second dummy layer. Characteristic boundary conditions are employed in the case of subsonic flow. Conservative variables are inter- / extrapolated in the case of supersonic flow. Vortex correction is optionally applied to the flow variables (subsonic only). More...
|
| |
| subroutine bcondfarfield |
( |
integer, intent(in) |
lb, |
|
|
integer, intent(in) |
lbeg, |
|
|
integer, intent(in) |
lend, |
|
|
real(rtype), dimension(0:) |
rhof, |
|
|
real(rtype), dimension(0:) |
uf, |
|
|
real(rtype), dimension(0:) |
vf, |
|
|
real(rtype), dimension(0:) |
pf |
|
) |
| |
- Parameters
-
| 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 |
| rhof | work array for density at the boundary |
| uf | work array for u-velocity at the boundary |
| vf | work array for v-velocity at the boundary |
| pf | work array for pressure at the boundary |