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 Scalar pContact, const Scalar T_contact)
 
Scalar operator() (const Scalar, const Scalar press, const Scalar temp, const Scalar satOil=0.0) const override
 

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, RvSatContact.
  2. The Rv elsewhere is equal to RvSatContact, 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 Scalar  pContact,
const Scalar  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 >
RvSatAtContact< FluidSystem >::Scalar Opm::EQUIL::Miscibility::RvSatAtContact< FluidSystem >::operator() ( const  Scalar,
const Scalar  press,
const Scalar  temp,
const Scalar  satOil = 0.0 
) const
overridevirtual

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< FluidSystem::Scalar >.


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