For example it is possible to select a timestep that will cause the simulation to diverge and lots of other parameters that can cause this. Perhaps add some visual indication for when the simulation is unstable, or a button for finding a stable configuration automatically.