The porous medium flux variables class that computes advective / convective, molecular diffusive and heat conduction fluxes. More...
#include <dumux/porousmediumflow/fluxvariables.hh>
TypeTag | The type tag for access to type traits |
UpScheme | The upwind scheme to be applied to advective fluxes |
Public Types | |
using | UpwindScheme = UpScheme |
using | AdvectionType = GetPropType< TypeTag, Properties::AdvectionType > |
using | DispersionFluxType = GetPropType< TypeTag, Properties::DispersionFluxType > |
using | MolecularDiffusionType = GetPropType< TypeTag, Properties::MolecularDiffusionType > |
using | HeatConductionType = GetPropType< TypeTag, Properties::HeatConductionType > |
Public Member Functions | |
PorousMediumFluxVariables () | |
The constructor. More... | |
template<typename FunctionType > | |
Scalar | advectiveFlux (const int phaseIdx, const FunctionType &upwindTerm) const |
Returns the advective flux computed by the respective law. More... | |
Dune::FieldVector< Scalar, numComponents > | molecularDiffusionFlux (const int phaseIdx) const |
Returns the diffusive fluxes computed by the respective law. More... | |
Dune::FieldVector< Scalar, numComponents > | compositionalDispersionFlux (const int phaseIdx) const |
Returns the compositional dispersion flux computed by the respective law. More... | |
Dune::FieldVector< Scalar, 1 > | thermalDispersionFlux (const int phaseIdx=0) const |
Returns the thermal dispersion flux computed by the respective law. More... | |
Scalar | heatConductionFlux () const |
Returns the conductive flux computed by the respective law. More... | |
Scalar | heatConductionFlux (const int phaseIdx) const |
Returns the conductive flux computed by the respective law. More... | |
void | init (const GetPropType< TypeTag, Properties::Problem > &problem, const Element &element, const GetPropType< TypeTag, Properties::GridGeometry >::LocalView &fvGeometry, const GetPropType< TypeTag, Properties::GridVolumeVariables >::LocalView &elemVolVars, const SubControlVolumeFace &scvFace, const GetPropType< TypeTag, Properties::GridFluxVariablesCache >::LocalView &elemFluxVarsCache) |
Initialize the flux variables storing some temporary pointers. More... | |
const GetPropType< TypeTag, Properties::Problem > & | problem () const |
const Element & | element () const |
const SubControlVolumeFace & | scvFace () const |
const GetPropType< TypeTag, Properties::GridGeometry >::LocalView & | fvGeometry () const |
const GetPropType< TypeTag, Properties::GridVolumeVariables >::LocalView & | elemVolVars () const |
const GetPropType< TypeTag, Properties::GridFluxVariablesCache >::LocalView & | elemFluxVarsCache () const |
Static Public Attributes | |
static constexpr bool | enableAdvection = ModelTraits::enableAdvection() |
static constexpr bool | enableMolecularDiffusion = ModelTraits::enableMolecularDiffusion() |
static constexpr bool | enableCompositionalDispersion = ModelTraits::enableCompositionalDispersion() |
static constexpr bool | enableThermalDispersion = ModelTraits::enableThermalDispersion() |
static constexpr bool | enableEnergyBalance = ModelTraits::enableEnergyBalance() |
static constexpr bool | enableThermalNonEquilibrium = getPropValue<TypeTag, Properties::EnableThermalNonEquilibrium>() |
using Dumux::PorousMediumFluxVariables< TypeTag, UpScheme >::AdvectionType = GetPropType<TypeTag, Properties::AdvectionType> |
using Dumux::PorousMediumFluxVariables< TypeTag, UpScheme >::DispersionFluxType = GetPropType<TypeTag, Properties::DispersionFluxType> |
using Dumux::PorousMediumFluxVariables< TypeTag, UpScheme >::HeatConductionType = GetPropType<TypeTag, Properties::HeatConductionType> |
using Dumux::PorousMediumFluxVariables< TypeTag, UpScheme >::MolecularDiffusionType = GetPropType<TypeTag, Properties::MolecularDiffusionType> |
using Dumux::PorousMediumFluxVariables< TypeTag, UpScheme >::UpwindScheme = UpScheme |
|
inline |
|
inline |
Give the upwind scheme access to the cached variables
|
inline |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inline |
|
inline |
|
inlineinherited |
|
inline |
|
inlineinherited |
|
inlineinherited |
|
inline |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |