How to solve PDE with two regions
5 ビュー (過去 30 日間)
古いコメントを表示
Suppose I've a PDE which is valid in two regions.
Can we solve this eqns with pdepe solver?
0 件のコメント
回答 (1 件)
Torsten
2023 年 1 月 10 日
Yes.
Choose "a" as a grid point for pdepe. Then you can solve your system as one partial differential equation for C_B by adding the source term depending on whether z < a or z >= a.
4 件のコメント
Torsten
2023 年 1 月 11 日
Can we solve above system with these BC's?
Not with pdepe.
You will have to discretize your equation and your transmission conditions in space, leave the time derivative in its continuous form and solve the system of ordinary differential equations using ODE15S.
Look up "method of lines" for more details.
参考
カテゴリ
Help Center および File Exchange で PDE Solvers についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!