Guide · Flow simulation

Resolution, Reynolds number and compute cost

Cell size decides accuracy and run time. On a car, the Reynolds number is also so high that a workstation cannot resolve the boundary layer directly.

Coming soon: Major bench update: own kernel and own solver, far less memory per cell, more throughput and closer agreement with OpenFOAM 13 for drag and downforce. The figures on these pages refer to the current version and will be updated with evidence.

Half the cell size, sixteen times the work

  • Cell count in 3D: 2³ = 8 times as many cells.
  • Time step: at the same lattice velocity, Δt is proportional to Δx, so twice as many steps for the same physical time.
  • Together: 8 · 2 = 16 times the work, on any hardware.

Reynolds number on a car

For the bench’s standard car (length 4.43 m, 30 m/s), the Reynolds number is about 8 · 10⁶. Calculation with the kinematic viscosity of air ν ≈ 1.5 · 10⁻⁵ m²/s: Re = U · L / ν = 30 · 4.43 / 1.5 · 10⁻⁵ ≈ 8.9 · 10⁶.

What that means for τ (example)

Assumptions for the example, not the bench’s values: Δx = 4 mm, lattice velocity u = 0.1. The car is then 4.43 / 0.004 = 1,108 cells long. The lattice viscosity must be ν = u · L / Re = 0.1 · 1,108 / 8.9 · 10⁶ = 1.25 · 10⁻⁵, so τ = 0.5 + 3 · 1.25 · 10⁻⁵ = 0.50004.

τ sits practically on the stability limit of 0.5, and the boundary layer is much thinner than one cell. Vehicle runs on a workstation therefore need a turbulence model for the unresolved eddies (LES) and a wall model (Krüger et al. 2017).

In practice

Test coarse, compare medium, confirm fine. In the bench, drag approaches the OpenFOAM 13 reference as the cell size gets finer; the values per resolution are on the results page.

Sources

The MaxAttack CFD Bench is a modified fork of FluidX3D (Dr. Moritz Lehmann) and is not endorsed by him. Non-commercial; not sold, no commissioned work. As of November 2026.

To the MaxAttack CFD Bench Results
More guides

Read on

Vehicle aerodynamics on one workstation: what works and what does not →

What an LBM simulation on a single workstation can do for a complete car, where its limits are and what it is not meant for.

LBM vs FVM (OpenFOAM): two routes to the flow →

Lattice Boltzmann and finite volume compared: grid, pressure equation, turbulence, walls, hardware and when each method is stronger.

Why RANS shows no eddies and what LES does differently →

RANS, URANS, DES and LES explained: why the usual vehicle computation averages eddies away, what LES costs and why lattice Boltzmann suits it.

OpenFOAM on the GPU: why offloading failed here →

Measurement with OpenFOAM 13 and a GPU pressure step on the Intel Arc Pro B70: time per iteration, causes of idle time and what a fast path would need.

LBM software compared: FluidX3D, Palabos, OpenLB, waLBerla and others →

Which lattice Boltzmann programs exist, what hardware they support, whether they bring wall models and grid refinement, and where the MaxAttack CFD Bench stands.

Resolution and hardware: how fine, how long, how much memory →

How cell size, cell count, graphics memory and memory bandwidth determine the run time of an LBM vehicle simulation, with measurements and rules of thumb.

Blockage: why the bench uses two domains →

What blockage means in a virtual wind tunnel, why it distorts the forces and how a fine near field with a coarse far field keeps it at about 2 %.

Reading aero coefficients correctly: Cd, Cz and what belongs with them →

What matters when comparing drag and downforce coefficients from simulations: reference area, averaging window, resolution, pressure and friction share.

The lattice Boltzmann method (LBM) explained →

How the lattice Boltzmann method computes flow: distribution functions on a grid, streaming and collision, and why it is fast on graphics cards.

Velocity sets: D3Q19 and D3Q27 →

What D3Q19 and D3Q27 mean, how many directions they have and what that means for isotropy, memory and run time of an LBM simulation.

Relaxation time, viscosity and collision models →

How the relaxation time τ sets the viscosity in the lattice Boltzmann method, why τ must stay above 0.5 and what distinguishes BGK, TRT and MRT.

Lattice units and Mach number →

How physical values are converted to LBM lattice units, why the lattice velocity must stay small and what that means for the number of time steps.

Memory per cell: what fits into graphics memory →

How many bytes an LBM cell needs, how velocity set, number format and number of copies determine the value and how many cells fit into 32 GB.

Memory bandwidth and MLUPs: what sets the run time →

Why the lattice Boltzmann method is limited by memory bandwidth, what MLUPs mean and how to estimate the achievable performance of a graphics card.

Wall boundary condition and wall model in LBM →

How LBM represents solid walls: simple bounce-back, interpolated boundaries after Bouzidi and why vehicle runs need a wall model.

Kronshorst (Brunsbek) · near Hamburg, Germany

Contact

Project, datalog or question: get in touch directly by phone, WhatsApp or email.