The porous medium flux variables class that computes advective / convective, molecular diffusive and heat conduction fluxes.
More...
template<class TypeTag, class
UpwindScheme = UpwindScheme<GetPropType<TypeTag, Properties::GridGeometry>>>
class Dumux::PorousMediumFluxVariables< TypeTag, UpwindScheme >
The porous medium flux variables class that computes advective / convective, molecular diffusive and heat conduction fluxes.
- Parameters
-
TypeTag | The type tag for access to type traits |
UpwindScheme | The upwind scheme to be applied to advective fluxes |
- Note
- Not all specializations are currently implemented
|
| PorousMediumFluxVariables () |
| The constructor. More...
|
|
template<typename FunctionType , bool enable = enableAdvection, std::enable_if_t< enable, int > = 0> |
Scalar | advectiveFlux (const int phaseIdx, const FunctionType &upwindTerm) const |
| Returns the advective flux computed by the respective law. Specialization for enabled advection. More...
|
|
template<typename FunctionType , bool enable = enableAdvection, typename std::enable_if_t<!enable, int > = 0> |
Scalar | advectiveFlux (const int phaseIdx, const FunctionType &upwindTerm) const |
| Returns the advective flux computed by the respective law. Specialization for disabled advection. Advective fluxes are zero. More...
|
|
template<bool enable = enableMolecularDiffusion, typename std::enable_if_t< enable, int > = 0> |
Dune::FieldVector< Scalar, numComponents > | molecularDiffusionFlux (const int phaseIdx) const |
| Returns the diffusive fluxes computed by the respective law. More...
|
|
template<bool enable = enableMolecularDiffusion, typename std::enable_if_t<!enable, int > = 0> |
Dune::FieldVector< Scalar, numComponents > | molecularDiffusionFlux (const int phaseIdx) const |
| Returns the diffusive fluxes computed by the respective law. More...
|
|
template<bool enable = enableEnergyBalance && !enableThermalNonEquilibrium, typename std::enable_if_t< enable, int > = 0> |
Scalar | heatConductionFlux () const |
| Returns the conductive flux computed by the respective law. More...
|
|
template<bool enable = enableEnergyBalance && enableThermalNonEquilibrium, typename std::enable_if_t< enable, int > = 0> |
Scalar | heatConductionFlux (const int phaseIdx) const |
| Returns the conductive flux computed by the respective law. More...
|
|
template<bool enable = enableEnergyBalance, typename std::enable_if_t<!enable, int > = 0> |
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 |
|