TenGun logo

TenGun™ OpenFOAM Support

Last Updated May 29, 2025.

OpenFOAM® is a popular toolkit for Computational Fluid Dynamics (CFD) analysis. As of this writing it is at Version 12.

OpenFOAM is popular because it is quite comprehensive, and it is free and open source. On the other hand, it is also very different to use, and in the author's opinion is extremely lacking in up-to-date, detailed documentation.

We added features to TenGun 3.0 to make it easier to use OpenFOAM as described in this document.

Time Series Mode (Postprocessing)

TenGun Postprocessing Image

OpenFOAM results are typically viewed with the ParaFoam viewer suppied with OpenFOAM, and ParaFoam is a derivative of ParaView®. We are not particularly fond of either of those viewers because they overly generalized, and it is much too difficult to navigiate through the huge number of options.

To display OpenFOAM results using TenGun:

We added one feature to TenGun specifically to handle OpenFOAM output. Namely, some variables are not available in the initial conditions output, but then suddenly appear in the first time step output. Now, when TenGun discovers a new variable back fits it into data that has already been loaded.

Assembly Mode (Preprocessing)

TenGun Preprocessing Image

A number of features were added that can be used for OpenFOAM analysis and probably other similar cases as listed below.

Status

This is an ongoing project, and we are looking for realistic analysis challenges to work on.

If you'd like more information or are interested in collaborting on this, please Contact Us.