From 4dd0798e5bf155a28f7d80559d0e5ae9c7ab1fcc Mon Sep 17 00:00:00 2001 From: Tor Harald Sandve Date: Fri, 31 Mar 2023 08:47:19 +0200 Subject: [PATCH] add gas + water + energy to flow --- opm/simulators/flow/Main.hpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/opm/simulators/flow/Main.hpp b/opm/simulators/flow/Main.hpp index aa0cb980b..498f44d43 100644 --- a/opm/simulators/flow/Main.hpp +++ b/opm/simulators/flow/Main.hpp @@ -42,6 +42,7 @@ #include #include #include +#include #include #include #include @@ -600,6 +601,11 @@ private: return flowEbosGasOilEnergyMain(argc_, argv_, outputCout_, outputFiles_); } + // water-gas-thermal + if (!phases.active( Phase::OIL ) && phases.active( Phase::WATER ) && phases.active( Phase::GAS )) { + return flowEbosGasWaterEnergyMain(argc_, argv_, outputCout_, outputFiles_); + } + return flowEbosEnergyMain(argc_, argv_, outputCout_, outputFiles_); }