|
Nektar++
|
Characteristic farfield boundary from the Riemann invariants. More...
#include <BndCondRiemannInvariantCFEOp.hpp>
Static Public Member Functions | |
| static std::shared_ptr< BndCondRiemannInvariantCFEOp< TData > > | Create (const MultiRegions::ExpListSharedPtr &expansionList, const std::vector< std::string > &components, const std::string &execStr="") |
Static Public Attributes | |
| static const std::string | name = "BndCondRiemannInvariantCFEOp" |
Protected Member Functions | |
| BndCondRiemannInvariantCFEOp (const MultiRegions::ExpListSharedPtr &expansionList, const std::vector< std::string > &components) | |
| ~BndCondRiemannInvariantCFEOp () override=default | |
Characteristic farfield boundary from the Riemann invariants.
The classical farfield condition. The two invariants \(R^\pm = u_n \pm 2c/(\gamma-1)\) are each taken from whichever side they are carried from - the interior for a characteristic leaving the domain, the freestream for one entering - and the boundary normal velocity and sound speed follow from the pair,
\[ u_n^{BC} = \tfrac12 (R^+ + R^-), \qquad c^{BC} = \tfrac{\gamma-1}{4} (R^+ - R^-). \]
The remaining thermodynamic freedom is the entropy, and it comes from whichever side is upstream: the freestream on inflow, the interior on outflow. Density and pressure follow from it and the sound speed. The velocity is that side's velocity vector with its normal component corrected to \(u_n^{BC}\), so the tangential components pass through.
Supersonic reduces to the obvious thing without a special case: both invariants come from one side, so the reconstruction returns that side's state unchanged.
From the session parameters rhoInf, pInf, uInf, vInf, wInf, not from the region's boundary values. That is why this condition does not share the machinery of the entropy Riemann conditions, which take their prescribed state from the boundary values instead. The VALUE on such a region is therefore ignored, which is worth knowing before wondering why editing it changes nothing.
Ideal gas only, for the same reason as the entropy conditions: the entropy relation \(s = p/\rho^\gamma\) is the ideal gas one.
Definition at line 77 of file BndCondRiemannInvariantCFEOp.hpp.
|
inlineprotected |
Definition at line 92 of file BndCondRiemannInvariantCFEOp.hpp.
|
overrideprotecteddefault |
|
inlinestatic |
Definition at line 80 of file BndCondRiemannInvariantCFEOp.hpp.
References Nektar::BndCondRiemannInvariantCFEOp< TData >::Create().
Referenced by Nektar::BndCondRiemannInvariantCFEOp< TData >::Create().
|
inlinestatic |
Definition at line 89 of file BndCondRiemannInvariantCFEOp.hpp.