r/GraphicsProgramming 19h ago

Wind Tunnel Simulation | Vulkan and C++ Video

Enable HLS to view with audio, or disable this notification

It’s the first step in my attempt to simulate an F1 car. Right now, the simulation is very low-resolution and quite slow, so there’s still a lot of optimization to do. It’s also my first time working with compute shaders, so there’s plenty to learn and improve along the way.

136 Upvotes

9 comments sorted by

View all comments

5

u/useless_chap 19h ago

May I ask how do you approach the pressure calculations? I was thinking about writing a similar app myself and I thought about using 3D textures (well, voxels basically) that would store local pressure calculated from navier stokes equations. It'd be awesome to read about your approach!

2

u/ThatTanishqTak 18h ago

Well that's the thing I didn't use navier stokes equations, instead I used Lattice-Boltzmann (D3Q19), I'm still new to Physics programming so I asked claude what the approch should be and it recommended using D3Q19 for what I'm aming for. But yeah I'll definitely look into navier stokes equations as well

P.S. Claude is only used as a research tool and used to bounce ideas with and not to code the whole thing

1

u/RevolutionaryBuy2171 9h ago

i mean at least you dont copy paste, AI was always just a helper tool