Diff-KNN: Residual Correction of Baseline Wind Predictions in Urban Settings
Open Access
- 29 October 2025
- journal article
- research article
- Published by MDPI AG in Machine Learning and Knowledge Extraction
- Vol. 7 (4) , 131
Abstract
Accurate prediction of urban wind flow is essential for urban planning and environmental assessment. Classical computational fluid dynamics (CFD) methods are computationally expensive, while machine learning approaches often lack explainability and generalizability. To address the limitations of both approaches, we propose Diff-KNN, a hybrid method that combines Coarse-Scale CFD simulations with a K-Nearest Neighbors (KNN) model trained on the residuals between coarse- and fine-scale CFD results. Diff-KNN reduces velocity prediction errors by up to 83.5% compared to Pure-KNN and 56.6% compared to coarse CFD alone. Tested on the AIJE urban dataset, Diff-KNN effectively corrects flow inaccuracies near buildings and within narrow street canyons, where traditional methods struggle. This study demonstrates how residual learning can bridge physics-based and data-driven modeling for accurate and interpretable fine-scale urban wind prediction.Keywords
This publication has 16 references indexed in Scilit:
- Accelerating Large Eddy Simulations of Urban Airflow with Generative Adversarial NetworksBuilding and Environment, 2025
- Machine Learning to speed up Computational Fluid Dynamics engineering simulations for built environments: A reviewBuilding and Environment, 2024
- Evaluation of an immersed boundary numerical framework to address the wind field in complex urban topographiesBuilding and Environment, 2024
- Optimisation of city structures with respect to high wind speeds using U-Net modelsEngineering Applications of Artificial Intelligence, 2024
- Fourier neural operator for real-time simulation of 3D dynamic urban microclimateBuilding and Environment, 2023
- PIGNN-CFD: A physics-informed graph neural network for rapid predicting urban wind field defined on unstructured meshBuilding and Environment, 2023
- Accelerated environmental performance-driven urban design with generative adversarial networkBuilding and Environment, 2022
- Hazardous atmospheric dispersion in urban areas: A Deep Learning approach for emergency pollution forecastEnvironmental Modelling & Software, 2022
- Deep learning to replace, improve, or aid CFD analysis in built environment applications: A reviewBuilding and Environment, 2021
- Non-intrusive reduced order model of urban airflow with dynamic boundary conditionsBuilding and Environment, 2021