Initial dataset release
Browse filesAnonymous review release with data, metadata, fixed splits, validation scripts, and checksums.
- .gitignore +5 -0
- BUILD_AUDIT.json +28 -0
- CITATION.cff +18 -0
- DATASHEET.md +114 -0
- LICENSE +21 -0
- LICENSE-CODE +21 -0
- README.md +151 -0
- README_zh.md +43 -0
- THIRD_PARTY_NOTICES.md +32 -0
- VALIDATION_REPORT.json +59 -0
- checksums.sha256 +48 -0
- data/floorfrontR/cases_001_100.zip +3 -0
- data/floorfrontR/cases_101_200.zip +3 -0
- data/floorfrontR/cases_201_300.zip +3 -0
- data/floorfrontR/cases_301_400.zip +3 -0
- data/floorfrontR/cases_401_500.zip +3 -0
- data/floorfrontdriver/cases_001_100.zip +3 -0
- data/floorfrontdriver/cases_101_200.zip +3 -0
- data/floorfrontdriver/cases_201_300.zip +3 -0
- data/floorfrontdriver/cases_301_400.zip +3 -0
- data/floorfrontdriver/cases_401_500.zip +3 -0
- data/trunkfloor/cases_001_100.zip +3 -0
- data/trunkfloor/cases_101_200.zip +3 -0
- data/trunkfloor/cases_201_300.zip +3 -0
- data/trunkfloor/cases_301_400.zip +3 -0
- data/trunkfloor/cases_401_500.zip +3 -0
- manifest.csv +0 -0
- meshes/floorfrontR_mesh.npz +3 -0
- meshes/floorfrontdriver_mesh.npz +3 -0
- meshes/trunkfloor_mesh.npz +3 -0
- metadata/dataset.json +65 -0
- metadata/floorfrontR_DATA_NOTE.md +24 -0
- metadata/floorfrontR_conditions.csv +0 -0
- metadata/floorfrontR_geometry.json +111 -0
- metadata/floorfrontR_peak_normalization.json +42 -0
- metadata/floorfrontdriver_conditions.csv +0 -0
- metadata/floorfrontdriver_geometry.json +111 -0
- metadata/floorfrontdriver_peak_normalization.json +42 -0
- metadata/split_400_50_50_seed12345.json +508 -0
- metadata/trunkfloor_conditions.csv +0 -0
- metadata/trunkfloor_geometry.json +111 -0
- metadata/trunkfloor_peak_normalization.json +42 -0
- release_inventory.json +69 -0
- requirements.txt +4 -0
- schema.json +70 -0
- scripts/build_peak_targets.py +116 -0
- scripts/compute_train_normalization.py +81 -0
- scripts/load_case.py +134 -0
- scripts/validate_dataset.py +299 -0
- scripts/visualize_trajectory.py +64 -0
.gitignore
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
derived_peak/
|
| 2 |
+
visualizations/
|
| 3 |
+
__pycache__/
|
| 4 |
+
*.pyc
|
| 5 |
+
|
BUILD_AUDIT.json
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"dataset": "Automotive Impact Dataset",
|
| 3 |
+
"version": "1.0.0",
|
| 4 |
+
"audit_date": "2026-08-26",
|
| 5 |
+
"case_byte_preservation": {
|
| 6 |
+
"status": "passed",
|
| 7 |
+
"cases": 1500,
|
| 8 |
+
"method": "SHA-256 of each source .pt file recorded in manifest.csv and rechecked from the ZIP member"
|
| 9 |
+
},
|
| 10 |
+
"peak_derivation_reference_match": {
|
| 11 |
+
"status": "passed",
|
| 12 |
+
"cases": 1500,
|
| 13 |
+
"floorfrontdriver": "500/500 exact",
|
| 14 |
+
"floorfrontR": "500/500 exact",
|
| 15 |
+
"trunkfloor": "500/500 exact",
|
| 16 |
+
"method": "build_peak_targets.select_peak was applied to each released ZIP member and compared with the pre-existing validated peak-case tensors; selected time index, selected node index, displacement tensor, and max-IP von Mises effective-stress tensor were exactly equal"
|
| 17 |
+
},
|
| 18 |
+
"normalization_reproduction": {
|
| 19 |
+
"status": "passed",
|
| 20 |
+
"split": "400 training cases only",
|
| 21 |
+
"outputs": [
|
| 22 |
+
"metadata/floorfrontdriver_peak_normalization.json",
|
| 23 |
+
"metadata/floorfrontR_peak_normalization.json",
|
| 24 |
+
"metadata/trunkfloor_peak_normalization.json"
|
| 25 |
+
]
|
| 26 |
+
},
|
| 27 |
+
"scope_note": "This is a technical build audit; provenance and unit limitations are documented separately."
|
| 28 |
+
}
|
CITATION.cff
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
cff-version: 1.2.0
|
| 2 |
+
message: "If you use this dataset, please cite the versioned Hugging Face repository for release v1.0.0."
|
| 3 |
+
title: "Automotive Impact Dataset: Multi-Geometry Full-Field Transient Simulation Data"
|
| 4 |
+
type: dataset
|
| 5 |
+
version: 1.0.0
|
| 6 |
+
date-released: 2026-09-08
|
| 7 |
+
authors:
|
| 8 |
+
- family-names: "Authors"
|
| 9 |
+
given-names: "Anonymous"
|
| 10 |
+
repository-artifact: "https://huggingface.co/datasets/structmeshdata/automotive-impact-data"
|
| 11 |
+
keywords:
|
| 12 |
+
- finite element simulation
|
| 13 |
+
- impact mechanics
|
| 14 |
+
- graph neural operator
|
| 15 |
+
- displacement field
|
| 16 |
+
- von Mises effective stress
|
| 17 |
+
- LS-DYNA
|
| 18 |
+
license: MIT
|
DATASHEET.md
ADDED
|
@@ -0,0 +1,114 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Datasheet for the Automotive Impact Dataset
|
| 2 |
+
|
| 3 |
+
## Motivation
|
| 4 |
+
|
| 5 |
+
The dataset supports research on mesh-based surrogate modeling of transient
|
| 6 |
+
impact response. It was created to evaluate whether neural operators can map a
|
| 7 |
+
finite-element mesh and impact/material conditions to spatially distributed
|
| 8 |
+
displacement and shell von Mises effective-stress trajectories.
|
| 9 |
+
|
| 10 |
+
## Composition
|
| 11 |
+
|
| 12 |
+
- 3 fixed automotive floor-panel geometries.
|
| 13 |
+
- 500 independent LHS cases per geometry; 1,500 cases total.
|
| 14 |
+
- 17 aligned states per case.
|
| 15 |
+
- Nodal displacement: three Cartesian components.
|
| 16 |
+
- Shell-element von Mises effective stress: one scalar per element and state,
|
| 17 |
+
taken as the maximum over all through-thickness integration points.
|
| 18 |
+
- Impact position, three-dimensional velocity, mass ratio, and material
|
| 19 |
+
parameters are stored per case.
|
| 20 |
+
- Static graph topology and shell element-to-node connectivity are provided per
|
| 21 |
+
geometry.
|
| 22 |
+
- One fixed 400/50/50 train/validation/test partition with seed 12345.
|
| 23 |
+
|
| 24 |
+
Exact tensor shapes are specified in `schema.json` and geometry metadata files.
|
| 25 |
+
|
| 26 |
+
## Stress definition
|
| 27 |
+
|
| 28 |
+
The `effective_stress` target is exported from LS-PrePost using `etime 9`,
|
| 29 |
+
labeled `Effective Stress (v-m), ip#max`. For each shell element and retained
|
| 30 |
+
state, it stores the maximum von Mises equivalent stress across all
|
| 31 |
+
through-thickness integration points. The integration-point index producing
|
| 32 |
+
the maximum is not retained. Values are reported in MPa.
|
| 33 |
+
|
| 34 |
+
## Collection and simulation process
|
| 35 |
+
|
| 36 |
+
Conditions were sampled using Latin hypercube sampling over predefined impact
|
| 37 |
+
and material parameter spaces. The simulations were executed with LS-DYNA on
|
| 38 |
+
subsets of a 2020 Nissan Rogue finite-element model. Raw solver databases and
|
| 39 |
+
curve text are not included. The released compact tensors retain 17 selected
|
| 40 |
+
simulation states of nodal displacement and shell von Mises effective stress.
|
| 41 |
+
|
| 42 |
+
The exact LS-DYNA version, source-model version, boundary/contact setup, state
|
| 43 |
+
sampling rule, and consistent unit system are not specified in this release.
|
| 44 |
+
|
| 45 |
+
## Preprocessing
|
| 46 |
+
|
| 47 |
+
The released case tensors are the compact 17-state inputs to downstream data
|
| 48 |
+
preparation. They have not been reduced to a single peak state. The accompanying
|
| 49 |
+
`build_peak_targets.py` derives the paper task by selecting the state containing
|
| 50 |
+
the largest valid nodal displacement magnitude and using stress from the same
|
| 51 |
+
state.
|
| 52 |
+
|
| 53 |
+
Some source nodes may require filled values; each case retains
|
| 54 |
+
`raw_valid_node_mask`, `filled_node_mask`, `filled_node_count`, and
|
| 55 |
+
`valid_node_mask` to make that processing explicit.
|
| 56 |
+
|
| 57 |
+
## Data quality
|
| 58 |
+
|
| 59 |
+
The release validator checks:
|
| 60 |
+
|
| 61 |
+
- exactly 500 cases per geometry;
|
| 62 |
+
- geometry-specific displacement and stress shapes;
|
| 63 |
+
- 17 states in each field;
|
| 64 |
+
- finite displacement and stress values;
|
| 65 |
+
- monotonic displacement and element time arrays;
|
| 66 |
+
- exact alignment of displacement and stress time arrays;
|
| 67 |
+
- valid static graph and shell-element connectivity;
|
| 68 |
+
- complete and disjoint split coverage;
|
| 69 |
+
- archive membership and SHA-256 case digests.
|
| 70 |
+
|
| 71 |
+
The `floorfrontR` revision additionally requires the source stress quality
|
| 72 |
+
audit described in `metadata/floorfrontR_DATA_NOTE.md`.
|
| 73 |
+
|
| 74 |
+
## Recommended uses
|
| 75 |
+
|
| 76 |
+
- full-field transient surrogate modeling;
|
| 77 |
+
- graph neural operators and mesh-based learning;
|
| 78 |
+
- peak-event displacement/stress prediction;
|
| 79 |
+
- temporal interpolation or sequence modeling within the released protocol;
|
| 80 |
+
- controlled comparisons on fixed meshes;
|
| 81 |
+
- simulation-based screening research.
|
| 82 |
+
|
| 83 |
+
## Out-of-scope or unsupported uses
|
| 84 |
+
|
| 85 |
+
- safety certification or replacement of final CAE/physical testing;
|
| 86 |
+
- claims of arbitrary-geometry generalization;
|
| 87 |
+
- treating same-numbered cases across geometries as physical pairs;
|
| 88 |
+
- claims about real-world crash response without external validation;
|
| 89 |
+
- mixing earlier internal `floorfrontR` artifacts with this release;
|
| 90 |
+
- interpreting the public test labels as a permanently hidden benchmark.
|
| 91 |
+
|
| 92 |
+
## Splits and benchmark integrity
|
| 93 |
+
|
| 94 |
+
The full v1.0 release includes labels for train, validation, and test cases.
|
| 95 |
+
Consequently, the test split reproduces the paper protocol but is not a hidden
|
| 96 |
+
benchmark after publication. New benchmark work should define a separate
|
| 97 |
+
private evaluation set or use an evaluation server.
|
| 98 |
+
|
| 99 |
+
## Personal and sensitive information
|
| 100 |
+
|
| 101 |
+
The data contain no human participants, personal data, or user-generated
|
| 102 |
+
content. The main reuse consideration is the documented provenance of the
|
| 103 |
+
underlying vehicle mesh.
|
| 104 |
+
|
| 105 |
+
## Distribution and maintenance
|
| 106 |
+
|
| 107 |
+
The archival host is the Hugging Face Hub, with a version tag. Changes to data
|
| 108 |
+
files require a new dataset version. Metadata changes should be documented
|
| 109 |
+
without silently replacing data.
|
| 110 |
+
|
| 111 |
+
## Licensing
|
| 112 |
+
|
| 113 |
+
The repository is released under the MIT License. Third-party provenance and
|
| 114 |
+
attribution are documented in `THIRD_PARTY_NOTICES.md`.
|
LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
MIT License
|
| 2 |
+
|
| 3 |
+
Copyright (c) 2026 Anonymous Dataset Contributors
|
| 4 |
+
|
| 5 |
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
| 6 |
+
of this software and associated documentation files (the "Software"), to deal
|
| 7 |
+
in the Software without restriction, including without limitation the rights
|
| 8 |
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
| 9 |
+
copies of the Software, and to permit persons to whom the Software is
|
| 10 |
+
furnished to do so, subject to the following conditions:
|
| 11 |
+
|
| 12 |
+
The above copyright notice and this permission notice shall be included in all
|
| 13 |
+
copies or substantial portions of the Software.
|
| 14 |
+
|
| 15 |
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
| 16 |
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
| 17 |
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
| 18 |
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
| 19 |
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
| 20 |
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
| 21 |
+
SOFTWARE.
|
LICENSE-CODE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
MIT License
|
| 2 |
+
|
| 3 |
+
Copyright (c) 2026 Anonymous Dataset Contributors
|
| 4 |
+
|
| 5 |
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
| 6 |
+
of this software and associated documentation files (the "Software"), to deal
|
| 7 |
+
in the Software without restriction, including without limitation the rights
|
| 8 |
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
| 9 |
+
copies of the Software, and to permit persons to whom the Software is
|
| 10 |
+
furnished to do so, subject to the following conditions:
|
| 11 |
+
|
| 12 |
+
The above copyright notice and this permission notice shall be included in all
|
| 13 |
+
copies or substantial portions of the Software.
|
| 14 |
+
|
| 15 |
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
| 16 |
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
| 17 |
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
| 18 |
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
| 19 |
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
| 20 |
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
| 21 |
+
SOFTWARE.
|
README.md
ADDED
|
@@ -0,0 +1,151 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
pretty_name: "Automotive Impact Dataset: Multi-Geometry Full-Field Transient Simulation Data"
|
| 3 |
+
license: mit
|
| 4 |
+
tags:
|
| 5 |
+
- 3d
|
| 6 |
+
- timeseries
|
| 7 |
+
- finite-element-analysis
|
| 8 |
+
- impact-mechanics
|
| 9 |
+
- graph-neural-networks
|
| 10 |
+
viewer: false
|
| 11 |
+
---
|
| 12 |
+
|
| 13 |
+
# Automotive Impact Dataset
|
| 14 |
+
|
| 15 |
+
**Version:** 1.0.0
|
| 16 |
+
**Data type:** finite-element simulation trajectories
|
| 17 |
+
**Task:** impact-conditioned displacement and shell von Mises effective-stress field prediction
|
| 18 |
+
|
| 19 |
+
The Automotive Impact Dataset contains independent impact simulations
|
| 20 |
+
on three automotive structural geometries. Each geometry has 500
|
| 21 |
+
Latin-hypercube-sampled impact conditions. Every case stores 17 aligned states
|
| 22 |
+
of the full three-dimensional nodal displacement field and shell-element
|
| 23 |
+
von Mises effective stress.
|
| 24 |
+
|
| 25 |
+
The dataset supports research on graph neural operators, mesh-based surrogate
|
| 26 |
+
models, spatiotemporal field prediction, peak-event prediction, and
|
| 27 |
+
simulation-based design screening.
|
| 28 |
+
|
| 29 |
+
## Dataset summary
|
| 30 |
+
|
| 31 |
+
| Geometry | Cases | Nodes | Directed graph edges | Shell elements | Displacement | von Mises effective stress |
|
| 32 |
+
|---|---:|---:|---:|---:|---|---|
|
| 33 |
+
| `floorfrontdriver` | 500 | 7,408 | 29,572 | 7,374 | `[7408,17,3]` | `[7374,17]` |
|
| 34 |
+
| `floorfrontR` | 500 | 12,011 | 48,138 | 12,055 | `[12011,17,3]` | `[12055,17]` |
|
| 35 |
+
| `trunkfloor` | 500 | 14,440 | 58,074 | 14,589 | `[14440,17,3]` | `[14589,17]` |
|
| 36 |
+
|
| 37 |
+
The three geometries are independent datasets. Equal case identifiers across
|
| 38 |
+
geometries do **not** denote paired physical simulations.
|
| 39 |
+
|
| 40 |
+
## Stress definition
|
| 41 |
+
|
| 42 |
+
The `effective_stress` field is the shell-element von Mises equivalent stress
|
| 43 |
+
exported from LS-PrePost. The LS-PrePost `etime 9` component corresponds to
|
| 44 |
+
`Effective Stress (v-m), ip#max`: for each shell element and retained state,
|
| 45 |
+
the stored scalar is the maximum von Mises stress over all through-thickness
|
| 46 |
+
integration points. The maximizing integration-point index is not retained.
|
| 47 |
+
Stress values are in MPa, and the tensor shape is `[Ne, 17]`.
|
| 48 |
+
|
| 49 |
+
## Repository structure
|
| 50 |
+
|
| 51 |
+
```text
|
| 52 |
+
automotive-impact-data/
|
| 53 |
+
├── data/
|
| 54 |
+
│ ├── floorfrontdriver/cases_001_100.zip ... cases_401_500.zip
|
| 55 |
+
│ ├── floorfrontR/cases_001_100.zip ... cases_401_500.zip
|
| 56 |
+
│ └── trunkfloor/cases_001_100.zip ... cases_401_500.zip
|
| 57 |
+
├── meshes/
|
| 58 |
+
├── metadata/
|
| 59 |
+
├── scripts/
|
| 60 |
+
├── manifest.csv
|
| 61 |
+
├── checksums.sha256
|
| 62 |
+
├── DATASHEET.md
|
| 63 |
+
└── schema.json
|
| 64 |
+
```
|
| 65 |
+
|
| 66 |
+
Each ZIP member is stored as `cases/caseNNN.pt`. The files are PyTorch-serialized
|
| 67 |
+
plain dictionaries. `manifest.csv` records the byte size and SHA-256 digest of
|
| 68 |
+
every case.
|
| 69 |
+
|
| 70 |
+
## Download
|
| 71 |
+
|
| 72 |
+
```python
|
| 73 |
+
from huggingface_hub import snapshot_download
|
| 74 |
+
|
| 75 |
+
dataset_root = snapshot_download(
|
| 76 |
+
repo_id="structmeshdata/automotive-impact-data",
|
| 77 |
+
repo_type="dataset",
|
| 78 |
+
revision="v1.0.0",
|
| 79 |
+
)
|
| 80 |
+
```
|
| 81 |
+
|
| 82 |
+
## Loading a case
|
| 83 |
+
|
| 84 |
+
PyTorch 2.6 or newer is recommended. The loader uses `weights_only=True` and
|
| 85 |
+
reads cases directly from ZIP shards:
|
| 86 |
+
|
| 87 |
+
```bash
|
| 88 |
+
python scripts/load_case.py \
|
| 89 |
+
--dataset-root . \
|
| 90 |
+
--geometry floorfrontdriver \
|
| 91 |
+
--case case001
|
| 92 |
+
```
|
| 93 |
+
|
| 94 |
+
```python
|
| 95 |
+
from pathlib import Path
|
| 96 |
+
import sys
|
| 97 |
+
|
| 98 |
+
sys.path.insert(0, str(Path("scripts").resolve()))
|
| 99 |
+
from load_case import load_case, load_mesh
|
| 100 |
+
|
| 101 |
+
case = load_case(Path("."), "floorfrontdriver", "case001")
|
| 102 |
+
mesh = load_mesh(Path("."), "floorfrontdriver")
|
| 103 |
+
print(case["disp"].shape)
|
| 104 |
+
print(case["effective_stress"].shape)
|
| 105 |
+
```
|
| 106 |
+
|
| 107 |
+
## Validation
|
| 108 |
+
|
| 109 |
+
```bash
|
| 110 |
+
python scripts/validate_dataset.py --dataset-root . --verify-checksums
|
| 111 |
+
```
|
| 112 |
+
|
| 113 |
+
The validator checks the case schema, tensor shapes, finite values, aligned
|
| 114 |
+
time arrays, split coverage, mesh connectivity, archive membership, and
|
| 115 |
+
SHA-256 digests.
|
| 116 |
+
|
| 117 |
+
## Fixed split and peak-event task
|
| 118 |
+
|
| 119 |
+
The fixed split is 400 train / 50 validation / 50 test cases per geometry with
|
| 120 |
+
seed 12345. Normalization statistics must be computed from the training cases
|
| 121 |
+
only.
|
| 122 |
+
|
| 123 |
+
For peak-event prediction, the supplied script selects the state containing the
|
| 124 |
+
global maximum valid nodal displacement magnitude and uses the von Mises
|
| 125 |
+
effective-stress field from that same state.
|
| 126 |
+
|
| 127 |
+
## Data-version note
|
| 128 |
+
|
| 129 |
+
The included `floorfrontR` data passed the release quality audit. Files from
|
| 130 |
+
earlier internal builds must not be mixed with this release; see
|
| 131 |
+
`metadata/floorfrontR_DATA_NOTE.md`.
|
| 132 |
+
|
| 133 |
+
## Limitations
|
| 134 |
+
|
| 135 |
+
- The fields are numerical simulation results, not physical crash-test measurements.
|
| 136 |
+
- The dataset covers three fixed meshes and their documented sampled conditions.
|
| 137 |
+
- It does not establish generalization to arbitrary vehicle geometries or real tests.
|
| 138 |
+
- Public test labels reproduce the fixed paper protocol but are not a hidden benchmark.
|
| 139 |
+
- The consistent unit system is not specified for fields without an explicit
|
| 140 |
+
unit in the schema. The `effective_stress` field is explicitly reported in MPa.
|
| 141 |
+
|
| 142 |
+
## License
|
| 143 |
+
|
| 144 |
+
This repository is released under the MIT License. Third-party names and source
|
| 145 |
+
model provenance are documented in `THIRD_PARTY_NOTICES.md`.
|
| 146 |
+
|
| 147 |
+
## Citation
|
| 148 |
+
|
| 149 |
+
Please cite the versioned Hugging Face repository for release `v1.0.0`:
|
| 150 |
+
https://huggingface.co/datasets/structmeshdata/automotive-impact-data/tree/v1.0.0.
|
| 151 |
+
Citation metadata is also provided in `CITATION.cff`.
|
README_zh.md
ADDED
|
@@ -0,0 +1,43 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# 汽车结构冲击数据集中文说明
|
| 2 |
+
|
| 3 |
+
本汽车结构冲击数据集包含三种汽车
|
| 4 |
+
结构几何上的独立冲击有限元仿真。每种几何包含 500 个 LHS 工况,
|
| 5 |
+
每个工况保存 17 个对齐时刻的完整节点三维位移场和壳单元
|
| 6 |
+
von Mises 等效应力场。
|
| 7 |
+
|
| 8 |
+
## 数据规模
|
| 9 |
+
|
| 10 |
+
| 几何 | case数 | 节点数 | 壳单元数 | 位移张量 | 应力张量 |
|
| 11 |
+
|---|---:|---:|---:|---|---|
|
| 12 |
+
| `floorfrontdriver` | 500 | 7,408 | 7,374 | `[7408,17,3]` | `[7374,17]` |
|
| 13 |
+
| `floorfrontR` | 500 | 12,011 | 12,055 | `[12011,17,3]` | `[12055,17]` |
|
| 14 |
+
| `trunkfloor` | 500 | 14,440 | 14,589 | `[14440,17,3]` | `[14589,17]` |
|
| 15 |
+
|
| 16 |
+
三种几何是彼此独立的数据。相同 case ID 不代表同一次物理仿真,
|
| 17 |
+
不能作为跨几何物理配对样本。
|
| 18 |
+
|
| 19 |
+
## 应力定义
|
| 20 |
+
|
| 21 |
+
`effective_stress` 是通过 LS-PrePost 导出的壳单元 von Mises 等效应力。
|
| 22 |
+
LS-PrePost 的 `etime 9` 对应 `Effective Stress (v-m), ip#max`:对每个壳单元
|
| 23 |
+
和每个保留时刻,在全部厚度积分点的 von Mises 应力中取最大值。数据不保留
|
| 24 |
+
取得最大值的积分点编号。应力单位为 MPa,张量形状为 `[Ne,17]`。
|
| 25 |
+
|
| 26 |
+
## 使用方法
|
| 27 |
+
|
| 28 |
+
无需预先解压 ZIP 即可读取:
|
| 29 |
+
|
| 30 |
+
```bash
|
| 31 |
+
python scripts/load_case.py --dataset-root . \
|
| 32 |
+
--geometry floorfrontdriver --case case001
|
| 33 |
+
```
|
| 34 |
+
|
| 35 |
+
全量验证:
|
| 36 |
+
|
| 37 |
+
```bash
|
| 38 |
+
python scripts/validate_dataset.py --dataset-root . --verify-checksums
|
| 39 |
+
```
|
| 40 |
+
|
| 41 |
+
本发布包中的 `floorfrontR` 数据经过完整质量核查;不要与更早的内部构建
|
| 42 |
+
混用。本仓库采用 MIT License,详细来源、字段和局限请参阅英文
|
| 43 |
+
`README.md`、`DATASHEET.md` 和 `THIRD_PARTY_NOTICES.md`。
|
THIRD_PARTY_NOTICES.md
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Third-party notices and provenance
|
| 2 |
+
|
| 3 |
+
## 2020 Nissan Rogue finite-element model
|
| 4 |
+
|
| 5 |
+
The three released floor-panel meshes originate from a 2020 Nissan Rogue
|
| 6 |
+
finite-element model developed by the Center for Collision Safety and Analysis
|
| 7 |
+
(CCSA), George Mason University, under a contract with the U.S. National
|
| 8 |
+
Highway Traffic Safety Administration (NHTSA).
|
| 9 |
+
|
| 10 |
+
Official model page:
|
| 11 |
+
|
| 12 |
+
https://www.ccsa.gmu.edu/models/2020-nissan-rogue/
|
| 13 |
+
|
| 14 |
+
The official page currently describes Version 3 (released August 2024) and
|
| 15 |
+
references DOI `10.13021/xb7g-8z06` for its presentation. The exact upstream
|
| 16 |
+
model version used to create this dataset is not specified in this release.
|
| 17 |
+
|
| 18 |
+
Users should consult the upstream model terms and attribution requirements when
|
| 19 |
+
redistributing or adapting extracted geometry.
|
| 20 |
+
|
| 21 |
+
## LS-DYNA
|
| 22 |
+
|
| 23 |
+
LS-DYNA is third-party commercial software. No LS-DYNA executable, library,
|
| 24 |
+
license file, solver database, or proprietary program component is included.
|
| 25 |
+
This dataset contains compact numerical outputs generated by simulations.
|
| 26 |
+
Users remain responsible for complying with applicable LS-DYNA terms.
|
| 27 |
+
|
| 28 |
+
## Trademarks and endorsement
|
| 29 |
+
|
| 30 |
+
Nissan, LS-DYNA, CCSA, GMU, NHTSA, and other names may be trademarks or names
|
| 31 |
+
of their respective owners. Their mention documents provenance and does not
|
| 32 |
+
imply endorsement of this dataset or its authors.
|
VALIDATION_REPORT.json
ADDED
|
@@ -0,0 +1,59 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"dataset": "Automotive Impact Dataset",
|
| 3 |
+
"version": "1.0.0",
|
| 4 |
+
"status": "passed",
|
| 5 |
+
"cases_validated": 1500,
|
| 6 |
+
"split_sizes": {
|
| 7 |
+
"train": 400,
|
| 8 |
+
"val": 50,
|
| 9 |
+
"test": 50
|
| 10 |
+
},
|
| 11 |
+
"archives": {
|
| 12 |
+
"archives": 15,
|
| 13 |
+
"archive_bytes": 5032143218
|
| 14 |
+
},
|
| 15 |
+
"geometries": {
|
| 16 |
+
"floorfrontdriver": {
|
| 17 |
+
"nodes": 7408,
|
| 18 |
+
"edges": 29572,
|
| 19 |
+
"elements": 7374,
|
| 20 |
+
"cases": 500,
|
| 21 |
+
"source_case_bytes": 1099705500,
|
| 22 |
+
"materials": {
|
| 23 |
+
"aluminum_rigid": 167,
|
| 24 |
+
"steel_rigid": 166,
|
| 25 |
+
"titanium_rigid": 167
|
| 26 |
+
}
|
| 27 |
+
},
|
| 28 |
+
"floorfrontR": {
|
| 29 |
+
"nodes": 12011,
|
| 30 |
+
"edges": 48138,
|
| 31 |
+
"elements": 12055,
|
| 32 |
+
"cases": 500,
|
| 33 |
+
"source_case_bytes": 1783897500,
|
| 34 |
+
"materials": {
|
| 35 |
+
"aluminum_rigid": 166,
|
| 36 |
+
"steel_rigid": 167,
|
| 37 |
+
"titanium_rigid": 167
|
| 38 |
+
}
|
| 39 |
+
},
|
| 40 |
+
"trunkfloor": {
|
| 41 |
+
"nodes": 14440,
|
| 42 |
+
"edges": 58074,
|
| 43 |
+
"elements": 14589,
|
| 44 |
+
"cases": 500,
|
| 45 |
+
"source_case_bytes": 2148377888,
|
| 46 |
+
"materials": {
|
| 47 |
+
"aluminum_rigid": 166,
|
| 48 |
+
"steel_rigid": 167,
|
| 49 |
+
"titanium_rigid": 167
|
| 50 |
+
}
|
| 51 |
+
}
|
| 52 |
+
},
|
| 53 |
+
"checksums": {
|
| 54 |
+
"checked_files": 48
|
| 55 |
+
},
|
| 56 |
+
"elapsed_seconds": 35.055318117141724,
|
| 57 |
+
"errors": [],
|
| 58 |
+
"scope_note": "Technical package validation only; provenance and unit limitations are documented in the release metadata."
|
| 59 |
+
}
|
checksums.sha256
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
1390fe35fb4bf7ae3b664798735e5e6e90421a14ee41717029b704d8189571e4 .gitignore
|
| 2 |
+
86c650d36a0e7a29ed044ce5fdc82252f1a23ed8d2a7f5115682071d18c4c7fb BUILD_AUDIT.json
|
| 3 |
+
5c0a42fb6c26561ab533201ad032a6d9b9e85e827c9a335aeb793ffe907d20e8 CITATION.cff
|
| 4 |
+
f32d7e8db854f624a0c7120491083d281bbc3adca0314f6eb59cd23aa780bd72 DATASHEET.md
|
| 5 |
+
0566a01e7392327b540b35810be439b9f5f1e0ff330c2d2c9e5cc72ccc319363 LICENSE
|
| 6 |
+
0566a01e7392327b540b35810be439b9f5f1e0ff330c2d2c9e5cc72ccc319363 LICENSE-CODE
|
| 7 |
+
0fdee0293d7c742a9b6d9db59f0220b3d3dffe0cfd47a5fc1b5da4916d606631 README.md
|
| 8 |
+
542ff825ded829acc9c4ef327f940c9cb9d3fbcd133b3e785b9d796a03876f52 README_zh.md
|
| 9 |
+
36078792dcb193b3e0fa4db0d777c225ab5b8f0c4c8a9e53eee6e605c275596f THIRD_PARTY_NOTICES.md
|
| 10 |
+
b86c173e169a1f0fd8c298b86f155d4c2e4d909e225c467600558c3b01d41ec5 data/floorfrontR/cases_001_100.zip
|
| 11 |
+
b06750609d7da3579f4e83a973255be17288ff75643add7a85a7764a5e93dcd7 data/floorfrontR/cases_101_200.zip
|
| 12 |
+
2ebee491189083a7f33aeb11999cfc04ce77fd4bed57745f9b5202d1951a6a58 data/floorfrontR/cases_201_300.zip
|
| 13 |
+
113c5ef39dea2fe7ed8ae308caacf5d645cdf47decd6617f2016c50940fe4268 data/floorfrontR/cases_301_400.zip
|
| 14 |
+
aacfa537964d66afbfb016e574a2b65b0090e45efedc9f6927588e8c25a5ead3 data/floorfrontR/cases_401_500.zip
|
| 15 |
+
3830ce1d63bad9ac462b3d698d3c32d40048ad3abce2684557cda4ef3a25b83b data/floorfrontdriver/cases_001_100.zip
|
| 16 |
+
d79ee669ab96f3ced5b6732f69d8a5f31e438ca90d794e3473f69aedb72dba47 data/floorfrontdriver/cases_101_200.zip
|
| 17 |
+
e657c51c967e8bd5622ec1c03421b6db513ef3f78dff77cd295f2089565177de data/floorfrontdriver/cases_201_300.zip
|
| 18 |
+
e9e2d02fd1c2231300713ae47b85762f3e9c5c087572df45f2ee2e2032f536e2 data/floorfrontdriver/cases_301_400.zip
|
| 19 |
+
36d4b2f7158dbaff0aafbffc5249d9506e85ce1257bfe8d4e3a29b83c6135f52 data/floorfrontdriver/cases_401_500.zip
|
| 20 |
+
c5a938dea14657df147648795247a415d8ec31a3ca68c989a69ed62e154e5749 data/trunkfloor/cases_001_100.zip
|
| 21 |
+
1df0154c07e734a1bb67243eb236abc16c5bc7b09e526bf6ed99a900e27fb3d0 data/trunkfloor/cases_101_200.zip
|
| 22 |
+
745ab8ad15ed3a40466f4b1c2e539cac3981cf3442da5d267150356e6c923f8b data/trunkfloor/cases_201_300.zip
|
| 23 |
+
f7c0ebbd8bf53079bb7fbf856286c8df2a5652184ecf3884398c190530019dd7 data/trunkfloor/cases_301_400.zip
|
| 24 |
+
98487b9085eb8d715ae81d3466befec53fb8468ff1286a357c5380f91de02dfd data/trunkfloor/cases_401_500.zip
|
| 25 |
+
02f7ac3d93d902eab35e4235d94ee70a7b3a3b75387053a3351c6a5bb977d503 manifest.csv
|
| 26 |
+
7c63c99afe297f995c18a801159573f4b5a86bc25031743fd5168da77a47385d meshes/floorfrontR_mesh.npz
|
| 27 |
+
f3493dbed1517d74b34cc6a801238735e3c570f63234566d6f4f8dede51788ba meshes/floorfrontdriver_mesh.npz
|
| 28 |
+
9cbb3476bed490746ef6e01f0049ec1573746a2c68ca5537364e66311a29ce9b meshes/trunkfloor_mesh.npz
|
| 29 |
+
3f1e4cf04904aeb1fc07d793a258e2517cf9f5e9b8331619e4e50c1452961fd0 metadata/dataset.json
|
| 30 |
+
5827784a6b36fb7df800dcad4c2e2cb1ef69b69770ed16a74fd273bb660d6817 metadata/floorfrontR_DATA_NOTE.md
|
| 31 |
+
decbe458d0572178fa502b35329460bd758884f06fc72f2e095a8e99185b0080 metadata/floorfrontR_conditions.csv
|
| 32 |
+
2ff08ba7c53b96f23c064f1ca3be61e304334e9bb171b0b7c5f7ff0847956b67 metadata/floorfrontR_geometry.json
|
| 33 |
+
4f4c3db379540ac3aa5d27ca4ed96095324d43a47b93ecbd1c321d54700cf8ef metadata/floorfrontR_peak_normalization.json
|
| 34 |
+
5576a6401c58a83c856b5b5d350f04fe7d4f98417db2d34848ffd8f91290157d metadata/floorfrontdriver_conditions.csv
|
| 35 |
+
20af0abfb6c792abbacfa60e62e95559441d0499f4a88223f0c3bc007ba9d351 metadata/floorfrontdriver_geometry.json
|
| 36 |
+
0ad2af354f04891d1768c3d6bb6d7a9eb925935ea411f163107bd9bf2d747780 metadata/floorfrontdriver_peak_normalization.json
|
| 37 |
+
cd89eadfc5b9c1b69832a24d0c00617d2fdf2e983fe3bfd1d3a8ac15166c9ab9 metadata/split_400_50_50_seed12345.json
|
| 38 |
+
f64c3d94411da71e7ef5ec1bac9ce5d6c2305189bd6469a3c34c75a0b42d8bd8 metadata/trunkfloor_conditions.csv
|
| 39 |
+
4da2240fbd33e8a3d850f534fb655949b74af1839b88cdaccf11ead81a7eb505 metadata/trunkfloor_geometry.json
|
| 40 |
+
37e1726395b3960f1d549f360c6428c47cda21bf4fc4a92783de2b163b7f3fb1 metadata/trunkfloor_peak_normalization.json
|
| 41 |
+
0cce019ecf8bfd4633d965659c4d9032b62d21cd31532eb96fecc0627a26b2fd release_inventory.json
|
| 42 |
+
c0801d2e3f5249c34a251979aecaa32b046deabb5cb627f0592866e4dee5f376 requirements.txt
|
| 43 |
+
39dab43c60a84f6080f00da3b881e336e7c2e93b62675747f26f42691dde27df schema.json
|
| 44 |
+
3008c2139a8d7ee556222e964c5e5e638828683e4bd38003098cdd2df0b413d0 scripts/build_peak_targets.py
|
| 45 |
+
683dc2d9c9bf93d47e5edf253045e8a19e0bf1dccdd5784c52570b72c3c840dc scripts/compute_train_normalization.py
|
| 46 |
+
6781f7623d8c7f9bca4798f94bf0cd4bd272cd4ef29c7bdeda1a287c0aa14ec1 scripts/load_case.py
|
| 47 |
+
b680b796dd1990d30abf3cc7ed7c862eef8128b9167057f4f25229eb91059e43 scripts/validate_dataset.py
|
| 48 |
+
7afa09ebeda88f8afed693540899f1d3a1ded9ab0bb2c6d67bab1b6ba99d55f0 scripts/visualize_trajectory.py
|
data/floorfrontR/cases_001_100.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b86c173e169a1f0fd8c298b86f155d4c2e4d909e225c467600558c3b01d41ec5
|
| 3 |
+
size 356790322
|
data/floorfrontR/cases_101_200.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b06750609d7da3579f4e83a973255be17288ff75643add7a85a7764a5e93dcd7
|
| 3 |
+
size 356790322
|
data/floorfrontR/cases_201_300.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2ebee491189083a7f33aeb11999cfc04ce77fd4bed57745f9b5202d1951a6a58
|
| 3 |
+
size 356790322
|
data/floorfrontR/cases_301_400.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:113c5ef39dea2fe7ed8ae308caacf5d645cdf47decd6617f2016c50940fe4268
|
| 3 |
+
size 356790322
|
data/floorfrontR/cases_401_500.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:aacfa537964d66afbfb016e574a2b65b0090e45efedc9f6927588e8c25a5ead3
|
| 3 |
+
size 356790322
|
data/floorfrontdriver/cases_001_100.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3830ce1d63bad9ac462b3d698d3c32d40048ad3abce2684557cda4ef3a25b83b
|
| 3 |
+
size 219951922
|
data/floorfrontdriver/cases_101_200.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d79ee669ab96f3ced5b6732f69d8a5f31e438ca90d794e3473f69aedb72dba47
|
| 3 |
+
size 219951922
|
data/floorfrontdriver/cases_201_300.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e657c51c967e8bd5622ec1c03421b6db513ef3f78dff77cd295f2089565177de
|
| 3 |
+
size 219951922
|
data/floorfrontdriver/cases_301_400.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e9e2d02fd1c2231300713ae47b85762f3e9c5c087572df45f2ee2e2032f536e2
|
| 3 |
+
size 219951922
|
data/floorfrontdriver/cases_401_500.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:36d4b2f7158dbaff0aafbffc5249d9506e85ce1257bfe8d4e3a29b83c6135f52
|
| 3 |
+
size 219951922
|
data/trunkfloor/cases_001_100.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c5a938dea14657df147648795247a415d8ec31a3ca68c989a69ed62e154e5749
|
| 3 |
+
size 429487922
|
data/trunkfloor/cases_101_200.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1df0154c07e734a1bb67243eb236abc16c5bc7b09e526bf6ed99a900e27fb3d0
|
| 3 |
+
size 429487922
|
data/trunkfloor/cases_201_300.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:745ab8ad15ed3a40466f4b1c2e539cac3981cf3442da5d267150356e6c923f8b
|
| 3 |
+
size 429487922
|
data/trunkfloor/cases_301_400.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f7c0ebbd8bf53079bb7fbf856286c8df2a5652184ecf3884398c190530019dd7
|
| 3 |
+
size 430480310
|
data/trunkfloor/cases_401_500.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:98487b9085eb8d715ae81d3466befec53fb8468ff1286a357c5380f91de02dfd
|
| 3 |
+
size 429487922
|
manifest.csv
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
meshes/floorfrontR_mesh.npz
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7c63c99afe297f995c18a801159573f4b5a86bc25031743fd5168da77a47385d
|
| 3 |
+
size 318519
|
meshes/floorfrontdriver_mesh.npz
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f3493dbed1517d74b34cc6a801238735e3c570f63234566d6f4f8dede51788ba
|
| 3 |
+
size 197309
|
meshes/trunkfloor_mesh.npz
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9cbb3476bed490746ef6e01f0049ec1573746a2c68ca5537364e66311a29ce9b
|
| 3 |
+
size 381880
|
metadata/dataset.json
ADDED
|
@@ -0,0 +1,65 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"title": "Automotive Impact Dataset",
|
| 3 |
+
"version": "1.0.0",
|
| 4 |
+
"release_status": "public-release",
|
| 5 |
+
"resource_type": "dataset",
|
| 6 |
+
"total_cases": 1500,
|
| 7 |
+
"geometries": [
|
| 8 |
+
"floorfrontdriver",
|
| 9 |
+
"floorfrontR",
|
| 10 |
+
"trunkfloor"
|
| 11 |
+
],
|
| 12 |
+
"cases_per_geometry": 500,
|
| 13 |
+
"states_per_case": 17,
|
| 14 |
+
"split": {
|
| 15 |
+
"seed": 12345,
|
| 16 |
+
"train": 400,
|
| 17 |
+
"validation": 50,
|
| 18 |
+
"test": 50,
|
| 19 |
+
"note": "same case-ID lists, independent simulations per geometry"
|
| 20 |
+
},
|
| 21 |
+
"fields": {
|
| 22 |
+
"inputs": [
|
| 23 |
+
"fixed finite-element mesh",
|
| 24 |
+
"impact_xyz",
|
| 25 |
+
"velocity_xyz",
|
| 26 |
+
"mass_ratio",
|
| 27 |
+
"material_young_mpa",
|
| 28 |
+
"material_poisson"
|
| 29 |
+
],
|
| 30 |
+
"outputs": [
|
| 31 |
+
"17-state nodal 3D displacement",
|
| 32 |
+
"17-state shell von Mises effective stress, maximized over through-thickness integration points"
|
| 33 |
+
]
|
| 34 |
+
},
|
| 35 |
+
"units": {
|
| 36 |
+
"status": "NOT_SPECIFIED_IN_RELEASE",
|
| 37 |
+
"coordinate": null,
|
| 38 |
+
"displacement": null,
|
| 39 |
+
"time": null,
|
| 40 |
+
"velocity": null,
|
| 41 |
+
"effective_stress": "MPa",
|
| 42 |
+
"young_modulus": "field name states MPa; verify against solver unit system",
|
| 43 |
+
"impactor_mass": null,
|
| 44 |
+
"impactor_density": null,
|
| 45 |
+
"mass_ratio": "dimensionless",
|
| 46 |
+
"theta_phi": "degree"
|
| 47 |
+
},
|
| 48 |
+
"license": "MIT",
|
| 49 |
+
"doi": null,
|
| 50 |
+
"creators": [
|
| 51 |
+
"Anonymous Authors"
|
| 52 |
+
],
|
| 53 |
+
"source_model": {
|
| 54 |
+
"name": "2020 Nissan Rogue finite-element model",
|
| 55 |
+
"developer": "CCSA, George Mason University",
|
| 56 |
+
"sponsor": "NHTSA",
|
| 57 |
+
"exact_version": "not specified in release",
|
| 58 |
+
"official_page": "https://www.ccsa.gmu.edu/models/2020-nissan-rogue/"
|
| 59 |
+
},
|
| 60 |
+
"geometry_metadata": {
|
| 61 |
+
"floorfrontdriver": "floorfrontdriver_geometry.json",
|
| 62 |
+
"floorfrontR": "floorfrontR_geometry.json",
|
| 63 |
+
"trunkfloor": "trunkfloor_geometry.json"
|
| 64 |
+
}
|
| 65 |
+
}
|
metadata/floorfrontR_DATA_NOTE.md
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# floorfrontR data-quality note
|
| 2 |
+
|
| 3 |
+
The only valid floorfrontR revision in this release is:
|
| 4 |
+
|
| 5 |
+
```text
|
| 6 |
+
review_release_v1
|
| 7 |
+
```
|
| 8 |
+
|
| 9 |
+
Fifty-eight source cases in an earlier internal build exhibited degenerate
|
| 10 |
+
von Mises effective-stress frames. Those cases were rebuilt from the solver
|
| 11 |
+
outputs, after which all 500 compact 17-state cases were audited.
|
| 12 |
+
|
| 13 |
+
Release requirements:
|
| 14 |
+
|
| 15 |
+
- all 500 source and released cases must be finite and match the fixed mesh;
|
| 16 |
+
- displacement and von Mises effective-stress tensors must each contain 17 aligned states;
|
| 17 |
+
- every non-initial source stress frame must satisfy dominant-value fraction
|
| 18 |
+
at most `0.01` and unique-value fraction at least `0.9`;
|
| 19 |
+
- earlier internal `floorfrontR` cases, normalization, checkpoints, and metrics
|
| 20 |
+
are obsolete and are not part of this release.
|
| 21 |
+
|
| 22 |
+
The internal final source audit contained no invalid case rows. The public
|
| 23 |
+
release validator independently checks the released compact tensors but cannot
|
| 24 |
+
recreate a solver-source semantic audit without the omitted solver databases.
|
metadata/floorfrontR_conditions.csv
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
metadata/floorfrontR_geometry.json
ADDED
|
@@ -0,0 +1,111 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"geometry": "floorfrontR",
|
| 3 |
+
"data_revision": "review_release_v1",
|
| 4 |
+
"cases": 500,
|
| 5 |
+
"states_per_case": 17,
|
| 6 |
+
"displacement_shape_per_case": [
|
| 7 |
+
12011,
|
| 8 |
+
17,
|
| 9 |
+
3
|
| 10 |
+
],
|
| 11 |
+
"effective_stress_shape_per_case": [
|
| 12 |
+
12055,
|
| 13 |
+
17
|
| 14 |
+
],
|
| 15 |
+
"effective_stress_definition": {
|
| 16 |
+
"quantity": "von_mises_effective_stress",
|
| 17 |
+
"entity": "shell_element",
|
| 18 |
+
"through_thickness_reduction": "max_integration_point",
|
| 19 |
+
"ls_prepost_component": "etime 9",
|
| 20 |
+
"ls_prepost_label": "Effective Stress (v-m), ip#max",
|
| 21 |
+
"integration_point_index_retained": false,
|
| 22 |
+
"units": "MPa"
|
| 23 |
+
},
|
| 24 |
+
"mesh": {
|
| 25 |
+
"file": "meshes/floorfrontR_mesh.npz",
|
| 26 |
+
"nodes": 12011,
|
| 27 |
+
"directed_graph_edges": 48138,
|
| 28 |
+
"shell_elements": 12055,
|
| 29 |
+
"shell_triangles": 576,
|
| 30 |
+
"shell_quads": 11479,
|
| 31 |
+
"boundary_nodes": 494
|
| 32 |
+
},
|
| 33 |
+
"time_value_range": [
|
| 34 |
+
0.0,
|
| 35 |
+
0.03000050224363804
|
| 36 |
+
],
|
| 37 |
+
"condition_ranges": {
|
| 38 |
+
"impact_x": [
|
| 39 |
+
-2723.712646484375,
|
| 40 |
+
-1657.7757568359375
|
| 41 |
+
],
|
| 42 |
+
"impact_y": [
|
| 43 |
+
-614.1250610351562,
|
| 44 |
+
-202.4583740234375
|
| 45 |
+
],
|
| 46 |
+
"impact_z": [
|
| 47 |
+
285.6304931640625,
|
| 48 |
+
320.30462646484375
|
| 49 |
+
],
|
| 50 |
+
"velocity_x": [
|
| 51 |
+
-1103.33740234375,
|
| 52 |
+
1124.4693603515625
|
| 53 |
+
],
|
| 54 |
+
"velocity_y": [
|
| 55 |
+
-1064.432373046875,
|
| 56 |
+
1170.837890625
|
| 57 |
+
],
|
| 58 |
+
"velocity_z": [
|
| 59 |
+
1696.9781494140625,
|
| 60 |
+
5178.09375
|
| 61 |
+
],
|
| 62 |
+
"impact_speed": [
|
| 63 |
+
1736.44091796875,
|
| 64 |
+
5193.4033203125
|
| 65 |
+
],
|
| 66 |
+
"mass_ratio": [
|
| 67 |
+
0.7503408193588257,
|
| 68 |
+
1.2490949630737305
|
| 69 |
+
],
|
| 70 |
+
"impactor_mass": [
|
| 71 |
+
0.007503408472985029,
|
| 72 |
+
0.012490949593484402
|
| 73 |
+
],
|
| 74 |
+
"impactor_density": [
|
| 75 |
+
3.905524135916494e-05,
|
| 76 |
+
6.50153961032629e-05
|
| 77 |
+
],
|
| 78 |
+
"theta_deg": [
|
| 79 |
+
0.0070020100101828575,
|
| 80 |
+
14.971134185791016
|
| 81 |
+
],
|
| 82 |
+
"phi_deg": [
|
| 83 |
+
0.1686650961637497,
|
| 84 |
+
359.6947326660156
|
| 85 |
+
],
|
| 86 |
+
"material_young_mpa": [
|
| 87 |
+
70000.0,
|
| 88 |
+
210000.0
|
| 89 |
+
],
|
| 90 |
+
"material_poisson": [
|
| 91 |
+
0.30000001192092896,
|
| 92 |
+
0.3400000035762787
|
| 93 |
+
],
|
| 94 |
+
"material_index": [
|
| 95 |
+
0,
|
| 96 |
+
2
|
| 97 |
+
]
|
| 98 |
+
},
|
| 99 |
+
"material_counts": {
|
| 100 |
+
"aluminum_rigid": 166,
|
| 101 |
+
"steel_rigid": 167,
|
| 102 |
+
"titanium_rigid": 167
|
| 103 |
+
},
|
| 104 |
+
"units": {
|
| 105 |
+
"status": "NOT_SPECIFIED_IN_RELEASE",
|
| 106 |
+
"effective_stress": "MPa",
|
| 107 |
+
"material_young_field_name": "material_young_mpa",
|
| 108 |
+
"angles": "degrees"
|
| 109 |
+
},
|
| 110 |
+
"case_file_policy": "original compact 17-state .pt bytes preserved"
|
| 111 |
+
}
|
metadata/floorfrontR_peak_normalization.json
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"geometry": "floorfrontR",
|
| 3 |
+
"split": "train",
|
| 4 |
+
"train_cases": 400,
|
| 5 |
+
"target_scale_definition": "training-split RMS of peak-state x/y/z displacement and same-state max-IP von Mises effective stress",
|
| 6 |
+
"target_feature_names": [
|
| 7 |
+
"disp_x",
|
| 8 |
+
"disp_y",
|
| 9 |
+
"disp_z",
|
| 10 |
+
"effective_stress"
|
| 11 |
+
],
|
| 12 |
+
"target_scale": [
|
| 13 |
+
0.15814628202903228,
|
| 14 |
+
0.43806964477173826,
|
| 15 |
+
7.464683794852748,
|
| 16 |
+
148.31607344636922
|
| 17 |
+
],
|
| 18 |
+
"condition_feature_names": [
|
| 19 |
+
"velocity_x",
|
| 20 |
+
"velocity_y",
|
| 21 |
+
"velocity_z",
|
| 22 |
+
"mass_ratio",
|
| 23 |
+
"material_young_mpa",
|
| 24 |
+
"material_poisson"
|
| 25 |
+
],
|
| 26 |
+
"condition_mean": [
|
| 27 |
+
0.10280021738260985,
|
| 28 |
+
8.576476227547973,
|
| 29 |
+
3401.6078103637697,
|
| 30 |
+
1.0001993896067143,
|
| 31 |
+
128400.0,
|
| 32 |
+
0.32380000948905946
|
| 33 |
+
],
|
| 34 |
+
"condition_std_sample": [
|
| 35 |
+
385.1982072101155,
|
| 36 |
+
383.60519572238866,
|
| 37 |
+
986.7598245734322,
|
| 38 |
+
0.14554607292369684,
|
| 39 |
+
58429.230162165906,
|
| 40 |
+
0.01686032590358658
|
| 41 |
+
]
|
| 42 |
+
}
|
metadata/floorfrontdriver_conditions.csv
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
metadata/floorfrontdriver_geometry.json
ADDED
|
@@ -0,0 +1,111 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"geometry": "floorfrontdriver",
|
| 3 |
+
"data_revision": "review_release_v1",
|
| 4 |
+
"cases": 500,
|
| 5 |
+
"states_per_case": 17,
|
| 6 |
+
"displacement_shape_per_case": [
|
| 7 |
+
7408,
|
| 8 |
+
17,
|
| 9 |
+
3
|
| 10 |
+
],
|
| 11 |
+
"effective_stress_shape_per_case": [
|
| 12 |
+
7374,
|
| 13 |
+
17
|
| 14 |
+
],
|
| 15 |
+
"effective_stress_definition": {
|
| 16 |
+
"quantity": "von_mises_effective_stress",
|
| 17 |
+
"entity": "shell_element",
|
| 18 |
+
"through_thickness_reduction": "max_integration_point",
|
| 19 |
+
"ls_prepost_component": "etime 9",
|
| 20 |
+
"ls_prepost_label": "Effective Stress (v-m), ip#max",
|
| 21 |
+
"integration_point_index_retained": false,
|
| 22 |
+
"units": "MPa"
|
| 23 |
+
},
|
| 24 |
+
"mesh": {
|
| 25 |
+
"file": "meshes/floorfrontdriver_mesh.npz",
|
| 26 |
+
"nodes": 7408,
|
| 27 |
+
"directed_graph_edges": 29572,
|
| 28 |
+
"shell_elements": 7374,
|
| 29 |
+
"shell_triangles": 341,
|
| 30 |
+
"shell_quads": 7033,
|
| 31 |
+
"boundary_nodes": 416
|
| 32 |
+
},
|
| 33 |
+
"time_value_range": [
|
| 34 |
+
0.0,
|
| 35 |
+
0.030000703409314156
|
| 36 |
+
],
|
| 37 |
+
"condition_ranges": {
|
| 38 |
+
"impact_x": [
|
| 39 |
+
-2724.6455078125,
|
| 40 |
+
-1656.1412353515625
|
| 41 |
+
],
|
| 42 |
+
"impact_y": [
|
| 43 |
+
224.04954528808594,
|
| 44 |
+
612.4707641601562
|
| 45 |
+
],
|
| 46 |
+
"impact_z": [
|
| 47 |
+
284.037841796875,
|
| 48 |
+
321.5826110839844
|
| 49 |
+
],
|
| 50 |
+
"velocity_x": [
|
| 51 |
+
-1207.6029052734375,
|
| 52 |
+
1239.7603759765625
|
| 53 |
+
],
|
| 54 |
+
"velocity_y": [
|
| 55 |
+
-1189.7738037109375,
|
| 56 |
+
1136.3560791015625
|
| 57 |
+
],
|
| 58 |
+
"velocity_z": [
|
| 59 |
+
1718.663818359375,
|
| 60 |
+
5186.32568359375
|
| 61 |
+
],
|
| 62 |
+
"impact_speed": [
|
| 63 |
+
1741.2091064453125,
|
| 64 |
+
5195.2529296875
|
| 65 |
+
],
|
| 66 |
+
"mass_ratio": [
|
| 67 |
+
0.7512320280075073,
|
| 68 |
+
1.2494629621505737
|
| 69 |
+
],
|
| 70 |
+
"impactor_mass": [
|
| 71 |
+
0.007512320298701525,
|
| 72 |
+
0.012494630180299282
|
| 73 |
+
],
|
| 74 |
+
"impactor_density": [
|
| 75 |
+
3.910162558895536e-05,
|
| 76 |
+
6.503454642370343e-05
|
| 77 |
+
],
|
| 78 |
+
"theta_deg": [
|
| 79 |
+
7.669999831705354e-06,
|
| 80 |
+
14.99563217163086
|
| 81 |
+
],
|
| 82 |
+
"phi_deg": [
|
| 83 |
+
0.1986832469701767,
|
| 84 |
+
359.6679382324219
|
| 85 |
+
],
|
| 86 |
+
"material_young_mpa": [
|
| 87 |
+
70000.0,
|
| 88 |
+
210000.0
|
| 89 |
+
],
|
| 90 |
+
"material_poisson": [
|
| 91 |
+
0.30000001192092896,
|
| 92 |
+
0.3400000035762787
|
| 93 |
+
],
|
| 94 |
+
"material_index": [
|
| 95 |
+
0,
|
| 96 |
+
2
|
| 97 |
+
]
|
| 98 |
+
},
|
| 99 |
+
"material_counts": {
|
| 100 |
+
"aluminum_rigid": 167,
|
| 101 |
+
"steel_rigid": 166,
|
| 102 |
+
"titanium_rigid": 167
|
| 103 |
+
},
|
| 104 |
+
"units": {
|
| 105 |
+
"status": "NOT_SPECIFIED_IN_RELEASE",
|
| 106 |
+
"effective_stress": "MPa",
|
| 107 |
+
"material_young_field_name": "material_young_mpa",
|
| 108 |
+
"angles": "degrees"
|
| 109 |
+
},
|
| 110 |
+
"case_file_policy": "original compact 17-state .pt bytes preserved"
|
| 111 |
+
}
|
metadata/floorfrontdriver_peak_normalization.json
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"geometry": "floorfrontdriver",
|
| 3 |
+
"split": "train",
|
| 4 |
+
"train_cases": 400,
|
| 5 |
+
"target_scale_definition": "training-split RMS of peak-state x/y/z displacement and same-state max-IP von Mises effective stress",
|
| 6 |
+
"target_feature_names": [
|
| 7 |
+
"disp_x",
|
| 8 |
+
"disp_y",
|
| 9 |
+
"disp_z",
|
| 10 |
+
"effective_stress"
|
| 11 |
+
],
|
| 12 |
+
"target_scale": [
|
| 13 |
+
0.13040709647874055,
|
| 14 |
+
0.4080695564143727,
|
| 15 |
+
5.966413782889742,
|
| 16 |
+
146.48513834118916
|
| 17 |
+
],
|
| 18 |
+
"condition_feature_names": [
|
| 19 |
+
"velocity_x",
|
| 20 |
+
"velocity_y",
|
| 21 |
+
"velocity_z",
|
| 22 |
+
"mass_ratio",
|
| 23 |
+
"material_young_mpa",
|
| 24 |
+
"material_poisson"
|
| 25 |
+
],
|
| 26 |
+
"condition_mean": [
|
| 27 |
+
-7.210305147669278,
|
| 28 |
+
1.9799741742014885,
|
| 29 |
+
3442.1292193603517,
|
| 30 |
+
1.0024085031449794,
|
| 31 |
+
128350.0,
|
| 32 |
+
0.32362500958144663
|
| 33 |
+
],
|
| 34 |
+
"condition_std_sample": [
|
| 35 |
+
387.55994778420586,
|
| 36 |
+
389.0490350166509,
|
| 37 |
+
998.7367338294406,
|
| 38 |
+
0.14457798511892794,
|
| 39 |
+
58761.465046713114,
|
| 40 |
+
0.016832040400886327
|
| 41 |
+
]
|
| 42 |
+
}
|
metadata/split_400_50_50_seed12345.json
ADDED
|
@@ -0,0 +1,508 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"train": [
|
| 3 |
+
"case237",
|
| 4 |
+
"case059",
|
| 5 |
+
"case126",
|
| 6 |
+
"case017",
|
| 7 |
+
"case401",
|
| 8 |
+
"case459",
|
| 9 |
+
"case326",
|
| 10 |
+
"case194",
|
| 11 |
+
"case112",
|
| 12 |
+
"case402",
|
| 13 |
+
"case197",
|
| 14 |
+
"case239",
|
| 15 |
+
"case209",
|
| 16 |
+
"case270",
|
| 17 |
+
"case069",
|
| 18 |
+
"case435",
|
| 19 |
+
"case116",
|
| 20 |
+
"case127",
|
| 21 |
+
"case456",
|
| 22 |
+
"case046",
|
| 23 |
+
"case315",
|
| 24 |
+
"case241",
|
| 25 |
+
"case323",
|
| 26 |
+
"case221",
|
| 27 |
+
"case350",
|
| 28 |
+
"case249",
|
| 29 |
+
"case156",
|
| 30 |
+
"case493",
|
| 31 |
+
"case417",
|
| 32 |
+
"case347",
|
| 33 |
+
"case458",
|
| 34 |
+
"case485",
|
| 35 |
+
"case373",
|
| 36 |
+
"case301",
|
| 37 |
+
"case049",
|
| 38 |
+
"case491",
|
| 39 |
+
"case289",
|
| 40 |
+
"case087",
|
| 41 |
+
"case450",
|
| 42 |
+
"case361",
|
| 43 |
+
"case144",
|
| 44 |
+
"case469",
|
| 45 |
+
"case164",
|
| 46 |
+
"case044",
|
| 47 |
+
"case078",
|
| 48 |
+
"case129",
|
| 49 |
+
"case163",
|
| 50 |
+
"case299",
|
| 51 |
+
"case138",
|
| 52 |
+
"case486",
|
| 53 |
+
"case463",
|
| 54 |
+
"case287",
|
| 55 |
+
"case461",
|
| 56 |
+
"case103",
|
| 57 |
+
"case360",
|
| 58 |
+
"case115",
|
| 59 |
+
"case093",
|
| 60 |
+
"case397",
|
| 61 |
+
"case133",
|
| 62 |
+
"case102",
|
| 63 |
+
"case075",
|
| 64 |
+
"case038",
|
| 65 |
+
"case476",
|
| 66 |
+
"case020",
|
| 67 |
+
"case003",
|
| 68 |
+
"case345",
|
| 69 |
+
"case071",
|
| 70 |
+
"case027",
|
| 71 |
+
"case183",
|
| 72 |
+
"case244",
|
| 73 |
+
"case178",
|
| 74 |
+
"case122",
|
| 75 |
+
"case226",
|
| 76 |
+
"case441",
|
| 77 |
+
"case440",
|
| 78 |
+
"case124",
|
| 79 |
+
"case271",
|
| 80 |
+
"case234",
|
| 81 |
+
"case274",
|
| 82 |
+
"case231",
|
| 83 |
+
"case184",
|
| 84 |
+
"case036",
|
| 85 |
+
"case114",
|
| 86 |
+
"case001",
|
| 87 |
+
"case181",
|
| 88 |
+
"case495",
|
| 89 |
+
"case474",
|
| 90 |
+
"case074",
|
| 91 |
+
"case462",
|
| 92 |
+
"case487",
|
| 93 |
+
"case251",
|
| 94 |
+
"case028",
|
| 95 |
+
"case408",
|
| 96 |
+
"case157",
|
| 97 |
+
"case418",
|
| 98 |
+
"case243",
|
| 99 |
+
"case341",
|
| 100 |
+
"case264",
|
| 101 |
+
"case356",
|
| 102 |
+
"case152",
|
| 103 |
+
"case454",
|
| 104 |
+
"case250",
|
| 105 |
+
"case443",
|
| 106 |
+
"case318",
|
| 107 |
+
"case110",
|
| 108 |
+
"case484",
|
| 109 |
+
"case123",
|
| 110 |
+
"case195",
|
| 111 |
+
"case048",
|
| 112 |
+
"case240",
|
| 113 |
+
"case307",
|
| 114 |
+
"case066",
|
| 115 |
+
"case309",
|
| 116 |
+
"case280",
|
| 117 |
+
"case457",
|
| 118 |
+
"case308",
|
| 119 |
+
"case108",
|
| 120 |
+
"case385",
|
| 121 |
+
"case171",
|
| 122 |
+
"case205",
|
| 123 |
+
"case218",
|
| 124 |
+
"case131",
|
| 125 |
+
"case381",
|
| 126 |
+
"case188",
|
| 127 |
+
"case257",
|
| 128 |
+
"case089",
|
| 129 |
+
"case268",
|
| 130 |
+
"case439",
|
| 131 |
+
"case159",
|
| 132 |
+
"case058",
|
| 133 |
+
"case072",
|
| 134 |
+
"case143",
|
| 135 |
+
"case061",
|
| 136 |
+
"case068",
|
| 137 |
+
"case161",
|
| 138 |
+
"case379",
|
| 139 |
+
"case018",
|
| 140 |
+
"case316",
|
| 141 |
+
"case344",
|
| 142 |
+
"case211",
|
| 143 |
+
"case117",
|
| 144 |
+
"case225",
|
| 145 |
+
"case437",
|
| 146 |
+
"case400",
|
| 147 |
+
"case142",
|
| 148 |
+
"case217",
|
| 149 |
+
"case353",
|
| 150 |
+
"case168",
|
| 151 |
+
"case455",
|
| 152 |
+
"case352",
|
| 153 |
+
"case099",
|
| 154 |
+
"case202",
|
| 155 |
+
"case362",
|
| 156 |
+
"case260",
|
| 157 |
+
"case374",
|
| 158 |
+
"case248",
|
| 159 |
+
"case273",
|
| 160 |
+
"case185",
|
| 161 |
+
"case325",
|
| 162 |
+
"case430",
|
| 163 |
+
"case342",
|
| 164 |
+
"case324",
|
| 165 |
+
"case297",
|
| 166 |
+
"case295",
|
| 167 |
+
"case334",
|
| 168 |
+
"case242",
|
| 169 |
+
"case045",
|
| 170 |
+
"case480",
|
| 171 |
+
"case303",
|
| 172 |
+
"case305",
|
| 173 |
+
"case233",
|
| 174 |
+
"case029",
|
| 175 |
+
"case310",
|
| 176 |
+
"case015",
|
| 177 |
+
"case366",
|
| 178 |
+
"case145",
|
| 179 |
+
"case421",
|
| 180 |
+
"case033",
|
| 181 |
+
"case355",
|
| 182 |
+
"case432",
|
| 183 |
+
"case399",
|
| 184 |
+
"case186",
|
| 185 |
+
"case012",
|
| 186 |
+
"case398",
|
| 187 |
+
"case121",
|
| 188 |
+
"case238",
|
| 189 |
+
"case405",
|
| 190 |
+
"case494",
|
| 191 |
+
"case479",
|
| 192 |
+
"case489",
|
| 193 |
+
"case173",
|
| 194 |
+
"case331",
|
| 195 |
+
"case317",
|
| 196 |
+
"case419",
|
| 197 |
+
"case311",
|
| 198 |
+
"case425",
|
| 199 |
+
"case396",
|
| 200 |
+
"case278",
|
| 201 |
+
"case467",
|
| 202 |
+
"case403",
|
| 203 |
+
"case255",
|
| 204 |
+
"case201",
|
| 205 |
+
"case196",
|
| 206 |
+
"case207",
|
| 207 |
+
"case357",
|
| 208 |
+
"case227",
|
| 209 |
+
"case151",
|
| 210 |
+
"case232",
|
| 211 |
+
"case304",
|
| 212 |
+
"case200",
|
| 213 |
+
"case283",
|
| 214 |
+
"case135",
|
| 215 |
+
"case359",
|
| 216 |
+
"case426",
|
| 217 |
+
"case130",
|
| 218 |
+
"case292",
|
| 219 |
+
"case054",
|
| 220 |
+
"case281",
|
| 221 |
+
"case025",
|
| 222 |
+
"case024",
|
| 223 |
+
"case220",
|
| 224 |
+
"case010",
|
| 225 |
+
"case073",
|
| 226 |
+
"case190",
|
| 227 |
+
"case428",
|
| 228 |
+
"case328",
|
| 229 |
+
"case137",
|
| 230 |
+
"case146",
|
| 231 |
+
"case409",
|
| 232 |
+
"case053",
|
| 233 |
+
"case149",
|
| 234 |
+
"case245",
|
| 235 |
+
"case336",
|
| 236 |
+
"case372",
|
| 237 |
+
"case320",
|
| 238 |
+
"case011",
|
| 239 |
+
"case482",
|
| 240 |
+
"case082",
|
| 241 |
+
"case101",
|
| 242 |
+
"case088",
|
| 243 |
+
"case330",
|
| 244 |
+
"case009",
|
| 245 |
+
"case413",
|
| 246 |
+
"case030",
|
| 247 |
+
"case261",
|
| 248 |
+
"case447",
|
| 249 |
+
"case052",
|
| 250 |
+
"case109",
|
| 251 |
+
"case465",
|
| 252 |
+
"case060",
|
| 253 |
+
"case079",
|
| 254 |
+
"case210",
|
| 255 |
+
"case037",
|
| 256 |
+
"case258",
|
| 257 |
+
"case042",
|
| 258 |
+
"case460",
|
| 259 |
+
"case215",
|
| 260 |
+
"case424",
|
| 261 |
+
"case488",
|
| 262 |
+
"case406",
|
| 263 |
+
"case039",
|
| 264 |
+
"case390",
|
| 265 |
+
"case162",
|
| 266 |
+
"case154",
|
| 267 |
+
"case107",
|
| 268 |
+
"case179",
|
| 269 |
+
"case140",
|
| 270 |
+
"case384",
|
| 271 |
+
"case472",
|
| 272 |
+
"case204",
|
| 273 |
+
"case097",
|
| 274 |
+
"case057",
|
| 275 |
+
"case279",
|
| 276 |
+
"case043",
|
| 277 |
+
"case436",
|
| 278 |
+
"case477",
|
| 279 |
+
"case177",
|
| 280 |
+
"case113",
|
| 281 |
+
"case016",
|
| 282 |
+
"case229",
|
| 283 |
+
"case286",
|
| 284 |
+
"case444",
|
| 285 |
+
"case246",
|
| 286 |
+
"case253",
|
| 287 |
+
"case160",
|
| 288 |
+
"case415",
|
| 289 |
+
"case230",
|
| 290 |
+
"case158",
|
| 291 |
+
"case206",
|
| 292 |
+
"case386",
|
| 293 |
+
"case392",
|
| 294 |
+
"case141",
|
| 295 |
+
"case019",
|
| 296 |
+
"case333",
|
| 297 |
+
"case080",
|
| 298 |
+
"case380",
|
| 299 |
+
"case056",
|
| 300 |
+
"case294",
|
| 301 |
+
"case275",
|
| 302 |
+
"case265",
|
| 303 |
+
"case370",
|
| 304 |
+
"case023",
|
| 305 |
+
"case219",
|
| 306 |
+
"case481",
|
| 307 |
+
"case031",
|
| 308 |
+
"case452",
|
| 309 |
+
"case451",
|
| 310 |
+
"case065",
|
| 311 |
+
"case150",
|
| 312 |
+
"case291",
|
| 313 |
+
"case332",
|
| 314 |
+
"case431",
|
| 315 |
+
"case470",
|
| 316 |
+
"case070",
|
| 317 |
+
"case371",
|
| 318 |
+
"case327",
|
| 319 |
+
"case490",
|
| 320 |
+
"case339",
|
| 321 |
+
"case035",
|
| 322 |
+
"case367",
|
| 323 |
+
"case375",
|
| 324 |
+
"case338",
|
| 325 |
+
"case383",
|
| 326 |
+
"case468",
|
| 327 |
+
"case128",
|
| 328 |
+
"case410",
|
| 329 |
+
"case293",
|
| 330 |
+
"case329",
|
| 331 |
+
"case389",
|
| 332 |
+
"case203",
|
| 333 |
+
"case091",
|
| 334 |
+
"case170",
|
| 335 |
+
"case191",
|
| 336 |
+
"case453",
|
| 337 |
+
"case346",
|
| 338 |
+
"case125",
|
| 339 |
+
"case434",
|
| 340 |
+
"case500",
|
| 341 |
+
"case236",
|
| 342 |
+
"case034",
|
| 343 |
+
"case208",
|
| 344 |
+
"case466",
|
| 345 |
+
"case136",
|
| 346 |
+
"case050",
|
| 347 |
+
"case312",
|
| 348 |
+
"case095",
|
| 349 |
+
"case363",
|
| 350 |
+
"case337",
|
| 351 |
+
"case351",
|
| 352 |
+
"case464",
|
| 353 |
+
"case483",
|
| 354 |
+
"case267",
|
| 355 |
+
"case471",
|
| 356 |
+
"case276",
|
| 357 |
+
"case387",
|
| 358 |
+
"case148",
|
| 359 |
+
"case368",
|
| 360 |
+
"case445",
|
| 361 |
+
"case105",
|
| 362 |
+
"case427",
|
| 363 |
+
"case172",
|
| 364 |
+
"case407",
|
| 365 |
+
"case254",
|
| 366 |
+
"case391",
|
| 367 |
+
"case404",
|
| 368 |
+
"case416",
|
| 369 |
+
"case422",
|
| 370 |
+
"case358",
|
| 371 |
+
"case446",
|
| 372 |
+
"case187",
|
| 373 |
+
"case104",
|
| 374 |
+
"case282",
|
| 375 |
+
"case216",
|
| 376 |
+
"case313",
|
| 377 |
+
"case167",
|
| 378 |
+
"case252",
|
| 379 |
+
"case321",
|
| 380 |
+
"case008",
|
| 381 |
+
"case394",
|
| 382 |
+
"case319",
|
| 383 |
+
"case247",
|
| 384 |
+
"case063",
|
| 385 |
+
"case263",
|
| 386 |
+
"case348",
|
| 387 |
+
"case497",
|
| 388 |
+
"case492",
|
| 389 |
+
"case393",
|
| 390 |
+
"case498",
|
| 391 |
+
"case442",
|
| 392 |
+
"case199",
|
| 393 |
+
"case041",
|
| 394 |
+
"case228",
|
| 395 |
+
"case365",
|
| 396 |
+
"case032",
|
| 397 |
+
"case026",
|
| 398 |
+
"case007",
|
| 399 |
+
"case166",
|
| 400 |
+
"case198",
|
| 401 |
+
"case081",
|
| 402 |
+
"case176"
|
| 403 |
+
],
|
| 404 |
+
"val": [
|
| 405 |
+
"case277",
|
| 406 |
+
"case180",
|
| 407 |
+
"case118",
|
| 408 |
+
"case077",
|
| 409 |
+
"case005",
|
| 410 |
+
"case155",
|
| 411 |
+
"case085",
|
| 412 |
+
"case022",
|
| 413 |
+
"case067",
|
| 414 |
+
"case266",
|
| 415 |
+
"case223",
|
| 416 |
+
"case302",
|
| 417 |
+
"case132",
|
| 418 |
+
"case475",
|
| 419 |
+
"case343",
|
| 420 |
+
"case285",
|
| 421 |
+
"case388",
|
| 422 |
+
"case411",
|
| 423 |
+
"case433",
|
| 424 |
+
"case111",
|
| 425 |
+
"case256",
|
| 426 |
+
"case062",
|
| 427 |
+
"case119",
|
| 428 |
+
"case021",
|
| 429 |
+
"case414",
|
| 430 |
+
"case169",
|
| 431 |
+
"case496",
|
| 432 |
+
"case364",
|
| 433 |
+
"case306",
|
| 434 |
+
"case269",
|
| 435 |
+
"case120",
|
| 436 |
+
"case193",
|
| 437 |
+
"case473",
|
| 438 |
+
"case094",
|
| 439 |
+
"case296",
|
| 440 |
+
"case349",
|
| 441 |
+
"case055",
|
| 442 |
+
"case449",
|
| 443 |
+
"case335",
|
| 444 |
+
"case051",
|
| 445 |
+
"case147",
|
| 446 |
+
"case092",
|
| 447 |
+
"case298",
|
| 448 |
+
"case395",
|
| 449 |
+
"case084",
|
| 450 |
+
"case340",
|
| 451 |
+
"case004",
|
| 452 |
+
"case002",
|
| 453 |
+
"case213",
|
| 454 |
+
"case382"
|
| 455 |
+
],
|
| 456 |
+
"test": [
|
| 457 |
+
"case354",
|
| 458 |
+
"case262",
|
| 459 |
+
"case014",
|
| 460 |
+
"case174",
|
| 461 |
+
"case235",
|
| 462 |
+
"case013",
|
| 463 |
+
"case165",
|
| 464 |
+
"case175",
|
| 465 |
+
"case429",
|
| 466 |
+
"case098",
|
| 467 |
+
"case040",
|
| 468 |
+
"case369",
|
| 469 |
+
"case106",
|
| 470 |
+
"case076",
|
| 471 |
+
"case086",
|
| 472 |
+
"case259",
|
| 473 |
+
"case300",
|
| 474 |
+
"case212",
|
| 475 |
+
"case377",
|
| 476 |
+
"case272",
|
| 477 |
+
"case047",
|
| 478 |
+
"case499",
|
| 479 |
+
"case378",
|
| 480 |
+
"case182",
|
| 481 |
+
"case096",
|
| 482 |
+
"case284",
|
| 483 |
+
"case314",
|
| 484 |
+
"case090",
|
| 485 |
+
"case322",
|
| 486 |
+
"case288",
|
| 487 |
+
"case134",
|
| 488 |
+
"case222",
|
| 489 |
+
"case448",
|
| 490 |
+
"case064",
|
| 491 |
+
"case192",
|
| 492 |
+
"case083",
|
| 493 |
+
"case224",
|
| 494 |
+
"case290",
|
| 495 |
+
"case139",
|
| 496 |
+
"case100",
|
| 497 |
+
"case478",
|
| 498 |
+
"case189",
|
| 499 |
+
"case438",
|
| 500 |
+
"case153",
|
| 501 |
+
"case412",
|
| 502 |
+
"case423",
|
| 503 |
+
"case420",
|
| 504 |
+
"case006",
|
| 505 |
+
"case376",
|
| 506 |
+
"case214"
|
| 507 |
+
]
|
| 508 |
+
}
|
metadata/trunkfloor_conditions.csv
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
metadata/trunkfloor_geometry.json
ADDED
|
@@ -0,0 +1,111 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"geometry": "trunkfloor",
|
| 3 |
+
"data_revision": "review_release_v1",
|
| 4 |
+
"cases": 500,
|
| 5 |
+
"states_per_case": 17,
|
| 6 |
+
"displacement_shape_per_case": [
|
| 7 |
+
14440,
|
| 8 |
+
17,
|
| 9 |
+
3
|
| 10 |
+
],
|
| 11 |
+
"effective_stress_shape_per_case": [
|
| 12 |
+
14589,
|
| 13 |
+
17
|
| 14 |
+
],
|
| 15 |
+
"effective_stress_definition": {
|
| 16 |
+
"quantity": "von_mises_effective_stress",
|
| 17 |
+
"entity": "shell_element",
|
| 18 |
+
"through_thickness_reduction": "max_integration_point",
|
| 19 |
+
"ls_prepost_component": "etime 9",
|
| 20 |
+
"ls_prepost_label": "Effective Stress (v-m), ip#max",
|
| 21 |
+
"integration_point_index_retained": false,
|
| 22 |
+
"units": "MPa"
|
| 23 |
+
},
|
| 24 |
+
"mesh": {
|
| 25 |
+
"file": "meshes/trunkfloor_mesh.npz",
|
| 26 |
+
"nodes": 14440,
|
| 27 |
+
"directed_graph_edges": 58074,
|
| 28 |
+
"shell_elements": 14589,
|
| 29 |
+
"shell_triangles": 817,
|
| 30 |
+
"shell_quads": 13772,
|
| 31 |
+
"boundary_nodes": 535
|
| 32 |
+
},
|
| 33 |
+
"time_value_range": [
|
| 34 |
+
0.0,
|
| 35 |
+
0.030000614002346992
|
| 36 |
+
],
|
| 37 |
+
"condition_ranges": {
|
| 38 |
+
"impact_x": [
|
| 39 |
+
-4327.884765625,
|
| 40 |
+
-3648.72900390625
|
| 41 |
+
],
|
| 42 |
+
"impact_y": [
|
| 43 |
+
-406.519287109375,
|
| 44 |
+
430.65777587890625
|
| 45 |
+
],
|
| 46 |
+
"impact_z": [
|
| 47 |
+
486.412841796875,
|
| 48 |
+
649.58642578125
|
| 49 |
+
],
|
| 50 |
+
"velocity_x": [
|
| 51 |
+
-1266.122802734375,
|
| 52 |
+
1200.008056640625
|
| 53 |
+
],
|
| 54 |
+
"velocity_y": [
|
| 55 |
+
-1262.4493408203125,
|
| 56 |
+
1177.8699951171875
|
| 57 |
+
],
|
| 58 |
+
"velocity_z": [
|
| 59 |
+
1711.5562744140625,
|
| 60 |
+
5177.33935546875
|
| 61 |
+
],
|
| 62 |
+
"impact_speed": [
|
| 63 |
+
1738.4505615234375,
|
| 64 |
+
5195.92578125
|
| 65 |
+
],
|
| 66 |
+
"mass_ratio": [
|
| 67 |
+
0.7506378889083862,
|
| 68 |
+
1.2490675449371338
|
| 69 |
+
],
|
| 70 |
+
"impactor_mass": [
|
| 71 |
+
0.007506378460675478,
|
| 72 |
+
0.012490675784647465
|
| 73 |
+
],
|
| 74 |
+
"impactor_density": [
|
| 75 |
+
3.907069913111627e-05,
|
| 76 |
+
6.501397001557052e-05
|
| 77 |
+
],
|
| 78 |
+
"theta_deg": [
|
| 79 |
+
0.0015588899841532111,
|
| 80 |
+
14.979633331298828
|
| 81 |
+
],
|
| 82 |
+
"phi_deg": [
|
| 83 |
+
0.16448494791984558,
|
| 84 |
+
359.7947998046875
|
| 85 |
+
],
|
| 86 |
+
"material_young_mpa": [
|
| 87 |
+
70000.0,
|
| 88 |
+
210000.0
|
| 89 |
+
],
|
| 90 |
+
"material_poisson": [
|
| 91 |
+
0.30000001192092896,
|
| 92 |
+
0.3400000035762787
|
| 93 |
+
],
|
| 94 |
+
"material_index": [
|
| 95 |
+
0,
|
| 96 |
+
2
|
| 97 |
+
]
|
| 98 |
+
},
|
| 99 |
+
"material_counts": {
|
| 100 |
+
"aluminum_rigid": 166,
|
| 101 |
+
"steel_rigid": 167,
|
| 102 |
+
"titanium_rigid": 167
|
| 103 |
+
},
|
| 104 |
+
"units": {
|
| 105 |
+
"status": "NOT_SPECIFIED_IN_RELEASE",
|
| 106 |
+
"effective_stress": "MPa",
|
| 107 |
+
"material_young_field_name": "material_young_mpa",
|
| 108 |
+
"angles": "degrees"
|
| 109 |
+
},
|
| 110 |
+
"case_file_policy": "original compact 17-state .pt bytes preserved"
|
| 111 |
+
}
|
metadata/trunkfloor_peak_normalization.json
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"geometry": "trunkfloor",
|
| 3 |
+
"split": "train",
|
| 4 |
+
"train_cases": 400,
|
| 5 |
+
"target_scale_definition": "training-split RMS of peak-state x/y/z displacement and same-state max-IP von Mises effective stress",
|
| 6 |
+
"target_feature_names": [
|
| 7 |
+
"disp_x",
|
| 8 |
+
"disp_y",
|
| 9 |
+
"disp_z",
|
| 10 |
+
"effective_stress"
|
| 11 |
+
],
|
| 12 |
+
"target_scale": [
|
| 13 |
+
0.38916057493977263,
|
| 14 |
+
0.5722944758869976,
|
| 15 |
+
2.9555388177868207,
|
| 16 |
+
125.25171014391293
|
| 17 |
+
],
|
| 18 |
+
"condition_feature_names": [
|
| 19 |
+
"velocity_x",
|
| 20 |
+
"velocity_y",
|
| 21 |
+
"velocity_z",
|
| 22 |
+
"mass_ratio",
|
| 23 |
+
"material_young_mpa",
|
| 24 |
+
"material_poisson"
|
| 25 |
+
],
|
| 26 |
+
"condition_mean": [
|
| 27 |
+
16.704457361306996,
|
| 28 |
+
-16.622224624343218,
|
| 29 |
+
3432.0224798583986,
|
| 30 |
+
1.0026446332037449,
|
| 31 |
+
131650.0,
|
| 32 |
+
0.322825009599328
|
| 33 |
+
],
|
| 34 |
+
"condition_std_sample": [
|
| 35 |
+
390.0118052305684,
|
| 36 |
+
387.24305428075985,
|
| 37 |
+
994.8323301706797,
|
| 38 |
+
0.14387643358676566,
|
| 39 |
+
59490.5481003765,
|
| 40 |
+
0.01716116404336039
|
| 41 |
+
]
|
| 42 |
+
}
|
release_inventory.json
ADDED
|
@@ -0,0 +1,69 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"dataset": "Automotive Impact Dataset",
|
| 3 |
+
"version": "1.0.0",
|
| 4 |
+
"case_files": 1500,
|
| 5 |
+
"archive_files": 15,
|
| 6 |
+
"archive_bytes": 5032143218,
|
| 7 |
+
"archives": [
|
| 8 |
+
{
|
| 9 |
+
"path": "data/floorfrontR/cases_001_100.zip",
|
| 10 |
+
"bytes": 356790322
|
| 11 |
+
},
|
| 12 |
+
{
|
| 13 |
+
"path": "data/floorfrontR/cases_101_200.zip",
|
| 14 |
+
"bytes": 356790322
|
| 15 |
+
},
|
| 16 |
+
{
|
| 17 |
+
"path": "data/floorfrontR/cases_201_300.zip",
|
| 18 |
+
"bytes": 356790322
|
| 19 |
+
},
|
| 20 |
+
{
|
| 21 |
+
"path": "data/floorfrontR/cases_301_400.zip",
|
| 22 |
+
"bytes": 356790322
|
| 23 |
+
},
|
| 24 |
+
{
|
| 25 |
+
"path": "data/floorfrontR/cases_401_500.zip",
|
| 26 |
+
"bytes": 356790322
|
| 27 |
+
},
|
| 28 |
+
{
|
| 29 |
+
"path": "data/floorfrontdriver/cases_001_100.zip",
|
| 30 |
+
"bytes": 219951922
|
| 31 |
+
},
|
| 32 |
+
{
|
| 33 |
+
"path": "data/floorfrontdriver/cases_101_200.zip",
|
| 34 |
+
"bytes": 219951922
|
| 35 |
+
},
|
| 36 |
+
{
|
| 37 |
+
"path": "data/floorfrontdriver/cases_201_300.zip",
|
| 38 |
+
"bytes": 219951922
|
| 39 |
+
},
|
| 40 |
+
{
|
| 41 |
+
"path": "data/floorfrontdriver/cases_301_400.zip",
|
| 42 |
+
"bytes": 219951922
|
| 43 |
+
},
|
| 44 |
+
{
|
| 45 |
+
"path": "data/floorfrontdriver/cases_401_500.zip",
|
| 46 |
+
"bytes": 219951922
|
| 47 |
+
},
|
| 48 |
+
{
|
| 49 |
+
"path": "data/trunkfloor/cases_001_100.zip",
|
| 50 |
+
"bytes": 429487922
|
| 51 |
+
},
|
| 52 |
+
{
|
| 53 |
+
"path": "data/trunkfloor/cases_101_200.zip",
|
| 54 |
+
"bytes": 429487922
|
| 55 |
+
},
|
| 56 |
+
{
|
| 57 |
+
"path": "data/trunkfloor/cases_201_300.zip",
|
| 58 |
+
"bytes": 429487922
|
| 59 |
+
},
|
| 60 |
+
{
|
| 61 |
+
"path": "data/trunkfloor/cases_301_400.zip",
|
| 62 |
+
"bytes": 430480310
|
| 63 |
+
},
|
| 64 |
+
{
|
| 65 |
+
"path": "data/trunkfloor/cases_401_500.zip",
|
| 66 |
+
"bytes": 429487922
|
| 67 |
+
}
|
| 68 |
+
]
|
| 69 |
+
}
|
requirements.txt
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
numpy>=1.24
|
| 2 |
+
torch>=2.6
|
| 3 |
+
matplotlib>=3.7
|
| 4 |
+
|
schema.json
ADDED
|
@@ -0,0 +1,70 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"schema_version": "1.0.0",
|
| 3 |
+
"case_format": "PyTorch serialized plain dictionary",
|
| 4 |
+
"recommended_load": "torch.load(file, map_location='cpu', weights_only=True)",
|
| 5 |
+
"state_count": 17,
|
| 6 |
+
"case_fields": {
|
| 7 |
+
"case": {"type": "string", "description": "caseNNN identifier"},
|
| 8 |
+
"panel_pid": {"dtype": "int64", "shape": []},
|
| 9 |
+
"nid": {"dtype": "int64", "shape": ["N"]},
|
| 10 |
+
"boundary_mask": {"dtype": "bool", "shape": ["N"]},
|
| 11 |
+
"valid_node_mask": {"dtype": "bool", "shape": ["N"]},
|
| 12 |
+
"raw_valid_node_mask": {"dtype": "bool", "shape": ["N"]},
|
| 13 |
+
"filled_node_mask": {"dtype": "bool", "shape": ["N"]},
|
| 14 |
+
"filled_node_count": {"dtype": "int64", "shape": []},
|
| 15 |
+
"time": {"dtype": "float32", "shape": [17]},
|
| 16 |
+
"time_indices": {"dtype": "int64", "shape": [17]},
|
| 17 |
+
"disp": {"dtype": "float32", "shape": ["N", 17, 3]},
|
| 18 |
+
"element_time": {"dtype": "float32", "shape": [17]},
|
| 19 |
+
"element_time_indices": {"dtype": "int64", "shape": [17]},
|
| 20 |
+
"element_id": {"dtype": "int64", "shape": ["Ne"]},
|
| 21 |
+
"repaired_element_ids": {"dtype": "int64", "shape": "variable"},
|
| 22 |
+
"effective_stress": {
|
| 23 |
+
"dtype": "float32",
|
| 24 |
+
"shape": ["Ne", 17],
|
| 25 |
+
"quantity": "von_mises_effective_stress",
|
| 26 |
+
"entity": "shell_element",
|
| 27 |
+
"through_thickness_reduction": "max_integration_point",
|
| 28 |
+
"ls_prepost_component": "etime 9",
|
| 29 |
+
"ls_prepost_label": "Effective Stress (v-m), ip#max",
|
| 30 |
+
"integration_point_index_retained": false,
|
| 31 |
+
"units": "MPa"
|
| 32 |
+
},
|
| 33 |
+
"velocity_vz": {"dtype": "float32", "shape": []},
|
| 34 |
+
"velocity_xyz": {"dtype": "float32", "shape": [3]},
|
| 35 |
+
"impact_speed": {"dtype": "float32", "shape": []},
|
| 36 |
+
"impact_xyz": {"dtype": "float32", "shape": [3]},
|
| 37 |
+
"impact_node_distance": {"dtype": "float32", "shape": ["N"]},
|
| 38 |
+
"ball_center_xyz": {"dtype": "float32", "shape": [3]},
|
| 39 |
+
"impact_element_id": {"dtype": "int64", "shape": []},
|
| 40 |
+
"mass_ratio": {"dtype": "float32", "shape": []},
|
| 41 |
+
"impactor_mass": {"dtype": "float32", "shape": []},
|
| 42 |
+
"impactor_density": {"dtype": "float32", "shape": []},
|
| 43 |
+
"theta_deg": {"dtype": "float32", "shape": []},
|
| 44 |
+
"phi_deg": {"dtype": "float32", "shape": []},
|
| 45 |
+
"material_young_mpa": {"dtype": "float32", "shape": []},
|
| 46 |
+
"material_poisson": {"dtype": "float32", "shape": []},
|
| 47 |
+
"material_index": {"dtype": "int64", "shape": []},
|
| 48 |
+
"material_one_hot": {"dtype": "float32", "shape": [3]},
|
| 49 |
+
"material_name": {"type": "string"},
|
| 50 |
+
"condition_names": {"type": "list[string]", "length": 7},
|
| 51 |
+
"condition_vector": {"dtype": "float32", "shape": [7]}
|
| 52 |
+
},
|
| 53 |
+
"mesh_fields": {
|
| 54 |
+
"node_pos": {"dtype": "float32", "shape": ["N", 3]},
|
| 55 |
+
"edge_index": {"dtype": "int64", "shape": [2, "E"]},
|
| 56 |
+
"element_node_index": {"dtype": "int64", "shape": ["Ne", 4], "padding": "The third node index is repeated in column four for triangular shells"},
|
| 57 |
+
"element_node_count": {"dtype": "int64", "shape": ["Ne"], "values": [3, 4]},
|
| 58 |
+
"boundary_mask": {"dtype": "bool", "shape": ["N"]}
|
| 59 |
+
},
|
| 60 |
+
"geometry_shapes": {
|
| 61 |
+
"floorfrontdriver": {"N": 7408, "E": 29572, "Ne": 7374},
|
| 62 |
+
"floorfrontR": {"N": 12011, "E": 48138, "Ne": 12055},
|
| 63 |
+
"trunkfloor": {"N": 14440, "E": 58074, "Ne": 14589}
|
| 64 |
+
},
|
| 65 |
+
"units": {
|
| 66 |
+
"status": "NOT_SPECIFIED_IN_RELEASE",
|
| 67 |
+
"effective_stress": "MPa",
|
| 68 |
+
"warning": "Do not infer units from numeric magnitudes; only explicitly named units are defined."
|
| 69 |
+
}
|
| 70 |
+
}
|
scripts/build_peak_targets.py
ADDED
|
@@ -0,0 +1,116 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/env python3
|
| 2 |
+
"""Derive displacement-peak snapshots from the released 17-state trajectories."""
|
| 3 |
+
|
| 4 |
+
from __future__ import annotations
|
| 5 |
+
|
| 6 |
+
import argparse
|
| 7 |
+
import csv
|
| 8 |
+
import json
|
| 9 |
+
import shutil
|
| 10 |
+
from pathlib import Path
|
| 11 |
+
|
| 12 |
+
import torch
|
| 13 |
+
|
| 14 |
+
from load_case import canonical_case_id, canonical_geometry, load_case, load_split
|
| 15 |
+
|
| 16 |
+
|
| 17 |
+
def select_peak(data: dict) -> tuple[int, int, torch.Tensor, torch.Tensor]:
|
| 18 |
+
displacement = data["disp"].to(torch.float32)
|
| 19 |
+
stress = data["effective_stress"].to(torch.float32)
|
| 20 |
+
valid = data["valid_node_mask"].to(torch.bool)
|
| 21 |
+
if displacement.ndim != 3 or displacement.shape[1:] != (17, 3):
|
| 22 |
+
raise ValueError(f"invalid displacement shape: {tuple(displacement.shape)}")
|
| 23 |
+
if stress.ndim != 2 or stress.shape[1] != 17:
|
| 24 |
+
raise ValueError(f"invalid effective-stress shape: {tuple(stress.shape)}")
|
| 25 |
+
magnitude = torch.linalg.vector_norm(displacement, dim=-1)
|
| 26 |
+
magnitude = magnitude.masked_fill(~valid[:, None], float("-inf"))
|
| 27 |
+
flat_index = int(torch.argmax(magnitude).item())
|
| 28 |
+
time_index = flat_index % displacement.shape[1]
|
| 29 |
+
node_index = flat_index // displacement.shape[1]
|
| 30 |
+
return (
|
| 31 |
+
time_index,
|
| 32 |
+
node_index,
|
| 33 |
+
displacement[:, time_index, :].contiguous(),
|
| 34 |
+
stress[:, time_index].contiguous(),
|
| 35 |
+
)
|
| 36 |
+
|
| 37 |
+
|
| 38 |
+
def main() -> None:
|
| 39 |
+
parser = argparse.ArgumentParser(description=__doc__)
|
| 40 |
+
parser.add_argument("--dataset-root", type=Path, default=Path("."))
|
| 41 |
+
parser.add_argument("--geometry", required=True)
|
| 42 |
+
parser.add_argument("--output-root", type=Path, required=True)
|
| 43 |
+
parser.add_argument(
|
| 44 |
+
"--cases",
|
| 45 |
+
nargs="*",
|
| 46 |
+
help="Optional case identifiers; default is all 500 cases.",
|
| 47 |
+
)
|
| 48 |
+
args = parser.parse_args()
|
| 49 |
+
|
| 50 |
+
geometry = canonical_geometry(args.geometry)
|
| 51 |
+
case_ids = (
|
| 52 |
+
[canonical_case_id(case) for case in args.cases]
|
| 53 |
+
if args.cases
|
| 54 |
+
else [f"case{index:03d}" for index in range(1, 501)]
|
| 55 |
+
)
|
| 56 |
+
output_cases = args.output_root / "cases"
|
| 57 |
+
output_cases.mkdir(parents=True, exist_ok=True)
|
| 58 |
+
|
| 59 |
+
rows = []
|
| 60 |
+
for offset, case_id in enumerate(case_ids, start=1):
|
| 61 |
+
data = load_case(args.dataset_root, geometry, case_id)
|
| 62 |
+
time_index, node_index, displacement, stress = select_peak(data)
|
| 63 |
+
peak = {
|
| 64 |
+
"case": case_id,
|
| 65 |
+
"selected_time_index": torch.tensor(time_index, dtype=torch.int64),
|
| 66 |
+
"selected_time": data["time"][time_index].to(torch.float32),
|
| 67 |
+
"disp_peak_value": torch.linalg.vector_norm(
|
| 68 |
+
displacement[node_index]
|
| 69 |
+
).to(torch.float32),
|
| 70 |
+
"disp_peak_node_index": torch.tensor(node_index, dtype=torch.int64),
|
| 71 |
+
"disp": displacement,
|
| 72 |
+
"element_results": {"effective_stress": stress},
|
| 73 |
+
}
|
| 74 |
+
for key in (
|
| 75 |
+
"impact_xyz",
|
| 76 |
+
"velocity_xyz",
|
| 77 |
+
"mass_ratio",
|
| 78 |
+
"material_young_mpa",
|
| 79 |
+
"material_poisson",
|
| 80 |
+
"boundary_mask",
|
| 81 |
+
"valid_node_mask",
|
| 82 |
+
):
|
| 83 |
+
peak[key] = data[key]
|
| 84 |
+
torch.save(peak, output_cases / f"{case_id}.pt")
|
| 85 |
+
rows.append(
|
| 86 |
+
{
|
| 87 |
+
"case": case_id,
|
| 88 |
+
"selected_time_index": time_index,
|
| 89 |
+
"selected_time": float(data["time"][time_index]),
|
| 90 |
+
"disp_peak_node_index": node_index,
|
| 91 |
+
"disp_peak_value": float(peak["disp_peak_value"]),
|
| 92 |
+
}
|
| 93 |
+
)
|
| 94 |
+
if offset % 50 == 0 or offset == len(case_ids):
|
| 95 |
+
print(f"[{geometry}] derived {offset}/{len(case_ids)}")
|
| 96 |
+
|
| 97 |
+
with (args.output_root / "disp_peak_summary.csv").open(
|
| 98 |
+
"w", encoding="utf-8", newline=""
|
| 99 |
+
) as handle:
|
| 100 |
+
writer = csv.DictWriter(handle, fieldnames=list(rows[0]))
|
| 101 |
+
writer.writeheader()
|
| 102 |
+
writer.writerows(rows)
|
| 103 |
+
|
| 104 |
+
split = load_split(args.dataset_root)
|
| 105 |
+
(args.output_root / "split_400_50_50_seed12345.json").write_text(
|
| 106 |
+
json.dumps(split, indent=2) + "\n", encoding="utf-8"
|
| 107 |
+
)
|
| 108 |
+
source_mesh = (
|
| 109 |
+
args.dataset_root / "meshes" / f"{geometry}_mesh.npz"
|
| 110 |
+
)
|
| 111 |
+
shutil.copy2(source_mesh, args.output_root / "mesh.npz")
|
| 112 |
+
|
| 113 |
+
|
| 114 |
+
if __name__ == "__main__":
|
| 115 |
+
main()
|
| 116 |
+
|
scripts/compute_train_normalization.py
ADDED
|
@@ -0,0 +1,81 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/env python3
|
| 2 |
+
"""Compute paper-protocol peak-field normalization from training cases only."""
|
| 3 |
+
|
| 4 |
+
from __future__ import annotations
|
| 5 |
+
|
| 6 |
+
import argparse
|
| 7 |
+
import json
|
| 8 |
+
from pathlib import Path
|
| 9 |
+
|
| 10 |
+
import torch
|
| 11 |
+
|
| 12 |
+
from build_peak_targets import select_peak
|
| 13 |
+
from load_case import canonical_geometry, load_case, load_split
|
| 14 |
+
|
| 15 |
+
|
| 16 |
+
def main() -> None:
|
| 17 |
+
parser = argparse.ArgumentParser(description=__doc__)
|
| 18 |
+
parser.add_argument("--dataset-root", type=Path, default=Path("."))
|
| 19 |
+
parser.add_argument("--geometry", required=True)
|
| 20 |
+
parser.add_argument("--output", type=Path, required=True)
|
| 21 |
+
args = parser.parse_args()
|
| 22 |
+
|
| 23 |
+
geometry = canonical_geometry(args.geometry)
|
| 24 |
+
train_cases = load_split(args.dataset_root)["train"]
|
| 25 |
+
target_sum_sq = torch.zeros(4, dtype=torch.float64)
|
| 26 |
+
target_count = torch.zeros(4, dtype=torch.int64)
|
| 27 |
+
condition_rows = []
|
| 28 |
+
|
| 29 |
+
for offset, case_id in enumerate(train_cases, start=1):
|
| 30 |
+
data = load_case(args.dataset_root, geometry, case_id)
|
| 31 |
+
_, _, displacement, stress = select_peak(data)
|
| 32 |
+
for component in range(3):
|
| 33 |
+
values = displacement[:, component].to(torch.float64)
|
| 34 |
+
target_sum_sq[component] += torch.sum(values.square())
|
| 35 |
+
target_count[component] += values.numel()
|
| 36 |
+
stress64 = stress.to(torch.float64)
|
| 37 |
+
target_sum_sq[3] += torch.sum(stress64.square())
|
| 38 |
+
target_count[3] += stress64.numel()
|
| 39 |
+
condition_rows.append(
|
| 40 |
+
torch.cat(
|
| 41 |
+
(
|
| 42 |
+
data["velocity_xyz"].to(torch.float64).reshape(3),
|
| 43 |
+
data["mass_ratio"].to(torch.float64).reshape(1),
|
| 44 |
+
data["material_young_mpa"].to(torch.float64).reshape(1),
|
| 45 |
+
data["material_poisson"].to(torch.float64).reshape(1),
|
| 46 |
+
)
|
| 47 |
+
)
|
| 48 |
+
)
|
| 49 |
+
if offset % 50 == 0:
|
| 50 |
+
print(f"[{geometry}] normalization {offset}/{len(train_cases)}")
|
| 51 |
+
|
| 52 |
+
scale = torch.sqrt(target_sum_sq / target_count)
|
| 53 |
+
conditions = torch.stack(condition_rows)
|
| 54 |
+
payload = {
|
| 55 |
+
"geometry": geometry,
|
| 56 |
+
"split": "train",
|
| 57 |
+
"train_cases": len(train_cases),
|
| 58 |
+
"target_scale_definition": (
|
| 59 |
+
"training-split RMS of peak-state x/y/z displacement and "
|
| 60 |
+
"same-state max-IP von Mises effective stress"
|
| 61 |
+
),
|
| 62 |
+
"target_feature_names": ["disp_x", "disp_y", "disp_z", "effective_stress"],
|
| 63 |
+
"target_scale": scale.tolist(),
|
| 64 |
+
"condition_feature_names": [
|
| 65 |
+
"velocity_x",
|
| 66 |
+
"velocity_y",
|
| 67 |
+
"velocity_z",
|
| 68 |
+
"mass_ratio",
|
| 69 |
+
"material_young_mpa",
|
| 70 |
+
"material_poisson",
|
| 71 |
+
],
|
| 72 |
+
"condition_mean": conditions.mean(dim=0).tolist(),
|
| 73 |
+
"condition_std_sample": conditions.std(dim=0, unbiased=True).tolist(),
|
| 74 |
+
}
|
| 75 |
+
args.output.parent.mkdir(parents=True, exist_ok=True)
|
| 76 |
+
args.output.write_text(json.dumps(payload, indent=2) + "\n", encoding="utf-8")
|
| 77 |
+
print(json.dumps(payload, indent=2))
|
| 78 |
+
|
| 79 |
+
|
| 80 |
+
if __name__ == "__main__":
|
| 81 |
+
main()
|
scripts/load_case.py
ADDED
|
@@ -0,0 +1,134 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/env python3
|
| 2 |
+
"""Load automotive-impact cases from extracted files or ZIP shards."""
|
| 3 |
+
|
| 4 |
+
from __future__ import annotations
|
| 5 |
+
|
| 6 |
+
import argparse
|
| 7 |
+
import io
|
| 8 |
+
import json
|
| 9 |
+
import zipfile
|
| 10 |
+
from pathlib import Path
|
| 11 |
+
|
| 12 |
+
import numpy as np
|
| 13 |
+
import torch
|
| 14 |
+
|
| 15 |
+
|
| 16 |
+
GEOMETRY_ALIASES = {
|
| 17 |
+
"floorfrontdriver": "floorfrontdriver",
|
| 18 |
+
"driver": "floorfrontdriver",
|
| 19 |
+
"floorfrontr": "floorfrontR",
|
| 20 |
+
"floorfrontR": "floorfrontR",
|
| 21 |
+
"trunk": "trunkfloor",
|
| 22 |
+
"trunkfloor": "trunkfloor",
|
| 23 |
+
}
|
| 24 |
+
|
| 25 |
+
|
| 26 |
+
def canonical_geometry(name: str) -> str:
|
| 27 |
+
if name in GEOMETRY_ALIASES:
|
| 28 |
+
return GEOMETRY_ALIASES[name]
|
| 29 |
+
lowered = name.lower()
|
| 30 |
+
if lowered in GEOMETRY_ALIASES:
|
| 31 |
+
return GEOMETRY_ALIASES[lowered]
|
| 32 |
+
choices = ", ".join(sorted(set(GEOMETRY_ALIASES.values())))
|
| 33 |
+
raise ValueError(f"unknown geometry {name!r}; choose one of {choices}")
|
| 34 |
+
|
| 35 |
+
|
| 36 |
+
def canonical_case_id(value: str | int) -> str:
|
| 37 |
+
if isinstance(value, int):
|
| 38 |
+
number = value
|
| 39 |
+
else:
|
| 40 |
+
text = str(value).strip()
|
| 41 |
+
if text.lower().endswith(".pt"):
|
| 42 |
+
text = text[:-3]
|
| 43 |
+
if text.lower().startswith("case"):
|
| 44 |
+
text = text[4:]
|
| 45 |
+
number = int(text)
|
| 46 |
+
if not 1 <= number <= 500:
|
| 47 |
+
raise ValueError(f"case number must be in [1,500], got {number}")
|
| 48 |
+
return f"case{number:03d}"
|
| 49 |
+
|
| 50 |
+
|
| 51 |
+
def shard_name(case_id: str) -> str:
|
| 52 |
+
number = int(case_id[4:])
|
| 53 |
+
start = ((number - 1) // 100) * 100 + 1
|
| 54 |
+
end = start + 99
|
| 55 |
+
return f"cases_{start:03d}_{end:03d}.zip"
|
| 56 |
+
|
| 57 |
+
|
| 58 |
+
def load_case_bytes(dataset_root: Path | str, geometry: str, case_id: str | int) -> bytes:
|
| 59 |
+
root = Path(dataset_root)
|
| 60 |
+
geometry = canonical_geometry(geometry)
|
| 61 |
+
case_id = canonical_case_id(case_id)
|
| 62 |
+
|
| 63 |
+
candidates = (
|
| 64 |
+
root / "data" / geometry / "cases" / f"{case_id}.pt",
|
| 65 |
+
root / "data" / geometry / f"{case_id}.pt",
|
| 66 |
+
)
|
| 67 |
+
for candidate in candidates:
|
| 68 |
+
if candidate.is_file():
|
| 69 |
+
return candidate.read_bytes()
|
| 70 |
+
|
| 71 |
+
archive = root / "data" / geometry / shard_name(case_id)
|
| 72 |
+
if not archive.is_file():
|
| 73 |
+
raise FileNotFoundError(
|
| 74 |
+
f"case not extracted and shard is missing: {archive}"
|
| 75 |
+
)
|
| 76 |
+
member = f"cases/{case_id}.pt"
|
| 77 |
+
with zipfile.ZipFile(archive) as handle:
|
| 78 |
+
try:
|
| 79 |
+
return handle.read(member)
|
| 80 |
+
except KeyError as exc:
|
| 81 |
+
raise FileNotFoundError(f"{member} is missing from {archive}") from exc
|
| 82 |
+
|
| 83 |
+
|
| 84 |
+
def load_case(dataset_root: Path | str, geometry: str, case_id: str | int) -> dict:
|
| 85 |
+
payload = load_case_bytes(dataset_root, geometry, case_id)
|
| 86 |
+
return torch.load(io.BytesIO(payload), map_location="cpu", weights_only=True)
|
| 87 |
+
|
| 88 |
+
|
| 89 |
+
def load_mesh(dataset_root: Path | str, geometry: str) -> dict[str, np.ndarray]:
|
| 90 |
+
root = Path(dataset_root)
|
| 91 |
+
geometry = canonical_geometry(geometry)
|
| 92 |
+
path = root / "meshes" / f"{geometry}_mesh.npz"
|
| 93 |
+
if not path.is_file():
|
| 94 |
+
raise FileNotFoundError(path)
|
| 95 |
+
with np.load(path, allow_pickle=False) as archive:
|
| 96 |
+
return {key: archive[key].copy() for key in archive.files}
|
| 97 |
+
|
| 98 |
+
|
| 99 |
+
def load_split(dataset_root: Path | str) -> dict[str, list[str]]:
|
| 100 |
+
path = Path(dataset_root) / "metadata" / "split_400_50_50_seed12345.json"
|
| 101 |
+
return json.loads(path.read_text(encoding="utf-8"))
|
| 102 |
+
|
| 103 |
+
|
| 104 |
+
def main() -> None:
|
| 105 |
+
parser = argparse.ArgumentParser(description=__doc__)
|
| 106 |
+
parser.add_argument("--dataset-root", type=Path, default=Path("."))
|
| 107 |
+
parser.add_argument("--geometry", required=True)
|
| 108 |
+
parser.add_argument("--case", required=True)
|
| 109 |
+
args = parser.parse_args()
|
| 110 |
+
|
| 111 |
+
geometry = canonical_geometry(args.geometry)
|
| 112 |
+
case_id = canonical_case_id(args.case)
|
| 113 |
+
data = load_case(args.dataset_root, geometry, case_id)
|
| 114 |
+
mesh = load_mesh(args.dataset_root, geometry)
|
| 115 |
+
|
| 116 |
+
summary = {
|
| 117 |
+
"geometry": geometry,
|
| 118 |
+
"case": data["case"],
|
| 119 |
+
"disp_shape": list(data["disp"].shape),
|
| 120 |
+
"effective_stress_shape": list(data["effective_stress"].shape),
|
| 121 |
+
"time": data["time"].tolist(),
|
| 122 |
+
"impact_xyz": data["impact_xyz"].tolist(),
|
| 123 |
+
"velocity_xyz": data["velocity_xyz"].tolist(),
|
| 124 |
+
"mass_ratio": float(data["mass_ratio"]),
|
| 125 |
+
"material_young_mpa": float(data["material_young_mpa"]),
|
| 126 |
+
"material_poisson": float(data["material_poisson"]),
|
| 127 |
+
"mesh_node_count": int(mesh["node_pos"].shape[0]),
|
| 128 |
+
"mesh_element_count": int(mesh["element_node_index"].shape[0]),
|
| 129 |
+
}
|
| 130 |
+
print(json.dumps(summary, indent=2, ensure_ascii=False))
|
| 131 |
+
|
| 132 |
+
|
| 133 |
+
if __name__ == "__main__":
|
| 134 |
+
main()
|
scripts/validate_dataset.py
ADDED
|
@@ -0,0 +1,299 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/env python3
|
| 2 |
+
"""Validate the complete automotive-impact release package."""
|
| 3 |
+
|
| 4 |
+
from __future__ import annotations
|
| 5 |
+
|
| 6 |
+
import argparse
|
| 7 |
+
import csv
|
| 8 |
+
import hashlib
|
| 9 |
+
import json
|
| 10 |
+
import sys
|
| 11 |
+
import time
|
| 12 |
+
import zipfile
|
| 13 |
+
from collections import Counter
|
| 14 |
+
from pathlib import Path
|
| 15 |
+
|
| 16 |
+
import numpy as np
|
| 17 |
+
import torch
|
| 18 |
+
|
| 19 |
+
from load_case import (
|
| 20 |
+
canonical_case_id,
|
| 21 |
+
load_case,
|
| 22 |
+
load_case_bytes,
|
| 23 |
+
load_mesh,
|
| 24 |
+
load_split,
|
| 25 |
+
shard_name,
|
| 26 |
+
)
|
| 27 |
+
|
| 28 |
+
|
| 29 |
+
SPECS = {
|
| 30 |
+
"floorfrontdriver": {"nodes": 7408, "edges": 29572, "elements": 7374},
|
| 31 |
+
"floorfrontR": {"nodes": 12011, "edges": 48138, "elements": 12055},
|
| 32 |
+
"trunkfloor": {"nodes": 14440, "edges": 58074, "elements": 14589},
|
| 33 |
+
}
|
| 34 |
+
|
| 35 |
+
|
| 36 |
+
def sha256_bytes(payload: bytes) -> str:
|
| 37 |
+
return hashlib.sha256(payload).hexdigest()
|
| 38 |
+
|
| 39 |
+
|
| 40 |
+
def sha256_file(path: Path) -> str:
|
| 41 |
+
digest = hashlib.sha256()
|
| 42 |
+
with path.open("rb") as handle:
|
| 43 |
+
for chunk in iter(lambda: handle.read(8 * 1024 * 1024), b""):
|
| 44 |
+
digest.update(chunk)
|
| 45 |
+
return digest.hexdigest()
|
| 46 |
+
|
| 47 |
+
|
| 48 |
+
def fail(errors: list[str], message: str) -> None:
|
| 49 |
+
errors.append(message)
|
| 50 |
+
print(f"ERROR: {message}", file=sys.stderr)
|
| 51 |
+
|
| 52 |
+
|
| 53 |
+
def validate_split(root: Path, errors: list[str]) -> dict:
|
| 54 |
+
split = load_split(root)
|
| 55 |
+
expected_sizes = {"train": 400, "val": 50, "test": 50}
|
| 56 |
+
for name, expected in expected_sizes.items():
|
| 57 |
+
values = split.get(name)
|
| 58 |
+
if not isinstance(values, list) or len(values) != expected:
|
| 59 |
+
fail(errors, f"split {name!r}: expected {expected} entries")
|
| 60 |
+
continue
|
| 61 |
+
canonical = [canonical_case_id(value) for value in values]
|
| 62 |
+
if canonical != values:
|
| 63 |
+
fail(errors, f"split {name!r} contains non-canonical case IDs")
|
| 64 |
+
if len(set(values)) != len(values):
|
| 65 |
+
fail(errors, f"split {name!r} contains duplicates")
|
| 66 |
+
union = set().union(*(set(split.get(key, [])) for key in expected_sizes))
|
| 67 |
+
if union != {f"case{index:03d}" for index in range(1, 501)}:
|
| 68 |
+
fail(errors, "split union is not exactly case001..case500")
|
| 69 |
+
names = list(expected_sizes)
|
| 70 |
+
for left_index, left in enumerate(names):
|
| 71 |
+
for right in names[left_index + 1 :]:
|
| 72 |
+
if set(split.get(left, [])) & set(split.get(right, [])):
|
| 73 |
+
fail(errors, f"split overlap: {left} and {right}")
|
| 74 |
+
return split
|
| 75 |
+
|
| 76 |
+
|
| 77 |
+
def validate_mesh(root: Path, geometry: str, spec: dict, errors: list[str]) -> dict:
|
| 78 |
+
mesh = load_mesh(root, geometry)
|
| 79 |
+
expected = {
|
| 80 |
+
"node_pos": (spec["nodes"], 3),
|
| 81 |
+
"edge_index": (2, spec["edges"]),
|
| 82 |
+
"element_node_index": (spec["elements"], 4),
|
| 83 |
+
"element_node_count": (spec["elements"],),
|
| 84 |
+
"boundary_mask": (spec["nodes"],),
|
| 85 |
+
}
|
| 86 |
+
for key, shape in expected.items():
|
| 87 |
+
if key not in mesh:
|
| 88 |
+
fail(errors, f"{geometry} mesh missing {key}")
|
| 89 |
+
elif mesh[key].shape != shape:
|
| 90 |
+
fail(errors, f"{geometry} mesh {key}: {mesh[key].shape} != {shape}")
|
| 91 |
+
if "node_pos" in mesh and not np.isfinite(mesh["node_pos"]).all():
|
| 92 |
+
fail(errors, f"{geometry} mesh node_pos is non-finite")
|
| 93 |
+
if "edge_index" in mesh:
|
| 94 |
+
edges = mesh["edge_index"]
|
| 95 |
+
if edges.min() < 0 or edges.max() >= spec["nodes"]:
|
| 96 |
+
fail(errors, f"{geometry} edge_index is out of range")
|
| 97 |
+
if "element_node_index" in mesh:
|
| 98 |
+
connectivity = mesh["element_node_index"]
|
| 99 |
+
if connectivity.min() < 0 or connectivity.max() >= spec["nodes"]:
|
| 100 |
+
fail(errors, f"{geometry} element_node_index is out of range")
|
| 101 |
+
if "element_node_count" in mesh and not np.isin(
|
| 102 |
+
mesh["element_node_count"], [3, 4]
|
| 103 |
+
).all():
|
| 104 |
+
fail(errors, f"{geometry} element_node_count contains values outside 3/4")
|
| 105 |
+
return {
|
| 106 |
+
"nodes": spec["nodes"],
|
| 107 |
+
"edges": spec["edges"],
|
| 108 |
+
"elements": spec["elements"],
|
| 109 |
+
}
|
| 110 |
+
|
| 111 |
+
|
| 112 |
+
def validate_case(
|
| 113 |
+
root: Path,
|
| 114 |
+
geometry: str,
|
| 115 |
+
case_id: str,
|
| 116 |
+
spec: dict,
|
| 117 |
+
expected_digest: str | None,
|
| 118 |
+
errors: list[str],
|
| 119 |
+
) -> dict:
|
| 120 |
+
payload = load_case_bytes(root, geometry, case_id)
|
| 121 |
+
digest = sha256_bytes(payload)
|
| 122 |
+
if expected_digest and digest != expected_digest:
|
| 123 |
+
fail(errors, f"{geometry}/{case_id}: SHA-256 mismatch")
|
| 124 |
+
data = torch.load(
|
| 125 |
+
__import__("io").BytesIO(payload), map_location="cpu", weights_only=True
|
| 126 |
+
)
|
| 127 |
+
if data.get("case") != case_id:
|
| 128 |
+
fail(errors, f"{geometry}/{case_id}: stored case identifier mismatch")
|
| 129 |
+
expected_shapes = {
|
| 130 |
+
"disp": (spec["nodes"], 17, 3),
|
| 131 |
+
"effective_stress": (spec["elements"], 17),
|
| 132 |
+
"time": (17,),
|
| 133 |
+
"element_time": (17,),
|
| 134 |
+
"valid_node_mask": (spec["nodes"],),
|
| 135 |
+
"boundary_mask": (spec["nodes"],),
|
| 136 |
+
"impact_xyz": (3,),
|
| 137 |
+
"velocity_xyz": (3,),
|
| 138 |
+
}
|
| 139 |
+
for key, shape in expected_shapes.items():
|
| 140 |
+
value = data.get(key)
|
| 141 |
+
if not torch.is_tensor(value) or tuple(value.shape) != shape:
|
| 142 |
+
actual = None if value is None else getattr(value, "shape", type(value))
|
| 143 |
+
fail(errors, f"{geometry}/{case_id} {key}: {actual} != {shape}")
|
| 144 |
+
for key in ("disp", "effective_stress", "time", "element_time"):
|
| 145 |
+
value = data.get(key)
|
| 146 |
+
if torch.is_tensor(value) and not torch.isfinite(value).all():
|
| 147 |
+
fail(errors, f"{geometry}/{case_id}: {key} is non-finite")
|
| 148 |
+
time_values = data.get("time")
|
| 149 |
+
element_time = data.get("element_time")
|
| 150 |
+
if torch.is_tensor(time_values) and time_values.numel() == 17:
|
| 151 |
+
if not torch.all(time_values[1:] >= time_values[:-1]):
|
| 152 |
+
fail(errors, f"{geometry}/{case_id}: time is not monotonic")
|
| 153 |
+
if torch.is_tensor(element_time) and element_time.numel() == 17:
|
| 154 |
+
if not torch.all(element_time[1:] >= element_time[:-1]):
|
| 155 |
+
fail(errors, f"{geometry}/{case_id}: element_time is not monotonic")
|
| 156 |
+
if (
|
| 157 |
+
torch.is_tensor(time_values)
|
| 158 |
+
and torch.is_tensor(element_time)
|
| 159 |
+
and tuple(time_values.shape) == (17,)
|
| 160 |
+
and tuple(element_time.shape) == (17,)
|
| 161 |
+
and not torch.allclose(time_values, element_time, rtol=0.0, atol=1.0e-8)
|
| 162 |
+
):
|
| 163 |
+
fail(errors, f"{geometry}/{case_id}: displacement/stress time arrays differ")
|
| 164 |
+
return {
|
| 165 |
+
"bytes": len(payload),
|
| 166 |
+
"sha256": digest,
|
| 167 |
+
"material": str(data.get("material_name", "")),
|
| 168 |
+
}
|
| 169 |
+
|
| 170 |
+
|
| 171 |
+
def load_manifest(root: Path, errors: list[str]) -> dict[tuple[str, str], dict]:
|
| 172 |
+
path = root / "manifest.csv"
|
| 173 |
+
rows = {}
|
| 174 |
+
with path.open(encoding="utf-8", newline="") as handle:
|
| 175 |
+
for row in csv.DictReader(handle):
|
| 176 |
+
key = (row["geometry"], row["case"])
|
| 177 |
+
if key in rows:
|
| 178 |
+
fail(errors, f"duplicate manifest row: {key}")
|
| 179 |
+
rows[key] = row
|
| 180 |
+
if len(rows) != 1500:
|
| 181 |
+
fail(errors, f"manifest has {len(rows)} rows, expected 1500")
|
| 182 |
+
return rows
|
| 183 |
+
|
| 184 |
+
|
| 185 |
+
def validate_archives(root: Path, errors: list[str]) -> dict:
|
| 186 |
+
archive_count = 0
|
| 187 |
+
total_bytes = 0
|
| 188 |
+
for geometry in SPECS:
|
| 189 |
+
for start in range(1, 501, 100):
|
| 190 |
+
end = start + 99
|
| 191 |
+
path = root / "data" / geometry / f"cases_{start:03d}_{end:03d}.zip"
|
| 192 |
+
if not path.is_file():
|
| 193 |
+
fail(errors, f"missing archive: {path.relative_to(root)}")
|
| 194 |
+
continue
|
| 195 |
+
archive_count += 1
|
| 196 |
+
total_bytes += path.stat().st_size
|
| 197 |
+
with zipfile.ZipFile(path) as archive:
|
| 198 |
+
bad_member = archive.testzip()
|
| 199 |
+
if bad_member:
|
| 200 |
+
fail(errors, f"CRC failure in {path.name}: {bad_member}")
|
| 201 |
+
expected = {
|
| 202 |
+
f"cases/case{index:03d}.pt" for index in range(start, end + 1)
|
| 203 |
+
}
|
| 204 |
+
if set(archive.namelist()) != expected:
|
| 205 |
+
fail(errors, f"unexpected members in {path.relative_to(root)}")
|
| 206 |
+
return {"archives": archive_count, "archive_bytes": total_bytes}
|
| 207 |
+
|
| 208 |
+
|
| 209 |
+
def validate_checksums(root: Path, errors: list[str]) -> dict:
|
| 210 |
+
path = root / "checksums.sha256"
|
| 211 |
+
checked = 0
|
| 212 |
+
with path.open(encoding="utf-8") as handle:
|
| 213 |
+
for line_number, line in enumerate(handle, start=1):
|
| 214 |
+
line = line.rstrip("\n")
|
| 215 |
+
if not line:
|
| 216 |
+
continue
|
| 217 |
+
try:
|
| 218 |
+
expected, relative = line.split(" ", 1)
|
| 219 |
+
except ValueError:
|
| 220 |
+
fail(errors, f"invalid checksum line {line_number}")
|
| 221 |
+
continue
|
| 222 |
+
target = root / relative
|
| 223 |
+
if not target.is_file():
|
| 224 |
+
fail(errors, f"checksummed file missing: {relative}")
|
| 225 |
+
continue
|
| 226 |
+
if sha256_file(target) != expected:
|
| 227 |
+
fail(errors, f"file checksum mismatch: {relative}")
|
| 228 |
+
checked += 1
|
| 229 |
+
if target.suffix == ".zip":
|
| 230 |
+
print(f"[file checksum] {relative}")
|
| 231 |
+
return {"checked_files": checked}
|
| 232 |
+
|
| 233 |
+
|
| 234 |
+
def main() -> None:
|
| 235 |
+
parser = argparse.ArgumentParser(description=__doc__)
|
| 236 |
+
parser.add_argument("--dataset-root", type=Path, default=Path("."))
|
| 237 |
+
parser.add_argument("--verify-checksums", action="store_true")
|
| 238 |
+
parser.add_argument("--report", type=Path)
|
| 239 |
+
args = parser.parse_args()
|
| 240 |
+
|
| 241 |
+
root = args.dataset_root.resolve()
|
| 242 |
+
started = time.time()
|
| 243 |
+
errors: list[str] = []
|
| 244 |
+
split = validate_split(root, errors)
|
| 245 |
+
archives = validate_archives(root, errors)
|
| 246 |
+
manifest = load_manifest(root, errors)
|
| 247 |
+
geometry_reports = {}
|
| 248 |
+
|
| 249 |
+
for geometry, spec in SPECS.items():
|
| 250 |
+
mesh_report = validate_mesh(root, geometry, spec, errors)
|
| 251 |
+
materials: Counter[str] = Counter()
|
| 252 |
+
total_bytes = 0
|
| 253 |
+
for index in range(1, 501):
|
| 254 |
+
case_id = f"case{index:03d}"
|
| 255 |
+
row = manifest.get((geometry, case_id))
|
| 256 |
+
expected_digest = row["source_sha256"] if row else None
|
| 257 |
+
case_report = validate_case(
|
| 258 |
+
root, geometry, case_id, spec, expected_digest, errors
|
| 259 |
+
)
|
| 260 |
+
total_bytes += case_report["bytes"]
|
| 261 |
+
materials[case_report["material"]] += 1
|
| 262 |
+
if index % 50 == 0:
|
| 263 |
+
print(f"[{geometry}] validated {index}/500")
|
| 264 |
+
geometry_reports[geometry] = {
|
| 265 |
+
**mesh_report,
|
| 266 |
+
"cases": 500,
|
| 267 |
+
"source_case_bytes": total_bytes,
|
| 268 |
+
"materials": dict(sorted(materials.items())),
|
| 269 |
+
}
|
| 270 |
+
|
| 271 |
+
checksum_report = (
|
| 272 |
+
validate_checksums(root, errors) if args.verify_checksums else {"skipped": True}
|
| 273 |
+
)
|
| 274 |
+
report = {
|
| 275 |
+
"dataset": "Automotive Impact Dataset",
|
| 276 |
+
"version": "1.0.0",
|
| 277 |
+
"status": "passed" if not errors else "failed",
|
| 278 |
+
"cases_validated": 1500,
|
| 279 |
+
"split_sizes": {key: len(value) for key, value in split.items()},
|
| 280 |
+
"archives": archives,
|
| 281 |
+
"geometries": geometry_reports,
|
| 282 |
+
"checksums": checksum_report,
|
| 283 |
+
"elapsed_seconds": time.time() - started,
|
| 284 |
+
"errors": errors,
|
| 285 |
+
"scope_note": (
|
| 286 |
+
"Technical package validation only; provenance and unit limitations "
|
| 287 |
+
"are documented in the release metadata."
|
| 288 |
+
),
|
| 289 |
+
}
|
| 290 |
+
rendered = json.dumps(report, indent=2, ensure_ascii=False) + "\n"
|
| 291 |
+
print(rendered)
|
| 292 |
+
if args.report:
|
| 293 |
+
args.report.write_text(rendered, encoding="utf-8")
|
| 294 |
+
if errors:
|
| 295 |
+
raise SystemExit(1)
|
| 296 |
+
|
| 297 |
+
|
| 298 |
+
if __name__ == "__main__":
|
| 299 |
+
main()
|
scripts/visualize_trajectory.py
ADDED
|
@@ -0,0 +1,64 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/env python3
|
| 2 |
+
"""Render nodal displacement magnitude and shell von Mises stress by state."""
|
| 3 |
+
|
| 4 |
+
from __future__ import annotations
|
| 5 |
+
|
| 6 |
+
import argparse
|
| 7 |
+
from pathlib import Path
|
| 8 |
+
|
| 9 |
+
import matplotlib.pyplot as plt
|
| 10 |
+
import numpy as np
|
| 11 |
+
import torch
|
| 12 |
+
|
| 13 |
+
from load_case import canonical_geometry, load_case, load_mesh
|
| 14 |
+
|
| 15 |
+
|
| 16 |
+
def main() -> None:
|
| 17 |
+
parser = argparse.ArgumentParser(description=__doc__)
|
| 18 |
+
parser.add_argument("--dataset-root", type=Path, default=Path("."))
|
| 19 |
+
parser.add_argument("--geometry", required=True)
|
| 20 |
+
parser.add_argument("--case", required=True)
|
| 21 |
+
parser.add_argument("--state", type=int, default=0, choices=range(17))
|
| 22 |
+
parser.add_argument("--output", type=Path)
|
| 23 |
+
args = parser.parse_args()
|
| 24 |
+
|
| 25 |
+
geometry = canonical_geometry(args.geometry)
|
| 26 |
+
data = load_case(args.dataset_root, geometry, args.case)
|
| 27 |
+
mesh = load_mesh(args.dataset_root, geometry)
|
| 28 |
+
state = args.state
|
| 29 |
+
|
| 30 |
+
pos = mesh["node_pos"]
|
| 31 |
+
displacement = data["disp"][:, state].numpy()
|
| 32 |
+
deformed = pos + displacement
|
| 33 |
+
magnitude = torch.linalg.vector_norm(data["disp"][:, state], dim=-1).numpy()
|
| 34 |
+
connectivity = mesh["element_node_index"]
|
| 35 |
+
centers = deformed[connectivity].mean(axis=1)
|
| 36 |
+
stress = data["effective_stress"][:, state].numpy()
|
| 37 |
+
|
| 38 |
+
figure, axes = plt.subplots(1, 2, figsize=(14, 5), constrained_layout=True)
|
| 39 |
+
first = axes[0].scatter(
|
| 40 |
+
deformed[:, 0], deformed[:, 1], c=magnitude, s=1.2, cmap="viridis"
|
| 41 |
+
)
|
| 42 |
+
axes[0].set_title(f"Nodal displacement magnitude, state {state}")
|
| 43 |
+
figure.colorbar(first, ax=axes[0])
|
| 44 |
+
second = axes[1].scatter(
|
| 45 |
+
centers[:, 0], centers[:, 1], c=stress, s=1.2, cmap="turbo"
|
| 46 |
+
)
|
| 47 |
+
axes[1].set_title(f"Max-IP von Mises stress, state {state}")
|
| 48 |
+
figure.colorbar(second, ax=axes[1])
|
| 49 |
+
for axis in axes:
|
| 50 |
+
axis.set_aspect("equal", adjustable="box")
|
| 51 |
+
axis.set_xlabel("x (unit pending confirmation)")
|
| 52 |
+
axis.set_ylabel("y (unit pending confirmation)")
|
| 53 |
+
figure.suptitle(f"{geometry} / {data['case']} / t={float(data['time'][state]):.6g}")
|
| 54 |
+
|
| 55 |
+
if args.output:
|
| 56 |
+
args.output.parent.mkdir(parents=True, exist_ok=True)
|
| 57 |
+
figure.savefig(args.output, dpi=200)
|
| 58 |
+
print(args.output)
|
| 59 |
+
else:
|
| 60 |
+
plt.show()
|
| 61 |
+
|
| 62 |
+
|
| 63 |
+
if __name__ == "__main__":
|
| 64 |
+
main()
|