From ce57331d0a6149071872a1cc39e8e39d93bc7745 Mon Sep 17 00:00:00 2001 From: Kei Date: Wed, 6 Sep 2023 13:07:45 +0200 Subject: [PATCH] change the path name --- turtleFSI/monolithic.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/turtleFSI/monolithic.py b/turtleFSI/monolithic.py index 16e0aca..2a880fc 100644 --- a/turtleFSI/monolithic.py +++ b/turtleFSI/monolithic.py @@ -64,8 +64,8 @@ # Save mesh, domains, and boundaries for post-processing if restart_folder is None: - mesh_path = results_folder.joinpath("Mesh", "mesh.h5") - with HDF5File(mesh.mpi_comm(), mesh_path.__str__(), "w") as hdf: + h5_mesh_path = results_folder.joinpath("Mesh", "mesh.h5") + with HDF5File(mesh.mpi_comm(), h5_mesh_path.__str__(), "w") as hdf: hdf.write(mesh, "/mesh") hdf.write(boundaries, "/boundaries") hdf.write(domains, "/domains")