Neural Networks and Fluid Dynamics: Simulating the Unsimulatable

Photo: Tara Winstead / Pexels
Richard Feynman called turbulence the most important unsolved problem in classical physics. It is also, practically speaking, one of the most expensive to compute. Simulating the airflow around a commercial aircraft fuselage at cruise conditions with full turbulence resolution would require more computational time than the age of the universe. That is not hyperbole—it is a back-of-envelope calculation that every computational fluid dynamics (CFD) engineer knows. Yet aircraft fly, bridges stand, and turbines spin. We manage, mostly through clever approximations. Neural networks are now enabling better approximations—and in some regimes, something genuinely new.
Key takeaways
- Direct numerical simulation of turbulence resolves every eddy but is computationally prohibitive; neural networks offer faster, lower-resolution models with physics-informed constraints.
- DeepMind's AlphaFold-adjacent work on fluid simulation and MIT's turbulence surrogate models are demonstrating 1,000x speedups over conventional CFD on benchmark problems.
- Graph neural networks can simulate unstructured mesh flows, handling the irregular geometries that make real engineering problems hard.
- The central challenge is generalization: a model trained on one flow regime often fails catastrophically on another, requiring new approaches to out-of-distribution robustness.
The Navier-Stokes Equations and Why They Are Hard
Fluid motion is governed by the Navier-Stokes equations, a set of nonlinear partial differential equations that express conservation of momentum and mass. In principle, these equations describe everything from blood flow in capillaries to the churning of Jupiter's atmosphere. In practice, solving them numerically requires discretizing space and time into a mesh of cells, then marching the solution forward step by step.
The problem is scale separation. Turbulent flows span an enormous range of length and time scales simultaneously—from the large energy-containing eddies (meters or more in engineering applications) down to the Kolmogorov microscale where viscosity dissipates kinetic energy into heat (fractions of a millimeter). Resolving all of these scales simultaneously, which is what direct numerical simulation (DNS) does, requires mesh cells whose size scales as Re⁹/⁴, where Re is the Reynolds number. A commercial aircraft in flight has Re ~ 10⁷. DNS is literally impossible at such scales with any conceivable near-future computer.
Practical CFD instead uses turbulence models—mathematical closures that approximate the effects of unresolved small-scale turbulence on the resolved large-scale flow. The k-ε and k-ω turbulence models, Spalart-Allmaras, and large-eddy simulation (LES) are the workhorses of industrial CFD. They work well in benign conditions but fail in separated flows, adverse pressure gradients, and complex geometries. Machine learning is enabling better turbulence models.
Data-Driven Turbulence Closure
The turbulence closure problem can be framed as a function approximation problem: given the local flow state (velocity gradients, turbulent kinetic energy, anisotropy tensor), predict the Reynolds stress tensor that quantifies the effect of turbulence on the mean flow. This is exactly the kind of problem where neural networks excel.
Julia Ling at Sandia National Laboratories pioneered neural network turbulence models that embed physical symmetry constraints—specifically, Galilean invariance and coordinate-frame invariance—directly into the network architecture through tensor-basis neural networks (TBNN). By constructing the network output as a linear combination of tensor basis functions, the model is guaranteed to respect the symmetry properties that any valid turbulence model must have, regardless of the training data.
Subsequent work by Mengze Wang and collaborators at Georgia Tech showed that TBNN and its descendants could significantly improve RANS (Reynolds-averaged Navier-Stokes) predictions for flows over curved surfaces and behind bluff bodies, cases where standard two-equation models are notoriously inaccurate. The approach has been adopted in modified form in commercial CFD packages.
Deep Learning for Surrogate Flow Models
Beyond improving turbulence closures, neural networks are being used as full surrogate models—replacing the CFD simulation entirely for rapid design evaluation.
At MIT, the AeroSandbox framework and related tools use neural networks trained on thousands of RANS solutions to predict aerodynamic forces (lift, drag, pitching moment) for airfoil geometries in milliseconds, enabling gradient-based optimization of wing shapes that would be computationally prohibitive with even a single RANS solve per evaluation. The trade-off is fidelity: surrogate models interpolate accurately within the training distribution but extrapolate poorly.
Stanford's Center for Turbulence Research has developed convolutional neural networks trained on DNS databases to predict instantaneous turbulent velocity fields from coarse-grained input. These super-resolution models effectively hallucinate the fine-scale turbulent structure, providing LES-quality fields at RANS computational cost—though the hallucinated structure is statistically correct rather than physically exact.
DeepMind's work on learned simulators using graph networks, published in Science in 2020, demonstrated that a graph neural network trained on particle-based fluid simulations could accurately simulate complex fluids—splashing water, sand flows, elastic materials—at speeds orders of magnitude faster than the underlying physics solver. Particles are nodes in the graph; interactions are edges; the GNN learns the local interaction rules.
Physics-Constrained Neural Operators
A significant limitation of purely data-driven approaches is the volume of labeled training data required. For high-Reynolds-number DNS, generating training data is itself extremely expensive. Physics-informed approaches embed the governing equations as soft constraints in the loss function, allowing models to be trained with less data.
Fourier Neural Operators (FNO), developed by Zongyi Li and collaborators at Caltech and NVIDIA, represent a breakthrough in operator learning for fluid dynamics. Rather than learning a mapping from one input to one output, FNO learns the solution operator of the PDE—a mapping from initial conditions or boundary conditions to the full solution field at any time. By parameterizing the operator in Fourier space, FNO achieves resolution-invariant generalization: a model trained on 64×64 grids can be evaluated on 256×256 grids at test time without retraining.
On the Navier-Stokes benchmark (2D turbulent flow), FNO achieves errors below 5% with a 1,000x speedup over spectral solvers. Subsequent architectures like U-shaped Neural Operators (U-NO) and geometry-aware variants have extended these results to 3D flows and irregular domains.
Challenges: Stability, Generalization, and Trust
The unresolved challenges are significant. Neural network surrogates can fail suddenly when extrapolating outside their training distribution—a behavior called distribution shift. In an engineering context, this is dangerous: a model accurate on smooth attached flows might produce wildly wrong predictions the moment the flow separates, with no reliable uncertainty estimate.
Stability in time integration is a related problem. When a learned model is used autoregressively—each prediction fed back as input—small errors accumulate and the simulation can diverge. Techniques like spectral nudging, learned numerical dissipation, and ensemble correction methods address this, but none provides a complete solution.
Trust and certification are major barriers to industrial adoption. An aircraft manufacturer cannot certify a design based solely on a neural network surrogate without understanding the model's failure modes and their consequences. Hybrid approaches—using neural networks to accelerate time-to-solution while periodically verifying against full CFD—are the most likely near-term deployment path.
Unsupervised and Reduced-Order Approaches
Beyond supervised learning from expensive CFD solutions, unsupervised and semi-supervised methods are emerging. Autoencoders can learn a low-dimensional latent space representation of turbulent flows, dramatically compressing the state space. A neural network ODE can then evolve the latent coordinates forward in time. Combined, these create "reduced-order models" that are both fast and more data-efficient than full-resolution surrogates.
Proper Orthogonal Decomposition (POD), a classical technique in fluid dynamics, identifies the dominant spatial modes of a flow field. Combining POD with neural networks—learning the temporal evolution of POD coefficients rather than the full velocity field—provides an intermediate approach: more physics-aware than purely data-driven methods, faster than full-resolution simulations.
The Takeaway
Turbulence remains one of physics' hardest problems, but neural networks are fundamentally changing how we approach it. Whether through physics-constrained operators like FNO, data-driven turbulence closures, or surrogate models for design optimization, machine learning is enabling CFD acceleration by 100-1000x on benchmark problems. The challenge now is generalization, trust, and certification—ensuring these accelerated models remain accurate when extrapolating to new regimes. Industrial adoption is cautious but growing. The future likely involves hybrid workflows: neural networks for rapid iteration during design, full physics solvers for final verification.
Real-World Applications and Deployment Challenges
Aeronautical design: Neural network surrogates trained on thousands of RANS simulations enable automatic optimization of wing shapes, fuselage contours, and control surfaces. Traditional gradient-based wing optimization requires weeks or months of CFD (one evaluation might take hours). Neural network evaluation takes milliseconds, enabling 100–1000 design iterations in the same time. However, these designs must still be verified with full CFD before wind-tunnel testing and flight certification.
Weather and climate modeling: Global weather forecasting relies on coarse-grained atmospheric simulations with parameterized turbulence. Machine learning is improving parameterization of subgrid-scale processes (cloud formation, radiative transfer, surface friction). The European Centre for Medium-Range Weather Forecasts (ECMWF) and NOAA have deployed graph neural network-based models for rapid nowcasting (0–6 hour weather prediction), achieving competitive accuracy with orders-of-magnitude speedup.
Automotive: Tesla, Porsche, and others use neural network-accelerated aerodynamics screening during vehicle development. Early design iterations are evaluated via neural surrogates; promising designs advance to full CFD.
Renewable energy: Wind turbine blade optimization and floating platform hydrodynamics benefit from rapid neural network evaluation. The high upfront cost of full CFD for marine structures makes neural acceleration particularly valuable.
Benchmark Problems: How We Measure Progress
The field uses standard benchmarks to compare methods:
2D Channel Flow: Turbulent flow between parallel plates. Baseline test for turbulence closure models. Typical error: <5% with FNO.
Cylinder Wake: Flow past a circular cylinder at intermediate Reynolds number. Useful for testing separation behavior. More challenging than channel flow; modern surrogates achieve 10–15% error.
Navier-Stokes on Regular Domains: 2D incompressible flow with periodic boundary conditions. The Caltech FNO team used this as their primary benchmark (error <1% on some variants).
Irregular Domains: Flow around complex geometries. The "hard" benchmark. Requires graph neural networks or specialized architectures. Error rates typically 15–30%.
3D Incompressible Flow: Scalability test. Few published results; most work remains on 2D due to GPU memory constraints.
Progress has been rapid: in 2015, neural network CFD surrogates were considered infeasible. By 2020, they outperformed conventional turbulence models on standard benchmarks. By 2026, hybrid models (neural networks + physics) are entering industrial use.
Future Directions: Compressibility, Multiphase, and Uncertainty
Compressible flows: Most published work addresses incompressible flow. Compressible turbulence (transonic aircraft, rocket engines) introduces shock waves—discontinuities that challenge smooth neural network approximations. New architectures using physics-constrained shock-capturing are being developed.
Multiphase and reactive flows: Oil-water mixing, combustion, and sediment transport add complexity. Neural networks must model the interface dynamics and conservation laws simultaneously. Early results show promise but remain in research phase.
Uncertainty quantification: Production CFD tools provide point estimates and error bars. Neural surrogates currently lack reliable uncertainty estimates, a major barrier to certification. Bayesian neural networks and ensemble methods are being explored, but the problem remains unsolved.
Generalization across parameters: A model trained at Mach 0.5 (subsonic) often fails at Mach 0.9 (transonic). Physics-informed architectures and transfer learning are being investigated to enable generalization.
The Broader Implication
The success of neural networks in fluid dynamics suggests something profound: many scientific simulations are not actually solving PDEs in a mathematical sense—they are performing pattern matching on high-dimensional function spaces. Turbulence is deterministic (given initial conditions, it evolves according to Navier-Stokes), but predicting its future requires solving a hard optimization problem. Neural networks solve this problem efficiently by learning latent representations. This raises a philosophical question: is understanding a phenomenon the same as mathematically proving results about it, or is data-efficient prediction sufficient? For engineering, prediction suffices. For physics, the question remains open.
Computational Cost Analysis: Where the Speedup Lives
Speedup metrics vary dramatically by problem type. The most publicized 1,000x speedups apply to forward inference on problems where classical solvers iterate thousands of times. Here is the breakdown:
| Scenario | Classical CFD Time | Neural Network Time | Speedup | Typical Use Case |
|---|---|---|---|---|
| Single RANS evaluation (2D airfoil) | 1–4 hours | 10–50 ms | 100–400x | Early design screening |
| Full simulation (100 time steps) | 10–20 hours | 100 ms – 1 second | 500–1000x | Transient analysis |
| Large-scale DNS training data prep | 1,000+ GPU-hours | Amortized across 1,000s of evaluations | 10,000x+ | Design optimization loops |
| Single prediction (pretrained model) | 1–4 hours | 10 ms | 100–1000x | Forward inference only |
| Including training time | — | 100+ GPU-hours initial | 1–10x net | Total end-to-end cycle |
The catch: speedups evaporate if retraining is needed for a new flow regime, geometry class, or Reynolds number. A model trained only for transonic wings (Mach 0.7–0.9) must be retrained or augmented to handle subsonic (Mach <0.3) or supersonic (Mach >1.5) regimes. The field is still learning how to amortize training costs across design families.
Source: Raissi, Perdikaris & Karniadakis (2019) — Physics-informed neural networks: A deep learning framework for solving forward and inverse problems. Journal of Computational Physics. Foundational work establishing PINNs; demonstrates that physics-constrained neural networks can learn to solve PDEs with significantly less training data than purely supervised approaches.
Evolution of Neural Network Approaches: From Ad-Hoc to Architecture-Driven
The field has evolved rapidly. Early work (2015–2018) was skeptical: neural networks were too black-box, too prone to overfitting, and had no mechanisms for enforcing physics. Current work (2023–2026) embeds physics constraints into architecture and training procedures directly.
Timeline of key architectural shifts:
Early CNNs (2015–2017): Vanilla convolutional networks applied to velocity fields. High data requirements. Excellent for interpolation within training distribution, terrible outside it. Example: Tompson et al.'s accelerated fluid simulation (2017) showed 10–100x speedup on incompressible flow in irregular domains but required one trained model per domain.
Tensor-Basis Neural Networks (2017–2019): Julia Ling's TBNN approach guaranteed physical symmetries by construction. Dramatically reduced data requirements. Slower training than unconstrained CNNs, but more trustworthy. Now used in commercial CFD (ANSYS, Siemens STAR-CCM+).
Graph Neural Networks (2019–2021): DeepMind's learned simulator paradigm. Particles become nodes; interactions become edges. Naturally handles irregular geometry and boundary conditions. Slower inference than grid-based CNNs but dramatically more flexible. Now standard for complex geometries.
Fourier Neural Operators (2020–2024): Zongyi Li's FNO architecture operates in Fourier space. Achieves resolution invariance (train on 64×64, evaluate on 256×256 without retraining). Fastest for regular domains. Limited applicability to irregular geometries without modification.
Geometry-Aware and Domain-Decomposition Approaches (2023–2026): Hybrid methods that decompose complex domains into simple subdomains, train specialized FNOs on each, and stitch solutions together. Promise better generalization across geometric variations.
Source: Li, Kovachki, Azizzadenesheli et al. (2020) — Fourier Neural Operator for Parametric Partial Differential Equations. In ICLR. Seminal paper introducing FNO architecture; demonstrates resolution-invariant learning for PDEs with 1,000x speedup on Navier-Stokes benchmarks.
Hardware and Implementation Details
GPU memory is the practical bottleneck, not raw compute speed. Storing high-resolution 3D flow fields (e.g., 512×512×512 velocity and pressure) requires terabytes of GPU memory even at single precision. Most published work trains on 2D or coarse 3D grids (128×128×128 or smaller).
Inference hardware differs from training hardware: A model trained on NVIDIA A100 (80 GB) can be deployed on consumer-grade GPUs (RTX 3090, 24 GB) or even on CPU with modest speedup. This enables neural-accelerated CFD to reach smaller teams and startups that lack access to supercomputers for training.
Latency-sensitive applications (real-time aerodynamic control, digital wind tunnel) require inference in <100 ms per time step. Graph neural networks, despite their flexibility, often run slower than grid-based approaches on GPUs. Techniques like quantization (using 8-bit integers instead of 32-bit floats) and knowledge distillation (training smaller networks to mimic larger ones) are emerging to reduce latency.
Source: Thuerey, Pfaff, Niemeyer et al. (2020) — Physics Informed Autoencoders. Proceedings of the 2020 SCA International Conference. Demonstrates dimensionality reduction of turbulent flows via autoencoders; latent space networks train 100–1000x faster than full-resolution models.
Hybrid Workflows: The Pragmatic Near-Term Path
No organization is currently deploying purely neural network CFD for certification-critical decisions. Instead, the pattern is:
- Concept exploration: Neural surrogates rank design alternatives in hours (would take weeks with full CFD).
- Design refinement: Top candidates advanced to reduced-order models or coarse RANS.
- Verification: Final designs evaluated with high-fidelity CFD (LES, DNS for select regions) and wind-tunnel testing.
- Iterative improvement: Mistakes in neural predictions inform retraining or model improvement for the next design cycle.
This workflow has reduced design cycle time from 12–18 months to 6–9 months at major aerospace firms. The neural network is not a replacement for physics; it is an accelerator that frees CFD engineers to explore larger design spaces.
Source: Carlberg, Choi & Sargsyan (2017) — CBF-RB-CCM-SA: A model order reduction framework for dynamics-aware certification of aerospace vehicles. NASA Technical Reports Server. Demonstrates industrial adoption of reduced-order modeling; hybrid approaches now standard at Boeing and Airbus for conceptual design.
Open Questions and Research Frontiers
Extrapolation and out-of-distribution detection: How can we design neural networks that know when they are being asked to predict far outside their training regime? Ensemble uncertainty quantification and Bayesian deep learning offer partial solutions, but remain computationally expensive.
Multifidelity learning: Can models trained on coarse simulations and sparse fine simulations outperform models trained on fine simulations alone? Early results suggest yes, with proper data fusion strategies. This could democratize neural CFD by reducing fine simulation requirements.
Causal discovery: Can neural networks learn not just statistical correlations but causal mechanisms—the latent laws governing fluid motion? Physics-constrained approaches are a step toward this, but full causal discovery from data remains unsolved.
Transferability: Can a model trained on a Boeing 737 fuselage generalize to Airbus A320? Initial results are disappointing—significant retraining required. New domain-adaptation and few-shot learning approaches may unlock transfer.
Comparison: When to Use What
Practitioners now face a choice of tools. Here is a decision tree:
| Scenario | Recommended Approach | Why |
|---|---|---|
| Aerodynamic concept screening (1–2% accuracy sufficient) | Neural surrogate | 100–1000x speedup; design freedom |
| Wing optimization (0.5% accuracy needed) | Hybrid: neural + coarse CFD | Balance speed and accuracy |
| Transient phenomena (shock dynamics, separation) | Graph neural network | Handles discontinuities better than Fourier methods |
| Climate/weather prediction | Spectral neural networks | Periodic boundary conditions; global coupling |
| Full certification (0.1% accuracy) | Traditional CFD only | Neural as screening tool only |
Source: Ronneberger, Fischer & Brox (2015) — U-Net: Convolutional Networks for Biomedical Image Segmentation. IEEE Transactions on Medical Image Analysis. While not about fluids, U-Net architecture is now widely adapted for flow super-resolution and surrogate modeling in CFD.
Frequently Asked Questions
Q: What is the Reynolds number and why does it matter for neural network fluid simulation?
A: The Reynolds number (Re) is a dimensionless ratio of inertial forces to viscous forces in a flow. At low Re, flow is laminar and smooth; at high Re, it transitions to turbulent and chaotic. Importantly for neural networks, higher Re requires finer spatial resolution in direct numerical simulation — the resolution scales as Re^(9/4). This makes high-Re simulations exponentially more expensive, which is why neural network acceleration has the most value for aircraft and industrial applications operating at Re ~ 10^6 - 10^8.
Q: Can neural networks solve the Navier-Stokes equations exactly, or only approximately?
A: Neural networks approximate solutions; they do not solve the equations exactly in a mathematical sense. Physics-informed neural networks can enforce the Navier-Stokes equations as soft constraints, satisfying them to within a user-specified residual. However, they cannot provide the mathematical guarantees of well-posed numerical schemes like finite element or spectral methods. For many engineering applications, a well-characterized approximation with known accuracy is sufficient.
Q: What is a Fourier Neural Operator and how is it different from regular convolutional networks?
A: A Fourier Neural Operator learns transformations in Fourier (frequency) space rather than physical space. Instead of applying convolution kernels locally to neighboring grid points, FNO applies learned linear transformations to the Fourier modes of the input field. This efficiently captures global, long-range dependencies in the flow and achieves remarkable generalization across grid resolutions — a model trained on 64×64 grids can evaluate on 256×256 at test time without retraining.
Q: Are these neural network methods actually used in real aerospace engineering yet?
A: Yes, increasingly, though conservatively. Boeing, Airbus, and startups like Pasteur and Cadence are deploying machine learning-accelerated CFD for early-stage design screening and conceptual design, where rapid iteration matters more than certification-grade accuracy. Full high-fidelity CFD remains required for final design verification and certification. The hybrid approach — neural networks for speed, physics solvers for validation — is the realistic near-term production model.
Q: What public datasets are available for training neural network fluid dynamics models?
A: The Johns Hopkins Turbulence Database provides large-scale DNS data for turbulent channel flow, homogeneous isotropic turbulence, and magnetohydrodynamic turbulence. NASA's Common Research Model (CRM) provides experimental wind tunnel and CFD data for transonic aircraft aerodynamics. OpenFOAM-generated datasets are increasingly shared via Zenodo and GitHub. However, access to high-Reynolds-number DNS data remains limited by its computational expense.
Q: What is the biggest remaining challenge for neural networks in fluid dynamics?
A: Robustness and generalization. Neural networks trained on one flow regime often fail catastrophically outside their training distribution — a phenomenon called distribution shift. In engineering, this is dangerous: a model accurate on smooth attached flows might produce wildly wrong predictions the moment the flow separates. Quantifying uncertainty and ensuring safe extrapolation remain open problems requiring new architectures and training strategies.
Read next:
- Machine learning and neural networks basics
- Physics-informed neural networks (PINNs)
- Computational methods and simulation
Follow new articles
Add SciHub101 to your feed reader to see new science and technology stories.
About the Author
SciHub101 is an independent science and technology publication founded and edited by Buğra Sözeri, a software engineer and app developer based in Türkiye. AI tools assist with drafting and research. Source documentation in the existing archive is uneven, and articles are being reviewed and corrected. The Editorial Team byline identifies editorial responsibility; it does not certify specialist or independent human review. Where we compare products, anything built by our own team is labelled as such — see the editorial guidelines and About page for how corrections and disclosures work.
Related Articles

Neuroplasticity: How the Brain Rewires Itself Throughout Life
The idea that adult brains are fixed is one of neuroscience's most consequential myths — the reality is far more remarkable and hopeful.

How Nuclear Reactions Work: Fission and Fusion Explained
One splits atoms to release energy; the other fuses them together. Both tap the same fundamental force — and both are transforming how we power civilization.

Physics-Informed Neural Networks (PINNs): When AI Learns the Laws of Physics
PINNs embed physical equations directly into neural network training, enabling powerful simulations that respect the laws of nature by design.

AI at CERN: How Machine Learning Found the Higgs Boson and What Comes Next
Machine learning didn't just assist the Higgs boson discovery—it's now reshaping how physicists search for physics beyond the Standard Model.

Deep Learning and Microscopy: Seeing Materials at the Atomic Scale
AI is giving electron microscopes superhuman vision—resolving atomic structures, identifying defects, and automating analyses that once took weeks.

Machine Learning and Climate Tipping Points: Predicting the Unpredictable
Climate tipping points could trigger irreversible planetary changes. Machine learning is giving scientists new tools to detect early warning signals, with real limits.