Can we change the odesolver used by solvepde to a stiff solver?
조회 수: 4 (최근 30일)
이전 댓글 표시
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
답변 (1개)
Walter Roberson
2016년 9월 14일
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
참고 항목
카테고리
Help Center 및 File Exchange에서 Ordinary Differential Equations에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!