Opm::DeadOilPvt< Scalar > Class Template Reference

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

#include <DeadOilPvt.hpp>

Public Member Functions

void setNumRegions (size_t numRegions)
 
void setReferenceDensities (unsigned regionIdx, Scalar rhoRefOil, Scalar, Scalar)
 Initialize the reference densities of all fluids for a given PVT region. More...
 
void setInverseOilFormationVolumeFactor (unsigned regionIdx, const TabulatedOneDFunction &invBo)
 Initialize the function for the oil formation volume factor. More...
 
void setOilViscosity (unsigned regionIdx, const TabulatedOneDFunction &muo)
 Initialize the viscosity of the oil phase. More...
 
void initEnd (const GasPvtMultiplexer *)
 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 &XoG) 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 fugacityCoefficientOil (unsigned, const Evaluation &, const Evaluation &pressure) 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 regionIdx, const Evaluation &temperature, const Evaluation &pressure) const
 
template<class Evaluation >
Evaluation fugacityCoefficientGas (unsigned regionIdx, const Evaluation &temperature, const Evaluation &pressure) const
 
template<class Evaluation >
Evaluation gasDissolutionFactor (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 oilSaturationPressure (unsigned, const Evaluation &, const Evaluation &) const
 Returns the saturation pressure of the oil phase [Pa] depending on its mass fraction of the gas component. More...
 
template<class Evaluation >
Evaluation saturatedOilGasMassFraction (unsigned, const Evaluation &, const Evaluation &) const
 
template<class Evaluation >
Evaluation saturatedOilGasMoleFraction (unsigned, const Evaluation &, const Evaluation &) const
 

Detailed Description

template<class Scalar>
class Opm::DeadOilPvt< Scalar >

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

Member Function Documentation

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

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

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

template<class Scalar >
template<class Evaluation >
Evaluation Opm::DeadOilPvt< 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::DeadOilPvt< Scalar >::density().

template<class Scalar >
template<class Evaluation >
Evaluation Opm::DeadOilPvt< Scalar >::fugacityCoefficientGas ( unsigned  regionIdx,
const Evaluation &  temperature,
const Evaluation &  pressure 
) const
inline
template<class Scalar >
template<class Evaluation >
Evaluation Opm::DeadOilPvt< Scalar >::fugacityCoefficientOil ( unsigned  ,
const Evaluation &  ,
const Evaluation &  pressure 
) const
inline

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

Referenced by Opm::DeadOilPvt< Scalar >::fugacityCoefficientGas(), and Opm::DeadOilPvt< Scalar >::fugacityCoefficientWater().

template<class Scalar >
template<class Evaluation >
Evaluation Opm::DeadOilPvt< Scalar >::fugacityCoefficientWater ( unsigned  regionIdx,
const Evaluation &  temperature,
const Evaluation &  pressure 
) const
inline
template<class Scalar >
template<class Evaluation >
Evaluation Opm::DeadOilPvt< Scalar >::gasDissolutionFactor ( 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 >
void Opm::DeadOilPvt< Scalar >::initEnd ( const GasPvtMultiplexer )
inline

Finish initializing the oil phase PVT properties.

template<class Scalar >
template<class Evaluation >
Evaluation Opm::DeadOilPvt< Scalar >::oilSaturationPressure ( unsigned  ,
const Evaluation &  ,
const Evaluation &   
) const
inline

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

Parameters
XoGThe mass fraction of the gas component in the oil phase [-]
template<class Scalar >
template<class Evaluation >
Evaluation Opm::DeadOilPvt< Scalar >::saturatedOilGasMassFraction ( unsigned  ,
const Evaluation &  ,
const Evaluation &   
) const
inline
template<class Scalar >
template<class Evaluation >
Evaluation Opm::DeadOilPvt< Scalar >::saturatedOilGasMoleFraction ( unsigned  ,
const Evaluation &  ,
const Evaluation &   
) const
inline
template<class Scalar >
void Opm::DeadOilPvt< Scalar >::setInverseOilFormationVolumeFactor ( unsigned  regionIdx,
const TabulatedOneDFunction invBo 
)
inline

Initialize the function for the oil formation volume factor.

The oil formation volume factor $B_o$ is a function of $(p_o, X_o^G)$ and represents the partial density of the oil component in the oil phase at a given pressure.

This method sets $1/B_o(p_o)$. Note that the mass fraction of the gas component in the oil phase is missing when assuming dead oil.

template<class Scalar >
void Opm::DeadOilPvt< Scalar >::setNumRegions ( size_t  numRegions)
inline
template<class Scalar >
void Opm::DeadOilPvt< Scalar >::setOilViscosity ( unsigned  regionIdx,
const TabulatedOneDFunction muo 
)
inline

Initialize the viscosity of the oil phase.

This is a function of $(R_s, p_o)$...

template<class Scalar >
void Opm::DeadOilPvt< Scalar >::setReferenceDensities ( unsigned  regionIdx,
Scalar  rhoRefOil,
Scalar  ,
Scalar   
)
inline

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

template<class Scalar >
template<class Evaluation >
Evaluation Opm::DeadOilPvt< 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: