Error using pde.Equati​onModel/so​lveStation​aryNonline​ar (line 104) Stepsize too small.

5 vues (au cours des 30 derniers jours)
I am solving this system of PDEs with diritchlet boundry conditions and It does not converge, and gives me this error.
Error using pde.EquationModel/solveStationaryNonlinear (line 104)
Stepsize too small.
Do you know how can I solve it.

Réponse acceptée

Alan Weiss
Alan Weiss le 14 Juin 2017
Are you giving nonzero initial conditions for the solution? It looks like your equations might be singular where the solution gradient is zero, so your initial conditions should avoid those areas.
Just a guess,
Alan Weiss
MATLAB mathematical toolbox documentation
  3 commentaires
Kaveh Gharibi
Kaveh Gharibi le 14 Juin 2017
Modifié(e) : Kaveh Gharibi le 14 Juin 2017
The problem is it doesn't converge. The residual doesn't go to 0.0001. It is around 0.1.
Kaveh Gharibi
Kaveh Gharibi le 14 Juin 2017
I found out that I made a mistake in finding the coefficients. you need to be careful when converting everything to divergence form.

Connectez-vous pour commenter.

Plus de réponses (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by