Compressible Flow
This analysis of water hammer allows for the compressibility of water and the expansion of the pipe
You're viewing an older version of this page (#5872). View the current version.
Introduction
In the other submission on water hammer it was assumed that water is incompressible and whilst this assumption may be adequate in certain situations, it is clearly not true. It would be, for example impossible to control the depth of a submersible vessel unless the density of water increased with depth.
In this submission on Water Hammer allowance is made for the compressibility of water and for the fact that, in general pipes expand due to internal pressure
Pressure rise following Instantaneous Closure

The pressure rise at the valve $=\rho\; C\;v_0$ Where $\rho$ is the density and $C$ the velocity of Sound for the fluid (Water)
Let the initial pipe velocity be $v_0$
At the instant that the valve is closed a pressure wave, moving at the speed of sound $C$ sets off up the pipe bringing the water to rest.
Consider the instant shown above, $t$ secs after valve closure. At this moment the length of the column brought to rest is $x$.
By Newton'\b{s second law}, the pressure force equals the change of momentum per second.
i.e. $pa = \frac{wax}{g}\times \frac{v_0}{t}$
Pressure rise at valve $p = \frac{w}{g}\frac{x}{t}\;v_0\;= \rho\,C\,v_0$ Where $C = \frac{x}{T}$
Notes:
- The pressure at the valve remains at $p$ above normal from the instant the valve is closed until the pressure wave is reflected from the open end of the pipe as a wave of normal pressure and velocity $(= - v_0)$ reaching the valve at time $\displaystyle\frac{2L}{C}$.
- A wave of reduced pressure, $p$ below normal will then set off up the pipe.
- The time $\displaystyle\frac{2L}{C}$ is the period of the pipe.
- The above proof still applies if the valve is closed in a time of closure $T\leq\;\displaystyle\frac{2L}{C}$ i.e. the valve is closed before the pressure wave returns to the valve.
Pressure rise for Instantaneous Partial Reduction of Flow.

The Pressure rise $\delta\,p = \rho\,C\,\delta \,v$ Where $\delta\;v$ is the change of velocity.
The increase in Pressure head $\delta\,h = \displaystyle\frac{\delta\,p}{w} = \displaystyle\frac{\delta\,p}{\rho} = \displaystyle\frac{C}{g}\delta\,v$
The initial velocity $v_0$ is reduced to $v_1$ by the sudden partial valve closure. $t$ seconds later the pressure wave will have traveled a distance $x$ up the pipe as before $C = \frac{x}{t}$
Applying Newton'\b{s second Law}:
Pressure $p = \frac{w}{g}\:\frac{x}{t}\,(v_0 - v_1) = \rho\,C(v_0 - v_1)$
Which is commonly written as:
Pressure rise $\delta\,p = \rho\,C\delta\,v$ Where $\delta\;v$ is the change of velocity.
And:
The increase in Pressure head $\delta\;h = \frac{\delta\;p}{w} = \frac{\delta\;p}{\rho} = \frac{C}{g}\delta\;v$
Instantaneous Partial Closure of Valve
If the reduction in area of the valve is known rather than the reduction of flow or pipe velocity,then the pipe may be treated as a nozzle with a coefficient of discharge of $C_d$

From the Initial Conditions and from the change in Valve Area:
The change of pressure head $\delta\,h = \frac{C}{g}\:\delta\,v$
The initial flow through the valve $= Q_0=a_p v_0=C_d\:a_{v_0}\:\sqrt[]{2\,g\,h_0}$

After partial closure:
Thus: $\frac{Q_1}{Q_0} = \frac{v_1}{v_0} = \frac{a_{v_1}}{a_{v_0}}\sqrt[]{\frac{h_0 + \Delta\,h}{h_0}}$
But: $v_1 = v_0 - \Delta\,v$
But: $\Delta\,h = \frac{C}{g}\:\Delta\,v$
For known initial conditions and change in the valve area this equation can be solved as a quadratic in $\delta\;v$
Hence: $\delta\,h = \frac{C}{g}\:\delta\,v$
The relationship between pressure rise, speed of sound and bulk modulus allowing for lateral expansion of the the pipe
Notes:
Bulk modulus $K$ = Increase of Pressure/Volumetric strain $= dp\;\div\frac{dv}{v}$
- Assume a thin cylinder constrained longitudinally and subject to an internal
pressure rise $p$ causing lateral expansion from diameter $d\;\text{ to}\; d_1$
And the equivalent Bulk Modulus $(K')$ allowing for Pipe Expansion is given by :

Hoop stress/Hoop strain = Young's Modulus
Hoop strain
Also: $p\,d\,l\, = 2\;\times\;f_H\;\times\;t\,l$
Or: $f_H = \frac{p\,d}{2\,t}$ where $t$ is the thickness of the pipe wall

Consider the situation in the pipe at a time $T$ sec.after an instantaneous valve closure. The pressure wave will have reached a point $P$ at a distance $x$ from the valve where $C = \displaystyle\frac{x}{T}$ The water in the length $x$ is now at rest and at a pressure $p$ above normal.
During time $T$ after closure of the valve a volume $v_0\, a \,T$ has passed point $P$ and this volume must be accommodated in addition to the initial volume $(a x)$. This is possible due to the compression of the water and the expansion of the pipe.
Assuming that $2d\approx(d_1+d)$ and substituting from the hoop-strain relation above
Then: $v_0\,a\,T = \frac{p}{k}\:a\,x + \frac{\pi}{4}\:2\,d\:\frac{p\:d^2}{2\,t\,E}$
Combining the above equation with $p = \rho\,v_0\,C$
From the above two equations we can :
Eliminate $C$ by putting $\;p = \rho\,v_0\,\frac{v_0}{p\left(\displaystyle\frac{1}{k}\:+\:\displaystyle\frac{d}{t\,E} \right)}$
And the increase in pressure head $= \frac{p}{w}$ Or: $\frac{p}{\rho\,g}$
To eliminate $p$:
By ignoring Pipe Expansion the above equations can be simplified so that:
$p = v_0\;\sqrt[]{K \rho}$ And The head rise $=\frac{v_0}{g}\sqrt{\frac{K}{\rho}}$
And: $C = \sqrt[]{\frac{K}{\rho}}$
Thus the equivalent bulk modulus allowing for pipe expansion is given by:
Pipe with change of section

At the initial steady flow conditions it is assumed that friction; velocity head and contraction losses can be neglected. Therefore the pressure throughout both pipes is $h_0$.

The above diagram shows some instant when the pressure wave is between $V$ & $P$
Using the discharge-through-the-valve relation above:
Flow through valve $=Q_1 = a\,v_1 = C_d\,a_{v_1}\:\sqrt[]{2g\,h_1}$
And using the pressure-head/velocity-change relation above:
Also: $h_1 - h_0 = \Delta\,h = \frac{C}{g}\,\Delta v= C(v_0 - v_1)$
These equations can be solved for $\delta\;v$ and hence $v_1$ and $\delta\;h$ and hence $h_1$.
Now consider an instant in time after the pressure wave has passed through the junction and a reflected wave has set off up the pipe from $P$ to $R$.

By continuity: $AV_1=av_2$
Using the pressure-head relation for the pressure wave in the large pipe:
Similarly for the pressure wave in the small pipe:
Note: $C_*$ is the velocity of sound in the small pipe.
Adding the last two equations:
Equate to the earlier expression for $h_1-h_0$:
substitute for $V_0$ and $V_1$ from the continuity and valve-flow relations above:
Using the value for $v_1$ found from the equations above this equation can be solved for $v_2$ and hence $V_1$ and $h_2$.
Notes:
- If the velocity of sound is the same for both pipes then $C = C_*$
- Putting $A$ = infinity i.e.the pipe entering the reservoir
Where $\delta\,v$ is the initial reduction of the pipe velocity due to a partial closure of the valve. i.e. When the pressure wave reaches the reservoir entrance the velocity is reduce still further by an amount equal to the initial velocity reduction at the valve.
The solution to the first worked example has been hidden. It can be seen by clicking on the red button. The solution to the other examples can only be seen by Members of Codecogs. Membership is free and registering is quick and easy.