OpenFOAM v12 | Patch Releases
For Ubuntu 20.04 LTS, 22.04 LTS, 24.04 LTS, Windows and macOS
The OpenFOAM Foundation
For Ubuntu 20.04 LTS, 22.04 LTS, 24.04 LTS, Windows and macOS
The OpenFOAM Foundation is pleased to announce the release of version 12 of the OpenFOAM open source CFD toolbox. Version 12 takes advantage of modular solvers and non-conformal coupling (NCC) to improve simulations with multiple regions, including simplifying meshing and coupling. Work has continued on the rewrite of particle code, e.g. injection and distribution, parallel decomposition, redistribution and load balancing. There are some new, useful boundary conditions and the option to include units, e.g. [bar], with input values, which are converted accordingly. The installation of third party software is easier, with the openfoam12 package for Ubuntu 24.04 & 22.04 now using the standard paraview package.
OpenFOAM 12 includes the following highlights.
For Ubuntu 20.04LTS, 22.04 LTS, 24.04 LTS
OpenFOAM 12 for Linux distributions other than Ubuntu, e.g. Red Hat Enterprise Linux (RHEL) , Fedora, SuSE Linux Enterprise Server (SLES), openSuSE, and Debian.
OpenFOAM 12 for macOS . Uses Canonical Multipass hosting Ubuntu Linux to use the standard OpenFOAM packages on Ubuntu.
For Compilation on GNU/Linux
Environment variable settings for OpenFOAM are contained in files in the OpenFOAM-dev/etc directory. To compile OpenFOAM, the user must ‘source’ the environment, either the bashrc file if they are running the bash or ksh shell, or the cshrc file if they are running the tcsh or csh shell. To check the […]
First choose a directory location for the installation directory of OpenFOAM. If the installation is for a single user only, or if the user does not have administrative privileges (or root access) to the machine, we recommend the installation directory is $HOME/OpenFOAM (i.e. a directory OpenFOAM in the user’s home […]
Compiling OpenFOAM from Source Code on GNU/Linux
The following supporting software is required to download and compile OpenFOAM from one of the source repositories. For Ubuntu, the installation of required software packages is described towards the bottom of the page. Other Linux distributions require equivalent packages which are named accordingly within the respective distributions. Repository and compilation […]