jackstev's picture
SimpleSim bracket FEA runs: three dataset folders, seeded splits and the card
8db6d05 verified
|
Raw History Blame Contribute Delete
9.73 kB
metadata
license: cc-by-4.0
pretty_name: SimpleSim bracket FEA runs
language:
  - en
task_categories:
  - tabular-regression
tags:
  - finite-element-analysis
  - structural-mechanics
  - surrogate-modeling
  - engineering-design
  - synthetic
  - calculix
size_categories:
  - 1K<n<10K
configs:
  - config_name: l_bracket_gusset_v1
    default: true
    data_files:
      - split: train
        path: formal_v1_l_bracket_gusset_v1/splits/train.csv
      - split: validation
        path: formal_v1_l_bracket_gusset_v1/splits/calibration.csv
      - split: test
        path: formal_v1_l_bracket_gusset_v1/splits/test.csv
  - config_name: l_bracket_v0
    data_files:
      - split: train
        path: formal_v0/splits/train.csv
      - split: validation
        path: formal_v0/splits/calibration.csv
      - split: test
        path: formal_v0/splits/test.csv
  - config_name: multifamily_v1
    data_files:
      - split: train
        path: formal_multifamily_v1/train.csv
      - split: validation
        path: formal_multifamily_v1/validation.csv
      - split: test
        path: formal_multifamily_v1/heldout_test.csv

SimpleSim bracket FEA runs

3,048 linear-static finite-element solves of parametric steel brackets, made to train the surrogate models behind SimpleSim, a course prototype that helps a student choose bracket dimensions after a simulation. Each row is one design: its dimensions, and the peak von Mises stress, maximum deflection and mass that CalculiX computed for it.

Source

The data is synthetic. No measurements, no third-party data and no personal data. The team generated every row with its own open pipeline: CadQuery builds the solid from the dimensions, Gmsh meshes it with second-order tetrahedra, and CalculiX 2.23 solves it. Nothing was filled in or imputed: a design that failed to mesh or solve was retried, and every attempt is logged in failure_attempts.csv. All planned designs ended up solved (failures.csv is empty in each folder).

All runs share one load case:

Support the vertical back face at X = 0, fully fixed
Load 500 N along -Y, spread over the free-end face
Material linear elastic, isotropic: E = 200,000 MPa, yield 250 MPa, density 7,850 kg/m3
Poisson's ratio sampled per design, 0.25 to 0.35

What is in it

Config (folder) Rows Bracket families Sampling Inputs
l_bracket_gusset_v1 (formal_v1_l_bracket_gusset_v1/) 2,048 L-bracket with one gusset rib scrambled Sobol, seed 20261116 8 dimensions and Poisson's ratio
l_bracket_v0 (formal_v0/) 200 plain L-bracket Latin hypercube, seed 20261111 5 dimensions and Poisson's ratio
multifamily_v1 (formal_multifamily_v1/) 1,000 the 200 v0 runs again, plus 80 runs for each of ten templates (T01 double hole to T10 offset planform) 60 Latin hypercube and 20 paired mass-reduction variants per template 20 shared CAD descriptors; each template's own dimensions are in design_manifest.csv

That is 3,048 distinct solves: 200 + 2,048 + 800 new template runs.

Main columns of model_dataset.csv (v0 and v1):

Column Unit Meaning
design_id row key, not a feature
thickness_mm, flange_length_mm, arm_width_mm, hole_diameter_mm, fillet_radius_mm mm shared L-bracket dimensions
vertical_height_mm, gusset_thickness_mm, gusset_length_mm mm v1 only
poissons_ratio sampled material input
reference_max_stress_mpa MPa label: peak von Mises stress at the reference load
reference_max_disp_mm mm label: maximum displacement magnitude
volume_mm3, reference_mass_kg mm3, kg deterministic from the geometry, not learning targets
mesh_rule, source how the row was meshed and solved

Units are in the column names. multifamily_v1 uses the 20 feature columns and 2 label columns listed in formal_multifamily_v1/feature_schema.json.

Sampled ranges (v1): thickness 4 to 10, flange length 75 to 120, arm width 32 to 60, hole diameter 6 to 12, fillet radius 2.5 to 8, vertical height 50 to 90, gusset thickness 3 to 10, gusset length 12 to 35 (all mm). v0 uses the same ranges for its five dimensions, with the fillet from 2 mm and the leg height fixed at 60 mm. Label ranges: v1 stress 67 to 1,032 MPa and deflection 0.03 to 4.6 mm; v0 stress 49 to 552 MPa and deflection 0.08 to 4.0 mm.

Each folder also keeps the evidence behind its labels: sample_plan.csv (the plan before solving), runs.csv (the project's contract format), run_diagnostics.csv (node counts, element quality, reaction balance, solve times), quality_checks.csv, summary.json, and for v1 the mesh study. formal_multifamily_v1/ adds ten baseline STEP files, the audit summary and SHA-256 hashes of its files.

Preparation

  • Mesh. v0: uniform second-order tets, maximum size min(2 mm, thickness / 3). v1: curvature-based sizing (16 elements per circle), maximum size min(3 mm, thickness / 2, gusset thickness), chosen by a three-level mesh study in which the production level was within 1.5% of the finest on peak stress. Templates: a representative mesh per template with stress within 3% and deflection within 1% of the next level.
  • Checks on every row. Reaction forces balance the applied load (worst relative imbalance 3.2e-7 on v1 and 6.3e-7 on the multi-family table, limit 0.01), minimum element quality above 0.1, all outputs positive, inputs inside the documented ranges, and the Sobol or Latin hypercube plan balanced across bins. Results are in each folder's quality_checks.csv or audit_summary.json.
  • No cleaning beyond that. No rows were dropped, clipped or rescaled. Labels are the solver's values at 500 N.

Splits

Config Train Validation Test How
l_bracket_gusset_v1 1,474 164 410 random, seeded: 20% test, then 10% of the rest held out to calibrate the models' 90% bands
l_bracket_v0 144 16 40 the same rule
multifamily_v1 736 184 80 by design family: the test split is the whole T07 stepped family, which never appears in train or validation; a paired variant stays in its anchor's split

For v0 and v1 the split is not stored in the source tables. It is cut by split_indices(n, seed=0) in src/models/datasets.py, and the splits/ files here are that cut written out, so the Hub viewer and the training code agree row for row. The validation split of v0 and v1 is used to calibrate uncertainty bands, not to tune hyperparameters. formal_multifamily_v1/model_dataset_1000.csv holds all 1,000 rows with a split column and should not be used for training without filtering on it.

Load it

from datasets import load_dataset

v1 = load_dataset("jackstev/simplesim-bracket-fea", "l_bracket_gusset_v1")   # train / validation / test
mf = load_dataset("jackstev/simplesim-bracket-fea", "multifamily_v1")

or with pandas: pd.read_csv("hf://datasets/jackstev/simplesim-bracket-fea/formal_v1_l_bracket_gusset_v1/model_dataset.csv").

Intended use

Training and testing surrogate models that predict peak stress and deflection of these bracket families from their dimensions, for teaching and for design-space search where a solver later checks the finalists.

Coverage limits

  • Twelve bracket families, one load case. One support, one load direction, one load magnitude, static, linear elastic. Stress scales with the load and deflection with load over stiffness, so other loads and moduli can be scaled, but no other load direction, no contact, no plasticity, no buckling and no fatigue is in the data.
  • Stress above yield is not physical. 43% of v1 rows, 20% of v0 rows and 29% of the multi-family rows exceed the 250 MPa yield strength. Those values are valid linear-elastic results and useful for learning the trend, but the real part would have yielded.
  • v0 peak stress reads low for small fillets. Re-solving 48 v0 designs on the v1 mesh rule gave a median ratio of 1.000 but up to 16% higher stress for fillets under about 4 mm. Deflection was unchanged. The v0 labels are published as generated. Details: docs/models.md.
  • v1 peak stress carries about 2% mesh noise at the gusset junction fillet.
  • Templates have 80 rows each, enough for a per-template fit and thin for anything else. The T07 test split measures one unseen family, not arbitrary shapes.
  • Numerical checks are not physical validation. No row has been compared with a physical test or with a second solver. The 20 CAD descriptors do not uniquely describe a shape.
  • Not for certifying a design. A shortlisted design needs a real solver check and an engineer's review.

License and citation

CC BY 4.0. Credit: SimpleSim team (Jin Can, Yunus Polatoglu, Arin Rothschild, Jack Stevens), Carnegie Mellon University, course 24-679, Fall 2026. The generating code is MIT licensed in the GitHub repository.