Tag: CFD

  • How Cycling Position Affects Aerodynamics

    How Cycling Position Affects Aerodynamics

    New FYFD video! How much does a rider’s position on the bike affect the drag they experience? To find out I teamed up with folks from the University of Colorado at Boulder and at SimScale to explore this topic using high-speed video, flow visualization, and computational fluid dynamics. 

    Check out the full video below, and if you need some more cycling science before the Tour de France gets rolling, you can find some of my previous cycling-related posts here. (Image and video credit: N. Sharp; CFD simulation – A. Arafat)

    ETA: Please note that the video contained in this post was sponsored by SimScale.

  • Simulating Thunderstorms

    Simulating Thunderstorms

    With today’s supercomputing power, it’s possible to simulate entire thunderstorms to study how and why some of them can spawn deadly tornadoes. The animation above comes from a computer simulation of a supercell thunderstorm. The simulation uses initial conditions from a 2011 storm that produced an EF-5 tornado – the highest category of tornado, based on its wind speeds. To see more of the simulation, check out the video below. One thing that might surprise you is just how enormous the towering supercell clouds are compared to the tornado produced in the simulation. Often what we can see of a storm from the ground is only the tiniest part of what goes into producing it. (Image credit: L. Orf et al., source; GIF via @popsci; video credit: UWSSEC)

  • Windy Urban Corridors (*)

    Windy Urban Corridors (*)

    For pedestrians, windy conditions can be uncomfortable or even downright dangerous. And while you might expect the buildings of an urban environment to protect people from the wind, that’s not always the case. The image above shows a simulation of ground-level wind conditions in Venice on a breezy day. While many areas, shown in blue and green, have lower wind speeds, there are a few areas, shown in red, where wind speeds are well above the day’s average. This enhancement often occurs in areas where buildings constrict airflow and funnel it together. The buildings create a form of the Venturi effect, where narrowing passages cause local pressure to drop, driving an increase in wind speed. Architects and urban designers are increasingly turning to numerical simulations and CFD to study these effects in urban environments and to search for ways to mitigate problems and keep pedestrians safe. (Image credits: CFD analysis – SimScale; pedestrians – Saltysalt, skolnv)

    (*) This post was sponsored by SimScale, the cloud-based simulation platform. SimScale offers a free Community plan for anyone interested in trying CFD, FEA and thermal simulations in their browser. Sign up for a free account here

    For information on FYFD’s sponsored post policy, click here.

  • Creating Moana’s Ocean

    Creating Moana’s Ocean

    Hopefully by now you’ve had an opportunity to see Disney’s film Moana. Fluid dynamics play a central role in the movie, and Disney’s animators faced the challenge of hundreds of shots requiring special effects to animate water, lava, waves, and wind. Science Friday has a great segment interviewing a couple of Moana’s animators, in which they discuss the process of turning the ocean itself into a character. 

    Because the physics of fluids is so complex, scientists and animators differ in the way they approach simulations. Scientists usually try to capture a full physical representation of a flow, simulating every detail to the smallest scale and time step. Animators, on the other hand, are interested in capturing a realistic feel for a flow. For an animator, the simulation should be exactly as complex as necessary to make the water move in a way a person believes it should. With Moana, animators had the extra challenge of melding the ocean character’s actions with appropriate water physics–think bubbles, drops, and splashes. The results are impressive and exceptionally fun. (Image credits: Disney/Science Friday; via Jesse C.)

  • Rio 2016: The Swimming Pool Controversy

    Rio 2016: The Swimming Pool Controversy

    Statistical analysis suggests possible current in the Rio Olympics swimming pool

    Several news outlets, beginning with The Wall Street Journal, are reporting that the swimming pool in Rio may have had a current that biased athletes’ performances. This is based on a statistical analysis of athlete performances across the meet, conducted by Indiana University’s Joel Stager and his coworkers. According to WSJ, Stager et al. analyzed times of athletes in the preliminary, semifinal, and final races of the 50m, 800m, and 1500m events and found consistent evidence that swimmers in the higher numbered lanes swam faster when moving toward the starting block and swimmers in the lower numbered lanes swam faster when moving toward the turn end of the pool. A separate analysis by Barry Revzin at Swim Swam came to similar conclusions about the direction and magnitude of lane effect in Rio.

    Past questions about lane bias

    This is not the first time questions have been raised about a current-induced bias in competition pools. In fact, Stager and his colleagues published an analysis in 2014 that suggested a similar bias in the pool used for the 2013 World Championships in Barcelona. That pool was a temporary pool built specifically for the competition by Myrtha Pools and was disassembled immediately after, before Stager et al.’s analysis was published.

    A more recent paper by Stager and his colleagues found that lane bias seems to be more prevalent in temporary pools than in permanent ones. The Rio Olympics pool, like the 2013 Worlds pool, is a temporary pool also built by Myrtha Pools.

    Myrtha Pools responds to the criticism 

    Myrtha responded to both WSJ and Swim Swam by sharing videos (1, 2) of their current test, which was conducted before the competition and on Day 3 of competition. The videos show a floating object in one of the outside lanes; neither video shows any noticeable movement of the object.

    Fluid dynamics and swimming pool design

    Competitive swimming pools are complicated recirculating systems that can contain special structures intended to minimize interactions between competitors. Myrtha has built many special event pools in recent years, including ones where the results did not show a bias. According to their website, Myrtha has fluid dynamicists on staff and uses computational fluid dynamics (CFD) to analyze pool performance during design, although they only show examples of freeform pools – not competition pools.

    In fact, I have found remarkably few CFD analyses of swimming pools in the literature. Most papers seem to focus on distribution of disinfectants in pools or in predicting evaporation rates – both practical problems but ones with limited relevance to this particular question.

    So, is there a current in the Rio pool?

    It’s tough to say with certainty that there is a current in Rio’s pool. The performance analyses by Stager et al. and by Revzin do show anomalies in the times of athletes in Rio based on their swim lane, and they show that those anomalies do not exist in many other recent competitions.

    I also do not think Myrtha’s current test constitutes evidence of a lack of current. Their floating object is only indicative of conditions at the air-water interface. Swimmers ride lower in the water and spend significant time completely underwater. Lane markers may also damp any flow effects near the surface.

    I think introducing dye underwater in the pool would do more to reveal any flow that may exist, and this would be a worthwhile test to conduct prior to the deconstruction of the Rio Olympic pool. Additionally, it would be wonderful to see a CFD analysis of the swimming pool, but this would require significant detail about the pool’s design (inlet and outlet locations, etc.) some of which is likely proprietary information.

    Neither dye visualization nor CFD simulation will change the results of this competition, but it may help reveal underlying issues in temporary pool designs so that any bias can be avoided in future competitions.

    (Image credit: Rio City Government)

    Special thanks to @MicahJGreen for bringing this story to my attention and to Dave B. for his assistance.

  • Turbulence in the Solar Wind

    Turbulence in the Solar Wind

    One of the key features of turbulent flows is that they contain many different length scales. Look at the plume from an erupting volcano, and you’ll see eddies that are hundreds of meters across as well as tiny ones on the order of millimeters. This enormous difference in scale is one of the major challenges in simulating turbulent flows. Since energy enters at the large scale and is passed to smaller and smaller scales before being dissipated at the tiniest scales of the flow, properly simulating a turbulent flow requires resolving all of these length scales. This is especially challenging for applications like the solar wind – the  stream of charged particles that flows from the sun and gets diverted around the Earth by our magnetic field. The image above shows some of the turbulence in our solar wind. The structures seen in the flow range from the size of the Earth all the way to the scale of electrons! (Image credit: B. Loring, Berkeley Lab)

  • Ocean Mixing

    Ocean Mixing

    Movement in Earth’s oceans is driven by a complicated interplay of many factors like temperature, salinity, and Earth’s rotation. Above are results from a numerical simulation of the top 100 meters of ocean contained within a 1 km x 1 km box.  The colors indicate surface temperature. Two major processes create the motion we see. The first is convection, in which water at the surface releases heat to the atmosphere and cools, causing it to then sink due to its greater density. Warmer water rises to replace it. This process happens quickly and dominates the early part of the simulation where we see the puffy convection cells shown on the left animation.

    A slower process is in effect as well. Because of variations in the water temperature, the density of the fluid at a given depth is not constant. We can already see that at the water surface, where the temperature (and thus density) is varying significantly. Those variations in density at the same depth combined with gravity’s tendency to shift fluids create what is known as a baroclinic instability. Put simply, this instability will cause warmer water to slide horizontally past colder water. The result is the large, spinning eddy motion seen in the animation on the right. To see how the whole system develops, check out the full video below.  (Image/video credit: J. Callies)

  • Bumblebees in Turbulence

    Bumblebees in Turbulence

    Bumblebees are small all-weather foragers, capable of flying despite tough conditions. Given the trouble that micro air vehicles have when flying in gusty winds, bumblebees can help engineers to understand how nature successfully deals with turbulence. Under smooth laminar conditions like those shown in the animation above, bumblebees stay aloft by beating their wings forward and backward in a figure-8-like motion. On both the forward downstroke and the backward upstroke, you’ll notice a blue bulge near the front of the bee’s wing. This is a leading-edge vortex, which provides much of the bee’s lift.

    Researchers were curious how adding turbulence would affect their virtual bee’s flight. The still image above shows the bee in moderate freestream turbulence (shown in cyan). Surprisingly, this outside turbulence has very little effect on the flow generated by the bee, shown in pink. In fact, the researchers found that the bees could fly through turbulence without a significant increase in power. Too much turbulence does make it hard for the bee to control its flight, though. The bee’s shape makes it prone to rolling, and the researchers estimated, based on a bee’s 20 ms reaction time, that bumblebees can probably only correct that roll and maintain controlled flight at turbulence intensities less than 63% of the mean wind speed. (Image credits: T. Engels et al., source; via Physics Focus)

  • Cars Helping Cyclists

    Cars Helping Cyclists

    This year’s Tour de France opened with an individual time trial stage in which riders competed solo against the clock. But, according to numerical simulations, some riders may get an unfair aerodynamic advantage in the race if they have a following car. The top image shows the pressure fields around a rider with a car following 5 meters behind versus 10 meters behind. The size of the car means that it displaces air well in advance of its arrival. By following a rider closely, that car’s high pressure region can help fill in a cyclist’s wake, thereby reducing the drag the rider experiences. For a short time trial like the 13.8 km race that kicked off this year’s tour, a rider whose car follows at 5 meter could save 6 seconds over one whose car followed at the regulation 10 meter distance. (As it happens, the stage was decided by a 5 second margin.) Since not all riders get a team follow car, it’s especially important to ensure that those who do aren’t receiving an additional advantage. For more about cycling aerodynamics, check out our previous cycling posts and Tour de France series. (Image credit: TU Eindhoven, EPA/J. Jumelet; via phys.org; submitted by @NathanMechEng)

  • Jumps in Stratified Flows

    Jumps in Stratified Flows

    One of the factors that complicates geophysical flows is that both the atmosphere and the ocean are stratified fluids with many stacked layers of differing densities. These variations in density can generate instabilities, trap rising or sinking fluids, and transmit waves. The animations above show flow over two ridges with dye visualization (top), velocity (middle), and contours of density (bottom). The upstream influence of the left ridge creates a smooth, focused flow that quickly becomes turbulent after the crest. The jet rebounds as a turbulent hydraulic jump before slowing again upstream of the second ridge. Like the first ridge, the second ridge also generates a hydraulic jump on the lee side. Clearly both stratification and the local topography play a big role in how air moves over and between the ridges. If prevailing winds favor these kinds of flows, it can help generate local microclimates. (Image credit and submission: K. Winters, source videos)