OpenFOAM v6 | Patch Releases
Patched versions of the openfoam6 pack have been released for the following versions of Ubuntu Linux, 64 bit:
- 16.04 LTS, codename
xenial - 18.04 LTS, codename
bionic - 18.10, codename
cosmic(from 30th November 2018) - 19.04, codename
disco(from 20th June 2019)
Patched versions of openfoam6 were previously released for the following versions, but are no longer updated:
- 14.04 LTS, codename
trustyuntil April 2019.
See the Download v6 | 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 v6 | Linux and Download v6 | macOS.
The Patch Releases of OpenFOAM 6 are: 20190620, 20190304, 20190108, 20181221, 20181130, 20180805, 20180710
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-6— that incorporates latest code fixes without breaking backward compatibility.
The openfoam6 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 openfoam6 packs by the following command:
apt-cache policy openfoam6
This writes text, e.g. for the initial release and first patched versions of OpenFOAM-6.
openfoam6:
Installed: 20180805
Candidate: 20180805
Version table:
*** 20180805 500
500 http://dl.openfoam.org/ubuntu xenial/main amd64 Packages
100 /var/lib/dpkg/status
20180710 500
500 http://dl.openfoam.org/ubuntu xenial/main amd64 PackagesSource Code of a Subversion
The OpenFOAM-6 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.
From OpenFOAM 5 onwards, 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 20180805, the user can click the link labelled 6.20180805. 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/6.20180805 | tar xvz mv OpenFOAM-6-* OpenFOAM-6
The same source code can be obtained from the repository using Git, e.g.
git clone git@github.com:OpenFOAM/OpenFOAM-6.git cd OpenFOAM-6 git checkout tags/20180805
