Compressibility & high-speed flow
Our solver assumes air has constant density — true below about Mach 0.3. Fly faster and the air noticeably compresses, changing the pressures and, eventually, the whole character of the flow. This article sketches the high-speed regime the demo deliberately leaves out.
The speed of sound and the Mach number
Pressure disturbances travel at the speed of sound, which for an ideal gas depends only on temperature:
- ratio of specific heats (1.4 for air) [—]
- specific gas constant for air [J/(kg·K)]
- absolute temperature [K]
At sea level (), . The Mach number is then the key parameter: how fast you fly relative to how fast the air can “tell” the flow ahead that you are coming.
Subsonic compressibility: the Prandtl–Glauert rule
For attached subsonic flow (up to ), compressibility amplifies the pressure coefficients predicted by an incompressible calculation by a simple factor:
where is the incompressible (low-speed) value. The lift coefficient scales the same way. So everything our solver computes at low speed can be approximately corrected to higher subsonic speeds just by dividing by .
At sea level () that is . Pressures (and lift) are 15% larger than the incompressible estimate. The factor blows up as — the theory breaks down before then (drag divergence near ).
The critical Mach number and drag divergence
Even when the aircraft is subsonic, the flow accelerating over the top of the wing can reach locally. The freestream Mach at which this first happens is the critical Mach number . Push past it and a region of supersonic flow forms, usually terminated by a shock wave. The shock thickens the boundary layer and can trigger separation, causing a sudden jump in drag — the drag-divergence Mach number, typically . This is precisely where Prandtl–Glauert (which assumes no shocks) breaks down.