Jeff67 |
March 27, 2011 11:23 |
Problem with Poisson equation with Neumann BC
Hi everybody !
In my CFD code, I use the pressure correction method and the package Fishpack to solve the pressure poisson equation. I tried to make my own solver for 2D Poisson equation with non homogeneous Neumann BC (FD scheme with )
I realized that it was not as easy as Dirichlet BC : I don't really know how to construct my matrix A. For example for a grid of 3x3 points, here is my matrix A : ( in i represtents x and j represents y)
My vector of unknowns p :
and the vector B :
What do you think ? Is that correct ? What method should I use to solve this system ? SOR method ?
|