Effacer les filtres
Effacer les filtres

Is matlab able to solve a system of coupled PDE and ODE?

12 vues (au cours des 30 derniers jours)
Sharon
Sharon le 27 Fév 2024
Modifié(e) : Torsten le 27 Fév 2024
Matlab website says that pdepe(m,pdefun,icfun,bcfun,xmesh,tspan) solves a system of parabolic and elliptic PDEs with one spatial variable x and time t. At least one equation must be parabolic. I do not see any examples using pdepe to solve a system of parabolic and elliptic PDE. Could you please explain how to use pdepde to solve a system of parabolic and elliptic PDE? Any help would be appreciated!

Réponses (1)

Torsten
Torsten le 27 Fév 2024
Modifié(e) : Torsten le 27 Fév 2024
Setting c = 0 in "pdefun" deletes the time derivative of the respective equation and makes the equation an elliptic one.
But you ask about ODEs. ODEs only depend on t which makes f = 0 in "pdefun" - and this usually isn't possible with "pdepe".
Bill Greene claims that his code "pde1dm" can handle ODEs - maybe you can try his code:
Maybe you can include your equations to check what is possible and what is not.

Community Treasure Hunt

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

Start Hunting!

Translated by