Why does using the Partial Differential Equation (PDE) Toolbox result in the error: step size too small ?
2 ビュー (過去 30 日間)
古いコメントを表示
When using the Partial Differential Equation (PDE) Toolbox, I get the following error:
step size too small.
採用された回答
MathWorks Support Team
2012 年 12 月 18 日
When you get the error "step size too small", you can try the following to resolve it:
1. Try using a "lumped" of full Jacobian instead of the fixed one, which is the default. The Jacobian approximation method is selected in the Solve Parameters dialog box, which you open by selecting Parameters... from the Solve menu. Often, using the full or "lumped" Jacobian helps to achieve convergence at the cost of some extra computations. In this case, the "lumped" Jacobian works; the full Jacobian fails due to a singularity.
2. Specify a suitable initial solution. A good guess of what the soultion will look like can be used as a starting point for the nonlinear solver. The initial value can also be entered in the Solve Parameters dialog box. If you don't specify an initial solution, zero is used as the default.
0 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Boundary Conditions についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!