reentry_capsule / README.md
pantelisp's picture
Upload README.md with huggingface_hub
7c86456 verified
|
Raw History Blame Contribute Delete
1.52 kB
---
license: cc-by-4.0
task_categories:
- other
tags:
- cfd
- aerodynamics
- hypersonic
- reentry
- capsule
- fluid-dynamics
- physics-simulation
- surrogate-modeling
pretty_name: Reentry Capsule CFD Dataset
size_categories:
- n<1K
---
# Reentry Capsule
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).
## Dataset summary
- **18** cases, one HDF5 file each: `data/aoa<angle>_M<mach>.h5`
- Angle of attack `aoa` in degrees (0 to 45) and freestream Mach number `M` (3 to 7), parsed from the file name
- ~12.7M points per case (varies slightly), ~17.4 GiB in total
- `metadata.parquet` lists angle of attack, Mach number, point count, columns and file size for every case
## File format
Each HDF5 file contains a single dataset:
| Dataset | Shape | Description |
|---------|-------|-------------|
| `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` |
`x, y, z` are point coordinates, `u, v, w` velocity components, `p` pressure, `T` temperature and `St` Stanton number (surface heat transfer).
## Loading a file
```python
import h5py
from huggingface_hub import hf_hub_download
path = hf_hub_download("ratiolabs/reentry_capsule", "data/aoa10_M5.h5", repo_type="dataset")
with h5py.File(path) as f:
X = f["X"][:] # (9, N)
columns = f.attrs["columns"].split(",")
```