Upload README.md with huggingface_hub
Browse files
README.md
ADDED
|
@@ -0,0 +1,50 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: cc-by-4.0
|
| 3 |
+
task_categories:
|
| 4 |
+
- other
|
| 5 |
+
tags:
|
| 6 |
+
- cfd
|
| 7 |
+
- aerodynamics
|
| 8 |
+
- hypersonic
|
| 9 |
+
- reentry
|
| 10 |
+
- capsule
|
| 11 |
+
- fluid-dynamics
|
| 12 |
+
- physics-simulation
|
| 13 |
+
- surrogate-modeling
|
| 14 |
+
pretty_name: Reentry Capsule CFD Dataset
|
| 15 |
+
size_categories:
|
| 16 |
+
- n<1K
|
| 17 |
+
---
|
| 18 |
+
|
| 19 |
+
# Reentry Capsule
|
| 20 |
+
|
| 21 |
+
Ground-truth CFD flow fields around a reentry capsule over a sweep of angle of attack and Mach number, released by [Ratio Labs](https://huggingface.co/ratiolabs).
|
| 22 |
+
|
| 23 |
+
## Dataset summary
|
| 24 |
+
|
| 25 |
+
- **18** cases, one HDF5 file each: `data/aoa<angle>_M<mach>.h5`
|
| 26 |
+
- Angle of attack `aoa` in degrees (0 to 45) and freestream Mach number `M` (3 to 7), parsed from the file name
|
| 27 |
+
- ~12.7M points per case (varies slightly), ~17.4 GiB in total
|
| 28 |
+
- `metadata.parquet` lists angle of attack, Mach number, point count, columns and file size for every case
|
| 29 |
+
|
| 30 |
+
## File format
|
| 31 |
+
|
| 32 |
+
Each HDF5 file contains a single dataset:
|
| 33 |
+
|
| 34 |
+
| Dataset | Shape | Description |
|
| 35 |
+
|---------|-------|-------------|
|
| 36 |
+
| `X` | `(9, N)` float64 | One row per variable; the row order is given by the root `columns` attribute: `x, y, z, u, v, w, p, T, St` |
|
| 37 |
+
|
| 38 |
+
`x, y, z` are point coordinates, `u, v, w` velocity components, `p` pressure, `T` temperature and `St` Stanton number (surface heat transfer).
|
| 39 |
+
|
| 40 |
+
## Loading a file
|
| 41 |
+
|
| 42 |
+
```python
|
| 43 |
+
import h5py
|
| 44 |
+
from huggingface_hub import hf_hub_download
|
| 45 |
+
|
| 46 |
+
path = hf_hub_download("ratiolabs/reentry_capsule", "data/aoa10_M5.h5", repo_type="dataset")
|
| 47 |
+
with h5py.File(path) as f:
|
| 48 |
+
X = f["X"][:] # (9, N)
|
| 49 |
+
columns = f.attrs["columns"].split(",")
|
| 50 |
+
```
|