So I am following a bunch of youtube videos to see how to implement a eulerian fluid simluation. I stumbled across this fluid simulation and they talk about modifying velocity values with response to gravity acting on the fluid. However, in the demo, i am not sure how they are using gravity. Can someone help me with it?
YT vid time:
https://www.youtube.com/watch?v=iKAVRgIrUOU&t=551s
Simulation wehre it is simulating the wind tunnel
https://matthias-research.github.io/pages/tenMinutePhysics/17-fluidSim.html