4.1.1.5.1.2. pyfem.io.DataDump module

class DataDump(props: Any, globdat: Any)[source]

Bases: BaseModule

Module for saving simulation state to disk using pickle serialization.

Periodically saves the properties and global data to a pickle file, allowing simulation restart or post-processing.

run(props: Any, globdat: Any) None[source]

Save simulation state to a pickle file.

Writes the current properties and global data to a pickle file at intervals specified by the interval attribute.

Parameters:
  • props – Properties dictionary containing simulation parameters.

  • globdat – Global data object containing current simulation state.