From 7bb9c0af0868ccdd618e8f3c50f4f0db6c3fbdea Mon Sep 17 00:00:00 2001
From: Dmitri Naumov <dmitri.naumov@ufz.de>
Date: Fri, 21 Jun 2024 13:23:50 +0200
Subject: [PATCH] [T/THM] Use better preconditioner for PETSc

Otherwise "divergence is detected" in the first iteration
of the first time step.
---
 .../ThermoHydroMechanics/HeatingHomogeneousDomain/hex_THM.prj   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Tests/Data/ThermoHydroMechanics/HeatingHomogeneousDomain/hex_THM.prj b/Tests/Data/ThermoHydroMechanics/HeatingHomogeneousDomain/hex_THM.prj
index a19417ed2bb..0036222525f 100644
--- a/Tests/Data/ThermoHydroMechanics/HeatingHomogeneousDomain/hex_THM.prj
+++ b/Tests/Data/ThermoHydroMechanics/HeatingHomogeneousDomain/hex_THM.prj
@@ -317,7 +317,7 @@
             <petsc>
                 <parameters>
                     -ksp_type bcgs
-                    -pc_type jacobi
+                    -pc_type gamg
                     -ksp_rtol 1.e-12 -ksp_atol 1.e-14
                     -ksp_max_it 4000
                 </parameters>
-- 
GitLab