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

#include <EquilibrationHelpers.hpp>

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

Public Member Functions

 RsSatAtContact (const int pvtRegionIdx, const double pContact, const double T_contact)
 
double operator() (const double, const double press, const double temp, const double satGas=0.0) const
 

Detailed Description

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

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

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

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

Constructor & Destructor Documentation

◆ RsSatAtContact()

template<class FluidSystem >
Opm::EQUIL::Miscibility::RsSatAtContact< FluidSystem >::RsSatAtContact ( const int  pvtRegionIdx,
const double  pContact,
const double  T_contact 
)

Constructor.

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

Member Function Documentation

◆ operator()()

template<class FluidSystem >
double Opm::EQUIL::Miscibility::RsSatAtContact< FluidSystem >::operator() ( const double  ,
const double  press,
const double  temp,
const double  satGas = 0.0 
) const
virtual

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 files: