OpenFOAM® Repositories

OpenFOAM®  Repositories

Getting the latest source code

OpenFOAM can be downloaded from This site hosts the repository for the most up-to-date version including the latest developments and bug fixes. The source code can be downloaded as a zip archive or pulled using a git service. The web interface provides access to the issue tracker.

  • Go to and create a new user account
  • A confirmation email will be sent to the registered address (check the spam folder if no emails are received after a few minutes)
  • Follow the link to complete the sign-up process

Download/update the code
  • Log in and navigate to the public projects
  • Select the download button to the right of the source address window to download a code snapshot, or
  • Clone the repository - only required once
    • using ssh - requires user to add their public ssh keys to their account:

      git clone
    • or https:

      git clone
  • Since OpenFOAM-v1712 community contributions may included using the git submodule system. To initialise the submodules located in the $WM_PROJECT_DIR/modules directory:

    git submodule init

Updating the sources

The repositories are updated regularly to include bug fixes and new features. Retrieve the updates using:

git pull
To update the additional community repositories, issue the command:

git submodule update

Compile the source
  • Download ThirdParty-v1812.tgz (md5sum: 60b8ea139c2aed75f0cb0de1661a1986)
  • Rename the directory

    mv ThirdParty-v1812 ThirdParty-plus
  • Compile the source according to the building the code instructions