Download v12 | Source Pack
For Compilation on GNU/Linux
The OpenFOAM Foundation
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 […]
The OpenFOAM Foundation is pleased to announce the release of version 11 of the OpenFOAM open source CFD toolbox. Version 11 introduces modular solvers written as classes, in contrast to the traditional application solvers, integral to OpenFOAM since icoFoam in 1993. Modular solvers are simpler to maintain and extend, and are more flexible for multi-region simulations, e.g. conjugate heat transfer (CHT) with any type of flow, e.g. multiphase. Everything is backward-compatible, so: 1) application solvers will still compile in OpenFOAM; 2) launching an old application solver, e.g. simpleFoam, executes a script which runs the incompressibleFluid module on a single region.
OpenFOAM 11 includes the following highlights.
For Ubuntu 20.04LTS, 22.04 LTS, 24.04 LTS
OpenFOAM 11 for Linux distributions including Red Hat Enterprise Linux (RHEL) v7+, Fedora v22+, SuSE Linux Enterprise Server (SLES) v12+, openSuSE v13+ and Debian 8+. Uses Docker to provide a self-contained environment that includes code, runtime, system tools and libraries, independent of the underlying operating system.
OpenFOAM 11 for macOS 10.14+ . Uses Docker to provide a self-contained environment that includes code, runtime, system tools and libraries, independent of the underlying operating system.
For Compilation on GNU/Linux