FluidX3D - Simulating Rayleigh-Bénard Convection in Real Time and 3D on a GPU @ProjectPhysX
FluidX3D - Simulating Rayleigh-Bénard Convection in Real Time and 3D on a GPU  @ProjectPhysX
Uploaded July 2019 | Updated September 2026, 1 week ago
Rayleigh-Bénard convection occurs for example in a hot pan filled with oil or in the Earths mantle, whenever a vertical temperature gradient is present and the parameters like viscosity, thermal conductivity and the thermal expansion coefficient are just right. At the bottom the fluid is heated, expands, becomes less dense and thus rises. When it reaches the cold top plate, it becomes more dense again and sinks to the bottom. In 3D this results in convection cells.
Performing such 3D simulations in real time has not been possible before the rise of GPUs. Traditional LBM codes running on CPUs are approximately 100x slower - far away from real time.

FluidX3D is a real time 3D fluid simulation based using the lattice Boltzmann method. It is written in OpenCL C (GPU code) and optimized to the physical limit (video memory bandwith, ~520GB/s).

All demonstrations but the last one are simulated and visualized in real time on a Nvidia Titan Xp. Graphics are done with the OpenCL C version of Line3D, the fastest graphics engine ever written for primitive shapes like lines, dots and circles. It can handle up to 2 billion lines per second.

The temperature extension is done with an additional D3Q7 sub-lattice and Guo forcing.

Hardware Setup:
CPU: Intel Core i7-8700K @ 4.5GHz all core
GPU: Nvidia Titan Xp
RAM: 2x8GB Corsair Vengeance LPX DDR4 3200MHz CL16
Mainboard: ASUS ROG STRIX Z370-I GAMING
SSD 1: Samsung 970 PRO 512GB
SSD 2: Samsung 860 EVO 1TB
CPU Cooler: Cooltek LP53
PSU: Corsair SF600
Housing: Fractal Design Node 202

Timestamps:
0:02 256x256x128
0:28 256x256x64
0:58 256x256x32
1:29 256x256x16
1:55 256x256x256

More information at projectphysx.de



Music: "Atlantis", audionautix.com/Music/Atlantis.mp3
FluidX3D - Simulating Rayleigh-Bénard Convection in Real Time and 3D on a GPUPhysX3D [GRAVITY SIMULATION] Planetary Movement through SpacePortraits of the Planets SupercutChevrolet C10 1961 in 4.3 Billion cell CFD - FluidX3D on 2x Intel Xeon 6979PRunning Cyberpunk 2077 in Windows CMD with 128x42 ASCII charactersThere is a horrible bug in my code.Smooth isosurface raytracing in real timeFluidX3D [FLUID SIMULATION] 65536 Particles in Real TimeNuclide3D - 3D Table of NuclidesFluidX3D [FLUID SIMULATION] Rocket Nozzle SimulationLightning fast CFD free and accessible for everyone - 2 years of FluidX3D on GitHubThe raindrop again but with 8 billion (!) cells in 512GB GPU memory
Dr. Moritz Lehmann |

FluidX3D - Simulating Rayleigh-Bénard Convection in Real Time and 3D on a GPU

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER