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

6 ビュー (過去 30 日間)
Sharon
Sharon 2024 年 2 月 27 日
編集済み: Torsten 2024 年 2 月 27 日
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.

カテゴリ

Help Center および File ExchangeEigenvalue Problems についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by