Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
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
8 changes: 4 additions & 4 deletions .github/workflows/4-1-partitioned-oscillator.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
defaults:
run:
working-directory: experiments/oscillator-overlap
container: precice/precice:3.2.0
container: precice/precice:3.3.0
steps:
- name: Checkout Repository
uses: actions/checkout@v4
Expand Down Expand Up @@ -59,12 +59,12 @@ jobs:
path: |
# working directory is ignored by actions/upload-artifact
experiments/oscillator-overlap/results

visualize:
name: Create plots and tables to visualize experiments from Section 4.1
needs: section_4_1
runs-on: ubuntu-latest
container:
container:
image: benjaminrodenberg/latex:wi-paper
steps:
- name: Checkout Repository
Expand Down Expand Up @@ -117,7 +117,7 @@ jobs:
publish-pages:
permissions:
contents: write
needs:
needs:
- merge
- visualize
runs-on: ubuntu-latest
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/4-2-partitioned-heat-conduction.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
defaults:
run:
working-directory: experiments/partitioned-heat-conduction
container: precice/precice:3.2.0
container: precice/precice:3.3.0
steps:
- name: Checkout Repository
uses: actions/checkout@v4
Expand Down Expand Up @@ -80,7 +80,7 @@ jobs:
defaults:
run:
working-directory: experiments/partitioned-heat-conduction
container: precice/precice:3.2.0
container: precice/precice:3.3.0
steps:
- name: Checkout Repository
uses: actions/checkout@v4
Expand Down Expand Up @@ -112,11 +112,11 @@ jobs:

visualize:
name: Create plots to visualize experiments from Section 4.2
needs:
needs:
- section_4_2_partitioned
- section_4_2_monolithic
runs-on: ubuntu-latest
container:
container:
image: benjaminrodenberg/latex:wi-paper
steps:
- name: Checkout Repository
Expand Down Expand Up @@ -154,7 +154,7 @@ jobs:
merge:
name: Merge output artifacts
runs-on: ubuntu-latest
needs:
needs:
- section_4_2_partitioned
- section_4_2_monolithic
steps:
Expand All @@ -166,7 +166,7 @@ jobs:
publish-pages:
permissions:
contents: write
needs:
needs:
- merge
- visualize
runs-on: ubuntu-latest
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/4-3-perpendicular-flap.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
shell: bash
working-directory: experiments/perpendicular-flap
# built using tools/docker/fenics-openfoam/Dockerfile
container: benjaminrodenberg/fenics-openfoam:3.2.0
container: benjaminrodenberg/fenics-openfoam:3.3.0
steps:
- name: Checkout Repository
uses: actions/checkout@v4
Expand Down Expand Up @@ -71,10 +71,10 @@ jobs:

visualize:
name: Create plots to visualize experiments from Section 4.3
needs:
needs:
- section_4_3
runs-on: ubuntu-latest
container:
container:
image: benjaminrodenberg/latex:wi-paper
steps:
- name: Checkout Repository
Expand Down Expand Up @@ -122,7 +122,7 @@ jobs:
publish-pages:
permissions:
contents: write
needs:
needs:
- merge
- visualize
runs-on: ubuntu-latest
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/publish-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:

jobs:
build_precice_openfoam:
name: "Build preCICE 3.2.0 on top of opencfd/openfoam-dev:2412"
name: "Build preCICE 3.3.0 on top of opencfd/openfoam-dev:2412"
runs-on: ubuntu-latest
env:
docker_username: benjaminrodenberg
Expand All @@ -21,7 +21,7 @@ jobs:
with:
push: true
file: "./tools/docker/precice-openfoam/Dockerfile"
tags: ${{ env.docker_username }}/precice-openfoam:3.2.0
tags: ${{ env.docker_username }}/precice-openfoam:3.3.0
build_fenics_openfoam:
name: "Build FEniCS-OpenFOAM"
needs: build_precice_openfoam
Expand All @@ -41,4 +41,4 @@ jobs:
with:
push: true
file: "./tools/docker/fenics-openfoam/Dockerfile"
tags: ${{ env.docker_username }}/fenics-openfoam:3.2.0
tags: ${{ env.docker_username }}/fenics-openfoam:3.3.0
10 changes: 5 additions & 5 deletions experiments/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ In contrast to the preCICE distribution version v2404.0 a more recent version of

### preCICE components

* preCICE [`3.2.0`](https://github.com/precice/precice/releases/tag/v3.2.0)
* pyprecice [`3.2.1`](https://github.com/precice/python-bindings/releases/tag/v3.2.1) (automatically installed via `requirements.txt` of the respective case)
* preCICE [`3.3.0`](https://github.com/precice/precice/releases/tag/v3.3.0)
* pyprecice [`3.3.0`](https://github.com/precice/python-bindings/releases/tag/v3.3.0) (automatically installed via `requirements.txt` of the respective case)
* FEniCS adapter [`2.2.0`](https://github.com/precice/fenics-adapter/releases/tag/v2.2.0) (automatically installed via `requirements.txt` of the respective case)
* OpenFOAM adapter [`1.3.1`](https://github.com/precice/openfoam-adapter/releases/tag/v1.3.1)

Expand All @@ -37,11 +37,11 @@ In contrast to the preCICE distribution version v2404.0 a more recent version of

The following steps will install the required dependencies:

1. **preCICE**: Download the Debian package (`.deb`) of preCICE 3.2.0 from [here](https://github.com/precice/precice/releases/tag/v3.2.0) and install it on your system by running the command
1. **preCICE**: Download the Debian package (`.deb`) of preCICE 3.3.0 from [here](https://github.com/precice/precice/releases/tag/v3.3.0) and install it on your system by running the command

```sh
wget https://github.com/precice/precice/releases/download/v3.2.0/libprecice3_3.2.0_noble.deb
sudo apt install -y libprecice3_3.2.0_noble.deb
wget https://github.com/precice/precice/releases/download/v3.3.0/libprecice3_3.3.0_noble.deb
sudo apt install -y libprecice3_3.3.0_noble.deb
```

Note: The code name `noble` refers to Ubuntu 24.04, see [here](https://documentation.ubuntu.com/project/release-team/list-of-releases/). If you are using a different Ubuntu version, please replace `noble` with the respective code name.
Expand Down
10 changes: 5 additions & 5 deletions plotting/oscillator-overlap/Fig10/data/constant.csv
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# participants version:{'Mass-Left': {'url': 'BenjaminRodenberg/test-cases-dissertation', 'repo': 'refs/pull/7/merge', 'chash': '4c031f00c705d9847942442c9c62ac413c142825'}, 'Mass-Right': {'url': 'BenjaminRodenberg/test-cases-dissertation', 'repo': 'refs/pull/7/merge', 'chash': '4c031f00c705d9847942442c9c62ac413c142825'}}
# participants:{'Mass-Left': <prepesthel.participant.Participant object at 0x7f9b7e929bb0>, 'Mass-Right': <prepesthel.participant.Participant object at 0x7f9b7d830c20>}
# run cmd:python3 doConvergenceStudy.py configs/precice-config-template-FP.xml --silent --executor Github --config configs/fig10_dts.csv -tss runge_kutta_4 generalized_alpha -wd 0 -o results/Fig10/data/constant.csv
# args:Namespace(template_path='configs/precice-config-template-FP.xml', config='configs/fig10_dts.csv', silent=True, executor='Github', max_time=1.0, base_time_window_size=0.04, time_window_refinements=5, base_time_step_refinement=[1, 1], time_step_refinements=1, time_step_refinement_factor=[2, 2], time_stepping_scheme=['runge_kutta_4', 'generalized_alpha'], waveform_degree=0, exchange_substeps=False, out_filename='results/Fig10/data/constant.csv')
# precice.get_version_information():b'3.2.0;no-info [git failed to run];PRECICE_FEATURE_MPI_COMMUNICATION=Y;PRECICE_FEATURE_PETSC_MAPPING=Y;PRECICE_FEATURE_GINKGO_MAPPING=N;PRECICE_FEATURE_PYTHON_ACTIONS=Y;PRECICE_BINDINGS_C=Y;PRECICE_BINDINGS_FORTRAN=Y;CXX=GNU;CXXFLAGS= -O3 -DNDEBUG;LDFLAGS='
# participants version:{'Mass-Left': {'url': 'BenjaminRodenberg/test-cases-dissertation', 'repo': 'refs/pull/8/merge', 'chash': '3202eb513f485596bf76ab992ea7ac77fea1d47d'}, 'Mass-Right': {'url': 'BenjaminRodenberg/test-cases-dissertation', 'repo': 'refs/pull/8/merge', 'chash': '3202eb513f485596bf76ab992ea7ac77fea1d47d'}}
# participants:{'Mass-Left': <prepesthel.participant.Participant object at 0x7f49c781a810>, 'Mass-Right': <prepesthel.participant.Participant object at 0x7f49c7708470>}
# run cmd:python3 doConvergenceStudy.py precice-config-FP.xml.jinja2 --silent --executor Github --config configs/fig10_dts.csv -tss runge_kutta_4 generalized_alpha -wd 0 -o results/Fig10/data/constant.csv
# args:Namespace(template_path='precice-config-FP.xml.jinja2', config='configs/fig10_dts.csv', silent=True, executor='Github', max_time=1.0, base_time_window_size=0.04, time_window_refinements=5, base_time_step_refinement=[1, 1], time_step_refinements=1, time_step_refinement_factor=[2, 2], time_stepping_scheme=['runge_kutta_4', 'generalized_alpha'], waveform_degree=0, exchange_substeps=False, out_filename='results/Fig10/data/constant.csv')
# precice.get_version_information():b'3.3.0;no-info [git failed to run];PRECICE_FEATURE_MPI_COMMUNICATION=Y;PRECICE_FEATURE_PETSC_MAPPING=Y;PRECICE_FEATURE_GINKGO_MAPPING=N;PRECICE_FEATURE_PYTHON_ACTIONS=Y;PRECICE_BINDINGS_C=Y;PRECICE_BINDINGS_FORTRAN=Y;CXX=GNU;CXXFLAGS= -O3 -DNDEBUG;LDFLAGS='
# precice.__version__:3.2.1
# precice_config_params:{'time_window_size': 0.0125, 'max_time': 1.0, 'waveform_degree': 0, 'substeps': False}
time window size,time step size Mass-Left,time step size Mass-Right,error Mass-Left,error Mass-Right
Expand Down
10 changes: 5 additions & 5 deletions plotting/oscillator-overlap/Fig10/data/linear.csv
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# participants version:{'Mass-Left': {'url': 'BenjaminRodenberg/test-cases-dissertation', 'repo': 'refs/pull/7/merge', 'chash': '4c031f00c705d9847942442c9c62ac413c142825'}, 'Mass-Right': {'url': 'BenjaminRodenberg/test-cases-dissertation', 'repo': 'refs/pull/7/merge', 'chash': '4c031f00c705d9847942442c9c62ac413c142825'}}
# participants:{'Mass-Left': <prepesthel.participant.Participant object at 0x7fbb33b6c5c0>, 'Mass-Right': <prepesthel.participant.Participant object at 0x7fbb33b6c620>}
# run cmd:python3 doConvergenceStudy.py configs/precice-config-template-FP.xml --silent --executor Github --config configs/fig10_dts.csv -tss runge_kutta_4 generalized_alpha -wd 1 -o results/Fig10/data/linear.csv
# args:Namespace(template_path='configs/precice-config-template-FP.xml', config='configs/fig10_dts.csv', silent=True, executor='Github', max_time=1.0, base_time_window_size=0.04, time_window_refinements=5, base_time_step_refinement=[1, 1], time_step_refinements=1, time_step_refinement_factor=[2, 2], time_stepping_scheme=['runge_kutta_4', 'generalized_alpha'], waveform_degree=1, exchange_substeps=False, out_filename='results/Fig10/data/linear.csv')
# precice.get_version_information():b'3.2.0;no-info [git failed to run];PRECICE_FEATURE_MPI_COMMUNICATION=Y;PRECICE_FEATURE_PETSC_MAPPING=Y;PRECICE_FEATURE_GINKGO_MAPPING=N;PRECICE_FEATURE_PYTHON_ACTIONS=Y;PRECICE_BINDINGS_C=Y;PRECICE_BINDINGS_FORTRAN=Y;CXX=GNU;CXXFLAGS= -O3 -DNDEBUG;LDFLAGS='
# participants version:{'Mass-Left': {'url': 'BenjaminRodenberg/test-cases-dissertation', 'repo': 'refs/pull/8/merge', 'chash': '3202eb513f485596bf76ab992ea7ac77fea1d47d'}, 'Mass-Right': {'url': 'BenjaminRodenberg/test-cases-dissertation', 'repo': 'refs/pull/8/merge', 'chash': '3202eb513f485596bf76ab992ea7ac77fea1d47d'}}
# participants:{'Mass-Left': <prepesthel.participant.Participant object at 0x7f86d1e98860>, 'Mass-Right': <prepesthel.participant.Participant object at 0x7f86cf610860>}
# run cmd:python3 doConvergenceStudy.py precice-config-FP.xml.jinja2 --silent --executor Github --config configs/fig10_dts.csv -tss runge_kutta_4 generalized_alpha -wd 1 -o results/Fig10/data/linear.csv
# args:Namespace(template_path='precice-config-FP.xml.jinja2', config='configs/fig10_dts.csv', silent=True, executor='Github', max_time=1.0, base_time_window_size=0.04, time_window_refinements=5, base_time_step_refinement=[1, 1], time_step_refinements=1, time_step_refinement_factor=[2, 2], time_stepping_scheme=['runge_kutta_4', 'generalized_alpha'], waveform_degree=1, exchange_substeps=False, out_filename='results/Fig10/data/linear.csv')
# precice.get_version_information():b'3.3.0;no-info [git failed to run];PRECICE_FEATURE_MPI_COMMUNICATION=Y;PRECICE_FEATURE_PETSC_MAPPING=Y;PRECICE_FEATURE_GINKGO_MAPPING=N;PRECICE_FEATURE_PYTHON_ACTIONS=Y;PRECICE_BINDINGS_C=Y;PRECICE_BINDINGS_FORTRAN=Y;CXX=GNU;CXXFLAGS= -O3 -DNDEBUG;LDFLAGS='
# precice.__version__:3.2.1
# precice_config_params:{'time_window_size': 0.0125, 'max_time': 1.0, 'waveform_degree': 1, 'substeps': False}
time window size,time step size Mass-Left,time step size Mass-Right,error Mass-Left,error Mass-Right
Expand Down
10 changes: 5 additions & 5 deletions plotting/oscillator-overlap/Fig10/data/piecewise_linear.csv
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# participants version:{'Mass-Left': {'url': 'BenjaminRodenberg/test-cases-dissertation', 'repo': 'refs/pull/7/merge', 'chash': '4c031f00c705d9847942442c9c62ac413c142825'}, 'Mass-Right': {'url': 'BenjaminRodenberg/test-cases-dissertation', 'repo': 'refs/pull/7/merge', 'chash': '4c031f00c705d9847942442c9c62ac413c142825'}}
# participants:{'Mass-Left': <prepesthel.participant.Participant object at 0x7f758bab6510>, 'Mass-Right': <prepesthel.participant.Participant object at 0x7f75892908f0>}
# run cmd:python3 doConvergenceStudy.py configs/precice-config-template-FP.xml --silent --executor Github --config configs/fig10_dts.csv -tss runge_kutta_4 generalized_alpha -wd 1 --exchange-substeps -o results/Fig10/data/piecewise_linear.csv
# args:Namespace(template_path='configs/precice-config-template-FP.xml', config='configs/fig10_dts.csv', silent=True, executor='Github', max_time=1.0, base_time_window_size=0.04, time_window_refinements=5, base_time_step_refinement=[1, 1], time_step_refinements=1, time_step_refinement_factor=[2, 2], time_stepping_scheme=['runge_kutta_4', 'generalized_alpha'], waveform_degree=1, exchange_substeps=True, out_filename='results/Fig10/data/piecewise_linear.csv')
# precice.get_version_information():b'3.2.0;no-info [git failed to run];PRECICE_FEATURE_MPI_COMMUNICATION=Y;PRECICE_FEATURE_PETSC_MAPPING=Y;PRECICE_FEATURE_GINKGO_MAPPING=N;PRECICE_FEATURE_PYTHON_ACTIONS=Y;PRECICE_BINDINGS_C=Y;PRECICE_BINDINGS_FORTRAN=Y;CXX=GNU;CXXFLAGS= -O3 -DNDEBUG;LDFLAGS='
# participants version:{'Mass-Left': {'url': 'BenjaminRodenberg/test-cases-dissertation', 'repo': 'refs/pull/8/merge', 'chash': '3202eb513f485596bf76ab992ea7ac77fea1d47d'}, 'Mass-Right': {'url': 'BenjaminRodenberg/test-cases-dissertation', 'repo': 'refs/pull/8/merge', 'chash': '3202eb513f485596bf76ab992ea7ac77fea1d47d'}}
# participants:{'Mass-Left': <prepesthel.participant.Participant object at 0x7f326a8e7ec0>, 'Mass-Right': <prepesthel.participant.Participant object at 0x7f326a8e7fe0>}
# run cmd:python3 doConvergenceStudy.py precice-config-FP.xml.jinja2 --silent --executor Github --config configs/fig10_dts.csv -tss runge_kutta_4 generalized_alpha -wd 1 --exchange-substeps -o results/Fig10/data/piecewise_linear.csv
# args:Namespace(template_path='precice-config-FP.xml.jinja2', config='configs/fig10_dts.csv', silent=True, executor='Github', max_time=1.0, base_time_window_size=0.04, time_window_refinements=5, base_time_step_refinement=[1, 1], time_step_refinements=1, time_step_refinement_factor=[2, 2], time_stepping_scheme=['runge_kutta_4', 'generalized_alpha'], waveform_degree=1, exchange_substeps=True, out_filename='results/Fig10/data/piecewise_linear.csv')
# precice.get_version_information():b'3.3.0;no-info [git failed to run];PRECICE_FEATURE_MPI_COMMUNICATION=Y;PRECICE_FEATURE_PETSC_MAPPING=Y;PRECICE_FEATURE_GINKGO_MAPPING=N;PRECICE_FEATURE_PYTHON_ACTIONS=Y;PRECICE_BINDINGS_C=Y;PRECICE_BINDINGS_FORTRAN=Y;CXX=GNU;CXXFLAGS= -O3 -DNDEBUG;LDFLAGS='
# precice.__version__:3.2.1
# precice_config_params:{'time_window_size': 0.0125, 'max_time': 1.0, 'waveform_degree': 1, 'substeps': True}
time window size,time step size Mass-Left,time step size Mass-Right,error Mass-Left,error Mass-Right
Expand Down
10 changes: 5 additions & 5 deletions plotting/oscillator-overlap/Fig10/data/third_degree_b-spline.csv
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# participants version:{'Mass-Left': {'url': 'BenjaminRodenberg/test-cases-dissertation', 'repo': 'refs/pull/7/merge', 'chash': '4c031f00c705d9847942442c9c62ac413c142825'}, 'Mass-Right': {'url': 'BenjaminRodenberg/test-cases-dissertation', 'repo': 'refs/pull/7/merge', 'chash': '4c031f00c705d9847942442c9c62ac413c142825'}}
# participants:{'Mass-Left': <prepesthel.participant.Participant object at 0x7fcdea1f0c20>, 'Mass-Right': <prepesthel.participant.Participant object at 0x7fcdead4b350>}
# run cmd:python3 doConvergenceStudy.py configs/precice-config-template-FP.xml --silent --executor Github --config configs/fig10_dts.csv -tss runge_kutta_4 generalized_alpha -wd 3 --exchange-substeps -o results/Fig10/data/third_degree_b-spline.csv
# args:Namespace(template_path='configs/precice-config-template-FP.xml', config='configs/fig10_dts.csv', silent=True, executor='Github', max_time=1.0, base_time_window_size=0.04, time_window_refinements=5, base_time_step_refinement=[1, 1], time_step_refinements=1, time_step_refinement_factor=[2, 2], time_stepping_scheme=['runge_kutta_4', 'generalized_alpha'], waveform_degree=3, exchange_substeps=True, out_filename='results/Fig10/data/third_degree_b-spline.csv')
# precice.get_version_information():b'3.2.0;no-info [git failed to run];PRECICE_FEATURE_MPI_COMMUNICATION=Y;PRECICE_FEATURE_PETSC_MAPPING=Y;PRECICE_FEATURE_GINKGO_MAPPING=N;PRECICE_FEATURE_PYTHON_ACTIONS=Y;PRECICE_BINDINGS_C=Y;PRECICE_BINDINGS_FORTRAN=Y;CXX=GNU;CXXFLAGS= -O3 -DNDEBUG;LDFLAGS='
# participants version:{'Mass-Left': {'url': 'BenjaminRodenberg/test-cases-dissertation', 'repo': 'refs/pull/8/merge', 'chash': '3202eb513f485596bf76ab992ea7ac77fea1d47d'}, 'Mass-Right': {'url': 'BenjaminRodenberg/test-cases-dissertation', 'repo': 'refs/pull/8/merge', 'chash': '3202eb513f485596bf76ab992ea7ac77fea1d47d'}}
# participants:{'Mass-Left': <prepesthel.participant.Participant object at 0x7f84ea432c90>, 'Mass-Right': <prepesthel.participant.Participant object at 0x7f84eaac84a0>}
# run cmd:python3 doConvergenceStudy.py precice-config-FP.xml.jinja2 --silent --executor Github --config configs/fig10_dts.csv -tss runge_kutta_4 generalized_alpha -wd 3 --exchange-substeps -o results/Fig10/data/third_degree_b-spline.csv
# args:Namespace(template_path='precice-config-FP.xml.jinja2', config='configs/fig10_dts.csv', silent=True, executor='Github', max_time=1.0, base_time_window_size=0.04, time_window_refinements=5, base_time_step_refinement=[1, 1], time_step_refinements=1, time_step_refinement_factor=[2, 2], time_stepping_scheme=['runge_kutta_4', 'generalized_alpha'], waveform_degree=3, exchange_substeps=True, out_filename='results/Fig10/data/third_degree_b-spline.csv')
# precice.get_version_information():b'3.3.0;no-info [git failed to run];PRECICE_FEATURE_MPI_COMMUNICATION=Y;PRECICE_FEATURE_PETSC_MAPPING=Y;PRECICE_FEATURE_GINKGO_MAPPING=N;PRECICE_FEATURE_PYTHON_ACTIONS=Y;PRECICE_BINDINGS_C=Y;PRECICE_BINDINGS_FORTRAN=Y;CXX=GNU;CXXFLAGS= -O3 -DNDEBUG;LDFLAGS='
# precice.__version__:3.2.1
# precice_config_params:{'time_window_size': 0.0125, 'max_time': 1.0, 'waveform_degree': 3, 'substeps': True}
time window size,time step size Mass-Left,time step size Mass-Right,error Mass-Left,error Mass-Right
Expand Down
Loading