2020 tests :
2121 runs-on : ubuntu-latest
2222
23-
24-
2523 steps :
2624 - name : checkout repo content
2725 uses : actions/checkout@v2
@@ -30,19 +28,25 @@ jobs:
3028 uses : conda-incubator/setup-miniconda@v3
3129 with :
3230 miniforge-version : latest
33- activate-environment : model-validation
31+ activate-environment : model-validation
3432 use-mamba : true
3533
3634 - name : Update environment
3735 run : mamba env update -n model-validation -f environment_benchmarks.yml
3836 if : steps.cache.outputs.cache-hit != 'true'
3937
38+ - name : run-OpenFOAM-benchmarks
39+ shell : bash -l {0}
40+ run : |
41+ cd $GITHUB_WORKSPACE/benchmarks/rotating-cylinder-OpenFOAM/
42+ snakemake --force --cores 'all'
43+
4044 - name : run-fenics-benchmarks
4145 shell : bash -l {0}
4246 run : |
4347 cd $GITHUB_WORKSPACE/benchmarks/linear-elasticity-plate-with-hole/
4448 snakemake --use-conda --force --cores 'all'
45-
49+
4650 - name : run-Kratos-benchmarks
4751 shell : bash -l {0}
4852 run : |
@@ -67,11 +71,36 @@ jobs:
6771 name : fenics-output
6872 path : |
6973 benchmarks/linear-elasticity-plate-with-hole/data
70-
74+
7175 - name : Archive kratos data
7276 uses : actions/upload-artifact@v4
7377 with :
7478 name : kratos-output
7579 path : |
7680 benchmarks/linear-elasticity-plate-with-hole-Kratos/data
77-
81+
82+
83+ test_rotCyl_OF :
84+ runs-on : ubuntu-latest
85+ container :
86+ image : opencfd/openfoam-run:2412
87+
88+ steps :
89+ - name : Print debug information
90+ run : |
91+ echo "Running on OpenFOAM image"
92+ echo "Current directory: $PWD"
93+ echo "Available files:"
94+ ls -la
95+
96+ - name : checkout repo content
97+ uses : actions/checkout@v2
98+
99+ - name : run-OpenFOAM-benchmarks
100+ shell : bash -l {0}
101+ run : |
102+ cd $GITHUB_WORKSPACE/benchmarks/rotating-cylinder-OpenFOAM/
103+ sudo apt-get update && sudo apt-get install -y gnuplot
104+ chmod +x ./plot
105+ bash ./Allrun
106+ echo "Finished job"
0 commit comments