Skip to content

Commit 6cf3dac

Browse files
authored
Release v1.2.1 (#268)
Release v1.2.1
2 parents 7afeaed + cdd8f9c commit 6cf3dac

6 files changed

Lines changed: 42 additions & 23 deletions

File tree

.github/workflows/build-custom.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,11 @@ jobs:
182182
echo "Manually changing from pimpleFoam to pimpleDyMFoam for compatibility with OpenFOAM 5."
183183
sed -i 's/pimpleFoam/pimpleDyMFoam/g' system/controlDict
184184
fi
185+
if [ "${{ github.event.inputs.versionOpenFOAM }}" == "OpenFOAM9" ]
186+
then
187+
echo "Manually changing from solver to motionSolver in dynamicMeshDict for compatibility with OpenFOAM 9."
188+
sed -i 's/solver/motionSolver/g' constant/dynamicMeshDict
189+
fi
185190
${{steps.installOpenFOAM.outputs.openfoam_exec}} ./run.sh | tee fluid-openfoam.log 2>&1 &
186191
PIDfluid=$!
187192
cd ../solid-cpp

Adapter.C

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ preciceAdapter::Adapter::Adapter(const Time& runTime, const fvMesh& mesh)
1010
: runTime_(runTime),
1111
mesh_(mesh)
1212
{
13-
adapterInfo("Loaded the OpenFOAM-preCICE adapter - v1.2.0.", "info");
13+
adapterInfo("Loaded the OpenFOAM-preCICE adapter - v1.2.1.", "info");
1414

1515
return;
1616
}

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ Read more details in the issue [#52: Releases and versioning](https://github.com
88

99
<!-- markdownlint-configure-file {"MD024": { "siblings_only": true } } -->
1010

11+
## [v1.2.1] 2022-12-15
12+
13+
- Replaced a `std::make_unique` by `new` in order to remain C++11 compatible and support older compilers [#264](https://github.com/precice/openfoam-adapter/pull/264).
14+
1115
## [v1.2.0] 2022-11-14
1216

1317
### Added

FSI/Force.C

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ preciceAdapter::FSI::Force::Force(
1919
}
2020
else
2121
{
22-
ForceOwning_ = std::make_unique<volVectorField>(volVectorField(
22+
ForceOwning_.reset(new volVectorField(
2323
IOobject(
2424
nameForce,
2525
mesh_.time().timeName(),

docs/openfoam-support.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,16 @@ We provide version-specific [release archives](https://github.com/precice/openfo
2929
- [OpenFOAM v1812-v2206](https://github.com/precice/openfoam-adapter) or newer
3030
- [OpenFOAM v1612-v1806](https://github.com/precice/openfoam-adapter/tree/OpenFOAMv1806) (not tested)
3131
- OpenFOAM Foundation (openfoam.org) - secondary, consider experimental:
32-
- [OpenFOAM 10](https://github.com/precice/openfoam-adapter/tree/OpenFOAM10) (several [changes to the tutorials](https://github.com/precice/tutorials/tree/OpenFOAM10) are also needed, read the [discussion](https://github.com/precice/tutorials/pull/283))
33-
- [OpenFOAM 9](https://github.com/precice/openfoam-adapter/tree/OpenFOAM9) (rename also `solver` to `motionSolver` in `constant/dynamicMeshDict`)
32+
- [OpenFOAM 10](https://github.com/precice/openfoam-adapter/tree/OpenFOAM10)
33+
- Several [changes to the tutorials](https://github.com/precice/tutorials/tree/OpenFOAM10) are also needed, read the [discussion](https://github.com/precice/tutorials/pull/283).
34+
- Same limitations as for OpenFOAM 9.
35+
- [OpenFOAM 9](https://github.com/precice/openfoam-adapter/tree/OpenFOAM9)
36+
- Rename `solver` to `motionSolver` in `constant/dynamicMeshDict`.
37+
- Limitations in adjustable time step size ([#261](https://github.com/precice/openfoam-adapter/issues/261)).
3438
- [OpenFOAM 8](https://github.com/precice/openfoam-adapter/tree/OpenFOAM8)
3539
- [OpenFOAM 7](https://github.com/precice/openfoam-adapter/tree/OpenFOAM7)
36-
- [OpenFOAM 6](https://github.com/precice/openfoam-adapter/tree/OpenFOAM6) (modify also `residualControl` to `outerResidualControl` in `system/fvSolution`)
40+
- [OpenFOAM 6](https://github.com/precice/openfoam-adapter/tree/OpenFOAM6)
41+
- Modify also `residualControl` to `outerResidualControl` in `system/fvSolution`.
3742
- [OpenFOAM 5.x](https://github.com/precice/openfoam-adapter/tree/OpenFOAM5)
3843
- [OpenFOAM 4.0/4.1](https://github.com/precice/openfoam-adapter/tree/OpenFOAM4) (not tested)
3944

tools/release_pull_request_template.md

Lines changed: 23 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -25,22 +25,6 @@ Copy this template to the release pull request description.
2525

2626
Until we get automated system tests again, run all the tests manually.
2727

28-
## Prepare version-specific branches
29-
30-
- [ ] Rebase `OpenFOAM4` on `develop` and force-push
31-
- `git checkout OpenFOAM4 && git rebase develop`
32-
- Resolve any conflicts. We should have only one commit in the end.
33-
- `git push --force`
34-
- [ ] Rebase `OpenFOAM5` on `OpenFOAM4`, `OpenFOAM6` on `OpenFOAM5`, ...
35-
- [ ] Trigger a custom build for each version
36-
37-
Overview of branches:
38-
39-
```text
40-
master <-- OpenFOAM4 <-- OpenFOAM5 <-- OpenFOAM6 <-- OpenFOAM7 <-- OpenFOAM8 <-- OpenFOAMdev
41-
^-- develop ^-- OpenFOAMv1806
42-
```
43-
4428
## Preparing the Changelog
4529

4630
- [ ] Copy all the changelog entries into `CHANGELOG.md`
@@ -60,7 +44,29 @@ master <-- OpenFOAM4 <-- OpenFOAM5 <-- OpenFOAM6 <-- OpenFOAM7 <-- OpenFOAM8 <--
6044

6145
- [ ] Review pull request
6246
- [ ] Merge pull request (**not** squash)
63-
- [ ] Rebase the version-specific branches on `master`
47+
48+
## Prepare version-specific branches
49+
50+
- [ ] Rebase `OpenFOAM4` on `master` and force-push
51+
- `git checkout OpenFOAM4 && git rebase develop`
52+
- Resolve any conflicts. We should have only one commit in the end.
53+
- `git push --force`
54+
- [ ] Rebase `OpenFOAM5` on `OpenFOAM4`, `OpenFOAM6` on `OpenFOAM5`, ...
55+
- [ ] Trigger a custom build for each version and tick each when it succeeds:
56+
- [ ] OpenFOAM5 on Ubuntu 18.04 with preCICE 2.3.0 and tutorials from develop
57+
- [ ] OpenFOAM6 on Ubuntu 18.04 with preCICE 2.3.0 and tutorials from develop
58+
- [ ] OpenFOAM7 on Ubuntu 20.04 with preCICE latest and tutorials from develop
59+
- [ ] OpenFOAM8 on Ubuntu 20.04 with preCICE latest and tutorials from develop
60+
- [ ] OpenFOAM9 on Ubuntu 20.04 with preCICE latest and tutorials from develop
61+
- [ ] OpenFOAM10 on Ubuntu 20.04 with preCICE latest and tutorials from OpenFOAM10
62+
- [ ] OpenFOAM v1912 (adapter master) on Ubuntu 18.04 with preCICE v2.3.0 and tutorials from develop
63+
64+
Overview of branches:
65+
66+
```text
67+
master <-- OpenFOAM4 <-- OpenFOAM5 <-- OpenFOAM6 <-- OpenFOAM7 <-- ... <-- OpenFOAMdev
68+
^-- develop ^-- OpenFOAMv1806
69+
```
6470

6571
## Release
6672

@@ -76,7 +82,6 @@ master <-- OpenFOAM4 <-- OpenFOAM5 <-- OpenFOAM6 <-- OpenFOAM7 <-- OpenFOAM8 <--
7682

7783
- [ ] Merge back from `master` to `develop`. No PR is needed for that.
7884
- [ ] Modify the adapter version message to `Loaded the OpenFOAM-preCICE adapter v1.0.0 + unreleased changes`.
79-
- [ ] Update the git module on the website
8085
- [ ] Update workflows in the tutorials repository, if needed (e.g., OpenFOAM version)
8186
- [ ] Update external documentation (tutorials, website), e.g., regarding the adapter or OpenFOAM version.
8287
- [ ] Quickstart

0 commit comments

Comments
 (0)