Skip to content

Commit

Permalink
Merge pull request #268 from gerlero/openfoam2406
Browse files Browse the repository at this point in the history
Support OpenFOAM v2406
  • Loading branch information
gerlero committed Jun 26, 2024
2 parents 0d95e2c + 4050df4 commit 32e0de3
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
strategy:
matrix:
build-os: [macos-14, macos-12]
openfoam-version: [2312, 2306]
openfoam-version: [2406, 2312]
fail-fast: false
uses: ./.github/workflows/build-test.yml
with:
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Build configuration
SHELL = /bin/bash
OPENFOAM_VERSION = 2312
OPENFOAM_VERSION = 2406
APP_NAME = OpenFOAM-v$(OPENFOAM_VERSION)

ifeq ($(OPENFOAM_VERSION),2112)
Expand Down
17 changes: 11 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,25 +29,25 @@

* Or, choose the OpenFOAM version(s) you want:

* **OpenFOAM v2312**
* **OpenFOAM v2406**

* Install with [Homebrew](https://brew.sh):

```sh
brew install --no-quarantine gerlero/openfoam/openfoam@2312
brew install --no-quarantine gerlero/openfoam/openfoam@2406
```

* Manual download: [⬇️ Apple silicon](https://github.com/gerlero/openfoam-app/releases/latest/download/openfoam2312-app-arm64.zip) | [⬇️ Intel](https://github.com/gerlero/openfoam-app/releases/latest/download/openfoam2312-app-x86_64.zip)
* Manual download: [⬇️ Apple silicon](https://github.com/gerlero/openfoam-app/releases/latest/download/openfoam2406-app-arm64.zip) | [⬇️ Intel](https://github.com/gerlero/openfoam-app/releases/latest/download/openfoam2406-app-x86_64.zip)

* **OpenFOAM v2306**
* **OpenFOAM v2312**

* Install with [Homebrew](https://brew.sh):

```sh
brew install --no-quarantine gerlero/openfoam/openfoam@2306
brew install --no-quarantine gerlero/openfoam/openfoam@2312
```

* Manual download: [⬇️ Apple silicon](https://github.com/gerlero/openfoam-app/releases/latest/download/openfoam2306-app-arm64.zip) | [⬇️ Intel](https://github.com/gerlero/openfoam-app/releases/latest/download/openfoam2306-app-x86_64.zip)
* Manual download: [⬇️ Apple silicon](https://github.com/gerlero/openfoam-app/releases/latest/download/openfoam2312-app-arm64.zip) | [⬇️ Intel](https://github.com/gerlero/openfoam-app/releases/latest/download/openfoam2312-app-x86_64.zip)

* _Need an older version of OpenFOAM? [See here](#can-i-get-an-older-version-of-openfoam)_

Expand Down Expand Up @@ -132,6 +132,11 @@ If you need an older version of OpenFOAM, you can:

* Use an older release of **OpenFOAM.app** (note that these apps are no longer updated):

* [**OpenFOAM-v2306.app** 1.13.1](https://github.com/gerlero/openfoam-app/releases/tag/v1.13.1)
* Homebrew: `brew install --no-quarantine gerlero/openfoam/openfoam@2212`
* [⬇️ Apple silicon](https://github.com/gerlero/openfoam-app/releases/download/v1.13.1/openfoam2306-app-arm64.zip): tested with macOS 14 Sonoma
* [⬇️ Intel](https://github.com/gerlero/openfoam-app/releases/download/v1.13.1/openfoam2306-app-x86_64.zip): tested with macOS 12 Monterey through macOS 14 Sonoma

* [**OpenFOAM-v2212.app** 1.11.1](https://github.com/gerlero/openfoam-app/releases/tag/v1.11.1)
* Homebrew: `brew install --no-quarantine gerlero/openfoam/openfoam@2212`
* [⬇️ Apple silicon](https://github.com/gerlero/openfoam-app/releases/download/v1.11.1/openfoam2212-app-arm64.zip): tested with macOS 14 Sonoma
Expand Down
1 change: 1 addition & 0 deletions sources/OpenFOAM-v2406.tgz.sha256
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
8d1450fb89eec1e7cecc55c3bb7bc486ccbf63d069379d1d5d7518fa16a4686a sources/OpenFOAM-v2406.tgz
1 change: 1 addition & 0 deletions tests/test_regression.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,6 @@ async def test_step(step):
await step.run()
assert "FOAM Warning" not in (step.path / "log.simpleFoam").read_text()

@pytest.mark.skipif(int(os.environ["FOAM_API"]) > 2312, reason="cartesianMesh removed from default installation")
def test_cartesian(): # https://github.com/gerlero/openfoam-app/issues/88
subprocess.run(["cartesianMesh", "-help"], check=True)

0 comments on commit 32e0de3

Please sign in to comment.