Variables for the single-phase Navier-Stokes mass model. More...
#include <dumux/freeflow/navierstokes/mass/1p/variables.hh>
The quantities are defined per local dof and updated at an interpolation point, so that discretizations without sub-control volumes are served as well.
Public Types | |
| using | PrimaryVariables = typename Traits::PrimaryVariables |
| export the type used for the primary variables | |
| using | Indices = typename Traits::ModelTraits::Indices |
| export the indices type | |
| using | FluidSystem = typename Traits::FluidSystem |
| Export the underlying fluid system. | |
| using | FluidState = typename Traits::FluidState |
| Export the fluid state type. | |
Public Member Functions | |
| template<class ElementSolution, class Problem, class ElementDiscretization, Concept::LocalDofIpData IpData> | |
| void | update (const ElementSolution &elemSol, const Problem &problem, const ElementDiscretization &elemDisc, const IpData &ipData) |
| Update all quantities for a local dof. | |
| template<class ElementSolution, class Problem, class ElementDiscretization, Concept::LocalDofIpData IpData> | |
| void | completeFluidState (const ElementSolution &elemSol, const Problem &problem, const ElementDiscretization &elemDisc, const IpData &ipData, FluidState &fluidState) const |
| Sets the complete fluid state. | |
| Scalar | extrusionFactor () const |
| Return how much the localDof is extruded. | |
| Scalar | pressure (int phaseIdx=0) const |
| Returns the effective pressure \(\mathrm{[Pa]}\) of a given phase within the control volume. | |
| Scalar | saturation (int phaseIdx=0) const |
| Returns the saturation. | |
| Scalar | density (int phaseIdx=0) const |
| Returns the mass density \(\mathrm{[kg/m^3]}\) of a given phase. | |
| Scalar | molarDensity (int phaseIdx=0) const |
| Returns the molar density \(\mathrm{[mol/m^3]}\) of a given phase. | |
| Scalar | viscosity (int phaseIdx=0) const |
| Returns the dynamic viscosity \(\mathrm{[Pa s]}\) of the fluid. | |
| Scalar | temperature () const |
| Returns the temperature \(\mathrm{[K]}\) inside the control volume. | |
| const FluidState & | fluidState () const |
| Returns the fluid state of the control volume. | |
| Scalar | priVar (const int pvIdx) const |
| Return a component of the primary variable vector. | |
| const PrimaryVariables & | priVars () const |
| Return the primary variable vector. | |
Static Public Member Functions | |
| static constexpr int | numFluidPhases () |
| Return number of phases considered by the model. | |
| static constexpr int | numFluidComponents () |
| Return number of components considered by the model. | |
| using Dumux::NavierStokesMassOnePVariables< Traits >::FluidState = typename Traits::FluidState |
| using Dumux::NavierStokesMassOnePVariables< Traits >::FluidSystem = typename Traits::FluidSystem |
| using Dumux::NavierStokesMassOnePVariables< Traits >::Indices = typename Traits::ModelTraits::Indices |
| using Dumux::NavierStokesMassOnePVariables< Traits >::PrimaryVariables = typename Traits::PrimaryVariables |
|
inline |
| elemSol | A vector containing all primary variables connected to the element |
| problem | The object specifying the problem which ought to be simulated |
| elemDisc | The element discretization |
| ipData | The interpolation point data |
| fluidState | A container with the current (physical) state of the fluid |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinestaticconstexpr |
|
inlinestaticconstexpr |
|
inline |
|
inline |
| pvIdx | The index of the primary variable of interest |
|
inline |
|
inline |
|
inline |
|
inline |
| elemSol | A vector containing all primary variables connected to the element |
| problem | The object specifying the problem which ought to be simulated |
| elemDisc | The element discretization |
| ipData | The interpolation point data |
|
inline |