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

4 views (last 30 days)
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.

Accepted Answer

Alan Weiss
Alan Weiss on 14 Jun 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 Comments
Kaveh Gharibi
Kaveh Gharibi on 14 Jun 2017
Edited: Kaveh Gharibi on 14 Jun 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 on 14 Jun 2017
I found out that I made a mistake in finding the coefficients. you need to be careful when converting everything to divergence form.

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!