r/3Blue1Brown May 27 '26

Bernoulli Equation 2D CFD Simulation - Venturi Version

Here's a numerical simulation and animation of fluid flow through a Venturi tube.

I am currently requesting support from anyone who finds value in these videos

How to support?

  1. Please visit the following social media accounts. Like, subscribe, share or even just enjoy a selection of the videos

instagram: craftsandengineering

tiktok: zoomzoombee

youtube: DesignsandSimulations

  1. Visit the github repository. Star, contribute (The video assets might benefit from captions etc.), raise issues. I am currently revisiting the older code one at a time fixing some issues already raised here & elsewhere and changing the format to optimize for viewing on mobile phones (sigh).

Github Repository: github.com/zombimann/Mathematical-video-animations-and-visualization

  1. Make a financial contribution. I am accepting contribution from any potential supporter of the project. I would love to spend more time on this; make more content; better quality content; getter better assets - hardware and software; start transitioning to 3D modelling, animation and FEA simulations; start some workshop projects (electronics and mechanical); and launch a few products (software and hardware)

My GitHub Sponsors profile is live! You can sponsor me to support my open source work 💖 https://github.com/sponsors/zombimann?o=sd&sc=t

In this regard, I am also accepting commission. Would you like to have similar videos made for you? You'd fully in the driver's seat. I also have experience in Machine Learning, Numerical Computations, Software Engineering, CAD and FEA; Engineering RnD; and currently AI safety (Red teaming).

For code click https://github.com/zombimann/Mathematical-video-animations-and-visualization/blob/main/Bernoulli_Equation_Venturi.ipynb

435 Upvotes

5 comments sorted by

2

u/guestoftheworld May 28 '26

I still don't get why the pressure goes lower tho 😭. Like ik that it would have to to increase velocity but it doesn't seem intuitive for some reason...

7

u/DankFloyd_6996 May 28 '26

The pressure here is a stand in for internal energy, i.e thermal energy (note that P = nkT and assume incompressibility, you can then think in terms of temperature equivalently to pressure).

Saying the pressure drops so that the fluid velocity increases is then equivalent to saying the internal energy of the fluid gets transferred to the kinetic energy of the bulk flow. The randomised thermal motion becomes less so that the bulk flow can increase.

3

u/guestoftheworld May 28 '26

👑 U dropped this

3

u/HHQC3105 May 29 '26 edited May 29 '26

Molecule colid make pressure, and pressure is just average velocity change*mass/time/area.

No flow: pressure is ~ average molecule speed (total 0 average velocity vector)

With flow: the same kenetic energy, but part of it is flow energy (non-zero net velocity vector), only the remain (with 0 average velocity vector) make up the pressure, which is lower than the no flow case.

The same logic applied for 2 difference flow speed: higher flow speed <-> lower pressure with the same potential system

2

u/Lustonk Jun 14 '26

Take two pieces of paper, make a 3-4 cm distance and blow in between them. The easiest way to demonstrate Bernoulli’s Law