Ask HN: What happens when you shake a container filled with liquid?
Is the liquid moving?
I would love to know if the liquid will be shaken or not moving because there is no space.
I would love to know if the liquid will be shaken or not moving because there is no space.
18 comments
[ 2.7 ms ] story [ 15.9 ms ] threadI imagine that much would depend on the shape of the bottle and the kinematics of the shaking. If it's a perfect cylinder, and the shaking is perfectly aligned with the axis of the cylinder, then perhaps no mixing would occur*. But if you shake a plastic soda bottle, the nubbins on the bottom would make areas of lower and higher pressure, which could induce turbulence. Also surface effects would be interesting -- either oil or water could be stickier, which could result in films, then droplets, being separated from one fluid into the other.
* though, shockwaves could conceivably form circular vortices...
If you shaked perfectly along one axis, they'd probably only move a bit, and not really mix, depending on how compression able and uniform the liquid is.
A paint mixer for instance mostly relies on rotational inertia https://www.youtube.com/shorts/bSUbEzxGjAM
What’s more, the liquid will move even if you don’t shake it. See https://en.wikipedia.org/wiki/Molecular_diffusion, or https://en.wikipedia.org/wiki/Brownian_motion
If there is space, the container will move. It will also change the center of mass as the liquid splashes around.
If there is no space and the container is full of liquid, other answers describe what happens.
This is important when transporting liquids on boats. If the liquid can move around, the motion can flip the boat. Containers get designed to minimize the chance of that happening.
That said, if there are thus more than one phase in this container, what happens is dictated by Archimedes. When one phase is less dense than the other, then it will be sujected to a force equivalent to the "weight" or acceleration of its volume filled by the more dense phase. That, plus the surface tension of the interphase surface will dictate how bubbly the phases will change position during your shaking acceleration. This can lead to the creation of lots of small bubbles, up to mixing an "emulsion" with the right surface tension.