27 #ifndef OPM_ECL_HYSTERESIS_CONFIG_HPP 28 #define OPM_ECL_HYSTERESIS_CONFIG_HPP 46 { enableHysteresis_ = yesno; }
52 {
return enableHysteresis_; }
61 { pcHysteresisModel_ =
value; }
70 {
return pcHysteresisModel_; }
72 bool enablePCHysteresis()
const 89 { krHysteresisModel_ =
value; }
91 bool enableWettingHysteresis()
const 94 bool enableNonWettingHysteresis()
const 105 {
return krHysteresisModel_; }
113 {
return modParamTrapped_; }
121 {
return curvatureCapPrs_; }
127 {
return enableWagHyst_; }
133 {
return enablePcScalingHyst_; }
139 {
return enableWettingPhaseKilloughFix_; }
150 bool enableHysteresis_{
false};
153 int pcHysteresisModel_{-1};
154 int krHysteresisModel_{-1};
155 double modParamTrapped_{};
156 double curvatureCapPrs_{};
159 bool enableWagHyst_{
false};
162 bool enablePcScalingHyst_{
false};
165 bool enableWettingPhaseKilloughFix_{
false};
double curvatureCapPrs() const
Curvature parameter used for capillary pressure hysteresis.
Definition: EclHysteresisConfig.hpp:120
bool enableWagHysteresis() const
Returns whether hysteresis is enabled.
Definition: EclHysteresisConfig.hpp:126
void setKrHysteresisModel(int value)
Set the type of the hysteresis model which is used for relative permeability.
Definition: EclHysteresisConfig.hpp:88
This class implements a small container which holds the transmissibility mulitpliers for all the face...
Definition: Exceptions.hpp:30
Definition: Runspec.hpp:608
void initFromState(const Runspec &runspec)
Reads all relevant material parameters form a cell of a parsed ECL deck.
Definition: EclHysteresisConfig.cpp:31
void setPcHysteresisModel(int value)
Set the type of the hysteresis model which is used for capillary pressure.
Definition: EclHysteresisConfig.hpp:60
bool enablePcScalingHyst() const
Returns whether Pc scaling is enabled.
Definition: EclHysteresisConfig.hpp:132
Specifies the configuration used by the ECL kr/pC hysteresis code.
Definition: EclHysteresisConfig.hpp:39
bool enableHysteresis() const
Returns whether hysteresis is enabled.
Definition: EclHysteresisConfig.hpp:51
bool enableWettingPhaseKilloughFix() const
Returns whether fix for wetting phase killough is enabled.
Definition: EclHysteresisConfig.hpp:138
void setEnableHysteresis(bool yesno)
Specify whether hysteresis is enabled or not.
Definition: EclHysteresisConfig.hpp:45
double modParamTrapped() const
Regularisation parameter used for Killough model.
Definition: EclHysteresisConfig.hpp:112
int pcHysteresisModel() const
Return the type of the hysteresis model which is used for capillary pressure.
Definition: EclHysteresisConfig.hpp:69
int krHysteresisModel() const
Return the type of the hysteresis model which is used for relative permeability.
Definition: EclHysteresisConfig.hpp:104