Submitted:
25 February 2026
Posted:
26 February 2026
You are already at the latest version
Abstract
This study proposes a surrogate-assisted evolutionary optimization framework for small dataset that integrates machine learning–based surrogate models with evolutionary algorithms for the aerodynamic optimization of a spiked blunt body in supersonic flow. A database of simulated cases covering a range of Mach numbers, spike length ratios (L/D), and diameter ratios (d/D) was used to train regression models and identify optimal geometries. Among the tested algorithms, the Gradient Boosting Regressor (GBR) achieved the best predictive performance (R² = 0.8909, RMSE = 0.00775), accurately capturing the nonlinear dependencies of the drag coefficient (Cd). Evolutionary optimization methods, including Differential Evolution (DE), Covariance Matrix Adaptation Evolution Strategy (CMA-ES), and Genetic Algorithm (GA), consistently converged to near-optimal configurations, with DE exhibiting the most stable behavior across Mach regimes. SHapley Additive exPlanations (SHAP) analysis revealed that (L/D) is the most influential parameter on Cd, followed by Mach number and (d/D), highlighting the dominant effect of geometric slenderness in drag reduction. The integration of data-driven modeling with evolutionary computation provides a robust framework for aerodynamic optimization, offering both predictive accuracy and physical interpretability. These results demonstrate the potential of hybrid Machine Learning-Evolutionary algorithms and CFD approaches to accelerate the design of high-performance configurations in supersonic applications.
Keywords:
drag reduction
; aerodynamic shape optimization
; machine learning
; evolutionary algorithms
; blunt body
; supersonic flows
; gradient boosting
; differential evolution
; surrogate model
1. Introduction
For decades, experimental techniques such as wind tunnels—sometimes using scaling laws—have predominated across various sectors, including the automotive, naval, and aeronautical industries. Nevertheless, technological development has enabled more efficient analysis and design techniques. Computational fluid dynamics (CFD) plays a central role in the analysis and design of high-speed aerodynamic systems, particularly in supersonic and hypersonic regimes [1,2]. However, the application of CFD to engineering optimization is often limited by its high computational cost, especially when transient simulations, complex geometries, shock-dominated flows, or high-dimensional design spaces are involved [3,4]. These requirements demand fine spatial and temporal resolutions, advanced shock-capturing schemes, and long computational times, making direct CFD-based optimization impractical for large-scale parametric or design studies [2,5,6,7,8].
To mitigate the computational cost associated with CFD design process, surrogate models have been used as fast approximation that emulate complex flow solvers [7,8,9,10,11]. Machine Learning (ML) has enabled the possibility of developed surrogate models capable of addressing some of the limitations of traditional trial and error methods for CFD design optimization [12,13,14,15,16,17,18,19]. Surrogate models based on artificial neural networks[19,20], deep learning[21,22] or ensemble methods [23] have shown improved generalization capabilities and scalability, making them suitable for complex flow–geometry interactions, for example aerodynamic and Multiphysics optimization problems, although their performance remains sensitive to the quality of the training data and the strategy used to sample the design space.
In parallel with advances in surrogate modelling, the optimization of CFD-driven problems has highlighted the need for robust global optimization strategies [3,6,7]. Many aerodynamic design problems are inherently nonconvex and multimodal, with objective functions that may be discontinuous or noisy due to numerical effects associated with shock capturing and turbulence modeling [2,5]. Under these conditions, gradient-based optimization methods may become unreliable or inefficient [4,6], motivating the use of evolutionary and population-based algorithms that do not rely on gradient information.
Genetic algorithms (GAs) have emerged as complement to machine learning surrogate models for CFD design optimization [29,30,31,32]. By coupling surrogate models with evolutionary algorithms, it becomes possible to evaluate candidate solutions at a reduced computational cost. This hybrid methodology enables the possibility of global exploration of complex design spaces and has proven effective by characterizing multiple local optima and nonlinear interactions between design variables.
An interesting application for surrogate-evolutionary optimization not well studied is the aerodynamic design of spiked blunt bodies in supersonic flow [20,21,22,23,24]. Blunt bodies operating at supersonic speeds generate strong bow shocks that result in high aerodynamic drag and significant thermal loads due to intense gas compression at the shock front [1,2,8]. The introduction of a spike extending from the nose of the body modifies the shock structure by generating a primary oblique shock that weakens the secondary shock formed on the blunt body, thereby reducing drag and heat transfer [8]. The effectiveness of this mechanism depends on multiple geometric and flow parameters, making the problem highly nonlinear and multi-parametric [9,12].
Although extensive experimental and numerical studies have contributed to the understanding of drag-reduction mechanisms in spiked blunt bodies [8,9,10], high-fidelity investigations remain computationally and experimentally demanding. CFD simulations of supersonic spike–body configurations require fine grids, accurate turbulence and shock-capturing models, and long computational times, particularly when parametric or optimization studies are conducted [2,5,6]. Similarly, experimental investigations rely on specialized wind tunnel facilities and precise instrumentation, limiting the feasibility of large-scale, systematic exploration of the design space [9,11].
Motivated by these challenges, the present study proposes a surrogate-assisted evolutionary optimization framework for small dataset that integrates machine learning–based surrogate models with evolutionary algorithms for the aerodynamic optimization of a spiked blunt body in supersonic flow. Several machine learning techniques, including Gradient Boosting and LightGBM are employed as surrogate models and optimized through hyperparameter tuning. These surrogates are coupled with multiple evolutionary algorithms—namely the Genetic Algorithm (GA), Differential Evolution (DE), and the Covariance Matrix Adaptation Evolution Strategy (CMA-ES)—to solve the inverse design problem of identifying geometric parameters that minimize aerodynamic drag at a fixed Mach number.
2. Materials and Methods
The methodology is divided into three key stages: dataset generation through CFD, training and validation of ML models, and design optimization using surrogate models for a fixed condition. Figure 1 presents a roadmap of methodology used in this work.
In next sections are described, CFD dataset generation.
It is important to mention that machine learning models and the evolutionary algorithms used in this work use Python libraries were employed to ensure efficiency and reproducibility. For machine learning, the Scikit-learn library was used to implement models such as Gradient Boosting and LightGBM. For evolutionary algorithms, DEAP (Distributed Evolutionary Algorithms in Python) and pycma were used to run Genetic Algorithms, Differential Evolution, and CMA-ES, respectively.
2.1. Dataset Generation
The process for obtaining aerodynamic a non-dimensional dataset is presented in [25] using information from [26], (see appendix) , a flat-face spike blunt body is analyzed considering diameter (d) and length (l) and a blunt body diameter (D) of 1 inch; see Figure 2. These parameters are treated as dimensionless.
Simulation was carried out using FloWorks module integrated into SolidWorks 2023 CAD software. The compressible Navier–Stokes equations, including continuity, momentum, and energy conservation, were solved using the Finite Volume Method (FVM) in a Cartesian coordinate system [27]. Solver employs structured Cartesian mesh, and geometric bodies implemented using the cut-cell method[28], which allows mesh generation independent of complex geometrical features.Turbulent flow behavior was modeled using the Reynolds-Averaged Navier–Stokes (RANS) equations with a modified k–ε turbulence model that incorporates the Lam and Bremhorst damping function to accurately capture laminar, transitional, and turbulent regimes of homogeneous fluids.
Validation process was carried out with a smooth sphere model at different Ma numbers as well as spiked blunt body [25]. A database with 230 registers were obtained considering drag coefficient as function of Mach number, and .All simulations were performed on the same computer (Dell Precision 7530 wkst intel core Xeon e-2176m/memory 16 GB).
2.2. Machine Learning Models
To predict Cd from the geometric and flow parameters, several supervised ML regression models were developed. These included Gradient Boosting Regressor (GBR) and Light Gradient Boosting Machine (LightGBM).
Gradient Boosting Regressor (GBR) and Light Gradient Boosting Machine (LightGBM) were selected as surrogate models due to their strong performance in nonlinear regression problems under limited data availability, which is a common constraint in computational fluid dynamics (CFD) studies where each simulation is computationally expensive. Unlike deep learning approaches, which typically require large datasets to generalize effectively, boosting-based ensemble methods can achieve high predictive accuracy with relatively small sample sizes by sequentially correcting residual errors and capturing complex interactions among input parameters.
The performance of the prediction model was evaluated using the coefficient of determination ( ) and the root mean square error (RMSE). The R2 and RMSE were calculated as shown in Equations (2) and (3):
where is the sample size, is the predicted value, is the test observation and is the average of .
In next sections a brief description of machine learning methods.
2.2.1. Gradient Boosting Regressor (GBR)
Gradient boosting regressor (GBR) is a sequential ensemble learning method that constructs a predictive model by combining multiple weal learners [33,34,35,36], typically decision trees. In this approach, the prediction at iteration m, denoted as , is obtained by adding a new tree to the previous ensemble:
Where is the learning rate controlling the contribution of each tree. The weak learner is trained to fit negative gradient of the loss function with respect to the current predictions:
The final ensemble prediction after M iterations is expressed as:
Where is the initial prediction, often the meaning of the target variable in regression task. GBR is highly effective at modelling complex, non-linear relationships and achieves proper performance when hyperparameters-such as the number of estimators M, learning rate , and maximum tree depth-are properly tuned. This makes it particularly suitable for regression tasks involving structured tabular data.
2.2.2. Light Gradient Boosting Regressor (LGBR)
LightGBM is a gradient boosting framework optimized for high efficiency and scalability [37,39], particularly in large-scale machine learning tasks. Like traditional Gradient Boosting, it constructs an additive model of M weak learners (decision trees), where the prediction at iteration m is updated as:
with representing the learning rate and the newly fitted tree. LightGBM employs a histogram-based algorithm that discretizes continuous feature values into bins, reducing memory usage and accelerating the computation of split gains. The optimal split for a feature is determined by maximizing the information gain:
where and are the first- and second-order gradients of the loss function with respect to the predictions,is the regularization parameter, and controls the minimum split gain.
A key innovation of LightGBM is its leaf-wise growth strategy, where each tree expands by splitting the leaf that yields the highest gain, rather than level-wise as in conventional gradient boosting. While this strategy enhances training efficiency and model expressiveness, it may increase the risk of overfitting on small datasets. Proper tuning of hyperparameters—such as maximum depth, number of leaves, and learning rate—ensures that LightGBM achieves predictive performance comparable to or exceeding traditional gradient boosting methods, while offering significantly faster training for large and high-dimensional datasets.
2.3. Design Optimization via Evolutionary Algorithms
Once the surrogate model was trained and validated, it was employed to solve the inverse design problem, which consists of identifying the optimal pair of geometric parameters (L/D, d/D) that minimizes the predicted drag coefficient Cd for a fixed Mach number Ma. Formally, the optimization problem can be expressed as:
Where is evaluated through the surrogate model. Given the non-linear and multi-dimensional nature of the problem, three evolutionary algorithms were implemented: Genetic Algorithm (GA), Differential Evolution (DE), and Covariance Matrix Adaptation Evolution Strategy (CMA-ES).
Each algorithm was executed over a bounded search space derived from the CFD study: L/D ∈ [0.15, 1.95] and d/D ∈ [0.06, 0.18] and Ma ∈ [1.2, 3.6]. The ML surrogate model was embedded as the fitness function to evaluate candidate solutions iteratively across generations. Convergence behavior, optimal Cd values, and computation time were tracked and compared across the algorithms.
2.3.1. Genetic Algorith (GA)
The Genetic Algorithm (GA) is a population-based stochastic optimization method inspired by the principles of natural selection and biological evolution [40,41]. A GA operates on a population of P candidate solutions (chromosomes) at generation , where each candidate represents a potential solution to the optimization problem. Everyone is evaluated using a fitness function , which quantifies the quality of the solution:
The evolutionary cycle of GA comprises three main operators:
- Selection: Individuals with higher fitness are probabilistically favored for reproduction. A common approach is the roulette-wheel selection, where the probability of selecting an individual is proportional to its fitness:
- Crossover (Recombination): Two parent solutions and are combined to produce offspring A simple arithmetic crossover for continuous variables is:
- Mutation: A small random perturbation is applied to offspring to maintain diversity and explore new regions of the search space:
2.3.2. Differential Evaluation (DE)
Differential Evolution (DE) is a robust and efficient population-based evolutionary algorithm designed for solving continuous optimization problems [42,43]. It operates through the differential mutation of individuals and combines exploration and exploitation effectively.
Each generation g, for each target vector in the population, a donor vector is generated using the differential mutation rule:
Where:
- are three distinct vectors randomly selected from the current population, different from
- is scaling factor controlling the amplification of the differential variation.
Next, crossover is applied to produce a trial vector binomial crossover:
Where:
- is the crossover probability,
- is the randomly chosen index to ensure that at least one component comes from the donor vector.
Finally, selection is applied based on the fitness function
This process repeats until a stopping criterion is met (e.g., a maximum number of generations or convergence threshold). Due to its few control parameters and strong global search capabilities, DE is well-suited for real-valued, non-linear, and non-convex optimization problems with limited computational budgets.
2.3.3. Covariance Matrix Adaptation Evolution Strategy (CMA-ES)
Covariance Matrix Adaptation Evolution Strategy (CMA-ES) is a population-based evolutionary strategy that focuses on adapting the search distribution to solve continuous optimization problems [44,45]. The main idea is to sample candidate solutions from a multivariate normal distribution, whose mean and covariance matrix are iteratively updated to reflect the most promising search directions.
- Initialization
- The algorithm starts by defining an initial distribution:
-
- ∘
- Initial mean:
- ∘
- Initial standard deviation:
- ∘
- Initial covariance matrix:
- ∘
- Population size:
- Sampling of individuals
- At generation candidate solutions are sampled as:That is, each individual is sampled from a multivariate Gaussian distribution centered at the current mean
- Evaluation and selection
- Each candidate solution is evaluated using the objective function , and the top individuals with the best fitness values are selected:
- Update of the mean
- The new mean is computed as a weighted sum of the selected top individual:The weighs typically satisfy assigning more importance to better-performing individuals.
- Evolution paths
- Two evolution paths are updated:
-
- ∘
- Step-size control path:
- ∘
- Covariance matrix adaptation path:
- The paths help accumulate information about the direction and magnitude of the search over generations and influence subsequent adaptation steps.
- Covariance matrix update
- The covariance matrix is updated to capture the shape and orientation of search landscape:WhereThis update combines the rank-one and rank- updates based on evolution paths and individual contributions.
- Step size adaptation
- The global step size is adapted based on the length of the evolution pathThis mechanism allows dynamic control of the search radius, promoting global exploration or local refinement depending on the search progress.
3. Results and Discussion
This section presents the results of simulations for drag coefficient for different , and fixed Mach numbers. Figure 3 shows heatmaps of the aerodynamic drag coefficient (Cd) at three different Mach numbers (1.2, 2.4, and 3.2), while varying the geometric ratios and . Cd values are color-mapped across a matrix of spike length ratios (, y-axis) and spike diameter ratios (, x-axis).
For a fixed Mach number, there is a clear tendency for the drag coefficient () to decrease as the spike length ratio () increases. Longer spikes, corresponding to larger values, consistently show lower drag, particularly for intermediate and high spike diameter ratios (). The influence of the spike diameter ratio, however, appears to be more subtle. Although its effect is less pronounced than that of , very small or very large diameter ratios do not consistently yield the lowest values. Instead, optimal aerodynamic configurations tend to occur at intermediate values (approximately 0.09–0.12), especially at higher Mach numbers.
The overall trend indicates a progressive reduction in Cd values as the Mach number increases, which is consistent with the literature. These findings align with prior research [46,47,48,49,50,51] on spike effectiveness in shock wave manipulation and drag reduction for blunt bodies.
This visualization supports that increasing the spike length is more effective than increasing the diameter in reducing drag, and that optimal performance shifts slightly depending on the Mach regime.
3.1. Machine Learning Models Performance
Table 1 presents the results of optimized Gradient Boosting Regressor (GBR) yielded the highest performance metrics, with a cross-validated R² of 0.8553, a test R² of 0.8909, and a test RMSE of 0.00775. These results were obtained after tuning key hyperparameters using GridSearchCV, with the best configuration identified as: 100 estimators, maximum tree depth of 3, and a learning rate of 0.2. The relatively shallow tree depth helped prevent overfitting, while the moderately high learning rate ensured fast convergence.
In the case LGBM model, while also demonstrating good generalization capability, showed slightly lower performance with a test R² of 0.8459 and RMSE of 0.00922. The optimal hyperparameters included 100 estimators, maximum depth of 3, learning rate of 0.1, and 20 leaves per tree. Although LGBM benefits from its histogram-based training and leaf-wise tree growth—enabling faster training and scalability—these features may become limiting when the dataset is small, and the numerical precision of the features is critical. The discretization process inherent to histogram-based algorithms can potentially reduce the model’s sensitivity to subtle variations in the input space.
Figure 5 presents a comparison between the predicted and CFD generated values of the drag coefficient () for two optimized machine learning models: Gradient Boosting Regressor and LGBM. The scatter points represent the predictions made by Gradient Boosting and LGBM, respectively, plotted against the real values obtained from CFD simulations. The red dashed line corresponds to the ideal case where predicted values match the actual values perfectly. As observed, both models exhibit a strong correlation with the CFD data, with the Gradient Boosting model showing slightly higher accuracy. The proximity of the points to the ideal line indicates that both models can capture the underlying physical relationships in the dataset, with Gradient Boosting offering more precise predictions across the range of observed () values.
In summary, the GBR model demonstrated superior accuracy and consistency in comparation with LGBM. LGBM is an excellent alternative for cases where computational efficiency is prioritized, but some predictive power may be sacrificed.
3.2. Optimization Models Performance
Once the best machine learning model is selected, it is necessary to evaluate and compare the performance of the evolutionary algorithms under study, a fixed Mach number approach was adopted. For each selected Mach value within the supersonic range (from 1.2 to 3.6), the optimization problem was defined as minimizing the drag coefficient by adjusting the spike geometry, specifically the parameters and . These parameters were bounded based on previous design constraints: ∈ [0.06,0.18] and ∈ [0.15,1.95]. For optimization, Gradient Boosting Regressor will be used as a surrogate model, three optimization models were selected, Differential Evolution (DE), Covariance Matrix Adaptation Evolution Strategy (CMA-ES), and Genetic Algorithm (GA), the combination of geometrical parameters are ser for minimized for the given flow condition.
Figure 5 presents the resulting minimum drag coefficients obtained by each algorithm across the range of Mach numbers. The curves show a general decreasing trend in with increasing Mach number, reflecting the aerodynamic behavior of spike-blunt configurations at higher speeds. Notably, while all algorithms yielded consistent values for most cases, CMA-ES showed a slight deviation at Mach 1.6, suggesting possible convergence to a local minimum. Overall, the results confirm that all three algorithms can effectively explore the design space and provide nearly identical optimal solutions in terms of aerodynamic performance.
Figure 5.
Minimum drag coefficients obtained by each algorithm across the range of Mach numbers.

Figure 6.
The figure illustrates the evolution of the optimal geometric ratios (relative spike diameter) and relative spike length) as a function of the Mach number for three different evolutionary algorithms: Differential Evolution (DE), Covariance Matrix Adaptation Evolution Strategy (CMA-ES), and Genetic Algorithm (GA, implemented via DEAP).
Figure 6.
The figure illustrates the evolution of the optimal geometric ratios (relative spike diameter) and relative spike length) as a function of the Mach number for three different evolutionary algorithms: Differential Evolution (DE), Covariance Matrix Adaptation Evolution Strategy (CMA-ES), and Genetic Algorithm (GA, implemented via DEAP).

In the left plot, the behavior of the optimal values are shown as Mach increases. Overall, DE and CMA-ES maintain relatively stable values around 0.17–0.18 across all speeds, whereas the GA algorithm exhibits more variability, particularly at higher Mach numbers. This greater fluctuation may reflect the sensitivity of GA to initial conditions or slower convergence compared to the other algorithms.
The right plot shows how the optimal values evolve with increasing Mach number. A general decreasing trend is observed, indicating that shorter spikes relative to the main body become more effective in minimizing drag as flow speed increases. CMA-ES demonstrates more compact and consistent solutions, while GA again shows a wider spread, especially at higher Mach values.
Figure 7.
Comparison of percentage differences in the optimized aerodynamic parameters (, , and ) for the Differential Evolution, CMA-ES, and GA (DEAP) algorithms at different Mach numbers.
Figure 7.
Comparison of percentage differences in the optimized aerodynamic parameters (, , and ) for the Differential Evolution, CMA-ES, and GA (DEAP) algorithms at different Mach numbers.

For , the CMA-ES algorithm exhibits the largest variations, particularly in the ratio, indicating less geometric convergence stability at lower supersonic speeds. In contrast, Differential Evolution and GA (DEAP) show more consistent results, with differences below 10%.
At , discrepancies among the three algorithms decrease significantly, with all variations remaining below 8%, suggesting a more robust and stable convergence within this regime.
Finally, at , the differences increase again, especially for GA (DEAP), which shows a pronounced rise in , likely due to higher geometric sensitivity in hypersonic flow conditions. Overall, Differential Evolution demonstrates the most stable performance across all evaluated Mach numbers.
3.3. SHAP (SHapley Additive exPlanations)
The comparative analysis of optimization algorithms across different Mach regimes revealed consistent variations in the optimal geometric ratios and drag coefficients, highlighting the relative sensitivity of each parameter within the design space. To further quantify the influence of these input features on the predictive model, the SHAP (SHapley Additive exPlanations) analysis was conducted [52,53]. Figure 8 presents the corresponding SHAP summary plot, which provides a feature-level interpretation of the gradient boosting model, identifying the parameters that most strongly contribute to variations in the predicted drag coefficient.
Figure 8 presents the SHAP summary bar plot, which displays the average absolute SHAP value for each input feature, representing their mean impact on the model’s output magnitude. Among the three nondimensional input parameters, (length-to-diameter ratio) shows the highest influence on the predicted drag coefficient (), followed closely by the Mach number (). The parameter (displacement-to-diameter ratio) has comparatively less impact. This indicates that geometric proportions, particularly , play a more critical role in determining the aerodynamic behavior modeled by the gradient boosting algorithm. These insights help prioritize the most influential design variables in future analyses and optimization processes.
4. Conclusions
This study combined computational fluid dynamics (CFD), machine learning, and evolutionary optimization to investigate drag reduction mechanisms in spike-blunt configurations under supersonic flow conditions. The main findings can be summarized as follows:
- Aerodynamic trends: Increasing the spike length ratio () leads to a consistent reduction in drag coefficient () across all Mach numbers. The diameter ratio () exerts a secondary influence, with optimal configurations occurring at intermediate values (≈0.09–0.12). Higher Mach numbers result in lower overall drag, confirming the stabilizing aerodynamic effects of elongated spikes at supersonic regimes.
- Machine learning performance: Among the tested regression models, the Gradient Boosting Regressor (GBR) achieved the best predictive accuracy (R² = 0.8909, RMSE = 0.00775), outperforming LightGBM. The relatively shallow tree depth and optimized learning rate enabled the GBR to effectively capture nonlinear relationships in the aerodynamic dataset without overfitting.
- Optimization robustness: All three evolutionary algorithms—Differential Evolution (DE), Covariance Matrix Adaptation Evolution Strategy (CMA-ES), and Genetic Algorithm (GA)—successfully identified near-optimal geometries for drag minimization. DE demonstrated the most stable convergence across Mach regimes, whereas CMA-ES showed slightly higher variability at low Mach numbers and GA exhibited increased dispersion at high Mach numbers.
- Feature importance (SHAP analysis): The SHAP results revealed that the spike length ratio (L/D) is the most influential parameter in determining the drag coefficient, followed by the Mach number (Ma) and the spike diameter ratio (d/D). This highlights the predominance of geometric slenderness over diameter effects in supersonic drag behavior.
Overall, the integration of machine learning with evolutionary algorithms proved to be an efficient framework for aerodynamic optimization. The results not only validate the predictive capability of surrogate modeling approaches but also provide physical insights into the dominant geometric factors influencing drag reduction. Future work will focus on extending the methodology to three-dimensional configurations and transient flow regimes to further generalize the optimization framework.
Author Contributions
Conceptualization, J.A.S.-M. and J.R.-C.; methodology, J.A.S.-M and G.F.-E.; software, J.A.S.-M. and G.F.-E; validation, J.A.S.-M., C.L.-C., J.R.-C. and J.M.S.-C; formal analysis, J.A.S.-M., C.L.-C., J.R.-C. and J.M.S.-C. investigation, J.A.S.-M., C.L.-C., and J.R.-C.; resources, J.A.S.-M.; data curation, J.A.S.-M. and G.F.-E; writing—original draft preparation, J.A.S.-M., C.L.-C. J.R.-C. and J.M.S.-C.; writing—review and editing, J.A.S.-M., C.L.-C., and J.R.-C.; visualization, C.L.-C.; supervision, J.A.S.-M.; project administration, J.A.S.-M. and G.F.-E; funding acquisition, G.F.-E. All authors have read and agreed to the published version of the manuscript.
Funding
The APC was funded by Tecnologico de Monterrey, Vicerrectory of Research and Technology Transfer.
Data Availability Statement
The data presented in this study are available on request from the corresponding author.
Acknowledgments
During the preparation of this manuscript, the authors used OpenAI ChatGPT (GPT-5.2) for language review, clarity improvement, and verification of citation formatting. The authors have reviewed and edited the output and take full responsibility for the content of this publication.
Conflicts of Interest
The authors declare no conflict of interest.
Appendix. Dataset Used for Prediction
| d/D | l/D | CD comp Ma = 1.2 | CD comp Ma = 1.6 | CD comp Ma = 2.0 | CD comp Ma = 2.4 | CD comp Ma = 2.8 | CD comp Ma = 3.2 | CD comp Ma = 3.6 |
| 0.06 | 0.15 | 0.3304 | 0.353 | 0.348 | 0.3312 | 0.3459 | 0.3032 | 0.3229 |
| 0.06 | 0.45 | 0.3268 | 0.3442 | 0.333 | 0.3145 | 0.2887 | 0.2645 | 0.321 |
| 0.06 | 0.75 | 0.3217 | 0.3291 | 0.3088 | 0.2834 | 0.2828 | 0.2738 | 0.322 |
| 0.06 | 1.05 | 0.3165 | 0.3197 | 0.3133 | 0.2891 | 0.2749 | 0.2728 | 0.3027 |
| 0.06 | 1.35 | 0.3117 | 0.3213 | 0.3016 | 0.274 | 0.28 | 0.2719 | 0.3139 |
| 0.06 | 1.65 | 0.3122 | 0.3053 | 0.3028 | 0.2783 | 0.299 | 0.2973 | 0.3084 |
| 0.06 | 1.95 | 0.2971 | 0.2863 | 0.33 | 0.2711 | 0.2861 | 0.2993 | 0.3162 |
| 0.09 | 0.15 | 0.3307 | 0.3533 | 0.3483 | 0.3321 | 0.2992 | 0.2976 | 0.329 |
| 0.09 | 0.45 | 0.3236 | 0.3358 | 0.3213 | 0.313 | 0.3322 | 0.2569 | 0.3198 |
| 0.09 | 0.75 | 0.313 | 0.3152 | 0.2941 | 0.283 | 0.2714 | 0.2621 | 0.3133 |
| 0.09 | 1.05 | 0.3016 | 0.3007 | 0.2827 | 0.2744 | 0.2593 | 0.2658 | 0.2831 |
| 0.09 | 1.35 | 0.298 | 0.2898 | 0.2752 | 0.2554 | 0.267 | 0.2495 | 0.3072 |
| 0.09 | 1.65 | 0.3005 | 0.2913 | 0.2818 | 0.279 | 0.2862 | 0.2638 | 0.2898 |
| 0.09 | 1.95 | 0.2915 | 0.2925 | 0.3229 | 0.2961 | 0.2783 | 0.2772 | 0.3098 |
| 0.12 | 0.15 | 0.3322 | 0.3541 | 0.3479 | 0.331 | 0.297 | 0.295 | 0.3311 |
| 0.12 | 0.45 | 0.3161 | 0.321 | 0.3077 | 0.287 | 0.2791 | 0.25 | 0.3162 |
| 0.12 | 0.75 | 0.307 | 0.3042 | 0.2821 | 0.285 | 0.2632 | 0.2617 | 0.2996 |
| 0.12 | 1.05 | 0.2969 | 0.2895 | 0.2851 | 0.266 | 0.2478 | 0.2469 | 0.2824 |
| 0.12 | 1.35 | 0.2883 | 0.2828 | 0.2683 | 0.2422 | 0.2546 | 0.257 | 0.2367 |
| 0.12 | 1.65 | 0.2861 | 0.2902 | 0.2535 | 0.2455 | 0.2743 | 0.2673 | 0.2617 |
| 0.12 | 1.95 | 0.2821 | 0.2881 | 0.3087 | 0.2874 | 0.2776 | 0.2718 | 0.3012 |
| 0.15 | 0.15 | 0.3337 | 0.3549 | 0.3464 | 0.3294 | 0.2938 | 0.2927 | 0.33 |
| 0.15 | 0.45 | 0.3122 | 0.3166 | 0.3017 | 0.291 | 0.2703 | 0.2614 | 0.3122 |
| 0.15 | 0.75 | 0.3007 | 0.2995 | 0.2896 | 0.2823 | 0.2478 | 0.2474 | 0.2964 |
| 0.15 | 1.05 | 0.2975 | 0.2864 | 0.2785 | 0.2541 | 0.2349 | 0.2309 | 0.2774 |
| 0.15 | 1.35 | 0.2813 | 0.275 | 0.2643 | 0.249 | 0.2406 | 0.2373 | 0.2414 |
| 0.15 | 1.65 | 0.2854 | 0.2843 | 0.2737 | 0.255 | 0.2569 | 0.2584 | 0.2731 |
| 0.15 | 1.95 | 0.2734 | 0.2785 | 0.299 | 0.2771 | 0.2678 | 0.2669 | 0.2746 |
| 0.18 | 0.15 | 0.3393 | 0.3578 | 0.3454 | 0.3306 | 0.2926 | 0.2994 | 0.3227 |
| 0.18 | 0.45 | 0.311 | 0.3139 | 0.3012 | 0.2869 | 0.2671 | 0.2623 | |
| 0.18 | 0.75 | 0.2958 | 0.2941 | 0.2881 | 0.2705 | 0.2392 | 0.2356 | |
| 0.18 | 1.05 | 0.2938 | 0.2851 | 0.2843 | 0.259 | 0.2233 | 0.2211 | |
| 0.18 | 1.35 | 0.2798 | 0.27 | 0.2617 | 0.24 | 0.2289 | 0.2244 | |
| 0.18 | 1.65 | 0.2779 | 0.2733 | 0.2436 | 0.2516 | 0.242 | 0.2421 | |
| 0.18 | 1.95 | 0.2702 | 0.2528 | 0.2931 | 0.2714 | 0.2522 | 0.2314 |
References
- Anderson, J. D. (2003). Modern compressible flow: With historical perspective (3rd ed.). McGraw-Hill Education. [CrossRef]
- Toro, E. F. (2009). Riemann solvers and numerical methods for fluid dynamics: A practical introduction (3rd ed.). Springer. [CrossRef]
- Wang, Z. J.; Fidkowski, K.; Abgrall, R.; Bassi, F.; Caraeni, D.; Cary, A.; et al. (2013). High-order CFD methods: Current status and perspective. International Journal for Numerical Methods in Fluids, 72(8), 811–845. [CrossRef]
- Slotnick, J.; Khodadoust, A.; Alonso, J.; Darmofal, D.; Gropp, W.; Lurie, E.; Mavriplis, D. (2014). CFD vision 2030 study: A path to revolutionary computational aerosciences. NASA Technical Report, NASA/CR-2014-218178. [CrossRef]
- Jameson, A. (2003). Aerodynamic shape optimization using the adjoint method. VKI LS 2003-04.
- Halila, G. L. O.; Ghazlane, I.; Carrier, G.; Trepanier, J. Y. (2020). Adjoint-based aerodynamic shape optimization for compressible flows: A review. Aerospace Science and Technology, 106, 106112. [CrossRef]
- Mukhtar, A.; Yasir, A. S. H. M.; Nasir, M. F. M. (2023). A machine learning-based comparative analysis of surrogate models for design optimisation in computational fluid dynamics. Heliyon, 9(8), e18674. [CrossRef]
- Alizadeh, R.; Allen, J. K.; Mistree, F. (2020). Managing computational complexity using surrogate models: a critical review. Research in Engineering Design, 31(3), 275–298. [CrossRef]
- Mao, R.; Lan, Y.; Liang, L.; Yu, T.; Mu, M.; Leng, W.; Long, Z. (2025). Rapid CFD prediction based on Machine Learning surrogate model in built Environment: a review. Fluids, 10(8), 193. [CrossRef]
- Kirsch, J.; Rider, W. J.; Fathi, N. (2024). Credibility Assessment of Machine Learning-Based Surrogate Model Predictions on NACA 0012 Airfoil Flow. [CrossRef]
- Demystifying the Data Need of ML-surrogates for CFD Simulations. (2022). [CrossRef]
- Joly, M. M.; Sarkar, S.; Mehta, D. (2018). Machine Learning Enabled Adaptive Optimization of a Transonic Compressor Rotor With Pre-Compression. Journal of Turbomachinery, 141(5), 051011. [CrossRef]
- El Zaatari, L.; Leicht, T.; Lang, S.; Bekemeyer, P.; Görtz, S. (2022). A Machine Learning based Expert System for Optimizing CFD Solver Parameters. ECCOMAS 2022. [CrossRef]
- Owoyele, O.; Pal, P.; Vidal Torreira, A.; et al. (2021). AutoML-GA coupled with CFD for engine design optimization. International Journal of Engine Research, 23(9), 1586-1601. [CrossRef]
- Niu, Y.; Zhao, K.; Yang, Y.; Yao, M.; Wu, Q.; Bai, B.; Ma, L. (2024). Integration of deep learning and CFD for aerodynamic force prediction. Physics of Fluids, 36(10). [CrossRef]
- Hwang, P.; Wu, J.; Chang, Y. (2024). CFD and ML optimization for diffuser-augmented wind turbines. Sustainability, 16(9), 3648. [CrossRef]
- Cabrera-Escobar, J.; Vera, D.; Jurado, F.; et al. (2024). CFD and deep learning for process optimization. Energy Sources Part A, 46(1), 4756-4776. [CrossRef]
- Wang, Y.; Guzik, S.; Zupanski, M.; Gao, X. (2021). Ensemble filter for computational flame and fluid dynamics. IMA Journal of Applied Mathematics, 86(4), 631-661. [CrossRef]
- Stavrakakis, G.; Karadimou, D.; Zervas, P.; Sarimveis, H.; Markatos, N. (2010). CFD and neural networks for optimization. Building and Environment, 46(2), 298-314. [CrossRef]
- Crawford, D. H. (1961). Flow over spiked-nose hemispherical cylinders. NASA TN D-118.
- Feszty, D.; Badcock, K. J.; Richards, B. E. (2004). Aerodynamic characteristics of spiked blunt bodies. AIAA Journal, 42(5), 879–887. [CrossRef]
- Panaras, A. G.; Drikakis, D. (2009). High-speed flows around spiked blunt bodies. Journal of Fluid Mechanics, 632, 69–96. [CrossRef]
- Deng, F.; Wen, C. Y.; Tang, H.; Liu, J. (2017). Spike effects on drag reduction. Journal of Spacecraft and Rockets, 54(1), 36–47. [CrossRef]
- Sarwar, M. D. G.; Siddiqui, M. S.; Uddin, M. S. (2023). Aerodynamic performance of a spiked blunt body. Aerospace Science and Technology, 139, 108317. [CrossRef]
- Muñoz, J. A. S.; Lagarza-Cortés, C.; Ramírez-Cruz, J. (2024). Drag coefficient prediction of a spike blunt body. Aerospace, 11(9), 757. [CrossRef]
- Kalimuthu R, Mehta RC, Rathakrishnan E. Investigation of aerodynamic coefficients at Mach 6 over conical, hemispherical and flat-face spiked body. The Aeronautical Journal. 2017;121(1245):1711-1732. [CrossRef]
- Numerical Basis of CAD-Embedded CFD: White Paper. Available online: https://www.solidworks.com/sw/docs/Flow_Basis_of_CAD_Embedded_CFD_Whitepaper.pdf (accessed on 1 June 2024).
- Ingram, D.; Causon, D.; Mingham, C. (2003). Developments in Cartesian cut cell methods. Mathematics and Computers in Simulation, 61(3–6), 561–572. [CrossRef]
- Beigzadeh, R.; Soltanian, S.; Tofangchi, D. (2024). Enhancing heat transfer efficiency in heat exchangers: A fusion of computational fluid dynamics and genetic algorithm for circular baffle optimization. International Journal of Heat and Fluid Flow, 112, 109726. [CrossRef]
- Yu, J.; Tang, M.; Cui, P.; Deng, J.; Mi, H.; Zhang, L.; Chen, L.; Wu, P.; Chao, Y.; Zhu, W.; Liu, Z. (2024). Computational fluid dynamics and machine learning assisted Al-LDH adsorbent reactor design for lithium recovery from salt lakes. Desalination, 600, 118396. [CrossRef]
- Barragan, G.; Atarihuana, S.; Cando, E.; Hidalgo, V. (2025). Enhancing hydraulic efficiency of pelton turbines through computational fluid dynamics and metaheuristic optimization. Algorithms, 18(1), 35. [CrossRef]
- Samiani, O. S.; Boroushaki, M. (2024). Optimal design of Archimedes Wind Turbine using genetic algorithm. Energy, 314, 134157. [CrossRef]
- Bentéjac, C.; Csörgő, A.; Martínez-Muñoz, G. (2020). Comparative analysis of gradient boosting algorithms. Artificial Intelligence Review, 54(3), 1937-1967. [CrossRef]
- Cha, G.; Moon, H.; Kim, Y. (2021). Random Forest vs Gradient Boosting for prediction. IJERPH, 18(16), 8530. [CrossRef]
- Natekin A and Knoll A (2013) Gradient boosting machines, a tutorial. Front. Neurorobot. 7:21. [CrossRef]
- GeeksforGeeks. (2025b, diciembre 3). Gradient Boosting in ML. GeeksforGeeks. https://www.geeksforgeeks.org/machine-learning/ml-gradient-boosting/.
- A. A. Taha and S. J. Malebary, "An Intelligent Approach to Credit Card Fraud Detection Using an Optimized Light Gradient Boosting Machine," in IEEE Access, vol. 8, pp. 25579-25587, 2020. [CrossRef]
- Guo, J.; Yun, S.; Meng, Y.; He, N.; Ye, D.; Zhao, Z.; Jia, L.; Yang, L. (2023). Prediction of heating and cooling loads based on light gradient boosting machine algorithms. Building And Environment, 236, 110252. [CrossRef]
- GeeksforGeeks. (2025a, septiembre 5). Regression using LightGBM. GeeksforGeeks. https://www.geeksforgeeks.org/machine-learning/regression-using-lightgbm/.
- Kramer, O. (2017). Genetic Algorithms. In: Genetic Algorithm Essentials. Studies in Computational Intelligence, vol 679. Springer, Cham. [CrossRef]
- PyGAD. (s. f.). PyGAD documentation. Read the Docs. https://pygad.readthedocs.io/en/latest/.
- Mayer, D.; Kinghorn, B.; Archer, A. (2004). Differential evolution – an easy and efficient evolutionary algorithm for model optimisation. Agricultural Systems, 83(3), 315-328. [CrossRef]
- Cristina, S. (2021, 12 de octubre). Differential evolution from scratch in Python. Machine Learning Mastery. https://machinelearningmastery.com/differential-evolution-from-scratch-in-python/.
- Nikolaus Hansen, N.; Andreas Ostermeier, A. (2001). Completely derandomized self-adaptation in evolution strategies. Evolutionary Computation, 9(2), 159–195. [CrossRef] [PubMed]
- cma-es. (2021, 1 de diciembre). cma-es (versión 1.5.0) [Paquete PyPI]. Python Package Index. https://pypi.org/project/cma-es/.
- Esfeh, M.K.; Tajalli, S.M.; Liu, P. Evaluation of Aerospike for Drag Reduction on a Blunt Nose Using Experimental and Nu-merical Modeling. Acta Astronaut. 2019, 160, 656–671. [CrossRef]
- Tekure, V.; Pophali, P.S.; Venkatasubbaiah, K. Numerical Investigation of Aerospike Semi-Cone Angle and a Small Bump on the Spike Stem in Reducing the Aerodynamic Drag and Heating of Spiked Blunt-Body: New Correlations for Drag and Surface Temperature. Phys. Fluids 2021, 33, 116108. [CrossRef]
- Li, Z.; Sun, C.; Xia, X.; Li, X. Numerical Simulation of Aerodynamic Heating over Solid Blunt Configuration with Porous Spike. J. Aerosp. Eng. 2018, 31, 04018083. [CrossRef]
- Asif, M.; Zahir, S.; Kamran, N.; Khan, M. Computational Investigations Aerodynamic Forces at Supersonic / Hypersonic Flow Past a Blunt Body with Various Forward Facing Spikes. In 22nd Applied Aerodynamics Conference and Exhibit, Guidance, Navigation, and Control and Co-located Conferences, AIAA, Providence, Rhode Island, 16–19 August 2004.
- Xue, Y.; Wang, L.; Fu, S. Drag Reduction and Aerodynamic Shape Optimization for Spike-Tipped Supersonic Blunt Nose. J. Spacecr. Rocket. 2018, 55, 552–560. [CrossRef]
- Hamza, M.; Khan, S.B.; Maqsood, A. Geometric Optimization of Blunt Bodies with Aerodisk and Opposing Jet for Wave Drag and Heat Reduction. Aerospace 2022, 9, 800. [CrossRef]
- Ponce-Bobadilla, A. V.; Schmitt, V.; Maier, C. S.; Mensing, S.; Stodtmann, S. (2024). Practical guide to SHAP analysis: Explaining supervised machine learning model predictions in drug development. Clinical And Translational Science, 17(11), e70056. [CrossRef]
- Awan, A. A. (2023, 28 de junio). An Introduction to SHAP values and machine learning interpretability. DataCamp. https://www.datacamp.com/tutorial/introduction-to-shap-values-machine-learning-interpretability.
Figure 1.
Methodological workflow of the study. Aerodynamic data are generated via CFD simulations. Machine learning models are then trained and validated to predict the drag coefficient . Finally, the spike–blunt body geometry is optimized using evolutionary algorithms.
Figure 1.
Methodological workflow of the study. Aerodynamic data are generated via CFD simulations. Machine learning models are then trained and validated to predict the drag coefficient . Finally, the spike–blunt body geometry is optimized using evolutionary algorithms.

Figure 2.
Blunt body scheme with main dimensions.

Figure 3.
Heatmaps of drag coefficient () as a function of the spike length ratio () and spike diameter ratio () for three different Mach numbers: (a) Ma = 1.2, (b) Ma = 2.4, and (c) Ma = 3.2. The color scale indicates the magnitude of Cd , with cooler colors representing lower drag values. These plots highlight the influence of geometric parameters on aerodynamic performance, showing a consistent trend of drag reduction with increasing spike length across all Mach regimes.
Figure 3.
Heatmaps of drag coefficient () as a function of the spike length ratio () and spike diameter ratio () for three different Mach numbers: (a) Ma = 1.2, (b) Ma = 2.4, and (c) Ma = 3.2. The color scale indicates the magnitude of Cd , with cooler colors representing lower drag values. These plots highlight the influence of geometric parameters on aerodynamic performance, showing a consistent trend of drag reduction with increasing spike length across all Mach regimes.

Figure 5.
Computed drag coefficient vs. predicted drag coefficient for gradient boosting and LGBM.

Figure 8.
SHAP summary plot (bar) showing the average absolute SHAP values for each input feature. The L/D ratio exhibits the highest impact on the predicted drag coefficient, followed by the Mach number (Ma) and the d/D ratio.
Figure 8.
SHAP summary plot (bar) showing the average absolute SHAP values for each input feature. The L/D ratio exhibits the highest impact on the predicted drag coefficient, followed by the Mach number (Ma) and the d/D ratio.

Table 1.
Performance comparison between optimized machine learning models.
| Model | CV R² (mean) | Test R² | Test RMSE | Optimized Parameters |
|---|---|---|---|---|
| Gradient Boosting | 0.8553 | 0.8909 | 0.00775 | n_estimators=100 max_depth=3 learning_rate=0.2 |
| Light GBM | 0.7252 | 0.8459 | 0.00922 | n_estimators=100 max_depth=3 learning_rate=0.1 num_leaves=20 |
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. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).
Copyright: This open access article is published under a Creative Commons CC BY 4.0 license, which permit the free download, distribution, and reuse, provided that the author and preprint are cited in any reuse.