dataset page: layout, loading, splits, manifest; protocol pointer
Browse files
README.md
CHANGED
|
@@ -43,75 +43,94 @@ Code, benchmark protocol, and leaderboards:
|
|
| 43 |
|
| 44 |
Autoregressive next-step surrogate of a 2D SPH notched concrete beam under drop-weight impact (ADR-0026). Covers 3 beam widths, 3 impactor shapes, 3 notch positions, and 4 velocities. Three bodies: the K&C concrete beam (part 1) is the predicted deformable; the steel impactor (part 2) and the two support blocks (part 3) are protocol-kinematic (ADR-0026) — driven by ground truth during rollout (both move: the impactor decelerates from its case velocity to ~10-20% on contact, the supports displace a few mm), excluded from the training loss and from position/strain metrics, with both QoIs restricted to concrete particles.
|
| 45 |
|
|
|
|
|
|
|
| 46 |
- Solver: LS-DYNA (SPH; erosion: no)
|
| 47 |
- Loading: drop-weight impact, initial velocity 40-160 m/s, impactor cross-sections plate/disk/rod (case names Rectangular/Sphere/Bullet)
|
|
|
|
|
|
|
| 48 |
- Source units: kg-mm-ms (files are strict SI, ADR-0012)
|
| 49 |
- Cases: 110 (train 88, val 8, test_interp 12, probe 2)
|
| 50 |
-
- Particles per case: 4264-12966; 502 frames at 0.001 ms
|
|
|
|
| 51 |
- Provenance: LS-DYNA parametric sweep (3 widths x 3 shapes x 3 notches x 4 velocities) produced by Curtin collaborators — extends the published 81-specimen drop-weight study (plate/disk/rod impactors at 80/120/160 m/s) with a 40 m/s velocity level; benchmark protocol per ADR-0026.
|
| 52 |
- License: CC BY 4.0
|
| 53 |
|
| 54 |
-
##
|
| 55 |
-
|
| 56 |
-
autoregressive transition (ADR-0026). Auxiliary target: `max_principal_strain` (-). Models advance the particle state autoregressively from a short ground-truth prefix and are scored on the full predicted rollout.
|
| 57 |
-
|
| 58 |
-
## Evaluation criteria
|
| 59 |
|
| 60 |
-
-
|
| 61 |
-
-
|
| 62 |
-
-
|
| 63 |
-
- Quantities of interest: midspan_deflection_peak, cracked_fraction.
|
| 64 |
|
| 65 |
-
##
|
| 66 |
|
| 67 |
-
|
|
|
|
|
|
|
| 68 |
|
| 69 |
-
|
| 70 |
|
| 71 |
-
|
| 72 |
-
|---|---|---|---|---|---|
|
| 73 |
-
| MGN | autoregressive | 0.2245 | 0.6988 | 0.7672 | 1.255 |
|
| 74 |
-
| CGN | autoregressive | 0.2827 | 0.5876 | 0.5905 | 0.8535 |
|
| 75 |
-
| Transolver | time-conditioned | 0.03517 | 0.2294 | 1.047 | 1.236 |
|
| 76 |
-
| Transolver++ | time-conditioned | 0.03699 | 0.2396 | 1.01 | 1.263 |
|
| 77 |
|
| 78 |
-
|
| 79 |
-
|
| 80 |
-
| Method | Scheme | interp·pos (mm) | interp·strain |
|
| 81 |
|---|---|---|---|
|
| 82 |
-
|
|
| 83 |
-
|
|
| 84 |
-
|
|
| 85 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 86 |
|
| 87 |
-
|
| 88 |
|
| 89 |
-
|
| 90 |
-
|---|---|---|---|
|
| 91 |
-
| MGN | autoregressive | 0.5842 | 0.1081 |
|
| 92 |
-
| CGN | autoregressive | 0.5843 | 0.1892 |
|
| 93 |
-
| Transolver | time-conditioned | 0.04067 | 0.0212 |
|
| 94 |
-
| Transolver++ | time-conditioned | 0.04696 | 0.02438 |
|
| 95 |
|
| 96 |
-
|
| 97 |
|
| 98 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 99 |
|
| 100 |
-
|
| 101 |
|
| 102 |
-
|
|
|
|
| 103 |
|
| 104 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 105 |
|
| 106 |
-
|
| 107 |
|
| 108 |
-
|
| 109 |
|
| 110 |
-
**
|
|
|
|
|
|
|
|
|
|
| 111 |
|
| 112 |
-
|
| 113 |
|
| 114 |
-
|
| 115 |
|
| 116 |
```bash
|
| 117 |
pip install structbench # or: pip install -e . from the repo
|
|
@@ -119,10 +138,6 @@ structbench-train --mode train --config configs/notch_beam_2d_impact/cgn.toml \
|
|
| 119 |
--data-root /path/to/this/folder --out runs/notch_beam_2d_impact-cgn
|
| 120 |
```
|
| 121 |
|
| 122 |
-
Machine-readable metadata: `card.json` alongside this file.
|
| 123 |
-
`sph/stress` and `sph/strain` are 6-component Voigt tensors; scalar targets are loader-derived (see the card's aux field).
|
| 124 |
-
Consume with `structbench.datasets.load_case_trajectory` or any HDF5 reader (layout per ADR-0013).
|
| 125 |
-
|
| 126 |
## References
|
| 127 |
|
| 128 |
- **MGN** — Pfaff, T., Fortunato, M., Sanchez-Gonzalez, A., & Battaglia, P. W. (2021). Learning Mesh-Based Simulation with Graph Networks. *ICLR*. https://arxiv.org/abs/2010.03409
|
|
|
|
| 43 |
|
| 44 |
Autoregressive next-step surrogate of a 2D SPH notched concrete beam under drop-weight impact (ADR-0026). Covers 3 beam widths, 3 impactor shapes, 3 notch positions, and 4 velocities. Three bodies: the K&C concrete beam (part 1) is the predicted deformable; the steel impactor (part 2) and the two support blocks (part 3) are protocol-kinematic (ADR-0026) — driven by ground truth during rollout (both move: the impactor decelerates from its case velocity to ~10-20% on contact, the supports displace a few mm), excluded from the training loss and from position/strain metrics, with both QoIs restricted to concrete particles.
|
| 45 |
|
| 46 |
+
## Dataset summary
|
| 47 |
+
|
| 48 |
- Solver: LS-DYNA (SPH; erosion: no)
|
| 49 |
- Loading: drop-weight impact, initial velocity 40-160 m/s, impactor cross-sections plate/disk/rod (case names Rectangular/Sphere/Bullet)
|
| 50 |
+
- Geometry: 2D SPH notched beam, H 80 x W {320,480,640} mm
|
| 51 |
+
- Materials: *MAT_CONCRETE_DAMAGE_REL3 (K&C; density 2.4e-6 kg/mm3); *MAT_PLASTIC_KINEMATIC
|
| 52 |
- Source units: kg-mm-ms (files are strict SI, ADR-0012)
|
| 53 |
- Cases: 110 (train 88, val 8, test_interp 12, probe 2)
|
| 54 |
+
- Particles per case: 4264-12966; 502 frames at 0.001 ms; 24.9 GB on disk
|
| 55 |
+
- Fields: node/displacement, node/velocity, node/acceleration, sph/stress, sph/strain, sph/strain_rate, sph/effective_plastic_strain, sph/pressure, sph/density, sph/internal_energy, sph/mass, sph/radius, sph/n_neighbors, sph/deletion, global/kinetic_energy, global/internal_energy, global/total_energy
|
| 56 |
- Provenance: LS-DYNA parametric sweep (3 widths x 3 shapes x 3 notches x 4 velocities) produced by Curtin collaborators — extends the published 81-specimen drop-weight study (plate/disk/rod impactors at 80/120/160 m/s) with a 40 m/s velocity level; benchmark protocol per ADR-0026.
|
| 57 |
- License: CC BY 4.0
|
| 58 |
|
| 59 |
+
## Files
|
|
|
|
|
|
|
|
|
|
|
|
|
| 60 |
|
| 61 |
+
- `<case_id>.h5` — one HDF5 file per case; the file name is the case id (layout below).
|
| 62 |
+
- `card.json` — machine-readable card metadata (ADR-0027): the facts above plus the split sizes.
|
| 63 |
+
- `README.md` — this file; `LICENSE-*.txt` — the data licence (CC BY 4.0).
|
|
|
|
| 64 |
|
| 65 |
+
## Manifest and input decks (Hugging Face mirror)
|
| 66 |
|
| 67 |
+
- `cases.csv` — one row per `.h5`: `case_id`, `split` (`held_aside` for files shipped outside the protocol splits), the loading/geometry parameters parsed from the id, `n_nodes`, `n_frames`, `file_bytes`, `sha256` (integrity manifest; also what the Dataset Viewer shows).
|
| 68 |
+
- `decks/<case_id>.k` — the LS-DYNA input deck of every case (also embedded verbatim in each file's `metadata/source_deck`); re-running a deck regenerates the raw output the adapter converts to canonical HDF5.
|
| 69 |
+
- Case ids: `NB-I-<W>-<Shape>-<n>-<V>` — beam width W mm (height 80 mm), impactor `Rectangular` / `Sphere` / `Bullet` (plate / disk / rod cross-section), notch position code n ∈ {a, b, c}, impact speed V m/s; the two off-grid probes are `S_<H>_<W>_V<V>_<label>` (beam height H mm, width W mm, disk impactor at V m/s).
|
| 70 |
|
| 71 |
+
## HDF5 layout
|
| 72 |
|
| 73 |
+
One HDF5 file per case, readable with `h5py` or any HDF5 tool. Every quantity is stored in strict SI (m, s, kg, Pa, J) regardless of the solver's `kg-mm-ms` source convention. Small scalars are HDF5 attributes; arrays are datasets (float64 geometry and time, float32 response, int64 ids); response arrays are gzip-compressed and chunked along the frame axis, so one frame or transition can be read without loading the whole trajectory. Shapes below use N nodes, P SPH particles, E elements, T frames and d = `metadata.dimension`; the exact schema version is the `schema_version` attribute (ADR-0013 — 0.2.0 readers read 0.1.0 files unchanged, ADR-0042).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 74 |
|
| 75 |
+
| Path | Shape | Dtype | Content |
|
|
|
|
|
|
|
| 76 |
|---|---|---|---|
|
| 77 |
+
| `metadata` (attrs) | — | — | `case_id`, `dataset_id`, `dimension`, `schema_version`, `source_units`, `units_convention` (= `SI`) |
|
| 78 |
+
| `metadata/provenance` (attrs) | — | — | `solver_name`, `solver_version`, `generation_date` |
|
| 79 |
+
| `metadata/source_deck` | scalar | str | the complete solver input deck, verbatim |
|
| 80 |
+
| `nodes/coords` | (N, d) | f64 | initial node coordinates [m] |
|
| 81 |
+
| `nodes/node_id` | (N,) | i64 | solver node ids |
|
| 82 |
+
| `materials/{canonical_model, source_model, source_params, material_id}` | (M,) | str / i64 | material models; `source_params` is the solver's material card as JSON |
|
| 83 |
+
| `response/time/t` | (T,) | f64 | output times [s]; frame 0 is the initial state |
|
| 84 |
+
| `elements/sph/connectivity` | (P, 1) | i64 | particle → node index (0-based) |
|
| 85 |
+
| `elements/sph/{element_id, part_id}` | (P,) | i64 | solver element id, part id |
|
| 86 |
+
| `elements/<other>/…` | (E, n), (E,) | i64 | any further element group (e.g. a single rigid-wall / boundary `shell`) follows the same connectivity, element_id, part_id pattern |
|
| 87 |
+
| `response/node/{displacement, velocity, acceleration}` | (T, N, d) | f32 | [m], [m/s], [m/s²] |
|
| 88 |
+
| `response/element/sph/{stress, strain, strain_rate}` | (T, P, 6) | f32 | Voigt (xx, yy, zz, xy, yz, zx): [Pa], [–], [1/s] — six components even for 2D cases |
|
| 89 |
+
| `response/element/sph/{pressure, density, mass, internal_energy}` | (T, P) | f32 | [Pa], [kg/m³], [kg], [J] |
|
| 90 |
+
| `response/element/sph/{effective_plastic_strain, radius, n_neighbors, deletion}` | (T, P) | f32 | [–], smoothing length [m], neighbour count, 0/1 deletion flag |
|
| 91 |
+
| `response/element/<other>/…` | (T, E, …) | f32 | per-element response of any further element group |
|
| 92 |
+
| `response/global/{kinetic_energy, internal_energy, total_energy}` | (T,) | f32 | [J] |
|
| 93 |
|
| 94 |
+
`sph/stress` and `sph/strain` are 6-component Voigt tensors; scalar targets are loader-derived (see the card's aux field).
|
| 95 |
|
| 96 |
+
## Loading
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 97 |
|
| 98 |
+
Plain HDF5 — nothing beyond `h5py` is needed:
|
| 99 |
|
| 100 |
+
```python
|
| 101 |
+
import h5py
|
| 102 |
+
|
| 103 |
+
with h5py.File("<case_id>.h5") as f:
|
| 104 |
+
t = f["response/time/t"][:] # (T,) s
|
| 105 |
+
x0 = f["nodes/coords"][:] # (N, d) m
|
| 106 |
+
u = f["response/node/displacement"] # (T, N, d) m, chunked along T
|
| 107 |
+
u_last = u[-1] # one frame, no full read
|
| 108 |
+
sig = f["response/element/sph/stress"][:] # (T, P, 6) Pa, Voigt
|
| 109 |
+
```
|
| 110 |
|
| 111 |
+
Or through StructBench's loader, which returns the ML working frame (positions in mm; `max_principal_strain` in dimensionless) with the auxiliary target derived on the fly:
|
| 112 |
|
| 113 |
+
```python
|
| 114 |
+
from structbench.datasets import load_case_trajectory
|
| 115 |
|
| 116 |
+
traj = load_case_trajectory("<case_id>.h5", aux_field="max_principal_strain")
|
| 117 |
+
traj.positions # (T, P, d) float32, mm
|
| 118 |
+
traj.aux # (T, P) float32, dimensionless
|
| 119 |
+
traj.time # (T,) float64, s
|
| 120 |
+
```
|
| 121 |
|
| 122 |
+
## Splits
|
| 123 |
|
| 124 |
+
The benchmark's fixed split assignment, by case id (the file name without `.h5`):
|
| 125 |
|
| 126 |
+
- **train** (88): `NB-I-320-Bullet-a-120`, `NB-I-320-Bullet-a-160`, `NB-I-320-Bullet-a-40`, `NB-I-320-Bullet-b-160`, `NB-I-320-Bullet-b-40`, `NB-I-320-Bullet-c-120`, `NB-I-320-Bullet-c-160`, `NB-I-320-Bullet-c-40`, `NB-I-320-Bullet-c-80`, `NB-I-320-Rectangular-a-120`, `NB-I-320-Rectangular-a-160`, `NB-I-320-Rectangular-a-40`, `NB-I-320-Rectangular-a-80`, `NB-I-320-Rectangular-b-160`, `NB-I-320-Rectangular-b-40`, `NB-I-320-Rectangular-b-80`, `NB-I-320-Rectangular-c-160`, `NB-I-320-Rectangular-c-40`, `NB-I-320-Rectangular-c-80`, `NB-I-320-Sphere-a-160`, `NB-I-320-Sphere-a-40`, `NB-I-320-Sphere-b-160`, `NB-I-320-Sphere-b-40`, `NB-I-320-Sphere-c-120`, `NB-I-320-Sphere-c-160`, `NB-I-320-Sphere-c-40`, `NB-I-320-Sphere-c-80`, `NB-I-480-Bullet-a-120`, `NB-I-480-Bullet-a-160`, `NB-I-480-Bullet-a-40`, `NB-I-480-Bullet-a-80`, `NB-I-480-Bullet-b-120`, `NB-I-480-Bullet-b-160`, `NB-I-480-Bullet-b-40`, `NB-I-480-Bullet-b-80`, `NB-I-480-Bullet-c-120`, `NB-I-480-Bullet-c-160`, `NB-I-480-Bullet-c-40`, `NB-I-480-Bullet-c-80`, `NB-I-480-Rectangular-a-120`, `NB-I-480-Rectangular-a-160`, `NB-I-480-Rectangular-a-40`, `NB-I-480-Rectangular-a-80`, `NB-I-480-Rectangular-b-160`, `NB-I-480-Rectangular-b-40`, `NB-I-480-Rectangular-c-120`, `NB-I-480-Rectangular-c-160`, `NB-I-480-Rectangular-c-40`, `NB-I-480-Rectangular-c-80`, `NB-I-480-Sphere-a-160`, `NB-I-480-Sphere-a-40`, `NB-I-480-Sphere-a-80`, `NB-I-480-Sphere-b-160`, `NB-I-480-Sphere-b-40`, `NB-I-480-Sphere-b-80`, `NB-I-480-Sphere-c-160`, `NB-I-480-Sphere-c-40`, `NB-I-480-Sphere-c-80`, `NB-I-640-Bullet-a-120`, `NB-I-640-Bullet-a-160`, `NB-I-640-Bullet-a-40`, `NB-I-640-Bullet-a-80`, `NB-I-640-Bullet-b-160`, `NB-I-640-Bullet-b-40`, `NB-I-640-Bullet-c-120`, `NB-I-640-Bullet-c-160`, `NB-I-640-Bullet-c-40`, `NB-I-640-Bullet-c-80`, `NB-I-640-Rectangular-a-160`, `NB-I-640-Rectangular-a-40`, `NB-I-640-Rectangular-a-80`, `NB-I-640-Rectangular-b-120`, `NB-I-640-Rectangular-b-160`, `NB-I-640-Rectangular-b-40`, `NB-I-640-Rectangular-b-80`, `NB-I-640-Rectangular-c-120`, `NB-I-640-Rectangular-c-160`, `NB-I-640-Rectangular-c-40`, `NB-I-640-Sphere-a-120`, `NB-I-640-Sphere-a-160`, `NB-I-640-Sphere-a-40`, `NB-I-640-Sphere-b-120`, `NB-I-640-Sphere-b-160`, `NB-I-640-Sphere-b-40`, `NB-I-640-Sphere-b-80`, `NB-I-640-Sphere-c-160`, `NB-I-640-Sphere-c-40`, `NB-I-640-Sphere-c-80`
|
| 127 |
+
- **val** (8): `NB-I-320-Bullet-b-80`, `NB-I-320-Sphere-a-120`, `NB-I-320-Sphere-a-80`, `NB-I-480-Rectangular-b-80`, `NB-I-480-Sphere-c-120`, `NB-I-640-Bullet-b-120`, `NB-I-640-Rectangular-a-120`, `NB-I-640-Rectangular-c-80`
|
| 128 |
+
- **test_interp** (12): `NB-I-320-Bullet-a-80`, `NB-I-320-Bullet-b-120`, `NB-I-320-Rectangular-b-120`, `NB-I-320-Rectangular-c-120`, `NB-I-320-Sphere-b-120`, `NB-I-320-Sphere-b-80`, `NB-I-480-Rectangular-b-120`, `NB-I-480-Sphere-a-120`, `NB-I-480-Sphere-b-120`, `NB-I-640-Bullet-b-80`, `NB-I-640-Sphere-a-80`, `NB-I-640-Sphere-c-120`
|
| 129 |
+
- **probe** (2): `S_100_800_V60_extrapolation`, `S_80_400_V140_intrapolation`
|
| 130 |
|
| 131 |
+
## Benchmark protocol
|
| 132 |
|
| 133 |
+
This archive backs the **NotchBeam2D-Impact** benchmark in StructBench. Task: autoregressive transition (ADR-0026); auxiliary target `max_principal_strain` (dimensionless); 6 input frames, horizon frames [6, 250) of 502 scored (250 µs, ADR-0039); full-length diagnostic, scored at native output times; quantities of interest: midspan_deflection_peak, cracked_fraction. The full evaluation protocol and its rationale, the baseline recipes and checkpoints, and the current leaderboard live on the benchmark page in the code repository — <https://github.com/qilinli/StructBench/blob/main/docs/benchmarks/notch_beam_2d_impact.md> — so the numbers have a single home. To train a baseline on this archive:
|
| 134 |
|
| 135 |
```bash
|
| 136 |
pip install structbench # or: pip install -e . from the repo
|
|
|
|
| 138 |
--data-root /path/to/this/folder --out runs/notch_beam_2d_impact-cgn
|
| 139 |
```
|
| 140 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 141 |
## References
|
| 142 |
|
| 143 |
- **MGN** — Pfaff, T., Fortunato, M., Sanchez-Gonzalez, A., & Battaglia, P. W. (2021). Learning Mesh-Based Simulation with Graph Networks. *ICLR*. https://arxiv.org/abs/2010.03409
|