Can we change the odesolver used by solvepde to a stiff solver?

5 visualizaciones (últimos 30 días)
mrugesh
mrugesh el 14 de Sept. de 2016
Respondida: Walter Roberson el 14 de Sept. de 2016
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?

Respuestas (1)

Walter Roberson
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.

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!

Translated by