The use of Computational Fluid Dynamics (CFD) to assist in air quality studies in urban environments can provide accurate results for the dispersion of pollutants. However, due to the computational resources needed, simulation domain sizes tend to be limited. This study aims to improve the computational efficiency of an emission and dispersion model implemented in a CPU-based solver by migrating it to a CPU–GPU-based one. The migration of the functions that handle boundary conditions and source terms for the pollutants is explained, as well as the main differences present in the solvers used. Once implemented, the model was used to run simulations with both engines on different platforms, enabling the comparison between them and reaching promising time improvements in favor of the use of GPUs.
A model for representing different pollution sources in an Urban Environment is presented in this paper. An in-house incompressible flow solver called caffa3d.MBRi was used and modified in order to include the sources from chimneys, cars and houses to compute the dispersion of different pollutants simultaneously. Moreover, different urban domains with a wide variety of sources were simulated reaching promising results.