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

#include <EquilibrationHelpers.hpp>

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

Public Member Functions

 RvwSatAtContact (const int pvtRegionIdx, const double pContact, const double T_contact)
 
double operator() (const double, const double press, const double temp, const double satWat=0.0) const
 

Detailed Description

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

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

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

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

Constructor & Destructor Documentation

◆ RvwSatAtContact()

template<class FluidSystem >
Opm::EQUIL::Miscibility::RvwSatAtContact< FluidSystem >::RvwSatAtContact ( 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::RvwSatAtContact< FluidSystem >::operator() ( const double  ,
const double  press,
const double  temp,
const double  satWat = 0.0 
) const
virtual

Function call.

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

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


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