All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Opm::SolventPvt< Scalar > Class Template Reference

This class represents the Pressure-Volume-Temperature relations of the "second" gas phase in the of ECL simulations with solvents. More...

#include <SolventPvt.hpp>

Public Member Functions

void setNumRegions (size_t numRegions)
 
void setReferenceDensity (unsigned regionIdx, Scalar rhoRefSolvent)
 Initialize the reference density of the solvent gas for a given PVT region.
 
void setSolventViscosity (unsigned regionIdx, const TabulatedOneDFunction &mug)
 Initialize the viscosity of the solvent gas phase. More...
 
void setSolventFormationVolumeFactor (unsigned regionIdx, const SamplingPoints &samplePoints)
 Initialize the function for the formation volume factor of solvent gas. More...
 
void initEnd ()
 Finish initializing the oil phase PVT properties.
 
unsigned numRegions () const
 Return the number of PVT regions which are considered by this PVT-object.
 
template<class Evaluation >
Evaluation viscosity (unsigned regionIdx, const Evaluation &temperature OPM_UNUSED, const Evaluation &pressure) const
 Returns the dynamic viscosity [Pa s] of the fluid phase given a set of parameters.
 
Scalar referenceDensity (unsigned regionIdx) const
 Return the reference density the solvent phase for a given PVT region.
 
template<class Evaluation >
Evaluation inverseFormationVolumeFactor (unsigned regionIdx, const Evaluation &temperature OPM_UNUSED, const Evaluation &pressure) const
 Returns the formation volume factor [-] of the fluid phase.
 

Detailed Description

template<class Scalar>
class Opm::SolventPvt< Scalar >

This class represents the Pressure-Volume-Temperature relations of the "second" gas phase in the of ECL simulations with solvents.

Member Function Documentation

template<class Scalar >
void Opm::SolventPvt< Scalar >::setSolventFormationVolumeFactor ( unsigned  regionIdx,
const SamplingPoints &  samplePoints 
)
inline

Initialize the function for the formation volume factor of solvent gas.

Parameters
samplePointsA container of $(p_g, B_s)$ values
template<class Scalar >
void Opm::SolventPvt< Scalar >::setSolventViscosity ( unsigned  regionIdx,
const TabulatedOneDFunction mug 
)
inline

Initialize the viscosity of the solvent gas phase.

This is a function of $(p_g)$...


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