Solid Temperature Solver¶
The SolidTemperatureSolver configures the linear and nonlinear solution
strategy of the SolidTemperatureModel. For the underlying method, see
Linear Solvers and
Newton Form.
Access it with SolidTemperatureModel.get_solver().
Methods¶
set_verbose¶
Enable or disable verbose solver output.
Args:
- verbose: If
True, the solver prints additional information.
set_iteration_number¶
Set the maximum number of iterations of the linear solver.
set_relative_tolerance¶
Set the relative tolerance of the linear solver.
set_absolute_tolerance¶
Set the absolute tolerance of the linear solver.
set_under_relaxation_factor¶
Set the under-relaxation factor (URF) used for nonlinear iterations.
Args:
- under_relaxation_factor: Value in \((0, 1]\). Smaller values add damping and can improve robustness for strongly nonlinear cases.
set_frozen¶
Freeze the solver and model state (no updates during solves).
Args:
- is_frozen: If
True, the solver state is not updated during a solve.