Skip to content

Commit c6f0071

Browse files
authored
Bump versions to OpenFOAM v2512 and preCICE v3.3.0 (#386)
Also: Migrate OpenFOAM GitLab URLs to gitlab.com.
1 parent 52d9fa2 commit c6f0071

File tree

8 files changed

+23
-14
lines changed

8 files changed

+23
-14
lines changed

.clang-format

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,12 @@ Language: Cpp
33
# BasedOnStyle: LLVM
44
#
55
# Proposed clang-format-11 style for OpenFOAM, trying to follow the OpenFOAM style guide:
6-
# https://develop.openfoam.com/Development/openfoam/-/wikis/coding/style/style
6+
# https://gitlab.com/openfoam/core/openfoam/-/wikis/coding/style/style
77
# Configuration developed for the OpenFOAM-preCICE adapter code:
88
# https://github.com/precice/openfoam-adapter
99
# Contribute to the discussion at the respective OpenFOAM issue:
10-
# https://develop.openfoam.com/Development/openfoam/-/issues/1634
10+
# https://develop.openfoam.com/Development/openfoam/-/issues/1634 (archived)
11+
# https://gitlab.com/openfoam/core/openfoam/-/issues/1634
1112
#
1213
# Keep `public:` at the first indentation level
1314
AccessModifierOffset: -4

.github/workflows/build-custom.input

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
virtualEnvironment="ubuntu-22.04"
22
refAdapter="develop"
3-
versionOpenFOAM="2412"
4-
versionpreCICE="v3.2.0"
3+
versionOpenFOAM="2512"
4+
versionpreCICE="v3.3.0"
55
runTutorialHeatedPlate="false"
66
runTutorialQuickstart="false"
77
runTutorialPartitionedPipe="false"

.github/workflows/build-custom.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ on:
2020
required: true
2121
type: choice
2222
options:
23+
- 2512
24+
- 2506
2325
- 2412
2426
- 2406
2527
- 2312
@@ -31,13 +33,16 @@ on:
3133
- 2012
3234
- 2006
3335
- 1912
36+
- 13
37+
- 12
38+
- 11
3439
- 10
3540
- 9
3641
- 8
3742
- 7
3843
versionpreCICE:
3944
description: 'Version of preCICE to build with'
40-
default: 'v3.2.0'
45+
default: 'v3.3.0'
4146
required: true
4247
runTutorialHeatedPlate:
4348
description: Run tutorial flow-over-heated-plate

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Build with OpenFOAM v2412
1+
name: Build with OpenFOAM v2512
22
on:
33
push:
44
branches-ignore:
@@ -28,6 +28,6 @@ jobs:
2828
- name: Set up OpenFOAM
2929
uses: gerlero/setup-openfoam@v1
3030
with:
31-
openfoam-version: 2412
31+
openfoam-version: 2512
3232
- name: Build OpenFOAM-preCICE adapter
3333
run: ./Allwmake

.github/workflows/system-tests.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,6 @@ jobs:
4040
uses: precice/tutorials/.github/workflows/run_testsuite_workflow.yml@develop
4141
with:
4242
suites: openfoam_adapter_pr
43-
build_args: TUTORIALS_REF:${{ needs.gather-refs.outputs.ref-tutorials }},PRECICE_REF:v3.2.0,OPENFOAM_EXECUTABLE:openfoam2312,OPENFOAM_ADAPTER_PR:${{ github.event.number }},OPENFOAM_ADAPTER_REF:${{ github.event.pull_request.head.sha }}
43+
build_args: TUTORIALS_REF:${{ needs.gather-refs.outputs.ref-tutorials }},PRECICE_REF:v3.3.0,OPENFOAM_EXECUTABLE:openfoam2512,OPENFOAM_ADAPTER_PR:${{ github.event.number }},OPENFOAM_ADAPTER_REF:${{ github.event.pull_request.head.sha }}
4444
system_tests_branch: develop
4545
log_level: "DEBUG"

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
[![Cite](https://img.shields.io/badge/cite-literature_guide-d45815)](https://precice.org/fundamentals-literature-guide.html)
77
[![Changelog](https://img.shields.io/badge/Keep%20a%20Changelog--555.svg?logo=data%3Aimage%2Fsvg%2Bxml%3Bbase64%2CPHN2ZyB4bWxucz0iaHR0cD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gMzItMyA1MCA5IDEzIDggMjMgMjAgMzAgMzYgNyAxNSA3IDI5IDAgNDJ6bS00My03M2MtMTctOC0zMy02LTQ2IDUtMTAgOC0xNiAyMC0xOSAzN2E1NCA1NCAwIDAwNSAzNGM3IDE1IDIwIDIzIDM3IDIyIDIyLTEgMzgtOSA0OC0yNGE0MSA0MSAwIDAwOC0yNCA0MyA0MyAwIDAwLTEtMTJjLTYtMTgtMTYtMzEtMzItMzh6bS0yMyA5MWgtMWMtNyAwLTE0LTItMjEtN2EyNyAyNyAwIDAxLTEwLTEzIDU3IDU3IDAgMDEtNC0yMCA2MyA2MyAwIDAxNi0yNWM1LTEyIDEyLTE5IDI0LTIxIDktMyAxOC0yIDI3IDIgMTQgNiAyMyAxOCAyNyAzM3MtMiAzMS0xNiA0MGMtMTEgOC0yMSAxMS0zMiAxMXptMS0zNHYxNGgtOFY2OGg4djI4bDEwLTEwaDExbC0xNCAxNSAxNyAxOEg5NnoiLz48L3N2Zz4K)](https://github.com/precice/openfoam-adapter/blob/develop/CHANGELOG.md)
88
[![License](https://img.shields.io/github/license/precice/openfoam-adapter.svg)](https://github.com/precice/openfoam-adapter/blob/master/LICENSE)
9-
[![Build with OpenFOAM v2404](https://github.com/precice/openfoam-adapter/actions/workflows/build.yml/badge.svg?branch=develop)](https://github.com/precice/openfoam-adapter/actions/workflows/build.yml)
9+
[![Build with OpenFOAM v2512](https://github.com/precice/openfoam-adapter/actions/workflows/build.yml/badge.svg?branch=develop)](https://github.com/precice/openfoam-adapter/actions/workflows/build.yml)
1010
[![OpenFOAM Package Index](https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Fraw.githubusercontent.com%2Fexasim-project%2Fopi%2Frefs%2Fheads%2Fmain%2Fpkg%2Fprecice-adapter%2Fmetadata.json&query=%24.%5Bname%2Ctype%2Cversion%5D&label=opi)](https://github.com/exasim-project/opi)
1111

1212
## Start here

changelog-entries/386.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
- Changed the default OpenFOAM version to v2512 and preCICE to v3.3.0 [#386](https://github.com/precice/openfoam-adapter/pull/386)

docs/openfoam-support.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@ summary: Recent OpenFOAM.com versions work out-of-the-box. Recent OpenFOAM.org v
77

88
## How to get OpenFOAM
99

10-
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):
10+
The easiest way to start is to get binary packages for your Linux distribution. For example, to [get OpenFOAM v2512 on Ubuntu](https://gitlab.com/openfoam/core/openfoam/-/wikis/precompiled/debian):
1111

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

16-
# Install OpenFOAM v2412:
17-
sudo apt-get install openfoam2412-dev
16+
# Install OpenFOAM v2512:
17+
sudo apt-get install openfoam2512-dev
1818
```
1919

2020
As these steps change your `.profile`, you need to log out and in again to make OpenFOAM fully discoverable.
@@ -34,7 +34,7 @@ Currently, and since v1.3.0 of the adapter (first one for preCICE v3), only the
3434
We provide version-specific [release archives](https://github.com/precice/openfoam-adapter/releases/latest) and respective Git branches for:
3535

3636
- OpenCFD / ESI (openfoam.com) - main focus:
37-
- [OpenFOAM v1812-v2412](https://github.com/precice/openfoam-adapter) or newer
37+
- [OpenFOAM v1812-v2512](https://github.com/precice/openfoam-adapter) or newer
3838
- [OpenFOAM v1612-v1806](https://github.com/precice/openfoam-adapter/tree/OpenFOAMv1806) (not tested)
3939
- OpenFOAM Foundation (openfoam.org) - secondary, consider experimental:
4040
- [OpenFOAM 10](https://github.com/precice/openfoam-adapter/tree/OpenFOAM10)
@@ -53,7 +53,7 @@ We use the Ubuntu repositories of each OpenFOAM vendor for testing. Quick refere
5353

5454
- OpenCFD / ESI (openfoam.com):
5555
- [PPA repository](https://dl.openfoam.com/repos/deb/)
56-
- More details on the [OpenFOAM documentation](https://develop.openfoam.com/Development/openfoam/-/wikis/precompiled).
56+
- More details on the [OpenFOAM documentation](https://gitlab.com/openfoam/core/openfoam/-/wikis/precompiled).
5757
- OpenFOAM Foundation (openfoam.org):
5858
- [PPA repository](https://dl.openfoam.org/ubuntu/)
5959
- More details on the [OpenFOAM documentation](https://dl.openfoam.org/).
@@ -64,6 +64,8 @@ The following table gives an overview, including versions that we do not support
6464

6565
| version | 24.04 | 22.04 | 20.04 | 18.04 |
6666
| --- | --- | --- | --- | --- |
67+
| (com) v2512 | x | x | x | x |
68+
| (com) v2506 | x | x | x | x |
6769
| (com) v2412 | x | x | x | x |
6870
| (com) v2406 | x | x | x | x |
6971
| (com) v2312 | x | x | x | x |

0 commit comments

Comments
 (0)