solvepde resulting in Error: Step size too small.
14 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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 comentarios
Respuestas (3)
Alan Weiss
el 24 de Ag. de 2017
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 comentarios
Sravan Kumar Putta
el 7 de En. de 2021
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
el 29 de Ag. de 2017
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 comentarios
Ver también
Categorías
Más información sobre Eigenvalue Problems en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!