3.5-git
DUNE for Multi-{Phase, Component, Scale, Physics, ...} flow and transport in porous media
Files | Classes | Functions
Two-point flux approximation (Tpfa)

A cell-centered finite volume scheme with two-point flux approximation. More...

Description

A cell-centered finite volume scheme with two-point flux approximation.

Files

file  tpfa/computetransmissibility.hh
 Free functions to evaluate the transmissibilities associated with flux evaluations across sub-control volume faces in the context of the cell-centered TPFA scheme.
 
file  discretization/cellcentered/tpfa/elementfluxvariablescache.hh
 The flux variables caches for an element.
 
file  cellcentered/tpfa/elementvolumevariables.hh
 The local (stencil) volume variables class for cell centered tpfa models.
 
file  discretization/cellcentered/tpfa/fvelementgeometry.hh
 Stencil-local finite volume geometry (scvs and scvfs) for cell-centered TPFA models This builds up the sub control volumes and sub control volume faces for each element in the local scope we are restricting to, e.g. stencil or element.
 
file  discretization/cellcentered/tpfa/fvgridgeometry.hh
 The finite volume geometry (scvs and scvfs) for cell-centered TPFA models on a grid view This builds up the sub control volumes and sub control volume faces for each element of the grid partition.
 
file  discretization/cellcentered/tpfa/gridfluxvariablescache.hh
 Flux variable caches on a gridview.
 
file  cellcentered/tpfa/gridvolumevariables.hh
 The grid volume variables class for cell centered tpfa models.
 
file  discretization/cellcentered/tpfa/subcontrolvolumeface.hh
 The sub control volume face.
 

Classes

class  Dumux::CCTpfaElementFluxVariablesCache< GFVC, cachingEnabled >
 The flux variables caches for an element. More...
 
class  Dumux::CCTpfaElementFluxVariablesCache< GFVC, true >
 The flux variables caches for an element with caching enabled. More...
 
class  Dumux::CCTpfaElementFluxVariablesCache< GFVC, false >
 The flux variables caches for an element with caching disabled. More...
 
class  Dumux::CCTpfaElementVolumeVariables< GVV, cachingEnabled >
 The local (stencil) volume variables class for cell centered tpfa models. More...
 
class  Dumux::CCTpfaElementVolumeVariables< GVV, true >
 The local (stencil) volume variables class for cell centered tpfa models with caching. More...
 
class  Dumux::CCTpfaElementVolumeVariables< GVV, false >
 The local (stencil) volume variables class for cell centered tpfa models with caching. More...
 
class  Dumux::CCTpfaFVElementGeometry< GG, enableGridGeometryCache >
 Stencil-local finite volume geometry (scvs and scvfs) for cell-centered TPFA models This builds up the sub control volumes and sub control volume faces for each element in the local scope we are restricting to, e.g. stencil or element. More...
 
class  Dumux::CCTpfaFVElementGeometry< GG, true >
 Stencil-local finite volume geometry (scvs and scvfs) for cell-centered TPFA models Specialization for grid caching enabled. More...
 
class  Dumux::CCTpfaFVElementGeometry< GG, false >
 Stencil-local finite volume geometry (scvs and scvfs) for cell-centered TPFA models Specialization for grid caching disabled. More...
 
struct  Dumux::CCTpfaDefaultGridGeometryTraits< GridView, MapperTraits >
 The default traits for the tpfa finite volume grid geometry Defines the scv and scvf types and the mapper types. More...
 
class  Dumux::CCTpfaFVGridGeometry< GridView, enableGridGeometryCache, Traits >
 The finite volume geometry (scvs and scvfs) for cell-centered TPFA models on a grid view This builds up the sub control volumes and sub control volume faces. More...
 
class  Dumux::CCTpfaFVGridGeometry< GV, true, Traits >
 The finite volume geometry (scvs and scvfs) for cell-centered TPFA models on a grid view This builds up the sub control volumes and sub control volume faces. More...
 
class  Dumux::CCTpfaFVGridGeometry< GV, false, Traits >
 The finite volume geometry (scvs and scvfs) for cell-centered TPFA models on a grid view This builds up the sub control volumes and sub control volume faces. More...
 
struct  Dumux::CCTpfaDefaultGridFVCTraits< P, FVC, FVCF >
 Flux variable caches traits. More...
 
class  Dumux::CCTpfaGridFluxVariablesCache< Problem, FluxVariablesCache, FluxVariablesCacheFiller, EnableGridFluxVariablesCache, Traits >
 Flux variable caches on a gridview. More...
 
class  Dumux::CCTpfaGridFluxVariablesCache< P, FVC, FVCF, true, TheTraits >
 Flux variable caches on a gridview with grid caching enabled. More...
 
class  Dumux::CCTpfaGridFluxVariablesCache< P, FVC, FVCF, false, TheTraits >
 Flux variable caches on a gridview with grid caching disabled. More...
 
class  Dumux::CCTpfaGridVolumeVariables< Problem, VolumeVariables, cachingEnabled, Traits >
 Base class for the grid volume variables. More...
 
struct  Dumux::CCTpfaDefaultScvfGeometryTraits< GridView >
 Default traits class to be used for the sub-control volume faces for the cell-centered finite volume scheme using TPFA. More...
 
class  Dumux::CCTpfaSubControlVolumeFace< GV, T >
 The sub control volume face. More...
 

Functions

template<class SubControlVolumeFace , class SubControlVolume , class Tensor >
Tensor::field_type Dumux::computeTpfaTransmissibility (const SubControlVolumeFace &scvf, const SubControlVolume &scv, const Tensor &T, typename SubControlVolume::Traits::Scalar extrusionFactor)
 Free function to evaluate the Tpfa transmissibility associated with the flux (in the form of flux = T*gradU) across a sub-control volume face stemming from a given sub-control volume with corresponding tensor T. More...
 
template<class SubControlVolumeFace , class SubControlVolume , class Tensor , typename std::enable_if_t< Dune::IsNumber< Tensor >::value, int > = 0>
Tensor Dumux::computeTpfaTransmissibility (const SubControlVolumeFace &scvf, const SubControlVolume &scv, Tensor t, typename SubControlVolumeFace::Traits::Scalar extrusionFactor)
 Free function to evaluate the Tpfa transmissibility associated with the flux (in the form of flux = T*gradU) across a sub-control volume face stemming from a given sub-control volume for the case where T is just a scalar. More...
 

Function Documentation

◆ computeTpfaTransmissibility() [1/2]

template<class SubControlVolumeFace , class SubControlVolume , class Tensor >
Tensor::field_type Dumux::computeTpfaTransmissibility ( const SubControlVolumeFace &  scvf,
const SubControlVolume &  scv,
const Tensor &  T,
typename SubControlVolume::Traits::Scalar  extrusionFactor 
)

Free function to evaluate the Tpfa transmissibility associated with the flux (in the form of flux = T*gradU) across a sub-control volume face stemming from a given sub-control volume with corresponding tensor T.

Parameters
scvfThe sub-control volume face
scvThe neighboring sub-control volume
TThe tensor living in the neighboring scv
extrusionFactorThe extrusion factor of the scv

◆ computeTpfaTransmissibility() [2/2]

template<class SubControlVolumeFace , class SubControlVolume , class Tensor , typename std::enable_if_t< Dune::IsNumber< Tensor >::value, int > = 0>
Tensor Dumux::computeTpfaTransmissibility ( const SubControlVolumeFace &  scvf,
const SubControlVolume &  scv,
Tensor  t,
typename SubControlVolumeFace::Traits::Scalar  extrusionFactor 
)

Free function to evaluate the Tpfa transmissibility associated with the flux (in the form of flux = T*gradU) across a sub-control volume face stemming from a given sub-control volume for the case where T is just a scalar.

Parameters
scvfThe sub-control volume face
scvThe neighboring sub-control volume
tThe scalar quantity living in the neighboring scv
extrusionFactorThe extrusion factor of the scv