opm-common
Loading...
Searching...
No Matches
Opm::EclStone2MaterialParams< Traits, GasOilParamsT, OilWaterParamsT > Class Template Reference

Default implementation for the parameters required by the three-phase capillary pressure/relperm Stone 2 model used by Eclipse. More...

#include <EclStone2MaterialParams.hpp>

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

Public Types

using GasOilParams = GasOilParamsT
using OilWaterParams = OilWaterParamsT

Public Member Functions

 EclStone2MaterialParams ()
 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.
template<class Serializer>
void serializeOp (Serializer &serializer)
Public Member Functions inherited from Opm::EnsureFinalized
OPM_HOST_DEVICE void finalize ()
 Mark the object as finalized.

Additional Inherited Members

Protected Member Functions inherited from Opm::EnsureFinalized
OPM_HOST_DEVICE EnsureFinalized ()
 The default constructor.
OPM_HOST_DEVICE void check () const

Detailed Description

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

Default implementation for the parameters required by the three-phase capillary pressure/relperm Stone 2 model used by Eclipse.

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

Member Function Documentation

◆ setSwl()

template<class Traits, class GasOilParamsT, class OilWaterParamsT>
void Opm::EclStone2MaterialParams< 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: