Struct containing flux helper functions to be used in the momentum problem's Neumann function.
More...
#include <dumux/freeflow/navierstokes/momentum/fluxhelper.hh>
Struct containing flux helper functions to be used in the momentum problem's Neumann function.
|
template<class Problem , class FVElementGeometry , class ElementVolumeVariables , class ElementFluxVariablesCache , class Scalar > |
static auto | fixedPressureMomentumFlux (const Problem &problem, const FVElementGeometry &fvGeometry, const typename FVElementGeometry::SubControlVolumeFace &scvf, const ElementVolumeVariables &elemVolVars, const ElementFluxVariablesCache &elemFluxVarsCache, const Scalar pressure, const bool zeroNormalVelocityGradient=true) |
| Returns the momentum flux a fixed-pressure boundary. More...
|
|
template<class Problem , class FVElementGeometry , class ElementVolumeVariables , class ElementFluxVariablesCache , class TangentialVelocityGradient = double> |
static auto | slipVelocityMomentumFlux (const Problem &problem, const FVElementGeometry &fvGeometry, const typename FVElementGeometry::SubControlVolumeFace &scvf, const ElementVolumeVariables &elemVolVars, const ElementFluxVariablesCache &elemFluxVarsCache, const TangentialVelocityGradient &tangentialVelocityGradient=TangentialVelocityGradient(0.0)) |
| Returns the momentum flux for a boundary with a slip condition. More...
|
|
◆ fixedPressureMomentumFlux()
template<class Problem , class FVElementGeometry , class ElementVolumeVariables , class ElementFluxVariablesCache , class Scalar >
static auto Dumux::NavierStokesMomentumBoundaryFluxHelper::fixedPressureMomentumFlux |
( |
const Problem & |
problem, |
|
|
const FVElementGeometry & |
fvGeometry, |
|
|
const typename FVElementGeometry::SubControlVolumeFace & |
scvf, |
|
|
const ElementVolumeVariables & |
elemVolVars, |
|
|
const ElementFluxVariablesCache & |
elemFluxVarsCache, |
|
|
const Scalar |
pressure, |
|
|
const bool |
zeroNormalVelocityGradient = true |
|
) |
| |
|
inlinestatic |
Returns the momentum flux a fixed-pressure boundary.
- Parameters
-
problem | The problem |
fvGeometry | The finite-volume geometry |
scvf | The sub control volume face |
elemVolVars | The volume variables for the element |
elemFluxVarsCache | The flux variables cache for the element |
pressure | The pressure given at the boundary |
zeroNormalVelocityGradient | If set to false, this yields a "natural" outflow condition where the flow tends to diverge at the boundary. If set to true (default), this yields a "do-nothing" outflow condition where \(\mathbf{v} \cdot \mathbf{n} = 0\) is satisfied and the general flow field is preserved in many cases. See, e.g., https://www.math.uni-magdeburg.de/~richter/WS17/numns/fem.pdf for details. |
◆ slipVelocityMomentumFlux()
template<class Problem , class FVElementGeometry , class ElementVolumeVariables , class ElementFluxVariablesCache , class TangentialVelocityGradient = double>
static auto Dumux::NavierStokesMomentumBoundaryFluxHelper::slipVelocityMomentumFlux |
( |
const Problem & |
problem, |
|
|
const FVElementGeometry & |
fvGeometry, |
|
|
const typename FVElementGeometry::SubControlVolumeFace & |
scvf, |
|
|
const ElementVolumeVariables & |
elemVolVars, |
|
|
const ElementFluxVariablesCache & |
elemFluxVarsCache, |
|
|
const TangentialVelocityGradient & |
tangentialVelocityGradient = TangentialVelocityGradient(0.0) |
|
) |
| |
|
inlinestatic |
Returns the momentum flux for a boundary with a slip condition.
- Parameters
-
problem | The problem |
fvGeometry | The finite-volume geometry |
scvf | The sub control volume face |
elemVolVars | The volume variables for the element |
elemFluxVarsCache | The flux variables cache for the element |
tangentialVelocityGradient | A user-specified velocity gradient in tangential direction of the boundary. Only used for certain situations where this gradient cannot be determined automatically (e.g., at lateral Neumann boundaries). |
The documentation for this struct was generated from the following file: