I am running a coupled OpenFOAM–CalculiX FSI simulation on an HPC cluster. Since the simulation is computationally expensive, it takes several weeks to complete. However, due to cluster job time limits, I can only run jobs for a maximum of one week at a time.
In OpenFOAM, I can easily resume the simulation from the latest time step by setting startFrom latestTime in the controlDict. However, I am not sure how to properly resume the simulation on the CalculiX side.
How can I restart or continue a coupled OpenFOAM–CalculiX simulation (with preCICE) after a job interruption? Specifically:
Is there a way to restart CalculiX from a previous state?
What changes (if any) are required in the CalculiX input files?
How should the restart be handled to ensure consistency with preCICE coupling?
Any guidance or best practices would be greatly appreciated.
I started documenting this at some point, based on some other resources:
If you could directly try things out and comment in the PR, it would be great to make some progress on it together. This is something that many users have asked.