Contains the quantities which are constant within a coarse-level finite volume in the two-phase VE model.
More...
template<class Traits>
class Dumux::TwoPVEVolumeVariables< Traits >
The coarse-level mobilities are the permeability-weighted vertical averages of the reconstructed fine-level mobilities. Permeability [m^2] and dimensionless porosity are column averages; extrusion supplies the column height.
|
| 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, these volume variables refer to the coarse level of the VE scheme.
|
| template<class ElemSol, class Problem, class Element, class Scv> |
| void | completeFluidStateCoarse (const ElemSol &elemSol, const Problem &problemCoarse, const Element &element, const Scv &scv, FluidState &fluidState, Scalar temperature, Scalar pcCoarse, Scalar gasPlumeDist) |
| | Sets complete fluid state. This function is used for the coarse-level elements.
|
| const FluidState & | fluidState () 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 dimensionless column-average porosity.
|
| const PermeabilityType & | permeability () const |
| | Returns the column-average intrinsic permeability in \([m^2]\).
|
| Scalar | porosityIntegral () const |
| | Vertical integral of porosity [m].
|
| PermeabilityType | permeabilityIntegral () const |
| | Vertical integral of permeability [m^3].
|
| int | wettingPhase () const |
| | Returns the wetting phase index.
|
| Scalar | gasPlumeDist () const |
| | Returns the gas plume distance within a coarse-level element.
|
| Scalar | columnHeight () const |
| | Height of the reconstructed column [m].
|
| 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>
| void Dumux::TwoPVEVolumeVariables< Traits >::completeFluidStateCoarse |
( |
const ElemSol & | elemSol, |
|
|
const Problem & | problemCoarse, |
|
|
const Element & | element, |
|
|
const Scv & | scv, |
|
|
FluidState & | fluidState, |
|
|
Scalar | temperature, |
|
|
Scalar | pcCoarse, |
|
|
Scalar | gasPlumeDist ) |
|
inline |
- Parameters
-
| elemSol | a vector containing all primary variables connected to the element |
| problemCoarse | the object specifying the coarse-level 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 |
| temperature | prescribed column temperature |
| pcCoarse | coarsened capillary pressure of coarse-level element |
| gasPlumeDist | gas plume distance/height belonging to the coarse-level element |
Set temperature, saturations, capillary pressures, viscosities, densities.