FreeFOAM The Cross-Platform CFD Toolkit
Hosted by SourceForge:
Get FreeFOAM at SourceForge.net.
            Fast, secure and Free Open Source software downloads

primitiveMeshFaceCentresAndAreas.C File Reference

Calulate the face centres and areas. More...


Detailed Description

Calulate the face centres and areas.

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.

#include "src/OpenFOAM/meshes/primitiveMesh/primitiveMesh.H"
Include dependency graph for primitiveMeshFaceCentresAndAreas.C:

Go to the source code of this file.