Skip to content

Commit 48bd3ef

Browse files
authored
Merge pull request #84 from keiyamamo/save_mesh
change the path name
2 parents 803b318 + ce57331 commit 48bd3ef

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

turtleFSI/monolithic.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,8 @@
6464

6565
# Save mesh, domains, and boundaries for post-processing
6666
if restart_folder is None:
67-
mesh_path = results_folder.joinpath("Mesh", "mesh.h5")
68-
with HDF5File(mesh.mpi_comm(), mesh_path.__str__(), "w") as hdf:
67+
h5_mesh_path = results_folder.joinpath("Mesh", "mesh.h5")
68+
with HDF5File(mesh.mpi_comm(), h5_mesh_path.__str__(), "w") as hdf:
6969
hdf.write(mesh, "/mesh")
7070
hdf.write(boundaries, "/boundaries")
7171
hdf.write(domains, "/domains")

0 commit comments

Comments
 (0)