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")