OpenFOAM® Repositories

OpenFOAM®  Repositories

Getting the latest source code

OpenFOAM can be downloaded from https://develop.openfoam.com/Development/OpenFOAM-plus. 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.

Register
  • Go to https://develop.openfoam.com 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 git@develop.openfoam.com:Development/OpenFOAM-plus.git
    • or https:

      git clone https://develop.openfoam.com/Development/OpenFOAM-plus.git
  • 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-v1806.tgz (md5sum: 3c06cb20d08ab564b70f9df5186ec936)
  • Rename the directory

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