Is matlab able to solve a system of coupled PDE and ODE?
4 views (last 30 days)
Show older comments
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!
0 Comments
Answers (1)
Torsten
on 27 Feb 2024
Edited: Torsten
on 27 Feb 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.
0 Comments
See Also
Categories
Find more on Eigenvalue Problems in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!