LEONSIM Workbench demo

CAD thatsimulates.

A Formula 1 car coloured by surface pressure: blue suction on the wings and floor edges, red stagnation on the wing leading edges and tyre fronts

Geometry, meshing, CFD, FE and post-processing in one pipeline, running on the GPU. A design change goes from shape to a full aerodynamic report in seconds.

57 swhole F1 aero job, geometry to report9.6×OpenFOAM, meshing included0.4 sto mesh 0.64 M cells31 msper iteration on 4.3 M cells4 ¢per cloud run230+automated checks
// 01 Platform

Shape to answer on one device.

No file conversion, no hand meshing, no solver tuning. The geometry feeds every solver directly, and the whole chain runs where the data already is: on the GPU.

01 / 04
GPU + Rust

Geometry

A CAD kernel written from scratch: exact Booleans, smooth blends, sketches with fillets, extrude, revolve, pipe and patterns. STL and STEP parts join as nodes.

26–82×faster than NumPy
The car split into components: front wing, body, floor, wheels and rear wing in different colours
02 / 04
GPU

Mesh

Graded Cartesian grids with planar-exact cut cells follow from the geometry, refined where the part needs it. There is no meshing step to babysit.

7 sF1 car set-up
0.4 s0.64 M cells
The underside of the car coloured by surface pressure
03 / 04
CFD on GPUFE on CPU

Solve

RANS k-ω SST aerodynamics with moving ground and rotating wheels on the GPU. Flow, heat, structures and additive manufacturing run in the same runner.

31 msper iteration
35×a 16-thread CPU
Flow speed and streamlines on the centre plane of the car
04 / 04
GPU

Post-process

Forces with a per-component split, surface and floor pressure, wake planes, vorticity and VTK fields in one report, with every numerical risk flagged as a warning.

1command per study
Vorticity just above the ground: tyre wakes and floor-edge vortices
// 02 Capabilities

The datasheet.

What ships today and where it runs. Everything here is covered by automated checks.

ModuleMethodRuns on
CAD kernelImplicit geometry, exact Booleans and blends, sketches, extrude, revolve, pipe, patterns; STL and STEP import; watertight STL mesherGPU + Rust
MeshingGraded Cartesian grids with planar-exact cut cells, built from the geometryGPU
External aerodynamicsSteady RANS k-ω SST with wall functions, moving ground, rotating wheelsGPU
Structures (FE)Matrix-free voxel and finite-cell elasticity with multigrid: statics, modal (also prestressed), harmonic response, linear bucklingCPU · GPU next
Internal flow and heatLaminar steady and time-accurate flow, conjugate heat transfer, coupled to stressCPU
Additive manufacturingPrintability, build direction, supports, trapped powder, thin walls, LPBF distortionCPU
Post-processingForce split, surface and floor pressure, wake planes, vorticity, VTK; GPU rasterizer for surface rendersGPU
AgentsMCP tool server: an AI agent writes a spec, runs it and reads the KPIs, warnings and reportAny device
// 03 GPU

Any GPU. No lock-in.

One set of kernels runs through Vulkan, Metal and DX12: NVIDIA data-centre cards, AMD and Apple laptops, even the integrated GPU of a mini PC.

  • Every stage on the deviceGeometry, grid, solver, forces, running means and surface renders. Post-processing stays on the GPU between iterations.
  • Bit-reproducibleRepeated runs are bit-identical, and every GPU kernel is checked against its CPU twin on T4, L4, A10G, L40S, A100, H100, Radeon 680M and a software driver.
  • Portable by designWGSL kernels through wgpu: Vulkan on NVIDIA and AMD, Metal on Apple, DX12 on Windows. No CUDA required.
// 04 Benchmarks

Faster than OpenFOAM, on the same laptop.

Ahmed body with a 25° slant, k-ω SST with wall functions, same Apple M3 Pro laptop. Time from geometry until the 100-iteration running mean of drag stays within 2 % of its final value, the same test for both codes, meshing included. This table is about speed: the 3D path is a preview, unvalidated, so its drag figures are not shown.

RunCellsTime to a stable drag meanSpeed-up
LeonSim, GPU (Metal)636 k3.6 s9.6×
LeonSim, native Rust CPU, 11 threads636 k23.3 s1.5×
OpenFOAM v2412 (snappyHexMesh + simpleFoam)327 k34.8 s1.0×

OpenFOAM is the best of 2, 5 and 8 ranks. The Ahmed wake oscillates rather than reaching a fixed point: no Ahmed run so far, LeonSim's or OpenFOAM's, has reached a steady solution, so every Ahmed coefficient is an iteration mean, and LeonSim's 3D body-fitted path has not yet been validated against OpenFOAM or the wind tunnel. What each case has passed, and what it has not, is on the validation scoreboard.

230+automated checks against analytic solutions, published data, OpenFOAM and a real browser
±2 %spread of drag over the iterations of a single Formula 1 run (downforce ±10 %), reported with every result
8 / 8GPU kernel checks on eight devices, and on a software GPU in CI on every change
// 05 Showcase

From an STL to a full aero report.

Formula 1 is the hardest test we run: thin wings, ground effect, rotating wheels and a mesh full of display-model defects. One command does all of it.

2026 concept car

From a public STL, repaired automatically.

Holes, loose patches, thin plates and open rims are fixed on import, then the car is solved with a moving ground and rotating wheels.

1.47 m²downforce
1.09 m²drag
30 %front balance

8.5 M cells, the whole job in about a minute on an NVIDIA L40S. Iteration means: the run has not reached a steady solution, and drag moves ±2 %, downforce ±10 % with where it stops (why).

Read the full study
Surface pressure on the 2026 concept car, three-quarter rear view
Flow speed and streamlines on the centre plane of the car, showing the slow wake behind it
Speed on the centre plane with streamlines: accelerated flow over the nose and engine cover, the slow wake behind the rear wing and diffuser.
Surface pressure on the underside of the car
From below: suction under the floor and in the diffuser carries most of the downforce.
Vorticity just above the ground: tyre wakes and floor-edge vortices
Vorticity 4 cm above the moving ground: tyre wakes and the floor-edge vortices that seal the underbody.
Cold plateFlow, conjugate heat and coolant-pressure stress in one run, about 5 s.
Bolted bracketA CAD part held by its bolt holes and loaded through its pin hole.
Stiffened panelStress and linear buckling of a thin-walled structure.
Tuning forkNatural frequencies from the geometry: it rings near 440 Hz.
LeonSim Workbench: spec editor, 3D temperature view with coolant streamlines and KPIs for a liquid cold plate
// 06 Workbench and agents

Drive it from a browser, a script or an AI agent.

Write a spec, run it and explore the result in 3D: colour by temperature, stress or pressure, follow streamlines, cut sections, animate mode shapes, and click the part to place supports, loads and heat sources.

# a full F1 aero report on the GPU
$ leonsim aero f1 --level medium --backend gpu
# flow, heat and stress of a cold plate
$ leonsim run examples/cases/coldplate.yaml
# the Workbench, and the MCP server for agents
$ leonsim web --open
$ leonsim mcp

New to it? Follow a tutorial: a 2D airfoil checked against OpenFOAM, and the Ahmed body in the Workbench, each step with a screen recording.

// 07 Roadmap

What comes next.

Not shipped yet, in the order we are building it.

NextStronger GPU pressure solveThe pressure correction is about 80 % of each GPU iteration: the next big speed lever.
NextStructures on the GPUBring the FE solvers onto the same device pipeline as the CFD.
PlannedUnsteady RANS and DDESTime-accurate wakes, for credible wheel and diffuser flows and tighter downforce.
PlannedAdaptive octree gridsFewer cells in empty air, more in wing slots and gaps.
PlannedExact NURBS B-repA full STEP round trip alongside the implicit kernel.
PlannedValidation at scaleHundreds of Ahmed and Windsor body variants against published data sets.

See a full simulation in your browser.

The Workbench demo holds stored results of 18 example cases, from a cold plate to a tuning fork.