Skip to content

Commit

Permalink
Support reactions via reagency
Browse files Browse the repository at this point in the history
  • Loading branch information
gerlero committed Sep 13, 2024
1 parent 2cbcca9 commit 0ffc920
Show file tree
Hide file tree
Showing 20 changed files with 28 additions and 723 deletions.
16 changes: 12 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
with:
path: porousMicroTransport
- name: Set up OpenFOAM
uses: gerlero/setup-openfoam@v1
with:
Expand All @@ -30,12 +32,18 @@ jobs:
python-version: '3.x'
cache: pip
cache-dependency-path: tests/requirements.txt
- name: Build
- name: Check out reagency
uses: actions/checkout@v4
with:
repository: gerlero/reagency
path: reagency
- name: Build reagency
run: |
./Allwmake -j
reagency/Allwmake -j
- name: Build
run: porousMicroTransport/Allwmake -j
- name: Test
run: |
tests/Alltest
run: porousMicroTransport/tests/Alltest

lint-tests:
name: Lint tests
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
ARG OPENFOAM_VERSION=2406

FROM microfluidica/openfoam:${OPENFOAM_VERSION} AS dev
FROM microfluidica/reagency:openfoam${OPENFOAM_VERSION} AS dev

ARG PMT_DIR=/usr/local/src/porousMicroTransport

Expand All @@ -20,7 +20,7 @@ RUN ${PMT_DIR}/Allwmake -j -prefix=group \
&& moistureDiffusivityTransportFoam -help


FROM microfluidica/openfoam:${OPENFOAM_VERSION}-slim AS slim
FROM microfluidica/reagency:slim-openfoam${OPENFOAM_VERSION} AS slim

ARG OPENFOAM_VERSION

Expand Down
1 change: 0 additions & 1 deletion libraries/Allwmake
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,4 @@ wmake $targetType common
wmake $targetType unsaturatedFlowModels
wmake $targetType PicardControl
wmake $targetType transport
wmake $targetType reactions
wmake $targetType boundaryConditions
8 changes: 0 additions & 8 deletions libraries/reactions/Make/files

This file was deleted.

18 changes: 0 additions & 18 deletions libraries/reactions/Make/options

This file was deleted.

44 changes: 0 additions & 44 deletions libraries/reactions/defaultReaction/defaultReaction.C

This file was deleted.

39 changes: 0 additions & 39 deletions libraries/reactions/defaultReaction/defaultReaction.H

This file was deleted.

Loading

0 comments on commit 0ffc920

Please sign in to comment.