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::DarcysLawImplementation< TypeTag, DiscretizationMethods::Box > Class Template Reference

Specialization of Darcy's Law for the box method. More...

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

Inheritance diagram for Dumux::DarcysLawImplementation< TypeTag, DiscretizationMethods::Box >:

Description

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

Specialization of Darcy's Law for the box method.

Static Public Member Functions

static GetPropType< TypeTag, Properties::Scalarflux (const Problem &problem, const Element &element, const FVElementGeometry &fvGeometry, const ElementVolumeVariables &elemVolVars, const SubControlVolumeFace &scvf, const int phaseIdx, const ElementFluxVarsCache &elemFluxVarCache)
 Returns the advective flux of a fluid phase across the given sub-control volume face. More...
 
static std::vector< GetPropType< TypeTag, Properties::Scalar > > calculateTransmissibilities (const Problem &problem, const Element &element, const FVElementGeometry &fvGeometry, const ElementVolumeVariables &elemVolVars, const SubControlVolumeFace &scvf, const FluxVarCache &fluxVarCache)
 

Member Function Documentation

◆ calculateTransmissibilities()

static std::vector< GetPropType< TypeTag, Properties::Scalar > > Dumux::BoxDarcysLaw< GetPropType< TypeTag, Properties::Scalar > , GetPropType< TypeTag, Properties::GridGeometry > >::calculateTransmissibilities ( const Problem &  problem,
const Element &  element,
const FVElementGeometry &  fvGeometry,
const ElementVolumeVariables &  elemVolVars,
const SubControlVolumeFace &  scvf,
const FluxVarCache &  fluxVarCache 
)
inlinestaticinherited

◆ flux()

static GetPropType< TypeTag, Properties::Scalar > Dumux::BoxDarcysLaw< GetPropType< TypeTag, Properties::Scalar > , GetPropType< TypeTag, Properties::GridGeometry > >::flux ( const Problem &  problem,
const Element &  element,
const FVElementGeometry &  fvGeometry,
const ElementVolumeVariables &  elemVolVars,
const SubControlVolumeFace &  scvf,
const int  phaseIdx,
const ElementFluxVarsCache &  elemFluxVarCache 
)
inlinestaticinherited

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.

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