Stand With Ukraine

Wednesday, November 6, 2024

tmux config file

This is mostly a reminder for me whenever I set up a new system to remember where I should go to download my favourite tmux customizations: github link.

Friday, March 8, 2024

Physics problem: Horizontal cylindric water pump

First, let me give you the problem statement so you can decide for yourself if the post is worth your time.

Problem statement

A pump consists of a cylinder with a piston. The cylinder is positioned horizontally. The piston's active pushing area is $A$. There is a hole of area $a$, in the middle of the piston. The piston is pushing water to the left and the water is flowing out to the right through the hole. The force $F$ is applied to the piston to make it move to the left with a constant velocity. Assuming that the flow is laminar and stationary ($\frac{\partial X}{\partial t} = 0$), determine the flow velocity of the liquid through the hole.

[Source: Savchenko et al 1981 physics problems book]


Latex source for the above plot is here: link. In this one I used layers to draw the pump on top of water.

Solution

One thing that we need to realize is that we are asked to compute the outflow speed of the water relative to the piston.

Another one, which is important to get the same answer as in the source physics problem book, is to realize that the total cross-section area of the cylinder is $A+a$.

Now that these two points are clarified we can switch to the reference system moving to the left with the piston. In this reference system the water flows to the right and through the hole. Let's denote the speed of water to the left from the piston and to the right from the piston as $u$ and $v$ respectively. Therefore the speed $v$ is the actual outflow speed we are asked to compute here. Let's denote the pressure to the left and to the right from the piston as $P_1$ and $P_2$ respectively.

Let's write down the following three constraints imposed onto the pump system in the form of equations.

  1. The second Newton's law applied to the piston yields:

    $$ F = \left( P_1 - P_2 \right) \cdot A $$

  2. The energy conservation law applied to a unit volume of the water (or else known as Bernoulli's law) yields:

    $$ P_1 + \rho \frac{u^2}{2} = P_2 + \rho \frac{v^2}{2} $$

  3. The continuity equation yields:

    $$ u \cdot A = v \cdot a $$

Above, we have three equations and three unknowns to be found are $u$, $v$, and $P_1 - P_2$. By solving the above system of equations we obtain the following expression for the outflow speed $v$:

$$ \boxed{v = \sqrt{\frac{2FA}{\rho (A^2 - a^2)}}} $$