CFD Online Logo CFD Online URL
Home > Forums > General Forums > Main CFD Forum

Parallel solver for Poisson equation using PETSc

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Search this Thread Display Modes
Old   July 5, 2012, 16:53
Default Parallel solver for Poisson equation using PETSc
New Member
Michele Rosso
Join Date: Oct 2009
Posts: 4
Rep Power: 16
JackNapier is on a distinguished road
Send a message via MSN to JackNapier

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?

JackNapier is offline   Reply With Quote


parallel computing, petsc, poisson equation

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Two equation turbulence models solver settings truffaldino FLUENT 0 March 5, 2011 20: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 02: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

All times are GMT -4. The time now is 06:25.