OpenFOAM® Installation
Linux
For Linux, OpenFOAM is available as a pre-compiled package, or can be built natively from source.
- Linux binary (rpm and docker image)
- Source (to be compiled)
Mac OS X
For Mac, OpenFOAM is available as a pre-compiled docker package, or can be built natively from source on a case-sensitive partition using the Clang compiler.
- Mac binary (docker image)
- Source (to be compiled)
Microsoft Windows
Windows users have three options to run OpenFOAM:
- Native executables (MinGW cross-compilation, runs natively)
The easiest option to install OpenFOAM under Microsoft Windows system. Application executables run natively from the windows command line terminal (cmd). Note that this option does not allow compilation of user code. - Windows Subsystem for Linux (WSL)
Windows 10 users can run OpenFOAM binaries on Ubuntu Bash for windows. This requires a pre-compiled OpenFOAM installation compatible with Ubuntu 16.04 and offers the full capabilities of the Linux version. - Docker container
OpenFOAM can be installed as a Docker container with the full capabilities of the Linux version, but depends on a virtualization layer (VirtualBox).