3.1.30 · D3Compressible Flow & Aerodynamics

Worked examples — Computational aerodynamics — panel method (intro), CFD overview

3,342 words15 min readBack to topic

The scenario matrix

Every panel-method / CFD question you will meet falls into one of these cells. Each worked example below is tagged with the cell it fills.

Cell Case class What is special about it Example
A Angle sign & quadrant of flips sign → source blows in or out Ex 1
B Degenerate: single flat panel Self-influence only, no neighbours Ex 2
C Zero input: everywhere What does "no body" look like? Ex 3
D Closed body mass balance Sign mix forced by conservation Ex 4
E Full small system solved by hand Diagonal vs off-diagonal Ex 5
F Limiting behaviour Convergence and cost Ex 6
G Real-world word problem Choose panels vs CFD, size the run Ex 7
H Exam twist: lift & Alembert Why sources give zero lift/drag; add vortex Ex 8

Symbols we will keep re-using

The one equation the whole method rests on — zero air through the wall at every panel midpoint:

Everything below is just this equation, examined case by case.


Cell A — the sign of

Figure — Computational aerodynamics — panel method (intro), CFD overview

How to read this figure. The thick cyan horizontal line is the panel (the solid wall). The white arrow pointing straight up is its outward normal . The three coloured arrows aimed at the panel are the wind, each drawn at a different angle to that normal: the amber arrow is (wind dead-on along , so ), the cyan arrow is (), and the white arrow is (). The label at the bottom marks the grazing case where the wind runs along the panel and never crosses it. As you read Ex 1, match each case to its arrow: the sign of (how much the arrow leans along vs against it) is exactly what decides which way the source must blow.

Forecast: guess — when the wind hits the front of the panel, the source must push back out (). When the wind is behind, it must suck in (). At the wind never crosses the wall, so no source is needed.

  1. Compute for each. Why this step? This term is the wind's velocity component along the outward normal — the very flow we must cancel. Match each to its arrow in the figure.

    • (a) m/s (amber arrow)
    • (b) m/s (cyan arrow)
    • (c) m/s (grazing, bottom label)
    • (d) m/s (white arrow)
  2. Read the sign. Why this step? The master row says the source term must equal . From the self-term box above, a single panel's sheet induces normal velocity at its own midpoint (half the sprayed air exits each face), so , i.e. .

    • (a) m/s ... wait — negative? Look at the figure: with pointing into the oncoming wind, means wind flows out through the wall, so the source must suck in to cancel it. Sign is honest; it is the geometry that surprises.
    • (b) m/s: same story as (a) but weaker — the wind leans only halfway along , so half as much suck-in.
    • (c) : grazing wind needs no correction.
    • (d) m/s: wind pushes into the body, source pushes back out.

Verify: In every case . Plug (b): . ✓ Units: (m/s) + (m/s) since is a per-length sheet strength carrying velocity units m/s — dimensionally clean.


Cell B — the degenerate single flat panel

Forecast: with only one panel there are no off-diagonal terms — the matrix is a single number. Guess .

  1. Write the master row. Why? With the sum has one term.
  2. Substitute . Why? The self-influence is the diagonal; — exactly the "half out each face" jump.
  3. Solve. (m/s).

Verify: . ✓ This is exactly why the diagonal of the influence matrix is — a panel's effect on itself. A single panel is the smallest sanity check of the whole method.


Cell C — the zero input

Forecast: no sources = no body = just the wind blowing undisturbed.

  1. Put into the total potential. Why? To see what "no body" produces. With all panels off, only the uniform-stream potential survives:
  2. Take the gradient to get velocity. Why? By definition of the potential, — differentiating the height-map in each direction gives that velocity component. A perfectly uniform stream — straight parallel streamlines.
  3. When is it correct? Only if the wall happens to lie along a streamline already, i.e. the "body" is a flat plate parallel to the wind ( everywhere, from Ex 1c). Then and indeed solves every row.

Verify: every master row reads . ✓ Zero input is not a bug — it is the answer when the body doesn't disturb the flow.


Cell D — mass balance forces mixed signs

Forecast: front sprays out to split the incoming air, so rear must suck in to close it up — negative.

  1. Apply the general closure condition. Why? A solid closed body creates no net air, so the total volume emitted (per unit span) must vanish. Each panel emits , so the general requirement is The per-length strengths only sum to zero when every panel length is equal — which is why we must state the length-weighted form as the master condition.
  2. Specialise to equal lengths. Why? Here all , a common factor we can divide out:
  3. Solve. m/s.
  4. Interpret. Why? Negative strength = a sink: the rear panel swallows exactly the volume the front two ejected, so the air smoothly rejoins behind the body.

Verify: length-weighted sum . ✓ The mix of and signs is forced by conservation, not chosen — this is why source-only bodies are front-to-back symmetric in output.


Cell E — full system by hand

Figure — Computational aerodynamics — panel method (intro), CFD overview

Forecast: panel 1 faces the wind (needs suck-in, per the Ex-1 convention), panel 2 is sheltered — guess mixed signs.

The figure shows the two-panel wedge with the amber control points at each midpoint. The curved white arrow marks the self-influence (, a panel acting on its own midpoint — the "half out each face" jump), and the straight cyan arrow marks the neighbour influence (, panel 2 acting on control point 1). Keep those two arrows in mind: the diagonal is a panel talking to itself, the off-diagonal is one panel talking to another.

  1. Assemble . Why? This is Step 5 of the parent — one row per panel. Diagonal entries are the self-arrow, off-diagonals the neighbour-arrow; the right-hand side is from the box above.
  2. Clear the fractions by multiplying both rows by 6. Why the number 6? It is the least common multiple of the denominators and , so multiplying by 6 turns every fraction into a whole number in one stroke — the cleanest way to avoid fraction arithmetic. Row 1 : . Row 2 : .
  3. Solve. Why? Two equations, two unknowns — standard elimination the computer would do. Multiply row 1 by 3 and row 2 by 2 to match the coefficient, then subtract:
    • , .
    • Back-substitute: .

Verify: Row 1: ✓. Row 2: ✓. The diagonal (self, white arrow) dominates; the off-diagonal (neighbour, cyan arrow) nudges it — exactly the structure the figure shows.


Cell F — the limit

Forecast: the numbers crowd toward — accuracy plateaus. Cost, though, explodes.

  1. Look at successive changes. Why? Convergence means the change shrinks each refinement. . Each step is roughly of the last: , . The changes are shrinking, so the sequence is converging toward .
  2. Define the panel size and why it matters. Why this step? "" is really "," so we must say what is. If the body's perimeter is and we use equal panels, then is the length of one panel — the discretisation length. Doubling halves . For a smooth body, standard panel-method error theory says the error falls like a fixed power of , so halving multiplies the error by a roughly constant factor each refinement. That constant factor is exactly what makes the successive changes behave like a geometric series. We use it only as a rough extrapolation, not an exact law.
  3. Estimate the plateau (part a). Why? Treating the tail as geometric with ratio , the remaining changes after sum to about , so the limit . Yes, it is converging.
  4. Cost scaling (part b). Why? Dense matrix inversion is . Going is in , so time scales by .

Verify: change ratios and — both , so bounded/convergent. ✓ Cost: s ✓. Lesson: more panels stop helping accuracy long before they stop costing you — the parent's "accuracy plateaus" mistake, quantified.


Cell G — real-world word problem

Forecast: low speed, attached, no shocks → panel method wins; but drag forces a switch.

  1. Check the Mach number. Why this step? Compressibility matters when approaches ; below that, incompressible Laplace is fine. Here is the speed of sound in the air — how fast a pressure disturbance travels — given as m/s at sea level: Incompressible assumption holds → Laplace is valid → panel method applicable.
  2. Check the Reynolds number (context for whether viscosity is thin). Why? tells us the boundary layer is thin relative to the chord. High , attached flow → inviscid pressure prediction is accurate.
  3. Choose the tool. Why? Panel method gives ~80% of the lift info for ~1% of the cost (parent's 80/20 rule). Use the panel method for lift/pressure.
  4. When drag is needed. Why? Inviscid 2-D ⇒ d'Alembert's Paradoxzero drag. To get real drag (skin friction + wake) you must add a boundary-layer correction or move to full Navier–Stokes CFD.

Verify: ✓ (). ✓. Both dimensionless. Decision consistent with the parent's comparison table.


Cell H — exam twist on lift

Forecast: (a) no circulation → no lift, by Kutta–Joukowski. (b) solve for .

  1. Apply Kutta–Joukowski. Why? It is the link between circulation and lift: . With : . Sources alone give zero lift — they only shape thickness.
  2. Relate to . Why? Lift coefficient nondimensionalises lift by dynamic pressure chord.
  3. Solve for . Why? Invert Kutta–Joukowski.

Verify: N/m ✓. m²/s ✓. Reinsert: ✓. This is why we bolt vortex panels + the Kutta condition onto a source panel code — sources set shape, vortices set lift.


Recall

Recall Hide answers and test the whole matrix

What sign of means the wind blows through the wall the same way points? ::: Positive (wind component along ). Where does the on the matrix diagonal come from? ::: A source sheet sends half its air out each face, so it induces at its own midpoint (). A single flat panel with , : what is ? ::: . All describes which physical situation? ::: No body — undisturbed uniform stream (or a plate parallel to the wind). On a closed body why must (not just )? ::: Each panel emits ; only when all lengths are equal do the per-length strengths sum to zero. Cost scales like : going from to multiplies runtime by? ::: . Why does a source-only body have zero lift? ::: Zero circulation → . To get lift you add what, controlled by which condition? ::: Vortex panels, set by the Kutta condition.