Unable to meet integration tolerances without reducing the step size below the smallest value allowed (3.552714e-15) at time t.
7 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
MarionJ
am 12 Mai 2017
Bearbeitet: Torsten
am 30 Mär. 2023
Hello
Using the parabolic-solver to solve thermal conduction equation I got following message: Warning: Failure at t=1.127658e+00. Unable to meet integration tolerances without reducing the step size below the smallest value allowed (3.552714e-15) at time t. The failure occurs in ode15s-solver.
I have absolutely no idea where to start failure search... and I am very grateful for any help.
LF
0 Kommentare
Akzeptierte Antwort
Star Strider
am 12 Mai 2017
That error usually occurs when your function creates a singularity or other discontinuity (with an Inf or NaN result) at the specified time. The only way to determine that is to examine the output of your ode15s call to see what the values are when it stops.
Plotting the output (all columns of the result as functions of your independent variable) will probably tell you everything you need to know about the problem.
4 Kommentare
Amanda Gregory
am 30 Mär. 2023
Also experiencing this issue. My understanding was the PDE solver serched for NaN values to determine nonlinearity, is this not the case?
Torsten
am 30 Mär. 2023
Bearbeitet: Torsten
am 30 Mär. 2023
is this not the case?
No. Detecting NaN values during a computation will make the solver stop immediately. This applies at least for the underlying ODE integrator (ode15s). I don't know about possible functionalities of the superordinate PDE solver.
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Ordinary Differential Equations finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!