Opm::Equil::Miscibility::RvVD Class Reference

#include <EquilibrationHelpers.hpp>

Inheritance diagram for Opm::Equil::Miscibility::RvVD:
Inheritance graph

Public Member Functions

 RvVD (const BlackoilPropertiesInterface &props, const int cell, const std::vector< double > &depth, const std::vector< double > &rv)
 
double operator() (const double depth, const double press, const double temp, const double sat_oil=0.0) const
 

Detailed Description

Type that implements "vaporized oil-gas ratio" tabulated as a function of depth policy. Data typically taken from keyword 'RVVD'.

Constructor & Destructor Documentation

Opm::Equil::Miscibility::RvVD::RvVD ( const BlackoilPropertiesInterface props,
const int  cell,
const std::vector< double > &  depth,
const std::vector< double > &  rv 
)
inline

Constructor.

Parameters
[in]propsproperty object
[in]cellany cell in the pvt region
[in]depthDepth nodes.
[in]rvDissolved gas-oil ratio at depth.

References Opm::BlackoilPhases::Liquid, Opm::BlackoilPhases::MaxNumPhases, Opm::BlackoilPropertiesInterface::phaseUsage(), and Opm::BlackoilPhases::Vapour.

Member Function Documentation

double Opm::Equil::Miscibility::RvVD::operator() ( const double  depth,
const double  press,
const double  temp,
const double  sat_oil = 0.0 
) const
inlinevirtual

Function call.

Parameters
[in]depthDepth at which to calculate RV value.
[in]pressPressure at which to calculate RV value.
[in]tempTemperature at which to calculate RV value.
Returns
Vaporized oil-gas ratio (RV) at depth depth and pressure press.

Implements Opm::Equil::Miscibility::RsFunction.

References Opm::linearInterpolation().


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