My Project
|
Calculator for phase saturations. More...
#include <InitStateEquil.hpp>
Classes | |
struct | Position |
Evaluation point within a model geometry. More... | |
Public Types | |
using | Scalar = typename FluidSystem::Scalar |
using | PTable = PressureTable< FluidSystem, Region > |
Convenience type alias. | |
Public Member Functions | |
PhaseSaturations (MaterialLawManager &matLawMgr, const std::vector< Scalar > &swatInit) | |
Constructor. | |
PhaseSaturations (const PhaseSaturations &rhs) | |
Copy constructor. | |
PhaseSaturations & | operator= (const PhaseSaturations &)=delete |
Disabled assignment operator. | |
PhaseSaturations & | operator= (PhaseSaturations &&)=delete |
Disabled move-assignment operator. | |
const PhaseQuantityValue< Scalar > & | deriveSaturations (const Position &x, const Region ®, const PTable &ptable) |
Calculate phase saturations at particular point of the simulation model geometry. | |
const PhaseQuantityValue< Scalar > & | correctedPhasePressures () const |
Retrieve saturation-corrected phase pressures. | |
Calculator for phase saturations.
Computes saturation values at arbitrary depths.
MaterialLawManager | Container for material laws. Typically a specialization of the constexpr auto getPropValue() get the value data member of a property Definition propertysystem.hh:242 |
FluidSystem | An OPM fluid system type. Typically a specialization of the template. |
Region | Representation of an equilibration region. Typically Aggregate information base of an equilibration region. Definition EquilibrationHelpers.hpp:609 |
CellID | Representation an equilibration region's cell IDs. Typically std::size_t
|
|
explicit |
Constructor.
[in,out] | matLawMgr | Read/write reference to a material law container. Mutated by member functions. |
[in] | swatInit | Initial water saturation array (from SWATINIT data). Empty if SWATINIT is not used in this simulation model. |
Opm::EQUIL::Details::PhaseSaturations< MaterialLawManager, FluidSystem, Region, CellID >::PhaseSaturations | ( | const PhaseSaturations< MaterialLawManager, FluidSystem, Region, CellID > & | rhs | ) |
Copy constructor.
[in] | rhs | Source object. |
|
inline |
Retrieve saturation-corrected phase pressures.
Values associated with evaluation point of previous call to
.
const PhaseQuantityValue< typename FluidSystem::Scalar > & Opm::EQUIL::Details::PhaseSaturations< MaterialLawManager, FluidSystem, Region, CellID >::deriveSaturations | ( | const Position & | x, |
const Region & | reg, | ||
const PTable & | ptable | ||
) |
Calculate phase saturations at particular point of the simulation model geometry.
[in] | x | Specific geometric point (depth within a specific cell). |
[in] | reg | Equilibration information for a single equilibration region; notably contact depths. |
[in] | ptable | Previously equilibrated phase pressure table pertaining to the equilibration region reg . |