diff --git a/ebos/eclequilinitializer.hh b/ebos/eclequilinitializer.hh index 9664429b3..5bced53cb 100644 --- a/ebos/eclequilinitializer.hh +++ b/ebos/eclequilinitializer.hh @@ -78,7 +78,7 @@ class EclEquilInitializer enum { enableEnergy = getPropValue() }; enum { enableDissolution = Indices::compositionSwitchIdx >= 0 }; enum { enableBrine = getPropValue() }; - enum { enableEvaporation = getPropValue() }; + enum { enableVapwat = getPropValue() }; enum { enableSaltPrecipitation = getPropValue() }; enum { has_disgas_in_water = getPropValue() }; @@ -91,7 +91,7 @@ public: enableTemperature, enableEnergy, enableDissolution, - enableEvaporation, + enableVapwat, enableBrine, enableSaltPrecipitation, has_disgas_in_water, diff --git a/flow/flow_ebos_brine_precsalt_vapwat.cpp b/flow/flow_ebos_brine_precsalt_vapwat.cpp index 623648582..3b96ef71e 100644 --- a/flow/flow_ebos_brine_precsalt_vapwat.cpp +++ b/flow/flow_ebos_brine_precsalt_vapwat.cpp @@ -41,7 +41,7 @@ struct EnableSaltPrecipitation }; template -struct EnableEvaporation { +struct EnableVapwat { static constexpr bool value = true; }; }} diff --git a/flow/flow_ebos_gaswater_brine.cpp b/flow/flow_ebos_gaswater_brine.cpp index 78ce11f82..a93e312d4 100644 --- a/flow/flow_ebos_gaswater_brine.cpp +++ b/flow/flow_ebos_gaswater_brine.cpp @@ -36,6 +36,14 @@ template struct EnableBrine { static constexpr bool value = true; }; +template +struct EnableDisgasInWater { + static constexpr bool value = true; +}; +template +struct EnableVapwat { + static constexpr bool value = true; +}; //! The indices required by the model template struct Indices diff --git a/flow/flow_ebos_gaswater_dissolution.cpp b/flow/flow_ebos_gaswater_dissolution.cpp index 27eb73e48..a6e0b38ee 100644 --- a/flow/flow_ebos_gaswater_dissolution.cpp +++ b/flow/flow_ebos_gaswater_dissolution.cpp @@ -54,7 +54,7 @@ struct EnableDisgasInWater { }; template -struct EnableEvaporation { +struct EnableVapwat { static constexpr bool value = true; }; diff --git a/flow/flow_ebos_gaswater_dissolution_diffuse.cpp b/flow/flow_ebos_gaswater_dissolution_diffuse.cpp index b9eca1aed..16626b094 100644 --- a/flow/flow_ebos_gaswater_dissolution_diffuse.cpp +++ b/flow/flow_ebos_gaswater_dissolution_diffuse.cpp @@ -54,7 +54,7 @@ struct EnableDisgasInWater -struct EnableEvaporation { +struct EnableVapwat { static constexpr bool value = true; }; diff --git a/flow/flow_ebos_gaswater_energy.cpp b/flow/flow_ebos_gaswater_energy.cpp index e1f926bb8..d7028682f 100644 --- a/flow/flow_ebos_gaswater_energy.cpp +++ b/flow/flow_ebos_gaswater_energy.cpp @@ -59,7 +59,7 @@ struct EnableDisgasInWater { }; template -struct EnableEvaporation { +struct EnableVapwat { static constexpr bool value = true; }; diff --git a/flow/flow_ebos_gaswater_saltprec_energy.cpp b/flow/flow_ebos_gaswater_saltprec_energy.cpp index 783af622b..ee6af5948 100644 --- a/flow/flow_ebos_gaswater_saltprec_energy.cpp +++ b/flow/flow_ebos_gaswater_saltprec_energy.cpp @@ -43,7 +43,7 @@ struct EnableSaltPrecipitation -struct EnableEvaporation { +struct EnableVapwat { static constexpr bool value = true; }; diff --git a/flow/flow_ebos_gaswater_saltprec_vapwat.cpp b/flow/flow_ebos_gaswater_saltprec_vapwat.cpp index d6df55458..01b0d216c 100644 --- a/flow/flow_ebos_gaswater_saltprec_vapwat.cpp +++ b/flow/flow_ebos_gaswater_saltprec_vapwat.cpp @@ -43,7 +43,7 @@ struct EnableSaltPrecipitation -struct EnableEvaporation { +struct EnableVapwat { static constexpr bool value = true; }; diff --git a/opm/simulators/aquifers/AquiferAnalytical.hpp b/opm/simulators/aquifers/AquiferAnalytical.hpp index 272a74e68..079587dc5 100644 --- a/opm/simulators/aquifers/AquiferAnalytical.hpp +++ b/opm/simulators/aquifers/AquiferAnalytical.hpp @@ -65,7 +65,7 @@ public: enum { enableTemperature = getPropValue() }; enum { enableEnergy = getPropValue() }; enum { enableBrine = getPropValue() }; - enum { enableEvaporation = getPropValue() }; + enum { enableVapwat = getPropValue() }; enum { has_disgas_in_water = getPropValue() }; enum { enableSaltPrecipitation = getPropValue() }; @@ -80,7 +80,7 @@ public: enableTemperature, enableEnergy, BlackoilIndices::gasEnabled, - enableEvaporation, + enableVapwat, enableBrine, enableSaltPrecipitation, has_disgas_in_water, diff --git a/opm/simulators/wells/WellInterface.hpp b/opm/simulators/wells/WellInterface.hpp index 5f4f76de4..af325b6c7 100644 --- a/opm/simulators/wells/WellInterface.hpp +++ b/opm/simulators/wells/WellInterface.hpp @@ -117,7 +117,7 @@ public: static constexpr bool has_polymermw = getPropValue(); static constexpr bool has_foam = getPropValue(); static constexpr bool has_brine = getPropValue(); - static constexpr bool has_watVapor = getPropValue(); + static constexpr bool has_watVapor = getPropValue(); static constexpr bool has_disgas_in_water = getPropValue(); static constexpr bool has_saltPrecip = getPropValue(); static constexpr bool has_micp = getPropValue(); diff --git a/tests/test_equil.cc b/tests/test_equil.cc index 9a8819238..08e3c032c 100644 --- a/tests/test_equil.cc +++ b/tests/test_equil.cc @@ -94,7 +94,7 @@ struct EclWellModel { using type = BlackoilWellModel; }; template -struct EnableEvaporation { +struct EnableVapwat { static constexpr bool value = true; }; template @@ -102,7 +102,7 @@ struct EclWellModel { using type = BlackoilWellModel; }; template -struct EnableEvaporation { +struct EnableVapwat { static constexpr bool value = true; }; } // namespace Opm::Properties