Professional Documents
Culture Documents
Tutorial
Water hammer (part 1)
BOSfluids
1. INTRODUCTION
The following piping system, illustrated in Figure 1 and running from starting node 1 to end
node 125, is subject to a sudden valve closure at the pump suction, resulting in a water
hammer being produced in the piping system. BOSfluids will be used to calculate the
pressure rise and the unbalanced force that results from the closure. The valve closes in 0.4
seconds. The results of the unbalanced forces can be imported into CAESAR II to complete a
dynamic analysis and observe the impact of the water hammer in regards to the mechanical
natural frequency of the system. The first part of the Water Hammer tutorial describes the
model construction. The second part describes the post processing of results. The dynamic
analysis is completed by using the BOSfluids results in a dynamic analysis in a pipe stress
program. This is described in the tutorial Water Hammer Dynamic Analysis with CAESAR II.
Note: Specify the transient valve to be open in steady state action and closing in 0.4
seconds, starting at t=1sec in the Valve Actions menu.
Page 1 of 10
BOSfluids
Element
X-Dim
Y-Dim
Z-Dim
1-4
1000
4-5
1000
5-10
914,4
Bend at node 10
10-15
609,6
15-20
381
20-25
3657,6
25-26
-4572
26-30
-3048
30-35
2133,6
35-40
-1524
40-45
-1828,8
45-50
1828,8
50-55
6096
55-60
6096
60-65
6096
65-70
6096
70-75
1219,2
75-80
4572
80-85
1219,2
85-90
4572
90-95
6096
95-100
6096
100-105
6096
105-110
4572
110-115
-3048
115-120
-381
120-125
-381
Page 2 of 10
Description
Bend at node 25
Bend at node 45
Bend at node 75
BOSfluids
An open ended boundary condition is one where the flow velocity at the boundary is
variable. A closed boundary exists where the flow velocity is constant. At these points,
incoming pressure waves are reflected just like the system end was closed. So at a pipe end
cap, or at a closed valve, where the flow velocity is zero, the system will see a closed
boundary condition.
For the hammer system above, pulling liquid from a supply tank, the node 125 will be at an
open end. At this location the pressure will be assumed to stay constant. The closed valve at
node 5 will act as a closed boundary. So the system will behave like a closed-open system
whose natural period is 4L/c where L is the length from node 5 to node 125, and c is the
speed of sound in the fluid. Reflections from a closed end pipe will cause a pressure
maximum and a corresponding velocity minimum. Closed-closed systems and open-open
systems will have a fundamental natural period of 2L/c. This relationship is demonstrated in
the figure below:
Page 3 of 10
BOSfluids
When a frequency analysis is done of the water hammer solution for the system shown
above, it is expected that the fundamental period displayed will be 4L/c where L is the
distance from node 5 to node 125. Note that the actual wave front is shown as a sloped
black line in Figure 2 above. Actual wave fronts can be quite long as the total extent of a
valve closure wave front is (c)(tclosure) where tclosure is the valve closure time. If the speed of
sound (c) in the system is 1373 m/sec, and the valve closure is 0.4 seconds, then the wave
front length will be (1373)(0.4) = 549 meters or longer than the total system length! (The
actual wave front length will be some fraction of this distance since the valve closure is not
typically a linear function through the closure time duration). With the total system length
equaling 83 meters, and the characteristic time scale equal to 2L/c , the returning wave
begins cancelling the source before the valve is fully closed.
The distance between an elbow-elbow pair would have to be equal to or longer than 549
meters to develop the full unbalanced pressure thrust load due to the water hammer.
Therefore, the maximum magnitude of the unbalanced water hammer load will be smaller
than that predicted by the famous Joukowski equation: cdv. Water hammer and steam
hammer waves reflect from both closed and open ends, as well as from changes in diameter.
Only five reflections are needed to produce a resonant level response in an undamped
piping system. This means that even low magnitude pressure waves can produce large
displacements if they move in the system at a speed that corresponds to a mechanical
natural frequency. It is for this reason that some systems are particularly susceptible to
acoustic excitation:
1) Hot pipework supported by springs often have low natural frequencies
2) Any long runs of pipe that is hanger supported typically will often not have inherent
horizontal restraint.
3) Any system that is exposed to flow perturbations:
Page 4 of 10
BOSfluids
Boundary Condition
Value
Fixed Pressure
P = 16.0 bar
125
Fixed Pressure
P = 17.2 bar
Page 5 of 10
BOSfluids
namely the main model, shown in Scenarios. This is automatically selected. If more
scenarios are available, the user can select which scenario to run.
4) The job will run through the steady-state analysis. Errors and warnings are displayed
in the Messages window. After successful completion of the analysis run, the scenario
Main will appear in the list Completed.
To compute the transient solution, including the effect of the closing valve, return to step 1
and select Analysis Type Transient. Note that to compute a transient solution, a steady state
solution must always be computed. Therefore, when selecting transient as the Analysis
Type, the steady state solution is computed automatically by BOSfluids.
The users are able to adjust the output parameters to tune the analysis for their specific
needs. These parameters are described further below.
Page 6 of 10
BOSfluids
Page 7 of 10
BOSfluids
seen to progress from the source of the disturbance through the system at least two or three
times. (In some long pipeline systems only a single return of the pressure wave is required.)
The total time should also be long enough for any transient disturbance to stop, and the
system to have undergone its worst possible pressure loading scenario. As the user gains
more experience with transient fluid solutions, a greater confidence will be gained in the
comfortable estimation of an optimum total solution time.
Longer times are also required if low frequency data is to be obtained from the time history
plots. The longest period plotted can only be one-half to one-fourth of the total solution
time. (The lowest frequency plotted is the inverse of the largest period plotted.)
3.1.3. Lowest frequency
This is the lowest mechanical natural frequency of the piping system represented by the
fluid model. The parameter can be used during the dynamic analysis of the system to
determine the total solution.
This is an optional input. If entered this value will be used as part of the criteria employed
to establish the total simulation time. One criteria used for setting the total simulation
time is that the low frequency harmonic responses due to collective wave reflection must
be trapped.
Page 8 of 10
BOSfluids
to be used in a CAESAR II analysis then the Output Interval should be no larger than 1/4 the
period associated with the highest mechanical natural frequency of interest.
The user may also specify a starting and stopping time following the Output Interval entered
through Output Start and Output End. These input fields tell BOSfluids when to start and
stop writing time data to the output data file. This start-stop option for writing time history
data is used when the transient phenomena of interest occurs several seconds or minutes
into the simulation. An example where this option could be used is when vapor columns
form over pipe bridges. In this case it may take several minutes for the vapor column to
form, and then only a few more seconds for the bubble to collapse. There is no need to store
the solution before the bubble forms. The only interesting part of the simulation occurs
when the high pressure spike appears on collapse of the vapor column. If the output time
step is 4ms, and the vapor bubble starts forming at 40 seconds, and collapses at 50 seconds;
and if the total solution time is 1:30, then the user might specify an Output Interval, Start, Stop
input to be: 0.004, 40, 90. The tabular results also reflect only the transient that occurred in
the time window specified. This can be useful when a start-up transient must be allowed to
die-out before the real transient to be followed is started.
Page 9 of 10
BOSfluids
Page 10 of 10