My Project
Loading...
Searching...
No Matches
Opm::EQUIL::Miscibility::PBVD< 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::PBVD< FluidSystem >:
Opm::EQUIL::Miscibility::RsFunction< FluidSystem::Scalar >

Public Types

using Scalar = typename FluidSystem::Scalar
 

Public Member Functions

 PBVD (const int pvtRegionIdx, const std::vector< Scalar > &depth, const std::vector< Scalar > &pbub)
 Constructor.
 
Scalar operator() (const Scalar depth, const Scalar cellPress, const Scalar temp, const Scalar satGas=0.0) const override
 Function call.
 

Detailed Description

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

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

Data typically from keyword 'PBVD'.

Constructor & Destructor Documentation

◆ PBVD()

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

Constructor.

Parameters
[in]pvtRegionIdxThe pvt region index
[in]depthDepth nodes.
[in]pbubBubble-point pressure at depth.

Member Function Documentation

◆ operator()()

template<class FluidSystem >
PBVD< FluidSystem >::Scalar Opm::EQUIL::Miscibility::PBVD< FluidSystem >::operator() ( const Scalar  depth,
const Scalar  cellPress,
const Scalar  temp,
const Scalar  satGas = 0.0 
) const
overridevirtual

Function call.

Parameters
[in]depthDepth at which to calculate RS value.
[in]Pressurein the cell
[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: