Sunday, August 31, 2014

CFD lessons from nuclear reactors


The fissile fuel in a commercial nuclear reactor is typically packaged into rods, which are collected together in arrays and placed within vertical cylindrical channels (as seen below for the case of the UK's Advanced Gas-Cooled reactor design). The coolant flows through the vertical channels, and the heat generated by fission is transferred from the surface of the fuel rods to the coolant. The efficiency and safety of the reactor therefore depends upon the efficiency with which the heat is transferred from the surface of the solid elements to the fluid flow. It is well-known that turbulent mixing enhances the efficiency of the heat transfer, and this is duly utilised within reactor design.



One of the requirements of reactor design is to homogenise the cross-channel temperature distribution, from one fuel rod to another, and it was noted in the 1960s that there was a greater degree of cross-channel heat transfer within a bundle of fuel rods than could be accounted for by turbulent diffusion alone.

The geometry created by the bundle of rods is rather differerent from a simple channel-flow problem. Taking a cross-section through a vertical channel, one has a collection of solid discs, each of which is separated from its nearest neighbour by a specified gap. The packing of adjacent cylindrical fuel elements creates a network of sub-channels, joined together by the gaps (see diagram below from A Keshmiri, Three-dimensional simulation of a simplified Advanced Gas-Cooled reactor fuel element, 2011). The coolant naturally flows in an axial direction through both the gaps and the sub-channels.


Experimental work noted that there was cross-channel heat transfer taking place through the gaps between sub-channels. For more than 20 years, it was thought that this heat transfer could be explained by 'secondary flow'. In a turbulent channel flow, the anisotropy of the turbulent stresses induce a component to the mean velocity flow-field which lies in a plane normal to the primary streamwise flow. Unfortunately, the magnitude of this secondary flow was way too small to explain the magnitude of the observed cross-channel mixing.

Only in recent decades has it been realised that the cross-channel mixing is due to a train of periodic vortices created in the sub-channels. The continual passage of these vortices creates a quasi-periodic cross-channel flow pulsation at particular stations along the bundle of fuel-rods. Steady-state CFD studies revealed nothing more than a turbulent channel flow pattern, and completely failed to represent the mixing of the coolant between adjacent sub-channels.

The cross-channel mixing was caused by an unsteady flow pattern which was smeared away in steady-state CFD, yet the coherent vortical structures make a contribution to the thermal mixing which has the same order of magnitude as that from the turbulent diffusion.

The exact mechanism responsible for the creation of this vortex train is not yet fully understood. The basic idea, however, is that the fluid flow is slower in the gaps between the fuel rods than it is in the larger sub-channels, and this creates a shear layer. The shear layer is intrinsically unstable, and breaks up into a train of vortices, in a manner possibly similar to Kelvin-Helmholtz instability. Adjacent sub-channels inherit counter-rotating vortices, so the patterns are not dissimilar to those of a von Karman vortex street shed behind a bluff body (see diagram below from Turbulent vortex trains in narrow square arrayed rod bundles of a dual-cooled nuclear reactor, Taehwan et al).


Note, however, that the vortex train in the bundle of fuel rods is not created by separation, as such. Rather, it is the result of the instability of the shear layers within the interior of the fluid. It is ultimately the geometrical configuration of the fuel rods which creates the unsteady flow pattern, and indeed the cross-channel pulsations are seen to vary as the gap between the fuel elements, and the diameter of the fuel elements, are varied.

The message is clear: even in the absence of separation, be very wary of steady-state CFD...

Thursday, August 07, 2014

Adrian Newey and unsteady CFD

The September 2014 issue of Motorsport Magazine contains an interesting article in which Adrian Newey discusses his favourite F1 cars. For disciples of modern F1 aero design, however, two statements catch the attention.

With respect to the 2009 Red Bull RB5, Adrian remarks that "we had a really great design group. We did some good research, understood the flow physics and the packaging." Then, recalling the research conducted for the exhaust-blown area around the spat on the 2011 RB7, Newey states that "it was very clear that the area around the rear tyres was critical...Then the whole research started developing...from steady-state CFD to tyre-dependent CFD and we worked with Renault to understand how the pulsing and acoustics of the exhaust worked."

This suggests that the recent aerodynamic success of the Red Bull has been based upon using unsteady CFD to understand the flow physics in that complex area around the spat. When the car pitches and rolls, not only does the rear ride-height change, but the rear tyre sidewall deforms, and given the sensitivity of the flow in the spat area, this sidewall deflection can crucially affect the performance of the diffuser.

The phrase 'tyre-dependent CFD' could, in isolation, merely imply that a set of steady CFD simulations were conducted, each representing a different degree of roll. However, by placing this phrase in opposition to 'steady-state CFD', it implies that Red Bull conducted unsteady CFD simulations which represented the roll of the car, including the time-evolution of the tyre sidewall profile.

Having said that, even if the solid geometry remains fixed, there is ample reason to believe that unsteady CFD simulations are indispensable for understanding the flow physics of a Formula 1 car.  

Steady-state CFD generates time-averaged images of the flow, and these can be misleading, both because they smear away time-dependent fluctuations in the flow, but also because the time-averaging procedure sometimes generates fictional flow structures which don't actually exist in the any of the instantaneous flow fields.

The image on the left, taken from Jacques Heyder-Bruckner's PhD research on wing-wheel interaction, vividly illustrates how the time-averaged image (top) smears away much of the structure associated with the breakdown of a front-wing endplate vortex (bottom).

The fictional potential of steady-state CFD is exemplified by the common wisdom used to explain the function of a Gurney flap. This claims that there is a stable, counter-rotating vortex pair formed behind the Gurney. As a case in point, the All-American Racers website proffers the following explanation:

"At the trailing edge, the airflow immediately beneath the wing rolls into a small anti-clockwise vortex behind the Gurney. Immediately above this, a second small vortex, rotating in the opposite direction, is formed by the airflow traveling above the wing as it passes over the gurney's lip. together these two vortices form a small separation bubble - a rotating mass of air removed from the main flow - which is somewhat taller overall than the gurney itself.

In clearing this separation bubble, the airflow's vertical deflection is increased and hence downforce increases. Additionally, separation of airflow from the wing's lower surface is postponed, allowing a higher angle of attack to be used before stall, which further enhances the wing's effectiveness."

In reality, there is no such stable vortex pair. Research conducted by David Jeffrey and David Hurst at the turn of the century established that the flow behind a Gurney is intrinsically unsteady, consisting of the continual alternate shedding of discrete vortices, which convect downstream (see the PIV images below, obtained by Jonathan Zerihan, which depict the vorticity contours associated with a Gurney flap in ground-effect at four different ride-heights). The process is not dissimilar to that associated with the von Karman vortex street behind a bluff body:

"The first stage in this shedding cycle begins as the separating shear layer on one side of the body rolls up to form a vortex. As it does so, it draws the separating shear layer over from the other side of the body. This second shear layer contains vorticity of opposing sign, and as it crosses the wake centerline it cuts off the supply of vorticity to the shear layer that is rolling up. At this point, the vortex is shed and moves downstream, while the shear layer on the opposite side starts to roll up, repeating the process.
 

With the Gurney flap the offsurface edge provides a fixed separation point for the pressure-surface shear layer, and this interacts with that separating from the suction surface to form a vortex street, in a manner similar to other bluff bodies."

To understand the flow physics in such circumstances, it necessary to compile a sequence of instantaneous flow images, (a storyboard, if you will). Studying the frozen and often fictional images generated by steady-state CFD simply doesn't cut the mustard.