Close

Chris Greenshields

OpenFOAM 12 Released

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.

  • Modular Solvers: support source terms for one variable for equations of other variables.
  • Multiphase: improved models for mass, momentum and heat transfer, and solid phases.
  • Turbulence Modelling: robust limiting of fields simplified and corrected wall functions.
  • Heat: added viscous heating model and improved naming in thermodynamic properties.
  • Particle Tracking: generalised injection and particle distributions.
  • Meshes: upgraded mesh generation and coupling of multiple mesh regions.
  • Parallel Running: efficient options for load-balancing, decomposition and redistribution.
  • Function Objects: moved to a system/functions file, and added new function objects.
  • Models: added volume and mass sources which are added to mass continuity.
  • Boundary Conditions: new pressure, velocity and temperature boundary conditions.
  • Case Configuration: parameters can include units, e.g. [bar]
  • Programming: foamFind script to search source code; example coded function objects.
  • Other: Easier installation of ParaView and decomposition libraries.

9th July 2024

Read More

Download v12 | Linux

OpenFOAM 12 for Linux distributions other than Ubuntu, e.g. Red Hat Enterprise Linux (RHEL) , Fedora, SuSE Linux Enterprise Server (SLES), openSuSE, and Debian.

9th July 2024

Read More

Download v12 | macOS

OpenFOAM 12 for macOS . Uses Canonical Multipass hosting Ubuntu Linux to use the standard OpenFOAM packages on Ubuntu.

9th July 2024

Read More

OpenFOAM Repo: 3. Setting the Environment

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 […]

5th July 2024

Read More

OpenFOAM Repo: 2. Downloading Source Code

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 […]

5th July 2024

Read More

OpenFOAM Repo: 1. Software for Compilation

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 […]

5th July 2024

Read More