Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

FoamNordic

FoamNordic

FoamNordic is a native C++ and Python framework for ordinary OpenFOAM and machine-learning closure workloads. It keeps atomic field exchange and model evaluation outside Python while exposing a compact declarative API for cases, placement, launch, observations, and results.

FoamNordic is active research software. This development line is 1.0.3.dev0.

Install

python3 -m venv .venv
source .venv/bin/activate
python -m pip install --upgrade pip
pip install foamnordic

foamnordic --version
foamnordic --help
foamnordic dir
foamnordic build

Binary wheels carry the native Python control runtime. OpenFOAM integration is prepared against the toolchain declared by each case.

First case

from pathlib import Path
import foamnordic as fno

case = fno.OpenFOAM.Case(
    name="cavity",
    source=Path("cases/cavity"),
    workspace="output/cavity",
    toolchain=fno.OpenFOAM.Toolchain.module("openfoam/2512"),
)

print(case.fields.keys())

run = fno.Longship(case=case).launch()
result = run.stop(force=False)
result.summary(style="compact")

Paths may be strings, pathlib.Path, or text PathLike objects. FoamNordic uses 0/ when available and otherwise copies 0.orig/ to 0/ inside the isolated run without changing the source case.

Platforms

  • Linux x86_64
  • Linux aarch64
  • macOS Apple Silicon (arm64)

Native macOS development uses OpenFOAM.app. It provides current OpenFOAM releases as Apple Silicon applications and Homebrew packages.

Learn more

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

foamnordic-1.0.3.dev0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (296.4 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

foamnordic-1.0.3.dev0-cp312-cp312-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl (275.2 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.26+ ARM64manylinux: glibc 2.28+ ARM64

foamnordic-1.0.3.dev0-cp312-cp312-macosx_12_0_arm64.whl (150.1 kB view details)

Uploaded CPython 3.12macOS 12.0+ ARM64

foamnordic-1.0.3.dev0-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (297.2 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

foamnordic-1.0.3.dev0-cp311-cp311-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl (275.6 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.26+ ARM64manylinux: glibc 2.28+ ARM64

foamnordic-1.0.3.dev0-cp311-cp311-macosx_12_0_arm64.whl (150.6 kB view details)

Uploaded CPython 3.11macOS 12.0+ ARM64

File details

Details for the file foamnordic-1.0.3.dev0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for foamnordic-1.0.3.dev0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 9f13d199105e7fce4d752616a3aa547f0eac8d8e5df2fffd04e9d882ff19da0e
MD5 e7fce15474610bbf6af9599ca06e0161
BLAKE2b-256 58ce4b6ae684e3625c5f0318858b9cd44e36bf200546193efd581f0a5fed0bbc

See more details on using hashes here.

File details

Details for the file foamnordic-1.0.3.dev0-cp312-cp312-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for foamnordic-1.0.3.dev0-cp312-cp312-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 193f06e88a5662c2e51d7232613a0e5382b09f48eab6bd8de86ef75a0392f44c
MD5 fe00fd37a0a60dccf6815780097504c9
BLAKE2b-256 90906fc4168cc8ea60f9e1987ad92c1f60b0ba4779c189e9f11b2bf58e1a1a08

See more details on using hashes here.

File details

Details for the file foamnordic-1.0.3.dev0-cp312-cp312-macosx_12_0_arm64.whl.

File metadata

File hashes

Hashes for foamnordic-1.0.3.dev0-cp312-cp312-macosx_12_0_arm64.whl
Algorithm Hash digest
SHA256 f4ad230f87ff720bb718d40028ef02be1001ba72cf9d2a2b25945ef7df3f1df1
MD5 88cb69e8ad5fb8182f0a4bc778be6476
BLAKE2b-256 5dec6bd4f816a78eb2846c14843528702842a252986141cfd0a70b27b93939ae

See more details on using hashes here.

File details

Details for the file foamnordic-1.0.3.dev0-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for foamnordic-1.0.3.dev0-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 bab2a27303edfb31c07824b60495cefde9d667e1d366b5f90450064f70ced9d9
MD5 14aedbf5705917fd7414a339b9b29c73
BLAKE2b-256 472e057565f22c4ebc430c1335e546f08a2e7e7887704d57f5d2bb6de12e91c2

See more details on using hashes here.

File details

Details for the file foamnordic-1.0.3.dev0-cp311-cp311-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for foamnordic-1.0.3.dev0-cp311-cp311-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 8d9ebc12b98388233f00cd55c75566c22ed349d720c2aec6b5968a55c9cd3d65
MD5 eaff08129522d94f9dd3f62a4d4a9d6d
BLAKE2b-256 b691f43e2db5bc052d73bddfcc381f3fd29d2ef2a0dd8cd8a35f071652c8a996

See more details on using hashes here.

File details

Details for the file foamnordic-1.0.3.dev0-cp311-cp311-macosx_12_0_arm64.whl.

File metadata

File hashes

Hashes for foamnordic-1.0.3.dev0-cp311-cp311-macosx_12_0_arm64.whl
Algorithm Hash digest
SHA256 cb0ce0647534a6ea40c4b67a5522654b18760470b091a10d242e9ae5a257274b
MD5 1aaae0f6655e6e540ade21d79c2225b1
BLAKE2b-256 9a9faae9129bc06e2a5219c2a530318e3fe45c0d92c943ca84c9759b61b45db2

See more details on using hashes here.

Release history Release notifications | RSS feed

1.0.8

6 files

1.0.7

6 files

1.0.6

6 files

1.0.5

6 files

1.0.4

6 files

This release

1.0.3.dev0 This release

6 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page