Setting Solver Parameters and Stopping Criteria

Set the appropriate solver parameters and stopping criteria for the simulation.

In this tutorial, charge and discharge currents have low values, and all variable changes are slow. Therefore, you can increase the time-step of the implicit solver to a large value.

The solver requirements for three-dimensional electrochemistry are higher than usual, because of the large differences in electrical and species conductivities in the different regions. These differences in conductivities affect the linear system. Therefore, you can change the expert properties of the AMG Linear Solver for Electric Potential.

To set the solver parameters and stopping criteria:

  1. Edit the Solvers node and set the following properties:
    Node Property Setting
    Implicit Unsteady Time-Step 10.0 s
    Electric Potential > AMG Linear Solver Enable Direct Solver Activated
    Maximum Direct Solver Equations 1024
  2. Edit the Stopping Criteria node and set the following properties:
    Node Property Setting
    Maximum Physical Time Enabled Activated
    Maximum Physical Time 100 s
    Maximum Inner Iterations Maximum Inner Iterations 10
  3. Save the simulation.