Can we change the odesolver used by solvepde to a stiff solver?
5 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
I get the following error when I solve a system of pdes with solvepde.
"Failure at t=6.543976e-03. Unable to meet integration tolerances without reducing the step size below the smallest value allowed (1.387779e-17) at time t."
I know this error comes when the system is stiff.
Is there a way to change the odesolver used by solvepde to ode15s? What is the default odesolver used by solvepde?
0 commentaires
Réponses (1)
Walter Roberson
le 14 Sep 2016
It appears to me that there is no method to change the solver used for time dependent ode, that ode15s is always used. The file you need to look at is toolbox/pde/+pde/@PDEModel/solveTimeDependent.m relative to your MATLAB installation directory.
0 commentaires
Voir également
Catégories
En savoir plus sur Ordinary Differential Equations dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!