ODE15S problem with solver

조회 수: 9 (최근 30일)
Christian Lenz
Christian Lenz 2012년 8월 28일
I try to solve a stiff non-linear ODE including a time-dependent term with ode15s (and I tried others too) using mass matrix. Matlab starts computing but then displays a warning and aborts:
Warning: Failure at t=4.691305e-05. Unable to meet integration tolerances
without reducing the step size below the smallest value allowed
(1.084202e-19) at time t.
Does anybody have an idea how to avoid this?
Thanks!

채택된 답변

Lucas García
Lucas García 2012년 8월 28일
Have you tried with all the different stiff solvers available? ode15s, ode23s, ode23t and ode23tb. It could be that the problem you are trying to solve is too stiff for a solver but can be solved with another.
Also, it can be a singularity issue. Maybe this technical solution can help:
  댓글 수: 1
Christian Lenz
Christian Lenz 2012년 8월 28일
Thank you, Lucas. Yes, I tried them. But none seems to work out-of-the-box... I tried to tune parameters. It seems that the time-dependent term is very critical as soon as it changes fast, the solver aborts with the above warning.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Ordinary Differential Equations에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by