LithiumDA
commited on
Commit
Β·
72abda5
1
Parent(s):
e37da37
Add Navier-Stokes dataset sample
Browse files- README.md +14 -0
- get_full_data.py +17 -0
- ns_part_01.npy +3 -0
- ns_part_02.npy +3 -0
- ns_part_03.npy +3 -0
README.md
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# π Navier-Stokes Simulation Dataset (Re=500, T=300)
|
| 2 |
+
|
| 3 |
+
This dataset contains 300 time steps of a high-resolution 3D Navier-Stokes simulation at Reynolds number 500. The full array was split into three parts to comply with file size limitations on the Hugging Face Hub.
|
| 4 |
+
|
| 5 |
+
Each file is a `.npy` file in NumPy binary format and contains a contiguous slice along the time dimension.
|
| 6 |
+
|
| 7 |
+
## π File Structure
|
| 8 |
+
|
| 9 |
+
```bash
|
| 10 |
+
ns_split_3/
|
| 11 |
+
βββ ns_part_01.npy # Samples 0β99
|
| 12 |
+
βββ ns_part_02.npy # Samples 100β199
|
| 13 |
+
βββ ns_part_03.npy # Samples 200β299
|
| 14 |
+
|
get_full_data.py
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import os
|
| 2 |
+
import numpy as np
|
| 3 |
+
|
| 4 |
+
input_dir = "./ns_split_3"
|
| 5 |
+
output_path = "./NS-Re500_T300_id0.npy"
|
| 6 |
+
|
| 7 |
+
part_files = sorted([
|
| 8 |
+
os.path.join(input_dir, f) for f in os.listdir(input_dir)
|
| 9 |
+
if f.endswith(".npy") and f.startswith("ns_part_")
|
| 10 |
+
])
|
| 11 |
+
|
| 12 |
+
arrays = [np.load(path) for path in part_files]
|
| 13 |
+
merged = np.concatenate(arrays, axis=0)
|
| 14 |
+
|
| 15 |
+
np.save(output_path, merged)
|
| 16 |
+
print(f"Merged file saved to: {output_path}")
|
| 17 |
+
|
ns_part_01.npy
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b488ba8aed003aa1ff5c9390106754a1eca526595268575da8350fa05a087adc
|
| 3 |
+
size 26895974528
|
ns_part_02.npy
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7b626b6f92f9cd75b15894fe2cd730032b964f89cc5d975e98f16a66a1244156
|
| 3 |
+
size 26895974528
|
ns_part_03.npy
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f8b060a16c7fc3e9a11249d03df12ca590ca92c6a47df58b44a9928915043d3f
|
| 3 |
+
size 26895974528
|