OpenFOAM is a free, open source computational fluid dynamics (CFD) software package released free and open-source under the GNU General Public License.
OpenFOAM has a large user base across most areas of engineering and science, from both commercial and academic organisations. OpenFOAM has an extensive range of features to solve anything from complex fluid flows involving chemical reactions, turbulence and heat transfer, to solid dynamics and electromagnetics.
The three main forks of OpenFOAM can be found through the following links:
OpenCFD Ltd (ESI Group): http://www.openfoam.com/
The OpenFOAM Foundation Ltd: https://openfoam.org/
OpenFOAM Unofficial Extend Project: https://github.com/Unofficial-Extend-Project-Mirror
Models are implemented using an equation syntax that closely follows the mathematical notation, e.g. to evolve the P-1 radiation model:
∇ ⋅ ( Γ ∇ G ) − a G = − 4 ϵ σ T 4 − Ethe following code is used:
// Solve G transport equation
solve
(
fvm::laplacian(gamma, G_)
- fvm::Sp(a_, G_)
==
- 4.0*(e_*physicoChemical::sigma*pow4(T_)) - E_
);
Many applications are supplied ready-to-use with the code together with a tutorial suite to showcase the functionality. As an open-source tool, users are able to see the inner workings of the algorithms and models, providing a robust platform for future developments and collaborative research.