Close

2nd September 2019

OpenFOAM v7 | Patch Releases

Patched versions of the openfoam7 pack have been released for the following versions of Ubuntu Linux, 64 bit:

  • 16.04 LTS, codename xenial
  • 18.04 LTS, codename bionic
  • 19.04, codename disco
  • 19.10, codename eoan (since November 2019)
  • 20.04, codename focal (since May 2019)

See the Download v7 | Ubuntu page for installation and upgrade instructions.

The packs can be installed or upgraded on Windows 10 and have been used to update the installations for other Linux and macOS platforms that use Docker to provide a self-contained environment, see Download v7 | Linux and Download v7 | macOS.

The Patch Releases of OpenFOAM 7 are: 20190902, 20191118, 20200120 and 20200508 (20.04 LTS only).

Subversion Numbering

The OpenFOAM Foundation maintains two public repositories of source code of OpenFOAM:

The openfoam7 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 openfoam7 packs by the following command:

apt-cache policy openfoam7

This writes text, e.g. for the initial release and first patched versions of OpenFOAM-7:

openfoam7:
  Installed: 20190902
  Candidate: 20190902
  Version table:
 *** 20190902 500
        500 http://dl.openfoam.org/ubuntu bionic/main amd64 Packages
        100 /var/lib/dpkg/status
     20190708 500
        500 http://dl.openfoam.org/ubuntu bionic/main amd64 Packages

Source Code of a Subversion

The OpenFOAM-7 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 http://dl.openfoam.org/source with links to download the archived sources.   For example, to download the patch version 20190902, the user can click the link labelled 7.20190902.  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/7.20190902 | tar xvz
mv OpenFOAM-7-* OpenFOAM-7

The same source code can be obtained from the repository using Git, e.g.

git clone git@github.com:OpenFOAM/OpenFOAM-7.git
cd OpenFOAM-7
git checkout tags/20190902