Opm::ECLPVT::PVTx< SubtableInterpolant > Class Template Reference

#include <ECLPvtCommon.hpp>

Classes

struct  InnerVariate
 
struct  PrimaryKey
 

Public Member Functions

 PVTx (std::vector< double > key, std::vector< SubtableInterpolant > propInterp)
 
std::vector< double > formationVolumeFactor (const PrimaryKey &key, const InnerVariate &x) const
 
std::vector< double > viscosity (const PrimaryKey &key, const InnerVariate &x) const
 
std::vector< PVTGraphgetPvtCurve (const RawCurve curve) const
 

Detailed Description

template<class SubtableInterpolant>
class Opm::ECLPVT::PVTx< SubtableInterpolant >

Evaluate pressure-dependent properties (formation volume factor, viscosity &c) for live oil (PVTO) or wet gas (PVTG) from tabulated functions as represented in an ECL result set (ECLInitData).

Constructor & Destructor Documentation

◆ PVTx()

template<class SubtableInterpolant >
Opm::ECLPVT::PVTx< SubtableInterpolant >::PVTx ( std::vector< double >  key,
std::vector< SubtableInterpolant >  propInterp 
)
inline

Member Function Documentation

◆ formationVolumeFactor()

template<class SubtableInterpolant >
std::vector< double > Opm::ECLPVT::PVTx< SubtableInterpolant >::formationVolumeFactor ( const PrimaryKey key,
const InnerVariate x 
) const
inline

References exprtk::details::x().

◆ getPvtCurve()

template<class SubtableInterpolant >
std::vector< PVTGraph > Opm::ECLPVT::PVTx< SubtableInterpolant >::getPvtCurve ( const RawCurve  curve) const
inline

Retrieve 2D graph representation PVT property function.

Parameters
[in]curvePVT property curve descriptor
Returns
Collection of 2D graphs for PVT property curve identified by requests represented by func.
Collection of 2D graphs for PVT property curve identified by requests represented by curve. One curve (vector element) for each tabulated value of the function's primary lookup key. Primary key expanded and assigned to the appropriate graph's mixing ratio vector (PVTO convention).

Example: Retrieve formation volume factor curves.

const auto graph =
pvtx.getPvtCurve(ECLPVT::RawCurve::FVF);
@ FVF
Formation volume factor (B_\alpha)

References Opm::ECLPVT::SaturatedState.

◆ viscosity()

template<class SubtableInterpolant >
std::vector< double > Opm::ECLPVT::PVTx< SubtableInterpolant >::viscosity ( const PrimaryKey key,
const InnerVariate x 
) const
inline

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