3.6-git
DUNE for Multi-{Phase, Component, Scale, Physics, ...} flow and transport in porous media
Static Public Member Functions | List of all members
Dumux::NavierStokesScalarBoundaryFluxHelper< AdvectiveFlux > Struct Template Reference

Navier Stokes scalar boundary flux helper. More...

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

Description

template<class AdvectiveFlux>
struct Dumux::NavierStokesScalarBoundaryFluxHelper< AdvectiveFlux >

Navier Stokes scalar boundary flux helper.

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. More...
 
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. More...
 
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 of flow reversal does never occur. A (deactivable) warning is emitted otherwise. More...
 

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

Return the area-specific, weighted advective flux of a scalar quantity.

◆ 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

Return the area-specific outflow fluxes for all scalar balance equations. This should only be used of flow reversal does never occur. A (deactivable) warning is emitted otherwise.

◆ 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

Return the area-specific outflow fluxes for all scalar balance equations. The values specified in outsideBoundaryPriVars are used in case of flow reversal.


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