Solving a first order hyperbolic PDE using matlab solvers.
6 ビュー (過去 30 日間)
古いコメントを表示
Hi all,
I'm looking to see whether Matlab has an in-built solver for hyperbolic partial differential equations. I know of pdepe and I'm looking for an equivalent for hyperbolic equations:
du/dt = a(x,t) du/dx + f(u)
I already know how to write my own code for it using LW methods and I can already solve analytically using the method of characteristics. The reason I want a Matlab solver is that I'm looking at the efficiency of Matlab solvers and I'm building up from very basic equations which have clear analytic solutions to rather more complicated equations which have a whole mass of nonlinear terms.
I've checked out a lot of other Matlab questions but I keep seeing the answers 'use method of characteristics' or 'write some code for it' which doesn't quite fit with the work I'm trying to do.
Thanks,
A
0 件のコメント
回答 (1 件)
Ayush
2024 年 10 月 3 日
In order to solve the hyperbolic PDE problem you can use hyperbolic function. You may refer to this link:
However, solvepde is recommened over hyperbolic to solve such PDEs. Refer to this link:
Please note that solvepde is introduced from R2016a release.
I hope it helps!
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Eigenvalue Problems についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!