Abstract
Airfoil flow-field prediction is important for aerodynamic design, but wind-tunnel testing and computational fluid dynamics (CFD) remain costly and time-consuming. Deep learning enables fast inference, yet many existing models still rely on fixed grid representations, which may lead to insufficient learning in high-gradient regions and larger local errors. This study proposes Spatial Multilayer Perceptron (Spatial MLP) together with an Error-Gradient-Guided Data Sampling (EGDS) strategy for airfoil flow-field prediction. Spatial MLP adopts a coordinate-based point-wise prediction framework. A spatial decoder is introduced as an auxiliary branch to enhance global flow consistency during pretraining, while channel-wise multi-head attention is incorporated to improve cross-variable feature coupling. EGDS prioritizes physically informative points according to relative prediction error and gradient magnitude, while retaining random samples to preserve data diversity. Experiments on an independent test set show that Spatial MLP reduces the mean relative error (averaged over the velocity components u, v, and pressure p) by 15.2% relative to the MLP baseline. With EGDS, the overall mean relative error is further reduced by 34.5% relative to the MLP baseline. These results demonstrate that combining global consistency constraints with targeted sampling effectively improves both global prediction accuracy and local reconstruction quality in high-gradient flow regions.
Funding Information
  • National Natural Science Foundation of China (12521002)