From e560b941c7071ed9a18ade8f809df6dcda519878 Mon Sep 17 00:00:00 2001 From: David Landa Marban Date: Thu, 6 Mar 2025 15:14:53 +0100 Subject: [PATCH] Fix to write vtk (if enabled) for dry runs in cases without oilPhase --- opm/simulators/flow/FlowProblemBlackoil.hpp | 1 + 1 file changed, 1 insertion(+) diff --git a/opm/simulators/flow/FlowProblemBlackoil.hpp b/opm/simulators/flow/FlowProblemBlackoil.hpp index 5356d74350..87e4b45895 100644 --- a/opm/simulators/flow/FlowProblemBlackoil.hpp +++ b/opm/simulators/flow/FlowProblemBlackoil.hpp @@ -394,6 +394,7 @@ public: if (this->enableVtkOutput_() && eclState.getIOConfig().initOnly()) { simulator.setTimeStepSize(0.0); + simulator.model().applyInitialSolution(); FlowProblemType::writeOutput(true); }