Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[1D] Fixed a case where the Newton solver could get stuck
Sometimes, while trying to solve the steady-state problem, the Newton solver would get stuck in a loop where it couldn't find a suitable damping ratio even after re-revaluating the Jacobian, causing it to get stuck in an loop where it would keep re-evaluating the Jacobian at the same point (i.e. without having made a successful damped step). This change detects this condition and stops the Newton solver so that the 1D solver can advance the solution by timestepping before trying to solve the steady-state problem again.
- Loading branch information