CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > General Forums > Main CFD Forum

How to solve a Poisson equation with only Neumann boundaries?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 31, 2009, 13:14
Default How to solve a Poisson equation with only Neumann boundaries?
  #1
New Member
 
Join Date: Mar 2009
Posts: 7
Rep Power: 17
mbgnfrx2 is on a distinguished road
I need to solve a pressure Poisson equation with only Nuemann boundaries with F.D. method. How we can get the unique results without introducing any errors into?


Many thanks in advance!
mbgnfrx2 is offline   Reply With Quote

Old   March 31, 2009, 20:46
Default
  #2
Member
 
Join Date: Mar 2009
Posts: 32
Rep Power: 17
gory is on a distinguished road
Specify a pressure value (any value) at just one point (anywhere) on the boundary.
gory is offline   Reply With Quote

Old   April 1, 2009, 03:23
Default
  #3
New Member
 
Join Date: Mar 2009
Posts: 7
Rep Power: 17
mbgnfrx2 is on a distinguished road
But if we set up a reference point at the boundary, certain error will introduced. any possibility we do not do that?

Cheers!
mbgnfrx2 is offline   Reply With Quote

Old   April 1, 2009, 09:56
Default
  #4
Member
 
Join Date: Mar 2009
Posts: 32
Rep Power: 17
gory is on a distinguished road
> certain error will introduced.

What kind of error? There is no unique exact solution to this problem, not just for discretely but analytically: the solution is unique only up to an additive constant.
gory is offline   Reply With Quote

Old   April 1, 2009, 11:12
Default
  #5
New Member
 
Join Date: Mar 2009
Posts: 7
Rep Power: 17
mbgnfrx2 is on a distinguished road
yes, that is the thing. If we set one of the point on the boundary as reference point, which is Dirichlet bounday. But how we can make sure it is also satisfying the Nuemann boundary condition? If it is not, error on the boundary will be introduced.

Cheers!
mbgnfrx2 is offline   Reply With Quote

Old   April 2, 2009, 02:56
Default
  #6
Senior Member
 
Rami Ben-Zvi
Join Date: Mar 2009
Posts: 155
Rep Power: 17
Rami is on a distinguished road
Quote:
Originally Posted by mbgnfrx2 View Post
yes, that is the thing. If we set one of the point on the boundary as reference point, which is Dirichlet bounday. But how we can make sure it is also satisfying the Nuemann boundary condition? If it is not, error on the boundary will be introduced.

Cheers!
You may prescribe the reference pressure value at any point, not necessarily on the boundary.
Rami is offline   Reply With Quote

Old   April 2, 2009, 04:01
Default
  #7
Member
 
MrFluent
Join Date: Mar 2009
Posts: 33
Rep Power: 17
mr_fluent is on a distinguished road
Quote:
Originally Posted by mbgnfrx2 View Post
I need to solve a pressure Poisson equation with only Nuemann boundaries with F.D. method. How we can get the unique results without introducing any errors into?


Many thanks in advance!
When you construct your matrix A.
Make Albnd = 0, and do not add its contribution to Ap (or diagonal element).

Imagine that your Ap (diagonal element) is like this

Ap = -Sum (Al)

To get Ap you usually do Ap = Ap - Albnd
Src = Src + albnd * phi (if phi was fixed value).

Instead now you do not modify Src. Do not modify Ap, just make Albnd = 0.

solve matrix.

You get some solution, pick a point from these Phi you just calculated. Lets say iref.

phi_ref = Phi[ iref ] ;

For all
{
Phi = Phi_from_matrix - phi_ref.
}


Thats all. Painless and simple.
mr_fluent is offline   Reply With Quote

Reply


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
Singular Linear System - Pressure Poisson Equation Allan Main CFD Forum 11 March 17, 2011 09:39
Poisson Equation with Neumann bc Beginner Main CFD Forum 0 September 6, 2007 09:18
Poisson equation with Neumann boundary conditions cregeo Main CFD Forum 8 July 26, 2004 04:58
How to solve Poisson equation in CFX 4? windhair CFX 3 January 27, 2004 21:09
Solve Poisson equation Linfeng BI Main CFD Forum 4 November 20, 2002 23:46


All times are GMT -4. The time now is 03:34.