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

 ConstantCompressibilityWaterPvt ()=default
 
 ConstantCompressibilityWaterPvt (const std::vector< Scalar > &waterReferenceDensity, const std::vector< Scalar > &waterReferencePressure, const std::vector< Scalar > &waterReferenceFormationVolumeFactor, const std::vector< Scalar > &waterCompressibility, const std::vector< Scalar > &waterViscosity, const std::vector< Scalar > &waterViscosibility)
 
void setNumRegions (size_t numRegions)
 
void setReferenceDensities (unsigned regionIdx, Scalar, Scalar, Scalar rhoRefWater)
 Set the water reference density [kg / m^3]. More...
 
void setReferencePressure (unsigned regionIdx, Scalar p)
 Set the water reference pressure [Pa]. More...
 
void setViscosity (unsigned regionIdx, Scalar muw, Scalar waterViscosibility=0.0)
 Set the viscosity and "viscosibility" of the water phase. More...
 
void setCompressibility (unsigned regionIdx, Scalar waterCompressibility)
 Set the compressibility of the water phase. More...
 
void setReferenceFormationVolumeFactor (unsigned regionIdx, Scalar BwRef)
 Set the water reference formation volume factor [-]. More...
 
void setViscosibility (unsigned regionIdx, Scalar muComp)
 Set the water "viscosibility" [1/ (Pa s)]. More...
 
void initEnd ()
 Finish initializing the water phase PVT properties. More...
 
unsigned numRegions () const
 Return the number of PVT regions which are considered by this PVT-object. More...
 
template<class Evaluation >
Evaluation internalEnergy (unsigned, const Evaluation &, const Evaluation &, const Evaluation &) const
 Returns the specific enthalpy [J/kg] of water given a set of parameters. More...
 
template<class Evaluation >
Evaluation viscosity (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. More...
 
template<class Evaluation >
Evaluation inverseFormationVolumeFactor (unsigned regionIdx, const Evaluation &, const Evaluation &pressure, const Evaluation &) const
 Returns the formation volume factor [-] of the fluid phase. More...
 
const 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
 
bool operator== (const ConstantCompressibilityWaterPvt< Scalar > &data) 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.

Constructor & Destructor Documentation

◆ ConstantCompressibilityWaterPvt() [1/2]

template<class Scalar >
Opm::ConstantCompressibilityWaterPvt< Scalar >::ConstantCompressibilityWaterPvt ( )
default

◆ ConstantCompressibilityWaterPvt() [2/2]

template<class Scalar >
Opm::ConstantCompressibilityWaterPvt< Scalar >::ConstantCompressibilityWaterPvt ( const std::vector< Scalar > &  waterReferenceDensity,
const std::vector< Scalar > &  waterReferencePressure,
const std::vector< Scalar > &  waterReferenceFormationVolumeFactor,
const std::vector< Scalar > &  waterCompressibility,
const std::vector< Scalar > &  waterViscosity,
const std::vector< Scalar > &  waterViscosibility 
)
inline

Member Function Documentation

◆ initEnd()

template<class Scalar >
void Opm::ConstantCompressibilityWaterPvt< Scalar >::initEnd ( )
inline

Finish initializing the water phase PVT properties.

◆ internalEnergy()

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

Returns the specific enthalpy [J/kg] of water given a set of parameters.

◆ inverseFormationVolumeFactor()

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

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

Referenced by Opm::ConstantCompressibilityWaterPvt< Scalar >::viscosity().

◆ numRegions()

template<class Scalar >
unsigned Opm::ConstantCompressibilityWaterPvt< Scalar >::numRegions ( ) const
inline

Return the number of PVT regions which are considered by this PVT-object.

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

◆ operator==()

◆ setCompressibility()

template<class Scalar >
void Opm::ConstantCompressibilityWaterPvt< Scalar >::setCompressibility ( unsigned  regionIdx,
Scalar  waterCompressibility 
)
inline

Set the compressibility of the water phase.

References Opm::ConstantCompressibilityWaterPvt< Scalar >::waterCompressibility().

◆ setNumRegions()

◆ setReferenceDensities()

template<class Scalar >
void Opm::ConstantCompressibilityWaterPvt< Scalar >::setReferenceDensities ( unsigned  regionIdx,
Scalar  ,
Scalar  ,
Scalar  rhoRefWater 
)
inline

Set the water reference density [kg / m^3].

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

◆ setReferenceFormationVolumeFactor()

template<class Scalar >
void Opm::ConstantCompressibilityWaterPvt< Scalar >::setReferenceFormationVolumeFactor ( unsigned  regionIdx,
Scalar  BwRef 
)
inline

Set the water reference formation volume factor [-].

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

◆ setReferencePressure()

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

Set the water reference pressure [Pa].

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

◆ setViscosibility()

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

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

◆ setViscosity()

template<class Scalar >
void Opm::ConstantCompressibilityWaterPvt< Scalar >::setViscosity ( unsigned  regionIdx,
Scalar  muw,
Scalar  waterViscosibility = 0.0 
)
inline

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

References Opm::ConstantCompressibilityWaterPvt< Scalar >::waterViscosibility().

◆ viscosity()

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

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

References Opm::ConstantCompressibilityWaterPvt< Scalar >::inverseFormationVolumeFactor().

◆ waterCompressibility()

template<class Scalar >
const std::vector< Scalar > & Opm::ConstantCompressibilityWaterPvt< Scalar >::waterCompressibility ( ) const
inline

◆ waterReferenceDensity()

template<class Scalar >
const Scalar Opm::ConstantCompressibilityWaterPvt< Scalar >::waterReferenceDensity ( unsigned  regionIdx) const
inline

◆ waterReferenceFormationVolumeFactor()

template<class Scalar >
const std::vector< Scalar > & Opm::ConstantCompressibilityWaterPvt< Scalar >::waterReferenceFormationVolumeFactor ( ) const
inline

◆ waterReferencePressure()

template<class Scalar >
const std::vector< Scalar > & Opm::ConstantCompressibilityWaterPvt< Scalar >::waterReferencePressure ( ) const
inline

◆ waterViscosibility()

template<class Scalar >
const std::vector< Scalar > & Opm::ConstantCompressibilityWaterPvt< Scalar >::waterViscosibility ( ) const
inline

◆ waterViscosity()

template<class Scalar >
const std::vector< Scalar > & Opm::ConstantCompressibilityWaterPvt< Scalar >::waterViscosity ( ) const
inline

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