opm-simulators
Opm::EQUIL::Miscibility::RvVD< FluidSystem > Class Template Reference

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

#include <EquilibrationHelpers.hpp>

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

Public Member Functions

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

Detailed Description

template<class FluidSystem>
class Opm::EQUIL::Miscibility::RvVD< FluidSystem >

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

Data typically taken from keyword 'RVVD'.

Constructor & Destructor Documentation

◆ RvVD()

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

Constructor.

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

Member Function Documentation

◆ operator()()

template<class FluidSystem >
RvVD< FluidSystem >::Scalar Opm::EQUIL::Miscibility::RvVD< FluidSystem >::operator() ( const Scalar  depth,
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.
[in]satOilOil saturation at which to calculate RV value.
Returns
Vaporized oil-gas ratio (RV) at depth depth and pressure press.

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