Unstruct2D  1.0
Solution of 2-D Euler- and Navier-Stokes Equations on Unstructured Grids
 All Classes Files Functions Variables
bcondFarfield.f90 File Reference

Treatment of far-field boundaries. More...

Functions/Subroutines

subroutine bcondfarfield (ibegn, iendn, rhof, uf, vf, pf)
 Applies far-field boundary condition to dummy points. 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...
 

Function/Subroutine Documentation

subroutine bcondfarfield ( integer, intent(in)  ibegn,
integer, intent(in)  iendn,
real(rtype), dimension(:)  rhof,
real(rtype), dimension(:)  uf,
real(rtype), dimension(:)  vf,
real(rtype), dimension(:)  pf 
)
Parameters
ibegnindirect pointer to first node of the boundary
iendnindirect pointer to last node of the boundary
rhofwork array for density at the boundary
ufwork array for u-velocity at the boundary
vfwork array for v-velocity at the boundary
pfwork array for pressure at the boundary