solvepde resulting in Error: Step size too small.
14 ビュー (過去 30 日間)
古いコメントを表示
Hi,
I'm trying to solve a magnetostatic problem in the PDE Toolbox on a complex geometry of a synchronous motor from the commandline using the recommended workflow. If I specify a current density on my stator winding of 2*10^8 it results in the error stated below. 2*10^7 or 2*10^9 work just fine. Unfortunately the permanent magnet is also modeled with a current density which also results exactly in this error. In this thread a solution is presented, which could work for the legacy workflow using pdenonlin. Is there a similar option in the Recommended workflow with the function solvepde? I could only find the solveroption which i already played around with, but without any luck. Also there is no option for adjusting the Jacobi-Matrix.
Thank you in advance for your help.
% Error using pde.EquationModel/solveStationaryNonlinear (line 104)
% Stepsize too small.
%
% Error in pde.PDEModel/solvepde (line 77)
% u = self.solveStationaryNonlinear(coefstruct, u0);
%
% Error in Main (line 153)
% result = solvepde(motor);
0 件のコメント
回答 (3 件)
Alan Weiss
2017 年 8 月 24 日
The error comes from the nonlinear solver having trouble. You might be able to get an answer by giving an initial guess of the solution.
Good luck,
Alan Weiss
MATLAB mathematical toolbox documentation
2 件のコメント
Sravan Kumar Putta
2021 年 1 月 7 日
Have you got the solution to your probem ? Even i am facing the same issue... It would be great if you address me with the issue.
Johannes Maierhofer
2017 年 8 月 29 日
Hello,
i have the exact same problem. I try to solve a magnetostatic problem using the recommended workflow with Matlab 2017a, resulting in the error: Stepsize too small.
I also tried to play around with the solveroptions.
With best regards
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Eigenvalue Problems についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!