Solver Settings

A Solver Settings block configures the solver.

The solver settings block requires setting either:

  • S: the grid cell size of the simulation

  • Res: the grid resolution (Res) of the simulation

Note

If both resolution and cell size are set, cell size will be used and resolution will be ignored

The solver settings block accepts the following optional inputs:

  • St: whether to use a direct solver (the default) or an iterative solver

  • B: the finite element type where 1 selects linear elements (the default) and 2 selects quadratic elements

  • SD: path to custom location to store solutions

  • N: number of threads for the solver to use

solver_settings.png

For hints on how to set these quantities, see ❓ Frequently Asked Questions.