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.
Installation
Install the released package:
uv pip install stacknordic
Install the current repository version when working ahead of a release:
uv pip install "git+https://github.com/PentagonToy/StackNordic.git"
Install a local checkout for development:
uv pip install --editable .
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.
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.
See the documentation index for the complete API, architecture and validation records.
Development
uv sync --dev
uv run pytest
uv run ruff check .
uv build
Metadata
Release files for stacknordic 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| stacknordic-0.1.0.tar.gz | 126.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| stacknordic-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 205.5 kB
Release files / stacknordic-0.1.0.tar.gz
| Download URL | stacknordic-0.1.0.tar.gz |
|---|---|
| Size | 126.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d2f50552f00ba6896babe29a0619ee3c54d6062523cc26927c10fd1bc9c4f6e1
|
|
BLAKE2b-256 checksum How to use checksums |
39a79e637291f7a681b79dcd0a1cf0a76a34048e4e8424744dd33f56fadf8980
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.13
|
Release files / stacknordic-0.1.0-py3-none-any.whl
| Download URL | stacknordic-0.1.0-py3-none-any.whl |
|---|---|
| Size | 79.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d8a1e740d1e35cb3eaecf9b6165c06e14dc5d8ba9b669ebe3db405d734a48ba9
|
|
BLAKE2b-256 checksum How to use checksums |
e101184b74d3a29aec0960d0778610952ad697746d5526346f1e787c240d3df5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.13
|