Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
214 commits
Select commit Hold shift + click to select a range
5aedfa3
Merge pull request #15 from vressegu/mergeConvBackground
vressegu Jan 2, 2025
3376b90
Adding a ROM tutorial for a flow around an oscillating cylinder
Nkana-valentin Feb 14, 2025
5d0cd12
Merge branch 'master' into ROMs4MovingDomains
Nkana-valentin Feb 19, 2025
73562f8
Update ITHACAassign.C
Nkana-valentin Feb 19, 2025
9be6e1a
Update ITHACAcoeffsMass.C
Nkana-valentin Feb 19, 2025
ff788c1
Update Foam2Eigen.C
Nkana-valentin Feb 19, 2025
2f5e42d
Updating the current branch
Nkana-valentin Feb 19, 2025
1ca5149
resolving conflicts
Nkana-valentin Feb 19, 2025
65417cf
Updating the 24HyperReduction.C
Nkana-valentin Feb 19, 2025
2810174
Updating unitTests-RBF_def make options
Nkana-valentin Feb 19, 2025
5d9caba
Upadating tutorials NN folder
Nkana-valentin Feb 19, 2025
1f2e8c9
Transforming RhoPimpleFoam solver to class
Nkana-valentin Feb 27, 2025
5249d2d
Updating 26MovingAirfoil tutorial
Nkana-valentin Feb 27, 2025
f8309cb
Updating some files in Fsi folder
Nkana-valentin Mar 29, 2025
58885d7
Updating createTime.H file in compressibleunsteadyNSRhoPimple
Nkana-valentin Mar 29, 2025
76d899b
Displaying final condition number
RomainTiphaigne Apr 14, 2025
338ae3b
Linking ECP with red_lum_cpp: saving projection matrix, giving cells'…
RomainTiphaigne Apr 14, 2025
307f092
Fixing and normalizing cell's volumes in ECP
RomainTiphaigne Apr 14, 2025
d41b9ef
Choosing if predicting volume or not in ECP with boolean argument
RomainTiphaigne Apr 14, 2025
c634f12
Choosing if normalizing gradient or not for cubature points selection…
RomainTiphaigne Apr 14, 2025
c396aab
Choosing if cells' volume are included in the cubature weights or not…
RomainTiphaigne Apr 14, 2025
e335cc9
FIX:the 'fvc::domainIntegrate()' and 'gSum()' will automatically add …
Ruansh233 May 5, 2025
fa9f7c3
correct git conflict
Ruansh233 May 5, 2025
024cf3a
Moving IthacaFVTool content to ITHACAutilities in ITHACA-FV
FlorianRegnault May 12, 2025
3f73f0d
fix: added "/" after folders when composing paths
filippo-biondi May 20, 2025
47b336f
Merge pull request #592 from filippo-biondi/fix_read_fields
giovastabile May 20, 2025
ff7b59f
Merge pull request #590 from Ruansh233/PULL_REQUEST
giovastabile May 20, 2025
916f9fb
ECP with snapshots' subspaces: sharing nodes but different cubature w…
RomainTiphaigne May 22, 2025
6ccf5bf
fix: infer rowMajor or colMajor from npy header in cnpy::load
filippo-biondi May 29, 2025
168816b
Merge pull request #594 from filippo-biondi/fix_col_major
giovastabile May 30, 2025
1148927
Adding ScalarTransport FOM
Nkana-valentin Jun 1, 2025
76a8e15
Adding HROM on Scalar Transport model
Nkana-valentin Jun 1, 2025
4461929
Updating files in 27ScalarTransportHR
Nkana-valentin Jun 3, 2025
6df70d5
Adding fvMat2Eigen method for row-major and col-major storage
Nkana-valentin Jun 3, 2025
fa8852f
Updating HyperReducedScalarTransport.C
Nkana-valentin Jun 4, 2025
9bafb7d
adding two tutorials on HROMs
Nkana-valentin Jun 6, 2025
1778419
New update of fsi's reduced class
Nkana-valentin Jun 9, 2025
8b35347
Adding mesh motion capability in fsibasic.C
Nkana-valentin Jun 9, 2025
3564194
Adding dummy class on icoFoam solver
Nkana-valentin Jun 9, 2025
d55f8d7
fvSchemes file update for fsi with moving mesh
Nkana-valentin Jun 9, 2025
3ff0ab4
ADD:new cached procedures to compute the tensor, which is faster in t…
Ruansh233 May 30, 2025
4327730
Adding readMiddleFields for pointDisplacement
Nkana-valentin Jun 21, 2025
c7e1986
Updating the some Fsi files for handlingparameters dependency problems
Nkana-valentin Jun 21, 2025
05c8b15
Adding a ptrlist to save dynamic mesh at for each online parameter s…
Nkana-valentin Jun 21, 2025
4f4c792
Adding prepareRomData routine for ReducedFsi
Nkana-valentin Jun 25, 2025
fb4e105
Updating the 25th tutorial
Nkana-valentin Jun 25, 2025
13a47a6
NNLS for ECP hyperreduction (works only for vectorial_dim=1 & n_subsp…
RomainTiphaigne Jun 26, 2025
6086a2c
Merge pull request #596 from Ruansh233/PULL_REQUEST
giovastabile Jun 27, 2025
f55bb23
ADD:01POD, parallel support
Ruansh233 Jul 2, 2025
9d54ded
ADD:02thermalBlock, parallel running script; FIX:mistake in writing mu
Ruansh233 Jul 2, 2025
7dfd107
ADD:03steadyNS, parallel running script; FIX:mistake in README.md for…
Ruansh233 Jul 2, 2025
1403d8d
ADD:04unsteadyNS, parallel support; FIX:steadyNS.C, pressure_BC terms…
Ruansh233 Jul 3, 2025
9673763
ADD:05PODI, parallel running script
Ruansh233 Jul 3, 2025
08064b7
ADD:06POD_RBF, parallel running script
Ruansh233 Jul 3, 2025
4fa1928
Update EIGEN submodule
giovastabile Jul 15, 2025
53af57e
adding spectra as a submodule
giovastabile Jul 15, 2025
5640c1f
adding optimilib as a submodule
giovastabile Jul 15, 2025
f88d534
fixing ithacapod to latest version of spectra
giovastabile Jul 15, 2025
4db63e8
Merge pull request #606 from giovastabile/update_submodules
giovastabile Jul 15, 2025
72e2ea4
Updating to c++17
giovastabile Jul 16, 2025
04cad0d
Merge pull request #609 from giovastabile/update_submodules
giovastabile Jul 16, 2025
0294987
ENH: adding new workflow for OF2412 with dockerfile
giovastabile Jul 16, 2025
09becd9
Merge pull request #610 from giovastabile/update_submodules
giovastabile Jul 16, 2025
b75525e
FIX: updating readme
giovastabile Jul 16, 2025
09f067d
new compile file
giovastabile Jul 16, 2025
4e8c12c
updated options muq tutorials
giovastabile Jul 16, 2025
3303742
Merge pull request #611 from giovastabile/update_submodules
giovastabile Jul 16, 2025
9516950
Update README.md
giovastabile Jul 16, 2025
71d6a77
Update README.md
giovastabile Jul 16, 2025
1410975
Update README.md
giovastabile Jul 16, 2025
73dd675
Update README.md
giovastabile Jul 16, 2025
f33ba56
ENH: updated to OF2506
giovastabile Jul 17, 2025
a578c22
FIX: fixed action name
giovastabile Jul 17, 2025
5c4434f
Merge pull request #612 from giovastabile/update_submodules
giovastabile Jul 17, 2025
89550db
Updating files in ReducedFsi and fsiBasic folders
Nkana-valentin Jul 17, 2025
2c9a511
Merge branch 'master' into ROMs4MovingDomainsUpdated
Nkana-valentin Jul 17, 2025
43e32d3
Update Foam2Eigen.C
Nkana-valentin Jul 18, 2025
c4d4342
Update fsiBasic.C
Nkana-valentin Jul 18, 2025
21f3bbd
Update fsiBasic.C
Nkana-valentin Jul 18, 2025
b5d9a90
Update fsiBasic.C
Nkana-valentin Jul 18, 2025
04ff2ea
Update fsiBasic.C
Nkana-valentin Jul 18, 2025
b95345a
Update fsiBasic.C
Nkana-valentin Jul 18, 2025
74b06a4
Update fsiBasic.C
Nkana-valentin Jul 18, 2025
d8a13a8
Update ReducedFsi.C
Nkana-valentin Jul 18, 2025
7e3e43a
Update fsiBasic.C
Nkana-valentin Jul 18, 2025
c063325
Update CompressibleUnSteadyRhoPimple.C
Nkana-valentin Jul 18, 2025
2594a4c
Update CylinderMotion.H
Nkana-valentin Jul 18, 2025
7f4b84b
Importing POD computation to RedLUMcpp
alanCopy Jul 18, 2025
c3845f6
Update Moving_Cylinder.C
Nkana-valentin Jul 18, 2025
79dc9cd
Update options
Nkana-valentin Jul 18, 2025
6721abd
Update options
Nkana-valentin Jul 18, 2025
8880c16
Update options
Nkana-valentin Jul 18, 2025
2547de3
Update options
Nkana-valentin Jul 18, 2025
1396410
Update options
Nkana-valentin Jul 18, 2025
88b1909
Update options
Nkana-valentin Jul 18, 2025
c405223
Removing unnecessary tutorials
Nkana-valentin Jul 20, 2025
6882045
Update README.md
giovastabile Jul 21, 2025
7392962
Update README.md
giovastabile Jul 21, 2025
a016c41
FIX: fixed dockerfiles
giovastabile Jul 25, 2025
c5a24ea
Merge pull request #614 from giovastabile/update_submodules
giovastabile Jul 25, 2025
4980dfb
changed makefils and dockerfile amd
giovastabile Jul 25, 2025
bbc95ce
Merge pull request #615 from giovastabile/update_submodules
giovastabile Jul 25, 2025
7c32c77
Merge branch 'ITHACA-FV:master' into tutorial_parallelization
Ruansh233 Jul 26, 2025
0660d5e
FIX: fixed dockerfile ithaca
giovastabile Jul 28, 2025
825af82
Merge pull request #616 from giovastabile/update_submodules
giovastabile Jul 28, 2025
0749a6e
FIX: fixed dockerfiles for ithaca amd
giovastabile Jul 28, 2025
52d03d9
Merge pull request #617 from giovastabile/update_submodules
giovastabile Jul 28, 2025
ff018cd
ENH: optimize Docker workflow for testing
Jul 28, 2025
e51de71
ENH: split Docker workflow into separate AMD64/ARM64 builds with mani…
Jul 28, 2025
59ca169
FIX: resolve Docker multi-arch build push-by-digest conflict
Jul 28, 2025
843ca48
Merge pull request #618 from ITHACA-FV/Docker
blindmuraqib Jul 28, 2025
4bd4c87
ENH: add Docker dependencies workflow and restructure OF2506 Dockerfiles
Jul 28, 2025
f2bc778
Merge pull request #619 from ITHACA-FV/Docker
blindmuraqib Jul 28, 2025
3ca55c0
FIX: Update Dockerfile
blindmuraqib Jul 28, 2025
5b71b19
ENH: consolidate Docker build architecture and update workflow
Jul 28, 2025
995fbd1
Merge pull request #620 from ITHACA-FV/Docker
blindmuraqib Jul 28, 2025
3644ac3
FIX: typo repo dockerhub for dependencies
Jul 28, 2025
d8267d0
FIX: typo repo dockerhub for dependencies
blindmuraqib Jul 28, 2025
011c183
ENH: improve Dockerfile portability and robustness
Jul 28, 2025
553dc4c
FIX: simplify Dockerfile user management and build process
Jul 29, 2025
174e680
Merge pull request #622 from ITHACA-FV/Docker
blindmuraqib Jul 29, 2025
4391cd0
Finalizing NNLS for ECP hyperreduction
RomainTiphaigne Aug 5, 2025
19eef69
Importing parameters for the memory efficient POD computation + new t…
FlorianRegnault Aug 6, 2025
a8d1ac3
Update Dockerfile
giovastabile Aug 8, 2025
ff9211a
added new MUQ implementations
giovastabile Aug 9, 2025
ac1ac49
Merge pull request #623 from giovastabile/update_muq
giovastabile Aug 10, 2025
294ae8e
Merge remote-tracking branch 'origin' into devRomain3
RomainTiphaigne Aug 12, 2025
5fd934a
Removing the need to copy controlDict, transportproperties & Cie file…
FlorianRegnault Aug 26, 2025
7a72b69
Merge pull request #20 from vressegu/comparing_POD
vressegu Aug 27, 2025
d3083b0
Merge pull request #602 from Ruansh233/tutorial_parallelization
giovastabile Aug 28, 2025
eceaafa
Merge branch 'master' into ROMs4MovingDomainsUpdated
giovastabile Aug 28, 2025
fb9f783
Merge pull request #580 from Nkana-valentin/ROMs4MovingDomainsUpdated
giovastabile Aug 29, 2025
4f7fa15
porting to std14 to make it compiling with of2406
giovastabile Jul 19, 2024
c85a75d
Updating to c++17
giovastabile Jul 16, 2025
3afb4f1
Merge remote-tracking branch 'origin/mergeConvBackground'
RomainTiphaigne Sep 1, 2025
6eb7f7c
Fix to compile with newer Eigen
RomainTiphaigne Sep 1, 2025
f9e007d
Completing transfer of class IthacaFVParameters to Ithaca-FV
RomainTiphaigne Sep 1, 2025
cd02237
Moving NonPolynomPhysFct to UnsteadyNSTurb
RomainTiphaigne Sep 1, 2025
bfe6e3b
Moving H1 POD to Ithaca-FV
RomainTiphaigne Sep 1, 2025
3790be6
Merge remote-tracking branch 'origin/devRomain3' into move_Params_POD_HR
RomainTiphaigne Sep 2, 2025
57edbb3
ECP on Smagorinsky term in RedLUM with params, POD, UnsteadyNSTurb in…
RomainTiphaigne Sep 2, 2025
dda165d
Remove some compilation warning messages
RomainTiphaigne Sep 2, 2025
69093cd
Importing class for hyperreduction of turbulent diffusion terms (desi…
RomainTiphaigne Sep 4, 2025
6a5142c
Completing parallelization of PODTemplate and enabling it for TurbDif…
RomainTiphaigne Sep 12, 2025
a9a3ecb
Going back to older Eigen version to merge the upstream fork
RomainTiphaigne Oct 7, 2025
4904c71
Merge remote-tracking branch 'upstream/master' into move_Params_POD_HR
RomainTiphaigne Oct 7, 2025
e3e3417
Updating to Eigen 5.0
RomainTiphaigne Oct 7, 2025
1ce8b6d
read_snapshot must take a path as input to work well in parallel for …
RomainTiphaigne Oct 8, 2025
0dee10b
ajout des composants autonomes :
alanCopy Oct 9, 2025
5dcab97
UPDATE to latest commit
giovastabile Oct 20, 2025
49f41aa
updated to latest commit
giovastabile Oct 20, 2025
51b2bc9
Update Eigen
vressegu Oct 21, 2025
174abb0
Merge pull request #22 from vressegu/move_Params_POD_HR
vressegu Oct 21, 2025
3bbee0c
Merge pull request #625 from giovastabile/master
giovastabile Oct 21, 2025
2fa4754
Fixing computation of reducedSmag and reducedNut
RomainTiphaigne Oct 22, 2025
2b6d758
Fixing BC when computing reduced fields
RomainTiphaigne Oct 30, 2025
f79b861
Making read_snapshot take the time folder name not its index as argument
RomainTiphaigne Nov 7, 2025
9752695
Merge remote-tracking branch 'origin/fix_NoiseMatrix_v4' into devRomain3
RomainTiphaigne Nov 7, 2025
07e4204
ENH: changing Eigen to version 5.0.1
giovastabile Dec 9, 2025
c6b70fe
Merge pull request #627 from giovastabile/master
giovastabile Dec 10, 2025
4434430
Reorganising parameters subclasses
RomainTiphaigne Dec 12, 2025
f01e601
FIX: fixed pybind11 unit test
npicchiarelli Dec 16, 2025
df7479b
Merge pull request #628 from npicchiarelli/fix_bug
giovastabile Dec 16, 2025
6354456
Minor changes in ECP system (predict volume, position of cells' volum…
RomainTiphaigne Dec 16, 2025
035e2a3
Fixing wmkdepend compilation warning
RomainTiphaigne Dec 17, 2025
0edb447
Reorganising ITHACAutilities folder
RomainTiphaigne Dec 17, 2025
4b99c7d
Deleting compare_POD application and tutorial
RomainTiphaigne Dec 17, 2025
b679591
Adding tutorial 27
RomainTiphaigne Dec 19, 2025
24fc100
Improving tutorial 27 Readme
RomainTiphaigne Dec 19, 2025
ac2dec4
ADD:mathtoolbox submodule
Ruansh233 Dec 29, 2025
71b938f
Moving and renaming the new parameters' class
RomainTiphaigne Jan 6, 2026
d423e90
Merge remote-tracking branch 'upstream/master' into devRomain3
RomainTiphaigne Jan 6, 2026
589012d
ADD:create RBF interpolator use splinter and mathtoolbox; ITHACA_INTE…
Ruansh233 Jan 10, 2026
65a7236
ENH:modify SteadyNSTurb based on RBFinterpolator
Ruansh233 Jan 10, 2026
c078cfe
ENH:modify tutorial 06POD_RBF of steadyNSTurb and ITHACAdict
Ruansh233 Jan 10, 2026
90f6fbb
ADD: '-lITHACA_INTERPOLATOR' and '-I/ITHACA_INTERPOLATOR/lnInclude' t…
Ruansh233 Jan 10, 2026
97058d8
FIX: modified Foam2Eigen to make it consistent with memory storage
giovastabile Jan 12, 2026
5005d8a
Merge pull request #630 from giovastabile/foam2eigenfix
giovastabile Jan 12, 2026
3fbff83
adding new unit test foam2eigen
giovastabile Jan 12, 2026
4c7ef15
FIXED some issue and added comments on things to be done
giovastabile Jan 14, 2026
65e6dfa
FIX: fixed issue with ITHACAassign
giovastabile Jan 14, 2026
7c4e7d6
Merge pull request #632 from giovastabile/foam2eigenfix
giovastabile Jan 14, 2026
8011f97
FIX: fixed issue with Makefiles
giovastabile Jan 14, 2026
349df5d
FIX: fixed compilation issue with OF2012
giovastabile Jan 15, 2026
2fbf169
Merge pull request #633 from giovastabile/foam2eigenfix
giovastabile Jan 15, 2026
4f76339
Update UnsteadyNSTurb
Jan 15, 2026
9a54af4
Update
Jan 16, 2026
051783d
Update the fixes
Jan 16, 2026
0b025be
Style: add braces to for-loops and fix scalar conversion
Jan 16, 2026
6f3b80f
Merge pull request #635 from shehzadmazhar/fix-unsteadynsturb
giovastabile Jan 21, 2026
39b1c87
fixing indentation
giovastabile Jan 21, 2026
6ae9da0
Merge pull request #638 from giovastabile/fix_indentantion
giovastabile Jan 21, 2026
266a020
ADD: gaussian process regression and rename RBFinterpolator as ithaca…
Ruansh233 Jan 26, 2026
ef4f073
added map in field2Eigen, corrected assertion in Eigen2Field, unitTes…
npicchiarelli Jan 23, 2026
c0f0497
Merge pull request #640 from npicchiarelli/foam2eigentest
giovastabile Jan 27, 2026
047587b
Merge branch 'ITHACA-FV:master' into mathtoolbox
Ruansh233 Jan 26, 2026
ed849e8
Merge pull request #629 from Ruansh233/mathtoolbox
giovastabile Jan 27, 2026
a2036be
Small fix in HyperreductionConfiguration
RomainTiphaigne Jan 29, 2026
400bf3a
Merge remote-tracking branch 'upstream/master' into devRomain3
RomainTiphaigne Jan 29, 2026
3060df1
ENH: updating Eigen version
giovastabile Jan 29, 2026
9ee7f84
Merge pull request #642 from giovastabile/new_eigen
giovastabile Jan 30, 2026
3614c69
Add C++17 standard and include Eigen directory
giovastabile Jan 30, 2026
3cabdad
Merge pull request #643 from ITHACA-FV/giovastabile-patch-1
giovastabile Jan 30, 2026
eeae720
ENH: modify std::cout to Info or Foam::Info
Ruansh233 Jan 30, 2026
fb19a53
Add OpenFOAM 2512 link to README
giovastabile Feb 2, 2026
cca8426
Merge pull request #644 from ITHACA-FV/giovastabile-patch-1
giovastabile Feb 2, 2026
e3a2bb7
Merge branch 'ITHACA-FV:master' into cout2Info
Ruansh233 Feb 2, 2026
923bbae
Fixing getMassMatrixFV with the new Foam2Eigen convention
RomainTiphaigne Feb 3, 2026
a2c7e82
Fixing hyperreduction (source code and tutorials) with the new Foam2E…
RomainTiphaigne Feb 3, 2026
cb2824f
Merge remote-tracking branch 'upstream/master' into devRomain3
RomainTiphaigne Feb 3, 2026
ba0586c
Fixing read_snapshots for older OF versions
RomainTiphaigne Feb 6, 2026
8052486
Merge pull request #645 from Ruansh233/cout2Info
giovastabile Feb 20, 2026
0b0841d
Merge branch 'master' into mergeForkRedlum
giovastabile Feb 20, 2026
8e7d6c0
Merge pull request #646 from vressegu/mergeForkRedlum
giovastabile Feb 20, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 4 additions & 0 deletions .compileOF2412.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/bash
docker pull ithacafv/openfoam2412-muq2-pytorch
docker run -ti -d --name foam2412 -v "${PWD}":/home/ofuser/app:rw ithacafv/openfoam2412-muq2-pytorch /bin/bash
docker exec foam2412 /bin/bash -c "source /usr/lib/openfoam/openfoam2412/etc/bashrc; cd /home/ofuser/app; git config --global --add safe.directory /home/ofuser/app; source etc/bashrc; git submodule update --init; ./Allwclean; ./Allwmake -taumq"
4 changes: 4 additions & 0 deletions .compileOF2506.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/bash
docker pull ithacafv/openfoam2506-muq2-pytorch
docker run -ti -d --name foam2506 -v "${PWD}":/home/ofuser/app:rw ithacafv/openfoam2506-muq2-pytorch /bin/bash
docker exec foam2506 /bin/bash -c "source /usr/lib/openfoam/openfoam2506/etc/bashrc; cd /home/ofuser/app; git config --global --add safe.directory /home/ofuser/app; source etc/bashrc; git submodule update --init; ./Allwclean; ./Allwmake -taumq"
69 changes: 69 additions & 0 deletions .github/workflows/docker-dependencies.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
name: Build Dependencies Docker Images

on:
workflow_dispatch:

env:
REGISTRY: docker.io
IMAGE_NAME: ithacafv/ithacafv-dependencies

jobs:
build-amd64-deps:
runs-on: ubuntu-latest
outputs:
digest: ${{ steps.build.outputs.digest }}

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Log into registry ${{ env.REGISTRY }}
uses: docker/login-action@v3
with:
registry: ${{ env.REGISTRY }}
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}

- name: Build and push AMD64 dependencies
id: build
uses: docker/build-push-action@v5
with:
context: ./dockerfiles/OF2506/amd64-deps
platforms: linux/amd64
push: true
tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:amd64
cache-from: type=gha
cache-to: type=gha,mode=max

build-arm64-deps:
runs-on: ubuntu-24.04-arm
outputs:
digest: ${{ steps.build.outputs.digest }}

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Log into registry ${{ env.REGISTRY }}
uses: docker/login-action@v3
with:
registry: ${{ env.REGISTRY }}
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}

- name: Build and push ARM64 dependencies
id: build
uses: docker/build-push-action@v5
with:
context: ./dockerfiles/OF2506/arm64-deps
platforms: linux/arm64
push: true
tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:arm64
cache-from: type=gha
cache-to: type=gha,mode=max
129 changes: 129 additions & 0 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,129 @@
name: Build and Push Multi-Arch Docker Images

on:
release:
types: [published]
workflow_dispatch:

env:
REGISTRY: docker.io
IMAGE_NAME: ithacafv/ithacafv

jobs:
build-amd64:
runs-on: ubuntu-latest
outputs:
digest: ${{ steps.build.outputs.digest }}
metadata: ${{ steps.meta.outputs.json }}

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Log into registry ${{ env.REGISTRY }}
if: github.event_name != 'pull_request'
uses: docker/login-action@v3
with:
registry: ${{ env.REGISTRY }}
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}

- name: Extract metadata for ITHACA-FV image
id: meta
uses: docker/metadata-action@v5
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
tags: |
type=semver,pattern={{version}}
type=raw,value=latest

- name: Build and push AMD64 image
id: build
uses: docker/build-push-action@v5
with:
context: ./dockerfiles
file: ./dockerfiles/Dockerfile
platforms: linux/amd64
labels: ${{ steps.meta.outputs.labels }}
cache-from: type=gha
cache-to: type=gha,mode=max
outputs: type=image,name=${{ env.REGISTRY }}/${{ env.IMAGE_NAME }},push-by-digest=true,name-canonical=true,push=true

build-arm64:
runs-on: ubuntu-24.04-arm
outputs:
digest: ${{ steps.build.outputs.digest }}
metadata: ${{ steps.meta.outputs.json }}

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Log into registry ${{ env.REGISTRY }}
if: github.event_name != 'pull_request'
uses: docker/login-action@v3
with:
registry: ${{ env.REGISTRY }}
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}

- name: Extract metadata for ITHACA-FV image
id: meta
uses: docker/metadata-action@v5
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
tags: |
type=semver,pattern={{version}}
type=raw,value=latest

- name: Build and push ARM64 image
id: build
uses: docker/build-push-action@v5
with:
context: ./dockerfiles
file: ./dockerfiles/Dockerfile
platforms: linux/arm64
labels: ${{ steps.meta.outputs.labels }}
cache-from: type=gha
cache-to: type=gha,mode=max
outputs: type=image,name=${{ env.REGISTRY }}/${{ env.IMAGE_NAME }},push-by-digest=true,name-canonical=true,push=true

merge:
runs-on: ubuntu-latest
needs:
- build-amd64
- build-arm64
steps:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Log into registry ${{ env.REGISTRY }}
uses: docker/login-action@v3
with:
registry: ${{ env.REGISTRY }}
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}

- name: Extract metadata for ITHACA-FV image
id: meta
uses: docker/metadata-action@v5
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
tags: |
type=semver,pattern={{version}}
type=raw,value=latest

- name: Create and push manifest list
working-directory: /tmp
run: |
docker buildx imagetools create $(jq -cr '.tags | map("-t " + .) | join(" ")' <<< "$DOCKER_METADATA_OUTPUT_JSON") \
${{ needs.build-amd64.outputs.digest }} \
${{ needs.build-arm64.outputs.digest }}
env:
DOCKER_METADATA_OUTPUT_JSON: ${{ steps.meta.outputs.json }}
91 changes: 0 additions & 91 deletions .github/workflows/docker_ithaca.yml

This file was deleted.

27 changes: 27 additions & 0 deletions .github/workflows/of2412.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: OF2412

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
build:

runs-on: ubuntu-latest

strategy:
matrix:
include:
- name: "OpenFOAM 2412"
install: "cd ."
compile: ./.compileOF2412.sh

steps:
- name: Checkout
uses: actions/checkout@v1
- name: install OF
run: ${{ matrix.install}}
- name: make
run: ${{ matrix.compile}}
27 changes: 27 additions & 0 deletions .github/workflows/of2512.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: OF2506

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
build:

runs-on: ubuntu-latest

strategy:
matrix:
include:
- name: "OpenFOAM 2506"
install: "cd ."
compile: ./.compileOF2506.sh

steps:
- name: Checkout
uses: actions/checkout@v1
- name: install OF
run: ${{ matrix.install}}
- name: make
run: ${{ matrix.compile}}
9 changes: 9 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,12 @@
[submodule "src/thirdparty/Eigen"]
path = src/thirdparty/Eigen
url = https://gitlab.com/libeigen/eigen.git
[submodule "src/thirdparty/spectra"]
path = src/thirdparty/spectra
url = https://github.com/yixuan/spectra.git
[submodule "src/thirdparty/OptimLib"]
path = src/thirdparty/OptimLib
url = https://github.com/kthohr/optim.git
[submodule "src/thirdparty/mathtoolbox"]
path = src/thirdparty/mathtoolbox
url = https://github.com/yuki-koyama/mathtoolbox.git
Loading