Skip to main content

Install OpenFOAM

Ready-to-use native packs are published on the download server (no account or license required). Each release directory contains per-platform tarballs, e.g. v2412.5/openfoam-native-2412-{os}-{arch}.tar.gz.

Install from a tarball

# macOS (arm64) or Linux (x86_64)
curl -fsSL -O https://download.xiaohe.team/openfoam/v2412.5/openfoam-native-2412-<os>-<arch>.tar.gz
mkdir -p ~/opt/openfoam && tar -xzf openfoam-native-*.tar.gz -C ~/opt/openfoam

# Load the environment
source ~/opt/openfoam/etc/bashrc

Verify

blockMesh -help
which icoFoam

Notes

  • Native packs bundle the full OpenFOAM runtime (no separate install needed).
  • Docker images may also be published per release on the download server.
  • To build OpenFOAM yourself, use the source repository.