|
opm-common
|
This class represents the Pressure-Volume-Temperature relations of the gas phase without vaporized oil. More...
#include <ConstantCompressibilityWaterPvt.hpp>
Public Member Functions | |
| void | initFromState (const EclipseState &eclState, const Schedule &) |
| Sets the pressure-dependent water viscosity and density using a table stemming from the Eclipse PVTW keyword. | |
| void | setNumRegions (std::size_t numRegions) |
| void | setVapPars (const Scalar, const Scalar) |
| void | setReferenceDensities (unsigned regionIdx, Scalar, Scalar, Scalar rhoRefWater) |
| Set the water reference density [kg / m^3]. | |
| void | setReferencePressure (unsigned regionIdx, Scalar p) |
| Set the water reference pressure [Pa]. | |
| void | setViscosity (unsigned regionIdx, Scalar muw, Scalar waterViscosibility=0.0) |
| Set the viscosity and "viscosibility" of the water phase. | |
| void | setCompressibility (unsigned regionIdx, Scalar waterCompressibility) |
| Set the compressibility of the water phase. | |
| void | setReferenceFormationVolumeFactor (unsigned regionIdx, Scalar BwRef) |
| Set the water reference formation volume factor [-]. | |
| void | setViscosibility (unsigned regionIdx, Scalar muComp) |
| Set the water "viscosibility" [1/ (Pa s)]. | |
| void | initEnd () |
| Finish initializing the water 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 Evaluation &) const |
| Returns the specific enthalpy [J/kg] of water given a set of parameters. | |
| Scalar | hVap (unsigned) const |
| template<class Evaluation> | |
| Evaluation | saturatedViscosity (unsigned regionIdx, const Evaluation &temperature, const Evaluation &pressure, const Evaluation &saltconcentration) const |
| Returns the dynamic viscosity [Pa s] of the fluid phase given a set of parameters. | |
| template<class Evaluation> | |
| Evaluation | viscosity (unsigned regionIdx, const Evaluation &temperature, const Evaluation &pressure, const Evaluation &Rsw, const Evaluation &saltconcentration) const |
| Returns the dynamic viscosity [Pa s] of the fluid phase given a set of parameters. | |
| template<class Evaluation> | |
| Evaluation | saturatedInverseFormationVolumeFactor (unsigned regionIdx, const Evaluation &temperature, const Evaluation &pressure, const Evaluation &saltconcentration) const |
| Returns the formation volume factor [-] of the fluid phase. | |
| template<class Evaluation> | |
| Evaluation | inverseFormationVolumeFactor (unsigned regionIdx, const Evaluation &, const Evaluation &pressure, const Evaluation &, 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> | |
| void | inverseBAndMu (Evaluation &bw, Evaluation &muW, unsigned regionIdx, const Evaluation &, const Evaluation &pressure, const Evaluation &, const Evaluation &) const |
| template<class Evaluation> | |
| void | inverseBAndMu (Evaluation &bw, Evaluation &muW, unsigned regionIdx, const Evaluation &pressure) const |
| template<class Evaluation> | |
| Evaluation | saturationPressure (unsigned, const Evaluation &, const Evaluation &, const Evaluation &) const |
| Returns the saturation pressure of the water phase [Pa] depending on its mass fraction of the gas component. | |
| template<class Evaluation> | |
| Evaluation | diffusionCoefficient (const Evaluation &, const Evaluation &, unsigned, unsigned=0) const |
| template<class Evaluation> | |
| Evaluation | saturatedGasDissolutionFactor (unsigned, const Evaluation &, const Evaluation &, const Evaluation &) const |
| Returns the gas dissolution factor | |
| Scalar | waterReferenceDensity (unsigned regionIdx) const |
| const std::vector< Scalar > & | waterReferencePressure () const |
| const std::vector< Scalar > & | waterReferenceFormationVolumeFactor () const |
| const std::vector< Scalar > & | waterCompressibility () const |
| const std::vector< Scalar > & | waterViscosity () const |
| const std::vector< Scalar > & | waterViscosibility () const |
This class represents the Pressure-Volume-Temperature relations of the gas phase without vaporized oil.
|
inline |
Returns the saturation pressure of the water phase [Pa] depending on its mass fraction of the gas component.
| Rs | The surface volume of gas component dissolved in what will yield one cubic meter of oil at the surface [-] |