Opm::EQUIL::Miscibility::RvSatAtContact< FluidSystem > Class Template Reference

#include <EquilibrationHelpers.hpp>

Inheritance diagram for Opm::EQUIL::Miscibility::RvSatAtContact< FluidSystem >:
Inheritance graph

Public Member Functions

 RvSatAtContact (const int pvtRegionIdx, const double p_contact, const double T_contact)
 
double operator() (const double, const double press, const double temp, const double sat_oil=0.0) const
 

Detailed Description

template<class FluidSystem>
class Opm::EQUIL::Miscibility::RvSatAtContact< FluidSystem >

Class that implements "vaporized oil-gas ratio" (Rv) as function of depth and pressure as follows:

  1. The Rv at the gas-oil contact is equal to the saturated Rv value, Rv_sat_contact.
  2. The Rv elsewhere is equal to Rv_sat_contact, but constrained to the saturated value as given by the local pressure.

This should yield Rv-values that are constant below the contact, and decreasing above the contact.

Constructor & Destructor Documentation

◆ RvSatAtContact()

template<class FluidSystem >
Opm::EQUIL::Miscibility::RvSatAtContact< FluidSystem >::RvSatAtContact ( const int  pvtRegionIdx,
const double  p_contact,
const double  T_contact 
)
inline

Constructor.

Parameters
[in]pvtRegionIdxThe pvt region index
[in]p_contactoil pressure at the contact
[in]T_contacttemperature at the contact

Member Function Documentation

◆ operator()()

template<class FluidSystem >
double Opm::EQUIL::Miscibility::RvSatAtContact< FluidSystem >::operator() ( const double  ,
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
Dissolved oil-gas ratio (RV) at depth depth and pressure press.

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


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