Opm::DryGasPvt< Scalar > Class Template Reference

This class represents the Pressure-Volume-Temperature relations of the gas phase without vaporized oil. More...

#include <DryGasPvt.hpp>

Public Member Functions

void setNumRegions (size_t numRegions)
 
void setReferenceDensities (unsigned regionIdx, Scalar, Scalar rhoRefGas, Scalar)
 Initialize the reference densities of all fluids for a given PVT region. More...
 
void setMolarMasses (unsigned, Scalar, Scalar, Scalar)
 Initialize the reference densities of all fluids for a given PVT region. More...
 
void setGasViscosity (unsigned regionIdx, const TabulatedOneDFunction &mug)
 Initialize the viscosity of the gas phase. More...
 
void setGasFormationVolumeFactor (unsigned regionIdx, const SamplingPoints &samplePoints)
 Initialize the function for the formation volume factor of dry gas. More...
 
void initEnd (const OilPvtMultiplexer *oilPvt)
 Finish initializing the oil phase PVT properties. More...
 
template<class Evaluation >
Evaluation viscosity (unsigned regionIdx, const Evaluation &, const Evaluation &pressure, const Evaluation &) const
 Returns the dynamic viscosity [Pa s] of the fluid phase given a set of parameters. More...
 
template<class Evaluation >
Evaluation density (unsigned regionIdx, const Evaluation &temperature, const Evaluation &pressure, const Evaluation &XgO) const
 Returns the density [kg/m^3] of the fluid phase given a set of parameters. More...
 
template<class Evaluation >
Evaluation formationVolumeFactor (unsigned regionIdx, const Evaluation &, const Evaluation &pressure, const Evaluation &) const
 Returns the formation volume factor [-] of the fluid phase. More...
 
template<class Evaluation >
Evaluation fugacityCoefficientGas (unsigned, const Evaluation &, const Evaluation &) const
 Returns the fugacity coefficient [Pa] of a component in the fluid phase given a set of parameters. More...
 
template<class Evaluation >
Evaluation fugacityCoefficientOil (unsigned, const Evaluation &, const Evaluation &) const
 Returns the fugacity coefficient [Pa] of a component in the fluid phase given a set of parameters. More...
 
template<class Evaluation >
Evaluation fugacityCoefficientWater (unsigned, const Evaluation &, const Evaluation &) const
 Returns the fugacity coefficient [Pa] of a component in the fluid phase given a set of parameters. More...
 
template<class Evaluation >
Evaluation gasSaturationPressure (unsigned, const Evaluation &, const Evaluation &) const
 Returns the saturation pressure of the gas phase [Pa] depending on its mass fraction of the oil component. More...
 
template<class Evaluation >
Evaluation oilVaporizationFactor (unsigned, const Evaluation &, const Evaluation &) const
 Returns the gas dissolution factor $R_s$ [m^3/m^3] of the oil phase. More...
 
template<class Evaluation >
Evaluation saturatedGasOilMassFraction (unsigned, const Evaluation &, const Evaluation &) const
 
template<class Evaluation >
Evaluation saturatedGasOilMoleFraction (unsigned, const Evaluation &, const Evaluation &) const
 

Detailed Description

template<class Scalar>
class Opm::DryGasPvt< Scalar >

This class represents the Pressure-Volume-Temperature relations of the gas phase without vaporized oil.

Member Function Documentation

template<class Scalar >
template<class Evaluation >
Evaluation Opm::DryGasPvt< Scalar >::density ( unsigned  regionIdx,
const Evaluation &  temperature,
const Evaluation &  pressure,
const Evaluation &  XgO 
) const
inline

Returns the density [kg/m^3] of the fluid phase given a set of parameters.

References Opm::DryGasPvt< Scalar >::formationVolumeFactor().

template<class Scalar >
template<class Evaluation >
Evaluation Opm::DryGasPvt< Scalar >::formationVolumeFactor ( unsigned  regionIdx,
const Evaluation &  ,
const Evaluation &  pressure,
const Evaluation &   
) const
inline

Returns the formation volume factor [-] of the fluid phase.

Referenced by Opm::DryGasPvt< Scalar >::density().

template<class Scalar >
template<class Evaluation >
Evaluation Opm::DryGasPvt< Scalar >::fugacityCoefficientGas ( unsigned  ,
const Evaluation &  ,
const Evaluation &   
) const
inline

Returns the fugacity coefficient [Pa] of a component in the fluid phase given a set of parameters.

template<class Scalar >
template<class Evaluation >
Evaluation Opm::DryGasPvt< Scalar >::fugacityCoefficientOil ( unsigned  ,
const Evaluation &  ,
const Evaluation &   
) const
inline

Returns the fugacity coefficient [Pa] of a component in the fluid phase given a set of parameters.

template<class Scalar >
template<class Evaluation >
Evaluation Opm::DryGasPvt< Scalar >::fugacityCoefficientWater ( unsigned  ,
const Evaluation &  ,
const Evaluation &   
) const
inline

Returns the fugacity coefficient [Pa] of a component in the fluid phase given a set of parameters.

template<class Scalar >
template<class Evaluation >
Evaluation Opm::DryGasPvt< Scalar >::gasSaturationPressure ( unsigned  ,
const Evaluation &  ,
const Evaluation &   
) const
inline

Returns the saturation pressure of the gas phase [Pa] depending on its mass fraction of the oil component.

Parameters
XgOThe mass fraction of the oil component in the gas phase [-]
template<class Scalar >
void Opm::DryGasPvt< Scalar >::initEnd ( const OilPvtMultiplexer oilPvt)
inline

Finish initializing the oil phase PVT properties.

template<class Scalar >
template<class Evaluation >
Evaluation Opm::DryGasPvt< Scalar >::oilVaporizationFactor ( unsigned  ,
const Evaluation &  ,
const Evaluation &   
) const
inline

Returns the gas dissolution factor $R_s$ [m^3/m^3] of the oil phase.

template<class Scalar >
template<class Evaluation >
Evaluation Opm::DryGasPvt< Scalar >::saturatedGasOilMassFraction ( unsigned  ,
const Evaluation &  ,
const Evaluation &   
) const
inline
template<class Scalar >
template<class Evaluation >
Evaluation Opm::DryGasPvt< Scalar >::saturatedGasOilMoleFraction ( unsigned  ,
const Evaluation &  ,
const Evaluation &   
) const
inline
template<class Scalar >
void Opm::DryGasPvt< Scalar >::setGasFormationVolumeFactor ( unsigned  regionIdx,
const SamplingPoints &  samplePoints 
)
inline

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

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

Initialize the viscosity of the gas phase.

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

template<class Scalar >
void Opm::DryGasPvt< Scalar >::setMolarMasses ( unsigned  ,
Scalar  ,
Scalar  ,
Scalar   
)
inline

Initialize the reference densities of all fluids for a given PVT region.

template<class Scalar >
void Opm::DryGasPvt< Scalar >::setNumRegions ( size_t  numRegions)
inline
template<class Scalar >
void Opm::DryGasPvt< Scalar >::setReferenceDensities ( unsigned  regionIdx,
Scalar  ,
Scalar  rhoRefGas,
Scalar   
)
inline

Initialize the reference densities of all fluids for a given PVT region.

template<class Scalar >
template<class Evaluation >
Evaluation Opm::DryGasPvt< Scalar >::viscosity ( unsigned  regionIdx,
const Evaluation &  ,
const Evaluation &  pressure,
const Evaluation &   
) const
inline

Returns the dynamic viscosity [Pa s] of the fluid phase given a set of parameters.


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