Matthew R. Vandewiel , Dagimawi D. Eneyew , Anwar D. Awol , Miriam A.M. Capretz , Girma T. Bitsuamlak
{"title":"Approximating CFD simulations of natural ventilation: A deep surrogate model with spatial attention mechanism","authors":"Matthew R. Vandewiel , Dagimawi D. Eneyew , Anwar D. Awol , Miriam A.M. Capretz , Girma T. Bitsuamlak","doi":"10.1016/j.jobe.2025.112425","DOIUrl":null,"url":null,"abstract":"<div><div>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.</div></div>","PeriodicalId":15064,"journal":{"name":"Journal of building engineering","volume":"105 ","pages":"Article 112425"},"PeriodicalIF":6.7000,"publicationDate":"2025-03-28","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Journal of building engineering","FirstCategoryId":"5","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S235271022500662X","RegionNum":2,"RegionCategory":"工程技术","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"CONSTRUCTION & BUILDING TECHNOLOGY","Score":null,"Total":0}
引用次数: 0
Abstract
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.
期刊介绍:
The Journal of Building Engineering is an interdisciplinary journal that covers all aspects of science and technology concerned with the whole life cycle of the built environment; from the design phase through to construction, operation, performance, maintenance and its deterioration.