Contains the quantities which are constant within a finite volume (the pore body) in the one-phase model.
More...
template<class Traits>
class Dumux::PoreNetwork::OnePVolumeVariables< Traits >
- Template Parameters
-
| Traits | Class encapsulating types to be used by the volVars |
|
| using | FluidSystem = typename Traits::FluidSystem |
| | Export the underlying fluid system.
|
| |
| using | FluidState = typename Traits::FluidState |
| | Export the fluid state type.
|
| |
| using | Indices = typename Traits::ModelTraits::Indices |
| | Export the indices.
|
| |
| using | SolidState = typename Traits::SolidState |
| | Export type of solid state.
|
| |
| using | SolidSystem = typename Traits::SolidSystem |
| | Export type of solid system.
|
| |
| using | PrimaryVariables = typename Traits::PrimaryVariables |
| | Export the type used for the primary variables.
|
| |
|
| template<class ElemSol, class Problem, class Element, class Scv> |
| void | update (const ElemSol &elemSol, const Problem &problem, const Element &element, const Scv &scv) |
| | Updates all quantities for a given control volume.
|
| |
| Scalar | poreInscribedRadius () const |
| | Returns the pore's inscribed radius.
|
| |
| Scalar | poreVolume () const |
| | Returns the pore volume. // TODO should this be a fraction only?
|
| |
| template<class ElemSol, class Problem, class Element, class Scv> |
| void | completeFluidState (const ElemSol &elemSol, const Problem &problem, const Element &element, const Scv &scv, FluidState &fluidState, SolidState &solidState) |
| | Sets complete fluid state.
|
| |
| Scalar | temperature () const |
| | Returns the temperature \(\mathrm{[K]}\) inside the sub-control volume.
|
| |
| const SolidState & | solidState () const |
| | Returns the phase state for the control volume.
|
| |
| 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 within the control volume.
|
| |
| Scalar | viscosity (int phaseIdx=0) const |
| | Returns the dynamic viscosity \(\mathrm{[Pa s]}\) of the fluid within the control volume.
|
| |
| Scalar | mobility (int phaseIdx=0) const |
| | Returns the mobility \(\mathrm{[1/(Pa s)]}\).
|
| |
| Scalar | porosity () const |
| | Returns the average porosity \(\mathrm{[-]}\) within the control volume.
|
| |
| const PermeabilityType & | permeability () const |
| | Returns the permeability within the control volume in \([m^2]\).
|
| |
| const FluidState & | fluidState () const |
| | Returns the fluid state of the control volume.
|
| |
| const PrimaryVariables & | priVars () const |
| | Returns the vector of primary variables.
|
| |
| Scalar | priVar (const int pvIdx) const |
| | Returns a component of primary variable vector.
|
| |
| Scalar | extrusionFactor () const |
| | Returns how much the sub-control volume is extruded.
|
| |