[petsc-users] snes options for rough solution

Praveen C cpraveen at gmail.com
Mon Dec 12 00:56:27 CST 2016


Increasing number of snes iterations, I get convergence.

So it is a problem of initial guess being too far from the solution of the
nonlinear equation.

Solution can be seen here

https://github.com/cpraveen/fenics/blob/master/1d/cosmic_ray/cosmic_ray.ipynb

Green curve is solution after two time steps.

It took about 100 snes iterations in first time step and about 50 in second
time step.

I use exact Jacobian and direct LU solve.

Thanks
praveen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20161212/81cd90d6/attachment.html>


More information about the petsc-users mailing list