StackNordic
StackNordic reconstructs and prepares stored OpenFOAM results for DNS, LES and machine-learning workflows. It reads OpenFOAM.com and OpenFOAM Foundation cases, including reconstructed, uncollated, collated and grouped-collated layouts.
Documentation · Installation · API
Installation
Use Python 3.11 or 3.12. Install the PyPI release with pip:
pip install stacknordic
Or use uv in an existing virtual environment:
uv pip install stacknordic
Follow the public installation guide for optional environment setup, OpenFOAM requirements, installation checks and main or editable installation. The repository copy contains the same guide.
Reconstruct a case
Activate the Python environment and the OpenFOAM runtime, enter a decomposed case, and run:
stacknordic reconstruct --n-jobs -1 --progress
The OpenFOAM-style alias is equivalent:
stacknordic -reconstructPar --n-jobs -1 --progress
Select times, fields and another destination explicitly when required:
stacknordic reconstruct \
--case-dir cases/TaylorGreenVortex3D \
--output-dir output/TaylorGreenVortex3D \
--time-range 0 0.1 \
--fields U p nut \
--n-jobs 8 \
--progress
StackNordic isolates concurrent physical-time reconstructions, preserves the source case and removes temporary case views after success or failure. See the reconstruction API and CLI contract.
Read the case-to-dataset example for copyable Python steps and the expected output structure.
Core workflows
- Export reconstructed or decomposed fields directly, including time-local decomposition and mesh addressing.
- Compute progress variables and reaction rates from declared Cantera contracts.
- Package and compile Cartesian datasets as self-describing HDF5 snapshots or time series.
- Filter and downsample DNS data with declared Reynolds, Favre, variance and SGS reductions.
- Run a closed set of post-processing operations on OpenFOAM cases or exported Cartesian datasets.
StackNordic is independent of FoamNordic, but the projects are designed to be used together. FoamNordic owns solver execution and resident model coupling; StackNordic owns reconstruction, stored-data preparation, packaging and filtering.
Read the shared documentation site or the repository index for API, architecture and validation references.
Development
uv sync --dev
uv run pytest
uv run ruff check .
uv build
Metadata
Release files for stacknordic 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| stacknordic-0.1.1.tar.gz | 143.9 kB | Without provenance | Details for stacknordic-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| stacknordic-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for stacknordic-0.1.1-py3-none-any.whl |
Total release size: 223.7 kB
Release files / stacknordic-0.1.1.tar.gz
| Download URL | stacknordic-0.1.1.tar.gz |
|---|---|
| Size | 143.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3fb30a60006b23f0cf6f661f53077826043b75def2832c170b0c3d5ccac7cd23
|
|
BLAKE2b-256 checksum How to use checksums |
9bfd1d48ceb775f617458db1af05f363087a0ac3a89e3d996f4e7b0bddda6271
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.13.5 {"installer":{"name":"uv","version":"0.13.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / stacknordic-0.1.1-py3-none-any.whl
| Download URL | stacknordic-0.1.1-py3-none-any.whl |
|---|---|
| Size | 79.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b9783847de14b659d400d8786bca5fde8976458f3d86c0d1cf7f18340182b74d
|
|
BLAKE2b-256 checksum How to use checksums |
1fe11a0506fa0c833bd11b569d5d7ecd65d69cc76a8758fa840aa2a3dcdb6a43
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.13.5 {"installer":{"name":"uv","version":"0.13.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Security for stacknordic 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.