First order partial differential equations system - Numerical solution
显示 更早的评论
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 个评论
Torsten
2019-1-16
Start with first-order upwind.
Malak Galal
2019-1-18
编辑:Malak Galal
2019-1-18
采纳的回答
更多回答(3 个)
Malak Galal
2019-2-22
0 个投票
1 个评论
Torsten
2019-2-22
Hello Malak,
nx and nt can be chosen completely independent from each other.
Best wishes
Torsten.
类别
在 帮助中心 和 File Exchange 中查找有关 Linear Algebra 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
