First order partial differential equations system - Numerical solution
Ältere Kommentare anzeigen
Hello everyone!
I would like to solve a first order partial differential equations (2 coupled equations) system numerically. I just want to make sure that my thoughts are correct.
So firstly, I will start by doing a discretization to each of the two equations and then I will use ode15s to solve the ordinary differential equations that I got from the first step. Am I right? Which method of discretization do you recommend me to use?
Note: My equations are similar to the linear advection equation but with a source term.
Thank you very much.
Malak
2 Kommentare
Torsten
am 16 Jan. 2019
Start with first-order upwind.
Malak Galal
am 18 Jan. 2019
Bearbeitet: Malak Galal
am 18 Jan. 2019
Akzeptierte Antwort
Weitere Antworten (3)
Malak Galal
am 21 Jan. 2019
0 Stimmen
Malak Galal
am 22 Feb. 2019
0 Stimmen
1 Kommentar
Torsten
am 22 Feb. 2019
Hello Malak,
nx and nt can be chosen completely independent from each other.
Best wishes
Torsten.
Kategorien
Mehr zu Linear Algebra finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
