How to implement implicit methods in partial differential equations in matlab pdepe?

9 ビュー (過去 30 日間)
Rahul
Rahul 2025 年 1 月 15 日
編集済み: Torsten 2025 年 1 月 15 日
Hello,
Refer to the above cited subject, I'm using pdepe for solving a complex partial dieeferntial equation. I'm not sure if matlab uses explicit or implicit method internally. However, at the right bondary for which I'm using newmann bc, I'm getting some erratic solutions which is not expected.
I'd like to know how to use implicit method in matlab, if you can show any example which can be referred, would help me.
  1 件のコメント
Torsten
Torsten 2025 年 1 月 15 日
編集済み: Torsten 2025 年 1 月 15 日
MATLAB uses the method-of-lines within "pdepe". Thus it uses finite-difference approximations for the spatial coordinate derivatives and an implicit ODE-solver (ODE15S) to solve the resulting system of ordinary differential equations in the grid points. Changes to the solver method are impossible. Maybe you should include your code and the equations you try to solve with initial and boundary conditions here so that we can see if you somewhere made a mistake in the problem set-up.
If you are still working on your old equation: My guess is that "pdepe" is not suited in this case.

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeOrdinary Differential Equations についてさらに検索

タグ

製品


リリース

R2024a

Community Treasure Hunt

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

Start Hunting!

Translated by