Can we change the odesolver used by solvepde to a stiff solver?
5 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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 comentarios
Respuestas (1)
Walter Roberson
el 14 de Sept. de 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 comentarios
Ver también
Categorías
Más información sobre Ordinary Differential Equations en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!