From e6acf888ccab9114fff06d162ac9172f73927b09 Mon Sep 17 00:00:00 2001 From: Andreas Lauser Date: Wed, 30 Nov 2016 13:50:47 +0100 Subject: [PATCH] flow_ebos: tell the ebos in ourselves to not handle SWATINIT because the flow part also wants to do this. (and it is quite a bit more stubborn!) --- opm/autodiff/BlackoilModelEbos.hpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/opm/autodiff/BlackoilModelEbos.hpp b/opm/autodiff/BlackoilModelEbos.hpp index f32cf07f4..3ee5b4db1 100644 --- a/opm/autodiff/BlackoilModelEbos.hpp +++ b/opm/autodiff/BlackoilModelEbos.hpp @@ -84,6 +84,10 @@ namespace Properties { NEW_TYPE_TAG(EclFlowProblem, INHERITS_FROM(BlackOilModel, EclBaseProblem)); SET_BOOL_PROP(EclFlowProblem, DisableWells, true); SET_BOOL_PROP(EclFlowProblem, EnableDebuggingChecks, false); + +// SWATINIT is done by the flow part of flow_ebos. this can be removed once the legacy +// code for fluid and satfunc handling gets fully retired. +SET_BOOL_PROP(EclFlowProblem, EnableSwatinit, false); }} namespace Opm {