Skip to main content

Turbulent flow over NACA0012 airfoil (2D)

Overview

Flow physics:

  • External flow
  • Steady
  • High Reynolds number
  • Low Mach number, subsonic
  • Newtonian, single-phase, incompressible, non-reacting

Solver:

Tutorial case:

Physics and Numerics

Physical domain:

  • The case is a two-dimensional airfoil located around the centre of a computational domain whose dimensions are considerably larger than the chord-length of the airfoil.
    • xx: Longitudinal direction (mean flow direction)
    • yy: Spanwise direction (statistically homogeneous direction)
    • zz: Vertical direction (wall-normal direction)
    • OO: Origin at the leading edge of the airfoil

Physical modelling:

  • Reynolds number based on local chord length: Rec=Uxcν16×106\text{Re}_c = U_x \, c \, \nu^{-1} \approx 6\times10^6
    • Streamwise far-field flow speed: Ux=51.4815U_x = 51.4815 [m⋅s<sup>-1</sup>]
    • Characteristic length (Local chord length of the airfoil): c=1.0c = 1.0 [m]
    • Kinematic viscosity of fluid: νfluid=8.58×106\nu_\text{fluid} = 8.58 \times 10^{-6}
\[m<sup>2</sup>⋅s<sup>-1</sup>\]
  • Mach number: Ma=Ux/Us0.15\text{Ma} = U_x / U_s \approx 0.15
    • Speed of sound: Us=343.21U_s = 343.21 [m⋅s<sup>-1</sup>]
  • Turbulence model: Spalart Allmaras

Numerical domain modelling:

  • Shape: extruded C-grid
  • Dimensions: (x,y,z)(985.5,1.0,1015.6)(x, y, z) \approx (985.5, 1.0, 1015.6) [m]
  • Sketch (View direction to yy-positive):

Numerical domain

Spatial domain discretisation:

  • Mesh type: hexahedral cells in plot3d format
  • Mesh converter: plot3dToFoam
  • Number of cells, NN : (Nx,Ny,Nz)=(257,1,897)(N_x, N_y, N_z) = (257, 1, 897)
  • First wall-normal cell centre height: Δy+<1\Delta_y^+ < 1
  • Mesh detail (View direction to yy-positive):

Mesh

Equation discretisation:

Spatial derivatives and variables:

[linearUpwind](https://doc.openfoam.com/2606/tools/processing/numerics/schemes/divergence/rtm/linearUpwind/) `grad(U)`
  • div(phi,nuTilda): bounded Gauss linearUpwind grad(nuTilda)
  • Laplacian: Gaussian linear corrected
  • Surface-normal gradient: corrected

Temporal derivatives and variables:

Numerical boundary conditions:

  • Velocity, U\mathbf{U}
PatchConditionValue [m⋅s<sup>-1</sup>]
InletfreestreamVelocityUα\mathbf{U}_\alpha
OutletfreestreamVelocityUα\mathbf{U}_\alpha
Sides (y\text{(}y -dir)empty-
AerofoilfixedValue(0.0, 0.0, 0.0)
<b> α </b><b> U </b><sub>α</sub>
α=0o\alpha = 0^o(51.4815, 0.00, 0.0000)
α=10o\alpha = 10^o(50.6994, 0.00, 8.9397)
α=15o\alpha = 15^o(49.7273, 0.00, 13.3244)
  • Kinematic pressure, p
PatchConditionValue [m<sup>2</sup>⋅s<sup>-2</sup>]
InletfreestreamPressure0.0
OutletfreestreamPressure0.0
Sides (y\text{(}y -dir)empty-
AerofoilzeroGradient-
  • Turbulent kinematic viscosity, nut (i.e. νt\nu_t)
PatchConditionValue [m<sup>2</sup>⋅s<sup>-1</sup>]
Inletfreestream8.58e6νfluid8.58e^{-6} \approx \nu_\text{fluid} 54
Outletfreestream8.58e6νfluid8.58e^{-6}\approx \nu_\text{fluid} 54
Sides (y\text{(}y -dir)empty-
AerofoilfixedValue0.0 54
  • Spalart-Allmaras model modified viscosity, nuTilda (i.e. ν~\tilde{\nu})
PatchConditionValue [m<sup>2</sup>⋅s<sup>-1</sup>]
Inletfreestream3.432e54νfluid3.432e^{-5} \approx 4 \nu_\text{fluid} 54
Outletfreestream3.432e54νfluid3.432e^{-5}\approx 4 \nu_\text{fluid} 54
Sides (y\text{(}y -dir)empty-
AerofoilfixedValue0.0 54

Solution algorithms and solvers:

  • Pressure-velocity: SIMPLE
  • Parallel decomposition of spatial domain and fields: Not applicable
  • Linear solvers:
FieldLinear SolverSmootherTolerance (rel)
UsmoothGaussSeidel0.01
pGAMGGaussSeidel0.01
nuTildasmoothGaussSeidel0.01

Results

List of metrics:

  • Lift coefficient CL\mathrm{C}_\mathrm{L} vs. Angle of attack α\alpha
  • Drag coefficient CD\mathrm{C}_\mathrm{D} vs. Angle of attack α\alpha
  • Drag coefficient CD\mathrm{C}_\mathrm{D} vs. Lift coefficient CL\mathrm{C}_\mathrm{L}
  • Surface pressure coefficient Cp\mathrm{C}_p vs. Normalised chord length x/cx/c
  • Surface skin friction coefficient Cf\mathrm{C}_f vs. Normalised chord length x/cx/c
  • {\overline{\cdot}} is the time-averaging operator
Lift coefficient vs. Angle of attack
Drag coefficient vs. Angle of attack
Drag coefficient vs. Lift coefficient
Surface pressure coefficient vs. Normalised chord length at α=0 [degree]
Surface pressure coefficient vs. Normalised chord length at α=10 [degree]
Surface pressure coefficient vs. Normalised chord length at α=15 [degree]
Surface skin friction coefficient vs. Normalised chord length at α=0 [degree]
Surface skin friction coefficient vs. Normalised chord length at α=10 [degree]
Surface skin friction coefficient vs. Normalised chord length at α=15 [degree]

Resources

Note: Links will take you to the NASA website

Mesh

Datasets for verifications (plain text)

Lift and drag coefficients vs angle of attack

Pressure distribution vs local chord length

Lift coefficient vs angle of attack

Skin friction coefficient vs local chord length