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

5 次查看(过去 30 天)
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!

回答(1 个)

Torsten
Torsten 2024-2-27
编辑:Torsten 2024-2-27
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