Head in the clouds
Racecar Engineering|Design of a Racecar
CFD is moving forward at a phenomenal rate. Racecar investigates the latest developments, including cloud-based computing
Stewart Mitchell

Computational fluid dynamics (CFD) is a powerful numerical tool widely used to simulate many processes in the racecar environment. Recent progression in computing efficacy, coupled with a reduction in the cost of CFD software packages and the advent of cloud-based CFD operation, has advanced CFD as a viable tool to provide effective and efficient investigations for the full spectrum of motorsport.

In this article we will discuss the fundamentals involved in developing a CFD solution and provide a state-of-the art insight into various CFD developments applicable to the motorsport industry, as well as illustrate some of the physical models most commonly used in these applications.

CFD is a computer investigation into fluid dynamics. Personal computers can run CFD for moderate problems. However, the higher echelons of motorsport use clusters with up to thousands of cores and terabytes of memory as the complexity of the flow fields are immense.

The fluids under investigation can be either a gas or a liquid. When you're working with water, it's called hydrodynamics, and when you're working with air, it's called aerodynamics. The dynamics element refers to the fact the fluid is in motion, which can be caused by an object moving through them, or a thermal effect driving the flow.

Method man

There are three main steps to the CFD process – modelling, discretisation and iteration. Modelling involves the continuous mathematical functions you use to describe the real flow. In reality, that flow is the result of many different laws of physics working together. As CFD is a tool, you must tell it how you want it to work. Wouter Remmerie, founder of AirShaper, explains: 'To focus the investigation, it's a matter of selecting only the areas of a study that have a substantial impact on your flow topic. If you're calculating the aerodynamic force on a wing, for example, there's little use in taking the gravitational pull of the moon into account, as the effect is negligible. So, defining correct and relevant models is important to limit the modelling errors.'

Differential equations

In the case of fluid mechanics, the essential model is a set of partial differential equations called the Navier-Stokes equations. These apply the laws of Newton to each fluid element, stating the dynamic balance between the forces acting on it and the change in its momentum. This conservation of momentum, together with the conservation of mass, allows you to describe the flow field.

'For some straightforward cases, like laminar flow through a pipe, there are analytical solutions. One can describe the entire flow field using continuous mathematical functions,' continues Remmerie. 'These allow you to calculate exact velocity and pressure for any given location in the flow field at an infinite resolution. However, for anything more complex, there is no such analytical solution. That means we need to break down reality into small blocks for which we do have a solution.'

These blocks can be finite elements or volumes, known as cells. The process of breaking down a large continuous flow field into cells is called meshing. For each cell in a mesh, we can approximate the continuous Navier-Stokes equations by discrete algebraic equations. These allow us to calculate the pressure and velocity at the centre of each cell, called the node, based on values of velocity and pressure of the surrounding nodes.

‘The higher the order of these discrete approximations, the more surrounding nodes are included,' notes Remmerie. 'The reach of this technique is known as the computational molecule, resulting in a set of algebraic equations for each node. As the value of one node depends on the value of neighbouring nodes and vice versa, the equations are connected. To solve them simultaneously, they are collected together in a matrix.'

To solve a matrix, the discretisation error, which is the difference between the exact solution of the governing equations and the exact solution of the discrete approximation, must be understood. The more cells applied, the smaller this error. However, the more cells, the more equations need to be solved. High-density meshes typically contain millions of cells, and this quickly becomes very computationally expensive. As such, most CFD engineers apply high-density mesh to locations where the flow is complex, and lower density, larger cells where the flow is less so, typically further away from the object under investigation.

Continue reading your story on the app

Continue reading your story in the magazine

MORE STORIES FROM RACECAR ENGINEERINGView All

The art of noise (reduction)

As racecars rely ever more heavily on electrical devices, shielding them from interference becomes critical. Racecar asks if graphene-based coatings are the answer

10+ mins read
Racecar Engineering
July 2021

Storm in a teacup

The introduction of Hypercar has meant the FIA and ACO have compromised every other category in their portfolio and led to total confusion for all on track

10+ mins read
Racecar Engineering
July 2021

Fluids and solids

On Hydrolastic and live leaf spring suspensions

5 mins read
Racecar Engineering
July 2021

FIA seat upgrade

The FIA has delivered an update to the 8855-1999 seat that is used as standard in closed-cockpit racecars. The update is designed to significantly improve the safety of the device.

1 min read
Racecar Engineering
July 2021

Stop right there

AP Racing started out as a skunkworks project and grew into a globally recognised leader in brake technology

8 mins read
Racecar Engineering
July 2021

Mad 4 it

BMW says its M4 GT3 car is a step change improvement over the outgoing M6, and will be proven in competition this year before customers take over for 2022

10+ mins read
Racecar Engineering
July 2021

New old Stock

In early May, NASCAR launched its Gen-7 car online. Known as the Next Gen, it is looking to recreate the series’ production car values

10+ mins read
Racecar Engineering
July 2021

Two steps beyond

Michelin and Goodyear have sliced up the FIA World Endurance Championship and become sole tyre suppliers to individual classes within it, but with very different targets

10+ mins read
Racecar Engineering
July 2021

Channel hopping

A window into the possibilities available using advanced simulation channels

5 mins read
Racecar Engineering
July 2021

H uncovered

Toyota entered a hydrogen-powered racecar in the Super Taiku 24-hour race at Fuji as it seeks to prove the long-term future of the ICE

5 mins read
Racecar Engineering
July 2021
RELATED STORIES

THE BARN-BURNER IN CORN-COUNTRY

A 14-CLASS TRUCK AND TRACTOR PULL IN THE LAND OF LINCOLN

1 min read
Diesel World
January 2021

Time-Tested, Fresh Look

Inside the angry farmer products super stock ford

4 mins read
Diesel World
May 2020

Trucked Out

FIA European Truck Racing Championship is exactly what you think it is.

3 mins read
PC Gamer US Edition
November 2019

eNASCAR Heat Draft Brings Fans, Motorsports Closer Together

Turn on the Xbox, fire up the Playstation and get ready for the green flag to drop.

3 mins read
AppleMagazine
March 15, 2019

Grand prix pix

Danniella Edginton was hooked on motorsport photography the moment she captured her first marvellous MotoGP image from the stands

3 mins read
N-Photo: the Nikon magazine
June 2021

Gazoo's Grenade - Bringing World Rally To Your Garage

Bringing World Rally to your garage

6 mins read
FHM Australia
March 2021

Cameron Kirby

First cab off the rank is simple mandate that teams must use all three slick tyre compounds in a dry grand prix

3 mins read
MOTOR Magazine Australia
February 2021

Team Suzuki Ecstar Gets A Monster Energy Boost

Monster Energy Company and Team Suzuki Ecstar MotoGP are very proud and happy to announce that the two companies will join forces from 2021 after signing a multi-year agreement which will see the manufacturer from Hamamatsu enjoy extra power in its thrilling MotoGP World Championship adventure.

2 mins read
FHM Magazine South Africa
January 2021

Final Form

The 488 returns as a limited-run, track-only special and it is absolutely bonkers

2 mins read
evo India
January 2021

RALLY RAIDER

One more Indian motorsport star shines bright. Catching up with Ashish Raorane, India’s next Dakar hope

4 mins read
Motoring World
November 2020