Fluid dynamics
The wind tunnel: one number decides the flow
Put a cylinder in a slow stream and the flow wraps round it and closes up behind, calm and steady. Speed the stream up and the flow behind it starts to swing, then throws off a trail of spinning eddies, first from one side, then the other. Which of these happens depends on a single number, and this tunnel lets you dial it.
The Reynolds number
A moving fluid has two tendencies. Its momentum carries it straight on; its viscosity, the internal friction that makes honey different from water, smooths out differences in speed. The Reynolds number compares them:
with U the speed of the stream, D the size of the object and the viscosity. At low Re, friction wins and the flow is smooth and orderly. At high Re, momentum wins, and the flow separates from the object and breaks into eddies.
Osborne Reynolds introduced it in 1883 after watching dye in water flowing through glass pipes. The flow depends on U, D and only through Re, so a model aircraft in a wind tunnel and the real aircraft behave alike if their Reynolds numbers match. That is why the slider here sets Re rather than a speed or a size.
Behind a cylinder
- Re below about 5: the flow closes up neatly behind the cylinder, almost the same front and back.
- Re from about 5 to 47: the flow separates from the back of the cylinder, and two still eddies sit side by side behind it. They grow longer as Re rises.
- Above Re ≈ 47: the pair cannot stay balanced. The wake starts to swing, and eddies break away from alternate sides, forming two staggered rows of vortices spinning in opposite directions. Theodore von Kármán explained in 1911 why that staggered arrangement is the stable one, and it bears his name: the Kármán vortex street.
You can find vortex streets behind islands in satellite images of clouds, behind bridge piers, and behind the cables that sing in a strong wind.
Measuring the shedding
Each eddy that breaks away gives the cylinder a sideways push, alternately up and down. The chart shows that push as the lift coefficient (the sideways force, scaled by the stream’s speed and the object’s size) swinging back and forth, and the lab counts the swings. Their frequency f, multiplied by D and divided by U so that it has no units, is the Strouhal number:
Experiments put it near 0.16 at Re = 100, rising towards 0.2 by a few hundred (Williamson, 1996). Here it comes out a little higher, for a known reason: the tunnel is narrow, and the object takes up about an eighth of its height (the blockage in Controls). Squeezed between the walls, the flow past the object speeds up, and so does the shedding. Real wind tunnels correct their measurements for this effect.
The shedding frequency is also why wires hum in the wind. A telephone wire a few millimetres across in a moderate breeze sheds eddies a few hundred times a second, which is in the range you can hear. The sound is called an Aeolian tone, after Aeolus, the Greek keeper of the winds, and it is what makes an Aeolian harp play.
Lift and stall
Tilt an aerofoil slightly and it turns the flow downwards behind it. Pushing air down pushes the wing up: that is lift. In the Wing at 6° preset the flow stays attached to both surfaces and leaves the trailing edge smoothly. That smooth departure is the Kutta condition, named after Wilhelm Kutta, and it fixes how much lift a wing makes.
Tilt it further and the flow over the upper surface has to climb an ever steeper rise in pressure towards the back. Eventually it cannot, and it tears away from the surface in big eddies, shed one after another: the wing has stalled. A full-size wing, at Reynolds numbers in the millions, stalls at around 15° and its lift drops sharply. At the few hundred this tunnel can reach, stall is gentle. Here the lift stops growing between about 15° and 20° while the drag nearly doubles. Beyond that the tilted wing shoves air down like a flat board, gaining lift again but at a heavy cost in drag. Sweep the angle up from 0 and watch both coefficients in the readout.
Spin: the Magnus effect
Set the cylinder turning with Spin, or try the Magnus effect preset. The surface drags the fluid next to it round with it. Over the top, where it moves with the stream, the flow speeds up; underneath, where it moves against it, the flow is held back. Faster flow means lower pressure, so the cylinder is pushed up, and its wake leaves angled downwards: as with a wing, pushing air down pushes the cylinder up.
In ideal, frictionless flow the lift coefficient would be , with the surface speed over the stream’s (the Kutta–Joukowski theorem). Viscosity takes away more than half of that. Careful simulations at Re = 100 find about 2.5 at and 5.4 at (Kang, Choi and Lee, 1999), while the drag falls; on a large test grid this tunnel comes within 2% of both. Spin the surface faster than about twice the stream and the wake stops shedding: the moving surface carries the flow round the back instead of letting it break away.
The same effect curls a football’s free kick and dips a tennis ball hit with topspin. In the 1920s Anton Flettner drove a ship with two tall spinning cylinders, and rotor sails like them are fitted to some cargo ships today to save fuel.
How the tunnel works
Rather than solving the Navier–Stokes equations for the flow directly, the tunnel uses the lattice Boltzmann method. Each cell of the grid keeps nine numbers: how much fluid is at rest there, and how much is moving towards each of its eight neighbours. Every step, each of those moves one cell along its direction, then the nine at each cell relax a little towards the balanced mix for their local density and velocity. Averaged over many cells, this shuffle obeys the Navier–Stokes equations, with a viscosity set by how quickly the relaxation happens.
The method suits graphics cards, because every cell does the same small job at once, and this page runs it on yours. It times your card in its first second and sizes the grid to it, so that the air crosses the tunnel in about twelve seconds: a couple of hundred thousand cells on a laptop’s built-in graphics, over a million on a fast card. Fluid that runs into the object bounces back where it came from, so the fluid touching the surface cannot slide along it. Adding up all those bounces gives the force on the object. Where there is no WebGL2, the page runs the same method on the processor at a smaller size.
A few details keep it accurate. The stream moves at about a sixth of the speed of sound in the simulation, slow enough that the air behaves as if it cannot be compressed. The collision step uses a regularised scheme (Coreixas, Chopard and Latt). It splits the nine numbers in each cell into moments, measured relative to the local velocity: density, momentum, stress and higher ones. The stress relaxes at the rate the viscosity sets. The Navier–Stokes equations do not need the higher moments, and at low viscosity they oscillate until the run blows up, so the scheme resets them to their balanced values every step. That keeps the tunnel stable far past the point where its grid resolves the flow. The scheme it replaced, Irina Ginzburg’s two-relaxation-time scheme (TRT), is still under Collision for comparison. Bands of extra viscosity at the inlet and outlet absorb pressure waves and eddies so they do not bounce back.
Once Re passes about 20 times the object’s size in cells, the eddies get finer than the grid can follow. The slider goes on up to 1,000 times that size for exploring. A faster card gets a finer grid, which makes the object bigger in cells and so raises the limit.
What a flat tunnel cannot show
This tunnel is two-dimensional: the object stands for an endlessly long cylinder or wing, and nothing can move in the third direction. Real wakes are different. Behind a real cylinder the vortex street begins to twist in three dimensions at Re ≈ 190, and well before Re reaches the thousands the wake is turbulent. In two dimensions eddies tend to merge into bigger ones, where in three they break down into smaller ones. So the high-Re end of the slider shows irregular flow, which is not the same as turbulence.
Things to try
- Start at Re = 20 and raise it in steps of 5, giving the flow time to settle each time. Find the Re where the wake starts to swing.
- At Re = 150, release a streak of dye just upstream of the cylinder and follow it into the street.
- Compare drag for the cylinder, the square and the flat plate at the same Re. Which is worst?
- Draw a second cylinder in the first one’s wake. Racing cyclists ride close behind each other for the same reason.
- Switch the walls to solid and watch boundary layers grow along the top and bottom.
References
- O. Reynolds (1883), An experimental investigation of the circumstances which determine whether the motion of water shall be direct or sinuous, Phil. Trans. R. Soc..
- C. H. K. Williamson (1996), Vortex Dynamics in the Cylinder Wake, Annu. Rev. Fluid Mech..
- T. Krüger, H. Kusumaatmaja, A. Kuzmin, O. Shardt, G. Silva and E. M. Viggen, The Lattice Boltzmann Method: Principles and Practice, Springer (2017).
- I. Ginzburg (2008), Two-relaxation-time lattice Boltzmann scheme: about parametrization, velocity, pressure and mixed boundary conditions, Commun. Comput. Phys. 3, 427.
- S. Kang, H. Choi and S. Lee (1999), Laminar flow past a rotating circular cylinder, Phys. Fluids 11, 3312.
- C. Coreixas, B. Chopard and J. Latt (2019), Comprehensive comparison of collision models in the lattice Boltzmann framework: Theoretical investigations, Phys. Rev. E 100, 033305.
- M. Lehmann, M. J. Krause, G. Amati, M. Sega, J. Harting and S. Gekle (2022), Accuracy and performance of the lattice Boltzmann method with 64-bit, 32-bit, and customized 16-bit number formats, Phys. Rev. E 106, 015308; the shifted populations used here.
- D. V. Schroeder, Fluid Dynamics Simulation, an earlier lattice Boltzmann tunnel in plain JavaScript.
