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!