5.5. Continuing a stopped simulation
Spatio-temporal simulations can be time consuming and you might have to reboot for whatever reasons, causing your simulation to stop. In that case, you can continue the simulation at the last written output by adding the command line argument --runmode c to the call:
python MY_SIMULATION.py --runmode c
where MY_SIMULATION.py is of course your simulation script. You can only continue if the property write_states is True, which is the default. The state files (found in the sub-directory _states of your output directory) contain all information of the current state of the simulation which allows to continue.
Warning
Continuing a stopped simulation does not really work if you do stationary solves, arc length continuations, etc. It only works correcly if you just use the run() call to perform a temporal integration of the system. In future, it might change to be more flexible.