Solving a system of nonlinear inhomogneous ordinary differential equations?

1 次查看(过去 30 天)
Hello everyone, I am planning to solve an extremely large nonlinear inhomogeneous ordinary differential equations (20 and more!). The solution should give me (exponential) dynamics of photochemical process (so the whole process is practically finished after few miliseconds).
I have two question here: 1) Is it recommended to use Linearization of the system of ODEs? The stability is definitely a problem, but I think they are more "analytical" than numerical method. Or is it better just to use numerical solvers? I am not very fond of mathematical definition of "stiffness" and so I am very unsure which ODE solver I should use. Since I have no experience in doing either of those, it's really hard to determine which method gives more accurate result.
2) I really have hard time with the input of differential equations on MATLAB. The equation is so large that it takes hours to write them and then check to see if I really got it right. Do you guys have any tip on how to be able to write large equations rather easily?
Thank you.
  6 个评论
John D'Errico
John D'Errico 2016-3-9
I'd expect to see at least some problems in that system with that rate differential. I'm also not at all surprised to hear about such a rate differential.
I agree with Star. ODE15s is the one I've gone too first when ODE45 has failed me, and it has usually worked quite nicely. If you look at
doc ode15s
I see a list of the various solvers, complete with guidelines telling you when to prefer one or another solver.
Hayao
Hayao 2016-3-10
Okay, Thank you.
Do you think numerical method is better than linearization of ODEs?

请先登录,再进行评论。

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