All projects Machine learning × FEM simulation

Data-driven crash optimisation of Voronoi cellular structures

A surrogate-assisted pipeline that generates, simulates and optimises impact-absorbing cellular geometries for protective equipment. The best design absorbs twice as much energy as the dataset average.

Context
MSc individual project, HES-SO, in collaboration with the inTECH institute
Period
Spring 2026
Role
Sole author, from idea to results
Output
Config-driven Python pipeline + 3D-printable designs
Implicit FEM compression of a surrogate-optimised candidate (CMA-ES), coloured by von Mises stress. The load spreads across the whole ligament network instead of collapsing into a single crush band.
Overview

At a glance

~20k
Voronoi geometries generated and labelled
6,500
explicit crash simulations run in parallel
0.88
R² of the CNN surrogate on held-out test data
2×
energy absorbed by the best FEM-validated design
My role: sole author

I conceived and built this project end to end: the idea of a surrogate-assisted pipeline, the procedural geometry generator, the FEM setup and calibration with two solvers, the CNN and VAE models, the optimisation strategies and the final validation. Every design decision and every line of the pipeline is my own work.

Challenge

Too many designs, too slow to simulate

Helmets, body protection and safety padding rely on cellular materials that crush progressively to absorb impact energy. Additive manufacturing makes almost any cell geometry printable, but finding a good one means evaluating thousands of candidates with nonlinear finite-element simulations, each taking minutes on a workstation.

The goal was to build a reusable, data-driven pipeline that explores the design space far faster than brute-force simulation, and to check whether it finds geometries that really perform better.

Approach

From geometry to optimised design

Five stages, each a standalone, configurable Python module driven by a central YAML config.

GenerateVoronoi → PNG
SimulateFEM labels
LearnCNN surrogate
OptimiseVAE · CMA-ES
Validatefull FEM

Procedural geometry generation

Voronoi tessellations with seeds placed by Mitchell's best-candidate algorithm, converted to a signed distance field and smoothed with a Gaussian filter to control wall rounding. Cell density and rounding were swept with Latin Hypercube Sampling for uniform coverage of the design space.

  • NumPy
  • SciPy
  • LHS

Finite-element labelling with two solvers

Explicit dynamic crash simulations with OpenRadioss, using a custom HEX8 keyword writer and a parallel batch runner, after calibrating impactor velocity and time step. Implicit quasi-static simulations with a scikit-fem solver for fast, stable labels. The target is the internal energy absorbed at 70% compression, before densification.

  • OpenRadioss
  • scikit-fem
  • multiprocessing

CNN surrogate model

A lightweight convolutional network (~300k parameters) predicts absorbed energy directly from the geometry image. It was trained on an 80/10/10 split with normalised labels, flip augmentation, learning-rate scheduling and early stopping. Inference takes milliseconds instead of minutes.

  • PyTorch
  • CNN

Two optimisation strategies, compared

Latent-space search: a variational autoencoder learns a continuous representation of the geometries, and gradient ascent through the surrogate looks for high-energy designs. Direct parametric search: CMA-ES optimises the Voronoi parameters, guided by either the surrogate or the FEM solver itself. The top candidates were re-simulated with full FEM.

  • VAE
  • CMA-ES
  • Gradient ascent
Results

Twice the energy absorption

The surrogate reaches R² ≈ 0.88 with an RMSE of about 2.3 J on unseen geometries, accurate enough to rank candidates without running a simulation. CMA-ES produced the most consistent designs: the best FEM-validated geometry absorbs about 64 J per tile, compared with an average of 29 J in the training dataset.

Learnings

What the optimiser taught me

Optimisers exploit the model

The VAE search drifted towards almost solid geometries that score high just by adding mass. Optimisation needs physical constraints, not just a good surrogate.

Wall rounding matters most

The best designs share strongly rounded junctions, which spread the load across every ligament.

Validate where it matters

Near the top of the distribution the surrogate is less reliable, so FEM-in-the-loop CMA-ES gave the most trustworthy designs.

Next steps

Larger explicit-dynamic datasets with plasticity and contact, then physical compression tests on 3D-printed specimens.

Stack

Tools & techniques

Machine learning
  • PyTorch
  • CNN regression
  • Variational autoencoder
Optimisation
  • CMA-ES
  • Latent gradient ascent
  • Latin Hypercube Sampling
Simulation
  • OpenRadioss (explicit)
  • scikit-fem (implicit)
  • Parallel batch runs
Geometry & data
  • NumPy
  • SciPy
  • Signed distance fields
  • STL export
  • YAML config
Next project

FlawFinder