Volume variables for isothermal free-flow models. More...
#include <dumux/freeflow/volumevariables.hh>
Volume variables for isothermal free-flow models.
Public Types | |
| using | PrimaryVariables = typename Traits::PrimaryVariables |
| export the type used for the primary variables More... | |
| using | Indices = typename Traits::ModelTraits::Indices |
| export the type encapsulating primary variable indices More... | |
Public Member Functions | |
| template<class ElementSolution , class Problem , class Element , class SubControlVolume > | |
| void | update (const ElementSolution &elemSol, const Problem &problem, const Element &element, const SubControlVolume &scv) |
| Update all quantities for a given control volume. More... | |
| Scalar | extrusionFactor () const |
| Return how much the sub-control volume is extruded. More... | |
| Scalar | priVar (const int pvIdx) const |
| Return a component of primary variable vector. More... | |
Static Public Member Functions | |
| static constexpr int | numFluidPhases () |
| return number of phases considered by the model More... | |
| static constexpr int | numFluidComponents () |
| return number of components considered by the model More... | |
| template<class ElementSolution , class Problem , class Element , class SubControlVolume > | |
| static Scalar | temperature (const ElementSolution &elemSol, const Problem &problem, const Element &element, const SubControlVolume &scv) |
| The temperature is obtained from the problem as a constant for isothermal models. More... | |
| template<class FluidState , class ParameterCache > | |
| static Scalar | enthalpy (const FluidState &fluidState, const ParameterCache ¶mCache) |
Protected Member Functions | |
| const Impl & | asImp_ () const |
| Impl & | asImp_ () |
Protected Attributes | |
| PrimaryVariables | priVars_ |
| Scalar | extrusionFactor_ |
| using Dumux::FreeFlowVolumeVariablesImplementation< Traits, Impl, false >::Indices = typename Traits::ModelTraits::Indices |
export the type encapsulating primary variable indices
| using Dumux::FreeFlowVolumeVariablesImplementation< Traits, Impl, false >::PrimaryVariables = typename Traits::PrimaryVariables |
export the type used for the primary variables
|
inlineprotected |
|
inlineprotected |
|
inlinestatic |
The phase enthalpy is zero for isothermal models This is needed for completing the fluid state
|
inline |
Return how much the sub-control volume is extruded.
This means the factor by which a lower-dimensional (1D or 2D) entity needs to be expanded to get a full dimensional cell. The default is 1.0 which means that 1D problems are actually thought as pipes with a cross section of 1 m^2 and 2D problems are assumed to extend 1 m to the back.
|
inlinestaticconstexpr |
return number of components considered by the model
|
inlinestaticconstexpr |
return number of phases considered by the model
|
inline |
Return a component of primary variable vector.
| pvIdx | The index of the primary variable of interest |
|
inlinestatic |
The temperature is obtained from the problem as a constant for isothermal models.
|
inline |
Update all quantities for a given control volume.
| elemSol | A vector containing all primary variables connected to the element |
| problem | The object specifying the problem which ought to be simulated |
| element | An element which contains part of the control volume |
| scv | The sub-control volume |
|
protected |
|
protected |