CFD Online Logo CFD Online URL
Home > Forums


Register Blogs Members List Search Today's Posts Mark Forums Read


How to get a 27 cell stencil in OpenFOAM.

Posted January 31, 2012 at 10:30 by tomislav_maric

The primitiveMesh::cellCells returns with a cross cell stencil of 6 cells (the cell in question is excluded). This computation comes from the basis of OpenFOAM: face addressing. Although it is very efficient, this kind of computation introduces errros e.g. in the gradient reconstruction of sharp fields.

Try to generate a field that has a jump in a single layer of cells, whose iso surface is a plane, and try to compute the normal field of this plane from the fraction gradient using...
Senior Member
Posted in Uncategorized
Views 1798 Comments 2 tomislav_maric is offline Edit Tags

All times are GMT -4. The time now is 15:07.