Thought Leadership

Chaotic Fluid Dynamics Part 3 – Wheels

Rayleigh–Bénard convection involves the transport of heat from a hot bottom surface to a cold top surface. If the temperature difference between top and bottom is big enough, fluid rolls up into counter-rotating convection cells that transport the heat. Under certain conditions these convection cells flip-flop chaotically between rotating in a clockwise and counter-clockwise directions. Ed Lorenz’s famous ‘strange attractor’ is a graphical description of this behaviour:

Lorenz Attractor. Convection intensity vs Temperature variation vs Temperature difference for Rayleigh–Bénard convection when Prandtl number = 10, Rayleigh number is 28 times greater than the critical value and aspect ratio of model is 2:1.

A Pedagogic Example

The Malkus waterwheel is a fluid-mechanical model that intends to capture the same physical mechanisms as Rayleigh–Bénard convection. A tap/faucet supplies water at the top of the wheel, filling freely swinging cups positioned on the wheel periphery. Each cup has a hole in the bottom allow the liquid to slowly leak out:

Malkus waterwheel schematic adapted from https://en.wikipedia.org/wiki/Malkus_waterwheel

As the cups are filled at the top, the wheel starts to move. If it moves too quickly, heavy cups rotating upwards tend the slow the wheel down. This results in cups being filled with more water at the top that then speeds the wheel up. The wheel flips between spinning in a clockwise and counter-clockwise direction. The red curve in the above animation is the center of gravity of the wheel, its path describes an attractor of the system.

As a pedagogic aid, the Malkus waterwheel is often used as an example of a chaotic system. From a thermo-fluids perspective, the added water is akin to ‘adding cold’ at the top, and the holes in the cups that let that water out can be viewed as ‘adding heat’.

A Thermosyphon Equivalent

So can CFD to be used to model a Malkus waterwheel? It’s quite a complex fluid-solid interaction application involving filling, sloshing and rotational dynamics, something that Simcenter STAR-CCM+ would be well suited to. However I’m going to take a slightly different approach, further abstract the application into an equivalent closed loop thermosyphon and use Simcenter FLOEFD for NX to simulate its behaviour:

Simcenter FLOEFD for NX model of a closed-loop thermosyphon

The loop is filled with water. Heat is extracted at a constant rate from a small volume of the fluid at the top of the loop (equivalent to water being added at the top of the Malkus waterwheel). Heat is added at a constant rate through the rest of the wheel (equivalent to the holes in the cups that let water out).

In which direction will the water flow? Let’s find out! (Spoiler alert – BOTH)

Temperature (red hot, blue cold) and Velocity over time. The graph shows the mass flow rate at the bottom of the tube; positive = clockwise, negative = counter-clockwise

Water at the top is cooled down due to the heat extraction, water everywhere else heats up. The cold water drops down the inside of the tube until such time as it forces the flow in one direction, reinforced by the heated water pushing upwards on the other side. Round it spins until it slows down due to cold water being pushed up too far, the flow stalls, temperature drops quickly at the top (e.g. cup is filled with more water at the top when the wheel slows down), then it starts spinning again in a new direction. Sometimes the same direction, sometimes the opposite direction.

The flow is chaotic in that the number of spins in a given direction, and how often it changes rotation direction, are aperiodic:

Aperiodic rotational behaviour

Strangely Attractive

An attractor, plotted in so called ‘phase space’, is a way of collapsing a description of the behaviour of a system down into a bounded form. More useful than a time series plot that would go on for ever. It involves some integral properties of the system plotted against each other. Each point equating to a moment in time, joining the points up then shows a line that scribes a path.

For this thermosyphon application, plotting the mass flow rate at the bottom of the pipe against the bulk average temperature at that plane creates a somewhat angry looking attractor:

Thermosyphon Attractor, mass flow rate vs. bulk average temperature

Adding a 3rd property, the maximum temperature difference in the system at each time point, creates this 3D attractor:

3D Thermosyphon attractor, mass flow rate vs. temperature vs. maximum temperature difference

If the system exhibited a fixed steady state behaviour its attractor would simply be a single point. Periodic time varying behaviour would be some kind of loop. An attractor of a chaotic system is called a ‘strange attractor’ in that the line never crosses itself, it keeps on going for ever. If it did intersect itself then it would have achieved an identical state to as it did previously and so go on to repeat that same (periodic) behaviour. A strange attractor is a fractal in that its dimension is fractional. A loop would have a dimension of 1. The Lorenz attractor has a dimension of 2.06, somewhere between a plane and a 3D solid and nope, I still haven’t got my head around that either.

Despite the fact that a meshed based CFD approach has been used to derive the above attractor, and it is of a system that is twice abstracted from classic Rayleigh–Bénard convection, it is heartening to see the similarity between it and the Lorenz attractor. Similar attractors can be observed in a number of differing fields, all going to show that there is a commonality to chaotic behaviour that underpins all physics (because there is only one physics, despite what you might have heard elsewhere).

Robin Bornoff
Innovation Roadmap Manager

Leave a Reply

This article first appeared on the Siemens Digital Industries Software blog at https://blogs.stage.sw.siemens.com/simulating-the-real-world/2020/12/18/chaotic-fluid-dynamics-part-3-wheels/