|
[Sponsors] |
October 4, 2006, 00:04 |
Gradient calculation
|
#1 |
Guest
Posts: n/a
|
To calculate 3-D gradient at centroid of a cell, which neighboring cells should be involved? To explain my question in clarity , I divide the neighboring cells of the considered cell into two groups. one group is the cell which has a common face with the considered cell. one group is the cell which only has a common line/point with the cosidered cell. Should I include both two group for gradiet calculation, Or the first group is enough. I found my code based on unstructured grids just considered the neigbouring cells with common face. Now I want to use gradient for interpolation of value at a arbitry point in a cell. I doubt the existing method of gradient calculation is not good enough.
I would appreciate your idea. Regards, Harry |
|
October 7, 2006, 04:02 |
Re: Gradient calculation
|
#2 |
Guest
Posts: n/a
|
Hi Harry,
I have used the first group for gradient calculation, that is only the neighbors with will my cell shares common faces. Using this gradient value for interpolation, I was able to obtain good results for unstructured grids. I dont think the value of the gradient should depend on values of cells with common edges or vertices, as you dont have any flux input through these cells. -Sunny |
|
October 7, 2006, 04:07 |
Re: Gradient calculation (typo)
|
#3 |
Guest
Posts: n/a
|
....only the neighbors with WHICH my cell shares common faces....
|
|
October 7, 2006, 05:19 |
Re: Gradient calculation (typo)
|
#4 |
Guest
Posts: n/a
|
Thanks, Sunny. I orginally want to acquire gas properties (velocity, porosity, pressure) at an arbitary point in a cell using their gradients. I mean gradient is used for interpolation calculation, not for the solution of fluid flow.
The related results are dissapoint as this method has a bad boundedness (some value is beyong physical meaning) and accuracy, especially for big-size cell. Now I completely give it up. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
conjugateHeatFoam, grid spacing and gradient calculation | benk | OpenFOAM | 1 | May 5, 2010 17:06 |
Face based gradient calculation | Bernhard Kubicek | Main CFD Forum | 1 | February 12, 2008 17:34 |
Gradient of Scalar calculation in 3D BFCskew grids | james T | Phoenics | 0 | March 28, 2007 08:12 |
Gradient calculation | phil | CFX | 3 | April 11, 2005 13:03 |
Warning 097- | AB | Siemens | 6 | November 15, 2004 05:41 |