27 #ifndef OPM_PARKER_LENHARD_PARAMS_HPP
28 #define OPM_PARKER_LENHARD_PARAMS_HPP
38 template <
class ScalarT>
39 class PLScanningCurve;
45 template <
class TraitsT>
51 typedef typename TraitsT::Scalar Scalar;
53 typedef typename VanGenuchten::Params VanGenuchtenParams;
80 { EnsureFinalized::check();
return *micParams_; }
94 { EnsureFinalized::check();
return *mdcParams_; }
101 { mdcParams_ = val; }
107 { EnsureFinalized::check();
return Snr_; }
119 { EnsureFinalized::check();
return SwrPc_; }
125 { EnsureFinalized::check();
return SwrKr_; }
131 void setSwr(Scalar pcSwr, Scalar krSwr = -1)
144 { EnsureFinalized::check();
return currentSnr_; }
150 { currentSnr_ = val; }
156 { EnsureFinalized::check();
return mdc_; }
168 { EnsureFinalized::check();
return pisc_; }
180 { EnsureFinalized::check();
return csc_; }
195 mutable ScanningCurve* mdc_;
196 mutable ScanningCurve* pisc_;
197 mutable ScanningCurve* csc_;
Default implementation for asserting finalization of parameter objects.
Implementation of the regularized van Genuchten's capillary pressure / relative permeability <-> satu...
Default implementation for asserting finalization of parameter objects.
Definition: EnsureFinalized.hpp:47
void finalize()
Mark the object as finalized.
Definition: EnsureFinalized.hpp:75
EnsureFinalized()
The default constructor.
Definition: EnsureFinalized.hpp:56
Represents a scanning curve in the Parker-Lenhard hysteresis model.
Definition: ParkerLenhard.hpp:48
Default parameter class for the Parker-Lenhard hysteresis model.
Definition: ParkerLenhardParams.hpp:47
Scalar SwrPc() const
Returns wetting phase residual saturation for the capillary pressure curve.
Definition: ParkerLenhardParams.hpp:118
ScanningCurve * pisc() const
Returns the primary imbibition scanning curve.
Definition: ParkerLenhardParams.hpp:167
void setSwr(Scalar pcSwr, Scalar krSwr=-1)
Set the wetting phase residual saturation for the capillary pressure and the relative permeabilities.
Definition: ParkerLenhardParams.hpp:131
const VanGenuchtenParams & micParams() const
Returns the parameters of the main imbibition curve (which uses the van Genuchten capillary pressure ...
Definition: ParkerLenhardParams.hpp:79
void setSnr(Scalar val)
Set the non-wetting phase residual saturation.
Definition: ParkerLenhardParams.hpp:112
ScanningCurve * mdc() const
Returns the main drainage curve.
Definition: ParkerLenhardParams.hpp:155
const VanGenuchtenParams & mdcParams() const
Returns the parameters of the main drainage curve (which uses the van Genuchten capillary pressure mo...
Definition: ParkerLenhardParams.hpp:93
void setPisc(ScanningCurve *val)
Set the primary imbibition scanning curve.
Definition: ParkerLenhardParams.hpp:173
ScanningCurve * csc() const
Returns the current scanning curve.
Definition: ParkerLenhardParams.hpp:179
void setMicParams(const VanGenuchtenParams *val)
Sets the parameters of the main imbibition curve (which uses the van Genuchten capillary pressure mod...
Definition: ParkerLenhardParams.hpp:86
void setCsc(ScanningCurve *val)
Set the current scanning curve.
Definition: ParkerLenhardParams.hpp:185
Scalar currentSnr() const
Returns the current effective residual saturation.
Definition: ParkerLenhardParams.hpp:143
Scalar Snr() const
Returns non-wetting phase residual saturation.
Definition: ParkerLenhardParams.hpp:106
void setMdcParams(const VanGenuchtenParams *val)
Sets the parameters of the main drainage curve (which uses the van Genuchten capillary pressure model...
Definition: ParkerLenhardParams.hpp:100
Scalar SwrKr() const
Returns wetting phase residual saturation for the residual saturation curves.
Definition: ParkerLenhardParams.hpp:124
void setCurrentSnr(Scalar val)
Set the current effective residual saturation.
Definition: ParkerLenhardParams.hpp:149
void setMdc(ScanningCurve *val)
Set the main drainage curve.
Definition: ParkerLenhardParams.hpp:161
Implementation of the regularized van Genuchten's capillary pressure / relative permeability <-> satu...
Definition: RegularizedVanGenuchten.hpp:72
Specification of the material parameters for the van Genuchten constitutive relations.
Definition: VanGenuchtenParams.hpp:45