Skip to content

Commit

Permalink
Merge pull request #84 from keiyamamo/save_mesh
Browse files Browse the repository at this point in the history
change the path name
  • Loading branch information
keiyamamo authored Sep 6, 2023
2 parents 803b318 + ce57331 commit 48bd3ef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions turtleFSI/monolithic.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 48bd3ef

Please sign in to comment.