Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release v2.0.0 #319

Closed
wants to merge 56 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
56 commits
Select commit Hold shift + click to select a range
b1e78cf
Document minimum version required for OpenFOAM v2212
MakisH Jan 31, 2023
efbe339
Fix documentation linting
MakisH Jan 31, 2023
e4a5306
Update Actions set-output syntax
MakisH Feb 18, 2023
f594d65
Fix echo termination
MakisH Feb 18, 2023
365f01d
Document FFTW linking issues in Troubleshooting
MakisH Feb 22, 2023
b490b8d
Documentation: Fix linter
MakisH Feb 22, 2023
62142fd
Fix comment about WM_NCOMPPROCS in Allwmake
cheriimoya Mar 1, 2023
4d64d91
Allow overriding of the ADAPTER_PREP_FLAGS variable (#283)
cheriimoya Mar 10, 2023
97b9f72
Add a citation file
davidscn Mar 20, 2023
bc819fa
Fix indentation
davidscn Mar 20, 2023
852cda2
Experiment with textregistered
davidscn Mar 20, 2023
c2f66de
Remove preferred citation for experimental purpose
davidscn Mar 20, 2023
3cbb4dd
Use preferred citation with template version
davidscn Mar 20, 2023
7a8c7e7
Use correct authors
davidscn Mar 20, 2023
c6e5704
Revert changes
davidscn Mar 20, 2023
dc48737
...
davidscn Mar 20, 2023
1dc293f
fill correct info
davidscn Mar 20, 2023
93f84fb
Merge pull request #284 from precice/citation
MakisH Mar 21, 2023
12d5bad
Merge pull request #280 from precice/update-ci-set-output
MakisH Apr 4, 2023
b0c383e
Add citing guidelines in README and docs (#287)
MakisH Apr 11, 2023
846affd
Fix iterator in FSI reader and writer for multiple patches (#289)
davidscn May 19, 2023
f91e204
Markdown-lint: Disable MD034 (#290)
MakisH May 19, 2023
25f9798
Add note in docs regarding OpenFOAM9 residualControl name
MakisH May 20, 2023
98e448f
Re-arrange `if` logic for Pstream initialization (#293)
davidscn Jun 20, 2023
69f4fd2
Rectify version specifications for OPENFOAM and OPENFOAM_PLUS
davidscn Jun 20, 2023
0dbbc7a
Merge branch 'master' into develop
davidscn Jun 20, 2023
e00bfcd
Bump version from v1.2.3 to v1.2.3 + unreleased changes
davidscn Jun 20, 2023
ff19340
Add simple script to create release archives (#294)
davidscn Jun 20, 2023
a2362f3
Bump default OpenFOAM version to v2306 (#296)
MakisH Jul 24, 2023
d573d0d
Merge `initializeData` into `initialize` (#262)
davidscn Jul 27, 2023
0022e33
Add changelog
davidscn Nov 21, 2022
dcc22aa
Replace actions by explicit calls
davidscn Dec 9, 2022
f886ed1
Port data and mesh IDs to actual names
davidscn Mar 20, 2023
e920e59
Latest changes from develop
davidscn Jul 3, 2023
dc6d864
Add changelog entry
MakisH Jul 27, 2023
dfb2f63
Update documentation
MakisH Jul 27, 2023
9e41eef
Convert NULL to nullptr
MakisH Jul 27, 2023
a8f1945
Mesh connectivity for preCICE v3 (#297)
MakisH Aug 7, 2023
68f3bba
Switch CI to build preCICE from develop (#299)
MakisH Aug 10, 2023
cc95bec
Add volume coupling feature (#255)
tirgendetwas Aug 15, 2023
3e660e1
Update README.md
MakisH Aug 16, 2023
389934a
Updates to the FF module (#281)
thesamriel Aug 16, 2023
b0f4d1f
Fix typo in DEBUG log of FF coupling
davidscn Aug 17, 2023
61e7f69
Reduce build targets to save building time (#301)
MakisH Sep 3, 2023
c396868
Pass the correct number of entries to `writeData` (#305)
davidscn Oct 16, 2023
99421f7
Re arrange read time according to adjustable dt (#298)
davidscn Nov 28, 2023
a0e5263
Update hint to performance metric files
davidscn Jan 23, 2024
1ed787a
Add phase variable and flux coupling for interFOAM in the FF module (…
thesamriel Jan 24, 2024
8db7f75
Fix connectivity definition in the adapter (#315)
davidscn Jan 24, 2024
fa6f48f
Introduce tolerances for triggering dt related warnings (#312)
davidscn Jan 24, 2024
b831b5c
Update release_pull_request_template.md for Spack
MakisH Jan 31, 2024
5206e0d
Configure dependabot for version updates
davidscn Feb 2, 2024
cc75b59
Bump actions/cache from 3 to 4
dependabot[bot] Feb 2, 2024
5dde77e
Bump actions/checkout from 2 to 4
dependabot[bot] Feb 2, 2024
b6e860a
Bump actions/upload-artifact from 2 to 4
dependabot[bot] Feb 2, 2024
1cbe5a5
Bump version and update changelog
davidscn Feb 8, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file

version: 2
updates:
- package-ecosystem: "github-actions" # See documentation for possible values
directory: "/" # Location of package manifests
schedule:
interval: "weekly"
46 changes: 28 additions & 18 deletions .github/workflows/build-custom.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ on:
required: true
type: choice
options:
- ubuntu-22.04
- ubuntu-20.04
- ubuntu-18.04
refAdapter:
Expand All @@ -19,6 +20,7 @@ on:
required: true
type: choice
options:
- OpenFOAMv2306
- OpenFOAMv2212
- OpenFOAMv2206
- OpenFOAMv2112
Expand All @@ -34,7 +36,7 @@ on:
- OpenFOAM5
versionpreCICE:
description: 'Version of preCICE to build with'
default: '2.3.0'
default: '2.5.0'
required: true
runTutorialHeatedPlate:
description: Run tutorial flow-over-heated-plate
Expand Down Expand Up @@ -72,86 +74,94 @@ jobs:
echo "Run tutorial partitioned-pipe: ${{ github.event.inputs.runTutorialPartitionedPipe }}"
echo "Tutorials branch: ${{ github.event.inputs.branchTutorials }}"
- name: Check out repository
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
ref: ${{ github.event.inputs.refAdapter }}
- name: Install OpenFOAM (no cache)
id: installOpenFOAM
run: |
case "${{ github.event.inputs.versionOpenFOAM }}" in
OpenFOAMv2306)
wget -q -O - https://dl.openfoam.com/add-debian-repo.sh | sudo bash
sudo apt-get install openfoam2306-dev
echo "{openfoam_exec}={/usr/bin/openfoam2306}" >> $GITHUB_OUTPUT;;
OpenFOAMv2212)
wget -q -O - https://dl.openfoam.com/add-debian-repo.sh | sudo bash
sudo apt-get install openfoam2212-dev
echo "::set-output name=openfoam_exec::/usr/bin/openfoam2212";;
echo "{openfoam_exec}={/usr/bin/openfoam2212}" >> $GITHUB_OUTPUT;;
OpenFOAMv2206)
wget -q -O - https://dl.openfoam.com/add-debian-repo.sh | sudo bash
sudo apt-get install openfoam2206-dev
echo "::set-output name=openfoam_exec::/usr/bin/openfoam2206";;
echo "{openfoam_exec}={/usr/bin/openfoam2206}" >> $GITHUB_OUTPUT;;
OpenFOAMv2112)
wget -q -O - https://dl.openfoam.com/add-debian-repo.sh | sudo bash
sudo apt-get install openfoam2112-dev
echo "::set-output name=openfoam_exec::/usr/bin/openfoam2112";;
echo "{openfoam_exec}={/usr/bin/openfoam2112}" >> $GITHUB_OUTPUT;;
OpenFOAMv2106)
wget -q -O - https://dl.openfoam.com/add-debian-repo.sh | sudo bash
sudo apt-get install openfoam2106-dev
echo "::set-output name=openfoam_exec::/usr/bin/openfoam2106";;
echo "{openfoam_exec}={/usr/bin/openfoam2106}" >> $GITHUB_OUTPUT;;
OpenFOAMv2012)
wget -q -O - https://dl.openfoam.com/add-debian-repo.sh | sudo bash
sudo apt-get install openfoam2012-dev
echo "::set-output name=openfoam_exec::/usr/bin/openfoam2012";;
echo "{openfoam_exec}={/usr/bin/openfoam2012}" >> $GITHUB_OUTPUT;;
OpenFOAMv2006)
wget -q -O - https://dl.openfoam.com/add-debian-repo.sh | sudo bash
sudo apt-get install openfoam2006-dev
echo "::set-output name=openfoam_exec::/usr/bin/openfoam2006";;
echo "{openfoam_exec}={/usr/bin/openfoam2006}" >> $GITHUB_OUTPUT;;
OpenFOAMv1912)
wget -q -O - https://dl.openfoam.com/add-debian-repo.sh | sudo bash
sudo apt-get install openfoam1912-dev
echo "::set-output name=openfoam_exec::/usr/bin/openfoam1912";;
echo "{openfoam_exec}={/usr/bin/openfoam1912}" >> $GITHUB_OUTPUT;;
OpenFOAM10)
sudo sh -c "wget -O - https://dl.openfoam.org/gpg.key | apt-key add -"
sudo add-apt-repository http://dl.openfoam.org/ubuntu
sudo apt-get update
sudo apt-get -y install openfoam10
echo "::set-output name=openfoam_exec::. /opt/openfoam10/etc/bashrc &&";;
echo "{openfoam_exec}={. /opt/openfoam10/etc/bashrc &&}" >> $GITHUB_OUTPUT;;
OpenFOAM9)
sudo sh -c "wget -O - https://dl.openfoam.org/gpg.key | apt-key add -"
sudo add-apt-repository http://dl.openfoam.org/ubuntu
sudo apt-get update
sudo apt-get -y install openfoam9
echo "::set-output name=openfoam_exec::. /opt/openfoam9/etc/bashrc &&";;
echo "{openfoam_exec}={. /opt/openfoam9/etc/bashrc &&}" >> $GITHUB_OUTPUT;;
OpenFOAM8)
sudo sh -c "wget -O - https://dl.openfoam.org/gpg.key | apt-key add -"
sudo add-apt-repository http://dl.openfoam.org/ubuntu
sudo apt-get update
sudo apt-get -y install openfoam8
echo "::set-output name=openfoam_exec::. /opt/openfoam8/etc/bashrc &&";;
echo "{openfoam_exec}={. /opt/openfoam8/etc/bashrc &&}" >> $GITHUB_OUTPUT;;
OpenFOAM7)
sudo sh -c "wget -O - https://dl.openfoam.org/gpg.key | apt-key add -"
sudo add-apt-repository http://dl.openfoam.org/ubuntu
sudo apt-get update
sudo apt-get -y install openfoam7
echo "::set-output name=openfoam_exec::. /opt/openfoam7/etc/bashrc &&";;
echo "{openfoam_exec}={. /opt/openfoam7/etc/bashrc &&}" >> $GITHUB_OUTPUT;;
OpenFOAM6)
echo "OpenFOAM 6 is only available on Ubuntu 18.04 or older."
sudo sh -c "wget -O - https://dl.openfoam.org/gpg.key | apt-key add -"
sudo add-apt-repository http://dl.openfoam.org/ubuntu
sudo apt-get update
sudo apt-get -y install openfoam6
echo "::set-output name=openfoam_exec::. /opt/openfoam6/etc/bashrc &&";;
echo "{openfoam_exec}={. /opt/openfoam6/etc/bashrc &&}" >> $GITHUB_OUTPUT;;
OpenFOAM5)
echo "OpenFOAM 5 is only available on Ubuntu 18.04 or older."
sudo sh -c "wget -O - https://dl.openfoam.org/gpg.key | apt-key add -"
sudo add-apt-repository http://dl.openfoam.org/ubuntu
sudo apt-get update
sudo apt-get -y install openfoam5
echo "::set-output name=openfoam_exec::. /opt/openfoam5/etc/bashrc &&";;
echo "{openfoam_exec}={. /opt/openfoam5/etc/bashrc &&}" >> $GITHUB_OUTPUT;;
*)
echo "I cannot find ${{ github.event.inputs.refAdapter }} in my known options."
exit 1;;
esac
- name: Install preCICE (no cache)
run: |
if [ "${{ github.event.inputs.virtualEnvironment }}" == "ubuntu-20.04" ]
if [ "${{ github.event.inputs.virtualEnvironment }}" == "ubuntu-22.04" ]
then
wget "https://github.com/precice/precice/releases/download/v${{ github.event.inputs.versionpreCICE }}/libprecice2_${{ github.event.inputs.versionpreCICE }}_jammy.deb"
sudo apt install "./libprecice2_${{ github.event.inputs.versionpreCICE }}_jammy.deb"
elif [ "${{ github.event.inputs.virtualEnvironment }}" == "ubuntu-20.04" ]
then
wget "https://github.com/precice/precice/releases/download/v${{ github.event.inputs.versionpreCICE }}/libprecice2_${{ github.event.inputs.versionpreCICE }}_focal.deb"
sudo apt install "./libprecice2_${{ github.event.inputs.versionpreCICE }}_focal.deb"
Expand Down Expand Up @@ -210,7 +220,7 @@ jobs:
wait $PIDfluid
fi
- name: Archive logs
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: logs
path: |
Expand All @@ -224,7 +234,7 @@ jobs:
tutorials/partitioned-pipe/fluid1-openfoam-pimplefoam/fluid1-openfoam-pimplefoam.log
tutorials/partitioned-pipe/fluid2-openfoam-pimplefoam/fluid2-openfoam-pimplefoam.log
- name: Archive case files
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: case-files
path: |
Expand Down
18 changes: 11 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build with OpenFOAM v2212
name: Build with OpenFOAM v2306
on:
push:
branches-ignore:
Expand All @@ -20,23 +20,27 @@ on:
- 'README.md'
jobs:
build:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- name: Check out repository
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Setup caches
uses: actions/cache@v2
uses: actions/cache@v4
id: cache-id
with:
path: ${{ runner.temp }}/cache-directory
key: ${{ runner.os }}-cache-dependencies-v1.0
- name: Install dependencies (considering cache)
- name: Install OpenFOAM (considering cache)
uses: airvzxf/[email protected]
with:
script: 'install-dependencies.sh'
script: 'install-openfoam.sh'
is_cached: ${{ steps.cache-id.outputs.cache-hit }}
cache: ${{ runner.temp }}/cache-directory
snapshot: '/'
exclude: '/boot /data /dev /mnt /proc /run /sys'
- name: Install preCICE
uses: precice/setup-precice-action@main
with:
precice-version: develop
- name: Build OpenFOAM-preCICE adapter
run: /usr/bin/openfoam2212 ./Allwmake
run: /usr/bin/openfoam2306 ./Allwmake
2 changes: 1 addition & 1 deletion .github/workflows/check-format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ jobs:
name: Check formatting (clang-format)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Run clang-format style check for C/C++ programs.
uses: jidicula/clang-format-action@main
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check-links.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Check links in markdown files (markdown-link-check)
uses: gaurav-nelson/github-action-markdown-link-check@v1
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check-markdown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Lint markdown files (markdownlint)
uses: articulate/actions-markdownlint@v1
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check-shell.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Lint shell scripts (shellcheck)
uses: ludeeus/action-shellcheck@master
9 changes: 0 additions & 9 deletions .github/workflows/install-dependencies.sh

This file was deleted.

6 changes: 6 additions & 0 deletions .github/workflows/install-openfoam.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/bin/bash -e

# Install OpenFOAM v2306
wget -q -O - https://dl.openfoam.com/add-debian-repo.sh | sudo bash
sudo apt-get update
sudo apt-get install openfoam2306-dev
Loading
Loading