Hello,
I'm using ode solvers for my nonlinear problem in the form of:
Mx''+Cx'+Kx=F
in which M, C, and K are matrices and F is a vector, with nonlinear terms. I tried all ODE solvers, but they ran very slowly, and the best and fastest one was ODE23tb.
This solver was 100 times faster than others, but in some conditions of the problem, if the time interval is [0 10] for example, ode23tb quickly runs up to 5th second (for example in 1 minute) but stops at this second and do not go ahead, and spends one minute for every 0.001 seconds. It seems suddenly the time steps reduces to 10e-6.
I changed different options of ODE but were not effective.
May you help me?
Thanks.
3 Comments
Direct link to this comment
https://fr.mathworks.com/matlabcentral/answers/702817-ode23tb-stops-solving#comment_1228932
Direct link to this comment
https://fr.mathworks.com/matlabcentral/answers/702817-ode23tb-stops-solving#comment_1228932
Direct link to this comment
https://fr.mathworks.com/matlabcentral/answers/702817-ode23tb-stops-solving#comment_1229027
Direct link to this comment
https://fr.mathworks.com/matlabcentral/answers/702817-ode23tb-stops-solving#comment_1229027
Direct link to this comment
https://fr.mathworks.com/matlabcentral/answers/702817-ode23tb-stops-solving#comment_1230092
Direct link to this comment
https://fr.mathworks.com/matlabcentral/answers/702817-ode23tb-stops-solving#comment_1230092
Sign in to comment.