Gonzalo Veiga-Piñeiro, Enrique Aldao, Elena Martín
We present a CFD-driven surrogate modeling framework that integrates a Convolutional Autoencoder (CAE) with a Deep Neural Network (DNN) for the rapid prediction of urban wind environments and their subsequent use in UAV trajectory planning. A Reynolds-Averaged Navier–Stokes (RANS) CFD database is generated, parameterized by boundary-condition descriptors, to train the surrogate for velocity magnitude and turbulent kinetic energy (TKE). The CAE compresses horizontal flow fields into a low-dimensional latent space, providing an efficient representation of complex flow structures. The DNN establishes a mapping from input descriptors to the latent space, and flow reconstructions are obtained through the frozen decoder. Validation against CFD demonstrates that the surrogate captures velocity gradients and TKE distributions with mean absolute errors below 1% in most of the domain, while residual discrepancies remain confined to near-wall regions. The approach yields a computational speed-up of approximately 4000× relative to CFD, enabling deployment on embedded or edge hardware. For path planning, the domain is discretized as a k-Non-Aligned Nearest Neighbors (k-NANN) graph, and an A* search algorithm incorporates heading constraints and surrogate-based TKE thresholds. The integrated pipeline produces turbulence-aware, dynamically feasible trajectories, advancing the integration of high-fidelity flow predictions into urban air mobility decision frameworks.