Opm::ECLPVT::Water Class Reference

Interpolant for Basic Water PVT Relations. More...

#include <ECLPvtWater.hpp>

Classes

struct  WaterPressure
 

Public Member Functions

 Water (const ECLPropTableRawData &raw, const int usys, const std::vector< double > &rhoS)
 
 ~Water ()
 Destructor. More...
 
 Water (const Water &rhs)
 
 Water (Water &&rhs)
 
Wateroperator= (const Water &rhs)
 
Wateroperator= (Water &&rhs)
 
std::vector< double > formationVolumeFactor (const int region, const WaterPressure &pw) const
 
std::vector< double > viscosity (const int region, const WaterPressure &pw) const
 
double surfaceMassDensity (const int region) const
 

Detailed Description

Interpolant for Basic Water PVT Relations.

Constructor & Destructor Documentation

◆ Water() [1/3]

Opm::ECLPVT::Water::Water ( const ECLPropTableRawData raw,
const int  usys,
const std::vector< double > &  rhoS 
)

Constructor.

Parameters
[in]rawRaw tabulated data. Must correspond to the PVTW vector of an ECL INIT file..
[in]usysUnit system convention of the result set from which raw was extracted. Must correspond to item 3 of the INTEHEAD keyword in the INIT file.
[in]rhoSMass density of water at surface conditions. Typically computed by
std::vector< double > surfaceMassDensity(const ECLInitFileData &init, const ECLPhaseIndex phase)
.

◆ ~Water()

Opm::ECLPVT::Water::~Water ( )

Destructor.

◆ Water() [2/3]

Opm::ECLPVT::Water::Water ( const Water rhs)

Copy constructor.

Parameters
[in]rhsExisting interpolant for Water PVT relations.

◆ Water() [3/3]

Opm::ECLPVT::Water::Water ( Water &&  rhs)

Move constructor.

Subsumes the implementation of an existing Water PVT relation interpolant.

Parameters
[in]rhsExisting Water PVT relation interpolant. Does not have a valid implementation when the constructor completes.

Member Function Documentation

◆ formationVolumeFactor()

std::vector< double > Opm::ECLPVT::Water::formationVolumeFactor ( const int  region,
const WaterPressure pw 
) const

Compute the oil phase formation volume factor in a single region.

Parameters
[in]regionRegion ID. Non-negative integer typically derived from the PVTNUM mapping vector.
[in]pwWater phase pressure. Strict SI units of measurement.
Returns
Oil phase formation volume factor. Size equal to number of elements in
pw.data
.

◆ operator=() [1/2]

Water & Opm::ECLPVT::Water::operator= ( const Water rhs)

Assignment operator

Parameters
[in]rhsExisting Oil Water relation interpolant.
Returns
*this
.

◆ operator=() [2/2]

Water & Opm::ECLPVT::Water::operator= ( Water &&  rhs)

Move assignment operator.

Subsumes the implementation of an existing object.

Parameters
[in]rhsExisting Water PVT relation interpolant. Does not have a valid implementation when the constructor completes.
Returns
*this
.

◆ surfaceMassDensity()

double Opm::ECLPVT::Water::surfaceMassDensity ( const int  region) const

Retrieve constant mass density of water at surface conditions.

Parameters
[in]regionRegion ID. Non-negative integer typically derived from the PVTNUM mapping vector.
Returns
Mass density of water at surface in particular model region.

◆ viscosity()

std::vector< double > Opm::ECLPVT::Water::viscosity ( const int  region,
const WaterPressure pw 
) const

Compute the water phase fluid viscosity in a single region.

Parameters
[in]regionRegion ID. Non-negative integer typically derived from the PVTNUM mapping vector.
[in]pwWater phase pressure. Strict SI units of measurement.
Returns
Oil phase fluid viscosity. Size equal to number of elements in
pw.data
.

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