Saving Intermediate Solutions

This section deals with different approaches to saving the simulation while still iterating toward a final solution.

Three topics are discussed:

  • Saving the simulation before making steering changes
  • Saving multiple checkpoints
  • Automatically saving at regular intervals

Saving Before Making Steering Changes

It is good practice to save the simulation before making changes to solver parameters.

The section on steering the solution describes how you can change the simulation while it is running. When solver parameters that could result in solution divergence are changed, such as under-relaxation factors or Courant numbers, it is good practice to first save the simulation. This step allows the saved solution to be recovered in case divergence occurs after the change. The same can be said for other major changes to the simulation, such as models changes or boundary condition changes.

Saving Multiple Checkpoints

It can be desirable to compare solutions from two different time-steps or two different times in a transient calculation.

You can save a copy of the simulation to allow this comparison to be done at a later stage.