fedoo.MultiFrameDataSet.to_fdh5

MultiFrameDataSet.to_fdh5(filename: str, iteration: int = 0, overwrite: bool = False) None

Write the dataset to a FDH5 file.

Parameters:
  • filename (str) – Name of the FDH5 file. If no extension is provided, .fdh5 is appended.

  • iteration (int, default=0) – Result iteration id written under results/iter_<iteration>.

  • overwrite (bool, default=False) – If True, an existing file is removed before writing. If False, the mesh is kept and only the requested iteration is added or replaced.

Notes

Element and Gauss point fields attached to a MultiMesh are written under their matching submesh_X groups. Single Mesh datasets are written under submesh_0.