From 90380c35ad786c256a75e03f39ef204d7d732101 Mon Sep 17 00:00:00 2001 From: goncalvesmachadoc Date: Mon, 29 Nov 2021 16:27:55 +0100 Subject: [PATCH] update parameters BlackoilFluidSystem fix update parameters BlackoilFluidSystem --- ebos/eclequilinitializer.hh | 4 ++++ opm/simulators/aquifers/AquiferInterface.hpp | 4 ++++ opm/simulators/wells/WellInterface.hpp | 4 ++++ 3 files changed, 12 insertions(+) diff --git a/ebos/eclequilinitializer.hh b/ebos/eclequilinitializer.hh index af9ad783a..912b27b6c 100644 --- a/ebos/eclequilinitializer.hh +++ b/ebos/eclequilinitializer.hh @@ -74,6 +74,8 @@ class EclEquilInitializer enum { enableTemperature = getPropValue() }; enum { enableEnergy = getPropValue() }; enum { enableBrine = getPropValue() }; + enum { enableEvaporation = getPropValue() }; + enum { enableSaltPrecipitation = getPropValue() }; public: // NB: setting the enableEnergy argument to true enables storage of enthalpy and @@ -83,7 +85,9 @@ public: enableTemperature, enableEnergy, Indices::gasEnabled, + enableEvaporation, enableBrine, + enableSaltPrecipitation, Indices::numPhases>; diff --git a/opm/simulators/aquifers/AquiferInterface.hpp b/opm/simulators/aquifers/AquiferInterface.hpp index 48f7d232f..f30059b4a 100644 --- a/opm/simulators/aquifers/AquiferInterface.hpp +++ b/opm/simulators/aquifers/AquiferInterface.hpp @@ -59,6 +59,8 @@ public: enum { enableTemperature = getPropValue() }; enum { enableEnergy = getPropValue() }; enum { enableBrine = getPropValue() }; + enum { enableEvaporation = getPropValue() }; + enum { enableSaltPrecipitation = getPropValue() }; static const int numEq = BlackoilIndices::numEq; typedef double Scalar; @@ -70,7 +72,9 @@ public: enableTemperature, enableEnergy, BlackoilIndices::gasEnabled, + enableEvaporation, enableBrine, + enableSaltPrecipitation, BlackoilIndices::numPhases> FluidState; diff --git a/opm/simulators/wells/WellInterface.hpp b/opm/simulators/wells/WellInterface.hpp index 004a9ddfe..aa51387fd 100644 --- a/opm/simulators/wells/WellInterface.hpp +++ b/opm/simulators/wells/WellInterface.hpp @@ -112,6 +112,8 @@ 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_saltPrecip = getPropValue(); static constexpr bool has_micp = getPropValue(); // For the conversion between the surface volume rate and reservoir voidage rate @@ -120,7 +122,9 @@ public: has_temperature, has_energy, Indices::compositionSwitchIdx >= 0, + has_watVapor, has_brine, + has_saltPrecip, Indices::numPhases >; /// Constructor WellInterface(const Well& well,