Dataset Viewer
Auto-converted to Parquet Duplicate
optimal_design
listlengths
32
32
alpha_tx
float64
0.01
0.7
alpha_ty
float64
0.02
0.91
alpha_tz
float64
0.02
0.78
alpha_rx
float64
0.02
0.86
alpha_ry
float64
0.02
0.97
alpha_rz
float64
0.02
0.78
optimal_design_continuous
listlengths
32
32
alpha_continuous_tx
float64
0.01
0.69
alpha_continuous_ty
float64
0.03
0.9
alpha_continuous_tz
float64
0.02
0.78
alpha_continuous_rx
float64
0.02
0.86
alpha_continuous_ry
float64
0.03
0.97
alpha_continuous_rz
float64
0.02
0.76
alpha_export_tx
float64
0.01
0.7
alpha_export_ty
float64
0.03
0.91
alpha_export_tz
float64
0.02
0.78
alpha_export_rx
float64
0.02
0.86
alpha_export_ry
float64
0.03
0.98
alpha_export_rz
float64
0.02
0.78
sample_id
stringlengths
2
27
request_id
stringlengths
12
12
compliant_class
stringclasses
38 values
block
int32
1
2
⌀
n_compliant
int32
1
5
compliant_tx
bool
2 classes
compliant_ty
bool
2 classes
compliant_tz
bool
2 classes
compliant_rx
bool
2 classes
compliant_ry
bool
2 classes
compliant_rz
bool
2 classes
cap_tx
float64
0.02
0.4
⌀
cap_ty
float64
0.05
0.29
⌀
cap_tz
float64
0.02
0.4
⌀
cap_rx
float64
0.02
0.3
⌀
cap_ry
float64
0.05
0.3
⌀
cap_rz
float64
0.02
0.29
⌀
initial_design
stringclasses
2 values
seed
int64
1
99.5M
⌀
cycles_requested
int32
80
80
cycles_done
int32
80
80
stop_reason
stringclasses
1 value
evaluation_complete
bool
1 class
discrete_solve_complete
bool
1 class
history_check_ok
bool
1 class
gate_ok
bool
1 class
gate_failed_checks
listlengths
0
0
load_reductions
int32
0
0
rescue_attempts
int32
0
0
solid_fraction_discrete
float64
0.19
0.94
grey_fraction
float64
0.01
0.09
alpha_max_rel_diff
float64
0.01
0.73
symmetry_mirror_x
float64
-0.01
1
symmetry_mirror_y
float64
0.09
1
symmetry_mirror_z
float64
-0.2
1
symmetry_swap_xy
float64
-0.57
1
flexure_to_version
stringclasses
1 value
flexure_to_commit
stringclasses
1 value
engibench_commit
stringclasses
3 values
firedrake_version
stringclasses
1 value
ranks
int32
16
16
node_cpu
stringclasses
1 value
cpu_hours
float64
5.32
14.7
timestamp_utc
stringdate
2026-12-02 18:54:08
2026-12-04 01:13:14
[[[1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1(...TRUNCATED)
0.446058
0.486254
0.30765
0.052908
0.102266
0.101935
[[[0.999973475933075,0.9999728202819824,0.9999717473983765,0.9999701380729675,0.9999702572822571,0.9(...TRUNCATED)
0.446712
0.47547
0.339021
0.100082
0.170348
0.099958
0.449859
0.489647
0.310527
0.056551
0.106085
0.108475
X2
1ae97420d305
rx-rz
null
2
false
false
false
true
false
true
null
null
null
0.1
null
0.1
solid
null
80
80
n_cycles
true
true
true
true
[]
0
0
0.798492
0.034943
0.471355
0.999613
0.999889
0.999911
0.843047
1.5.2
0d5d1b6
0a29591
2026.4.2
16
AMD EPYC 7763 64-Core Processor
9.36
2026-12-02T23:48:25Z
[[[1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1(...TRUNCATED)
0.344785
0.344082
0.04129
0.076434
0.078819
0.433911
[[[0.9999757409095764,0.9999775290489197,0.9999784231185913,0.99997878074646,0.9999786615371704,0.99(...TRUNCATED)
0.346994
0.346422
0.050539
0.087936
0.08814
0.439723
0.348706
0.347932
0.046443
0.081559
0.083891
0.435998
X3
76f19f75425a
tz
null
1
false
false
true
false
false
false
null
null
0.05
null
null
null
solid
null
80
80
n_cycles
true
true
true
true
[]
0
0
0.793121
0.042267
0.183
0.189424
0.189331
0.189501
0.985684
1.5.2
0d5d1b6
0a29591
2026.4.2
16
AMD EPYC 7763 64-Core Processor
9.035556
2026-12-02T23:47:13Z
[[[1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1(...TRUNCATED)
0.557055
0.817142
0.468954
0.098454
0.538555
0.553211
[[[0.9999831914901733,0.9999832510948181,0.9999830722808838,0.9999826550483704,0.9999821782112122,0.(...TRUNCATED)
0.555562
0.797642
0.469268
0.101193
0.538325
0.534961
0.560954
0.818292
0.47217
0.104164
0.541336
0.556671
b001-rx-001
141c36475d9b
rx
1
1
false
false
false
true
false
false
null
null
null
0.1011
null
null
solid
null
80
80
n_cycles
true
true
true
true
[]
0
0
0.91449
0.022156
0.034113
0.999752
0.999741
1
0.54851
1.5.2
0d5d1b6
0a29591
2026.4.2
16
AMD EPYC 7763 64-Core Processor
6.755556
2026-12-02T23:45:00Z
[[[1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1(...TRUNCATED)
0.631545
0.717701
0.384833
0.123074
0.187884
0.442638
[[[0.9999760389328003,0.999975860118866,0.9999752640724182,0.9999744296073914,0.999973714351654,0.99(...TRUNCATED)
0.630131
0.713083
0.392152
0.132503
0.196384
0.445067
0.635326
0.719735
0.389157
0.130068
0.193907
0.448492
b001-rx-ry-001
511e8fcb9b5e
rx-ry
1
2
false
false
false
true
true
false
null
null
null
0.1302
0.1961
null
random
9,682,249
80
80
n_cycles
true
true
true
true
[]
0
0
0.898285
0.023071
0.071157
0.656524
0.350145
0.220002
0.245543
1.5.2
0d5d1b6
0a29591
2026.4.2
16
AMD EPYC 7763 64-Core Processor
9.528889
2026-12-03T00:33:05Z
[[[1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1(...TRUNCATED)
0.466374
0.506195
0.218765
0.045443
0.051434
0.167254
[[[0.9999772906303406,0.9999772310256958,0.9999769926071167,0.999976634979248,0.9999763369560242,0.9(...TRUNCATED)
0.464477
0.50774
0.221504
0.050024
0.054466
0.182872
0.471888
0.510971
0.223898
0.051978
0.058001
0.177424
b001-rx-ry-002
9d918f6cea31
rx-ry
1
2
false
false
false
true
true
false
null
null
null
0.05004
0.05449
null
random
10,423,491
80
80
n_cycles
true
true
true
true
[]
0
0
0.867737
0.023193
0.091582
0.612296
0.313364
0.237752
0.377593
1.5.2
0d5d1b6
0a29591
2026.4.2
16
AMD EPYC 7763 64-Core Processor
5.986667
2026-12-03T00:19:48Z
[[[1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1(...TRUNCATED)
0.565387
0.644651
0.361116
0.113131
0.128126
0.247321
[[[0.9999750256538391,0.9999748468399048,0.9999743700027466,0.9999735951423645,0.9999730587005615,0.(...TRUNCATED)
0.564673
0.647955
0.372556
0.119418
0.144772
0.257677
0.569476
0.647709
0.365352
0.119318
0.134409
0.255694
b001-rx-ry-004
e5b9aaf8142c
rx-ry
1
2
false
false
false
true
true
false
null
null
null
0.1193
0.1439
null
solid
null
80
80
n_cycles
true
true
true
true
[]
0
0
0.895172
0.02243
0.114982
0.690048
0.983237
0.690398
0.680756
1.5.2
0d5d1b6
0a29591
2026.4.2
16
AMD EPYC 7763 64-Core Processor
6.648889
2026-12-03T00:35:36Z
[[[1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1(...TRUNCATED)
0.414895
0.415256
0.260107
0.050202
0.049578
0.060765
[[[0.9999714493751526,0.9999712109565735,0.9999706745147705,0.9999698400497437,0.9999692440032959,0.(...TRUNCATED)
0.414026
0.413751
0.267151
0.05485
0.054072
0.064319
0.420293
0.420647
0.264124
0.055378
0.054763
0.069734
b001-rx-ry-rz-001
9b37eb8bf011
rx-ry-rz
1
3
false
false
false
true
true
true
null
null
null
0.2918
0.05455
0.06433
random
70,919,842
80
80
n_cycles
true
true
true
true
[]
0
0
0.865417
0.017029
0.084741
0.999203
0.997037
0.737546
0.99759
1.5.2
0d5d1b6
0a29591
2026.4.2
16
AMD EPYC 7763 64-Core Processor
6.093333
2026-12-03T01:56:00Z
[[[1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1(...TRUNCATED)
0.581137
0.592437
0.408364
0.126197
0.144829
0.170387
[[[0.999970555305481,0.9999701976776123,0.9999693632125854,0.9999681711196899,0.9999672174453735,0.9(...TRUNCATED)
0.579287
0.59385
0.421
0.134067
0.160364
0.178445
0.584847
0.596022
0.41175
0.131619
0.150149
0.179031
b001-rx-ry-rz-003
d62bf02c1010
rx-ry-rz
1
3
false
false
false
true
true
true
null
null
null
0.1362
0.2062
0.1785
solid
null
80
80
n_cycles
true
true
true
true
[]
0
0
0.897766
0.019409
0.096873
0.998332
0.998364
1
0.97236
1.5.2
0d5d1b6
0a29591
2026.4.2
16
AMD EPYC 7763 64-Core Processor
7.155556
2026-12-03T02:05:07Z
[[[1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1(...TRUNCATED)
0.496333
0.495486
0.319708
0.077574
0.08062
0.098271
[[[0.9999702572822571,0.9999698996543884,0.9999692440032959,0.9999682903289795,0.9999675154685974,0.(...TRUNCATED)
0.490882
0.496577
0.332824
0.083856
0.092725
0.106089
0.501008
0.500241
0.323648
0.083128
0.086189
0.107641
b001-rx-ry-rz-004
411f79bf7912
rx-ry-rz
1
3
false
false
false
true
true
true
null
null
null
0.09078
0.1122
0.106
solid
null
80
80
n_cycles
true
true
true
true
[]
0
0
0.885742
0.0224
0.130549
0.9985
0.998065
1
0.99718
1.5.2
0d5d1b6
0a29591
2026.4.2
16
AMD EPYC 7763 64-Core Processor
6.368889
2026-12-03T02:02:10Z
[[[1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1(...TRUNCATED)
0.344946
0.372228
0.248561
0.072176
0.110813
0.052469
[[[0.9999850392341614,0.998965859413147,0.979092538356781,0.9833983778953552,0.9996022582054138,0.99(...TRUNCATED)
0.383165
0.391143
0.290518
0.114538
0.164881
0.06021
0.3514
0.378304
0.252649
0.075421
0.115065
0.058877
b001-rx-rz-001-rerun
c488032dd648
rx-rz
1
2
false
false
false
true
false
true
null
null
null
0.1146
null
0.06018
solid
null
80
80
n_cycles
true
true
true
true
[]
0
0
0.752228
0.042664
0.369848
0.998875
0.999627
0.999939
0.793636
1.5.2
0d5d1b6
b2141eb
2026.4.2
16
AMD EPYC 7763 64-Core Processor
10.16
2026-12-04T01:12:50Z
End of preview. Expand in Data Studio

Flexure 3D v0

Three-dimensional flexures (compliant mechanisms in one piece) from topology optimisation, each with its simulated stiffness in six motions. The dataset belongs to the problem Flexure3D of EngiBench. It is meant for inverse design: given six stiffnesses, find a design that has them.

Status: Intermediate version of 4 December 2026: the pilot and the first two of ten production blocks. Until the dataset is final, rows can move between the splits when a new version is published.

Licence: CC BY-NC-SA 4.0, as for all EngiBench datasets. You may use and change the data for non-commercial purposes if you name the source and share your version under the same licence.

from datasets import load_dataset
import numpy as np

dataset = load_dataset("svmarti/flexure_3d_v0")
row = dataset["train"][0]
design = np.array(row["optimal_design"], dtype=np.float32)  # (32, 32, 32), only 0 and 1
alpha = [row[f"alpha_{m}"] for m in ("tx", "ty", "tz", "rx", "ry", "rz")]

The problem

A cube of 40 mm is divided into 32 x 32 x 32 elements. Its bottom face is fixed. Its top face is moved as a rigid body, in one of six ways: by 2 mm along x, y or z (tx, ty, tz), or by 0.1 rad about the same axes through the centre of the cube (rx, ry, rz). The material is linear elastic with the properties of a soft filament (FibreFlex 40D), and the strains are small.

alpha of a motion is the strain energy of the design divided by that of the solid cube under the same motion. In this linear setting it is the ratio of the stiffnesses: 1 is as stiff as the solid cube, 0.1 is ten times softer.

The responses hold for small strokes. They were computed at the strokes above, but in a linear model an alpha does not depend on the stroke. A real flexure that is bent far is stiffer or softer than that, and it can behave differently in +x and -x. The dataset says nothing about this.

Every design comes from an optimisation that keeps the alphas of one to five compliant motions below given caps and makes the other motions as stiff as possible. Sets of compliant motions that differ only by exchanging x and y are one class. This version has designs of 38 of the 38 classes. The caps are spread evenly on a logarithmic scale, independently for every motion: from 0.02 to 0.30 for a single compliant motion and from 0.05 to 0.30 for sets. (The pilot also has 0.40 for single motions.)

A row

Axis order: axis 0 is z (from the fixed to the moved face), axis 1 is y, axis 2 is x.

Column Meaning
optimal_design The discrete design: only 0 (empty) and 1 (solid). It is the continuous design, thresholded at a density of 0.5; contacts along edges and corners are filled, and parts without a connection between the two faces are removed.
alpha_tx ... alpha_rz The response of optimal_design, solved as it is. These are the conditions of the EngiBench problem.
optimal_design_continuous The density from the optimiser, between 0 and 1.
alpha_continuous_* The response of optimal_design_continuous.
alpha_export_* The response of the discrete design as the optimisation code reports it. There, empty cells have the density 0.001 instead of 0, which makes compliant motions about 4 % stiffer (median). Do not mix it with alpha_*.
compliant_class, n_compliant The class of the compliant motions, for example tx-ry, and their number. Sets that differ only by exchanging x and y have the same class.
compliant_*, cap_* What the optimiser was asked for. The caps are limits, not targets: use alpha_* as the label.
initial_design, seed The optimiser started from a solid cube or from a random density.
request_id The same for rows that answer the same request.
sample_id, block Name of the sample, and the production block (empty for the pilot).
cycles_done, cycles_requested, stop_reason Whether the optimisation finished.
gate_ok, gate_failed_checks Whether the discrete design passes the print check, and what it fails.
evaluation_complete, discrete_solve_complete, history_check_ok Whether all responses could be computed, and whether the evaluation reproduced the last cycle of the optimisation.
alpha_max_rel_diff The largest relative change of an alpha by thresholding.
symmetry_mirror_x, _y, _z, symmetry_swap_xy Correlation of the continuous design with its image; 1 for a symmetric design.
solid_fraction_discrete, grey_fraction Share of solid cells in the discrete design, and of cells between 0.2 and 0.8 in the continuous one.
load_reductions, rescue_attempts Interventions of the optimiser after a failed solve.
flexure_to_version, flexure_to_commit, engibench_commit, firedrake_version, ranks, node_cpu, cpu_hours, timestamp_utc Where the row comes from.

Splits

  • train, val and test hold the rows whose optimisation finished, whose responses are complete and whose design passes the print check.
  • flagged holds all other rows. They are valid pairs of design and response, but the designs are unfinished or nearly solid. Leave them out of training and evaluation. Where an optimisation stopped early, the request was usually run again; the finished row has the same request_id and is in another split.
  • Rows with the same compliant motions and caps are always in the same split, whatever their starting design. Flagged rows are the only exception.

Rows per class of compliant motions:

Class train val test flagged total
tx 6 1 1 0 8
tz 9 1 1 1 12
rx 10 1 0 1 12
rz 6 1 1 0 8
tx-ty 6 1 1 0 8
tx-tz 5 1 2 0 8
tx-rx 7 0 1 0 8
tx-ry 7 1 1 0 9
tx-rz 6 1 0 0 7
tz-rx 7 0 1 0 8
tz-rz 5 1 2 0 8
rx-ry 6 0 1 0 7
rx-rz 6 1 0 2 9
tx-ty-tz 7 1 0 0 8
tx-ty-rx 6 0 1 0 7
tx-ty-rz 6 1 2 0 9
tx-tz-rx 7 0 1 0 8
tx-tz-ry 7 1 0 0 8
tx-tz-rz 6 1 0 1 8
tx-rx-ry 7 1 0 0 8
tx-rx-rz 6 1 0 0 7
tx-ry-rz 6 0 1 0 7
tz-rx-ry 6 1 0 0 7
tz-rx-rz 7 1 0 1 9
rx-ry-rz 6 1 1 0 8
tx-ty-tz-rx 2 0 2 0 4
tx-ty-tz-rz 3 0 0 0 3
tx-ty-rx-ry 2 1 0 0 3
tx-ty-rx-rz 3 0 1 0 4
tx-tz-rx-ry 2 1 0 0 3
tx-tz-rx-rz 2 0 1 0 3
tx-tz-ry-rz 2 0 1 0 3
tx-rx-ry-rz 1 0 1 1 3
tz-rx-ry-rz 2 0 1 0 3
tx-ty-tz-rx-ry 2 0 0 0 2
tx-ty-tz-rx-rz 1 2 0 0 3
tx-ty-rx-ry-rz 2 0 0 0 2
tx-tz-rx-ry-rz 3 0 0 0 3
all 190 23 25 7 245

Symmetry

The problem does not change when the cube is mirrored or when x and y are exchanged. Every design therefore has up to 16 images whose response is known without a solve:

Image Design (NumPy) Response
Mirrored in x, y or z design[:, :, ::-1], design[:, ::-1], design[::-1] unchanged
x and y exchanged design.transpose(0, 2, 1) tx and ty change places, and so do rx and ry

Eight images were solved as a check: every alpha agreed with the prediction within 1e-5. The images are not in the dataset. Generate them for training, and keep all images of a design in one split.

How exact are the labels?

  • Simulating a stored design again gives the stored alphas, up to the tolerance of the solver.
  • Different designs can have the same response. Judge a generated design by simulating it, not by comparing its cells with a design of the dataset.
  • Asking the optimiser for the same design again gives a slightly different one. Two runs of the same request differ by rounding errors, which grow from cycle to cycle. They grow most where a run starts symmetric and loses its symmetry on the way, because they then decide the direction. That happens mostly with a solid start and a compliant tz. This is the noise of the optimiser and not of the labels: every label belongs to the design in its own row.

Some requests were run more than once to measure this. For each of them, the table takes the alpha that differs most between the finished runs:

Requests with run more than once median of the largest difference of an alpha largest
1 compliant motion 2 1.3 % 2.6 %
2 compliant motions 6 1.2 % 2.3 %
3 compliant motions 5 1.3 % 1.7 %
4 compliant motions 2 2.6 % 4.7 %
5 compliant motions 2 10.7 % 21.0 %
solid start and compliant tz 8 1.8 % 21.0 %
all 17 1.3 % 21.0 %

How it was made

Optimiser and solver flexure_to 1.5.2 (commit 0d5d1b6), on Firedrake 2026.4.2
Scripts EngiBench fork, commit 0a29591, 8ad9d1b, b2141eb
Optimisation 80 cycles of the method of moving asymptotes, density filter of 4 mm, projection from cycle 41 on
Linear solver stops after 1,000 iterations; after 300 in the pilot and in block 1, where some runs stopped early because of it. A run that finished is not affected by the limit
Elements eight-node bricks with a constant pressure per element
Runs 16 MPI processes each, 1983 CPU-hours in total, on the Euler cluster of ETH Zurich
Downloads last month
-