ODE15s not able to achieve the specified final time 'tf' in [t0 tf]

2 次查看(过去 30 天)
Hello,
I do have a set of ODE's which solves a chemical kinetics system. I am using some constraints to solve these equations and I am able to solve for few set of unknowns. However when I use more unknowns (~8) with 2 constraints to solve for rest 6 unknowns using ODE, I see the problem will not be solved till the final specified time. For e.g., I have specified initial time and final time as [t0 tf], which i pass to the ODE15s solver. So for the higher number of unknowns, the ODE solver will not solve until 'tf' has achieved (not blowing up as well). I have seen events being used to stop the code when steady state achieved, but I want something reverse. I want to know why the ODE solver do not finishes till the specified time! Can anyone help me why ODE solves only to a fraction of final time 'tf'? And also tell me how to fix this?
  1 个评论
Jan
Jan 2016-4-27
Without seeing any line of the code it is impossible to guess what's going on. What do you observe? Does ODE15 return and do you get any messages?

请先登录,再进行评论。

回答(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