OpenFOAM v12 | Patch Releases
Patched versions of the openfoam12
pack have been released for the following versions of Ubuntu Linux, 64 bit:
- 20.04 LTS, codename
focal
- 22.04 LTS, codename
jammy
- 24.04 LTS, codename
noble
See the Download v12 | Ubuntu page for installation and upgrade instructions.
The packs can be installed or upgraded on Windows and installed or upgraded on macOS.
The Patch Releases of OpenFOAM 12 are: 20240728 and 20240902
Subversion Numbering
The OpenFOAM Foundation maintains two public repositories of source code of OpenFOAM:
- The development line of OpenFOAM (
OpenFOAM-dev
), packaged weekly asopenfoam-dev
, which includes major code changes that can break backward compatibility. - The version-release source repository for the latest major version release — currently
OpenFOAM-12
— that incorporates latest code fixes without breaking backward compatibility.
The openfoam12
packs include the source code of OpenFOAM. Each pack has a subversion number represented by the packaging date in YYYYMMDD
format. For example, a user can list the subversions of the openfoam12
packs by the following command:
apt-cache policy openfoam12
This writes text, e.g. for the initial release and first patched versions of OpenFOAM-12:
openfoam12: Installed: 20240902 Candidate: 20240902 Version table: *** 20240902 500 500 http://dl.openfoam.org/ubuntu jammy/main amd64 Packages 100 /var/lib/dpkg/status 20240728 500 500 http://dl.openfoam.org/ubuntu jammy/main amd64 Packages 20240709 500 500 http://dl.openfoam.org/ubuntu jammy/main amd64 Packages
Source Code of a Subversion
The OpenFOAM-12
repository is tagged with the subversion number so that users can reference the source code corresponding to a particular pack exactly. Using the tag, the corresponding source code can be obtained either as a tar.gz
archive or using Git.
The patched versions can be viewed in a browser at https://dl.openfoam.org/source with links to download the archived sources. For example, to download the patch version 20240728
, the user can click the link labelled 12.20240728
. After downloading and extracting the archive, it is recommended to be renamed without the subversion number. From the command line the download, extraction and renaming can be done by:
wget -O - http://dl.openfoam.org/source/12.20240728 | tar xvz mv OpenFOAM-12-* OpenFOAM-12
The same source code can be obtained from the repository using Git, e.g.
git clone git@github.com:OpenFOAM/OpenFOAM-12.git cd OpenFOAM-12 git checkout tags/20240728