-
Notifications
You must be signed in to change notification settings - Fork 8
Description
Summary:
Add functionality to write the output of a MIRCO simulation to a file. This includes both the displacement field and the active contact set on the structured grid.
Motivation:
Currently, MIRCO runs simulations but does not provide a built-in way to persist simulation results for later use. Being able to export key output data would greatly enhance the workflow for post-processing, visualization, and potential continuation of simulations.
Proposed Feature:
- Implement a mechanism to write simulation results — particularly the displacement field and the active contact set — to a file.
- The output format should ideally be a standard binary format suitable for interoperability with visualization and post-processing tools (e.g., .bin, .h5, .vtk, etc.).
- The feature should include an option for selecting the output file path.
Use Cases:
-
Visualization and Analysis: Exported data can be imported into standard visualization tools to inspect the results of a simulation.
-
Post-processing: Enables further numerical or analytical processing of the displacement and contact data.
-
Future Extensions (Restart / Load Steps):
While out of scope for this issue, the same mechanism could support future capabilities such as restarting simulations or running multiple load steps sequentially. In such cases, the active set from one load step could serve as an initial guess for the next, making this output mechanism foundational for later developments.
Benefits:
- Facilitates integration with external tools.
- Improves reproducibility and analysis capabilities.
- Lays groundwork for future restart and load-step functionality.
Related Issues and Merge Requests
- Related to Implement postprocess #84 Define desired input-output relationship and fix the code accordingly #14 Verbosity of MIRCO output #118