Borrar filtros
Borrar filtros

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

6 visualizaciones (últimos 30 días)
Sharon
Sharon el 27 de Feb. de 2024
Editada: Torsten el 27 de Feb. de 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!

Respuestas (1)

Torsten
Torsten el 27 de Feb. de 2024
Editada: Torsten el 27 de Feb. de 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