Mesh Quality Object Function

An extension to the checkMesh application for the OpenFOAM Foundation version


The OpenFOAM® application checkMesh is used to analyze the numerical mesh regarding parameters related to the quality, topology, and geometry. The ESI version of OpenFOAM® does already have such an extension included which allows one to analyze different fields such as cell volumes, non-orthogonality, skewness, aspect ratio, and much more. Thus, Holzmann CFD developed a functionObject that can be used to calculate those fields using the known postProcess utility.

The numerical mesh is the most important data for the numeric

However, as these fields and parameters belong to a mesh check application rather than a post-process application, the object function code was ported into the checkMesh application. For that purpose, the application had to be rewritten a bit. It might be added to the OpenFOAM Foundation repository once, after different kinds of problems (regarding programming) can be resolved.

Easy usage based on the functionObject functionality

For those who are interested in the added functionality, please feel free to download the checkMesh extension and add it to your source code. In order to use the code, download the tar file, and extract it somewhere to your hard disc. The extracted folder structure has to be copied to your $WM_PROJECT_DIR folder. After that, you have to go to your checkMesh source code folder ($FOAM_UTILITIES/mesh/manipulation/checkMesh) and re-compile the application using wmake.


Github URL:
Build by Tobias Holzmann
Support the work of Tobias Holzmann

Image: Cell volume
Image: Cell non-orthogonality
Image: Cell types