Opm::EclHysteresisTwoPhaseLawParams< EffLawT > Class Template Reference

A default implementation of the parameters for the material law which implements the ECL relative permeability and capillary pressure hysteresis. More...

#include <EclHysteresisTwoPhaseLawParams.hpp>

Public Types

typedef EffLawParams::Traits Traits
 

Public Member Functions

 EclHysteresisTwoPhaseLawParams ()
 
void finalize ()
 Calculate all dependent quantities once the independent quantities of the parameter object have been set. More...
 
void setConfig (std::shared_ptr< EclHysteresisConfig > value)
 Set the endpoint scaling configuration object. More...
 
const EclHysteresisConfigconfig () const
 Returns the endpoint scaling configuration object. More...
 
void setDrainageParams (std::shared_ptr< EffLawParams > value, const EclEpsScalingPointsInfo< Scalar > &, EclTwoPhaseSystemType)
 Sets the parameters used for the drainage curve. More...
 
const EffLawParams & drainageParams () const
 Returns the parameters used for the drainage curve. More...
 
EffLawParams & drainageParams ()
 
void setImbibitionParams (std::shared_ptr< EffLawParams > value, const EclEpsScalingPointsInfo< Scalar > &, EclTwoPhaseSystemType)
 Sets the parameters used for the imbibition curve. More...
 
const EffLawParams & imbibitionParams () const
 Returns the parameters used for the imbibition curve. More...
 
EffLawParams & imbibitionParams ()
 
void setPcSwMdc (Scalar value)
 Set the saturation of the wetting phase where the last switch from the main drainage curve (MDC) to imbibition happend on the capillary pressure curve. More...
 
Scalar pcSwMdc () const
 Set the saturation of the wetting phase where the last switch from the main drainage curve to imbibition happend on the capillary pressure curve. More...
 
void setKrwSwMdc (Scalar)
 Set the saturation of the wetting phase where the last switch from the main drainage curve (MDC) to imbibition happend on the relperm curve for the wetting phase. More...
 
Scalar krwSwMdc () const
 Set the saturation of the wetting phase where the last switch from the main drainage curve to imbibition happend on the relperm curve for the wetting phase. More...
 
void setKrnSwMdc (Scalar value)
 Set the saturation of the wetting phase where the last switch from the main drainage curve (MDC) to imbibition happend on the relperm curve for the non-wetting phase. More...
 
Scalar krnSwMdc () const
 Set the saturation of the wetting phase where the last switch from the main drainage curve to imbibition happend on the relperm curve for the non-wetting phase. More...
 
void setDeltaSwImbKrw (Scalar)
 Sets the saturation value which must be added if krw is calculated using the imbibition curve. More...
 
Scalar deltaSwImbKrw () const
 Returns the saturation value which must be added if krw is calculated using the imbibition curve. More...
 
void setDeltaSwImbKrn (Scalar value)
 Sets the saturation value which must be added if krn is calculated using the imbibition curve. More...
 
Scalar deltaSwImbKrn () const
 Returns the saturation value which must be added if krn is calculated using the imbibition curve. More...
 
void update (Scalar pcSw, Scalar, Scalar krnSw)
 Notify the hysteresis law that a given wetting-phase saturation has been seen. More...
 

Detailed Description

template<class EffLawT>
class Opm::EclHysteresisTwoPhaseLawParams< EffLawT >

A default implementation of the parameters for the material law which implements the ECL relative permeability and capillary pressure hysteresis.

Member Typedef Documentation

template<class EffLawT >
typedef EffLawParams::Traits Opm::EclHysteresisTwoPhaseLawParams< EffLawT >::Traits

Constructor & Destructor Documentation

template<class EffLawT >
Opm::EclHysteresisTwoPhaseLawParams< EffLawT >::EclHysteresisTwoPhaseLawParams ( )
inline

Member Function Documentation

template<class EffLawT >
const EclHysteresisConfig& Opm::EclHysteresisTwoPhaseLawParams< EffLawT >::config ( ) const
inline

Returns the endpoint scaling configuration object.

Referenced by Opm::EclHysteresisTwoPhaseLawParams< EffLawT >::finalize().

template<class EffLawT >
Scalar Opm::EclHysteresisTwoPhaseLawParams< EffLawT >::deltaSwImbKrn ( ) const
inline

Returns the saturation value which must be added if krn is calculated using the imbibition curve.

This means that krn(Sw) = krn_drainage(Sw) if Sw < SwMdc and krn(Sw) = krn_imbibition(Sw + Sw_shift,krn) else

template<class EffLawT >
Scalar Opm::EclHysteresisTwoPhaseLawParams< EffLawT >::deltaSwImbKrw ( ) const
inline

Returns the saturation value which must be added if krw is calculated using the imbibition curve.

This means that krw(Sw) = krw_drainage(Sw) if Sw < SwMdc and krw(Sw) = krw_imbibition(Sw + Sw_shift,krw) else

template<class EffLawT >
const EffLawParams& Opm::EclHysteresisTwoPhaseLawParams< EffLawT >::drainageParams ( ) const
inline

Returns the parameters used for the drainage curve.

template<class EffLawT >
EffLawParams& Opm::EclHysteresisTwoPhaseLawParams< EffLawT >::drainageParams ( )
inline
template<class EffLawT >
void Opm::EclHysteresisTwoPhaseLawParams< EffLawT >::finalize ( )
inline

Calculate all dependent quantities once the independent quantities of the parameter object have been set.

References Opm::EclHysteresisTwoPhaseLawParams< EffLawT >::config().

template<class EffLawT >
const EffLawParams& Opm::EclHysteresisTwoPhaseLawParams< EffLawT >::imbibitionParams ( ) const
inline

Returns the parameters used for the imbibition curve.

template<class EffLawT >
EffLawParams& Opm::EclHysteresisTwoPhaseLawParams< EffLawT >::imbibitionParams ( )
inline
template<class EffLawT >
Scalar Opm::EclHysteresisTwoPhaseLawParams< EffLawT >::krnSwMdc ( ) const
inline

Set the saturation of the wetting phase where the last switch from the main drainage curve to imbibition happend on the relperm curve for the non-wetting phase.

template<class EffLawT >
Scalar Opm::EclHysteresisTwoPhaseLawParams< EffLawT >::krwSwMdc ( ) const
inline

Set the saturation of the wetting phase where the last switch from the main drainage curve to imbibition happend on the relperm curve for the wetting phase.

template<class EffLawT >
Scalar Opm::EclHysteresisTwoPhaseLawParams< EffLawT >::pcSwMdc ( ) const
inline

Set the saturation of the wetting phase where the last switch from the main drainage curve to imbibition happend on the capillary pressure curve.

template<class EffLawT >
void Opm::EclHysteresisTwoPhaseLawParams< EffLawT >::setConfig ( std::shared_ptr< EclHysteresisConfig value)
inline

Set the endpoint scaling configuration object.

template<class EffLawT >
void Opm::EclHysteresisTwoPhaseLawParams< EffLawT >::setDeltaSwImbKrn ( Scalar  value)
inline

Sets the saturation value which must be added if krn is calculated using the imbibition curve.

This means that krn(Sw) = krn_drainage(Sw) if Sw < SwMdc and krn(Sw) = krn_imbibition(Sw + Sw_shift,krn) else

template<class EffLawT >
void Opm::EclHysteresisTwoPhaseLawParams< EffLawT >::setDeltaSwImbKrw ( Scalar  )
inline

Sets the saturation value which must be added if krw is calculated using the imbibition curve.

This means that krw(Sw) = krw_drainage(Sw) if Sw < SwMdc and krw(Sw) = krw_imbibition(Sw + Sw_shift,krw) else

template<class EffLawT >
void Opm::EclHysteresisTwoPhaseLawParams< EffLawT >::setDrainageParams ( std::shared_ptr< EffLawParams >  value,
const EclEpsScalingPointsInfo< Scalar > &  ,
EclTwoPhaseSystemType   
)
inline

Sets the parameters used for the drainage curve.

template<class EffLawT >
void Opm::EclHysteresisTwoPhaseLawParams< EffLawT >::setImbibitionParams ( std::shared_ptr< EffLawParams >  value,
const EclEpsScalingPointsInfo< Scalar > &  ,
EclTwoPhaseSystemType   
)
inline

Sets the parameters used for the imbibition curve.

template<class EffLawT >
void Opm::EclHysteresisTwoPhaseLawParams< EffLawT >::setKrnSwMdc ( Scalar  value)
inline

Set the saturation of the wetting phase where the last switch from the main drainage curve (MDC) to imbibition happend on the relperm curve for the non-wetting phase.

template<class EffLawT >
void Opm::EclHysteresisTwoPhaseLawParams< EffLawT >::setKrwSwMdc ( Scalar  )
inline

Set the saturation of the wetting phase where the last switch from the main drainage curve (MDC) to imbibition happend on the relperm curve for the wetting phase.

template<class EffLawT >
void Opm::EclHysteresisTwoPhaseLawParams< EffLawT >::setPcSwMdc ( Scalar  value)
inline

Set the saturation of the wetting phase where the last switch from the main drainage curve (MDC) to imbibition happend on the capillary pressure curve.

template<class EffLawT >
void Opm::EclHysteresisTwoPhaseLawParams< EffLawT >::update ( Scalar  pcSw,
Scalar  ,
Scalar  krnSw 
)
inline

Notify the hysteresis law that a given wetting-phase saturation has been seen.

This updates the scanning curves and the imbibition<->drainage reversal points as appropriate.


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