Re: [petsc-users] KSP Set Operators to be calculated before RHS

2015-11-28 Thread Matthew Knepley
On Sat, Nov 28, 2015 at 12:40 AM, Mostafa Ghadamyari wrote: > Hi all, > > I've used PETSc to develop my SIMPLE algorithm CFD code. SIMPLE algorithm > has its own way to handle non-linearity of Navier-Stokes equation's so I > only used PETSc's KSP solvers. > > In the SIMPLE algorithm, the diagonal

[petsc-users] KSP Set Operators to be calculated before RHS

2015-11-27 Thread Mostafa Ghadamyari
Hi all, I've used PETSc to develop my SIMPLE algorithm CFD code. SIMPLE algorithm has its own way to handle non-linearity of Navier-Stokes equation's so I only used PETSc's KSP solvers. In the SIMPLE algorithm, the diagonal coefficient of the matrix is used in the right hand side for implicit