Opm::ConstantCompressibilityOilPvt< Scalar > Class Template Reference

This class represents the Pressure-Volume-Temperature relations of the oil phase without dissolved gas and constant compressibility/"viscosibility". More...

#include <ConstantCompressibilityOilPvt.hpp>

Public Member Functions

void setNumRegions (size_t numRegions)
 
void setReferenceDensities (unsigned regionIdx, Scalar rhoRefOil, Scalar, Scalar)
 Initialize the reference densities of all fluids for a given PVT region. More...
 
void setMolarMasses (unsigned, Scalar, Scalar, Scalar)
 Initialize the reference densities of all fluids for a given PVT region. More...
 
void setViscosity (unsigned regionIdx, Scalar muo, Scalar oilViscosibility=0.0)
 Set the viscosity and "viscosibility" of the oil phase. More...
 
void setCompressibility (unsigned regionIdx, Scalar oilCompressibility)
 Set the compressibility of the oil phase. More...
 
void setReferencePressure (unsigned regionIdx, Scalar p)
 Set the oil reference pressure [Pa]. More...
 
void setReferenceFormationVolumeFactor (unsigned regionIdx, Scalar BoRef)
 Set the oil reference formation volume factor [-]. More...
 
void setViscosibility (unsigned regionIdx, Scalar muComp)
 Set the oil "viscosibility" [1/ (Pa s)]. More...
 
void initEnd (const GasPvtMultiplexer *)
 Finish initializing the oil phase PVT properties. More...
 
template<class Evaluation >
Evaluation viscosity (unsigned regionIdx, const Evaluation &temperature, const Evaluation &pressure, const Evaluation &XoG) const
 Returns the dynamic viscosity [Pa s] of the fluid phase given a set of parameters. More...
 
template<class Evaluation >
Evaluation density (unsigned regionIdx, const Evaluation &temperature, const Evaluation &pressure, const Evaluation &XoG) const
 Returns the density [kg/m^3] of the fluid phase given a set of parameters. More...
 
template<class Evaluation >
Evaluation formationVolumeFactor (unsigned regionIdx, const Evaluation &, const Evaluation &pressure, const Evaluation &) const
 Returns the formation volume factor [-] of the fluid phase. More...
 
template<class Evaluation >
Evaluation fugacityCoefficientOil (unsigned, const Evaluation &, const Evaluation &pressure) const
 Returns the fugacity coefficient [Pa] of a component in the fluid phase given a set of parameters. More...
 
template<class Evaluation >
Evaluation fugacityCoefficientWater (unsigned regionIdx, const Evaluation &temperature, const Evaluation &pressure) const
 
template<class Evaluation >
Evaluation fugacityCoefficientGas (unsigned regionIdx, const Evaluation &temperature, const Evaluation &pressure) const
 
template<class Evaluation >
Evaluation gasDissolutionFactor (unsigned, const Evaluation &, const Evaluation &) const
 Returns the gas dissolution factor $R_s$ [m^3/m^3] of the oil phase. More...
 
template<class Evaluation >
Evaluation oilSaturationPressure (unsigned, const Evaluation &, const Evaluation &) const
 Returns the saturation pressure of the oil phase [Pa] depending on its mass fraction of the gas component. More...
 
template<class Evaluation >
Evaluation saturatedOilGasMassFraction (unsigned, const Evaluation &, const Evaluation &) const
 
template<class Evaluation >
Evaluation saturatedOilGasMoleFraction (unsigned, const Evaluation &, const Evaluation &) const
 

Detailed Description

template<class Scalar>
class Opm::ConstantCompressibilityOilPvt< Scalar >

This class represents the Pressure-Volume-Temperature relations of the oil phase without dissolved gas and constant compressibility/"viscosibility".

Member Function Documentation

template<class Scalar >
template<class Evaluation >
Evaluation Opm::ConstantCompressibilityOilPvt< Scalar >::density ( unsigned  regionIdx,
const Evaluation &  temperature,
const Evaluation &  pressure,
const Evaluation &  XoG 
) const
inline

Returns the density [kg/m^3] of the fluid phase given a set of parameters.

References Opm::ConstantCompressibilityOilPvt< Scalar >::formationVolumeFactor().

template<class Scalar >
template<class Evaluation >
Evaluation Opm::ConstantCompressibilityOilPvt< Scalar >::formationVolumeFactor ( unsigned  regionIdx,
const Evaluation &  ,
const Evaluation &  pressure,
const Evaluation &   
) const
inline

Returns the formation volume factor [-] of the fluid phase.

Referenced by Opm::ConstantCompressibilityOilPvt< Scalar >::density(), and Opm::ConstantCompressibilityOilPvt< Scalar >::viscosity().

template<class Scalar >
template<class Evaluation >
Evaluation Opm::ConstantCompressibilityOilPvt< Scalar >::fugacityCoefficientGas ( unsigned  regionIdx,
const Evaluation &  temperature,
const Evaluation &  pressure 
) const
inline
template<class Scalar >
template<class Evaluation >
Evaluation Opm::ConstantCompressibilityOilPvt< Scalar >::fugacityCoefficientOil ( unsigned  ,
const Evaluation &  ,
const Evaluation &  pressure 
) const
inline

Returns the fugacity coefficient [Pa] of a component in the fluid phase given a set of parameters.

Referenced by Opm::ConstantCompressibilityOilPvt< Scalar >::fugacityCoefficientGas(), and Opm::ConstantCompressibilityOilPvt< Scalar >::fugacityCoefficientWater().

template<class Scalar >
template<class Evaluation >
Evaluation Opm::ConstantCompressibilityOilPvt< Scalar >::fugacityCoefficientWater ( unsigned  regionIdx,
const Evaluation &  temperature,
const Evaluation &  pressure 
) const
inline
template<class Scalar >
template<class Evaluation >
Evaluation Opm::ConstantCompressibilityOilPvt< Scalar >::gasDissolutionFactor ( unsigned  ,
const Evaluation &  ,
const Evaluation &   
) const
inline

Returns the gas dissolution factor $R_s$ [m^3/m^3] of the oil phase.

template<class Scalar >
void Opm::ConstantCompressibilityOilPvt< Scalar >::initEnd ( const GasPvtMultiplexer )
inline

Finish initializing the oil phase PVT properties.

template<class Scalar >
template<class Evaluation >
Evaluation Opm::ConstantCompressibilityOilPvt< Scalar >::oilSaturationPressure ( unsigned  ,
const Evaluation &  ,
const Evaluation &   
) const
inline

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

Parameters
XoGThe mass fraction of the gas component in the oil phase [-]
template<class Scalar >
template<class Evaluation >
Evaluation Opm::ConstantCompressibilityOilPvt< Scalar >::saturatedOilGasMassFraction ( unsigned  ,
const Evaluation &  ,
const Evaluation &   
) const
inline
template<class Scalar >
template<class Evaluation >
Evaluation Opm::ConstantCompressibilityOilPvt< Scalar >::saturatedOilGasMoleFraction ( unsigned  ,
const Evaluation &  ,
const Evaluation &   
) const
inline
template<class Scalar >
void Opm::ConstantCompressibilityOilPvt< Scalar >::setCompressibility ( unsigned  regionIdx,
Scalar  oilCompressibility 
)
inline

Set the compressibility of the oil phase.

template<class Scalar >
void Opm::ConstantCompressibilityOilPvt< Scalar >::setMolarMasses ( unsigned  ,
Scalar  ,
Scalar  ,
Scalar   
)
inline

Initialize the reference densities of all fluids for a given PVT region.

template<class Scalar >
void Opm::ConstantCompressibilityOilPvt< Scalar >::setReferenceDensities ( unsigned  regionIdx,
Scalar  rhoRefOil,
Scalar  ,
Scalar   
)
inline

Initialize the reference densities of all fluids for a given PVT region.

template<class Scalar >
void Opm::ConstantCompressibilityOilPvt< Scalar >::setReferenceFormationVolumeFactor ( unsigned  regionIdx,
Scalar  BoRef 
)
inline

Set the oil reference formation volume factor [-].

Referenced by Opm::ConstantCompressibilityOilPvt< Scalar >::setNumRegions().

template<class Scalar >
void Opm::ConstantCompressibilityOilPvt< Scalar >::setReferencePressure ( unsigned  regionIdx,
Scalar  p 
)
inline

Set the oil reference pressure [Pa].

Referenced by Opm::ConstantCompressibilityOilPvt< Scalar >::setNumRegions().

template<class Scalar >
void Opm::ConstantCompressibilityOilPvt< Scalar >::setViscosibility ( unsigned  regionIdx,
Scalar  muComp 
)
inline

Set the oil "viscosibility" [1/ (Pa s)].

template<class Scalar >
void Opm::ConstantCompressibilityOilPvt< Scalar >::setViscosity ( unsigned  regionIdx,
Scalar  muo,
Scalar  oilViscosibility = 0.0 
)
inline

Set the viscosity and "viscosibility" of the oil phase.

template<class Scalar >
template<class Evaluation >
Evaluation Opm::ConstantCompressibilityOilPvt< Scalar >::viscosity ( unsigned  regionIdx,
const Evaluation &  temperature,
const Evaluation &  pressure,
const Evaluation &  XoG 
) const
inline

Returns the dynamic viscosity [Pa s] of the fluid phase given a set of parameters.

References Opm::ConstantCompressibilityOilPvt< Scalar >::formationVolumeFactor().


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