From 81dd8bd01670e5702b37fab1cbdd19e333ae9d1f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Chi-Tu=C3=A2n=20Pham?= <chi-tuan.pham@edf.fr>
Date: Sun, 29 Dec 2024 19:42:54 +0100
Subject: [PATCH] [VnV][telemac3d] More relevant variable to be drawned
 Vertical velocity W along z, rather than horizontal velocity V along x

---
 examples/telemac3d/vent/vnv_vent.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/examples/telemac3d/vent/vnv_vent.py b/examples/telemac3d/vent/vnv_vent.py
index f729b5986a..bad6b2e51c 100644
--- a/examples/telemac3d/vent/vnv_vent.py
+++ b/examples/telemac3d/vent/vnv_vent.py
@@ -123,7 +123,7 @@ class VnvStudy(AbstractVnvStudy):
 
         # Plotting vertical split
         vnv_plot2d(\
-                   'VELOCITY V',
+                   'VELOCITY W',
                    res,
                    poly=[[0, 50], [500, 50]],
                    y_label='z (m)',
@@ -154,7 +154,7 @@ class VnvStudy(AbstractVnvStudy):
         # slice at initial time step (-1) of the velocity v variable
         _, _, vel_v =\
                res.get_data_on_vertical_plane(\
-                 'VELOCITY V', -1, poly_points, poly_number)
+                 'VELOCITY W', -1, poly_points, poly_number)
         # creation of a mesh from the elevation value and curvilinear coordinate of the polyline
         mesh = triangulation_from_data(abs_curv, values_poly_z)
 
-- 
GitLab