Presets
Playback
Parameters
Camera
Layers
Quality
Model check
The science
What is simulated
A string of 20 cotton prayer flags hangs from a rope between two poles. Wind blows across the rope. Each flag is a small cloth model: a grid of mass points joined by links that cannot stretch, with a small bending stiffness, pulled down by gravity and pushed by the air. The rope takes the load of all the flags and settles into the shape a hanging cord takes, tilted sideways by the wind. The page reports how far the flags stream out, how fast they flutter, the rope tension and the load on the poles.
Air force on the cloth
Each patch of cloth with area A, moving with velocity v in wind u, feels the relative wind u - v. Its component normal to the patch, un, gives the pressure drag Fn = ½ ρ CN A |un| un with CN = 1.2 (a flat plate facing the wind), and the tangential component gives a small skin drag with CT = 0.02. The wind is a mean U0 plus six travelling gust waves whose rms is I U0 (frozen turbulence carried along by the mean wind).
Rigid-flag limit
If the flag were a stiff plate hinged at its top edge, the wind torque ½ ρ CN W U2 cos2θ L2/2 would balance the weight torque λ g sinθ L2/2, giving sinθ = (√(1+4k2) − 1)/(2k) with k = ρ CN U2/(2 σ g) and σ the cloth mass per area. Real cloth bends and streams further out than this; the graph shows both.
Rope and poles
A cord of length L between supports a distance a apart under a uniform load w (weight) and q (wind) per metre hangs in a plane tilted by φ = atan(q/w) in the shape y = c[cosh(x/c) − cosh(a/2c)] with 2c sinh(a/2c) = L. The horizontal pull is H = c √(w2+q2) and the tension at the pole T = √(w2+q2) c cosh(a/2c). The load on the rope is taken from the simulated flags, smoothed over about a second. The pole stress is the bending moment at the base divided by the section modulus π d3/32.
Simplifications
- The air force is quasi-steady: there is no added mass, no wake and no flutter instability of its own. The flutter you see is driven by the gusts, plus the cloth's own bending and weight; the real self-sustained flapping of a flag needs an unsteady fluid model that is not included.
- Cloth parameters (mass per area, bending rigidity, link count) are round values for light cotton, not measurements of a specific fabric. The cloth is coarse (3 x 8 points per flag) and drawn with smooth interpolation.
- The wind has no mean shear with height, the poles are rigid and the rope is inextensible; the rope shape treats the flag load as uniform along its length.
- The Beaufort number is from the usual relation
B = (U/0.836)2/3; the 45 MPa bending strength of the pole is a typical order of magnitude for dry softwood.
Checks
Five boxes: a hanging chain of 600 links solved link by link against the cosh formula; the stiff-flag hanging angle against the torque balance; the small-swing period against 2π√(2L/3g); the summed patch forces on a flag held square to the wind against ½ ρ CN A U2; and the mean and rms of the gust generator over 4000 s.