Variables for the single-phase porous medium flow model. More...
#include <dumux/porousmediumflow/1p/variables.hh>
The quantities are defined per local dof and updated at the interpolation point belonging to that dof, so that degrees of freedom owning no sub-control volume are served as well. Every spatial parameter is therefore asked for at that point.
Public Types | |
| using | PrimaryVariables = typename Traits::PrimaryVariables |
| export the type used for the primary variables | |
| using | Indices = typename 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 | |
| using | PermeabilityType = typename Traits::PermeabilityType |
| export the type of the intrinsic permeability | |
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 local dof is extruded. | |
| Scalar | porosity () const |
| Returns the porosity \(\mathrm{[-]}\). | |
| const PermeabilityType & | permeability () const |
| Returns the intrinsic permeability \(\mathrm{[m^2]}\). | |
| Scalar | pressure (int phaseIdx=0) const |
| Returns the effective pressure \(\mathrm{[Pa]}\) of a given phase. | |
| Scalar | saturation (int phaseIdx=0) const |
| Returns the saturation, which is always one for a single phase. | |
| 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 | mobility (int phaseIdx=0) const |
| Returns the mobility \(\mathrm{[1/(Pa s)]}\) of a given phase. | |
| Scalar | temperature () const |
| Returns the temperature \(\mathrm{[K]}\). | |
| const FluidState & | fluidState () const |
| Returns the fluid state. | |
| 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::Experimental::OnePVariables< Traits >::FluidState = typename Traits::FluidState |
| using Dumux::Experimental::OnePVariables< Traits >::FluidSystem = typename Traits::FluidSystem |
| using Dumux::Experimental::OnePVariables< Traits >::Indices = typename ModelTraits::Indices |
| using Dumux::Experimental::OnePVariables< Traits >::PermeabilityType = typename Traits::PermeabilityType |
| using Dumux::Experimental::OnePVariables< 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 of the local dof |
| fluidState | A container with the current (physical) state of the fluid |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinestaticconstexpr |
|
inlinestaticconstexpr |
|
inline |
|
inline |
|
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 of the local dof |
|
inline |