1D PDE in Matlab with pdepe, first order

Hello,
I have several partial differential equations in the form of
Is it possible to solve these equations in Matlab with the pdepe solver? If yes, is it possible to combine these equations with odes?
Or does it make more sense to discretize my equations in space and solve the ordinary differential equations? (MoL)
Thanks in advance,
Julian

3 Commenti

I suggest you take a look at the paper and code on this page, Shampine, under the heading Hyperbolic PDEs.
Thanks a lot, I will take a look at it. At my first glance it looks like thats the solver I was looking for.
Do you have any experience with this solver if I may have questions in the future?
Julian
Hallo together,
could someone please explain, why this equation should be hyperbolic? Isn't it elliptical?
Thanks a lot

Accedi per commentare.

Risposte (1)

Pravin Jagtap
Pravin Jagtap il 4 Feb 2020
Hello JulianK,
‘pdepe’ is used to solve system of parabolic and elliptic PDEs with one temporal and one spatial variable (Make sure that your system follow that).
I woild suggest that refer following documentation for understanding how to use ‘pdepe’:
For solving the the system of PDEs, refer following documentation:
Above documentation will give you idea about how to use PDE toolbox

Richiesto:

il 31 Gen 2020

Commentato:

il 25 Giu 2021

Community Treasure Hunt

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

Start Hunting!

Translated by