All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Pages
Opm::EQUIL::Miscibility::RsVD Class Reference

Type that implements "dissolved gas-oil ratio" tabulated as a function of depth policy. More...

#include <EquilibrationHelpers.hpp>

Inheritance diagram for Opm::EQUIL::Miscibility::RsVD:
Opm::EQUIL::Miscibility::RsFunction

Public Member Functions

 RsVD (const BlackoilPropertiesInterface &props, const int cell, const std::vector< double > &depth, const std::vector< double > &rs)
 Constructor. More...
 
double operator() (const double depth, const double press, const double temp, const double sat_gas=0.0) const
 Function call. More...
 

Detailed Description

Type that implements "dissolved gas-oil ratio" tabulated as a function of depth policy.

Data typically taken from keyword 'RSVD'.

Constructor & Destructor Documentation

Opm::EQUIL::Miscibility::RsVD::RsVD ( const BlackoilPropertiesInterface props,
const int  cell,
const std::vector< double > &  depth,
const std::vector< double > &  rs 
)
inline

Constructor.

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

Member Function Documentation

double Opm::EQUIL::Miscibility::RsVD::operator() ( const double  depth,
const double  press,
const double  temp,
const double  sat_gas = 0.0 
) const
inlinevirtual

Function call.

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

Implements Opm::EQUIL::Miscibility::RsFunction.


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