Fourier neural operator for real-time simulation of 3D dynamic urban microclimate

Wenhui Peng, Shaoxiang Qin, Senwen Yang, Jianchun Wang, Xue Liu, Liangzhu Wang

Introduction

Understanding the "urban microclimate"—the movement of wind through city streets—is essential for optimizing pedestrian comfort, air quality, and building energy efficiency. Traditionally, researchers rely on Computational Fluid Dynamics (CFD) to model these complex airflows. However, CFD is computationally intensive; simulating just a few minutes of wind across a 3D city district can require hours or even days on supercomputers. This "computational wall" prevents real-time simulation, hindering interactive urban planning and rapid response to environmental emergencies.

Methodology: The Fourier Neural Operator (FNO)

To overcome these limitations, this research utilizes the Fourier Neural Operator (FNO). Unlike standard Convolutional Neural Networks (CNNs) that process data through local filters, FNOs operate in the frequency domain using Fourier Transforms. This approach allows the model to capture global patterns and continuous physical functions more efficiently.

Comparison of deep learning architectures for urban microclimate simulation, highlighting the efficiency and consistency of FNOs.

The FNO architecture offers several advantages over other deep learning models like Graph Neural Networks (GNNs) or Transformers, particularly in its ability to handle large-scale spatial interactions with quasi-linear complexity. The researchers integrated a high-fidelity numerical solver, CityFFD, to generate ground-truth training data. To manage the massive 3D datasets ($400 \times 400 \times 150$ grids), they employed 3rd-order spline interpolation for downsampling while preserving critical structural details.

Dataset and Validation

The study focused on a real-world urban environment in Niigata City, Japan. The computational domain spanned $800m \times 800m \times 300m$, with a specific $400m$-diameter region of interest.

3D urban geometry of the Niigata City study area, illustrating the complex building layouts used to train and test the FNO model.

The dataset comprised 1,200 continuous time steps of 3D wind field data at 0.1s intervals. The original CFD mesh, containing 24 million cells, was downsampled to a $200 \times 200 \times 150$ grid for neural network training. To ensure the reliability of the "ground truth" data, CityFFD results were validated against onsite measurement data from existing literature to confirm physical accuracy.

Key Insights

  • Global Receptive Field: By operating in the frequency domain, every neuron in the FNO effectively perceives the entire city simultaneously, capturing long-range physical interactions that local CNNs might miss.
  • Resolution Independence: FNOs are discretization-invariant, meaning a model trained on a coarse grid can theoretically be applied to finer grids, as it learns the underlying physical operator rather than a fixed pixel mapping.
  • Zero-Shot Generalization: The model demonstrated an ability to predict wind from various directions (North, South, East) with only 3-5% error, despite being trained exclusively on West wind data. This suggests the network is learning fundamental fluid dynamics principles.

Results and Performance

The FNO model achieved a massive speedup, computing a single time step in just 0.08 seconds—a 25x increase in speed compared to the GPU-optimized CityFFD solver. For the primary training scenario, the test loss was remarkably low at 0.3%. This millisecond-level inference time enables the real-time visualization of dynamic 3D wind flows, a significant advancement for urban climate modeling.

Limitations and Future Directions

Despite its success, the model currently only predicts absolute wind speed. Future work will aim to incorporate wind direction components ($u, v, w$) and temperature fields. Additionally, the researchers seek to address error accumulation in long sequences and improve the model's performance under gusty, turbulent boundary conditions. Expanding the model to include diverse building morphologies will also enhance its generalizability across different urban environments.

Summary updated

BibTeX
@inproceedings{peng2023fourier,
  author = {Wenhui Peng and Shaoxiang Qin and Senwen Yang and Jianchun Wang and Xue Liu and Liangzhu Wang},
  title = {{Fourier neural operator for real-time simulation of 3D dynamic urban microclimate}},
  booktitle = {Building},
  year = {2023},
  doi = {10.1016/j.buildenv.2023.111063},
}
Figure