3.4
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::FicksLawImplementation< TypeTag, DiscretizationMethod::cctpfa, referenceSystem > Class Template Reference

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

#include <dumux/flux/cctpfa/fickslaw.hh>

Inheritance diagram for Dumux::FicksLawImplementation< TypeTag, DiscretizationMethod::cctpfa, referenceSystem >:

Description

template<class TypeTag, ReferenceSystemFormulation referenceSystem>
class Dumux::FicksLawImplementation< TypeTag, DiscretizationMethod::cctpfa, referenceSystem >

Fick's law for cell-centered finite volume schemes with two-point flux approximation.

Public Types

using Cache = TpfaFicksLawCache
 state the type for the corresponding cache and its filler More...
 
using DiffusionCoefficientsContainer = FickianDiffusionCoefficients< Scalar, numPhases, numComponents >
 

Static Public Member Functions

static constexpr ReferenceSystemFormulation referenceSystemFormulation ()
 Return the reference system. More...
 
static ComponentFluxVector flux (const Problem &problem, const Element &element, const FVElementGeometry &fvGeometry, const VolumeVariables &insideVolVars, const VolumeVariables &outsideVolVars, const SubControlVolumeFace &scvf, const int phaseIdx, const ElementFluxVariablesCache &elemFluxVarsCache)
 Returns the diffusive fluxes of all components within a fluid phase across the given sub-control volume face. The computed fluxes are given in mole/s or kg/s, depending on the template parameter ReferenceSystemFormulation. More...
 
static ComponentFluxVector flux (const Problem &problem, const Element &element, const FVElementGeometry &fvGeometry, const ElementVolumeVariables &elemVolVars, const SubControlVolumeFace &scvf, const int phaseIdx, const ElementFluxVariablesCache &elemFluxVarsCache)
 Returns the diffusive fluxes of all components within a fluid phase across the given sub-control volume face. The computed fluxes are given in mole/s or kg/s, depending on the template parameter ReferenceSystemFormulation. More...
 
static Scalar calculateTransmissibility (const Problem &problem, const Element &element, const FVElementGeometry &fvGeometry, const ElementVolumeVariables &elemVolVars, const SubControlVolumeFace &scvf, const int phaseIdx, const int compIdx)
 compute diffusive transmissibilities More...
 

Static Public Attributes

static const DiscretizationMethod discMethod = DiscretizationMethod::cctpfa
 state the discretization method this implementation belongs to More...
 

Member Typedef Documentation

◆ Cache

template<class TypeTag , ReferenceSystemFormulation referenceSystem>
using Dumux::FicksLawImplementation< TypeTag, DiscretizationMethod::cctpfa, referenceSystem >::Cache = TpfaFicksLawCache

state the type for the corresponding cache and its filler

◆ DiffusionCoefficientsContainer

template<class TypeTag , ReferenceSystemFormulation referenceSystem>
using Dumux::FicksLawImplementation< TypeTag, DiscretizationMethod::cctpfa, referenceSystem >::DiffusionCoefficientsContainer = FickianDiffusionCoefficients<Scalar, numPhases, numComponents>

Member Function Documentation

◆ calculateTransmissibility()

template<class TypeTag , ReferenceSystemFormulation referenceSystem>
static Scalar Dumux::FicksLawImplementation< TypeTag, DiscretizationMethod::cctpfa, referenceSystem >::calculateTransmissibility ( const Problem &  problem,
const Element &  element,
const FVElementGeometry &  fvGeometry,
const ElementVolumeVariables &  elemVolVars,
const SubControlVolumeFace &  scvf,
const int  phaseIdx,
const int  compIdx 
)
inlinestatic

compute diffusive transmissibilities

◆ flux() [1/2]

template<class TypeTag , ReferenceSystemFormulation referenceSystem>
static ComponentFluxVector Dumux::FicksLawImplementation< TypeTag, DiscretizationMethod::cctpfa, referenceSystem >::flux ( const Problem &  problem,
const Element &  element,
const FVElementGeometry &  fvGeometry,
const ElementVolumeVariables &  elemVolVars,
const SubControlVolumeFace &  scvf,
const int  phaseIdx,
const ElementFluxVariablesCache &  elemFluxVarsCache 
)
inlinestatic

Returns the diffusive fluxes of all components within a fluid phase across the given sub-control volume face. The computed fluxes are given in mole/s or kg/s, depending on the template parameter ReferenceSystemFormulation.

◆ flux() [2/2]

template<class TypeTag , ReferenceSystemFormulation referenceSystem>
static ComponentFluxVector Dumux::FicksLawImplementation< TypeTag, DiscretizationMethod::cctpfa, referenceSystem >::flux ( const Problem &  problem,
const Element &  element,
const FVElementGeometry &  fvGeometry,
const VolumeVariables &  insideVolVars,
const VolumeVariables &  outsideVolVars,
const SubControlVolumeFace &  scvf,
const int  phaseIdx,
const ElementFluxVariablesCache &  elemFluxVarsCache 
)
inlinestatic

Returns the diffusive fluxes of all components within a fluid phase across the given sub-control volume face. The computed fluxes are given in mole/s or kg/s, depending on the template parameter ReferenceSystemFormulation.

Note
This overload allows to explicitly specify the inside and outside volume variables which can be useful to evaluate diffusive fluxes at boundaries with given outside values. This only works if scvf.numOutsideScv() == 1.

◆ referenceSystemFormulation()

template<class TypeTag , ReferenceSystemFormulation referenceSystem>
static constexpr ReferenceSystemFormulation Dumux::FicksLawImplementation< TypeTag, DiscretizationMethod::cctpfa, referenceSystem >::referenceSystemFormulation ( )
inlinestaticconstexpr

Return the reference system.

Member Data Documentation

◆ discMethod

template<class TypeTag , ReferenceSystemFormulation referenceSystem>
const DiscretizationMethod Dumux::FicksLawImplementation< TypeTag, DiscretizationMethod::cctpfa, referenceSystem >::discMethod = DiscretizationMethod::cctpfa
static

state the discretization method this implementation belongs to


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