Metadata-Version: 2.4
Name: foamnordic
Version: 1.0.14
Summary: Declarative orchestration for native OpenFOAM closure workloads
Keywords: OpenFOAM,CFD,HPC,machine learning,scientific computing
Author-Email: Hanseul Kang <hanseul.kang@aalto.fi>
License-Expression: GPL-3.0-only
License-File: LICENSE
Classifier: Development Status :: 3 - Alpha
Classifier: Environment :: Console
Classifier: Intended Audience :: Science/Research
Classifier: Operating System :: MacOS :: MacOS X
Classifier: Operating System :: POSIX :: Linux
Classifier: Programming Language :: C++
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Scientific/Engineering
Project-URL: Homepage, https://github.com/PentagonToy/FoamNordic
Project-URL: Documentation, https://pentagontoy.github.io/FoamNordic/foamnordic/
Project-URL: Issues, https://github.com/PentagonToy/FoamNordic/issues
Project-URL: Source, https://github.com/PentagonToy/FoamNordic
Project-URL: Changelog, https://github.com/PentagonToy/FoamNordic/blob/main/CHANGELOG.md
Requires-Python: <3.13,>=3.11
Requires-Dist: cmake>=3.20
Requires-Dist: cloudpickle<4,>=3
Requires-Dist: joblib<2,>=1.4
Requires-Dist: numpy<3,>=1.26
Requires-Dist: hedgehogs>=0.0.5
Requires-Dist: pyyaml<7,>=6
Provides-Extra: ml
Requires-Dist: equinox<0.14,>=0.13.1; extra == "ml"
Requires-Dist: jax<1,>=0.7; extra == "ml"
Requires-Dist: onnx<2,>=1.17; extra == "ml"
Requires-Dist: optax<0.3,>=0.2.6; extra == "ml"
Requires-Dist: scikit-learn<2,>=1.4; extra == "ml"
Requires-Dist: scikit-learn-intelex<2027,>=2025.8; platform_system == "Linux" and platform_machine == "x86_64" and extra == "ml"
Provides-Extra: ml-cuda12
Requires-Dist: equinox<0.14,>=0.13.1; extra == "ml-cuda12"
Requires-Dist: jax[cuda12]<1,>=0.7; platform_system == "Linux" and extra == "ml-cuda12"
Requires-Dist: jax<1,>=0.7; platform_system != "Linux" and extra == "ml-cuda12"
Requires-Dist: onnx<2,>=1.17; extra == "ml-cuda12"
Requires-Dist: optax<0.3,>=0.2.6; extra == "ml-cuda12"
Requires-Dist: scikit-learn<2,>=1.4; extra == "ml-cuda12"
Requires-Dist: scikit-learn-intelex<2027,>=2025.8; platform_system == "Linux" and platform_machine == "x86_64" and extra == "ml-cuda12"
Description-Content-Type: text/markdown

# FoamNordic

Run OpenFOAM cases, inspect fields and couple mathematical or learned models to solver equations from Python. Use the same workload interface for local and Slurm runs.

[Installation](https://pentagontoy.github.io/FoamNordic/foamnordic/installation/) · [First case](https://pentagontoy.github.io/FoamNordic/foamnordic/getting-started/#quick-start) · [Tutorials](https://pentagontoy.github.io/FoamNordic/foamnordic/tutorials/) · [API](https://pentagontoy.github.io/FoamNordic/foamnordic/api/)

## Install

Use CPython 3.11 or 3.12 on Linux x86_64, Linux aarch64 or macOS arm64.

```console
pip install foamnordic
```

Activate your OpenFOAM environment and run `foamnordic build` followed by `foamnordic doctor`. Build for each OpenFOAM ABI you use. See the [tested runtimes](https://pentagontoy.github.io/FoamNordic/foamnordic/getting-started/#openfoam-compatibility) and [native build options](https://pentagontoy.github.io/FoamNordic/foamnordic/api/command-line/#native-build).

Install `foamnordic[ml]` to train and export models with scikit-learn, ONNX or Equinox. Use `foamnordic[ml-cuda12]` for CUDA 12 JAX on Linux.

[Public source](https://github.com/PentagonToy/FoamNordic) · [Changelog](https://github.com/PentagonToy/FoamNordic/blob/main/CHANGELOG.md) · [GPL-3.0 licence](https://github.com/PentagonToy/FoamNordic/blob/main/LICENSE)
