stacknordic 0.1.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,103 @@
1
+ Metadata-Version: 2.5
2
+ Name: stacknordic
3
+ Version: 0.1.0
4
+ Summary: OpenFOAM data preparation and reduction for DNS, LES, and machine learning
5
+ Project-URL: Homepage, https://github.com/PentagonToy/StackNordic
6
+ Project-URL: Documentation, https://github.com/PentagonToy/StackNordic/blob/main/docs/README.md
7
+ Project-URL: Issues, https://github.com/PentagonToy/StackNordic/issues
8
+ Project-URL: Source, https://github.com/PentagonToy/StackNordic
9
+ Project-URL: Changelog, https://github.com/PentagonToy/StackNordic/blob/main/CHANGELOG.md
10
+ Author-email: Hanseul Kang <hanseul.kang@aalto.fi>
11
+ License-Expression: GPL-3.0-only
12
+ License-File: LICENSE
13
+ Keywords: CFD,DNS,LES,OpenFOAM,scientific computing
14
+ Classifier: Development Status :: 3 - Alpha
15
+ Classifier: Environment :: Console
16
+ Classifier: Intended Audience :: Science/Research
17
+ Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
18
+ Classifier: Operating System :: MacOS :: MacOS X
19
+ Classifier: Operating System :: POSIX :: Linux
20
+ Classifier: Programming Language :: Python :: 3
21
+ Classifier: Programming Language :: Python :: 3.11
22
+ Classifier: Programming Language :: Python :: 3.12
23
+ Classifier: Topic :: Scientific/Engineering
24
+ Requires-Python: <3.13,>=3.11
25
+ Requires-Dist: cantera<4,>=3.1
26
+ Requires-Dist: h5py<4,>=3.12
27
+ Requires-Dist: numpy<3,>=2
28
+ Requires-Dist: onsaemiro>=1.0.5
29
+ Requires-Dist: scipy<2,>=1.14
30
+ Description-Content-Type: text/markdown
31
+
32
+ # StackNordic
33
+
34
+ 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.
35
+
36
+ ## Installation
37
+
38
+ Install the released package:
39
+
40
+ ```console
41
+ uv pip install stacknordic
42
+ ```
43
+
44
+ Install the current repository version when working ahead of a release:
45
+
46
+ ```console
47
+ uv pip install "git+https://github.com/PentagonToy/StackNordic.git"
48
+ ```
49
+
50
+ Install a local checkout for development:
51
+
52
+ ```console
53
+ uv pip install --editable .
54
+ ```
55
+
56
+ ## Reconstruct a case
57
+
58
+ Activate the Python environment and the OpenFOAM runtime, enter a decomposed case, and run:
59
+
60
+ ```console
61
+ stacknordic reconstruct --n-jobs -1 --progress
62
+ ```
63
+
64
+ The OpenFOAM-style alias is equivalent:
65
+
66
+ ```console
67
+ stacknordic -reconstructPar --n-jobs -1 --progress
68
+ ```
69
+
70
+ Select times, fields and another destination explicitly when required:
71
+
72
+ ```console
73
+ stacknordic reconstruct \
74
+ --case-dir cases/TaylorGreenVortex3D \
75
+ --output-dir output/TaylorGreenVortex3D \
76
+ --time-range 0 0.1 \
77
+ --fields U p nut \
78
+ --n-jobs 8 \
79
+ --progress
80
+ ```
81
+
82
+ 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](docs/api/reconstruction.md).
83
+
84
+ ## Core workflows
85
+
86
+ - [Export reconstructed or decomposed fields directly](docs/api/dataset.md), including time-local decomposition and mesh addressing.
87
+ - [Compute progress variables and reaction rates](docs/api/computing.md) from declared Cantera contracts.
88
+ - [Package and compile Cartesian datasets](docs/api/packaging.md) as self-describing HDF5 snapshots or time series.
89
+ - [Filter and downsample DNS data](docs/api/filtering.md) with declared Reynolds, Favre, variance and SGS reductions.
90
+ - [Run a closed set of post-processing operations](docs/api/postprocess.md) on OpenFOAM cases or exported Cartesian datasets.
91
+
92
+ StackNordic is independent of [FoamNordic](https://github.com/PentagonToy/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.
93
+
94
+ See the [documentation index](docs/README.md) for the complete API, architecture and validation records.
95
+
96
+ ## Development
97
+
98
+ ```console
99
+ uv sync --dev
100
+ uv run pytest
101
+ uv run ruff check .
102
+ uv build
103
+ ```
@@ -0,0 +1,31 @@
1
+ stacknordic/__init__.py,sha256=osgWUgStiugboiArmt5-RSQzj6GImIc8YX8T0UrW20E,1089
2
+ stacknordic/__main__.py,sha256=-KdkIsXRbPVHN_0EOP-gvgAXfQiNXrpYEx7LlXvSyX0,103
3
+ stacknordic/_progress.py,sha256=1R34rAQxvCq8ZaaPUTv-gS5bHcRikpz4wp9NZn7yhiI,608
4
+ stacknordic/cli.py,sha256=YHJ0sm9Pm3tTKF9T6SKQTTqsCoRnp1ryr-ddz_mrXcY,3875
5
+ stacknordic/computing.py,sha256=YghmzgqU3RnVE99zzm4cvJ67VwCVcR-pX_oK9UpiC6E,13876
6
+ stacknordic/filtering.py,sha256=uoAbtj1lMpbaM3oBARfrCJIoZgxGaS0YRED7CO_wBN8,6775
7
+ stacknordic/postprocess.py,sha256=q-s-3VUyEEJBuiIQ-uKHo9vxzAMhP4jOrea7D_hRkSc,3695
8
+ stacknordic/reconstruction.py,sha256=R9tJWWB73mI-JEfRjqpGtM_FTHzjK_5IXr43HlOBK30,21283
9
+ stacknordic/resources.py,sha256=Dlb8h-g90bG935BwMzFlQ8U6IjyyRXMW9g89OZqgbyM,2852
10
+ stacknordic/selection.py,sha256=-HzPUk3kRC5DrXmRkinaEv8wHqJwYmVGMPxZdb4W9pY,2012
11
+ stacknordic/dataset/__init__.py,sha256=hQSpQg17KRZfNznRFZuuPSnvVn-rLRaU-XIfSYmdutk,944
12
+ stacknordic/dataset/_contract.py,sha256=JnqKln5JL56bn-0MpICf_-uK9-9Mu99tpB7uIxZE0Bc,4410
13
+ stacknordic/dataset/_manifest.py,sha256=52ysjVg2w2W7sc3Vx-3D51Go8aAiIfdvaUARx8OW5Zw,448
14
+ stacknordic/dataset/compute.py,sha256=CQ3GvVMPwiW1u_u9FszMpyM0wqF0tnKMUrOAqsgkEEM,11287
15
+ stacknordic/dataset/derived.py,sha256=BzEySQqrG9O-HZ63CCVpvVSpQu3V3_nwXYT2QLrxseA,3091
16
+ stacknordic/dataset/downsample.py,sha256=ixyRB_2EdTus1TkGVr-DmEt9uEmMnY88b2F1a4RurPY,31869
17
+ stacknordic/dataset/export.py,sha256=P35C1hRV951L5pSqxTo3lNMrDy6T48uVq-DZRtc68VI,43147
18
+ stacknordic/dataset/package.py,sha256=UePMiolD1zhFkJWMeC74raUgP7FTO8lgNIajRWaquwY,15265
19
+ stacknordic/dataset/postprocess.py,sha256=d7JOD_G3IiEz9BS-sJjyYOPUt27hzeCKX2D7lU9dRFA,15071
20
+ stacknordic/dataset/thermodynamics.py,sha256=OrWcNPLoUaPjTvbKIK5f7iMf6Q-ec26oDRv3DmHwlac,4481
21
+ stacknordic/openfoam/__init__.py,sha256=5Bfl5y-DyP6oIc0f2RPgHMreEmsQbH2uKquXh8iVk_E,149
22
+ stacknordic/openfoam/case.py,sha256=j4XLIMmgEKd_bnk1oa23xkoH_mPMZXqlj2-sLylJM6c,6053
23
+ stacknordic/openfoam/environment.py,sha256=S-U9glecLZvc3PBIT3bGEXM8AJtdCQfvyb2buMJrOCg,1346
24
+ stacknordic/openfoam/io.py,sha256=oMx6c_7MZ32h08HuwVv1maMELcAy5Bm4nfCeMPYU98E,9941
25
+ stacknordic/openfoam/postprocess.py,sha256=EHCD3jkqKvyPd3uSYNQBCUfeYkpFs6OGruvjMNSbvCE,6752
26
+ stacknordic/openfoam/write.py,sha256=1y6EnXN5L9rD1UOgP-43DX22K83nFftAWnhOvioXueM,10287
27
+ stacknordic-0.1.0.dist-info/METADATA,sha256=KAGCbIgyuiMjVuCtjAIynbIUtzYYvv4eqTBHGfF2TlQ,3878
28
+ stacknordic-0.1.0.dist-info/WHEEL,sha256=W3fkpkm7-wf9vBI5Z-7s0eWkeM-spu78I8Neb98DeEg,87
29
+ stacknordic-0.1.0.dist-info/entry_points.txt,sha256=NJ1_YoepefKPxEJL2A5bUPkolCU9L9D5itEPur9o6nQ,53
30
+ stacknordic-0.1.0.dist-info/licenses/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
31
+ stacknordic-0.1.0.dist-info/RECORD,,
@@ -0,0 +1,4 @@
1
+ Wheel-Version: 1.0
2
+ Generator: hatchling 1.32.4
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
@@ -0,0 +1,2 @@
1
+ [console_scripts]
2
+ stacknordic = stacknordic.cli:main