Sector Export: scale MINPV with refinement

This avoids marking small cells as inactive.
This commit is contained in:
Kristian Bendiksen committed 2026-04-29 13:14:49 +02:00
1 parent 9d04f0b122
commit 87e9ab7b5b
2 files changed
+71

No files matched your search

@@ -132,6 +132,11 @@ private:
const RigSimulationInputSettings& settings,
RifOpmFlowDeckFile& deckFile );
// Scale MINPV down by the maximum refinement factor so OPM Flow doesn't filter sub-cells
// whose pore volume falls below the original threshold simply because refinement shrunk
// them. Does nothing if MINPV is absent from the deck or the refinement is identity.
static std::expected<void, QString> scaleMinpvForRefinement( const RigSimulationInputSettings& settings, RifOpmFlowDeckFile& deckFile );
static std::expected<void, QString> replaceKeywordValuesInDeckFile( RimEclipseCase* eclipseCase,
const RigSimulationInputSettings& settings,
RifOpmFlowDeckFile& deckFile,