Return to system

Cambridge Part IIA Project

SA1 — Aircraft Wing Analysis & Aerofoil Design

Potential Flow · Boundary Layers · Aerodynamic Design · Model Validation

Developed and validated a two-dimensional aerofoil-analysis tool combining a vortex-sheet panel method with an integral boundary-layer solver, then used it to design separate aerofoil sections for low- and high-Reynolds-number operation. This is a low-order 2D method — an inviscid vortex-panel solver coupled to an integral boundary-layer solver — not Navier–Stokes CFD.

MATLABPotential FlowVortex Panel MethodsBoundary LayersAerodynamic DesignModel ValidationNumerical Methods
+27.5%best L/DRe = 5×10⁵
+10.0%best reliable L/DRe = 2×10⁷
01 — Project Goal

One tool, two flow regimes

Build a fast numerical method to compare and design efficient 2D aerofoil sections at two very different operating conditions, optimising lift-to-drag ratio (L/D):

Re = 5×10⁵
  • Smaller / slower aircraft
  • More fragile laminar boundary layer
Re = 2×10⁷
  • Much higher-Re operation
  • Earlier transition, more robust turbulent BL

The design question: how should the aerofoil pressure loading change when boundary-layer behaviour changes with Reynolds number?

02 — Week 1 · Panel Method

Built from the fundamentals

The solver was built up rather than started from a black box: the point-vortex streamfunction, then a linearly varying vortex-sheet panel (verified against a discretised set of point vortices), then generalised to an arbitrary panel — producing the reusable panelinf() routine.

Point VortexVortex-Sheet PanelArbitrary Panel GeometryComplete Closed Body
Local coordinate transformationsTangential vectorsNormal vectorsPanel length
03 — Panel System

Assembling the linear system

Geometry
Influence Matrix A · Freestream RHS b
Solve A·γ = b
Surface vortex-sheet strength γ

The surface-streamline condition plus trailing-edge conditions close the system around the geometry.

Numerical Linear AlgebraInfluence MatricesCoordinate TransformationsBoundary ConditionsPotential Flow
04 — Cylinder Validation

Checked on a known problem first

Before aerofoils, the panel method was tested on cylinder flow — surface velocity distribution, streamlines and circulation — a case with known physical behaviour, so the numerics were checked before moving to harder geometries.

Surface velocity distributionStreamlinesCirculation
05 — Geometry & Pressure

From surface to pressure distribution

The analysis pipeline reads the surface, builds a high-resolution spline, normalises to unit chord, repanels, solves the potential-flow system, and extracts circulation and surface pressure. It locates the stagnation point and splits the upper and lower surfaces before the viscous solver.

Cp = 1 − (ue / U)²
Spline GeometryPanel GenerationStagnation-Point DetectionCirculationPressure Distribution
06 — Week 2 · Boundary Layer

The viscous half

The boundary-layer model was built up progressively:

Laminar flowTransition / separationTurbulent flowCombined solver
07 — Laminar BL

Thwaites, checked against Blasius

Thwaites' integral method predicts laminar boundary-layer development. The zero-pressure-gradient case was checked against the Blasius solution — implementation, then reference comparison, then confidence.

Momentum thickness θShape factor HEnergy shape factor HEMomentum-thickness Reynolds number Reθ
08 — Transition & Separation

Where the laminar layer breaks down

The laminar solver detects whether the layer naturally transitions (from a momentum-thickness / shape-factor criterion) or laminar-separates (from the Thwaites pressure-gradient parameter). Reynolds number and pressure gradient move that location — and the final designs depend strongly on where the upper-surface laminar layer breaks down.

09 — Turbulent BL

After transition

Past transition or laminar separation, the solver switches to a turbulent integral model, evolving momentum and energy thickness through coupled ODEs integrated with MATLAB ode45, and detects turbulent reattachment and separation from the energy shape factor.

10 — BL State Machine

One pass over each surface

Start Laminar
Thwaites March
Natural transition? · Laminar separation?
Turbulent Solver
Reattachment? · Turbulent separation?
Trailing Edge

Natural transition, laminar separation, turbulent reattachment and turbulent separation are tracked separately on the upper and lower surfaces.

11 — Coupling

One-way inviscid → viscous coupling

Aerofoil Geometry
Potential-Flow Panel Method
ue(x) + Cp(x)
Upper / Lower Boundary-Layer Solvers
Transition · Separation · θ · δ*
Lift + Drag
L/D

One-way coupled: the panel solver produces the edge velocity / pressure field and the boundary layer responds to it. Displacement thickness does not feed back into the potential-flow solution.

12 — Drag Model

Lift inviscid, drag from the wake

Lift comes from the inviscid circulation; profile drag is estimated from the boundary-layer state near the trailing edge using the Squire–Young wake relation — so momentum-thickness growth drives the whole design process.

13 — Validation Before Design

Reference data first

Before designing anything, the combined model was validated against reference data for NACA0012 and NACA4412 at ~Re = 3×10⁶ — lift curve, drag polar, Cd vs incidence and L/D vs incidence.

Lift curveDrag polarCd vs incidenceL/D vs incidence
14 — Internal Symmetry Check

A consistency detail

The NACA0012 test produced numerical symmetry residuals of ~10⁻¹⁴, confirming consistent panel ordering, sign conventions, geometry handling and force extraction.

15 — What Validation Found

Where the model is trustworthy — and not

NACA4412 zero-lift angle (computed)−4.17°
Reference≈ −4.00°
Min drag predicted to within≈ 5%

But the computed lift-curve slope was systematically too high — NACA0012 +9.5%, NACA4412 +14.4% — so not every computed operating point was treated as trustworthy.

16 — Trusted Operating Range

Bounding the conclusions

−4° ≤ α ≤ 7°

The validated incidence range used for quantitative design conclusions. Outside it, the inviscid model keeps producing strong attached-flow circulation even where the real flow turns nonlinear — so stall angle, maximum Cl and post-stall behaviour were deliberately not claimed.

17 — Baseline Selection

Choosing NACA6412

Comparing NACA0012 / 2412 / 4412 / 6412 (all 12% thickness, increasing camber): NACA6412 was chosen as the baseline for strong lift and good L/D at modest incidence while staying inside the validated region.

NACA0012NACA2412NACA4412NACA6412
18 — Iteration 1 · Thinner

NACA6412 → NACA6409

Reducing thickness (12% → 9%, same camber) to cut the pressure-recovery / viscous penalty. It was numerically better in isolation:

Re 5×10⁵ · 6409107.1
Re 5×10⁵ · 6412104.2
Re 2×10⁷ · 6409158.6
Re 2×10⁷ · 6412151.3

Not selected. At Re = 5×10⁵, α = 4°, the thinner section developed upper-surface laminar separation near the leading edge (x/c ≈ 0.022 vs ≈ 0.375 for NACA6412) — a narrow, fragile efficient range. Lower geometric thickness did not mean lower useful drag once the boundary layer was considered.

19 — Iteration 2 · Camber Forward

NACA6412 → NACA6312

Moving maximum camber from 40% to 30% chord (same 6% camber, 12% thickness) shifted loading forward. The same change had opposite effects at the two Reynolds numbers:

Re 5×10⁵ · 631299.1
Re 5×10⁵ · 6412104.2
Re 2×10⁷ · 6312170.9
Re 2×10⁷ · 6412151.3

Low-Re: stronger forward suction forced an earlier adverse recovery (harmful). High-Re: the stronger loading paid off.

20 — Design Rules

What the iterations taught

General
  • Avoid sharp curvature changes → local pressure disturbances
  • Avoid excessive leading-edge suction → strong downstream recovery
Regime-specific
  • Low Re → delay the adverse gradient, protect the laminar BL
  • High Re → transition is early, so stronger useful loading is tolerable
21 — Final Low-Re Design

Re = 5×10⁵

Developed from NACA6412 with the project's interactive surface generator. The winning strategy was a smoother, more aft-loaded upper-surface suction — not simply more camber or less thickness — spreading the loading and delaying the strong adverse gradient the laminar layer sees.

GeometryCp distributionL/D curveMomentum thicknessTransition / separation
22 — Low-Re Result

+27.5% best L/D

NACA6412 baseline104.2
+27.5%α = 4°
Final low-Re design132.8

The baseline upper-surface laminar separation at x/c ≈ 0.375 was delayed to x/c ≈ 0.500, then reattached at x/c ≈ 0.541. The delayed disturbance kept upper-surface momentum thickness lower across much of the chord and reduced wake momentum loss.

23 — Final High-Re Design

Re = 2×10⁷

A different problem: transition is early, so preserving a long laminar run is no longer the goal. The section instead carries stronger sustained suction over the front and middle of the upper surface while keeping turbulent boundary-layer growth controlled.

GeometryCpL/DBoundary-layer development
24 — High-Re Result

+10.0% best reliable L/D

NACA6412 baseline151.3
+10.0%α = 5°
Final high-Re design166.5

NACA6312 produced a slightly higher numerical maximum (170.9) — but that optimum carried a turbulent-separation flag. The final design was chosen because its optimum stayed inside the validated incidence range and did not rely on the less trustworthy separated-flow regime. The largest number was not selected blindly.

25 — Two Different Optima

No single best aerofoil

Low Re · 5×10⁵

Smooth / aft-loaded suctionDelay laminar separationReduce momentum-thickness growth
Best L/D = 132.8

High Re · 2×10⁷

Stronger front/mid-chord loadingEarly transition acceptedControl turbulent BL growth
Best reliable L/D = 166.5

The preferred pressure distribution changed because the boundary-layer physics changed — not because of a single universal optimum.

26 — Modelling Insight

Where Reynolds number enters

For fixed geometry and incidence, the inviscid Cp distribution is Reynolds-number independent. Re enters through the viscous calculation — affecting transition, laminar separation, reattachment, turbulent development, momentum thickness, Cd and L/D — rather than changing the potential-flow pressure field directly.

27 — Limitations

What the model can — and cannot — tell me

Suitable for
  • Comparative aerofoil design
  • Attached / pre-stall flow
  • Pressure-distribution comparison
  • Transition / separation trends
  • Relative L/D changes
Not reliable for
  • Stall angle · maximum Cl · post-stall
  • Heavily separated-flow drag
  • Full 3D wing performance
  • Induced drag · tip vortices
  • Compressibility · unsteady aerodynamics

Viscous and inviscid solvers are one-way coupled; transition uses an empirical criterion; surface roughness, freestream turbulence and manufacturing effects are not explicitly modelled.

28 — Skills Developed

What the project built up

Potential Flow

Point VorticesStreamfunctionsVortex SheetsPanel Influence FunctionsCirculationKutta ConditionKutta–Joukowski LiftPressure Coefficients

Boundary Layers

Thwaites MethodMomentum ThicknessDisplacement ThicknessShape FactorsNatural TransitionLaminar SeparationTurbulent ReattachmentTurbulent SeparationSquire–Young Drag

Numerical Methods

MATLABLinear SystemsNumerical IntegrationODE45InterpolationSpline GeometryPanel DiscretisationParameter Sweeps

Aerodynamic Design

Pressure-Distribution AnalysisAerofoil Geometry ModificationLow-Re DesignHigh-Re DesignLift / Drag Trade-OffsBoundary-Layer-Aware DesignDesign Iteration

Validation

Reference-Data ComparisonSymmetry ChecksError QuantificationValidated Operating RangesModel LimitationsPhysical Interpretation

Engineering Judgement

Rejecting Unreliable Numerical OptimaDiagnosing Failed DesignsConnecting Geometry → Cp → Boundary Layer → DragUsing Validation to Bound Conclusions