Exercises — Computational aerodynamics — panel method (intro), CFD overview
Before we start, let me re-anchor the two symbols that appear everywhere, in plain words:
Level 1 — Recognition
L1.1
State the partial differential equation that governs steady, incompressible, irrotational flow, and say in one sentence why its linearity is the thing that makes the panel method possible.
Recall Solution
The equation is Laplace's equation: Here ("phi") is the velocity potential — a single scalar field whose slope (gradient) gives the velocity everywhere, . Linearity means: if and each solve it, so does . That is superposition. It lets us add up a freestream plus many little sources and still have a valid flow — which is the entire engine of the panel method.
L1.2
Match each elementary solution to what it physically does: (a) uniform stream, (b) source, (c) vortex, (d) doublet.
Recall Solution
- (a) Uniform stream — air all flowing the same direction at speed ; represents the wind far away.
- (b) Source — pushes air out equally in all directions; used to give a body its thickness.
- (c) Vortex — makes air circle around a point; the only brick that produces circulation, and hence lift.
- (d) Doublet — a source and sink squeezed together; the combination that exactly models flow around a cylinder.
Level 2 — Application
L2.1
The pressure coefficient is where is the tangential (surface-skimming) speed. Compute at a point where .
Recall Solution
WHAT we do: plug the ratio in. WHY: compares local speed to freestream — faster air means lower pressure (that's Bernoulli's Equation). The negative value means the pressure here is below freestream — this is a suction region, exactly what happens on the upper surface of a wing where the flow speeds up.
L2.2
At a stagnation point the flow is brought to rest: . What is there? What is the largest value can ever reach in incompressible flow?
Recall Solution
With : Since always, the term we subtract is never negative, so can never exceed . Maximum , achieved only where the flow stops. Every other point has .
L2.3
Look at the geometry below. A flat panel has its outward normal pointing at from the freestream direction. The panel carries no sources (freestream only). What normal velocity does the freestream drive through the panel, in units of ?

Recall Solution
WHAT: project the freestream vector onto the normal. WHY: the boundary condition we ultimately enforce is zero normal velocity; here we measure how much the bare freestream violates it, which is exactly the right-hand side of the panel system. The component of along is So the freestream alone drives through the wall. The sources must be tuned to cancel exactly this: .
Level 3 — Analysis
L3.1
For a closed body wrapped in source panels, the total spray must sum to zero: . Explain physically why, and state what this implies about the drag predicted by a pure source panel method.
Recall Solution
Why the sum is zero: the body is solid and closed — no air is created or destroyed inside it. Every bit of air a source sprays out must be swallowed somewhere by a sink (negative source). So the strengths cancel: . This is just conservation of mass. Consequence for drag: a pure source distribution has no circulation and, being fore-aft symmetric in its pressure pattern, produces zero net drag in 2-D inviscid flow. This is exactly d'Alembert's Paradox: an ideal fluid gives a body no drag at all. Real drag comes from viscosity and the wake, which live in Boundary Layer Theory & Skin Friction Drag, not in this model.
L3.2
Solve the smallest panel system by hand. Two panels, with the system from the parent note: Take , , . Find and .
Recall Solution
WHAT: build the right-hand side, then solve a system. WHY: the diagonal is a panel's effect on itself; the off-diagonal is the neighbour's influence. Solving shows how strengths adjust to enforce flow tangency at both control points. Right-hand sides: System: Subtract to exploit symmetry. Multiply the first by 2: . Multiply the second by 2: . Solve: From the first, . Substitute: Then . Notice — mass is conserved automatically, exactly as L3.1 predicted.
Level 4 — Synthesis
L4.1
A wing section in a wind tunnel has freestream speed and air density . A panel-plus-vortex code returns a circulation . Using the Kutta–Joukowski Theorem & Circulation, find the lift per unit span . Then explain in one line why the source panels contributed nothing to this number.
Recall Solution
WHAT: apply . WHY: lift in ideal flow is entirely set by circulation; this formula is the bridge from the vortex strength (which the Kutta condition fixed) to a force. The source panels only shaped the body's thickness and enforced flow tangency; they carry and produce no circulation, so they add exactly to . All the lift came from the vortex part.
L4.2
You are given the tangential speeds at three points on an airfoil computed by your panel code: at freestream . Compute at each and interpret the sign.
Recall Solution
Using :
- Point 1: → stagnation point (flow stopped, highest pressure).
- Point 2: → suction (fast flow, low pressure — typical upper surface).
- Point 3: → mild overpressure (slower than freestream — typical lower surface near the front). The pattern (suction on top, overpressure on the bottom) is what produces net lift when integrated around the surface.
Level 5 — Mastery
L5.1
You refine a panel-method mesh from to panels. The influence matrix is dense and solved by direct inversion, whose cost scales like . By what factor does the solve cost grow? Then give the single physics reason this "just add more panels" strategy eventually stops improving accuracy.
Recall Solution
Cost factor: cost , and went up by , so The solve becomes 64 times more expensive. Why accuracy plateaus: the panel method solves the inviscid Laplace problem. Once the mesh is fine enough to resolve the geometry, the remaining error is not discretisation error — it's model error: the physics you left out (viscosity, boundary layer, separation, compressibility). No number of panels can recover those. To go further you must switch to Navier–Stokes Equations-based Finite Volume Method CFD.
L5.2
A student's panel code predicts zero drag on a smooth 2-D airfoil in attached subsonic flow, but the wind tunnel measures a drag coefficient . (a) Is the code broken? (b) Name the missing physics and where in the CFD hierarchy it lives.
Recall Solution
(a) The code is not broken — it is behaving exactly as an inviscid method must. In 2-D inviscid, incompressible flow, d'Alembert's Paradox guarantees zero drag. The prediction of is correct for the model. (b) Missing physics: viscosity. Real drag here is skin-friction drag from the thin viscous layer on the surface (see Boundary Layer Theory & Skin Friction Drag), plus any pressure/wake drag. To capture it you solve the Navier–Stokes Equations on a volume mesh with a Finite Volume Method and a turbulence model (Turbulence Modelling — RANS, LES, DNS), or bolt a boundary-layer correction onto the panel solution. The measured is a purely viscous effect the ideal model cannot see.
Recall wrap-up
Recall One-line answers (hide first)
Max possible in incompressible flow, and where? ::: , at a stagnation point. Why must on a closed body? ::: Conservation of mass — no air created inside. Formula linking lift to circulation? ::: . Cost scaling of a dense direct panel solve in ? ::: About . Why does an inviscid airfoil show zero drag? ::: d'Alembert's paradox — no viscosity, no wake.