Solving a system of nonlinear inhomogneous ordinary differential equations?

조회 수: 1 (최근 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 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