|
opm-common
|
Implements the Parker-Lenhard twophase p_c-Sw hysteresis model. More...
#include <ParkerLenhard.hpp>
Public Types | |
| using | Traits = TraitsT |
| using | Params = ParamsT |
| using | Scalar = typename Traits::Scalar |
Static Public Member Functions | |
| static void | reset (Params ¶ms) |
| Resets the hysteresis model to the initial parameters on the main drainage curve. | |
| template<class FluidState> | |
| static void | update (Params ¶ms, const FluidState &fs) |
| Set the current absolute saturation for the current timestep. | |
| template<class Container, class FluidState> | |
| static void | capillaryPressures (Container &values, const Params ¶ms, const FluidState &fs) |
| Returns the capillary pressure dependening on the phase saturations. | |
| template<class Container, class FluidState> | |
| static void | saturations (Container &, const Params &, const FluidState &) |
| Returns the capillary pressure dependening on the phase saturations. | |
| template<class Container, class FluidState> | |
| static void | relativePermeabilities (Container &values, const Params ¶ms, const FluidState &fs) |
| Returns the relative permeabilities of the phases dependening on the phase saturations. | |
| template<class FluidState, class Evaluation = typename FluidState::ValueType> | |
| static Evaluation | pcnw (const Params ¶ms, const FluidState &fs) |
| Returns the capillary pressure dependend on the phase saturations. | |
| template<class Evaluation> | |
| static Evaluation | twoPhaseSatPcnw (const Params ¶ms, const Evaluation &Sw) |
| template<class FluidState, class Evaluation = typename FluidState::ValueType> | |
| static Evaluation | Sw (const Params &, const FluidState &) |
| Calculate the wetting phase saturations depending on the phase pressures. | |
| template<class Evaluation> | |
| static Evaluation | twoPhaseSatSw (const Params &, const Evaluation &) |
| template<class FluidState, class Evaluation = typename FluidState::ValueType> | |
| static Evaluation | Sn (const Params ¶ms, const FluidState &fs) |
| Calculate the non-wetting phase saturations depending on the phase pressures. | |
| template<class Evaluation> | |
| static Evaluation | twoPhaseSatSn (const Params &, const Evaluation &) |
| template<class FluidState, class Evaluation = typename FluidState::ValueType> | |
| static Evaluation | krw (const Params ¶ms, const FluidState &fs) |
| The relative permeability for the wetting phase of the medium. | |
| template<class Evaluation> | |
| static Evaluation | twoPhaseSatKrw (const Params ¶ms, const Evaluation &Sw) |
| template<class FluidState, class Evaluation = typename FluidState::ValueType> | |
| static Evaluation | krn (const Params ¶ms, const FluidState &fs) |
| The relative permeability for the non-wetting phase of the params. | |
| template<class Evaluation> | |
| static Evaluation | twoPhaseSatKrn (const Params ¶ms, const Evaluation &Sw) |
| template<class Evaluation> | |
| static Evaluation | absoluteToApparentSw_ (const Params ¶ms, const Evaluation &Sw) |
| Convert an absolute wetting saturation to an apparent one. | |
Implements the Parker-Lenhard twophase p_c-Sw hysteresis model.
This class adheres to the twophase capillary pressure API.