Download v12 | Ubuntu
For Ubuntu 20.04LTS, 22.04 LTS, 24.04 LTS
The OpenFOAM Foundation
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 […]
OpenFOAM packs for Ubuntu 24.04LTS
For Ubuntu 20.04 LTS, 22.04 LTS, 24.04 LTS, Windows 10 and Docker images for other Linux and macOS