CFD accuracy is highly sensitive to mesh configuration, yet mesh parameters are often chosen by trial identify the mesh configuration that best reproduces wind-tunnel data for a NACA 4412 airfoil at Re = 1×10⁶, using only 8 simulations instead of a full factorial campaign. The study was carried out as a 4-person team project.
A composite error function was defined to jointly evaluate lift and drag prediction accuracy, weighting CD by a = CL,exp / CD,exp = 8.75 to balance the two coefficients' relative magnitude. Three mesh parameters, each at two levels, were then studied using a Taguchi L8 orthogonal array, reducing the required simulations from 2³ = 8 full-factorial runs' worth of variables to 8 structured runs while still resolving all main effects and two-factor interactions.
Global mesh element size, 5 mm (low) vs 10 mm (high), controlling overall domain resolution.
Element size along the airfoil edges, 100 mm vs 150 mm, controlling boundary-layer and near-wall resolution.
Triangular (low) vs quadrilateral (high) element topology.
| Run | A : Mesh Size (mm) | B : Edge Size (mm) | C : Method |
|---|---|---|---|
| 1 | 5 | 100 | Triangular |
| 2 | 10 | 100 | Triangular |
| 3 | 5 | 150 | Triangular |
| 4 | 10 | 150 | Triangular |
| 5 | 5 | 100 | Quadrilateral |
| 6 | 10 | 100 | Quadrilateral |
| 7 | 5 | 150 | Quadrilateral |
| 8 | 10 | 150 | Quadrilateral |
The NACA 4412 geometry (4% max camber at 40% chord, 12% max thickness) was built in Design Modeler. The computational domain followed standard CFD best practices: 7.5c upstream, 15c downstream and 7.5c laterally, sized to prevent boundary conditions from artificially influencing the near-field flow and to fully capture wake development.
Each of the 8 runs produced a composite error ranging from 0.79% to 97.46%, confirming that mesh configuration has a first-order effect on CFD accuracy for this case. Factor and interaction effects were then computed by comparing mean error between high and low levels of each variable.
| Run | A | B | C | Composite Error Y (%) |
|---|---|---|---|---|
| 1 | -1 | -1 | -1 | 9.35 |
| 2 | +1 | -1 | -1 | 11.82 |
| 3 | -1 | +1 | -1 | 97.46 |
| 4 | +1 | +1 | -1 | 10.61 |
| 5 | -1 | -1 | +1 | 0.96 |
| 6 | +1 | -1 | +1 | 3.14 |
| 7 | -1 | +1 | +1 | 0.79 |
| 8 | +1 | +1 | +1 | 2.05 |
| Factor | Effect (%) | Absolute Effect (%) |
|---|---|---|
| A : Mesh sizing | -20.24 | 20.24 |
| B : Edge sizing | +21.41 | 21.41 |
| AB : Interaction | -22.56 | 22.56 |
| C : Method | -30.58 | 30.58 |
| AC : Interaction | +21.96 | 21.96 |
| BC : Interaction | -22.04 | 22.04 |
| ABC : Interaction | +22.10 | 22.10 |
| Grand mean M | 17.02 | – |
Mesh method (C) is the most influential parameter, with an effect of -30.58%. Switching from triangular to quadrilateral elements substantially reduces error, quadrilateral elements introduce less numerical diffusion and better resolve flows with a dominant direction, such as attached boundary-layer flow over an airfoil.
| Parameter | Optimal Level | Value |
|---|---|---|
| Mesh sizing (A) | -1 | 10 mm |
| Edge sizing (B) | -1 | 100 mm |
| Method (C) | +1 | Quadrilateral |
This configuration corresponds to Run 5, which achieved the lowest composite error of the campaign at 0.96%, consistent with the effects model's prediction of 2 to 4% for the optimal factor combination.
The optimal configuration (Run 5) was checked for solution convergence, then its predicted aerodynamic coefficients were compared directly against wind-tunnel reference data.
Pressure and velocity fields are physically consistent with expected airfoil aerodynamics: overpressure on the pressure side and suction on the suction side generating lift, flow acceleration on the suction side per the Venturi effect, a regular boundary layer with no separation at this angle of attack, and a stable, symmetric wake.
The study's scope and its practical implications for future CFD work were both examined critically.
Limited to Re = 1×10⁶; optimal mesh parameters may differ in laminar or transitional regimes.
Optimized at α = 0°; near-stall conditions with massive boundary-layer separation could shift the optimal configuration.
k-ω SST is a validated but approximate turbulence closure; 3D tip effects and unsteady vortex shedding are not captured.
The Taguchi method proved to be an efficient framework for CFD parameter optimization, identifying the best-performing mesh configuration from only 8 simulations while quantifying the relative influence of each parameter and their interactions, a structured, reproducible alternative to trial-and-error mesh setup.