pde1dm compared to pdepe
Show older comments
pde1dm is an extended version of pdepe and it can solve equations pdepe can't solve. I wonder about the differences between these two algorithms in the spatial discretization?
5 Comments
feynman feynman
on 8 Feb 2024
Edited: feynman feynman
on 8 Feb 2024
If the mesh is too coarse, solutions can diverge and thus make the ODE solver to quit.
I don't know where you found that "even if the mesh is very coarse in finite elements there is no nothing to stop the program from running and cause reporting errors."
feynman feynman
on 8 Feb 2024
How should the finite element method produce a result converging to a senseful solution if you use e.g. (exaggerated, I admit), three mesh points for a distance of 100 km ? I can imagine that such a problem could produce Inf or an oscillating solution in the center point during time integration.
And there is no result I remember that says "the finite element method is stable per se". This can't be true because there is no such thing as "the" finite element method.
feynman feynman
on 5 Mar 2024
Accepted Answer
More Answers (1)
I wonder about the differences between these two algorithms in the spatial discretization?
No difference. pde1dm has the option to add ordinary differential equations to the system of partial differential equations and in the boundary condition part, but this doesn't change the numerical kernel.
2 Comments
feynman feynman
on 2 Feb 2024
Torsten
on 2 Feb 2024
You should contact the author of the code - Bill Greene.
Categories
Find more on Numerical Integration and Differential Equations in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!