|
[Sponsors] |
March 11, 2006, 21:03 |
Interpolation for ghost cell help
|
#1 |
Guest
Posts: n/a
|
hi,
i am trying to use interpolation to get the pressure value of the ghost cell. I have dp/dn=0 at a location (boundary) and a few other pressure values at the neighbouring nodes. my method is to use linear interpolation where p=a0+a1*x+a2*x2 at 2 neighbouring nodes. to use the dp/dn=0 condition, i differentiate the eqn to give dp/dn=a1*dx/dn+a2*dy/dn. a 3X3 matrix is formed and its inverse is computed to get a0,a1 and a2. Similar method can be used for bilinear and quadratic interpolation. however, the problem is that the matrix can be singular at times. Is there a better interpolation method which makes use of these conditions and yet it is stable? Thank you! |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to determine the direction of cell face vectors on processor patches | sebastian_vogl | OpenFOAM Programming & Development | 1 | October 11, 2016 14:17 |
Cells with t below lower limit | Purushothama | Siemens | 2 | May 31, 2010 22:58 |
[Commercial meshers] Trimmed cell and embedded refinement mesh conversion issues | michele | OpenFOAM Meshing & Mesh Conversion | 2 | July 15, 2005 05:15 |
Warning 097- | AB | Siemens | 6 | November 15, 2004 05:41 |
interpolation from cell center to vertices | Zhang | Main CFD Forum | 3 | August 22, 2003 08:31 |