フィルターのクリア

Solving a system of nonlinear inhomogneous ordinary differential equations?

5 ビュー (過去 30 日間)
Hayao
Hayao 2016 年 3 月 8 日
コメント済み: Hayao 2016 年 3 月 10 日
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 Center および File ExchangeProgramming についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by