version 3.9.0
Loading...
Searching...
No Matches
Dumux::NavierStokesScalarBoundaryFluxHelper< AdvectiveFlux > Struct Template Reference

Navier Stokes scalar boundary flux helper.

#include <dumux/freeflow/navierstokes/scalarfluxhelper.hh>

Static Public Member Functions

template<class VolumeVariables , class SubControlVolumeFace , class Scalar , class UpwindTerm >
static Scalar advectiveScalarUpwindFlux (const VolumeVariables &insideVolVars, const VolumeVariables &outsideVolVars, const SubControlVolumeFace &scvf, const Scalar volumeFlux, const Scalar upwindWeight, UpwindTerm upwindTerm)
 Return the area-specific, weighted advective flux of a scalar quantity.
 
template<class Indices , class NumEqVector , class UpwindFunction >
static void addModelSpecificAdvectiveFlux (NumEqVector &flux, const UpwindFunction &upwind)
 
template<class Problem , class Element , class FVElementGeometry , class ElementVolumeVariables >
static auto scalarOutflowFlux (const Problem &problem, const Element &element, const FVElementGeometry &fvGeometry, const typename FVElementGeometry::SubControlVolumeFace &scvf, const ElementVolumeVariables &elemVolVars, typename ElementVolumeVariables::VolumeVariables::PrimaryVariables &&outsideBoundaryPriVars, const typename ElementVolumeVariables::VolumeVariables::PrimaryVariables::value_type upwindWeight=1.0)
 Return the area-specific outflow fluxes for all scalar balance equations. The values specified in outsideBoundaryPriVars are used in case of flow reversal.
 
template<class Problem , class Element , class FVElementGeometry , class ElementVolumeVariables >
static auto scalarOutflowFlux (const Problem &problem, const Element &element, const FVElementGeometry &fvGeometry, const typename FVElementGeometry::SubControlVolumeFace &scvf, const ElementVolumeVariables &elemVolVars)
 Return the area-specific outflow fluxes for all scalar balance equations. This should only be used if flow reversal never occurs. A (deactivable) warning is emitted otherwise.
 

Member Function Documentation

◆ addModelSpecificAdvectiveFlux()

template<class AdvectiveFlux >
template<class Indices , class NumEqVector , class UpwindFunction >
static void Dumux::NavierStokesScalarBoundaryFluxHelper< AdvectiveFlux >::addModelSpecificAdvectiveFlux ( NumEqVector & flux,
const UpwindFunction & upwind )
inlinestatic

◆ advectiveScalarUpwindFlux()

template<class AdvectiveFlux >
template<class VolumeVariables , class SubControlVolumeFace , class Scalar , class UpwindTerm >
static Scalar Dumux::NavierStokesScalarBoundaryFluxHelper< AdvectiveFlux >::advectiveScalarUpwindFlux ( const VolumeVariables & insideVolVars,
const VolumeVariables & outsideVolVars,
const SubControlVolumeFace & scvf,
const Scalar volumeFlux,
const Scalar upwindWeight,
UpwindTerm upwindTerm )
inlinestatic

◆ scalarOutflowFlux() [1/2]

template<class AdvectiveFlux >
template<class Problem , class Element , class FVElementGeometry , class ElementVolumeVariables >
static auto Dumux::NavierStokesScalarBoundaryFluxHelper< AdvectiveFlux >::scalarOutflowFlux ( const Problem & problem,
const Element & element,
const FVElementGeometry & fvGeometry,
const typename FVElementGeometry::SubControlVolumeFace & scvf,
const ElementVolumeVariables & elemVolVars )
inlinestatic

◆ scalarOutflowFlux() [2/2]

template<class AdvectiveFlux >
template<class Problem , class Element , class FVElementGeometry , class ElementVolumeVariables >
static auto Dumux::NavierStokesScalarBoundaryFluxHelper< AdvectiveFlux >::scalarOutflowFlux ( const Problem & problem,
const Element & element,
const FVElementGeometry & fvGeometry,
const typename FVElementGeometry::SubControlVolumeFace & scvf,
const ElementVolumeVariables & elemVolVars,
typename ElementVolumeVariables::VolumeVariables::PrimaryVariables && outsideBoundaryPriVars,
const typename ElementVolumeVariables::VolumeVariables::PrimaryVariables::value_type upwindWeight = 1.0 )
inlinestatic

The documentation for this struct was generated from the following file: