All Articles
Wireframe of a cambered foil on a dark grid

What is the sim-to-real gap in engineering simulation?

Why AI models trained on simulations often miss on real measurements, where the gap comes from, and how to test a model before you trust it on real data.

The sim-to-real gap is the difference between how a system behaves in simulation and how it behaves when you measure it for real. An AI model trained only on simulations learns the simulation, including its simplifications. When it meets real measurements, its accuracy can drop. Closing that gap is one of the main open problems in physics AI, and the main reason engineers ask how far a model can be trusted outside the data it was trained on.

Where does the sim-to-real gap come from?

Simulation and measurement are both imperfect, in different ways.

Simulations simplify. A CFD run relies on a turbulence model, idealized boundary conditions, a perfect geometry and a finite mesh. Each choice is reasonable, and each one moves the result a little away from what happens in the tunnel or on the test bench.

Measurements are noisy and incomplete. Sensors have a resolution limit, a noise floor and blind spots. A flow measurement may miss the region right next to the body, or capture only a slice of a three-dimensional flow.

The two kinds of data also come in very different amounts. Simulations can be run by the hundred. Real tests are expensive, so there are only a few of them, often at a handful of operating points.

Why does it matter for AI surrogate models?

A surrogate model learns the behavior of a system from data, so it can predict a new case in seconds instead of rerunning the solver. That makes the training data decisive.

  • Trained on simulations only, the model inherits their assumptions. It can be very accurate against the solver and still miss on the real system.
  • Trained on measurements only, the model has too few examples to learn from, and it learns the noise along with the physics.

The useful model sits in between: it learns the physics from plentiful simulations and stays accurate on real measurements. The team behind the RealPDEBench benchmark (ICLR 2026) found significant discrepancies between simulated and real-world data on the systems they studied, and also found that pretraining on simulated data still improved results on real data. In other words, simulations remain valuable, as long as the model is built and tested for the step to reality.

How do teams bridge the gap?

There is no single fix. The common approaches, often combined:

  • Train on simulations, then adapt on a little real data. The model learns the bulk of the physics from simulation, then a small set of measurements corrects its bias.
  • Train on both at once. Simulations and measurements go into the same training, with the model learning what they share and where they differ.
  • Make the simulated data look more like the real data. Adding realistic noise, missing regions or sensor resolution to simulated data, so the model is not surprised by the real thing.
  • Keep learning in operation. When new observations stream in, the model compares its last forecast with what actually happened and corrects itself before the next one.

A real-world test: the RealPDE competition

The NeurIPS 2026 RealPDE Competition put this question to a public test. The case was water flowing past a NACA 4418 foil in a lab water tunnel, measured with particle image velocimetry (PIV), alongside matching CFD simulations. Its first track asked models trained mostly on simulations to forecast the real, measured flow at angles and flow speeds they had never seen. The second track added streaming observations and continuous adaptation.

The evaluation is worth copying. The organizers retrained every finalist's code from scratch three times and scored each model five times on a private test set, so a lucky run could not win. NPco's transformer-based surrogate model ranked first on the Sim-to-Real track (read the announcement).

How to test a model before you trust it on real data

Whoever builds the model, the same checks apply:

  1. Test on real measurements the model has never seen, not only on held-out simulations.
  2. Test outside the training conditions: new operating points, new geometries, new regimes.
  3. Check that results repeat when the model is retrained from scratch.
  4. Ask for a confidence estimate on each prediction, so engineers know when to trust what the model proposes, and when not.
  5. Keep final validation on your solver or your test bench for the designs that matter.

NPco builds research-led physics AI that learns from the simulations engineering teams have already run, and shows a confidence index on every prediction.

FAQ

What does sim-to-real mean?

Sim-to-real (sim2real) means taking a model trained on simulated data and making it work on real-world data. The term is widely used in robotics and is now common in scientific machine learning.

Is the sim-to-real gap only an AI problem?

No. Engineers have always compared simulations with tests and calibrated one against the other. AI makes the gap more visible, because a model trained on simulations reproduces their assumptions very faithfully.

Why not train AI models on real measurements only?

There are rarely enough of them. Real tests are expensive and cover few operating points, and measurements are noisy. Simulations provide the volume, measurements anchor the model in reality.

How much real data do you need to close the gap?

It depends on the system, the quality of the simulations and how far the real conditions are from the simulated ones. The only reliable answer comes from testing the model on real measurements it has not seen.

What is the RealPDE competition?

A NeurIPS 2026 competition on forecasting real, measured fluid flow around a foil using simulated and real data. Its organizers describe it as the first NeurIPS Scientific ML competition centered on data from real physical systems.

Sources

Share this article