Opm::EQUIL::EquilReg Class Reference

#include <EquilibrationHelpers.hpp>

Public Types

typedef Miscibility::RsFunction CalcDissolution
 
typedef Miscibility::RsFunction CalcEvaporation
 

Public Member Functions

 EquilReg (const EquilRecord &rec, std::shared_ptr< Miscibility::RsFunction > rs, std::shared_ptr< Miscibility::RsFunction > rv, const int pvtIdx)
 
double datum () const
 
double pressure () const
 
double zwoc () const
 
double pcow_woc () const
 
double zgoc () const
 
double pcgo_goc () const
 
const CalcDissolutiondissolutionCalculator () const
 
const CalcEvaporationevaporationCalculator () const
 
int pvtIdx () const
 

Detailed Description

Aggregate information base of an equilibration region.

Provides inquiry methods for retrieving depths of contacs and pressure values as well as a means of calculating fluid densities, dissolved gas-oil ratio and vapourised oil-gas ratios.

Template Parameters
DensCalcType that provides access to a phase density calculation facility. Must implement an operator() declared as std::vector<double> operator()(const double press, const std::vector<double>& svol ) that calculates the phase densities of all phases in svol at fluid pressure press.

Member Typedef Documentation

◆ CalcDissolution

Type of dissolved gas-oil ratio calculator.

◆ CalcEvaporation

Type of vapourised oil-gas ratio calculator.

Constructor & Destructor Documentation

◆ EquilReg()

Opm::EQUIL::EquilReg::EquilReg ( const EquilRecord &  rec,
std::shared_ptr< Miscibility::RsFunction rs,
std::shared_ptr< Miscibility::RsFunction rv,
const int  pvtIdx 
)
inline

Constructor.

Parameters
[in]recEquilibration data of current region.
[in]rsCalculator of dissolved gas-oil ratio.
[in]rvCalculator of vapourised oil-gas ratio.
[in]pvtRegionIdxThe pvt region index

Member Function Documentation

◆ datum()

double Opm::EQUIL::EquilReg::datum ( ) const
inline

Datum depth in current region

◆ dissolutionCalculator()

const CalcDissolution & Opm::EQUIL::EquilReg::dissolutionCalculator ( ) const
inline

Retrieve dissolved gas-oil ratio calculator of current region.

◆ evaporationCalculator()

const CalcEvaporation & Opm::EQUIL::EquilReg::evaporationCalculator ( ) const
inline

Retrieve vapourised oil-gas ratio calculator of current region.

◆ pcgo_goc()

double Opm::EQUIL::EquilReg::pcgo_goc ( ) const
inline

Gas-oil capillary pressure at gas-oil contact.

Returns
P_g - P_o at GOC.

◆ pcow_woc()

double Opm::EQUIL::EquilReg::pcow_woc ( ) const
inline

water-oil capillary pressure at water-oil contact.

Returns
P_o - P_w at WOC.

◆ pressure()

double Opm::EQUIL::EquilReg::pressure ( ) const
inline

Pressure at datum depth in current region.

◆ pvtIdx()

int Opm::EQUIL::EquilReg::pvtIdx ( ) const
inline

Retrieve pvtIdx of the region.

◆ zgoc()

double Opm::EQUIL::EquilReg::zgoc ( ) const
inline

Depth of gas-oil contact.

◆ zwoc()

double Opm::EQUIL::EquilReg::zwoc ( ) const
inline

Depth of water-oil contact.


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