<div dir="ltr">So you have a 2D Poisson solver and it is working on large problems but the linear solver is diverging on small problems.<div><br></div><div>I would verify the the solution is good on the large problem.</div><div><br></div><div>You might have a problem with boundary conditions. What BCs do you think you are using?</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Apr 5, 2019 at 4:33 PM Maahi Talukder via petsc-users <<a href="mailto:petsc-users@mcs.anl.gov">petsc-users@mcs.anl.gov</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Dear All,<br><div><br></div><div>I am solving a linear system arising from 9-point discretization of Poisson equation to generate grid. KSP solvers are giving nice converged result when I am dealing with a large matrix. But when I am trying to implement KSP solvers when the matrix is smaller and the values are smaller too, the solution is diverging. </div><div>Any suggestions how to get around this problem?</div><div><br></div><div><br></div><div>Regards,</div><div>Maahi Talukder</div><div><br></div><div><br></div><div><br></div><div><br></div></div>
</blockquote></div>