My Project
Loading...
Searching...
No Matches
Opm::EQUIL::Miscibility::RvSatAtContact< FluidSystem > Class Template Reference

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

#include <EquilibrationHelpers.hpp>

Inheritance diagram for Opm::EQUIL::Miscibility::RvSatAtContact< FluidSystem >:
Opm::EQUIL::Miscibility::RsFunction< FluidSystem::Scalar >

Public Member Functions

 RvSatAtContact (const int pvtRegionIdx, const Scalar pContact, const Scalar T_contact)
 Constructor.
 
Scalar operator() (const Scalar, const Scalar press, const Scalar temp, const Scalar satOil=0.0) const override
 Function call.
 
- Public Member Functions inherited from Opm::EQUIL::Miscibility::RsFunction< FluidSystem::Scalar >
virtual Scalar operator() (const Scalar depth, const Scalar press, const Scalar temp, const Scalar sat=0.0) const=0
 Function call operator.
 

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
override

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.

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