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

5 visualizaciones (últimos 30 días)
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 comentario
Torsten
Torsten el 15 de En. de 2025
Editada: Torsten el 15 de En. de 2025
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.

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Ordinary Differential Equations en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2024a

Community Treasure Hunt

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

Start Hunting!

Translated by