Contains the quantities which are are constant within a finite volume (the pore body) in the two-phase model.
|
| using | FluidSystem = typename Traits::FluidSystem |
| | Export type of fluid system.
|
| |
| using | FluidState = typename Traits::FluidState |
| | Export type of fluid state.
|
| |
| using | SolidState = typename Traits::SolidState |
| | Export type of solid state.
|
| |
| using | SolidSystem = typename Traits::SolidSystem |
| | Export type of solid system.
|
| |
| using | Indices = typename ModelTraits::Indices |
| | Export the indices.
|
| |
| 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?
|
| |
| Scalar | surfaceTension () const |
| | Returns the surface tension.
|
| |
| 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.
|
| |
| const FluidState & | fluidState () const |
| | Returns the phase state for the control volume.
|
| |
| const SolidState & | solidState () const |
| | Returns the phase state for the control volume.
|
| |
| Scalar | saturation (int phaseIdx) const |
| | Returns the saturation of a given phase within the control volume in \([-]\).
|
| |
| Scalar | density (int phaseIdx) const |
| | Returns the mass density of a given phase within the control volume in \([kg/m^3]\).
|
| |
| Scalar | pressure (int phaseIdx) const |
| | Returns the effective pressure of a given phase within the control volume in \([kg/(m*s^2)=N/m^2=Pa]\).
|
| |
| Scalar | capillaryPressure () const |
| | Returns the capillary pressure within the control volume in \([kg/(m*s^2)=N/m^2=Pa]\).
|
| |
| Scalar | temperature () const |
| | Returns temperature inside the sub-control volume in \([K]\).
|
| |
| Scalar | viscosity (int phaseIdx) const |
| | Returns the dynamic viscosity of the fluid within the control volume in \(\mathrm{[Pa s]}\).
|
| |
| Scalar | mobility (int phaseIdx) const |
| | Returns the effective mobility of a given phase within the control volume in \([s*m/kg]\).
|
| |
| Scalar | porosity () const |
| | Returns the average porosity within the control volume in \([-]\).
|
| |
| const PermeabilityType & | permeability () const |
| | Returns the permeability within the control volume in \([m^2]\).
|
| |
| int | wettingPhase () const |
| | Returns the wetting phase index.
|
| |
| 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.
|
| |
template<class Traits>
template<class ElemSol, class Problem, class Element, class Scv>
- Parameters
-
| 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 |
| fluidState | A container with the current (physical) state of the fluid |
| solidState | A container with the current (physical) state of the solid |
Set temperature, saturations, capillary pressures, viscosities, densities and enthalpies.