|
opm-common
|
This class represents the Pressure-Volume-Temperature relations of dead oil with constant dissolved gas (RSCONST keyword). More...
#include <ConstantRsDeadOilPvt.hpp>
Public Types | |
| using | TabulatedOneDFunction = Tabulated1DFunction<Scalar> |
Public Member Functions | |
| void | initFromState (const EclipseState &eclState, const Schedule &schedule) |
| Initialize the oil parameters via the data specified by the PVDO ECL keyword with additional constant Rs from RSCONST. | |
| void | setNumRegions (std::size_t numRegions) |
| void | setVapPars (const Scalar, const Scalar) |
| void | setReferenceDensities (unsigned regionIdx, Scalar rhoRefOil, Scalar rhoRefGas, Scalar) |
| Initialize the reference densities of all fluids for a given PVT region. | |
| void | setConstantRs (Scalar rsConst) |
| Set the constant Rs value (global for all regions). | |
| void | setBubblePointPressure (Scalar pbub) |
| Set the bubble point pressure (global for all regions). | |
| void | setInverseOilFormationVolumeFactor (unsigned regionIdx, const TabulatedOneDFunction &invBo) |
| Initialize the function for the oil formation volume factor. | |
| void | setOilViscosity (unsigned regionIdx, const TabulatedOneDFunction &muo) |
| Initialize the viscosity of the oil phase. | |
| void | initEnd () |
| Finish initializing the oil phase PVT properties. | |
| unsigned | numRegions () const |
| Return the number of PVT regions which are considered by this PVT-object. | |
| template<class Evaluation> | |
| Evaluation | internalEnergy (unsigned, const Evaluation &, const Evaluation &, const Evaluation &) const |
| Returns the specific enthalpy [J/kg] of oil given a set of parameters. | |
| Scalar | hVap (unsigned) const |
| template<class Evaluation> | |
| Evaluation | viscosity (unsigned regionIdx, const Evaluation &temperature, const Evaluation &pressure, const Evaluation &) const |
| Returns the dynamic viscosity [Pa s] of the fluid phase given a set of parameters. | |
| template<class Evaluation> | |
| Evaluation | saturatedViscosity (unsigned regionIdx, const Evaluation &, const Evaluation &pressure) const |
| Returns the dynamic viscosity [Pa s] of oil given a pressure. | |
| template<class Evaluation> | |
| Evaluation | inverseFormationVolumeFactor (unsigned regionIdx, const Evaluation &, const Evaluation &pressure, const Evaluation &) const |
| Returns the formation volume factor [-] of the fluid phase. | |
| template<class FluidState, class LhsEval = typename FluidState::ValueType> | |
| std::pair< LhsEval, LhsEval > | inverseFormationVolumeFactorAndViscosity (const FluidState &fluidState, unsigned regionIdx) |
| Returns the formation volume factor [-] and viscosity [Pa s] of the fluid phase. | |
| template<class Evaluation> | |
| Evaluation | saturatedInverseFormationVolumeFactor (unsigned regionIdx, const Evaluation &, const Evaluation &pressure) const |
| Returns the formation volume factor [-] of oil. | |
| template<class Evaluation> | |
| Evaluation | saturatedGasDissolutionFactor (unsigned, const Evaluation &, const Evaluation &pressure) const |
| Returns the constant gas dissolution factor | |
| template<class Evaluation> | |
| Evaluation | saturatedGasDissolutionFactor (unsigned, const Evaluation &, const Evaluation &pressure, const Evaluation &, const Evaluation &) const |
| Returns the constant gas dissolution factor | |
| template<class Evaluation> | |
| Evaluation | saturationPressure (unsigned, const Evaluation &, const Evaluation &) const |
| Returns the bubble point pressure [Pa] from RSCONST. | |
| template<class Evaluation> | |
| Evaluation | diffusionCoefficient (const Evaluation &, const Evaluation &, unsigned) const |
| Scalar | oilReferenceDensity (unsigned regionIdx) const |
| Scalar | gasReferenceDensity (unsigned regionIdx) const |
| Scalar | constantRs () const |
| Scalar | bubblePointPressure () const |
| const std::vector< TabulatedOneDFunction > & | inverseOilB () const |
| const std::vector< TabulatedOneDFunction > & | oilMu () const |
| const std::vector< TabulatedOneDFunction > & | inverseOilBMu () const |
This class represents the Pressure-Volume-Temperature relations of dead oil with constant dissolved gas (RSCONST keyword).
RSCONST provides two global values: constant Rs and constant bubble point pressure. Oil properties (Bo, μo) come from PVDO tables and are independent of Rs.
|
inline |
Returns the formation volume factor [-] of the fluid phase.
Rs is ignored - Bo depends only on pressure via PVDO table.
|
inline |
Returns the constant gas dissolution factor 
Same value for all regions. Enforces that pressure must be >= bubble point pressure.
|
inline |
Returns the constant gas dissolution factor 
Same value for all regions. Enforces that pressure must be >= bubble point pressure.
|
inline |
Returns the formation volume factor [-] of oil.
Uses PVDO table directly.
|
inline |
Returns the dynamic viscosity [Pa s] of oil given a pressure.
Uses PVDO table directly.
|
inline |
Returns the bubble point pressure [Pa] from RSCONST.
Same value for all regions.
|
inline |
Returns the dynamic viscosity [Pa s] of the fluid phase given a set of parameters.
Rs is ignored - viscosity depends only on pressure via PVDO table.