From 37095c13209ee8f17c7824fbfe92e7e8d002ea18 Mon Sep 17 00:00:00 2001
From: Kenan Cengiz <cengiz@tfd.uni-hannover.de>
Date: Wed, 25 Sep 2024 14:28:40 +0200
Subject: [PATCH] Update Liutex.py

---
 Liutex.py | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/Liutex.py b/Liutex.py
index 7aee9c7..7bcb4d2 100644
--- a/Liutex.py
+++ b/Liutex.py
@@ -200,8 +200,8 @@ def main():
     mesh = update_mesh_with_omega_liutex(mesh, a, b)
 
     # Save the mesh with vorticity and omega data to a VTK file
-    mesh.save("Liu_Rortex_T106C_Re80K_19.09.vtk")
-    print("Dataset saved as Liu_Rortex_T106C_Re80K_19.09.vtk")
+    mesh.save("Liu_Rortex_T106C_Re80K_19.09.vtu")
+    print("Dataset saved as Liu_Rortex_T106C_Re80K_19.09.vtu")
 
     # Selecting seed points in high vorticity regions
     vorticity_threshold = np.percentile(vorticity_magnitude, 90)  # Top 10% vorticity magnitude
@@ -224,8 +224,8 @@ def main():
 
     # Save vorticity lines
     vorticity_mesh = mesh.streamlines_from_source(seed_polydata, vectors='Velocity')
-    vorticity_mesh.save("Vorticity_Lines_Blade_19.09.vtk")
-    print("Vorticity lines saved as Vorticity_Lines_Blade_19.09.vtk")
+    vorticity_mesh.save("Vorticity_Lines_Blade_19.09.vtu")
+    print("Vorticity lines saved as Vorticity_Lines_Blade_19.09.vtu")
 
     plotter.add_axes()
     plotter.view_isometric()
-- 
GitLab