From 71c7b4f857f9f1c47fd949434221bb3e18a37611 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Chi-Tu=C3=A2n=20Pham?= <chi-tuan.pham@edf.fr>
Date: Wed, 8 Jan 2025 09:51:37 +0100
Subject: [PATCH] [VnV][telemac3d] Update vasque example with better choices
 for 2 keywords - use of gradient conjugate + preconditioning 34 = 2*17 to
 solve PPE, more efficient than GMRES or CGSTAB (previous choice) for this
 example

---
 examples/telemac3d/vasque/doc/vasque.tex | 5 +++++
 examples/telemac3d/vasque/f3d_vasque.slf | 2 +-
 examples/telemac3d/vasque/t3d_vasque.cas | 3 ++-
 3 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/examples/telemac3d/vasque/doc/vasque.tex b/examples/telemac3d/vasque/doc/vasque.tex
index 89bb66db97..56498fa213 100644
--- a/examples/telemac3d/vasque/doc/vasque.tex
+++ b/examples/telemac3d/vasque/doc/vasque.tex
@@ -86,6 +86,11 @@ $z = 0.275\left( \cos(\frac{2\pi}{600}t) -1 \right)$ is imposed,
 The non-hydrostatic version of \telemac{3D} is used.
 To solve the advection, the method of characteristics (scheme \#1) is used for
 velocities.
+
+The conjugate gradient (option 1) combined with preconditioning = 34
+= 2 $\times$ 17 is used for solving PPE as more efficient than GMRES (option 7)
+or the former choice CGSTAB (option 6) for this example.
+
 The time step is 0.5~s for a simulated period of 300~s.
 
 \section{Results}
diff --git a/examples/telemac3d/vasque/f3d_vasque.slf b/examples/telemac3d/vasque/f3d_vasque.slf
index 0b0aa8b593..361277f717 100644
--- a/examples/telemac3d/vasque/f3d_vasque.slf
+++ b/examples/telemac3d/vasque/f3d_vasque.slf
@@ -1,3 +1,3 @@
 version https://git-lfs.github.com/spec/v1
-oid sha256:632699ccfe6706c86de6ae34529835925ec4dd12aa54d4048e9cfcffc24e5af0
+oid sha256:d197aed8ff05e8f1491d2166ced0f3a7d02fc94fae442836b2b9297fab167195
 size 310892
diff --git a/examples/telemac3d/vasque/t3d_vasque.cas b/examples/telemac3d/vasque/t3d_vasque.cas
index 8da1cfd95b..d307f86061 100644
--- a/examples/telemac3d/vasque/t3d_vasque.cas
+++ b/examples/telemac3d/vasque/t3d_vasque.cas
@@ -41,7 +41,8 @@ MASS-LUMPING FOR DEPTH : 1.
 /
 /  SYSTEMES LINEAIRES DE L'OPTION NON-HYDROSTATIQUE
 /
-SOLVER FOR PPE = 6
+SOLVER FOR PPE = 1
+PRECONDITIONING FOR PPE = 34
 /
 PRECONDITIONING FOR DIFFUSION OF VELOCITIES : 34
 /
-- 
GitLab