Approximating CFD simulations of natural ventilation: A deep surrogate model with spatial attention mechanism
Building natural ventilation is a sustainable approach to reducing energy use and emissions from buildings by minimizing reliance on energy-intensive systems. Computational Fluid Dynamics (CFD) simulations are often used to predict natural ventilation, enhance building design, and improve indoor air quality. However, CFD simulations are time-consuming and computationally resource-intensive due to the number of spatial and temporal discretization and iterations required to solve the governing Reynolds Averaged Navier–Stokes (RANS) equations. Additionally, CFD simulations require specialized knowledge, limiting the number of concepts designers can test. This study proposes a UNet-based surrogate model with a spatial attention mechanism to overcome the limitation of CFD simulations by approximating RANS simulations of natural ventilation in cross-ventilated buildings. The proposed surrogate model was trained with data from CFD simulations performed on buildings with multiple opening sizes and wind from different directions. The model was then evaluated while comparing it with the commonly used UNet with channel-wise attention as a baseline. Based on the evaluation results, the Spatial Attention UNet model outperformed the baseline model in predicting velocity flow fields, achieving a mean absolute percentage error of 4.7% compared to 14.7% for the whole domain and 17.0% compared to 32.1% within the building. Furthermore, the trained model achieved a tremendous speed, reducing more than an hour of CFD simulation into orders of milliseconds. The result proved that the proposed model could save designers effort and time while allowing them to test several design concepts quickly, sacrificing only a small amount of accuracy. • Spatial attention UNet offers a faster option to RANS natural ventilation simulation. • Proposed surrogate model reduces simulation time from over an hour to milliseconds. • The model enables designers to test multiple designs to enhance natural ventilation.
Authors
- Dagimawi D. Eneyew
- Anwar Awol
- Girma Bitsuamlak (ORCID: https://orcid.org/0000-0002-0031-3176)
- Miriam A. M. Capretz (ORCID: https://orcid.org/0000-0002-1380-971X)
- Matthew R. Vandewiel
Institutions
- Western University (CA)
Publication Details
- Journal
- Journal of Building Engineering
- Published
- 2025-04-01
- DOI
- https://doi.org/10.1016/j.jobe.2025.112425
- Citations
- 3
- Primary Topic
- Wind and Air Flow Studies
- Type
- article
- Field-Weighted Citation Impact
- 2.40