From dcdbf6dcaa482cab7eb90b492914941345d0f024 Mon Sep 17 00:00:00 2001 From: Uwe Date: Sun, 7 Aug 2022 04:33:21 +0200 Subject: [PATCH] [Fem] Elmer: change default nonlinear tolerance - ElmerGUI uses 1e-7 as default, so we should do too --- src/Mod/Fem/femsolver/elmer/equations/nonlinear.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Mod/Fem/femsolver/elmer/equations/nonlinear.py b/src/Mod/Fem/femsolver/elmer/equations/nonlinear.py index 6076aef201..24a3a385a1 100644 --- a/src/Mod/Fem/femsolver/elmer/equations/nonlinear.py +++ b/src/Mod/Fem/femsolver/elmer/equations/nonlinear.py @@ -81,7 +81,7 @@ class Proxy(linear.Proxy): # the user has to view and edit the tolerance via the property editor and # this does not yet allow to view and edit small numbers in scientific notation # forum thread: https://forum.freecadweb.org/viewtopic.php?p=613897#p613897 - obj.setExpression("NonlinearTolerance", "1e-8") + obj.setExpression("NonlinearTolerance", "1e-7") obj.setExpression("NonlinearNewtonAfterTolerance", "1e-3") obj.RelaxationFactor = 1.0