Leekyo commited on
Commit
e84c74f
·
verified ·
1 Parent(s): deebc5b

v1.1: torsion moment axis Y->Z (SimJEB-matching) — data card, metadata, labels, torsion patch script

Browse files
Files changed (6) hide show
  1. PATCH_README.txt +12 -0
  2. README.md +70 -256
  3. README.txt +1 -1
  4. apply_torsion_patch.py +39 -0
  5. deepjebpp_labels.csv +0 -0
  6. metadata.json +8 -5
PATCH_README.txt ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ DeepJEB++ torsion patch (v1.0 -> v1.1)
2
+ ======================================
3
+ WHAT: Corrects the torsion moment axis from Y to Z (matching the SimJEB
4
+ reference torsion condition) and adds tor_maxvm. Only torsion fields change;
5
+ vertical/horizontal/diagonal loads and geometry are identical to v1.0.
6
+
7
+ If you already downloaded v1.0 you do NOT need to re-download the full
8
+ 3_fea_fields (~29 GB). Instead:
9
+ 1. Download this patch archive (3_fea_fields_torsion_z_v1.1.tar.gz, ~7 GB) and extract it.
10
+ 2. Run: python apply_torsion_patch.py <your 3_fea_fields dir> <extracted patch dir>
11
+ 3. Replace deepjebpp_labels.csv and metadata.json with the v1.1 copies (small files).
12
+ New users can simply download the full v1.1 release instead.
README.md CHANGED
@@ -1,285 +1,99 @@
1
  ---
2
  license: odc-by
3
- pretty_name: "DeepJEB++"
4
  size_categories:
5
  - 10K<n<100K
6
- task_categories:
7
- - tabular-regression
8
- - graph-ml
9
  tags:
10
  - engineering-design
11
  - finite-element-analysis
12
- - structural-mechanics
13
- - 3d
14
- - mesh
15
- - generative-design
16
- - foundation-model
17
- - jet-engine-bracket
18
  - surrogate-modeling
 
 
19
  ---
20
 
21
- <div align="center">
22
- <img src="assets/banner_displacement.png" alt="DeepJEB++ generated brackets displacement fields" width="100%">
23
- </div>
24
-
25
- <h1 align="center">DeepJEB++</h1>
26
- <p align="center"><b>Foundation Model-Driven Large-Scale 3D Engineering Dataset via 2D Latent Space Augmentation</b></p>
 
27
 
28
- <p align="center">
29
- <a href="https://arxiv.org/abs/2606.12994"><img src="https://img.shields.io/badge/arXiv-2606.12994-b31b1b.svg" alt="arXiv"></a>
30
- <a href="https://huggingface.co/datasets/KAIST-SmartDesignLab/DeepJEB-PP"><img src="https://img.shields.io/badge/%F0%9F%A4%97%20Hugging%20Face-Dataset-ffb000.svg" alt="Hugging Face Dataset"></a>
31
- <img src="https://img.shields.io/badge/Status-Under%20Review-orange.svg" alt="Status: Under Review">
32
- <img src="https://img.shields.io/badge/license-ODC--By%201.0-blue.svg" alt="License: ODC-By 1.0">
33
- </p>
34
 
35
- <p align="center">Soyoung Yoo · Leekyo Jeong · Jinsu Ra · Dongeon Lee · Sunwoong Yang · Hyogu Jeong · Namwoo Kang &nbsp;—&nbsp; <b>KAIST SmartDesignLab</b></p>
 
 
 
36
 
37
- ---
 
 
 
 
38
 
39
  ## Contents
40
-
41
- - [News](#news)
42
- - [Overview](#overview)
43
- - [The data, qualitatively](#the-data-qualitatively)
44
- - [Augmentation methodology](#augmentation-methodology)
45
- - [Dataset structure](#dataset-structure)
46
- - [Usage](#usage)
47
- - [Applications](#applications)
48
- - [Citation](#citation)
49
- - [Acknowledgements](#acknowledgements)
50
- - [License](#license)
51
-
52
- ---
53
-
54
- ## News
55
-
56
- - **2026-06** — DeepJEB++ released on Hugging Face: **15,360** designs with surface meshes, boundary conditions, per-load FEA surface fields, and scalar labels (incl. mass).
57
- - **2026-06** — Preprint on arXiv ([2606.12994](https://arxiv.org/abs/2606.12994)); manuscript **under review**.
58
-
59
- ---
60
-
61
- ## Overview
62
-
63
- > **DeepJEB++** is a large-scale dataset of **generatively-designed jet-engine brackets**, each paired with
64
- > physics-based performance labels from an automated finite-element (FEA) pipeline. It is built by **augmenting
65
- > the SimJEB design space inside a 2D latent space** and lifting the synthesized images to 3D with a **3D
66
- > foundation model (TRELLIS)**, then automatically recovering boundary conditions and solving four structural
67
- > load cases. The result couples **geometry ↔ physics** at a scale (40× SimJEB) suitable for data-driven and
68
- > surrogate modelling in engineering design.
69
-
70
- <div align="center">
71
- <img src="assets/teaser.gif" alt="A generated bracket rotating, coloured by its vertical-load displacement field" width="46%">
72
- <br><sub>A single design, coloured by its vertical-load displacement field (blue = clamped bolts, red = lug tip).</sub>
73
- </div>
74
-
75
- | | |
76
- |---|---|
77
- | **Designs (deployable)** | 15,360 |
78
- | **Load cases** | vertical / horizontal / diagonal / torsional |
79
- | **Per design** | surface mesh · boundary conditions · FEA surface fields · scalar labels (incl. mass) |
80
- | **Material** | Ti-6Al-4V · E = 113,800 MPa · ν = 0.342 |
81
- | **Scale** | 40× SimJEB (380) |
82
- | **Paper** | [arXiv:2606.12994](https://arxiv.org/abs/2606.12994) |
83
- | **License** | ODC-By 1.0 (matching upstream SimJEB / DeepJEB) |
84
-
85
- ---
86
-
87
- ## The data, qualitatively
88
-
89
- <div align="center">
90
- <img src="assets/gallery.png" alt="Generated bracket variety with auto-detected interfaces" width="92%">
91
- <br><sub><b>Generated bracket variety + auto-detected interfaces</b> — 24 of 15,360, each with a gate-validated 4-bolt flange and lug-clevis detection (orange).</sub>
92
- </div>
93
-
94
- <br>
95
-
96
- <div align="center">
97
- <img src="assets/fea_fields.png" alt="Four-load FEA response fields" width="92%">
98
- <br><sub><b>4-load FEA response fields.</b> Top: displacement (deformed ��9). Bottom: von Mises stress. Columns: vertical / horizontal / diagonal / torsional.</sub>
99
- </div>
100
-
101
- The hero banner shows real brackets coloured by their per-case vertical-load displacement field. The same
102
- brackets, as raw geometry:
103
-
104
- <div align="center">
105
- <img src="assets/banner_geometry.png" alt="Generated bracket meshes (geometry)" width="100%">
106
- </div>
107
-
108
- ---
109
-
110
- ## Augmentation methodology
111
-
112
- The core idea is **2D latent-space augmentation**: instead of perturbing 3D meshes directly, new designs are
113
- synthesized by **interpolating between SimJEB seed brackets in the latent space of a fine-tuned diffusion
114
- model**, then reconstructed in 3D by a foundation model and labelled by FEA.
115
-
116
- | # | Step | What happens |
117
- |---|------|--------------|
118
- | 1 | **Seed pairs** | Pairs of SimJEB bracket renders chosen as interpolation endpoints. |
119
- | 2 | **2D latent interpolation** | Fine-tuned Stable Diffusion mixes the two VAE latents (ratio 0→1) → frames IS00–IS18. |
120
- | 3 | **Image → 3D** | A single diagonal view drives TRELLIS (SimJEB-finetuned) image-to-3D, 25-step. |
121
- | 4 | **Automatic BC** | 4-bolt flange + lug-clevis detected and validated by a calibrated gate. |
122
- | 5 | **FEA labels** | Four load cases solved → displacement, von Mises, mass per design. |
123
-
124
- <div align="center">
125
- <img src="assets/framework.png" alt="End-to-end framework" width="92%">
126
- <br><sub><b>End-to-end framework</b> — generation (latent interpolation + foundation-model lifting) → automatic labelling.</sub>
127
- </div>
128
-
129
- <br>
130
-
131
- <div align="center">
132
- <img src="assets/interp_2d.png" alt="2D latent interpolation" width="80%">
133
- <br><sub><b>2D latent interpolation</b> — a smooth transition between two parent brackets (IS00 → IS18).</sub>
134
- </div>
135
-
136
- > **Why 2D-latent augmentation?** Interpolating in a learned image latent space produces smooth, valid,
137
- > manufacturable-looking new brackets that span the design space between real examples — far easier than
138
- > perturbing 3D meshes directly — while a 3D foundation model guarantees consistent, watertight geometry ready
139
- > for FEA. A key finding: increasing the diffusion sampling steps raised valid BC-detection from **16% → 96%**.
140
-
141
- ---
142
-
143
- ## Dataset structure
144
-
145
- Distributed as per-component `.tar.gz` archives + a CSV. Every design shares one `<case>` id
146
- (e.g. `012-015-diag_xz_mm_IS02`) across all modalities.
147
-
148
- ```
149
- DeepJEB-PP/
150
- ├── 1_surface_meshes.tar.gz # 15,360 × <case>.obj
151
- ├── 2_boundary_conditions.tar.gz # 15,360 × <case>.npz
152
- ├── 3_fea_fields.tar.gz # 15,360 × <case>.npz
153
- ├── deepjebpp_labels.csv # scalar labels (15,360 rows)
154
- └── metadata.json # material / loads / units / schema
155
- ```
156
-
157
- **Modalities**
158
-
159
- | Modality | File | Content |
160
- |---|---|---|
161
- | Geometry | `1_surface_meshes/<case>.obj` | input surface mesh, native ~50k verts |
162
- | Boundary conditions | `2_boundary_conditions/<case>.npz` | `bolt_idx` (clamped), `lug_idx` (loaded), `bolt_holes` — indices into the 25k FEM `surface_points` |
163
- | FEA surface fields | `3_fea_fields/<case>.npz` | `surface_points` (N,3), `surface_faces` (M,3), and per load `{ver,hor,dia,tor}_U` (N,3) + `_vm` (N,) |
164
- | Scalar labels | `deepjebpp_labels.csv` | `mass_g`, `vol_mm3`, per-load `max|u|`, `p95 von Mises`, … |
165
-
166
- **FEA specification**
167
-
168
- | | |
169
- |---|---|
170
- | Material | Ti-6Al-4V · E = 113,800 MPa · ν = 0.342 (yield 903 MPa / 131 ksi, reference) |
171
- | Vertical (ver) | force (0, 0, 1) · 35,600 N |
172
- | Horizontal (hor) | force (−1, 0, 0) · 37,800 N |
173
- | Diagonal (dia) | force (−0.669, 0, 0.743) · 42,300 N |
174
- | Torsional (tor) | moment (0, 1, 0) · 565,000 N·mm |
175
- | Solver | tetgen + conjugate-gradient, 25k node budget |
176
-
177
- ---
178
 
179
  ## Usage
180
 
181
- **Download & extract**
182
-
183
- ```bash
184
- huggingface-cli download KAIST-SmartDesignLab/DeepJEB-PP --repo-type dataset --local-dir DeepJEB-PP
185
- cd DeepJEB-PP && for f in *.tar.gz; do tar -xzf "$f"; done
186
  ```
187
-
188
- **Load one design**
189
-
 
 
 
 
 
190
  ```python
191
- import numpy as np, pandas as pd, trimesh
192
-
193
- case = "012-015-diag_xz_mm_IS02"
194
- mesh = trimesh.load(f"1_surface_meshes/{case}.obj")
195
- bc = np.load(f"2_boundary_conditions/{case}.npz") # bolt_idx, lug_idx
196
- field = np.load(f"3_fea_fields/{case}.npz") # ver_U, ver_vm, hor_U, ...
197
- label = pd.read_csv("deepjebpp_labels.csv").set_index("case").loc[case]
198
-
199
- clamped = field["surface_points"][bc["bolt_idx"]] # clamped bolt nodes (mm)
200
- vm_ver = field["ver_vm"] # vertical-load von Mises (MPa)
201
  ```
 
 
 
 
 
 
 
 
 
202
 
203
- **PyTorch dataloader** (geometry + fields + scalar targets)
204
-
205
  ```python
206
- import os, glob, numpy as np, pandas as pd, torch
207
- from torch.utils.data import Dataset
208
-
209
- class DeepJEBPP(Dataset):
210
- """Per-case surface points, BC masks, per-load fields, and scalar labels."""
211
- LOADS = ["ver", "hor", "dia", "tor"]
212
-
213
- def __init__(self, root, load="ver"):
214
- self.root, self.load = root, load
215
- self.cases = sorted(os.path.splitext(os.path.basename(f))[0]
216
- for f in glob.glob(f"{root}/3_fea_fields/*.npz"))
217
- self.labels = pd.read_csv(f"{root}/deepjebpp_labels.csv").set_index("case")
218
-
219
- def __len__(self):
220
- return len(self.cases)
221
-
222
- def __getitem__(self, i):
223
- c = self.cases[i]
224
- fld = np.load(f"{self.root}/3_fea_fields/{c}.npz")
225
- bc = np.load(f"{self.root}/2_boundary_conditions/{c}.npz")
226
- pts = fld["surface_points"].astype("float32")
227
- n = len(pts)
228
- bolt = np.zeros(n, "float32"); bolt[bc["bolt_idx"]] = 1.0 # clamped mask
229
- lug = np.zeros(n, "float32"); lug[bc["lug_idx"]] = 1.0 # loaded mask
230
- row = self.labels.loc[c]
231
- return {
232
- "case": c,
233
- "points": torch.from_numpy(pts), # (N,3) mm
234
- "bc": torch.from_numpy(np.stack([bolt, lug], 1)), # (N,2)
235
- "U": torch.from_numpy(fld[f"{self.load}_U"].astype("float32")), # (N,3)
236
- "vm": torch.from_numpy(fld[f"{self.load}_vm"].astype("float32")), # (N,)
237
- "y": torch.tensor([row["mass_g"],
238
- row[f"{self.load}_p95vm"],
239
- row[f"{self.load}_maxu"]], dtype=torch.float32),
240
- }
241
-
242
- # ds = DeepJEBPP("DeepJEB-PP", load="ver"); print(len(ds), ds[0]["points"].shape)
243
  ```
244
 
245
- ---
 
246
 
247
- ## Applications
248
 
249
- - **Surrogate modelling** — learn geometry → performance (mass, p95 von Mises, peak displacement, or full
250
- nodal fields) with point-cloud / mesh-GNN / implicit models; a 40× larger training corpus than SimJEB.
251
- - **Field prediction** predict per-node displacement and stress fields under each of the four load cases.
252
- - **Generative & inverse design** — benchmark generators on a labelled, BC-aware bracket design space; close
253
- the loop with the released solver-input meshes.
254
- - **Design optimisation** — data-driven optimisation / constraint screening using the mass and stress labels.
255
- - **Cross-dataset transfer** — pre-train on DeepJEB++ and transfer to the smaller real SimJEB / DeepJEB sets.
256
-
257
- ---
258
 
259
  ## Citation
260
-
261
- ```bibtex
262
- @article{deepjebpp2026,
263
- title = {DeepJEB++: Foundation Model-Driven Large-Scale 3D Engineering
264
- Dataset via 2D Latent Space Augmentation},
265
- author = {Yoo, Soyoung and Jeong, Leekyo and Ra, Jinsu and Lee, Dongeon
266
- and Yang, Sunwoong and Jeong, Hyogu and Kang, Namwoo},
267
- journal = {arXiv preprint arXiv:2606.12994},
268
- year = {2026}
269
- }
270
- ```
271
-
272
- ---
273
-
274
- ## Acknowledgements
275
-
276
- DeepJEB++ builds on the **SimJEB** dataset (Whalen et al.) and the original **DeepJEB**, both derived from the
277
- **GE Jet Engine Bracket Challenge** geometry, and uses the **TRELLIS** 3D foundation model for image-to-3D
278
- generation. Developed at **KAIST SmartDesignLab**.
279
-
280
- ---
281
-
282
- ## License
283
-
284
- Released under the **Open Data Commons Attribution License (ODC-By v1.0)**, matching the upstream
285
- SimJEB / DeepJEB datasets. Derived from the SimJEB dataset (GE Jet Engine Bracket Challenge geometry).
 
1
  ---
2
  license: odc-by
3
+ pretty_name: DeepJEB++
4
  size_categories:
5
  - 10K<n<100K
 
 
 
6
  tags:
7
  - engineering-design
8
  - finite-element-analysis
 
 
 
 
 
 
9
  - surrogate-modeling
10
+ - 3d-geometry
11
+ - jet-engine-bracket
12
  ---
13
 
14
+ > 📢 Update — v1.1 (2026-07)
15
+ > The torsional load moment is now applied about the Z-axis to match the
16
+ > SimJEB reference torsion condition (v1.0 applied it about the Y-axis), and
17
+ > `tor_maxvm` was added to the labels. Vertical / horizontal / diagonal loads,
18
+ > geometry, meshes and boundary conditions are unchanged.
19
+ > If you already downloaded v1.0, you do not need to re-download the full
20
+ > ~29 GB — apply the lightweight torsion patch (see [Usage](#usage)).
21
 
22
+ # DeepJEB++
 
 
 
 
 
23
 
24
+ A foundation-model-driven 2D-to-3D data-augmentation dataset for structural
25
+ engineering design. **15,360** simulation-labeled jet-engine brackets, generated
26
+ by adapting Stable Diffusion v1.5 and TRELLIS, each paired with automatically
27
+ computed linear-elastic finite-element labels under four load cases.
28
 
29
+ ## License
30
+ **ODC-By v1.0** (Open Data Commons Attribution License). Free to use, modify,
31
+ and share -- including for commercial purposes -- with attribution (please cite
32
+ the DeepJEB++ paper and the upstream SimJEB and DeepJEB datasets).
33
+ See the `LICENSE` file.
34
 
35
  ## Contents
36
+ | Path | Description |
37
+ |------|-------------|
38
+ | `1_surface_meshes/` | 15,360 surface meshes (`.obj`, native ~50k verts) |
39
+ | `2_boundary_conditions/` | Four-bolt + loaded-clevis interfaces (vertex indices, mm frame) |
40
+ | `3_fea_fields/` | Per-case surface FEA fields (`.npz`): displacement `U`, von Mises `vm` for 4 loads |
41
+ | `deepjebpp_labels.csv` | Scalar labels: mass, per-load max displacement & 95th-pct von Mises |
42
+ | `metadata.json` | Material, load cases, units, layout |
43
+ | `README.txt` | Full human-readable specification |
44
+
45
+ All field/BC entries are at a consistent 25k FEM-mesh density. BC node indices
46
+ reference `3_fea_fields/<case>.npz` `surface_points` (25k), not the native `.obj`.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
47
 
48
  ## Usage
49
 
50
+ ### New users — full v1.1
51
+ ```python
52
+ from huggingface_hub import snapshot_download
53
+ snapshot_download("KAIST-SmartDesignLab/DeepJEB-PP", repo_type="dataset",
54
+ local_dir="DeepJEB-PP")
55
  ```
56
+ Extract the `.tar.gz` archives, load fields with `numpy.load(...)` and scalars
57
+ from `deepjebpp_labels.csv`.
58
+
59
+ ### Already have v1.0? Apply the torsion patch (no 29 GB re-download)
60
+ v1.1 changes **only the torsion labels** (moment axis Y -> Z to match the SimJEB
61
+ reference torsion condition) and adds `tor_maxvm`. Vertical / horizontal /
62
+ diagonal loads, geometry, meshes and boundary conditions are byte-identical to
63
+ v1.0. To update in place without re-downloading the full `3_fea_fields` (~29 GB):
64
  ```python
65
+ from huggingface_hub import hf_hub_download
66
+ # ~14 GB torsion-only patch instead of the full archive
67
+ hf_hub_download("KAIST-SmartDesignLab/DeepJEB-PP",
68
+ "3_fea_fields_torsion_z_v1.1.tar.gz",
69
+ repo_type="dataset", local_dir="patch")
70
+ hf_hub_download("KAIST-SmartDesignLab/DeepJEB-PP", "apply_torsion_patch.py",
71
+ repo_type="dataset", local_dir="patch")
 
 
 
72
  ```
73
+ ```bash
74
+ mkdir -p patch/torsion
75
+ tar -xzf patch/3_fea_fields_torsion_z_v1.1.tar.gz -C patch/torsion
76
+ python patch/apply_torsion_patch.py <your 3_fea_fields dir> patch/torsion
77
+ ```
78
+ The script replaces `tor_U / tor_vm / tor_maxu / tor_p95vm` and adds
79
+ `tor_maxvm` in each `<case>.npz` (verifying `surface_points` match), leaving
80
+ the other loads untouched. Then also replace the small `deepjebpp_labels.csv`
81
+ and `metadata.json` with the v1.1 copies. See `PATCH_README.txt`.
82
 
83
+ ### Pin a specific version
 
84
  ```python
85
+ snapshot_download("KAIST-SmartDesignLab/DeepJEB-PP", repo_type="dataset",
86
+ revision="v1.1") # or "v1.0" for the original Y-axis torsion
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
87
  ```
88
 
89
+ ## Load cases (Ti-6Al-4V, linear static)
90
+ vertical 35.6 kN | horizontal 37.8 kN | diagonal 42.3 kN | torsional 565 kN-mm
91
 
92
+ The **torsional** load is applied as a moment about the **Z-axis** `(0, 0, 1)`, matching the SimJEB reference torsion condition. (See Version history.)
93
 
94
+ ## Version history
95
+ - **v1.1** (2026-07) - Torsional moment axis corrected from Y to **Z-axis** `(0,0,1)` to match the SimJEB reference torsion loading condition; `tor_maxvm` (full-volume max von Mises) added to `deepjebpp_labels.csv`. **Recommended version.**
96
+ - **v1.0** (2026-06) - Initial release; torsional moment applied about the Y-axis `(0,1,0)`. Retained via git tag for reproducibility of any prior results.
 
 
 
 
 
 
97
 
98
  ## Citation
99
+ Citation will be added upon publication (ASME Journal of Mechanical Design).
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
README.txt CHANGED
@@ -35,7 +35,7 @@ BC: 4 bolt holes clamped (Dirichlet), load applied on the lug
35
  ver force ( 0.000, 0.0, 1.000) 35,600 N
36
  hor force (-1.000, 0.0, 0.000) 37,800 N
37
  dia force (-0.669, 0.0, 0.743) 42,300 N
38
- tor moment ( 0.000, 1.0, 0.000) 565,000 N*mm
39
 
40
  --------------------------------------------------------------------------------
41
  FIELD NPZ CONTENTS (numpy .npz, np.load)
 
35
  ver force ( 0.000, 0.0, 1.000) 35,600 N
36
  hor force (-1.000, 0.0, 0.000) 37,800 N
37
  dia force (-0.669, 0.0, 0.743) 42,300 N
38
+ tor moment ( 0.000, 0.0, 1.000) 565,000 N*mm
39
 
40
  --------------------------------------------------------------------------------
41
  FIELD NPZ CONTENTS (numpy .npz, np.load)
apply_torsion_patch.py ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/usr/bin/env python3
2
+ """
3
+ DeepJEB++ v1.0 -> v1.1 torsion patch.
4
+ Corrects the torsion moment axis (Y -> Z, matching the SimJEB reference torsion
5
+ condition) and adds `tor_maxvm`, updating ONLY the torsion fields in each
6
+ 3_fea_fields/<case>.npz in place. Vertical/horizontal/diagonal loads and all
7
+ geometry are left untouched.
8
+
9
+ Usage:
10
+ python apply_torsion_patch.py <your 3_fea_fields dir> <extracted patch dir>
11
+
12
+ Also update deepjebpp_labels.csv and metadata.json from the v1.1 release
13
+ (these small files are included in the release directly).
14
+ """
15
+ import numpy as np, sys, os, glob
16
+ if len(sys.argv) != 3:
17
+ print(__doc__); sys.exit(1)
18
+ fields_dir, patch_dir = sys.argv[1], sys.argv[2]
19
+ TOR_KEYS = ['tor_U', 'tor_vm', 'tor_maxu', 'tor_p95vm', 'tor_maxvm']
20
+ patches = sorted(glob.glob(os.path.join(patch_dir, '*.npz')))
21
+ n_ok = n_missing = n_mismatch = 0
22
+ for pf in patches:
23
+ case = os.path.basename(pf)
24
+ ff = os.path.join(fields_dir, case)
25
+ if not os.path.exists(ff):
26
+ n_missing += 1; continue
27
+ old = dict(np.load(ff)); pat = np.load(pf)
28
+ if 'surface_points' in old and 'surface_points' in pat.files \
29
+ and not np.array_equal(old['surface_points'], pat['surface_points']):
30
+ print('SKIP surface mismatch:', case); n_mismatch += 1; continue
31
+ for k in TOR_KEYS:
32
+ if k in pat.files:
33
+ old[k] = pat[k]
34
+ tmp = ff + '.tmp'
35
+ np.savez_compressed(tmp, **old); os.replace(tmp, ff)
36
+ n_ok += 1
37
+ print(f'patched={n_ok} missing_in_your_dir={n_missing} surface_mismatch={n_mismatch}')
38
+ print('Done. Torsion labels are now Z-axis (SimJEB-matching). Also replace '
39
+ 'deepjebpp_labels.csv and metadata.json with the v1.1 copies.')
deepjebpp_labels.csv CHANGED
The diff for this file is too large to render. See raw diff
 
metadata.json CHANGED
@@ -2,7 +2,7 @@
2
  "license": "ODC-By v1.0",
3
  "license_url": "https://opendatacommons.org/licenses/by/1-0/",
4
  "dataset": "DeepJEB++ TRELLIS-generated jet-engine bracket surface-FEA dataset",
5
- "version": "1.0",
6
  "date": "2026-06-07",
7
  "n_cases": 15360,
8
  "case_id_format": "<base>-<sub>-diag_xz_mm_IS<aug> (shared by mesh / field / BC / label row)",
@@ -61,8 +61,8 @@
61
  "type": "moment",
62
  "direction": [
63
  0.0,
64
- 1.0,
65
- 0.0
66
  ],
67
  "magnitude": 565000.0,
68
  "unit": "N*mm"
@@ -110,6 +110,9 @@
110
  },
111
  "notes": {
112
  "mass_vs_cad_validation": "The paper's 'R^2=0.9999 vs CAD' mass validation refers to the volume->mass pipeline checked against CAD reference masses (SimJEB GT, which has CAD). Generated TRELLIS brackets have no CAD counterpart, so that validation is not reproduced per-case here; the same deterministic volume pipeline is used.",
113
- "all_at_25k": "All 15,360 field/BC entries are at the same 25k FEM mesh density (consistent labels)."
114
- }
 
 
 
115
  }
 
2
  "license": "ODC-By v1.0",
3
  "license_url": "https://opendatacommons.org/licenses/by/1-0/",
4
  "dataset": "DeepJEB++ TRELLIS-generated jet-engine bracket surface-FEA dataset",
5
+ "version": "1.1",
6
  "date": "2026-06-07",
7
  "n_cases": 15360,
8
  "case_id_format": "<base>-<sub>-diag_xz_mm_IS<aug> (shared by mesh / field / BC / label row)",
 
61
  "type": "moment",
62
  "direction": [
63
  0.0,
64
+ 0.0,
65
+ 1.0
66
  ],
67
  "magnitude": 565000.0,
68
  "unit": "N*mm"
 
110
  },
111
  "notes": {
112
  "mass_vs_cad_validation": "The paper's 'R^2=0.9999 vs CAD' mass validation refers to the volume->mass pipeline checked against CAD reference masses (SimJEB GT, which has CAD). Generated TRELLIS brackets have no CAD counterpart, so that validation is not reproduced per-case here; the same deterministic volume pipeline is used.",
113
+ "all_at_25k": "All 15,360 field/BC entries are at the same 25k FEM mesh density (consistent labels).",
114
+ "torsion_axis_fix": "torsion moment axis corrected Y->Z (2026-07-19)",
115
+ "changelog": "v1.1 (2026-07-19): torsion moment axis corrected Y->Z to match SimJEB reference torsion condition; tor_maxvm added to labels. v1.0 (2026-06-07): initial release (torsion moment about Y-axis, retained via git tag)."
116
+ },
117
+ "revision_date": "2026-07-19"
118
  }