Fick's law for cell-centered finite volume schemes with two-point flux approximation.
More...
#include <dumux/flux/cctpfa/fickslaw.hh>
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.
|
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...
|
|
◆ Cache
state the type for the corresponding cache and its filler
◆ DiffusionCoefficientsContainer
◆ calculateTransmissibility()
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]
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]
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()
Return the reference system.
◆ discMethod
state the discretization method this implementation belongs to
The documentation for this class was generated from the following file: