Corrective action after Newton iteration exception
3 views (last 30 days)
Show older comments
During a typical Simulink simulation, if a variable-step solver is used, when the error tolerances are not satisfied the solver reduces the stepsize as a corrective action.
I wonder if a similar corrrective action happens whenever a Newton-iteration exception occurs: in this case, does the solver simply reduce the stepsize for the following integration step? Or is there any other specific action?
Does this also depend on the type of Newton-iteration exception? (depending on the solver used, "DAE" Newton Iteration exceptions or "ODE" Newton iteration exceptions could occur)
0 Comments
Accepted Answer
Torsten
on 23 Nov 2022
Edited: Torsten
on 23 Nov 2022
I wonder if a similar corrrective action happens whenever a Newton-iteration exception occurs: in this case, does the solver simply reduce the stepsize for the following integration step?
Not for the following, but for the current because the current step has to be repeated.
Or is there any other specific action?
Reduction of the integration order of the integrator if variable order is possible (like for BDF solvers or some Runge-Kutta codes).
Does this also depend on the type of Newton-iteration exception? (depending on the solver used, "DAE" Newton Iteration exceptions or "ODE" Newton iteration exceptions could occur)
I don't think it will be possible for the solver to decide whether the failure was due to the algebraic or the differential part of the DAE system. So no.
0 Comments
More Answers (0)
See Also
Categories
Find more on Ordinary Differential Equations in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!