[Paper Review] Positional Encoding Augmented GAN for the Assessment of Wind Flow for Pedestrian Comfort in Urban Areas
This paper proposes a positional encoding-augmented GAN framework that transforms 2D building footprints into pedestrian-level wind flow predictions, significantly accelerating simulation times compared to traditional CFD. By injecting spatial coordinates via SDF and CoordConv, and applying spectral normalization and attention mechanisms, the model improves accuracy by up to 20% and enables interactive urban design with real-time wind comfort assessment.
Approximating wind flows using computational fluid dynamics (CFD) methods can be time-consuming. Creating a tool for interactively designing prototypes while observing the wind flow change requires simpler models to simulate faster. Instead of running numerical approximations resulting in detailed calculations, data-driven methods and deep learning might be able to give similar results in a fraction of the time. This work rephrases the problem from computing 3D flow fields using CFD to a 2D image-to-image translation-based problem on the building footprints to predict the flow field at pedestrian height level. We investigate the use of generative adversarial networks (GAN), such as Pix2Pix [1] and CycleGAN [2] representing state-of-the-art for image-to-image translation task in various domains as well as U-Net autoencoder [3]. The models can learn the underlying distribution of a dataset in a data-driven manner, which we argue can help the model learn the underlying Reynolds-averaged Navier-Stokes (RANS) equations from CFD. We experiment on novel simulated datasets on various three-dimensional bluff-shaped buildings with and without height information. Moreover, we present an extensive qualitative and quantitative evaluation of the generated images for a selection of models and compare their performance with the simulations delivered by CFD. We then show that adding positional data to the input can produce more accurate results by proposing a general framework for injecting such information on the different architectures. Furthermore, we show that the models performances improve by applying attention mechanisms and spectral normalization to facilitate stable training.
Motivation & Objective
- To develop a fast, data-driven alternative to time-consuming CFD simulations for assessing wind flow in urban environments.
- To reframe 3D wind flow prediction as a 2D image-to-image translation problem using building footprints as input.
- To evaluate the effectiveness of generative adversarial networks (Pix2Pix, CycleGAN) and U-Net in predicting wind velocity fields at pedestrian height.
- To investigate the impact of positional encoding (SDF, CoordConv) on model accuracy and generalization across diverse urban geometries.
- To enable interactive urban design by replacing slow CFD simulations with fast, learnable neural models that support rapid prototyping.
Proposed method
- Represents wind flow prediction as a conditional image-to-image translation task, mapping 2D building footprints to 2D wind velocity fields.
- Employs Pix2Pix, CycleGAN, and U-Net architectures to learn the mapping from geometry to flow field, trained on simulated CFD datasets.
- Injects positional information into the input using SDF (signed distance function) and CoordConv to improve spatial awareness and generalization.
- Applies spectral normalization and self-attention mechanisms to stabilize training and enhance feature learning in GANs.
- Uses a multi-scale evaluation protocol on synthetic datasets with varying building complexity and real urban data from Oslo to validate performance.
- Evaluates models using RMSE, MRE, and visual analysis to compare against ground-truth CFD simulations.
Experimental results
Research questions
- RQ1Can GAN-based models accurately predict pedestrian-level wind flow from building footprints, outperforming traditional CFD in speed while maintaining acceptable accuracy?
- RQ2How does injecting positional encoding (SDF and CoordConv) affect the performance of image-to-image translation models in wind flow prediction?
- RQ3To what extent do architectural enhancements like spectral normalization and attention mechanisms improve training stability and prediction accuracy?
- RQ4Can the proposed model generalize to complex urban environments, such as real city layouts, and support interactive design workflows?
- RQ5Is the model’s output sufficient for practical wind comfort classification, even if not perfect for detailed velocity prediction?
Key findings
- The addition of positional encoding via SDF and CoordConv improved model performance by 7%, 20%, and 4% for Pix2Pix, CycleGAN, and U-Net on dataset 𝒟₃, respectively.
- Spectral normalization reduced MRE by 10% on 𝒟₃ and 4% on the most complex dataset 𝒟₅, indicating improved training stability and generalization.
- Models with self-attention mechanisms outperformed their non-attention counterparts, suggesting better feature representation learning.
- The U-Net model, trained in a supervised manner, achieved performance comparable to GANs but with simpler training dynamics, indicating it may be more suitable for this task.
- Visual and quantitative analysis showed higher errors downstream of buildings, indicating limitations in capturing complex wake and turbulence patterns.
- Despite these limitations, the model’s outputs were sufficiently accurate for wind comfort classification under Lawson’s criteria, supporting its use in interactive urban design tools.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.