Opm::Equil::Miscibility::RsVD Class Reference

#include <EquilibrationHelpers.hpp>

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

Public Member Functions

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

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.

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

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.

References Opm::linearInterpolation().


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