OpenFOAM logo
The Open Source CFD Toolbox
  Source Guide OpenCFD Solutions Contact OpenFOAM

primitiveMeshFaceCentresAndAreas.C File Reference

Calulate the face centres and areas. More...

Go to the source code of this file.


Detailed Description

Calulate the face centres and areas.

Original source file primitiveMeshFaceCentresAndAreas.C

Calculate the centre by breaking the face into triangles using the face centre and area-weighted averaging their centres. This method copes with small face-concavity.

Definition in file primitiveMeshFaceCentresAndAreas.C.

Copyright © 2000-2009 OpenCFD Ltd