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>

Inheritance diagram for Opm::EclDefaultMaterialParams< Traits, GasOilParamsT, OilWaterParamsT >:
Opm::EnsureFinalized

List of all members.

Public Types

typedef GasOilParamsT GasOilParams
typedef OilWaterParamsT OilWaterParams

Public Member Functions

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

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 Function Documentation

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 >
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...


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

Generated on 25 Mar 2018 by  doxygen 1.6.1