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

조회 수: 5 (최근 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 CenterFile Exchange에서 Ordinary Differential Equations에 대해 자세히 알아보기

태그

제품


릴리스

R2024a

Community Treasure Hunt

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

Start Hunting!

Translated by