How to implement implicit methods in partial differential equations in matlab pdepe?
4 次查看(过去 30 天)
显示 更早的评论
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
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 Exchange 中查找有关 Ordinary Differential Equations 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!