[petsc-users] Choosing the best solvers for ISPH

Matthew Knepley knepley at gmail.com
Sat Mar 17 07:44:13 CDT 2018


On Sat, Mar 17, 2018 at 8:41 AM, 我 <dayedut123 at 163.com> wrote:

> Hi,
> I use PETSC to solve the unsymmetrical matrix which is formed by the
> incompressible SPH method. Due to the scale of the problem is huge, I want
> to choose the best and the most efficient solver. I have checked the
> time-cost of the pre-conditioner PCGAMG together with the solvers like
> KSPCGS, KSPGMRES, KSPBCGS, KSPTFQMR and KSPGCR, but the difference between
> them is really really small. Except comparing the time-cost, are there any
> other properties that I can compare in order to find the most efficient
> solver? Are there any suggestions about choosing the best solver? Besides,
> I want to further speed the solving process up, are there any suggestions?
>

Yes, the convergence of an iterative solver is strongly dependent on the
equation you are solving.
We recommend doing a literature search to find what solvers people
recommend. These should be
easy to reproduce in PETSc. Can you write the equation for us?

  Thanks,

    Matt


> Thank you very much!
> Daye
>
-- 
What most experimenters take for granted before they begin their
experiments is infinitely more interesting than any results to which their
experiments lead.
-- Norbert Wiener

https://www.cse.buffalo.edu/~knepley/ <http://www.caam.rice.edu/~mk51/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20180317/f4eadaa9/attachment.html>


More information about the petsc-users mailing list