Developer Blog · beyondmath.com

Physics Factory · Cadgen2 · motorsport aerodynamics

Real-Time Modification of F1 Aerodynamic Surfaces

Cadgen2 generates engineering-grade CAD assemblies from specifications, produces controlled design variants with defeatured geometry and extracts DOE parameterisations from imported CAD models. This article covers the second case study: a 2022-generation Formula 1 car. The parameterisation was derived from the supplied surface without a feature tree, and the front wing, wheel arch and rear diffuser are modified simultaneously and interactively.

BeyondMath · September 2026

Cadgen2 modifying an F1 front wing: flap angle handle at -3.84 degrees, with displacement shown as a colour field over the wing surface
Flap angle on elements 3 and 4, swept within its −4 … 4° DOE range. Colour indicates displacement as a fraction of that part's maximum displacement; the rest of the car is ghosted.

The aerodynamic problem

The front wing determines the upstream flow conditions for the rest of the car. Its wake conditions the flow onto the floor leading edge, sidepod inlets, brake ducts and diffuser, so a front wing change affects the flow along the full length of the car. The wheel arch operates in the front wing wake and in the separated flow from the tyre, and diffuser performance depends on the flow arriving at its inlet. Performance differences between candidate designs are driven by a small set of geometric quantities:

Identifying the best-performing combination requires generating and evaluating many variants of these surfaces. In conventional CAD this is slow and expensive, for reasons specific to this class of geometry:

Current workflow constraints

Engineering-grade CAD production is largely manual. The main costs are:

Cadgen2 is an AI-driven CAD engine that automates assembly creation, modification and specification, and connects to physics-based evaluation so that variants are generated and assessed within a single workflow. Outputs include per-part specifications, GD&T records, a bill of materials and STEP geometry.

Capabilities

Model generation incorporates automated verification to detect and resolve non-physical geometry, specification inconsistencies and constraint violations. All validation checks execute directly on the generated geometry and exported files.


The Cadgen2 approach

Inputs to the study were the geometry, the permitted dimensional ranges and the optimisation objectives. No parametric model, feature tree or construction history was supplied, and no handles were defined manually.

Cadgen2 analysed the supplied CAD to determine the parameterisation: which quantities are available as control handles, the extent of each handle's region of influence, and how displacement blends into the surrounding surface. The result was 28 DOE handles across three assemblies:

The parameterisation has three relevant properties:

Modification is multi-assembly and simultaneous. A handle acts on a set of surfaces instead of a single patch. Flap angle rotates elements 3 and 4 together because that is the aerodynamically relevant degree of freedom. Both sides of the car are morphed, with the right side derived as the mirror of the left. The study model contains 46 parts; the front wing and wheel arch are morphed and the remaining parts are held at their as-built geometry.

Engineering interfaces are held automatically. The front wing mount band (|y| ≤ 170 mm) has zero weight for every handle, so the wing remains exactly on its mounting face at every DOE setting and nearby deformations do not displace it. The wheel arch in this study is an imported surface that occupies the same space as the parametric arch it replaces, so spatial alignment is maintained without re-registration after each edit.

Displacement fields are defined over space, not per part. A diffuser handle that raises the tunnel roof also moves the strakes mounted on it, because the field is evaluated at the strake positions. The strakes remain attached to the roof, consistent with the physical assembly.

Front wing and wheel arch: 16 handles, each swept to the upper limit of its DOE range. Colour shows the displacement of each point as a fraction of that handle's maximum displacement, and per-handle validity metrics are displayed on each frame.
Rear diffuser and strakes: 12 handles, swept and coloured as above.

Geometric validity metrics

Each handle is swept to its DOE limit to confirm that the morph remains valid across the full range. Validity is measured on the mesh, not assessed visually. Representative values at the limit:

Handle validity at the DOE limit · measured on the mesh
HandleRangeMaterial movedCrease p99Surface creasedFoldsFlipped area
flap angle (E3+E4)−4 … 4°20.45 mm2.6°0%00%
upper slot gap (arch)−4 … 8 mm8 mm15.2°4.02%00.0009%
roof at the throat−15 … 15 mm15 mm6.2°0.62%00%

These metrics determine whether a surface can be meshed and solved. Crease is the added dihedral angle between adjacent facets, reported at the 99th percentile with the fraction of surface area affected. Folds is the number of self-intersections in the deformed surface. Flipped area is the fraction of surface area with an inverted normal. For the three handles above and across the full sweep, folds are zero and flipped area is zero or 0.0009%, with vertex ordering preserved to within 0.009 mm. Morphed surfaces are passed to the mesher without a repair step.

Limitations: the displacement field deforms a supplied baseline and does not add or remove topology, so a feature absent from the imported geometry cannot be introduced by a handle. On B-rep input, the field is fitted to the NURBS poles instead of applied exactly; the residual is measured against the exact field, and the fit is rejected if it exceeds tolerance in the displaced region. On mesh input, vertices are displaced exactly.

Effect of real-time modification

A single handle is applied to the full surface in under one second. On a comparable 90,497-triangle car surface, application time was 465–547 ms across three settings, which is compatible with an interactive loop instead of a rebuild cycle. This has three consequences:

The first case study in this series is covered in the companion post: an engineering assembly generated from a written specification, expanded to 50 variants and solved with explicit structural simulation.

AI-driven CAD design and optimisation

Cadgen2 is a component of the Physics Factory platform. It generates the geometric variation required for physics-based optimisation. These variants are used to train models built on BeyondMath's foundational Physics AI, and the trained models are used to optimise designs against simulated physical response instead of a proxy metric.

Variant requirements differ by use case. Design exploration on a released product typically requires a small number of controlled variants with correct specifications and a BOM. A training campaign requires several hundred decorrelated variants with solver decks attached. Both are generated from a parameter table applied to a single layout model. Each variant is stored as a parameter state of a few hundred bytes and rebuilds to identical geometry.

Get access

Generate and simulate design variants

Physics Factory covers geometry generation, simulation and model training on your own data, for structural, CFD, thermal and other physics.

Get access

© 2026 BeyondMath · beyondmath.com