Skip to content

Commit

Permalink
Update the default OpenFOAM version to v2412 (#347)
Browse files Browse the repository at this point in the history
  • Loading branch information
MakisH authored Jan 27, 2025
1 parent 7832d7b commit 17db60b
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 6 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build-custom.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ on:
required: true
type: choice
options:
- 2412
- 2406
- 2312
- 2306
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build with OpenFOAM v2406
name: Build with OpenFOAM v2412
on:
push:
branches-ignore:
Expand Down Expand Up @@ -28,6 +28,6 @@ jobs:
- name: Set up OpenFOAM
uses: gerlero/setup-openfoam@v1
with:
openfoam-version: 2406
openfoam-version: 2412
- name: Build OpenFOAM-preCICE adapter
run: ./Allwmake
1 change: 1 addition & 0 deletions changelog-entries/347.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- Updated default OpenFOAM version to v2412 [#347](https://github.com/precice/openfoam-adapter/pull/347)
12 changes: 8 additions & 4 deletions docs/openfoam-support.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@ summary: Recent OpenFOAM.com versions work out-of-the-box. Recent OpenFOAM.org v

## How to get OpenFOAM

The easiest way to start is to get binary packages for your Linux distribution. For example, to [get OpenFOAM v2406 on Ubuntu](https://develop.openfoam.com/Development/openfoam/-/wikis/precompiled/debian#precompiled-packages-debianubuntu):
The easiest way to start is to get binary packages for your Linux distribution. For example, to [get OpenFOAM v2412 on Ubuntu](https://develop.openfoam.com/Development/openfoam/-/wikis/precompiled/debian#precompiled-packages-debianubuntu):

```bash
# Add the signing key, add the repository, update:
wget -q -O - https://dl.openfoam.com/add-debian-repo.sh | sudo bash

# Install OpenFOAM v2406:
sudo apt-get install openfoam2406-dev
# Install OpenFOAM v2412:
sudo apt-get install openfoam2412-dev
```

As these steps change your `.profile`, you need to log out and in again to make OpenFOAM fully discoverable.
Expand All @@ -23,10 +23,14 @@ As these steps change your `.profile`, you need to log out and in again to make

OpenFOAM is a project with long history and many forks, of which we try to support as many as possible. Since several HPC systems only provide older versions, we try to also support a wide range of versions.

{% warning %}
Currently, and since v1.3.0 of the adapter (first one for preCICE v3), only the default variant of the adapter for the OpenCFD / ESI is available. We are working on supporting further versions again.
{% endwarning %}

We provide version-specific [release archives](https://github.com/precice/openfoam-adapter/releases/latest) and respective Git branches for:

- OpenCFD / ESI (openfoam.com) - main focus:
- [OpenFOAM v1812-v2406](https://github.com/precice/openfoam-adapter) or newer
- [OpenFOAM v1812-v2412](https://github.com/precice/openfoam-adapter) or newer
- OpenFOAM v2212 and newer is only supported since v1.2.2 of the adapter.
- [OpenFOAM v1612-v1806](https://github.com/precice/openfoam-adapter/tree/OpenFOAMv1806) (not tested)
- OpenFOAM Foundation (openfoam.org) - secondary, consider experimental:
Expand Down

0 comments on commit 17db60b

Please sign in to comment.