Effacer les filtres
Effacer les filtres

Solving a system of nonlinear inhomogneous ordinary differential equations?

5 vues (au cours des 30 derniers jours)
Hayao
Hayao le 8 Mar 2016
Commenté : Hayao le 10 Mar 2016
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 commentaires
John D'Errico
John D'Errico le 9 Mar 2016
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 le 10 Mar 2016
Okay, Thank you.
Do you think numerical method is better than linearization of ODEs?

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Programming dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by