Solving a first order hyperbolic PDE using matlab solvers.

6 ビュー (過去 30 日間)
Alexander Martin
Alexander Martin 2012 年 11 月 16 日
回答済み: Ayush 2024 年 10 月 3 日
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

回答 (1 件)

Ayush
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!

カテゴリ

Help Center および File ExchangeEigenvalue Problems についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by