pde1dm compared to pdepe
Afficher commentaires plus anciens
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 commentaires
feynman feynman
le 8 Fév 2024
Modifié(e) : feynman feynman
le 8 Fév 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
le 8 Fév 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
le 5 Mar 2024
Réponse acceptée
Plus de réponses (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 commentaires
feynman feynman
le 2 Fév 2024
Torsten
le 2 Fév 2024
You should contact the author of the code - Bill Greene.
Catégories
En savoir plus sur Numerical Integration and Differential Equations dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!