From bc7fbc7b76b2cf7fbc292ab3109161980bdc96d6 Mon Sep 17 00:00:00 2001 From: jonjenssen Date: Mon, 27 Apr 2026 14:04:33 +0200 Subject: [PATCH] Add valve keywords to list of well keywords to filter when exporting sector model --- .../SimulationFile/RigSimulationInputTool.cpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/ApplicationLibCode/ReservoirDataModel/SimulationFile/RigSimulationInputTool.cpp b/ApplicationLibCode/ReservoirDataModel/SimulationFile/RigSimulationInputTool.cpp index a60d3f906c..9c1ab2c08e 100644 --- a/ApplicationLibCode/ReservoirDataModel/SimulationFile/RigSimulationInputTool.cpp +++ b/ApplicationLibCode/ReservoirDataModel/SimulationFile/RigSimulationInputTool.cpp @@ -2038,10 +2038,11 @@ std::expected RigSimulationInputTool::filterAndUpdateWellKeywords RifOpmFlowDeckFile& deckFile ) { // List of well-related keywords to filter (keywords that reference well names) - std::vector wellKeywords = { "COMPDAT", "COMPLUMP", "COMPORD", "COMPSEGS", "WCONHIST", "WCONINJE", "WCONINJH", - "WCONPROD", "WCYCLE", "WDFAC", "WDFACCOR", "WEFAC", "WELCNTL", "WELOPEN", - "WELPI", "WELSEGS", "WELSPECS", "WELTARG", "WINJCLN", "WINJMULT", "WINJTEMP", - "WLIFTOPT", "WPAVEDEP", "WRFTPLT", "WTEMP", "WTEST", "WTRACER" }; + std::vector wellKeywords = { "COMPDAT", "COMPLUMP", "COMPORD", "COMPSEGS", "WCONHIST", "WCONINJE", + "WCONINJH", "WCONPROD", "WCYCLE", "WDFAC", "WDFACCOR", "WEFAC", + "WELCNTL", "WELOPEN", "WELPI", "WELSEGS", "WELSPECS", "WELTARG", + "WINJCLN", "WINJMULT", "WINJTEMP", "WLIFTOPT", "WPAVEDEP", "WRFTPLT", + "WTEMP", "WTEST", "WTRACER", "WSEGVALV", "WSEGAICD", "WSEGSICD" }; // Process each type of well keyword // Use findAllKeywordsWithIndices to get all occurrences with their positions