.. _naca0012_caseStudy: .. |deg| unicode:: U+000B0 .. DEGREE SIGN :ltrim: .. |agr| unicode:: U+003B1 .. GREEK SMALL LETTER ALPHA NACA 0012 Low Speed Airfoil =========================== Introduction ------------ The purpose of this case study is to verify and validate the functionality of the Flow360 solver and the implementation of the Spalart-Allmaras (SA) and Menter's :math:`k - \omega` shear stress transport (SST) turbulence models, with respect to the NACA 0012 low speed airfoil validation case. This is one of the cases originally provided by `the NASA Langley Turbulence Modeling Resource database `_ with accurate and up-to-date information on widely-used turbulence models, as also described by `the ONERA-elsA website `_. Recent high-accuracy numerical investigations on asymptotic grid convergence behaviors over three families of nested grids are described on this `NASA-LaRC-TMR webpage `_. Similar validation results from OVERFLOW were documented by `Jespersen et al `_. In this study, Reynolds-averaged Navier-Stokes (RANS) simulations utilizing the SA and the SST turbulence models were performed at the same operating conditions as given on those webpages. According to `these major conclusions `_: 1st, the trailing edge streamwise spacing has profound influence on the airfoil lift and moment results, and the grid of Family II yields the most accurate results; 2nd, numerical schemes incorporated with 2nd-order accuracy for turbulence advection are desirable for better asymptotic grid convergence; in the current validation cases, the grid of Family II at Level-4 and 2nd-order accuracy for turbulence model equation were utilized. This grid resolution is comparable to that used in the reference validation cases. Current numerical results were validated with respect to available experimental data, as well as other CFD results where appropriate. Mesh and Flow Configuration --------------------------- From the three series of nested grids with varying trailing edge streamwise spacing, available from `this NASA webpage `_, we used the grid of Family II at Level-4 (FMLY2GL4, with a grid resolution of 897 x 2 x 257) for this validation. The geometry and the mesh of this quasi-3D CFD model are shown in :numref:`Fig1_NACA0012GeoMsh`. As seen, the grid has a C-type topology, wrapping around the airfoil from the downstream farfield, around the lower surface to the upper, then back to the downstream farfield again. Also, in the wake region, the grid connects to itself in a point-matched manner. The chord length is scaled to unity, and the grid unit is taken to be meter. The origin of the grid coordinates is at the leading edge of the airfoil. The x-axis is in alignment with the chord line. Also, the grid is stretched for one spanwise cell in the negative y direction with the grid spacing of one unit length. For this validation case, the original NASA grids are converted from ADF to HDF5 data format and are available `here `_. .. figure:: Figures/n0012familyII4hex_global.png :align: center .. _Fig1_NACA0012GeoMsh: .. figure:: Figures/n0012familyII4hex_local.png :align: center Quasi-3D CFD model of NACA 0012 airfoil (Family II, Grid Level-4). As suggested by NASA-LaRC-TMR and ONERA-elsA, for this essentially incompressible flow, the freestream Mach number is :math:`M_{\infty} = 0.15`, the Reynolds number per chord length is :math:`Re_{c} = 6 \times 10^6`, and the reference temperature is :math:`T_{ref} = 300 K`. The turbulent flow past the airfoil was simulated at each of three angles of attack, i.e. :math:`\alpha = 0^o`, :math:`10^o` and :math:`15^o`. :numref:`Tab1_FlowConfig` summarizes the key flow configuration parameters for Flow360. Detailed descriptions are available for the :ref:`nondimensional inputs ` and :ref:`model configuration parameters`. .. _Tab1_FlowConfig: .. csv-table:: Basic solver configuration parameters :file: Tables/naca0012_tab1_keyflowconfig.csv :widths: 13, 6, 10, 45 :align: center :header-rows: 1 :delim: @ The “NoSlipWall” boundary condition is applied to the adiabatic viscous surface of the airfoil, and “SlipWall” is used as the symmetry condition in the spanwise direction. The “Freestream” boundary condition is utilized in the farfield, together with the default value of the freestream “turbulentViscosityRatio”, i.e. :math:`\frac{\mu_t}{\mu_{\infty}} = 0.210438` for the SA model. This is equivalent to the boundary value based on the SA approximate turbulent kinematic viscosity :math:`\tilde{\nu}`, i.e. :math:`\frac{\tilde{\nu}}{\nu_{\infty}} = 3`, as used in the CFL3D predictions. More descriptions about these freestream turbulence boundary conditions can be found from this NASA webpage on `the Spalart-Allmaras turbulence model `_. Similarly, for the SST model, the value of :math:`0.009` is used for the freestream “turbulentViscosityRatio”, i.e. :math:`\frac{\mu_t}{\mu_{\infty}} = 0.009`. The same value is used in the reference results, such as those CFL3D predictions, where a freestream turbulence intensity, i.e. :math:`T_u = \frac{u_{rms}}{U_{\infty}} = 0.052\%` was also specified. More descriptions about these freestream turbulence boundary conditions can be found from this NASA webpage on `Menter's SST turbulence model `_. Notably, a modified version of the SST turbulence model was incorporated into CFL3D. This is denoted as the SST(m) in :numref:`Tab1_FlowConfig` and the following. As described on the NASA webpage, this simplified version is exact for incompressible flows and is considered typically a very good approximation, except perhaps for very high Mach numbers. This is also the version implemented in Flow360. Steady-state solutions were computed iteratively, utilizing 2nd-order schemes for both the time averaged Navier-Stokes and the turbulence model equations. For the former, the CFL number was gradually ramped up to 100. Typically, the values of the absolute nonlinear residual convergence tolerances were set to be :math:`1 \times 10^{-12}` and :math:`1 \times 10^{-10}` for the RANS and the turbulence model equations, respectively. Detailed Flow360 solver and mesh configuration files, `Flow360.json `_ and `Flow360Mesh.json `_, are given here as an example for the case utilizing the SA model with a Rotation/Curvature (R/C) correction at :math:`\alpha = 15^o`. For the same case with the SST(m) model, the solver configuration file is `available here `_. The definitions of the angle of attack :math:`\alpha` and the sideslip angle :math:`\beta`, with respect to the grid coordinates, are given as :eq:`EQ_FreestreamBC` in :ref:`the non-dimensional inputs knowledge base `. SA/SA-RC Model Results ---------------------- Two-dimensional steady viscous mean flows past the NACA 0012 airfoil were simulated at the aforementioned operating conditions. Aerodynamic characteristics were visualized through contour plots of Mach number and turbulent viscosity ratio on the longitudinal cut-plane at :math:`y = -0.5`. The results of the RANS simulations based on the SA model with the R/C correction are shown in :numref:`Fig2a_Ma_mutRatio_AOA00`, :numref:`Fig2b_Ma_mutRatio_AOA10` and :numref:`Fig2c_Ma_mutRatio_AOA15` for the three angles of attack, respectively. .. _Fig2a_Ma_mutRatio_AOA00: .. figure:: Figures/NACA0012_FMLY2GL4_AOA00_SARC_Contours_Ma_mutRatio_upd2a.png :align: center Contours of Mach number and turbulent viscosity ratio, NACA 0012, SA-RC, :math:`\alpha = 0^o`. As seen from the above figure, for the zero lift condition at :math:`\alpha = 0^o`, symmetric flow patterns are established along the chord line at :math:`z = 0`. .. _Fig2b_Ma_mutRatio_AOA10: .. figure:: Figures/NACA0012_FMLY2GL4_AOA10_SARC_Contours_Ma_mutRatio_upd2a.png :align: center Contours of Mach number and turbulent viscosity ratio, NACA 0012, SA-RC, :math:`\alpha = 10^o`. For a relatively high lift condition at :math:`\alpha = 10^o`, a large wake region trailing down from the airfoil is observed. .. _Fig2c_Ma_mutRatio_AOA15: .. figure:: Figures/NACA0012_FMLY2GL4_AOA15_SARC_Contours_Ma_mutRatio_upd2a.png :align: center Contours of Mach number and turbulent viscosity ratio, NACA 0012, SA-RC, :math:`\alpha = 15^o`. Also, as expected, at a higher angle of attack :math:`\alpha = 15^o` towards the operating condition for :math:`C_{L,max}`, the flow starts to separate from the upper surface near the trailing edge. This is shown in the above figure where detachment of the contour line of :math:`M = 0` occurs at a more detailed level. For these operating conditions, surface distributions of pressure and skin friction coefficients, i.e. :math:`C_p = \frac{p - p_{\infty}}{0.5 \cdot \rho_{\infty} \cdot U^2_{ref}}` and :math:`C_f = \frac{\tau_w}{0.5 \cdot \rho_{\infty} \cdot U^2_{ref}}`, are examined in :numref:`Fig3a_CpCf_AOA00`, :numref:`Fig3b_CpCf_AOA10` and :numref:`Fig3c_CpCf_AOA15`, with respect to reference data. In these figures, Flow360 results are indicated as the red solid and the green dashed lines for the SA model without and with the R/C correction, respectively. The corresponding CFL3D results are shown as the blue dashed and dash-dot lines. Experimental data are given as symbols. Notably, these measurements of :math:`C_p` were made at a lower Reynolds number :math:`Re_c = 2.88 \times 10^6` by `Gregory and O'Reilly `_. .. _Fig3a_CpCf_AOA00: .. figure:: Figures/NACA0012_Cp_Cf_Flow360_SA_Fig001_AOA00_upd2.png :align: center Surface distributions of :math:`C_p` and :math:`C_f`, NACA 0012, :math:`\alpha = 0^o`. .. _Fig3b_CpCf_AOA10: .. figure:: Figures/NACA0012_Cp_Cf_Flow360_SA_Fig002_AOA10_upd2.png :align: center Surface distributions of :math:`C_p` and :math:`C_f`, NACA 0012, :math:`\alpha = 10^o`. .. _Fig3c_CpCf_AOA15: .. figure:: Figures/NACA0012_Cp_Cf_Flow360_SA_Fig003_AOA15_upd2.png :align: center Surface distributions of :math:`C_p` and :math:`C_f`, NACA 0012, :math:`\alpha = 15^o`. As seen from the above figures, at all the three distinct lift conditions, Flow360 predictions accurately capture the experimental data, and closely match the counterparts of the reference numerical results. Notably, as shown in :numref:`Fig3c_CpCf_AOA15` associated with :math:`\alpha = 15^o`, the :math:`C_f` value of the current result with the SA model approaches zero around :math:`x/c = 0.9078` on the upper surface of the airfoil near the trailing edge. This indicates separated mean flow occurs as observed from the previous :numref:`Fig2c_Ma_mutRatio_AOA15`. For the current result with the SA-RC model, the separation point emerges around :math:`x/c = 0.8992`. These locations are at the upstream bounds of the suggested intervals as given on the NASA webpages. For the same operating condition, CFL3D predicted that the separation point emerged around :math:`x/c = 0.9163` or :math:`0.9046` for the cases with the SA or the SA-RC models, respectively. The integrated :math:`C_L` and :math:`C_D` values of the current predictions are summarized in :numref:`Tab2a_ClCd`, :numref:`Tab2b_ClCd` and :numref:`Tab2c_ClCd` for :math:`\alpha = 0^o`, :math:`10^o` and :math:`15^o`, respectively, together with available reference CFD data. As seen, for all the tested operating conditions, the accuracy of Flow360 results are comparable. .. _Tab2a_ClCd: .. csv-table:: Lift and drag coefficients for the NACA 0012 airfoil with the SA model at :math:`\alpha = 0^o` :file: Tables/naca0012_tab2a_ClCd_AOA00.csv :widths: 10, 8, 6, 10, 8, 8, 8 :align: center :header-rows: 1 :delim: @ It is noted that, for some of these representative aerodynamic quantities, the results of Flow360 are at either the upper or the lower bounds of the reference intervals. It is suspected that this is due to the differences in the discretization, such as node-centered or cell-centered schemes, as well as convergence criteria, at least as seen from the :math:`C_L` values at :math:`\alpha = 0^o`. It is also noted that the reference data such as those CFL3D results were computed with the farfield point vortex (PV) correction based on inviscid characteristic methods as given by `Thomas and Salas `_. At the current accuracy level for validation with farfield boundaries about 500 chords away, its effects would be inappreciable. .. _Tab2b_ClCd: .. csv-table:: Lift and drag coefficients for the NACA 0012 airfoil with the SA model at :math:`\alpha = 10^o` :file: Tables/naca0012_tab2b_ClCd_AOA10.csv :widths: 14, 8, 6, 8, 8, 8, 8 :align: center :header-rows: 1 :delim: @ Importantly, a different computational grid with substantially finer trailing edge streamwise spacing is used for the current cases. As described on `the NASA webpage `_, before June 23, 2014, there was a typo in the slightly scaled version of the formula that was used to generate the NACA 0012 airfoil profile. This caused a slight non-closure of the order of :math:`1 \times 10^{-8}` at the trailing edge, and affected the earlier grid files, as well as the corresponding numerical results as refered to here. This issue would not have significant influence at the accuracy level required for validation purpose. However, it has been shown that the trailing edge streamwise spacing has profound influence on the airfoil lift and moment results, as analysed by `Diskin et al `_ and `Atkins `_. Since the typo discovered, thorough high-accuracy numerical analysis had been performed to reveal scenarios such as grid convergence, etc. Details of these updated investigations are given on this `turbulence model numerical analysis (TMNA) `_ webpage of NASA, as well as `the ONERA-elsA webpage `_. These updated data of :math:`C_L` and :math:`C_D` computed on the same grid as used in this study without the farfield PV correction, available only at :math:`\alpha = 10^o`, are also given in :numref:`Tab2b_ClCd`. These are at the bottom of the table and denoted by (TMNA, noPV). As seen, the agreement of Flow360 results with respect to these updates are closer. .. _Tab2c_ClCd: .. csv-table:: Lift and drag coefficients for the NACA 0012 airfoil with the SA model at :math:`\alpha = 15^o` :file: Tables/naca0012_tab2c_ClCd_AOA15.csv :widths: 10, 8, 6, 8, 8, 8, 8 :align: center :header-rows: 1 :delim: @ The corresponding :math:`C_L` and :math:`C_D` data given in the above tables are also displayed in :numref:`Fig4_ClCd`, together with the experimental data measured by `Ladson `_. Notably, in this figure, at low-to-moderate angles of attack, linear variation of :math:`C_L` with the best fit lift slope provided by `McCroskey `_ is also shown. As seen, the current results agree well with these references. More discussions about the experimental data compared in this and the above figures are given on `this NASA-LaRC-TMR webpage `_. .. _Fig4_ClCd: .. figure:: Figures/NACA0012_Cl_Cd_Flow360_SA_upd1.png :align: center Comparisons of :math:`C_L` and :math:`C_D` at :math:`\alpha = 0^o`, :math:`10^o` and :math:`15^o`. SST(m) Model Results -------------------- Similar to the above sub-section, Flow360 results computed with the SST(m) model are examined in this sub-section. Aerodynamic characteristics were visualized through contour plots of Mach number and turbulent viscosity ratio on the longitudinal cut-plane at :math:`y = -0.5`. Typical results are shown in :numref:`Fig5a_Ma_mutRatio_AOA00`, :numref:`Fig5b_Ma_mutRatio_AOA10` and :numref:`Fig5c_Ma_mutRatio_AOA15` for the three angles of attack, respectively. Similar flow characteristics as discussed earlier are observed. .. _Fig5a_Ma_mutRatio_AOA00: .. figure:: Figures/NACA0012_FMLY2GL4_AOA00_SST_Contours_Ma_mutRatio.png :align: center Contours of Mach number and turbulent viscosity ratio, NACA 0012, SST(m), :math:`\alpha = 0^o`. .. _Fig5b_Ma_mutRatio_AOA10: .. figure:: Figures/NACA0012_FMLY2GL4_AOA10_SST_Contours_Ma_mutRatio.png :align: center Contours of Mach number and turbulent viscosity ratio, NACA 0012, SST(m), :math:`\alpha = 10^o`. .. _Fig5c_Ma_mutRatio_AOA15: .. figure:: Figures/NACA0012_FMLY2GL4_AOA15_SST_Contours_Ma_mutRatio.png :align: center Contours of Mach number and turbulent viscosity ratio, NACA 0012, SST(m), :math:`\alpha = 15^o`. For these operating conditions, surface distributions of pressure and skin friction coefficients are examined in :numref:`Fig6a_CpCf_AOA00`, :numref:`Fig6b_CpCf_AOA10` and :numref:`Fig6c_CpCf_AOA15`, with respect to reference data. In these figures, Flow360 results are indicated as the red solid lines. The corresponding CFL3D results are shown as the blue dashed lines. Also, in these figures, experimental data are given as symbols. These are the same measurements of :math:`C_p` made by `Gregory and O'Reilly `_ as previously given in :numref:`Fig3a_CpCf_AOA00`, etc. .. _Fig6a_CpCf_AOA00: .. figure:: Figures/NACA0012_Cp_Cf_Flow360_SSTm_Beta22226_Fig001_AOA00_upd1.png :align: center Surface distributions of :math:`C_p` and :math:`C_f`, NACA 0012, :math:`\alpha = 0^o`. .. _Fig6b_CpCf_AOA10: .. figure:: Figures/NACA0012_Cp_Cf_Flow360_SSTm_Beta22226_Fig002_AOA10_upd1.png :align: center Surface distributions of :math:`C_p` and :math:`C_f`, NACA 0012, :math:`\alpha = 10^o`. .. _Fig6c_CpCf_AOA15: .. figure:: Figures/NACA0012_Cp_Cf_Flow360_SSTm_Beta22226_Fig003_AOA15_upd1.png :align: center Surface distributions of :math:`C_p` and :math:`C_f`, NACA 0012, :math:`\alpha = 15^o`. As seen from the above figures, at all the three distinct lift conditions, Flow360 predictions accurately capture the experimental data, and closely match CFL3D results. Notably, as shown in :numref:`Fig6c_CpCf_AOA15` associated with :math:`\alpha = 15^o`, the :math:`C_f` value of the current result with the SST(m) model approaches zero around :math:`x/c = 0.9834` on the upper surface of the airfoil near the trailing edge. This indicates separated mean flow occurs as observed from :numref:`Fig5c_Ma_mutRatio_AOA15`. For the same operating condition, CFL3D predicted that the separation point emerged around :math:`x/c = 0.9868`. Similarly, this is located at around :math:`x/c = 0.9882` as predicted by `OVERFLOW `_. The integrated :math:`C_L` and :math:`C_D` values of the current predictions are summarized in :numref:`Tab3_ClCd_SST`, together with available reference CFD data. As seen, for all the tested operating conditions, the accuracy of Flow360 results are comparable. The discrepancies are perhaps attributed to the same aspects as discussed in the previous section. .. _Tab3_ClCd_SST: .. csv-table:: Lift and drag coefficients for the NACA 0012 airfoil with the SST(m) model at :math:`\alpha = 0^o`, :math:`10^o` and :math:`15^o` :file: Tables/naca0012_tab3_ClCd_SSTm.csv :widths: 10, 8, 6, 8, 8, 8, 8 :align: center :header-rows: 1 :delim: @ The corresponding :math:`C_L` and :math:`C_D` data given in the above table are also displayed in :numref:`Fig7_ClCd`, together with the experimental data measured by `Ladson `_. Notably, in this figure, at low-to-moderate angles of attack, linear variation of :math:`C_L` with the best fit lift slope provided by `McCroskey `_ is also shown. As seen, the current results agree well with these references. .. _Fig7_ClCd: .. figure:: Figures/NACA0012_Cl_Cd_Flow360_SSTm_upd1.png :align: center Comparisons of :math:`C_L` and :math:`C_D` at :math:`\alpha = 0^o`, :math:`10^o` and :math:`15^o`. Remarks ------- Through this validation study, the flow field, the surface data and the representative aerodynamic quantities predicted by Flow360 were carefully examined. With respect to the latest reference numerical results computed on the same grid as used here, the available agreement on :math:`C_L` and :math:`C_D` reaches the third significant digit. For the cases with the SA model, the solver version is :ref:`release-22.1.3.0`; where with the SST(m), the same implementation was used as incorporated in the solver of :ref:`release-22.2.3.0`.