We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a209f92 + be09bdd commit 803b318Copy full SHA for 803b318
turtleFSI/monolithic.py
@@ -62,6 +62,14 @@
62
# Get mesh information
63
mesh, domains, boundaries = get_mesh_domain_and_boundaries(**vars())
64
65
+# Save mesh, domains, and boundaries for post-processing
66
+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:
69
+ hdf.write(mesh, "/mesh")
70
+ hdf.write(boundaries, "/boundaries")
71
+ hdf.write(domains, "/domains")
72
+
73
# Control FEniCS output
74
set_log_level(loglevel)
75
0 commit comments