Soaring Birds Thermal Map (2D)

Birds glide at best-glide speed until they sense an updraft, then bank and circle to climb, and leave at the top of the thermal. Orange blobs are thermals drifting with the wind; click a bird to follow it.

The science

Drag polar. CD = CD0 + k CL^2 with k = 1/(pi e AR). In level flight CL = 2 m g /(rho v^2 S) and the sink rate is v CD/CL. Best glide ratio is 1/(2 sqrt(CD0 k)).

Banking. A bank angle phi raises the load factor to n = 1/cos(phi); the minimum-sink speed grows as sqrt(n) and, at that speed, so does the sink rate (for the same angle of attack, speed scales as sqrt(n) and L/D is unchanged). The turn radius is v^2/(g tan phi), so steeper banks fit inside narrow thermals but cost altitude.

Thermals. A Gaussian updraft core with a weak surrounding sink; the climb rate while circling is the ring-averaged updraft minus the banked sink rate. Birds steer toward the stronger wing-tip lift to centre.

Checks. The self-test scans the polar numerically and compares the maximum L/D, best-glide speed and minimum-sink speed with the analytic values, the sqrt(n) banking scaling and the turn radius.

Simplifications. Constant air density, no flapping, simple thermal life cycle and a fixed wind; a stylised flock without bird-to-bird interaction. Canvas-only 2D companion of the 3D sky world.