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

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

#include <EquilibrationHelpers.hpp>

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

Public Member Functions

 RvwSatAtContact (const int pvtRegionIdx, const Scalar pContact, const Scalar T_contact)
 Constructor.
 
Scalar operator() (const Scalar, const Scalar press, const Scalar temp, const Scalar satWat=0.0) const override
 Function call.
 

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

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


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