|
[Sponsors] |
February 7, 2002, 09:13 |
Poisson-type equation
|
#1 |
Guest
Posts: n/a
|
Hi, I am trying to solve the Poisson type equation for the pressure on the form:
del2(P)-C(x,y)*grad(P)=f(x,y) If I wanna descretize this equation, should I deal with the higher derivative terms only and consider the lower derivative terms as a source term? I mean (for 1-D case): d2P/dx2 = C(x)*(dP/dx)+f(x) Any specific method to solve this type of equation? |
|
February 7, 2002, 13:02 |
Re: Poisson-type equation
|
#2 |
Guest
Posts: n/a
|
Since this is a linear equation, I'd be tempted to descretize the entire equation (first and second derivatives), then solve it using Gaussian elimination. You'll get a banded coefficient matrix (unless you have periodic boundary conditions which can complicate things a bit), which is pretty efficiently stored and solved. There may be a conditioning problem for the matrix if C is too large.
Good luck! |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Compile problem | ivanyao | OpenFOAM Running, Solving & CFD | 1 | October 12, 2012 09:31 |
SST SimpleFoam Convergence Problems | camoesas | OpenFOAM | 23 | September 27, 2011 16:27 |
rhoSimpleFoam | claco | OpenFOAM | 7 | April 20, 2010 04:32 |
buoyantSimpleRadiationFoam | msarkar | OpenFOAM | 0 | February 15, 2010 06:22 |
Problems with Turbulence Modeling | ezsoal | OpenFOAM Running, Solving & CFD | 4 | November 26, 2009 15:12 |