This AI Generates Realistic Urban Wind and Heat in Seconds — Not Days

A new artificial intelligence model can generate lifelike 3D snapshots of wind and temperature swirling through a city — complete with turbulence, eddies, and gusts — in under ten seconds. That’s not just fast. It’s 10,000 times faster than the gold-standard simulation method, with accuracy so high that engineers can now use it to design safer, cooler, more climate-resilient cities without waiting days for results. The model, called a Conditional Flow Matching (CFM) surrogate, achieves a Normalized Root Mean Square Error (NRMSE) of just 2.99% for wind speed and 1.77% for temperature when compared to high-fidelity large-eddy simulations (LES), the computational benchmark for urban airflow. For turbulence metrics — the chaotic, swirling motions that determine pedestrian comfort, pollutant dispersion, and building loads — it hits 7–9% error, a level of fidelity once thought impossible for AI models operating at this speed.
This isn’t just a faster calculator. It’s a fundamental shift in how we simulate the invisible forces shaping urban life. For decades, urban planners and wind engineers have faced a brutal trade-off: either wait days or weeks for physically accurate simulations of airflow around buildings, or use fast but oversimplified models that ignore turbulence entirely. Deterministic regression models — the previous generation of AI tools — could predict average wind speeds at specific points, but they couldn’t capture the randomness of gusts or the complex vortices that form behind skyscrapers. That’s a critical flaw, because it’s precisely these turbulent fluctuations that knock over pedestrians, spread airborne pathogens, or cause façade fatigue. Now, for the first time, a generative AI can produce not just one prediction, but many — each a physically plausible, high-resolution, three-dimensional snapshot of how wind and heat actually behave in a city street, alley, or courtyard.
The Science
The researchers — Peng Liu, Shaoxiang Qin, Theodore Potsis, Lili Ji, and Dingyang Geng — developed their model to bridge the gap between computational fluid dynamics (CFD) and real-world urban design. Their target: the urban microclimate, the localized atmospheric conditions shaped by buildings, streets, vegetation, and human activity. These conditions directly affect heat stress, air quality, energy use, and outdoor comfort. To simulate them accurately, scientists have long relied on large-eddy simulation (LES), a method that resolves the largest, most energetic turbulent eddies while modeling smaller ones. LES produces highly realistic results, but a single simulation can take thousands of CPU hours, making it impractical for iterative design or city-scale planning.
Enter Conditional Flow Matching (CFM), a generative machine learning framework rooted in the mathematics of continuous normalizing flows. Unlike diffusion models, which gradually add and remove noise, CFM learns a vector field that smoothly transforms a simple probability distribution (like Gaussian noise) into the complex distribution of turbulent flow fields. The “conditional” part means the model is guided by inputs: in this case, the 3D geometry of buildings and the mean incoming wind and temperature conditions. Given these, the CFM model generates a full 3D instantaneous velocity and temperature field — not an average, but a single, turbulent moment in time, just like a snapshot from an LES simulation.
One of the biggest technical hurdles was memory. Generating a high-resolution 3D field — say, 128×128×64 voxels — all at once would exceed the memory capacity of even the most powerful GPUs. To solve this, the team introduced a novel “shared-noise initialization” strategy. Instead of generating the entire domain in one pass, the model processes overlapping subdomains in parallel, each initialized with the same underlying noise pattern. This ensures that turbulent structures — like a vortex stretching across a street canyon — remain coherent across tile boundaries. It’s like painting a mural with multiple artists working on different sections, but all following the same underlying sketch, so the final image flows seamlessly.
The training data came from a suite of LES simulations of idealized urban environments — arrays of buildings of varying heights and densities, exposed to different wind directions and thermal stratifications. The model learned to map building geometry and mean flow conditions to the corresponding instantaneous turbulent fields. Once trained, it could generalize to new configurations not seen during training, a crucial requirement for real-world design applications.
What They Found
The results were striking. When evaluated against unseen LES data, the CFM model reproduced first-order statistics — mean wind speed and temperature — with exceptional accuracy. The Normalized Root Mean Square Error (NRMSE) was just 2.99% for wind and 1.77% for temperature, meaning the AI-generated fields were nearly indistinguishable from the simulated truth in terms of average conditions.
But the real test was in the turbulence. The model captured second-order statistics — measures of fluctuation and correlation — with NRMSEs of 7.17% for wind and 8.84% for temperature. It reproduced turbulent kinetic energy (TKE), a key metric for mixing and dispersion, with 7% error. Crucially, it matched the probability density functions (PDFs) of wind speed at multiple locations, meaning it got not just the average right, but the full distribution of gusts and lulls. It also replicated vertical profiles of wind and temperature, which determine everything from pedestrian-level comfort to the height at which pollutants disperse.
Model Accuracy by Metric
Normalized Root Mean Square Error (NRMSE) of CFM model compared to LES across key microclimate metrics.
| Label | Value |
|---|---|
| Wind - First-order | 2.99 % |
| Temperature - First-order | 1.77 % |
| Wind - Second-order | 7.17 % |
| Temperature - Second-order | 8.84 % |
| Wind - TKE | 7 % |
Figure 1: Accuracy of CFM model in reproducing LES statistics
| Metric | Wind NRMSE | Temperature NRMSE |
|---|---|---|
| First-order (mean) | 2.99% | 1.77% |
| Second-order (turbulence) | 7.17% | 8.84% |
| Turbulent Kinetic Energy (TKE) | 7.00% | — |
The model didn’t just match numbers — it produced visually realistic flow structures.
shows a side-by-side comparison of LES and CFM-generated velocity fields in a street canyon. The swirling eddies, the recirculation zones, the shear layers at roof level — all are preserved. The AI didn’t memorize patterns; it learned the physics of how buildings perturb airflow.
To test real-world utility, the researchers applied the model to a wind engineering task: predicting local gust factors, defined as the ratio of peak wind speed to mean wind speed. High gust factors can destabilize cranes, damage façades, or create dangerous conditions for pedestrians. Traditional models often underestimate these peaks because they lack stochasticity. The CFM model, by generating many plausible realizations, could estimate the probability distribution of gusts. It achieved a 92% success rate in predicting gust events within 10% of LES values — a level of accuracy that makes it suitable for preliminary design screening.
Speed was another breakthrough. While a single LES simulation took approximately 24 hours on a high-performance cluster, the CFM model generated a full 3D field in under 10 seconds on a single GPU. That’s a speedup of over 8,000x — enough to enable real-time feedback in urban design tools.
Computation Time Comparison
Time required to generate a single 3D urban microclimate field using different methods.
| Label | Value |
|---|---|
| Large-eddy Simulation (LES) | 86,400 seconds |
| Conditional Flow Matching (CFM) | 10 seconds |
Figure 2: Computational time comparison
| Method | Time per simulation |
|---|---|
| Large-eddy simulation (LES) | ~24 hours |
| Conditional Flow Matching (CFM) | <10 seconds |
| Speedup | >8,000x |
Why This Changes Things
This work isn’t just a technical achievement — it’s a potential catalyst for a new era of climate-responsive urban design. Cities are heating up. The urban heat island effect, where built environments absorb and re-radiate heat, can make cities 5–10°C hotter than surrounding rural areas. Extreme heat kills more people annually than any other climate hazard. At the same time, wind safety — from both chronic exposure and extreme gusts — is a growing concern as cities build taller and denser.
Yet, until now, designers have had to make critical decisions about building form, street width, and green space without reliable, fast tools to predict their microclimatic impacts. Architects might run a few CFD simulations late in the design process, but iterating on hundreds of options was computationally infeasible. Urban planners working at the city scale often relied on empirical rules of thumb or coarse models that couldn’t capture local turbulence.
The CFM model changes that equation. Because it’s fast and generative, it can be embedded directly into design software, allowing architects to see, in real time, how a slight shift in building height or orientation affects wind comfort or heat accumulation. Imagine a designer rotating a skyscraper and instantly seeing how it alters the wind shadow or creates a vortex street — not as a single number, but as a dynamic, turbulent field. This kind of feedback loop could prevent the creation of wind tunnels that make streets uninhabitable or identify layouts that naturally ventilate and cool dense neighborhoods.
Moreover, because the model generates stochastic realizations, it supports risk-aware design. Instead of asking “What is the wind speed here?”, designers can ask “What’s the probability of a dangerous gust?” or “How often does this courtyard exceed 35°C?” That’s a profound shift — from deterministic prediction to probabilistic resilience.
The implications extend beyond comfort. Accurate, fast microclimate modeling is essential for:
- Public health: Predicting the dispersion of pollutants, allergens, or pathogens in outdoor and semi-enclosed spaces.
- Energy efficiency: Optimizing natural ventilation to reduce building cooling loads.
- Climate adaptation: Designing urban forms that mitigate heat stress and wind hazards under future climate scenarios.
- Equity: Ensuring that green and cool spaces are distributed fairly, not just in wealthy neighborhoods.
Current tools often fail the most vulnerable. Low-income communities are more likely to be located in hot, poorly ventilated areas with fewer trees. By making high-fidelity microclimate simulation accessible and fast, this AI could help level the playing field, enabling community-driven design that prioritizes thermal comfort and safety.
What’s Next
The model is not without limitations. It was trained on idealized urban geometries — arrays of rectangular buildings — and while it generalizes well within that domain, its performance on highly irregular or organic city layouts remains to be tested. Real cities have trees, vehicles, moving people, and complex surface materials, all of which affect microclimate. Integrating these factors will require richer training data and possibly multi-modal inputs.
Another challenge is validation. LES is the best available proxy for reality, but it’s still a simulation. The true test will come when CFM predictions are compared to field measurements from urban meteorological towers or drone-based sensors. The researchers note that such validation is ongoing.
Perhaps the most exciting frontier is coupling this model with optimization. Instead of just simulating, could AI help design better cities? The speed of CFM opens the door to generative design — where an algorithm explores thousands of urban configurations, guided by microclimate performance, to find optimal layouts for wind comfort and thermal resilience. This could be combined with other objectives, like daylight access, solar energy potential, or housing density, to create truly multi-objective urban planning.
There’s also a risk: if such tools become widespread, will they be used to optimize for luxury developments while neglecting public spaces? The democratization of simulation power must be accompanied by equitable access and community engagement. The technology is neutral; its impact depends on who controls it and for what ends.
Still, the direction is clear. For the first time, we have a tool that captures the chaotic beauty of urban turbulence — not as noise to be averaged away, but as a fundamental feature of city life. By making the invisible visible, and the computationally prohibitive instantaneous, this work brings us closer to cities that don’t just withstand climate change, but are designed to thrive within it.
As the authors write: “The speed and accuracy of CFM support the use of generative AI for making turbulence-aware resilient urban design and climate adaptation more computationally feasible.” That’s not just a conclusion. It’s an invitation — to architects, planners, and citizens — to reimagine the city, one turbulent second at a time.