|March 11, 2006, 21:03||
Interpolation for ghost cell help
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?
|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 13:17|
|Cells with t below lower limit||Purushothama||CD-adapco||2||May 31, 2010 21:58|
|Trimmed cell and embedded refinement mesh conversion issues||michele||OpenFOAM Other Meshers: ICEM, Star, Ansys, Pointwise, GridPro, Ansa, ...||2||July 15, 2005 04:15|
|Warning 097-||AB||CD-adapco||6||November 15, 2004 05:41|
|interpolation from cell center to vertices||Zhang||Main CFD Forum||3||August 22, 2003 07:31|