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

Type that implements "dissolved gas-oil ratio" tabulated as a function of depth policy. More...

#include <EquilibrationHelpers.hpp>

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

Public Types

using Scalar = typename FluidSystem::Scalar
 

Public Member Functions

 RsVD (const int pvtRegionIdx, const std::vector< Scalar > &depth, const std::vector< Scalar > &rs)
 Constructor.
 
Scalar operator() (const Scalar depth, const Scalar press, const Scalar temp, const Scalar satGas=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::RsVD< FluidSystem >

Type that implements "dissolved gas-oil ratio" tabulated as a function of depth policy.

Data typically taken from keyword 'RSVD'.

Constructor & Destructor Documentation

◆ RsVD()

template<class FluidSystem >
Opm::EQUIL::Miscibility::RsVD< FluidSystem >::RsVD ( const int pvtRegionIdx,
const std::vector< Scalar > & depth,
const std::vector< Scalar > & rs )

Constructor.

Parameters
[in]pvtRegionIdxThe pvt region index
[in]depthDepth nodes.
[in]rsDissolved gas-oil ratio at depth.

Member Function Documentation

◆ operator()()

template<class FluidSystem >
RsVD< FluidSystem >::Scalar Opm::EQUIL::Miscibility::RsVD< FluidSystem >::operator() ( const Scalar depth,
const Scalar press,
const Scalar temp,
const Scalar satGas = 0.0 ) const
override

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.

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