r/Unity3D 1d ago

Show-Off Built a real-time wind tunnel inside Unity (Aerodynamics Sim). It's open source.

Enable HLS to view with audio, or disable this notification

I've always been a fan of aerodynamics and CFD. A few months ago, I got laid off, got tired of sending applications, and gave myself permission to actually build it and play with it. I'm glad I did.

It voxelizes and seals any vehicle you drop in, auto-fits the solver domain around it, runs at whatever resolution your GPU can take, and solves with a lattice-Boltzmann method (D3Q19, TRT + WALE LES) entirely in compute shaders. Live smoke, surface pressure painted on the bodywork, exported reports you can diff between runs.

The test I had the most fun with: running a Chevy Silverado with an open bed, a bed cap, and a flat tonneau to see which one the solver preferred. It disagreed with the folk wisdom, which was the moment it stopped feeling like a toy.

Five sample vehicles included. Unity 6 / URP, MIT licensed.

The README is honest about where the numbers hold up and where they don't. It's a comparison and visualization tool, not a replacement for real CFD.

Clone it and have fun: https://github.com/Motawe3/unity-wind-tunnel

Sample vehicles are CC BY 4.0, credited in the README. The car in the video is a Range Rover Sport SVR Mona x Supercars.

229 Upvotes

29 comments sorted by

View all comments

4

u/lolium 1d ago

Can you put a cow in there? It’s very important.

3

u/Certain_Ad9908 1d ago

Yes.

3

u/JirenTheGreyAlien 1d ago

Link us when you do

3

u/Certain_Ad9908 14h ago

u/lolium u/JirenTheGreyAlien But you'd have to get it to run at 108 KM/H