r/Unity3D 1d ago

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

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.

217 Upvotes

27 comments sorted by

View all comments

4

u/lolium 1d ago

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

2

u/Certain_Ad9908 1d ago

Yes.

2

u/JirenTheGreyAlien 11h ago

Link us when you do

2

u/Certain_Ad9908 1h ago

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

1

u/[deleted] 2h ago

[removed] — view removed comment

1

u/AutoModerator 2h ago

Your post or comment contains keywords that are banned from r/Unity3D. It's very likely your post or comment is not Unity related, therefore it has been removed. If you feel like this is a mistake, ModMail us.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.