Interpolant for Basic Gas PVT Relations.
More...
#include <ECLPvtGas.hpp>
Interpolant for Basic Gas PVT Relations.
◆ Gas() [1/3]
Opm::ECLPVT::Gas::Gas |
( |
const ECLPropTableRawData & |
raw, |
|
|
const int |
usys, |
|
|
std::vector< double > |
rhoS |
|
) |
| |
Constructor.
- Parameters
-
[in] | raw | Raw tabulated data. Must correspond to the PVTG vector of an ECL INIT file.. |
[in] | usys | Unit 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] | rhoS | Mass density of gas at surface conditions. Typically computed by
std::vector< double > surfaceMassDensity(const ECLInitFileData &init, const ECLPhaseIndex phase)
. |
◆ ~Gas()
Opm::ECLPVT::Gas::~Gas |
( |
| ) |
|
◆ Gas() [2/3]
Opm::ECLPVT::Gas::Gas |
( |
const Gas & |
rhs | ) |
|
Copy constructor.
- Parameters
-
[in] | rhs | Existing interpolant for Gas PVT relations. |
◆ Gas() [3/3]
Opm::ECLPVT::Gas::Gas |
( |
Gas && |
rhs | ) |
|
Move constructor.
Subsumes the implementation of an existing Gas PVT relation interpolant.
- Parameters
-
[in] | rhs | Existing Gas PVT relation interpolant. Does not have a valid implementation when the constructor completes. |
◆ formationVolumeFactor()
std::vector< double > Opm::ECLPVT::Gas::formationVolumeFactor |
( |
const int |
region, |
|
|
const VaporizedOil & |
rv, |
|
|
const GasPressure & |
pg |
|
) |
| const |
Compute the gas phase formation volume factor in a single region.
- Parameters
-
[in] | region | Region ID. Non-negative integer typically derived from the PVTNUM mapping vector. |
[in] | rv | Vaporised oil-gas ratio. Unused in the case of a dry gas model. Size must match number of elements in in the case of wet gas model. Strict SI units of measurement. |
[in] | pg | Gas phase pressure. Strict SI units of measurement. |
- Returns
- Gas phase formation volume factor. Size equal to number of elements in .
◆ getPvtCurve()
std::vector< PVTGraph > Opm::ECLPVT::Gas::getPvtCurve |
( |
const RawCurve |
curve, |
|
|
const int |
region |
|
) |
| const |
Retrieve 2D graph representation of Gas PVT property function in partcular PVT region.
- Parameters
-
[in] | curve | PVT property curve descriptor |
[in] | region | Region ID. Non-negative integer typically derived from the PVTNUM mapping vector. |
- Returns
- Collection of 2D graphs for PVT property curve identified by requests represented by
func
and region
. One curve (vector element) for each pressure node. Single curve (i.e., a single vector element) in the case of dry gas (no vaporised oil).
Example: Retrieve gas formation volume factor curve in PVT region 0 (zero based, i.e., cells for which PVTNUM==1).
const auto graph =
@ FVF
Formation volume factor (B_\alpha)
◆ operator=() [1/2]
Gas & Opm::ECLPVT::Gas::operator= |
( |
const Gas & |
rhs | ) |
|
Assignment operator
- Parameters
-
[in] | rhs | Existing Gas PVT relation interpolant. |
- Returns
- .
◆ operator=() [2/2]
Gas & Opm::ECLPVT::Gas::operator= |
( |
Gas && |
rhs | ) |
|
Move assignment operator.
Subsumes the implementation of an existing object.
- Parameters
-
[in] | rhs | Existing Gas PVT relation interpolant. Does not have a valid implementation when the constructor completes. |
- Returns
- .
◆ surfaceMassDensity()
double Opm::ECLPVT::Gas::surfaceMassDensity |
( |
const int |
region | ) |
const |
Retrieve constant mass density of gas at surface conditions.
- Parameters
-
[in] | region | Region ID. Non-negative integer typically derived from the PVTNUM mapping vector. |
- Returns
- Mass density of gas at surface in particular model region.
◆ viscosity()
std::vector< double > Opm::ECLPVT::Gas::viscosity |
( |
const int |
region, |
|
|
const VaporizedOil & |
rv, |
|
|
const GasPressure & |
pg |
|
) |
| const |
Compute the gas phase fluid viscosity in a single region.
- Parameters
-
[in] | region | Region ID. Non-negative integer typically derived from the PVTNUM mapping vector. |
[in] | rv | Vaporised oil-gas ratio. Unused in the case of a dry gas model. Size must match number of elements in in the case of wet gas model. Strict SI units of measurement. |
[in] | pg | Gas phase pressure. Strict SI units of measurement. |
- Returns
- Gas phase fluid viscosity. Size equal to number of elements in .
The documentation for this class was generated from the following file: