alt.hn

3/2/2026 at 2:52:52 PM

A bit of fluid mechanics from scratch not from scratch

https://tsvibt.blogspot.com/2026/02/a-bit-of-fluid-mechanics-from-scratch.html

by surprisetalk

3/2/2026 at 4:51:24 PM

> in case someone wants to get nerdsniped https://github.com/kamilazdybal/fluid-toolbox

by barrenko

3/5/2026 at 2:50:44 AM

Gases work roughly the same way (until they break the ideal gas law and don't). The ratio of static and dynamic pressures between two chambers can drive nozzle flow [1]. Add in some compression and combustion and you can simulate anything from refrigerators to engines.

[1] https://github.com/glouw/ensim4/blob/master/src/chamber_s.h#...

by glouwbug

3/5/2026 at 10:08:43 AM

Oh là là, thank you!

by barrenko

3/5/2026 at 4:19:36 AM

Prompted by current news I was idly thinking about how caverns and tunnels get impacted by surface level blast overpressured.

How much of the energy will get transmitted as opposed to reflected will depend on impedance matching. There are two very important transitions (i) open air to air inside cavern and (ii) cavern air to cavern walls.

Regarding (ii) unless the density transition is eased into, (gravel and sand ?) the energy in the air will get reflected right back. Very little will get transmitted into the rock walls.

Same principle applies for (i). As a resident of such a cavern you would want high impedance mismatch. It makes sense to have well matched labyrinths to dissipate the energy much like silencers and mufflers. One would want all the energy be converted into turbulence, safely and quickly.

I wonder if these considerations inform their design. Probably does.

by srean

3/5/2026 at 6:57:23 AM

So for a simple case, do you want a large entrance to your cave or a small one?

by polishdude20

3/5/2026 at 7:10:44 AM

I think, small with abrupt expansion spaces. Sharper the change in impedance more the reflection.

The worst would be a tapering wave guide, unless it used to intentionally guide away the energy.

This completely ignores the effect of ground waves though.

by srean

3/2/2026 at 5:34:12 PM

> Ok, so, it’s the same as before, but the outlet of the spout is now significantly deeper / lower. So the speed of the water should be higher, right?

> Ok, but if the water is faster at the bottom of the long spout… We could view the top part of this system as an exact copy of the short-spout version. At the interface between the tank bottom and the pipe-spout, the velocity of the water should be the same as in the no-pipe version, right? But that means the water inside the pipe is accelerating inside the pipe:

No, it's not the exact same. In the top part of the long-spout system there's a lack of airpressure holding the water above it back compared to the short-spout, and quite a bit of cohesion in the water pulling the water above it down faster if the lack of air pressure isn't enough. The water in the whole system moves faster as a result.

You'd theoretically get the air (actually vacuum) bubble if you ran the experiment in a vacuum with a liquid that has no cohesion... liquids with no cohesion are otherwise known as gasses though and behave differently in other ways as well.

by gpm

3/3/2026 at 8:22:49 PM

Ohhh, oops, good point, thanks.

by tbt

3/2/2026 at 8:39:56 PM

> As everyone learns in kindergarten, the speed at which water comes out of a spout in a tank depends on the height

What kindergarten did you go to? Maybe my public kindergarten education was seriously lacking.

by NewsaHackO

3/3/2026 at 8:25:40 PM

Oh sorry that was a joke. (Though you could teach that in kindergarten.) When I was in undergrad I had the privilege of taking Laszlo Babai's combinatorics class. I don't recall exactly how he phrased it, but he would say things like "As everyone learns in kindergarten, the powerset of [n] has size 2^n.".

by tbt

3/4/2026 at 12:09:58 AM

Oh my bad, good article though.

by NewsaHackO

3/2/2026 at 4:54:07 PM

Really nice to see the process of thinking it through. This sort of thing gives a much better insight than just memorizing formulas.

by MarkusQ

3/5/2026 at 12:12:01 PM

This is gold for those of us who dabble in adjacent things but don't want to (or aren't able to) do the math.

by pkaral

3/2/2026 at 8:16:44 PM

Unfortunately nobody in the UK can see the images in the blog, 'cause imgur

by alienbaby

3/3/2026 at 8:27:58 PM

Sigh, thanks for letting me know. Ok since this is the ~third time someone has said this, I'll try to figure out a convenient solution (I guess hosting images on github?). Just FYI a VPN should let you see imgur images.

by tbt

3/4/2026 at 1:38:36 AM

Thankyou :)

by alienbaby

3/5/2026 at 2:06:16 AM

Love the thinking but was booing there would be some enlightenment at the end…

by BobbyTables2

3/5/2026 at 5:48:39 AM

Wow, I found the writing style to be extremely grating, but here's my attempt at correcting some faulty premises that lead the author astray:

>narrator: he’s assuming that the water at different vertical positions, at a given horizontal position, is moving with the same vector

This assumption is physically impossible, given the first diagram in part #2. Obviously in real life the thing would drain out the side, so obviously there isn't a uniform flow gradient, neither top-to-bottom nor radially. The flow has to bend somewhere, after all. This sometimes happens where students get so wrapped up in the math that they lose common sense and "prove" reality wrong, creating a paradox.

The author does it again with the "top half of an hour glass" shape:

>Well, we know that the velocities are always strictly vertical (and downward).

No, we actually don't know this. This is again physically impossible, given the shape of the container. If there was no horizontal component you'd get a tube-shaped void extending up from the spout, and water would magically fail to drain from the sides as if you'd drilled out a core sample from solid ice. Obviously, this is not what happens in reality, so obviously the assumption that all the velocity is purely vertical is incorrect.

>The water at the bottom of the spout cannot be going faster than at the top! [...] In other words, the water does indeed accelerate, and it also gets narrower; the pipe is partly filled with air.

The author appears to have forgotten that friction and gravity exist. Generally if the flow is steady (which it will be unless the volume of water in the tank is small compared to the volume of water in the outlet pipe), then the pipe will run full of water at all times. Water does not accelerate in the pipe. If you add length to the pipe then the added height is counteracted by added friction and by the weight of the moving fluid.

Grab an undergraduate fluids textbook and do an energy balance.

by stackghost