Opm::EclDefaultMaterialParams< Traits, GasOilParamsT, OilWaterParamsT > Class Template Reference

Default implementation for the parameters required by the default three-phase capillary pressure model used by Eclipse. More...

#include <EclDefaultMaterialParams.hpp>

Public Types

typedef GasOilParamsT GasOilParams
 
typedef OilWaterParamsT OilWaterParams
 

Public Member Functions

 EclDefaultMaterialParams ()
 The default constructor. More...
 
void finalize ()
 Finish the initialization of the parameter object. More...
 
const GasOilParamsgasOilParams () const
 The parameter object for the gas-oil twophase law. More...
 
GasOilParamsgasOilParams ()
 The parameter object for the gas-oil twophase law. More...
 
void setGasOilParams (std::shared_ptr< GasOilParams > val)
 Set the parameter object for the gas-oil twophase law. More...
 
const OilWaterParamsoilWaterParams () const
 The parameter object for the oil-water twophase law. More...
 
OilWaterParamsoilWaterParams ()
 The parameter object for the oil-water twophase law. More...
 
void setOilWaterParams (std::shared_ptr< OilWaterParams > val)
 Set the parameter object for the oil-water twophase law. More...
 
void setSwl (Scalar val)
 Set the saturation of "connate" water. More...
 
Scalar Swl () const
 Return the saturation of "connate" water. More...
 
bool inconsistentHysteresisUpdate () const
 Specify whether inconsistent saturations should be used to update the hysteresis parameters. More...
 

Detailed Description

template<class Traits, class GasOilParamsT, class OilWaterParamsT>
class Opm::EclDefaultMaterialParams< Traits, GasOilParamsT, OilWaterParamsT >

Default implementation for the parameters required by the default three-phase capillary pressure model used by Eclipse.

Essentially, this class just stores the two parameter objects for the twophase capillary pressure laws.

Member Typedef Documentation

template<class Traits , class GasOilParamsT , class OilWaterParamsT >
typedef GasOilParamsT Opm::EclDefaultMaterialParams< Traits, GasOilParamsT, OilWaterParamsT >::GasOilParams
template<class Traits , class GasOilParamsT , class OilWaterParamsT >
typedef OilWaterParamsT Opm::EclDefaultMaterialParams< Traits, GasOilParamsT, OilWaterParamsT >::OilWaterParams

Constructor & Destructor Documentation

template<class Traits , class GasOilParamsT , class OilWaterParamsT >
Opm::EclDefaultMaterialParams< Traits, GasOilParamsT, OilWaterParamsT >::EclDefaultMaterialParams ( )
inline

The default constructor.

Member Function Documentation

template<class Traits , class GasOilParamsT , class OilWaterParamsT >
void Opm::EclDefaultMaterialParams< Traits, GasOilParamsT, OilWaterParamsT >::finalize ( )
inline

Finish the initialization of the parameter object.

template<class Traits , class GasOilParamsT , class OilWaterParamsT >
const GasOilParams& Opm::EclDefaultMaterialParams< Traits, GasOilParamsT, OilWaterParamsT >::gasOilParams ( ) const
inline

The parameter object for the gas-oil twophase law.

template<class Traits , class GasOilParamsT , class OilWaterParamsT >
GasOilParams& Opm::EclDefaultMaterialParams< Traits, GasOilParamsT, OilWaterParamsT >::gasOilParams ( )
inline

The parameter object for the gas-oil twophase law.

template<class Traits , class GasOilParamsT , class OilWaterParamsT >
bool Opm::EclDefaultMaterialParams< Traits, GasOilParamsT, OilWaterParamsT >::inconsistentHysteresisUpdate ( ) const
inline

Specify whether inconsistent saturations should be used to update the hysteresis parameters.

Returning 'true' is wrong from a physical point of view because the saturations which are used to update the hysteresis parameters are calculated differently than the ones used to calculate the relperms and capillary pressures. Since Eclipse E100 probably uses inconsistent saturations, we return true here anyway.

template<class Traits , class GasOilParamsT , class OilWaterParamsT >
const OilWaterParams& Opm::EclDefaultMaterialParams< Traits, GasOilParamsT, OilWaterParamsT >::oilWaterParams ( ) const
inline

The parameter object for the oil-water twophase law.

template<class Traits , class GasOilParamsT , class OilWaterParamsT >
OilWaterParams& Opm::EclDefaultMaterialParams< Traits, GasOilParamsT, OilWaterParamsT >::oilWaterParams ( )
inline

The parameter object for the oil-water twophase law.

template<class Traits , class GasOilParamsT , class OilWaterParamsT >
void Opm::EclDefaultMaterialParams< Traits, GasOilParamsT, OilWaterParamsT >::setGasOilParams ( std::shared_ptr< GasOilParams val)
inline

Set the parameter object for the gas-oil twophase law.

template<class Traits , class GasOilParamsT , class OilWaterParamsT >
void Opm::EclDefaultMaterialParams< Traits, GasOilParamsT, OilWaterParamsT >::setOilWaterParams ( std::shared_ptr< OilWaterParams val)
inline

Set the parameter object for the oil-water twophase law.

template<class Traits , class GasOilParamsT , class OilWaterParamsT >
void Opm::EclDefaultMaterialParams< Traits, GasOilParamsT, OilWaterParamsT >::setSwl ( Scalar  val)
inline

Set the saturation of "connate" water.

According to

http://www.glossary.oilfield.slb.com/en/Terms/c/connate_water.aspx

the connate water is the water which is trapped in the pores of the rock during the rock's formation. For our application, this is basically a reduction of the rock's porosity...

template<class Traits , class GasOilParamsT , class OilWaterParamsT >
Scalar Opm::EclDefaultMaterialParams< Traits, GasOilParamsT, OilWaterParamsT >::Swl ( ) const
inline

Return the saturation of "connate" water.


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