3.6-git
DUNE for Multi-{Phase, Component, Scale, Physics, ...} flow and transport in porous media
Classes | Public Types | Static Public Member Functions | Static Public Attributes | List of all members
Dumux::DarcysLawImplementation< TypeTag, DiscretizationMethods::CCMpfa > Class Template Reference

Darcy's law for cell-centered finite volume schemes with multi-point flux approximation. More...

#include <dumux/flux/ccmpfa/darcyslaw.hh>

Description

template<class TypeTag>
class Dumux::DarcysLawImplementation< TypeTag, DiscretizationMethods::CCMpfa >

Darcy's law for cell-centered finite volume schemes with multi-point flux approximation.

Public Types

using DiscretizationMethod = DiscretizationMethods::CCMpfa
 
using Cache = MpfaDarcysLawCache
 

Static Public Member Functions

template<class ElementFluxVariablesCache >
static Scalar flux (const Problem &problem, const Element &element, const FVElementGeometry &fvGeometry, const ElementVolumeVariables &elemVolVars, const SubControlVolumeFace &scvf, const unsigned int phaseIdx, const ElementFluxVariablesCache &elemFluxVarsCache)
 Returns the advective flux of a fluid phase across the given sub-control volume face. More...
 

Static Public Attributes

static constexpr DiscretizationMethod discMethod {}
 

Member Typedef Documentation

◆ Cache

template<class TypeTag >
using Dumux::DarcysLawImplementation< TypeTag, DiscretizationMethods::CCMpfa >::Cache = MpfaDarcysLawCache

◆ DiscretizationMethod

template<class TypeTag >
using Dumux::DarcysLawImplementation< TypeTag, DiscretizationMethods::CCMpfa >::DiscretizationMethod = DiscretizationMethods::CCMpfa

Member Function Documentation

◆ flux()

template<class TypeTag >
template<class ElementFluxVariablesCache >
static Scalar Dumux::DarcysLawImplementation< TypeTag, DiscretizationMethods::CCMpfa >::flux ( const Problem &  problem,
const Element &  element,
const FVElementGeometry &  fvGeometry,
const ElementVolumeVariables &  elemVolVars,
const SubControlVolumeFace &  scvf,
const unsigned int  phaseIdx,
const ElementFluxVariablesCache &  elemFluxVarsCache 
)
inlinestatic

Returns the advective flux of a fluid phase across the given sub-control volume face.

Note
This assembles the term \(-|\sigma| \mathbf{n}^T \mathbf{K} \left( \nabla p - \rho \mathbf{g} \right)\), where \(|\sigma|\) is the area of the face and \(\mathbf{n}\) is the outer normal vector. Thus, the flux is given in N*m, and can be converted into a volume flux (m^3/s) or mass flux (kg/s) by applying an upwind scheme for the mobility or the product of density and mobility, respectively.

Member Data Documentation

◆ discMethod

template<class TypeTag >
constexpr DiscretizationMethod Dumux::DarcysLawImplementation< TypeTag, DiscretizationMethods::CCMpfa >::discMethod {}
staticconstexpr

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