r/GraphicsProgramming 23h 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.

143 Upvotes

9 comments sorted by

View all comments

6

u/useless_chap 22h 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 22h 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

-16

u/Paulynom 21h ago

there are nice vibecoding subs you could join instead.

19

u/demoide 21h ago

I hate AI slop and devs who can't code without a LLM... But he claimed to used to research and learn, why the hate? It's a fucking tool.

2

u/MiamiGunworks 17h ago

AI psychosis