From 69c6294978735d3a840fa9f76f965d29c798f7e9 Mon Sep 17 00:00:00 2001 From: Kai Bao Date: Tue, 1 Oct 2024 15:43:08 +0200 Subject: [PATCH] set newton tolerance to be 1.e-7 for compositional running --- opm/simulators/flow/FlowProblemComp.hpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/opm/simulators/flow/FlowProblemComp.hpp b/opm/simulators/flow/FlowProblemComp.hpp index b5aa0d43f..13edcefce 100644 --- a/opm/simulators/flow/FlowProblemComp.hpp +++ b/opm/simulators/flow/FlowProblemComp.hpp @@ -93,6 +93,9 @@ public: static void registerParameters() { FlowProblemType::registerParameters(); + + // tighter tolerance is needed for compositional modeling here + Parameters::SetDefault>(1e-7); }