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

#include <EquilibrationHelpers.hpp>

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

Public Types

using Scalar = typename FluidSystem::Scalar
 

Public Member Functions

 RsVD (const int pvtRegionIdx, const std::vector< Scalar > &depth, const std::vector< Scalar > &rs)
 
Scalar operator() (const Scalar depth, const Scalar press, const Scalar temp, const Scalar satGas=0.0) const override
 

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'.

Member Typedef Documentation

◆ Scalar

template<class FluidSystem >
using Opm::EQUIL::Miscibility::RsVD< FluidSystem >::Scalar = typename FluidSystem::Scalar

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
overridevirtual

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.

Implements Opm::EQUIL::Miscibility::RsFunction< FluidSystem::Scalar >.


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