Skip to Content
FluidsFluids
  • Article
  • Open Access

1 December 2026

15 Pages

Deep Learning Surrogate Modeling and Cross-Family Generalization for Steady Incompressible Airfoil Flow Fields

,
,
,
and
1
Aerospace Department, Faculty of Engineering, Istanbul Aydin University, 34295 Istanbul, Türkiye
2
Faculty of Computer Science and Informatics, Berlin School of Business and Innovation, 12043 Berlin, Germany
3
Department of Airframe and Powerplant Maintenance, Dalaman School of Civil Aviation, Muğla Sıtkı Koçman University, 48680 Muğla, Türkiye
4
Department of Aeronautical Engineering, Faculty of Aeronautics and Astronautics, Erciyes University, 38039 Kayseri, Türkiye

Abstract

Steady aerodynamic flow-field prediction is important for evaluating airfoils under different freestream conditions, but repeated computational fluid dynamics (CFD) simulations can be costly. We evaluated the established TurbNet convolutional surrogate using Reynolds-averaged Navier–Stokes (RANS) CFD reference solutions for four airfoil families, namely GOE, E, FX, and NACA. Each experiment was run with three training seeds, both with a constant and with a decaying learning rate (48 trained models in total). The median case-level R2 was at least 0.992 across all runs. However, 8 of the 24 constant-learning-rate models and 3 of the 24 decaying-learning-rate models had a pooled R2 below 0.9, with values as low as −40.4. These failures depended on the training seed, occurred in both family-specific and leave-one-family-out (LOFO) models, and were concentrated among cases with larger absolute angles of attack, although cases with | α | ≥ 1 5 ° accounted for 31.2% of the test cases. All three runs below the R2 = 0.9 threshold with the decaying learning rate were LOFO models. Per-pixel median predictions across the three seeded models yielded pooled R2 values of 0.957–0.998 across all experiments and learning-rate schedules. With this robust prediction, the LOFO models generally achieved pooled R2 values comparable to or higher than those of the corresponding family-specific models. These comparisons are descriptive because training-set sizes and optimizer-update counts differed. These results show that cross-family prediction performance cannot be judged from a single training run and that pooled metrics should be complemented by multi-seed, case-level, and field-specific analysis. Although the severe failures were examined in detail, their underlying cause remains unresolved.

1. Introduction

Pressure and velocity fields around airfoils are important in aircraft, wind-turbine, and other aerodynamic applications. Reynolds-averaged Navier–Stokes (RANS) simulations can estimate these fields, but running CFD for many airfoil shapes and inflow conditions requires substantial computational effort. Data-driven surrogate models offer an alternative: they learn to predict flow fields from geometric and operating-condition inputs [1,2].
Convolutional encoder–decoder networks have been widely investigated for data-driven prediction of aerodynamic flow fields. Guo et al. [3] demonstrated that convolutional neural networks can map geometric representations to steady flow fields, while Bhatnagar et al. [4] investigated encoder–decoder models for predicting pressure and velocity fields across varying aerodynamic conditions. Thuerey et al. [5] introduced TurbNet, a modified U-Net architecture that predicts steady incompressible flow fields from airfoil geometry and freestream conditions. These studies established the potential of deep-learning surrogates to approximate CFD solutions and to generalize to airfoil geometries not included in training.
Despite this progress, generalization to unseen geometries and generalization to an entirely excluded airfoil family represent different evaluation settings. A test set containing unseen geometries may still share geometric characteristics with the training set. Conversely, excluding a nominal airfoil family provides a more stringent transfer test, although family labels alone do not establish the degree of geometric novelty. A systematic comparison across multiple held-out families is therefore needed to assess whether surrogate performance remains consistent when the composition of the training data changes.
A further issue concerns the interpretation of aggregate performance metrics. A high pooled score may conceal substantial errors in a small number of individual flow cases or in specific predicted fields. In addition, a metric obtained from a single training run may not represent the training procedure, because networks trained from different random initializations can behave differently. Evaluating cross-family generalization therefore requires overall performance measures, case-level examination of prediction errors, and repeated training. These issues motivate the present study, which evaluates an established TurbNet architecture using family-specific and leave-one-family-out (LOFO) experiments across four nominal airfoil families: GOE, E, FX, and NACA. The aim is to characterize the observed generalization behaviour, rather than to propose a new architecture or infer an established physical cause for the failures.
This study presents (i) a comparison of family-specific and LOFO performance for four airfoil families, with every experiment run with three training seeds and two learning-rate schedules; (ii) a case-level analysis of where and how often catastrophic, seed-dependent prediction failures occur; and (iii) a demonstration that a per-pixel median over independently seeded models avoided run-level failures in all 16 tested configurations, which allows cross-family transfer to be assessed more reliably.

3. CFD Dataset and Experimental Design

3.1. Source Data and Predictive Task

In this paper, we use the public Deep-Flow-Prediction benchmark of Thuerey et al. [5]. The reference CFD fields were generated with OpenFOAM for two-dimensional, steady, incompressible RANS flow with the Spalart–Allmaras turbulence model and interpolated onto a 128 × 128 Cartesian grid. The original benchmark reports Reynolds numbers of approximately 0.5 × 106 to 5 × 106 and inflow-direction angles of approximately −22.5° to 22.5°. These overall ranges do not imply that each family has the same distribution of free stream conditions.
The steady incompressible RANS equations include continuity, given by Equation (1), and the Reynolds-averaged momentum balance, given by Equation (2):
∂ u ¯ i ∂ x i = 0
u ¯ j ∂ u ¯ i ∂ x j = − ∂ p ¯ ∂ x i + ν ∂ 2 u ¯ i ∂ x j ∂ x j − ∂ u i ′ u j ′ ¯ ∂ x j
In these equations, u ¯ i is the Reynolds-averaged velocity, p ¯ is the kinematic mean pressure, ν is the kinematic viscosity, and u i ′ u j ′ ¯ represents the Reynolds stress.
Each sample contains an input tensor X ∈ R3×128×128 with two freestream-velocity components and a binary airfoil mask. Its target tensor Y ∈ R3×128×128 contains pressure, horizontal velocity Ux, and vertical velocity Uy. Equation (3) defines the learned input-to-output mapping:
Y ^ = f θ X ,
Here, fθ denotes the TurbNet surrogate. The model predicts flow fields on the interpolated Cartesian grid, not on the original body-fitted CFD mesh. Figure 1 shows representative CFD reference flow fields for the three output channels.
Figure 1. Representative CFD reference fields for pressure, horizontal velocity, and vertical velocity. Each channel is displayed on its own visualization scale.

3.2. Airfoil Families and Geometry-Disjoint Partitions

We identified 2737 CFD cases from the four studied families within a selected pool of 5137 files. These cases represent 627 nominal airfoil geometries. We identified geometries using the filename prefix before the two encoded freestream components. All cases belonging to the same identified geometry were assigned to a single partition to prevent geometry overlap between training, validation, and testing. Each airfoil geometry may correspond to multiple CFD cases evaluated under different freestream velocities and inflow angles. Therefore, the number of test geometries in Table 1 represents the distinct airfoil shapes reserved for evaluation, whereas the number of test cases includes all corresponding CFD simulations under the selected operating conditions.
Table 1. Family-level dataset composition and geometry-disjoint partitions.
The selected pool of 5137 files was obtained from an initial geometry-level 80/20 split (seed 42) of the 6400 training files in the public dataset; the remaining files and the original 90-case test set were not used. The 2737 selected CFD cases were subsequently partitioned at the geometry level into training, validation, and test subsets, resulting in 2170 training cases (80%), 291 validation cases (10%), and 276 test cases (10%), as summarized in Table 1. These percentages describe the resulting allocation of CFD cases rather than exact proportions of distinct geometries. The test airfoils in Table 1 represent distinct geometries, each associated with multiple CFD cases under different freestream conditions. Geometry selection used a fixed random seed of 42. GOE geometries were explicitly shuffled, while the other families used two successive seeded geometry-level splits.
For a family-specific experiment, the model is trained using cases from that family and evaluated on its fixed test partition. In an LOFO experiment, the model is trained and validated on the other three families; the excluded family provides no training or validation cases. The test cases are the same family-specific test cases listed in Table 1. The numbers of cases and the geometry distributions differ between experiments, which limits direct causal comparisons.

3.3. Preprocessing

For each CFD target, we first subtract the spatial mean of pressure across the full grid. We then set pressure values inside the solid airfoil mask to zero. With M = 1 for solid pixels and M = 0 for fluid pixels, this preprocessing is defined in Equation (4):
μ p = 1 HW ∑ i = 1 H ∑ j = 1 W p ij , p ′ = p − μ p , p ″ = p ′ 1 − M
The freestream-speed magnitude is calculated from the two input velocity components. The implementation takes the maximum absolute value in each freestream channel and then computes their Euclidean norm. For spatially uniform freestream velocity in the fluid region, this gives the expression in Equation (5):
U ∞ = U ∞ , x 2 + U ∞ , y 2
We divide the pressure target by U ∞ 2 and each velocity target by U∞. We then apply fixed scaling constants to the inputs and outputs. Equation (6) defines the network input tensor, and Equation (7) defines the target tensor:
X ~ = U ∞ , x 100.0 , U ∞ , y 38.12 , M
Y ~ = p ″ 4.65 U ∞ 2 , U x 2.04 U ∞ , U y 2.37 U ∞
The same scaling constants are used for all four families. The pressure transformation uses the stored kinematic-pressure convention and is not the conventional pressure coefficient. The formulas require U∞ > 0, so zero freestream speed is not a valid input for this normalization. Because the target fields are interpolated and normalized, these steps do not establish near-wall grid convergence or conservation. The training loss and reported pooled metrics include all output channels and grid cells, rather than evaluating the near-airfoil region separately.

4. TurbNet Model and Evaluation Procedure

4.1. Network Configuration

We use the established TurbNet implementation described by Thuerey et al. [5]. The encoder has seven stages of strided convolutions. Intermediate encoder stages use LeakyReLU and batch normalization, while the first and deepest stages omit batch normalization. Six decoder stages combine ReLU, bilinear upsampling, convolution, and batch normalization. Six skip connections concatenate matching encoder and decoder features. A final ReLU and transposed convolution produce the three predicted channels. With a channel exponent of 6, the model has 9,308,931 trainable parameters. Figure 2 illustrates the network structure.
Figure 2. Architecture of the evaluated TurbNet surrogate, showing three input channels, the encoder–decoder with skip connections, and three predicted flow-field channels.

4.2. Training Settings and Experimental Budget

All primary experiments used the Adam optimizer, an initial learning rate of 10−3, an L1 regression loss, and a minibatch size of eight. We retained the default PyTorch (Version 2.7.1) Adam settings β1 = 0.9, β2 = 0.999, and ϵ = 10−8, with zero weight decay. No custom dropout scheme or weight initialization was used. Family-specific models were trained for 100 epochs, while LOFO models were trained for 150 epochs. We evaluated the final-epoch weights rather than selecting a checkpoint by validation loss. Each experiment was run with three training seeds (0, 1, and 2). The seed set the network initialization and the minibatch order, while the geometry-disjoint partitions were kept fixed, so differences between seeds reflect training randomness only. Table 2 summarizes the architecture and training settings.
Table 2. Architectural and optimization settings for the primary experiments. Each setting was run with both learning-rate schedules.
To assess the effect of the optimization schedule, all 24 runs (eight experiments × three seeds) were performed both with the constant learning rate and with a decaying learning rate, using the schedule of the original Deep-Flow-Prediction implementation [5]. The learning rate was held at 10−3 for the first half of training and then decreased smoothly, reaching approximately 1.15 × 10−4 at the final epoch. All other settings, including seeds, partitions, and the use of final-epoch weights, were unchanged. Finally, for each experiment and schedule, we formed ensemble predictions from the three seeded models using the per-pixel mean and the per-pixel median of the three predicted fields.
For each training minibatch, B denotes the number of CFD simulation cases, C represents the number of output channels (C = 3, corresponding to pressure, horizontal velocity, and vertical velocity), and H and W denote the height and width of the spatial grid, respectively. The supervised L1 loss is calculated as the mean absolute difference between the predicted and reference flow-field values, as defined in Equation (8):
L L 1 = 1 3 BHW ∑ b = 1 B ∑ c = 1 3 ∑ i = 1 H ∑ j = 1 W Y ^ bcij − Y bcij
In Equation (8), Y^ and Y represent the predicted and CFD reference values, respectively, after applying the normalization procedure described in Section 3.3. The indices b and c identify the CFD simulation case and output channel, while i and j indicate the spatial grid location. The loss is averaged over all simulation cases in the minibatch, output channels, and grid locations.
Although all experiments used the same TurbNet architecture, optimizer, learning rate, and minibatch size, as summarized in Table 2, the training duration differed between the two experimental settings. The family-specific models were trained for 100 epochs, whereas the leave-one-family-out (LOFO) models were trained for 150 epochs. Each epoch represents one complete pass through the corresponding training dataset. Because the number of training cases varied across airfoil families, the models performed different numbers of minibatch updates, even when trained for the same number of epochs. The higher epoch count used for the LOFO models further increased these differences in training effort. With a minibatch size of eight, the family-specific models received 3000 (NACA), 4000 (FX), 7000 (E), and 13,300 (GOE) optimizer updates, and the LOFO models 20,850–36,300 updates. The same epoch counts were used for all seeds and both learning-rate schedules. With the decaying learning rate, the final learning rate was about 1.15 × 10−4 in all runs, and the training loss decreased by at most 12% over the last ten epochs (at most 5% for the LOFO models). Because the LOFO models received both more training data and more updates, accuracy differences between the two settings are reported descriptively. The main findings of this study, namely the seed-dependent failures, which occur in both settings, and the effect of the median ensemble, do not depend on this comparison.

4.3. Evaluation Metrics

For evaluation, we pooled the normalized predicted and CFD reference values across test cases, output channels, and grid cells. With N scalar values in the pooled arrays, we calculated mean absolute error (MAE), root mean squared error (RMSE), and the coefficient of determination (R2), as defined by Equation (9), Equation (10), and Equation (11), respectively:
MAE = 1 N ∑ k = 1 N y k − y ^ k
RMSE = 1 N ∑ k = 1 N y k − y ^ k 2
R 2 = 1 − ∑ k = 1 N y k − y ^ k 2 ∑ k = 1 N y k − y     ‾ 2
In Equation (11), y‾ denotes the mean of all pooled reference values. The pooled R2 score is calculated from the complete collection of scalar entries; it is not the average of individual case-level or channel-level R2 values. Because the three normalized channels can have different reference variances, we interpret pooled scores together with case-level and field-level evidence. The spatial plots compare predictions with CFD reference fields.
In addition to pooled scores, we computed the R2 of each test case (pooled over its three channels and all grid cells), the number of cases with negative case-level R2, the median case-level R2, and channel-specific R2 values. We refer to a run as failed when its pooled R2 was below 0.9. This threshold serves as an operational criterion for identifying low-performing runs in the comparative analysis and does not imply that runs above the threshold are free of substantial individual-case errors.

5. Results and Discussion

5.1. Family-Specific Prediction Performance

Figure 3 shows the training L1 loss of the family-specific runs for both learning-rate schedules. The loss histories of failed and successful runs were practically indistinguishable. Table 3 reports the pooled R2 of the family-specific models for each seed and learning-rate schedule, together with the three-seed median ensembles. With the constant learning rate, most runs reached pooled R2 between 0.953 and 0.992, but three of the twelve did not: E with seed 0 (0.772), NACA with seed 2 (0.860), and GOE with seed 2 (−40.41). The median case-level R2 nevertheless remained above 0.99 in these runs, so the low pooled scores were caused by a few cases (as discussed later). With the decaying learning rate, all twelve family-specific runs reached pooled R2 ≥ 0.903. The median ensembles gave pooled R2 of 0.987–0.995 for GOE, E, and NACA and 0.957–0.958 for FX under both schedules. Among the family-specific median ensembles, FX consistently achieved the lowest pooled R2 under both learning-rate schedules. These differences describe the tested models and partitions; they do not show that one named airfoil family is inherently easier to predict.
Figure 3. Training L1 loss of the family-specific models for the three seeds with (a) the constant and (b) the decaying learning rate, recorded every ten epochs.
Table 3. Pooled R2 of the family-specific models for each training seed and learning-rate schedule, and of the three-seed median ensembles (normalized fields; all channels and grid cells pooled).

5.2. Leave-One-Family-Out Generalization

We conducted four LOFO experiments, each excluding one entire nominal airfoil family from training and validation and testing the model on that family’s fixed test cohort. All four experiments used the same architecture and a nominal training duration of 150 epochs. However, the sizes of the available training sets differed. Table 4 lists the training families, sample counts, and pooled test metrics.
Table 4. LOFO experiments: training-set composition, sample counts, and pooled R2 for each training seed and learning-rate schedule, and of the three-seed median ensembles.
Table 4 shows that the LOFO results depended strongly on the training seed. With the constant learning rate, every held-out family except FX had at least one seed with pooled R2 close to 0.99 and at least one seed with a much lower score: E (−1.863 to 0.993), GOE (−3.983 to 0.993), and NACA (−2.088 to 0.996). FX gave 0.959–0.962 for all seeds. The decaying learning rate removed the failures for held-out NACA (0.997–0.998) but not for all families: E with seed 0 (−0.222), GOE with seed 2 (−0.919), and FX with seed 1 (0.293) still failed. With the decaying schedule, all three remaining failures therefore occurred in LOFO models, whereas all twelve family-specific runs reached R2 ≥ 0.903. The median of the three seeded models removed all of these failures: the median ensembles reached 0.993–0.998 for held-out GOE, E, and NACA and 0.961–0.962 for FX under both schedules. Under the evaluated training configurations, the LOFO median ensembles generally achieved pooled R2 values comparable to or higher than those of the corresponding family-specific ensembles (Table 3), while FX remained more challenging in both settings. However, because the training-set sizes and numbers of optimizer updates differed between the family-specific and LOFO models, the observed performance differences should be interpreted as descriptive rather than causal and cannot be attributed solely to the family-exclusion strategy.
Table 5 reports, for each held-out family, the mean and standard deviation over the three seeds of MAE, RMSE, and pooled R2, together with channel-level and case-level metrics of the median ensembles. Because a single failed seed dominates the mean and the standard deviation (for example, pooled R2 = −0.666 ± 2.873 for held-out GOE with the constant learning rate, although two of the three seeds reached 0.992–0.993), we report the per-seed values in Table 4 and use the median ensemble as the main summary. At the channel level, pressure was the least accurate output for held-out GOE, E, and NACA (median-ensemble R2 = 0.936–0.971), whereas for FX the horizontal velocity was the least accurate (0.695–0.701) and pressure reached only 0.776–0.777. The median case-level R2 was at least 0.998 for all held-out families, and no median ensemble had negative-R2 cases apart from two cases in the FX family.
Table 5. LOFO experiments: mean ± standard deviation over three seeds of MAE, RMSE, and pooled R2 of single models, and channel-level and case-level metrics of the three-seed median ensembles.
Figure 4 compares the predicted pressure and velocity fields with the corresponding CFD reference fields for two selected cases from the held-out NACA family, namely NACA M2 and NACA 65410. For each case, rows show pressure, horizontal velocity (Ux), and vertical velocity (Uᵧ) fields. Columns show the CFD reference and predicted fields, respectively. The predictions reproduce the overall spatial distributions of pressure and both velocity components. These cases illustrate the model’s field-prediction capability for the held-out NACA family; overall LOFO performance is reported quantitatively in Table 4.
Figure 4. CFD reference and predicted flow fields for two fixed cases from the held-out NACA family.
To further investigate the failure patterns, we examined how errors were distributed across test cases and operating conditions, and whether they were reflected in the final training loss. Across all 48 runs, the low pooled scores were caused by a small number of cases. The median case-level R2 was at least 0.992 in every run, including the runs with strongly negative pooled R2. In a failed run, a few cases contributed most of the squared error; for example, in the NACA-held-out runs with seeds 1 and 2 (constant learning rate), a single case contributed 99.9% of the total squared error.
Table 6 lists runs with pooled R2 < 0.9 and the angles of attack for test cases with negative case-level R2. Cases with |α| ≥ 15° represented 31.2% of the test cases but accounted for 83% (40 of 48) of negative-R2 cases in the constant-learning-rate runs and 93% (25 of 27) in the decaying-learning-rate runs. Thus, negative-R2 cases in these failed runs were concentrated at large absolute angles of attack. The signs of the angle of attack associated with these negative-R2 cases varied between runs: all 12 cases in the family-specific GOE run with seed 2 had positive angles (+10.4° to +22.3°), whereas all 17 cases in the GOE-held-out run with seed 2 had negative angles (−22.1° to −15.5°). Final training L1 loss did not distinguish failed from successful runs. The family-specific GOE model with seed 2 under the constant learning rate had a loss similar to those of seeds 0 and 1. Similarly, the E-held-out model with seed 0 under the decaying learning rate had a similar loss to that of seed 1.
Table 6. Multi-seed runs with pooled R2 < 0.9, and the angles of attack (α) of test cases with negative case-level R2.
The discrepancy between similar training losses and substantially different test performance highlights a limitation of relying solely on training objectives to assess surrogate reliability. The L1 training loss averages absolute prediction errors over training samples, output channels, and spatial locations, whereas pooled test R2 evaluates squared prediction errors on unseen cases relative to the variance of the reference values. Consequently, a small number of severe prediction errors can dominate the pooled test score despite similar final training losses. This distinction explains the disproportionate influence of rare errors on pooled R2 but does not establish why particular training seeds produce these failures.
The per-pixel mean of the three predictions did not consistently eliminate the severe prediction errors, as illustrated by the held-out NACA experiment with the constant learning rate (pooled R2 = 0.389). In contrast, the per-pixel median eliminated the observed catastrophic run-level failures across all 16 ensemble configurations, yielding pooled R2 values between 0.957 and 0.998 (Table 3 and Table 4). For three constituent predictions, the per-pixel median is less sensitive than the arithmetic mean to an isolated extreme prediction, providing a plausible statistical explanation for the observed improvement. However, this improvement did not eliminate all case-level errors. In particular, the two FX cases retained negative case-level R2 in the FX median ensembles under both learning-rate schedules (Table 5). These findings demonstrate that median aggregation effectively mitigated the observed catastrophic, seed-dependent failures under the evaluated conditions, although persistent errors affecting individual cases may remain. The robustness of this approach is therefore demonstrated for the tested configurations and does not guarantee that similar failures would be corrected when multiple constituent models produce severe errors for the same case.
To provide geometric context for the LOFO performance and observed prediction failures, we assessed the similarity between test airfoils and their nearest neighbours in the corresponding training sets using the airfoil shape similarity measure of Lee and Sheikh [14]. Each airfoil was represented by 201 chord-normalized, vertically aligned surface ordinates in Selig order, sampled at x(s) = |1 − s| with s uniformly spaced over [0, 2]. The shape distance was calculated as S = (2/F)‖A1 − A2‖1, where F = 200 and S = 0 for identical shapes. For each test airfoil, the nearest-neighbour distance Snn was calculated using the family-specific and LOFO training geometries. Table 7 summarizes the results.
Table 7. Nearest-neighbour geometric distance (Snn) for family-specific and LOFO experiments.
Excluding a family increased the median nearest-neighbour distance for GOE, E, and NACA, but decreased it for FX. Thus, excluding a nominal airfoil family did not uniformly increase geometric distance from the training geometries. In the LOFO experiments, airfoils with at least one negative case-level R2 had similar median Snn values to those without such errors. In the family-specific experiments, affected airfoils had smaller median distances. Overall, larger nearest-neighbour geometric distances were not consistently associated with prediction failures.

6. Limitations

The family-specific experiments show that TurbNet can approximate the flow fields accurately for most cases, with a median case-level R2 of at least 0.992 in every run. The multi-seed experiments show, however, that a single training run can fail catastrophically in a small number of cases, both within a family and across families. These failures are therefore not a property of a particular airfoil family. The decaying learning rate reduced the frequency of failed runs from 8 to 3 of 24, and after this change the remaining failures occurred only in LOFO models. This suggests, although the numbers are small, that cross-family training increases the risk of such failures rather than uniformly lowering accuracy. The per-pixel median over three seeded models avoided run-level failures in all 16 tested configurations at three times the training cost.
The available evidence does not establish the mechanism of the catastrophic failures. These failures were associated with larger angles of attack and varied with the training seed, but the analysis did not identify what aspects of the trained networks contributed to them. Training seeds affected both network initialization and minibatch ordering, so the present experiments cannot isolate their respective contributions to the observed failures. Furthermore, all models were evaluated using final-epoch weights; whether validation-based checkpoint selection would change the occurrence or severity of these failures was not investigated. Solver residual histories and mesh-refinement results were not available for the CFD cases analyzed here, so convergence and mesh independence could not be independently verified. The reference fields remained identical across training seeds, whereas severe prediction failures occurred only for some seeds. Thus, uncertainty in the CFD reference solutions may affect the interpretation of prediction accuracy but cannot, on its own, explain the observed seed dependence.
The LOFO experiments differ in training-set size and number of optimization updates, and three seeds per configuration give only a limited estimate of between-seed variation, so the failure frequencies reported here should be read as indicative. Some held-out test sets are also small, particularly NACA (28 cases from seven geometries). Pooling three normalized channels over the full grid can hide errors in individual output variables: in the median ensembles, pressure was the least accurate channel in most configurations, and the horizontal velocity was the least accurate for FX. These findings support a descriptive comparison under nominal-family exclusion, but not a causal claim that geometry alone determines transfer difficulty.

7. Conclusions

In this work, we evaluated the established TurbNet surrogate on pressure and velocity fields for GOE, E, FX, and NACA airfoils in family-specific and leave-one-family-out experiments, each run with three training seeds and two learning-rate schedules. Most test cases were predicted accurately in every run, but individual training runs could fail catastrophically in a few cases, particularly at large absolute angles of attack, both within and across families, and turn the pooled R2 strongly negative. These failures were not a property of a particular airfoil family. A decaying learning rate reduced these failures, and all 16 three-seed median ensembles exceeded the pooled R2 threshold of 0.9. With this robust prediction, the LOFO models generally achieved pooled R2 values comparable to or higher than those of the family-specific models.
Since the failures occurred at large positive and negative angles of attack that were represented in training, and the same cases were predicted accurately by other seeds, the observed failures cannot be attributed solely to missing angle coverage or to the airfoil family. However, the present analysis does not establish a definitive mechanism for these failures. Their origin may involve the surrogate model and its training dynamics or the characteristics of the flow fields at large angles of attack. These findings highlight the importance of combining multi-seed evaluation, case-level and channel-level error analysis, and robust ensemble aggregation to assess the reliability of deep learning surrogates for airfoil flow-field prediction. Future research should investigate whether geometry-conditioned neural operators combining global spectral modelling with masked local refinement can improve flow-field prediction accuracy, particularly near airfoil surfaces and wake regions, while also mitigating seed-dependent failures under cross-family evaluation.

Author Contributions

Conceptualization, A.T. (Amir Teimourian); methodology, A.T. (Amir Teimourian), H.T. and A.T. (Abdelaziz Triki); software, H.T. and A.T. (Abdelaziz Triki); validation, H.T., A.T. (Abdelaziz Triki) and A.T. (Amir Teimourian); formal analysis, H.T., A.T. (Abdelaziz Triki) and A.T. (Amir Teimourian); investigation, H.T., A.T. (Abdelaziz Triki) and A.T. (Amir Teimourian); data curation, H.T. and A.T. (Abdelaziz Triki); writing—original draft preparation, H.T., A.T. (Abdelaziz Triki), A.T. (Amir Teimourian), O.Ö. and M.Y.; writing—review and editing, A.T. (Abdelaziz Triki), O.Ö. and M.Y.; visualization, H.T., A.T. (Abdelaziz Triki), O.Ö. and M.Y. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Institutional Review Board Statement

Not applicable.

Data Availability Statement

The CFD data used in this study are publicly available through the Deep-Flow-Prediction GitHub repository (https://github.com/thunil/Deep-Flow-Prediction) and the associated TUM data server (accessed on 11 May 2026).

Acknowledgments

The authors used an AI–based language model to improve the grammar and clarity of the manuscript. The authors reviewed and verified all generated content for accuracy and appropriateness. All academic content and results belong to the authors.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Brunton, S.L.; Noack, B.R.; Koumoutsakos, P. Machine learning for fluid mechanics. Annu. Rev. Fluid Mech. 2020, 52, 477–508. [Google Scholar] [CrossRef] [Scilit]
  2. Lino, M.; Fotiadis, S.; Bharath, A.A.; Cantwell, C.D. Current and emerging deep-learning methods for the simulation of fluid dynamics. Proc. R. Soc. A Math. Phys. Eng. Sci. 2023, 479, 20230058. [Google Scholar] [CrossRef] [Scilit]
  3. Guo, X.; Li, W.; Iorio, F. Convolutional neural networks for steady flow approximation. In Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, San Francisco, CA, USA, 13–17 August 2016; pp. 481–490. [Google Scholar] [CrossRef] [Scilit]
  4. Bhatnagar, S.; Afshar, Y.; Pan, S.; Duraisamy, K.; Kaushik, S. Prediction of aerodynamic flow fields using convolutional neural networks. Comput. Mech. 2019, 64, 525–545. [Google Scholar] [CrossRef] [Scilit]
  5. Thuerey, N.; Weißenow, K.; Prantl, L.; Hu, X. Deep learning methods for Reynolds-averaged Navier–Stokes simulations of airfoil flows. AIAA J. 2020, 58, 25–36. [Google Scholar] [CrossRef] [Scilit]
  6. Wang, B.; Wang, J. Application of artificial intelligence in computational fluid dynamics. Ind. Eng. Chem. Res. 2021, 60, 2772–2790. [Google Scholar] [CrossRef] [Scilit]
  7. Wang, H.; Cao, Y.; Huang, Z.; Liu, Y.; Hu, P.; Luo, X.; Song, Z.; Zhao, W.; Liu, J.; Sun, J.; et al. Recent advances on machine learning for computational fluid dynamics: A survey. arXiv 2024. [Google Scholar] [CrossRef] [Scilit]
  8. Aly, A.M. Machine learning reshaping computational fluid dynamics: A paradigm shift in accuracy and speed. Fluids 2025, 10, 275. [Google Scholar] [CrossRef] [Scilit]
  9. Heinz, S.; Peinke, J.; Stoevesandt, B. Cutting-edge turbulence simulation methods for wind energy and aerospace problems. Fluids 2021, 6, 288. [Google Scholar] [CrossRef] [Scilit]
  10. Sekar, V.; Jiang, Q.; Shu, C.; Khoo, B.C. Fast flow field prediction over airfoils using deep learning approach. Phys. Fluids 2019, 31, 057103. [Google Scholar] [CrossRef] [Scilit]
  11. Ronneberger, O.; Fischer, P.; Brox, T. U-Net: Convolutional Networks for Biomedical Image Segmentation. In Medical Image Computing and Computer-Assisted Intervention—MICCAI 2015; Navab, N., Hornegger, J., Wells, W., Frangi, A., Eds.; Lecture Notes in Computer Science; Springer: Cham, Switzerland, 2015; Volume 9351. [Google Scholar] [CrossRef] [Scilit]
  12. Kochkov, D.; Smith, J.A.; Alieva, A.; Wang, Q.; Brenner, M.P.; Hoyer, S. Machine learning–accelerated computational fluid dynamics. Proc. Natl. Acad. Sci. USA 2021, 118, e2101784118. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  13. Bonnet, F.; Mazari, J.A.; Cinnella, P.; Gallinari, P. AirfRANS: High fidelity computational fluid dynamics dataset for approximating Reynolds-averaged Navier–Stokes solutions. In Advances in Neural Information Processing Systems; Neural Information Processing Systems Foundation, Inc. (NeurIPS): San Diego, CA, USA, 2022; Volume 35, pp. 23463–23478. [Google Scholar] [CrossRef] [Scilit]
  14. Lee, S.; Sheikh, H.M. Airfoil optimization using Design-by-Morphing with minimized design-space dimensionality. J. Comput. Des. Eng. 2026, 13, 108–124. [Google Scholar] [CrossRef] [Scilit]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Article Metrics

Citations

Article Access Statistics

Article metric data becomes available approximately 24 hours after publication online.