My Project
Loading...
Searching...
No Matches
Opm::ConstantCompressibilityWaterPvt< Scalar > Class Template Reference

This class represents the Pressure-Volume-Temperature relations of the gas phase without vaporized oil. More...

#include <ConstantCompressibilityWaterPvt.hpp>

Public Member Functions

void setNumRegions (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.
 
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 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) const
 
template<class Evaluation >
Evaluation saturatedGasDissolutionFactor (unsigned, const Evaluation &, const Evaluation &, const Evaluation &) const
 Returns the gas dissolution factor $R_s$ [m^3/m^3] of the water phase.
 
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
 

Detailed Description

template<class Scalar>
class Opm::ConstantCompressibilityWaterPvt< Scalar >

This class represents the Pressure-Volume-Temperature relations of the gas phase without vaporized oil.

Member Function Documentation

◆ saturationPressure()

template<class Scalar >
template<class Evaluation >
Evaluation Opm::ConstantCompressibilityWaterPvt< Scalar >::saturationPressure ( unsigned  ,
const Evaluation &  ,
const Evaluation &  ,
const Evaluation &   
) const
inline

Returns the saturation pressure of the water phase [Pa] depending on its mass fraction of the gas component.

Parameters
RsThe surface volume of gas component dissolved in what will yield one cubic meter of oil at the surface [-]

The documentation for this class was generated from the following file: