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

5 visualizzazioni (ultimi 30 giorni)
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.

Risposta accettata

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

Accedi per commentare.

Più risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by