|July 5, 2012, 16:53||
Parallel solver for Poisson equation using PETSc
I am using the PETSc library to solve numerically the Poisson equation.
My domain is a square and the mesh is uniform. The poisson equation is discretized with
a 5-points stencil. The BCs are of Dirichlet's type.
To test the solver I compared an analytical solution with the numerical one and I found out my code produces incorrect results.
If I solve the system with the identity matrix, I am able to recover the know-terms vector, thus I suspect I am not setting up properly the off-diagonal elements of the coefficient matrix.
Is there anyone with some experience in using PETSc who could help me?
|parallel computing, petsc, poisson equation|
|Thread||Thread Starter||Forum||Replies||Last Post|
|Two equation turbulence models solver settings||truffaldino||FLUENT||0||March 5, 2011 21:49|
|temperature equation for one phase in multiphase solver||romant||OpenFOAM Programming & Development||0||April 13, 2010 05:06|
|Solver crashes (PVM parallel)||Marco Müller||CFX||2||February 4, 2009 03:51|
|Diffusion equation solved using Parallel Computing||Sachin Paramane||Main CFD Forum||0||June 11, 2007 23:48|
|direct parallel solver||sylvain||Main CFD Forum||2||June 25, 2001 07:56|