From 22831cf38526b562fabd4781519eaab619d3f499 Mon Sep 17 00:00:00 2001
From: Felix MARSOLLIER <fm4b8dfn@dsp1027505>
Date: Wed, 12 Oct 2022 15:04:12 +0200
Subject: [PATCH] Reduction of the margin on the convergence guarantee
 criterion on the view factor

---
 HeatTransfer/Functions/fviewFunction.mo | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/HeatTransfer/Functions/fviewFunction.mo b/HeatTransfer/Functions/fviewFunction.mo
index 6ba88e1..e96fdd5 100644
--- a/HeatTransfer/Functions/fviewFunction.mo
+++ b/HeatTransfer/Functions/fviewFunction.mo
@@ -14,8 +14,8 @@ protected
 algorithm
 
   for i in 1:size(Awall,1) loop
-    if Awall[i] > sum(Awall)*0.48 then
-      assert(false,"The surface with the index "+String(i)+" is greater than 48 percent of total surface, Fview factor not calculated\n", AssertionLevel.error);
+    if Awall[i] > sum(Awall)*0.499 then
+      assert(false,"The surface with the index "+String(i)+" is greater than 49.9 percent of total surface, Fview factor not calculated\n", AssertionLevel.error);
     end if;
   end for;
 
-- 
GitLab