Hydraulic ram pump
A hydraulic ram is a pump with no motor and no fuel. Water from a stream or spring runs down a long drive pipe and out through a valve. When the flow gets fast enough, it drags that valve shut, and the moving column of water, suddenly stopped, hits the ram like a hammer. For a fraction of a second the pressure is high enough to force water through a second valve into an air chamber and up a pipe to a tank far above the source. Then the column recoils, the first valve falls open, and the cycle repeats, about once a second, for years. Most of the water runs to waste; the rest is lifted several times higher than it fell. This simulation lets you run one and watch both valves at work.
How to use the simulation
- Press Start, or click the waste valve (on the ram in the valley or in the cutaway), to let the waste valve go. The ram then beats by itself. Stop holds the waste valve shut, as you would to stop a real ram.
- Drag the supply tank on the left up or down to change the supply height H, the height of its water surface above the ram (1 to 5 m). Drag the tank on the hill to change the delivery height h (3 to 25 m). The sliders in the panel do the same, and the third slider changes the weight on the waste valve (100 to 500 g).
- The cutaway shows the inside of the ram: the drive pipe coming in from the left, the waste valve with its brass weights, the check valve under the air chamber, and the delivery outlet. The water is colored by its pressure, from violet (suction) through blue to yellow (high pressure); the drive pipe on the hillside is colored the same way along its length.
- The chart plots the pressure in the ram (in meters of water) and the flow in the drive pipe against time. Grey shading marks the time the waste valve is open and blue shading the time the check valve is open and water is being pumped.
- The panel counts the water pumped up and the water wasted since the last reset. The dashed gold mark on the bar is the most that could ever be pumped, the share H/h. The numbers below are averages over the last eight beats.
- Speed runs the simulation at 1×, 4× (to fill the tank faster) or a quarter speed (to watch the valves). With a keyboard, Tab to the hidden sliders and buttons; the focused control is outlined on the canvas.
The physics: water hammer
Water in a pipe has momentum. If it flows at speed v and a valve at the end shuts in less time than a pressure wave takes to run up the pipe and back, the water at the valve stops at once, and the pressure there jumps by the Joukowsky amount
- Δp = ρ·a·v, or as a head, ΔH = a·v / g,
where ρ is the density of water and a is the speed of pressure waves in the pipe, around 1200 m/s for water in a steel pipe. Stopping water moving at 1.5 m/s would raise the pressure by about 180 m of water. That is the hammering you hear when a tap is shut quickly, and a ram puts it to work. The pressure does not have to climb that far: as soon as it is higher than the pressure in the air chamber (the delivery head h), the check valve opens and water flows into the chamber instead. The column in the drive pipe then slows down at the rate set by the difference in heads,
- dv/dt = −g·(h − H) / L, for a drive pipe of length L,
and while it slows, it keeps pushing water into the chamber. Ignoring friction, the water pumped in one beat is the water that enters the chamber while the column stops: V = A·L·vc² / (2·g·(h − H)), where A is the pipe's cross-section and vc the speed when the waste valve shut. When the column has stopped it rebounds; the check valve shuts, and the pressure in the ram drops below atmospheric. The weight then pulls the waste valve open and the water starts to speed up again under the supply head H.
Energy sets the limit. Each liter that falls through H can lift at most H/h liters through h, so the share of the water pumped can never be more than H/h, and in practice it is 60 to 80% of that. Two efficiencies are used for rams, with q the water pumped and Q the water wasted:
- D'Aubuisson's efficiency: ηD = q·h / ((q + Q)·H), with both heights measured from the ram.
- Rankine's efficiency: ηR = q·(h − H) / (Q·H), which compares the water lifted above the source with the water that fell from the source to the ram.
The model and its formulas
- The drive pipe is 10 m of 32 mm steel pipe with a friction factor of 0.025 and a wave speed of 1200 m/s. The water-hammer equations are solved by the method of characteristics on 25 reaches of 0.4 m, with a time step of Δx / a = 1/3000 s (50 steps per frame). Along each characteristic, HP = HA + B·(QA − QP) − R·QA|QA| and HP = HB − B·(QB − QP) + R·QB|QB|, with B = a / (g·A) and R = f·Δx / (2·g·D·A²). H is the head (pressure as a height of water above the ram) and Q the flow.
- The supply tank holds the head at the top of the pipe at H.
- The open waste valve lets water out at Qw = CdA·√(2·g·Hram), with CdA = 6 cm². The drag of the flow on it is k·Qw², and it starts to shut when the drag equals its weight: Qc = √(m·g / k). With 300 g that is 1.2 L/s, or 1.5 m/s in the drive pipe. It shuts in 10 ms. Closed, it is held up by the pressure on its 12 cm² disc and falls open (in 32 ms, a 5 mm drop) when the head in the ram drops below m / (ρ·Adisc), 0.25 m for 300 g.
- The check valve lets water into the air chamber at Qd = K·√(Hram − Hair) when the ram's head is higher than the chamber's, and never backward.
- The air in the 8 L chamber is compressed isothermally, p·V = constant. It is charged so that it holds 4 L of air at the delivery head. The delivery pipe (40 m of 19 mm pipe) is a rigid column: dQo/dt = (g·Ao / Lo)·(Hair − h − Ro·Qo|Qo|).
- The head at the ram cannot fall below −9.6 m, where the water would boil.
- With the waste valve held open, the drive pipe would carry a steady flow of √(H / (Rpipe + 1/(2gA²) + 1/(2g(CdA)²))). If that is less than Qc, the valve never shuts and the ram cannot start; the panel shows "never shuts".
Results from the simulation
Each row is the average of eight beats after a minute of running. The share pumped is q / (q + Q), with its upper limit H/h in brackets.
| Supply H | Delivery h | Valve weight | Beats per minute | Pumped q | Wasted Q | Share pumped (limit) | D'Aubuisson efficiency | Rankine efficiency |
|---|---|---|---|---|---|---|---|---|
| 2 m | 5 m | 300 g | 45 | 9.13 L/min | 29.9 L/min | 23.4% (40%) | 58.5% | 45.8% |
| 2 m | 10 m | 300 g | 53 | 5.27 L/min | 34.3 L/min | 13.3% (20%) | 66.7% | 61.6% |
| 2 m | 15 m | 300 g | 56 | 3.62 L/min | 36.6 L/min | 9.0% (13.3%) | 67.4% | 64.2% |
| 2 m | 25 m | 300 g | 59 | 2.17 L/min | 38.1 L/min | 5.4% (8%) | 67.3% | 65.4% |
| 3 m | 10 m | 300 g | 76 | 8.22 L/min | 28.8 L/min | 22.2% (30%) | 74.0% | 66.6% |
| 5 m | 10 m | 300 g | 107 | 13.25 L/min | 23.0 L/min | 36.5% (50%) | 73.1% | 57.6% |
| 5 m | 25 m | 300 g | 147 | 6.09 L/min | 29.8 L/min | 16.9% (20%) | 84.7% | 81.6% |
| 1 m | 10 m | 300 g | Never starts: the steady flow (1.09 L/s) is less than the 1.20 L/s needed to lift the valve | |||||
| 1 m | 10 m | 150 g | 41 | 1.92 L/min | 26.1 L/min | 6.9% (10%) | 68.7% | 66.4% |
| 2 m | 10 m | 100 g | 103 | 3.71 L/min | 17.5 L/min | 17.5% (20%) | 87.6% | 84.9% |
| 2 m | 10 m | 500 g | 28 | 4.63 L/min | 54.8 L/min | 7.8% (20%) | 38.9% | 33.8% |
Raising the delivery tank pumps less water, roughly in proportion to 1/(h − H), while the efficiency stays near 67%: the column shuts the valve at the same 1.5 m/s each time, and a higher delivery head simply stops it sooner. A taller supply makes the ram beat faster and pump much more. The valve weight is the tuning knob of a real ram. A light valve shuts at a low speed, so little water is wasted and friction in the drive pipe takes little energy: the efficiency is highest, but each beat pumps little. A heavy valve lets the column reach a higher speed and pumps more per beat, but wastes far more water while the column speeds up. In this setup the most water is pumped with a valve of 300 to 400 g, about 5.3 L/min, but at 400 g the ram wastes a quarter more water than at 300 g for the same result.
The pressure in the ram while pumping stays only a little above the delivery head (10.5 m for h = 10 m), far below the 180 m that Joukowsky's formula gives for a sudden stop at 1.5 m/s, because the check valve opens and the air chamber absorbs the flow. After each beat the recoil drops the pressure in the ram to about −6 m (suction), which is what lets the waste valve fall open.
Things to try
- Start the ram, then switch to quarter speed and watch the cutaway: the waste valve rises and shuts, the water turns yellow, the check-valve flap lifts and the air chamber's water level rises, then everything turns violet as the column recoils and the waste valve drops open.
- Move the delivery tank from 5 m to 25 m and compare the liters per minute. Multiply q by (h − H) for each: the product changes much less than q does.
- Set the supply to 1 m. The ram stops beating: with 300 g on the waste valve the flow never gets fast enough to shut it. Make the valve lighter until it starts again.
- With H = 2 m and h = 10 m, try valve weights from 100 g to 500 g. Find the weight that pumps the most water and the one that wastes the least.
- Check the per-beat volume against V = A·L·vc² / (2·g·(h − H)). With A = 8.04 cm², L = 10 m, vc = 1.5 m/s and h − H = 8 m it gives 0.115 L; the simulation pumps 0.097 L because the pipe's friction also slows the column.
- Watch the pumped share on the bar get close to the gold H/h mark when the supply is high and the valve light, but never pass it.
History
In 1772 John Whitehurst, a clockmaker from Derby, built a "pulsation engine" at Oulton, in Cheshire. Water ran down a long pipe from a spring to a tap; each time the tap was shut, the shock pushed some water through a valve into an air vessel and up to a cistern. He described it in the Philosophical Transactions of the Royal Society in 1775 ("Account of a Machine for Raising Water, executed at Oulton, in Cheshire, in 1772"). It needed someone to shut the tap.
Joseph Michel Montgolfier, one of the brothers who flew the first hot-air balloons, made the ram automatic in 1796, by replacing the tap with a valve that the water itself shuts and that falls open again under its own weight. He called it the bélier hydraulique (hydraulic ram) and used it to raise water at a paper mill at Voiron. His friend Matthew Boulton took out a British patent on it in 1797, and Montgolfier described it in the Journal des Mines in 1803. Montgolfier's son Pierre François patented an improved ram in Britain in 1816, and the engineer Josiah Easton bought the rights in 1820; his firm built rams through the nineteenth century, and the business passed to Green & Carter of Winchester in 1929. Thousands of rams supplied farms and country houses before electric pumps, and they are still made for places with a stream but no power. The first detailed analyses of the cycle came much later, for example by H. W. Iversen ("An analysis of the hydraulic ram", Journal of Fluids Engineering, 1975) and in the long tests by J. H. P. M. Tacke at Delft (1988).
What the simulation simplifies
The ram's valves are ideal: the waste valve shuts in a fixed 10 ms once the drag passes its weight and falls open in 32 ms; its drag and discharge are fixed numbers instead of depending on how far it is open, and the check valve has no mass and no loss beyond a simple square-root law. Real valves bounce, leak and lose energy, so real rams reach 60 to 80% efficiency rather than the 85% the lightest valve gives here. The water column cannot separate from the valves (the pressure is simply held above the boiling point), the pipe's friction factor does not change with the flow, and the pipe walls do not stretch beyond what the wave speed includes. The air in the chamber never dissolves, so there is no snifter valve; a real ram needs one, or its chamber slowly fills with water and the ram starts to hammer itself. The delivery pipe is a single rigid column with no backflow, the tanks are big enough that their levels do not change, and the hillside is not drawn to scale along the delivery pipe.