1 Introduction

Stopping a flow by closing a valve or shutting down a pump leads to high amplitude pressure waves, the so-called fluid hammer phenomena. The research of this effect goes back to the late 19th century, Joukowsky (1900) was one of the first who derived the formula for the pressure rise if the flow is stopped instantaneous. A good overview about research activities with a focus on fluid hammer induced cavitation is given by Bergant et al. (2006).

Fluid hammer is a major problem in multiple fields and has been responsible for accidents like the destruction of a penstock at the Oigawa Power Station in 1950, which led to the death of three workers (Bonin 1960). In nuclear power plants the mixing of steam and cold water can lead to condensation induced water hammer (Barna et al. 2010). Since the resulting loads on the structure endanger the safety of the system, an accurate prediction of the loads is required to decide which components have to be replaced (Giot and Prasser 2004).

In mechanical heart prostheses, the occurrence of cavitation due to the water hammer can lead to potential damage of the valve itself or the blood components as suggested by Graf et al. (1991). A more recent study by Li et al. (2020) showed transient simulations of cavitation in a mechanical heart valve. In the field of rocket propulsion systems, a well-known example for fluid hammer is the loss of the 4th flight of the N1-L3 soviet lunar rocket. The shut down of an engine caused a shock wave which destroyed an oxygen pump (Lardier 2018). The Automated Transfer Vehicle, a spacecraft for logistic servicing the International Space Station, was tested with water as a substitute. Pressures of up to 220 bar were measured, this made it necessary to add a re-priming network to the spaceship (L’Hullier 2009). Fluid hammer tests with real propellants, like nitrogen tetroxide and hydrazine were performed by Gibek and Maisonneuve (2005).

A distinction is made between two types of fluid hammer test benches.

The priming setup contains an initially closed valve with pressurized liquid upstream and an evacuated pipeline with a dead end downstream. When the valve is opened, the pipeline is flooded by the liquid and hits the dead end, where a fluid hammer wave is created. The low pressure in the evacuated line and the associated high-pressure gradient across the valve cause the liquid to evaporate and the dead end to be hit by a two-phase flow. This setup was used with water and ethanol by Bombardieri et al. (2014) and with liquid nitrogen by Gouriet et al. (2016). They compared experimental results with Ecosim Pro/ESPSS simulations and called the code’s prediction of flow questionable from a physical point of view.

In the fluid hammer setup, the fluid hammer is generated by stopping a stationary flow via closing a valve. The only publication using this setup and operating at cryogenic conditions known to the authors is the work of Joseph et al. (2017). They developed a one-dimensional transient flow model and compared it to experimental data of a \(66 \, \textrm{m}\) long rocket engine feed line transporting liquid hydrogen. A fluid hammer wave is generated by closing the vent valve close to the engine at the end of the chill down process. They measured the fluid hammer pressure wave at an orifice \(61 \, \textrm{m}\) downstream the tank and \(5 \, \textrm{m}\) upstream the engine.

The Fluid Transient Test Facility at DLR Lampoldshausen was built to study the differences between water and cryogenic fluids in fluid hammer events with the occurrence of cavitation. This test facility can be used with either the priming configuration or the fluid hammer configuration. Previous work with water focused on different topics, like flow visualization (Traudt et al. 2015), influences on the damping behaviour (Klein et al. 2018, 2019) and the cavitation as an acoustic boundary condition (Klein et al. 2020).

In this paper, experimental data from the fluid hammer setup with liquid nitrogen over a wide pressure range are presented and then compared to equivalent experiments with water. This work is a contribution to extend literature with experimental data of cryogenic fluid hammer by stopping a stationary flow. The main focus is on the first pressure peak after valve closure and the occurrence of cavitation close to the valve immediately afterwards. Furthermore, the presented data can be used as a test case for validation of numerical models.

2 Theory

The basic principle of fluid hammer is explained in Fig. 1, a tank is connected through a pipeline to a valve. The setup is shown at eight points in time. Before \(t_1\) the valve is open and the pressure inside the pipe is \(P=P_0\). At time \(t=t_1\) the valve is closed while the fluid is flowing with the velocity v. The fluid is then stopped immediately and a compression wave with pressure \(P_1\) travels with the speed of sound a towards the tank, which is reached at \(t=t_2\). The velocity behind this compression wave is \(v'=0\). At \(t=t_3\) the wave is reflected at the tank and is then travelling towards the valve (\(t=t_4\)). The compression wave is reflected as a rarefaction wave at the valve. Now the flow direction is changed and the fluid flows back into the tank with the pressure \(P=P_0\) behind the rarefaction wave.

At \(t=t_5\) the wave is reflected at the valve, where it surpasses \(P_0\) and is then travelling towards the tank at \(P=P_{1'}\) (\(t=t_6\)). The wave is reflected at the tank (\(t=t_7\)), which leads to another change in the flow direction. Finally the compression wave is going back towards the valve (\(t=t_8\)), when it hits the valve the same condition as at \(t=t_1\) is reached. The rarefaction wave is reflected as a compression wave; therefore, the fluid hammer cycle starts again.

Fig. 1
figure 1

Schematic of the fluid hammer oscillation in a pipeline after rapid valve closure

The rise in pressure \(\Delta P =P_1 - P_0\) can be calculated by the Joukowsky equation, the fundamental equation of water hammer:

$$\begin{aligned} \Delta P_\textrm{Jou} = \pm \rho a \Delta v \end{aligned}$$
(1)

Where \(\rho\) is the density of the fluid, a the speed of sound of the fluid and \(\Delta v\) is the change of the flow velocity. Because the flow is completely stopped, the change in velocity equals the flow velocity at valve closure: \(\Delta v = v_0\). To compare two different fluids, it is necessary to know what pressure increase can be achieved per flow velocity. The product of \(\rho a\) is shown for different pressures versus temperature in Fig. 2 for water and liquid nitrogen. The temperature range is selected around the respective operating condition with \(\pm 10\,\textrm{K}\). The absolute \(\rho a\) values for H2O are about double as high as \(\rho a\) for LN2, while the derivative with respect to temperature is an order of magnitude greater for LN2 than for H2O.

Fig. 2
figure 2

Joukowsky pressure: pressure rise per flow velocity for H2O and LN2 for several operating conditions

As described by Korteweg (1878), the sound velocity of the fluid in a pipe is reduced when the elasticity of the tube is comparable to the elasticity of the fluid flowing through it.

$$\begin{aligned} a = \sqrt{\frac{K / \rho }{1+[(K/E)(D/e)]c_1}} \end{aligned}$$
(2)

This reduction can be calculated knowing the fluids bulk modulus K and pipe properties such as the Young modulus E, the inner diameter D and the wall thickness of the pipe e. For thick-walled pipes (\(D/e < 25\)), which are anchored against longitudinal movement, the factor \(c_1\) is a function of the pipe’s geometry and the Poisson coefficient \(\nu\) (Wylie et al. 1993).

$$\begin{aligned} c_1 = \frac{2e}{D}(1+\nu )+\frac{D(1-\nu ^2)}{D+e} \end{aligned}$$
(3)

Since the pressure wave passes through the pipe four times per oscillation the frequency of the oscillation f can be calculated as

$$\begin{aligned} f=a/4l \end{aligned}$$
(4)

which corresponds to the first eigenfrequency (\(n=1\)) of a tube with one end open and one end closed (oc).

To calculate higher eigenfrequencies (\(n>1\)) in an open-close tube, a pre-factor is used as shown in Eq. 5:

$$\begin{aligned} f_\textrm{oc}(n) = (2n-1) \cdot \frac{a}{4l} \end{aligned}$$
(5)

Neglecting the damping of the system, the pressure in the first wave trough \(P_{1'}\) decreases by the same amount as \(P_1\) increases from \(P_0\). If the absolute value of \(\Delta P_1 = P_1-P_0\) is bigger than \(P_0-P_v\), the pressure behind the fluid hammer wave drops to \(P_v\) and cavitation occurs close the valve. This case is shown schematically in 3. A major difference to fluid hammer without cavitation is that the velocity behind the pressure wave \(v'\) is not reduced to zero but to

$$\begin{aligned} v'(t= 2l/a)=v_1= v - \frac{P_0-P_V}{\rho a}. \end{aligned}$$
(6)

The right term represents the decrease in flow velocity due to the pressure drop from \(P_0\) to \(P_V\). As shown in Fig. 3, the fluid hammer wave is oscillating between the reservoir and the cavity. The cavity acts as a boundary condition and the velocity \(v'(t)\) is reduced by \(2(P_0-P_V)/(\rho a)\) every time the wave is travelling through the pipe back and forth (2L/a). Consequently, at a certain point in time the flow direction changes towards the valve (Bergant et al. 2006). Wylie et al. (1993) used this behaviour to estimate the duration of the first cavity till it collapses, see Eq. 13.

Fig. 3
figure 3

Schematic of the fluid hammer oscillation in a pipeline while cavitation

Several forms of cavitation, depending mainly on the slope of the pipe and the resulting change in static pressure are presented by Zielke and Perko (1985) and has been adapted by Bergant et al. (2006). An increasing inclination towards the valve favours the occurrence of column separation, while no inclination at all leads to column separation close to the valve with distributed cavitation next to it (Bergant et al. 2006). Since the first meter upstream of the valve at the used test section is horizontal, it is important to know the density and speed of sound in an area containing a vapour–liquid mixture.

The density, as a function of void fraction \(\chi =V_g/V_m\), where \(V_g\) is the gas volume in proportion to the total volume of the mixture \(V_m\), the density in liquid phase \(\rho _l\) and in gaseous phase \(\rho _g\) is given by

$$\begin{aligned} \rho (\chi )=\rho _g\cdot \chi + (1-\chi )\cdot \rho _l \, . \end{aligned}$$
(7)

To calculate the speed of sound in a two-phase flow \(a_{2p}\), the Wood equation, presented by Wilson and Roy (2008) is used.

$$\begin{aligned} \frac{1}{a_{2p}^2}=\frac{(1-\mathcal {X})^2}{a_l^2}+\frac{\mathcal {X}^2}{a_g^2}+\mathcal {X}(1-\mathcal {X})\frac{\rho _g^2 a_g^2 + \rho _l^2 a_l^2}{\rho _l \rho _g a_l^2 a_g^2} \end{aligned}$$
(8)

Here, the speed of sound in liquid phase \(a_l\) and in gaseous phase \(a_g\) are taken into account.

The acoustic impedance is the product of the speed of sound a and the density \(\rho\),

$$\begin{aligned} Z=\rho \cdot a. \end{aligned}$$
(9)

A pressure wave moving through a fluid is reflected and transmitted when it hits a different medium or phase with different acoustic impedance. The reflection coefficient R for a wave travelling vertically from one medium to another is described by Skudrzyk (2012).

$$\begin{aligned} R=\frac{\zeta +1}{\zeta -1} \end{aligned}$$
(10)

The ratio of the acoustic impedances at the media interface is expressed by \(\zeta =Z_2/Z_1 = \rho _2c_2 / \rho _1c_1\).

The reflection coefficient R of a wave propagating from a liquid area to a two-phase area with the void fraction \(\chi\) is given in Fig. 4. In both fluids, R decreases from \(R(\chi =0)=0\) (liquid \(\rightarrow\) liquid) to \(R(\chi =1)=-1\) (liquid \(\rightarrow\) gas), with the sharpest decrease a the beginning. This effect is more prominent in H2O than in LN2.

Fig. 4
figure 4

Reflection coefficient R as a function of \(\chi\) for an acoustic wave propagating from a liquid into a two-phase region. Temperatures: \(T_\textrm{H2O} = 298 \, \textrm{K}\), \(T_\textrm{H2O} = 87\, \textrm{K}\)

The cavitation close to the valve replaces the valve as an acoustic boundary condition. Since \(R= -1\) indicates an open end boundary condition, the system is changing towards being open at both ends (oo) where the eigenfrequencies \(f_\textrm{oo}\) are calculated as follows:

$$\begin{aligned} f_\textrm{oo}(n) = n \cdot \frac{a}{2l} \end{aligned}$$
(11)

Comparing Eqs. 5 and 11 it becomes apparent that \(f_\textrm{oo}(n=1)\) is twice the frequency of \(f_\textrm{oc}(n=1)\) and the difference between the overtones \(\Delta f = f(n+1)-f(n)\) is the same: \(\Delta f_\textrm{oc} = \Delta f_\textrm{oo}\).

3 Fluid transient test facility

The Fluid Transient Test Facility (FTTF) was built in two configurations, both shown in Fig. 5. The water configuration (FTTF-1) is described in detail in the work of Traudt et al. (2016), the cryogenic configuration (FFTF-2) was built according to its design.

Fig. 5
figure 5

Fluid Transient Test Facility (FTTF): H2O configuration(left), LN2 configuration (right)

Both configurations include two similar pressurized tanks (HP and LP) connected by a pipeline (test section), all made of stainless steel of grade 1.4541. In both configurations gaseous nitrogen is used to pressurize the tanks. A Coriolis flow meter and a fast closing axial valve are used. The test section is equipped with three sensor positions (S1, S3, S2 or S4), each position contains a static pressure sensor (FTTF-1: Kistler 4043A-100, FTTF-2: Kulite CTL-190 S-2000A), a dynamic pressure sensor (Kistler 601) and a type K thermocouple.

The dynamic and static pressure sensors are mounted flush with the wall, the tip of the thermocouple is in the centre of the flow. The term dynamic refers to the behaviour of the sensor, which can only measure relative pressure changes. In the event of a permanent pressure change, the measured value falls back to zero over time.

The sampling frequency \(f_s\), the anti-aliasing frequency \(f_{AA}\) and range of the sensors are given in Table 1. Unless otherwise specified, the pressure values given are measurements with static pressure sensors: \(P_{S1..S4}\).

Table 1 Sensors of the test benches FTTF -1/2

The measurement chain is shown schematically in Fig. 6. Both, pressure and temperature signals are amplified and split by an AS4 - amplifier. The DAQ (data acquisition) system is responsible for saving the data, while the Werum system is used to control the test bench. The measurement error of the system is the sum of the sensor error, the amplifier error and the DAQ error. The DAQ error is \(<0.002 \%\), the amplifier error is \(0.5 \%\) and the pressure sensor error is \(<\pm 50\,\textrm{mbar}\). The error of the thermocouple depends on the temperature, it is \(\pm 2.5 \,\textrm{K}\) in cryogenic conditions and \(\pm 1.5 \,\textrm{K}\) at ambient temperature.

Fig. 6
figure 6

Fluid Transient Test Facility (FTTF): Measurement technique

Thanks to the experience gained with the FTTF-1, sensor positions for the FTTF-2 have been optimized. It was observed that the pressure signals at position S3 and S4 were very similar to each other, the use of both did not generate any added value. Therefore the sensors of position S4 were moved to position S2, which gives more insight on the pressure waves moving through the test section. Since both configurations use the same data acquisition system, the number of sensors is set.

Since the FTTF-2 is designed for cryogenic purposes, an adequate isolation must be ensured. Both tanks are enclosed by a jacket containing LN2 in saturation state at near ambient pressure to eliminate heat input from the environment into the tanks. The pressure in the jacket is slightly higher than ambient pressure due to the use of a check valve with an opening pressure of \(<0.3\,\textrm{mbar}\). The test section is a one and a half spiral inclined by \(0.62^\circ\) towards the valve. A vacuum isolation is used to reduce heat entrance from the environment. The valve of type Axius 1400 S is closing within \(\Delta t_\textrm{valve} =18\,\textrm{ms}\) and is located upstream of the Coriolis flow meter (Emerson CMF50M). Foam isolation is used to minimize the heat entrance into the valve.

The dimensions of the test bench are given in Table 2. The main difference between both configurations is the length of the pipe, the FTTF-2 pipe is \(1.62\,\textrm{m}\) longer than the FTTF-1 pipe, inner diameter and wall thickness are the same. To achieve good comparability between both configurations the relative sensor positions \(x_1/l\) and \(x_3/l\) are at similar positions in both configurations.

Table 2 Dimensions of the test bench FTTF -1/2

Several steps are required to chill down the test bench before starting with test activities, these steps are presented in the following:

Chill down

  • Purging of the tanks, Coriolis flow meter, valve and test section with gaseous nitrogen.

  • Filling of the jackets with LN2.

  • Filling of the LP tank with LN2.

  • Moving the fluid from the LP tank to the HP tank and back about 10 times to chill down the test section.

When the test bench is cold, each test follows the same procedure. Between tests the fluid is pumped from the HP tank towards the LP tank and back to ensure a homogeneous temperature in the test section.

Test procedure

  • Filling of the HP tank with LN2.

  • Closing the valve and pressurize both tanks to the desired pressure.

  • Open the valve to create a flow from the HP tank towards the LP tank.

  • Stop the flow by closing the valve rapidly after a stationary flow has formed.

  • Measure the fluid hammer in the test section until the oscillation has subsided.

4 Experimental results

Two datasets were created to compare H2O and LN2 fluid hammer. Both sets are divided into cases with cavitation and reference cases without cavitation. The amount of test cases and the pressure, and temperature range before valve clothing can be found in Table 3. Subsets of the datasets have been used in previous work, the H2O set in reference (Klein et al. 2018, 2019, 2020) and the LN2 set in reference (Klein et al. 2021).

Table 3 Datasets: H2O & LN2

Six test cases are used in this work as examples. Their boundary conditions at valve closure \(t_0=0\, \textrm{ms}\) are listed in Table 4.

Table 4 Boundary conditions of all test cases presented

Two LN2 test cases, one without cavitation (case A), one with cavitation (case B) are presented in detail. First, an overview of the most important parameters over the entire sequence period for test case B is given in Fig. 7. Then, the pressure readings in the test section (\(P_{S1}\), \(P_{S2}\), \(P_{S3}\)) after valve closure are displayed in Figs. 8 and 9.

Mass flow \(\dot{m}\), Temperature \(T_{S1}\) and the pressure in both vessel (\(P_\textrm{HP}\), \(P_\textrm{LP}\)) and at position S1 (\(P_{S1}\)) are presented from the initial valve opening \(t=-10\,\textrm{s}\) till the end of measurement at \(t=4.5 \, \textrm{s}\). The pressure traces, the temperature \(T_{S1}\) and \(\dot{m}\) reach a stationary level \(2 \, \textrm{s}\) after valve opening. The valve is closed at \(t=0\,\textrm{s}\) and the fluid hammer occurs.

Fig. 7
figure 7

LN2 - case B: Overview

The pressure traces (\(P_{S1}\), \(P_{S2}\), \(P_{S3}\)) of a non-cavitation test (case A) are presented in Fig. 8. A damped pressure oscillation can be seen at all three sensor positions. The pressure before valve closing at sensor position S1 is \(P_0\), the pressure peaks are labelled as \(P_1,\,P_2\ldots\,P_n\) at the corresponding time \(t_1,t_2..t_n\). Negative pressure peaks at the wave troughs are named \(P_{1'},P_{2'}..P_{n'}\) at time \(t_{1'},t_{2'}..t_{n'}\). The time between each peak is given by \(\Delta t_i=t_{i+1}-t_i\), while the amplitude is given by \(\Delta P_i = P_i-P_0\).

A detailed look at the fluid hammer pressure traces from case B is given in Fig. 9. The periods of wave troughs with cavitation are longer than the ones without and \(\Delta t_1 > \Delta t_2\). Ideally, \(P_{S1}\) would remain at the level of the vapour pressure during the occurrence of cavitation, however, an increase in \(P_{S1}\) is observed at the end of the cavitation valley. The pressure peaks in the first cavitation valley in \(P_{S1}\) and the pressure oscillations in \(P_{S2}\) and \(P_{S3}\) will be analysed in chapter 5. After the last valley with cavitation, a harmonic damped oscillation can be seen, comparable to case A (Fig. 8). The beginning of the harmonic oscillation is defined as the first pressure peak \(P_n\) after which the vapour pressure in the prior valley is no longer undershot.

Fig. 8
figure 8

LN2 - case A: Pressure traces of a fluid hammer without cavitation

Fig. 9
figure 9

LN2 - case B: Pressure traces of a fluid hammer with cavitation

4.1 Reproducibility

As the test bench has to be chilled down again every test day, achieving test reproducibility is an important challenge in order to obtain valid information. Therefore several tests have been repeated at two different test days to verify the procedures mentioned in chapter 3. The results of one of these repeated tests (cases C & D) are shown as an example in Fig. 10. The main input parameters at valve closing are presented in Table 4.

Fig. 10
figure 10

LN2: Repeating the same experiment on two test days to show reproducibility

Since the closing of the valve always varies by a few milliseconds, the pressure curves are shifted in time as if the valve opening would have happened at the same time. \(P_0\) of both tests is around \(8.6\,\textrm{bar}\) and both tests reach a maximum pressure of around \(P_1 =46\,\textrm{bar}\). Both cases show a very similar behaviour, especially the good agreement of the pressure waves during cavitation should be emphasized.

First, the pressure in the first wave trough is almost constant, after about \(27\,\textrm{ms}\) a sharp pressure peak can be observed. The second pressure peak, approximately \(27\,\textrm{ms}\) after the first one is only faintly visible, because more and more pressure fluctuations occur at the end of the cavitation valley. This time period is as large as the width of the first pressure peak of the fluid hammer wave.

A comparison of \(P_{S1}\) in both fluids is given in Fig. 11. The amplitudes are comparable to each other. With respect to the different size of \(\rho a\) (see Fig. 2), \(v_0\) of case B is about twice as large as in case E. Although the frequencies of the test cases differ, due to differences in a and l, the decrease in amplitude is comparable. While cavitation, the pressure drops on vapour pressure, which is significantly lower in H2O than in LN2. When comparing the measured pressure during cavitation with the vapour pressure, it must be noted that the measured pressure is subject to measurement error and the vapour pressure is calculated based on a measured temperature. Temperature measurement is also affected by measurement error, which is greater in a cryogenic environment than at ambient temperature. During this period, the pressure is nearly constant in H2O with a clearly defined beginning and ending. In LN2, on the other hand, pressure fluctuations were observed and the pressure in both cavitation valleys rises towards the end.

Fig. 11
figure 11

H2O/LN2: Pressure traces at position S1

4.1.1 Pressure losses

To determine the pressure loss of the pipeline as a function of the flow velocity, the pressure at position S3 (LN2) \(P_{0,S3}\), respectively, S4 (H2O) \(P_{0,S4}\) is measured and compared to the pressure at position S1 \(P_{0,S1}\). All values are measured right before valve closure (\(t_0 =0\, \textrm{ms}\)). These pressure differences versus the associated \(v_0\) are given in Fig. 12, where each data point represents an individual test case.

The relationship between pressure loss and \(v_0\) is expressed by a first grade polynomial fit function \(f(v_0)=k_1\cdot v_0^2\), the fitting parameter \(k_1\) and \(r^2\) are given in Table 5. Since these pressure sensors does not cover the whole length l, the factor \(k_2\) is added, which is the ratio between the distance between sensor positions and the length of the test section:

$$\begin{aligned} \Delta P_\textrm{loss} = (k_1\cdot v_0^2) \cdot \frac{l}{x_{3;4}-x_1} =(k_1\cdot v_0^2) \cdot k_2 \end{aligned}$$
(12)
Fig. 12
figure 12

H2O/LN2: Pressure losses in stationary flow, before valve closure

Table 5 Fit parameters \(k_1,k_2\) and coefficient of determination \(r^2\)

4.2 Comparison to theoretical solutions

In this chapter the experimental data sets will be compared with theoretical solutions from chapter 2.

4.2.1 Joukowsky

First, the measured amplitude \(\Delta P_1\) is compared to the Joukowsky pressure \(\Delta P_{Jou}\), shown in Eq. 1. The ratio \(\Delta P_1/P_{Jou}\) over \(P_0\) is presented for H2O and LN2 in Fig. 13. For both substances most cases show a good agreement with the Joukowsky pressure: \(\Delta P_1/P_{Jou} > 0.9\). While for H2O no dependency on \(P_0\) was observed, for LN2 it can be seen that the agreement with the Joukowsky pressure decreases for small \(P_0\).

Fig. 13
figure 13

H2O/LN2: Comparison of the measured first pressure peak with the Joukowsky pressure

4.2.2 Frequency

Next, the frequency of the harmonic oscillation is compared to the theoretical solution from Eq. 5. The speed of sound a for both fluids is calculated using Eq. 2. For reference cases without the occurrence of cavitation, a FFT was applied on the entire pressure signal. The most excited frequency \(f_\textrm{exp}\) is compared with the theoretical solution \(f_1\) from Eq. 4. Test cases with the occurrence of cavitation are analysed the same way, with the restriction that only the harmonic part after a threshold of \(100 \, \textrm{ms}\) of the signal is taken into account (see Fig. 9). Only test cases with an amplitude of more than \(10 \%\) of the terminal pressure are considered for this analysis.

In Fig. 14, the deviation from the analytical eigenfrequency in water experiments is shown in a histograms with a bin width of \(2.5 \%\). The reference test cases are presented in Fig. 14a. The vast majority of all measured frequencies show a matching of \(95-97.5 \%\) of the calculated value. In Fig. 14b, test cases with occurrence of cavitation are shown. The deviation of measured frequencies from the theoretical frequency is much wider in comparison to the reference cases.

Fig. 14
figure 14

H2O: Ratio of the measured frequency \(f_\textrm{exp}\) to the calculated frequency \(f_{1}\). a Reference test cases without cavitation. b Test cases with occurrence of cavitation

Figure 15 shows the distribution from the theoretical frequency for tests performed with LN2. The deviation of the measured frequency in reference cases in LN2 is much broader than in H2O tests. Most measured frequencies \(f_\textrm{exp}\) are \(92.5-95 \%\) of \(f_1\). In the test cases with cavitation, an exponential distribution of \(f_\textrm{exp}/f_1\) can be seen, with the maximum at \(0.9 - 0.925 \%\).

A possible explanation for this deviation is a reduction of the speed of sound, which could be caused by the presence of gas or vapour. Dissolved gas is released from a fluid as a result of pressure drop within milliseconds, but gas absorption is in order of minutes (Bergant et al. 2006). For H2O experiments, which are pressurized by gaseous nitrogen, it is likely that a small amount of dissolved gas remains in the fluid. To ensure the same amount of gas on each test day, the fluid was stored over night at \(1 \,\textrm{bar}\). This dissolved gas is released during pressure oscillations and is then lowering the speed of sound of the fluid. Since liquid nitrogen is pressurized with gaseous nitrogen, this effect is excluded as a possible cause. The purity of the used LN2 is given with \(\ge 99.999 \%\).

Fig. 15
figure 15

LN2: Ratio of the measured frequency \(f_\textrm{exp}\) to the calculated frequency \(f_{1}\). a Reference test cases without cavitation. b Test cases with occurrence of cavitation

4.2.3 Cavitation duration

To analyse the duration of the first cavitation valley \(\Delta t_{c}\), start time and end time of the cavitation duration must be specified. The start time is set at the moment when \(P_{S1}\) crosses \(P_{S3}\) for the first time after first pressure peak. Analogously, the end time is set as the moment at which \(P_{S1}\) crosses \(P_{S3}\) before the second pressure peak. Start and end time of case B are marked in Fig. 9. The length of the first cavitation valley is compared to the estimated cavitation time \(\Delta t_{c}\) by Wylie et al. (1993) which is given in Eq. 13.

$$\begin{aligned} \Delta t_{c}=A_\textrm{rel} \cdot \frac{2l}{a}=\frac{P_1-P_0}{P_0-P_v} \cdot \frac{2l}{a} \end{aligned}$$
(13)

According to Wylie et al. (1993), the duration of cavitation is the time needed by the pressure wave to travel back a fourth through the pipe (2l/a) multiplied with the relative amplitude \(A_\textrm{rel}\), which is the ratio between the fluid hammer pressure rise \(\Delta P_1 =P_1 - P_0\) and the pressure difference \(P_0-P_v\).

A different method to estimate the cavitation duration and expansion is to solve differential equations for the movement of the liquid column in the pipeline (Prasser et al. 1998). For this purpose, it is assumed that the cavitation zone fills the whole cross section of the pipe and has a sharp border with the liquid column, where compressibility effects are neglected. The left side of Eq. 14 is the movement of the liquid column, \(x_c\) is the spatial expansion of the cavitation zone. The back pressure of the tank HP is given by \(P_\textrm{HP}\) and the pressure losses \(\Delta P_\textrm{loss}\) are experimentally determined, see Fig. 12. The reduced friction due to change of the length of the fluid column is taken into account by multiplying \(\Delta P_\textrm{loss}\) with \((l-x_c)/l\).

$$\begin{aligned} \rho _l \cdot (l-x_c) \cdot \frac{\textrm{d}v}{\textrm{d}t} = P_v - P_\textrm{HP} - \Delta P_\textrm{loss} \cdot \frac{l-x_c}{l} \end{aligned}$$
(14)

The spatial expansion \(x_c\) can be calculated by integrating the flow velocity v over time t.

$$\begin{aligned} x_c = \int _{0}^{t} v \cdot \textrm{d}t \end{aligned}$$
(15)

To solve these equations, initial conditions for \(x_c\) and v must be set. The calculation starts at the moment when the rarefaction wave leaves the valve in the direction of the tank, therefore: \(x_c(t=0)=0\) and \(v(t=0)=v_1\) (see Eq. 6).

The result for case E are shown in Fig. 16, respectively, for case B in Fig. 17. Besides \(x_c\), the pressure traces \(P_{S1}\) and \(P_\textrm{HP}\) are displayed. In both test cases \(x_c\) has a parabolic form and a maximum expansion of \(\approx 13\,\textrm{cm}\). The calculation is stopped when \(x_c\) reaches negative values, consequently the modelled lifespan of the cavitation \(\Delta t_\textrm{c,model}\) is the whole calculation period. In both cases the duration is overestimated by the model.

Since the input parameters \(P_v\) and \(P_\textrm{HP}\) are measured values, the measurement errors \(\Delta P_\textrm{error}\), \(\Delta T_\textrm{error}\) must be taken into consideration. To calculate the minimal gas expansion \(x_c(\mathrm min)\), \(P_v\) is calculated at \(T_0 -\Delta T_\textrm{error}\) and the tank pressure is \(P_\textrm{HP}+\Delta P_\textrm{error}\). The maximum expansion \(x_c(\mathrm max)\) is calculated vice versa.

Fig. 16
figure 16

H2O case E: Spatial expansion of the gaseous area

Fig. 17
figure 17

LN2 case B: Spatial expansion of the gaseous area

The estimated cavitation durations by the methods of Wylie et al. (1993) and Prasser et al. (1998) are compared to experimental data, the results are shown in Fig. 18. The measurement errors \(\Delta P_\textrm{error}\), \(\Delta T_\textrm{error}\) are also considered for the Wylie method. In general, the prediction with the Prasser method is more accurate than the prediction with the Wylie method. \(\Delta t_\textrm{c,model}/\Delta t_\textrm{c,exp}\) in both fluids is increasing with increasing \(v_1\) and the cavitation duration is overestimated up to factor 2. A better match is achieved with the Prasser model, in H2O the model approaches a value of \(\Delta t_\textrm{c,model}/\Delta t_\textrm{c,exp}=1.3\) for increasing \(v_1\). In LN2 it can be seen that the matching is nearly perfect for increasing \(v_1\). Furthermore, it must be emphasized that the error decreases for increasing \(v_1\). In H2O, there is a group of outliers where the duration is predicted to be much longer compared to the experimental data. The reason for this behaviour remains unclear but these are the data of one test day. At low \(v_1\), large downward deviations are observed in both fluids. These low initial flow velocities are only possible if \(P_v\) is only slightly undershot. Therefore it is possible that in these cases column separation is not formed.

The formulation of the Prasser model used in this analysis did not cover any unsteady friction effects. The implementation of this term in future work could enhance the accuracy of the model.

Fig. 18
figure 18

H2O, LN2: Agreement of the models with experimental data

As shown in Fig. 2, \(\rho a\) is much bigger in H2O than in LN2, therefore v has to be higher in LN2 in order to create comparable \(\Delta P_1\). High flow velocity requires big pressure difference between both tanks, which results in higher \(P_0\). This effect reduces \(A_{rel}\) in LN2 cases, however \(P_V\) is much higher in LN2 than in H2O, which decreases \(\Delta P_{1'}\) and leads to increasing \(A_\textrm{rel}\).

4.2.4 Attenuation

Since the fluid hammer is a damped harmonic oscillation, another parameter of interest is the decay constant \(\delta\). It is calculated for the reference test cases and the harmonic part of the cavitation test cases. Independently of the fluid hammer, the valve closure results in a pressure rise to \(P_{HP}\) in the pipeline. To separate the attenuation of the fluid hammer from this effect \(P_{HP}\) must be subtracted from \(P_{S1}\): \(\hat{P} = P_{S1}-P_{HP}\). The pressure trace \(\hat{P}\) is then shifted in time, so that first pressure peak of the harmonic oscillation is at \(t=0\, \textrm{ms}\). The quality of the fit is given by \(r^2\), which is \(r^2> 95\%\) in \(96\%\) of test cases in both fluids. For case B, the results of this method are shown in Fig. 19.

Fig. 19
figure 19

LN2 - case B: Exponential fit of the harmonic part of the oscillation

The results for H2O and LN2 are given in Fig. 20. The decay constants for both fluids appear to be in the same order of magnitude. In H2O \(\delta\) is increasing with increasing \(P_0\) for non-cavitation cases. The scattering of \(\delta\) in cavitation cases is decreasing with increasing \(P_0\). The scatter of the LN2 cavitation cases is even bigger than for H2O. In contrast to water, \(\delta\) varies strongly, even for test cases without cavitation.

Fig. 20
figure 20

H2O, LN2: Decay constant

5 Cavitation as an acoustic boundary condition

The occurrence of cavitation close to the valve leads to a local reduction of the density and speed of sound and therefore to a reduced acoustic impedance in this area. As shown in Fig. 4, the reflection coefficient approaches \(R = -1\) with increasing \(\chi\). In previous work with H2O it was shown that it is likely for the cavitation to act as an open end boundary condition but the pressure wave could not be tracked directly (Klein et al. 2020). The presented experimental water data deviated from the theory presented in Fig. 3.

To compare the acoustic behaviour in LN2 with that in H2O, the method used by Klein et al. (2020) is applied to the LN2 data set. The following is a brief explanation of the method, a more detailed explanation can be found in Klein et al. (2020).

Method

  • Select only test cases with \(\Delta t_{c} \ge 100 \textrm{ms}\).

  • Analyse pressure signals in the liquid part at sensor positions S2, S3 during first cavitation valley: \(P_{S2}\), \(P_{S3}\)

  • Perform FFT from \(P_{S2}\) and \(P_{S3}\) and get the three most excited frequencies.

  • Display these frequencies in an histogram with a bin width of \(\Delta f_{bin}=10\, \textrm{Hz}\). This bin width is chosen, since the resolution of the FFT is the reciprocal of the sample length: \(\Delta f_\textrm{bin} = 1/\Delta t_{c}\).

  • The fit function is the sum of n Gauss functions: \(g_\textrm{fit}(f)=\sum _\mathrm{i=1}^n g_i(f)\), where n is the number of modes.

Since the speed of sound and thus the eigenfrequencies vary from test case to test case, the measured frequencies are normalized to \(f_{o/o}(1)\) (Eq. 11), which is calculated individually for each test. When using this normalization the bin width must be adjusted. Considering \(f_{o/o}(1) \approx 40 \, \textrm{Hz}\), the adjusted bin width is 0.25.

The results of this method are presented in Fig. 21 (S3) and Fig. 22 (S2). In Fig. 21, the 0.75 - 1 bin and the 1.75 - 2 are the two largest bins. The maxima of the Gaussian fit functions \(\textrm{max}(g_1(f))=0.93\) and \(\textrm{max}(g_2(f))=1.79\) are close to 1, respectively 2, which is a well matching with \(f_{o/o}(i)\).

In Fig. 22, the three bins with the highest count are in the range \(0.75 - 1.25\). The Gaussian fit functions maximum is determined to \(\textrm{max}(g_\textrm{fit})=0.79\). Considering the bin width of 0.25, this is a good matching with the first eigenfrequency of the pipe open at both ends.

Fig. 21
figure 21

LN2, S3: Most excited frequencies during first cavitation valley

Fig. 22
figure 22

LN2, S2: Most excited frequencies during first cavitation valley

The difference between both histograms can be explained by regarding Fig. 23, where a standing wave and its overtones in a tube open at both ends are shown. For a better overview, the amplitude of the respective mode is given by \(Amp. = 1/n\), where n is the mode number. The relative sensor positions S2 and S3 (FTTF-2) are given. While S3 is far away from any pressure node, S2 is close to the centre pressure node of the second eigenmode. This explains why only the first eigenmode is visible in Fig. 22, while the first two eigenmodes appear in Fig. 21.

Fig. 23
figure 23

Standing wave in a tube open at both ends and relative sensor Positions S2 and S3 of the FTTF-2

In Fig. 24, the first valley of cavitation is shown exemplary for test cases B and F. The pressure traces \(P_\mathrm{S1-S4,dyn}\), are created by using the dynamic pressure sensors. Since these sensors are only able to measure relative pressure changes, \(P_0\) at the corresponding position is added to the measured signal. The dynamic pressure sensor \(P_\textrm{S3,dyn}\) in case B was not working, therefore \(P_{S3}\) is plotted instead. While in H2O more high-frequency features are visible with help of the dynamic pressure sensors, this difference does not appear in LN2. The pressure curves at position S1 look different in both cases while occurrence of cavitation. In H2O the pressure is nearly constant during the pressure valley, only a few bumps and a randomly appearing pressure peak can be seen in the second half. Two pressure peaks at position S1 occur in LN2 while cavitation, the distance between these peaks is approximately \(27 \, \textrm{ms}\), which coincides well with \(f_{1,o/o}\). The pressure traces \(P_\textrm{S3,dyn}\) and \(P_\textrm{S4,dyn}\) in H2O are very noisy in contrast to \(P_{S2,dyn}\) and \(P_{S3,dyn}\) in LN2. As pointed out by Klein et al. (2020) the noise in H2O is around an order of magnitude larger in H2O than in LN2.

It is possible to observe the pressure wave in LN2 oscillating between the cavity and the tank directly. \(P_\textrm{S3,dyn}\) shows negative pressure peaks, which are alternating with the pressure peaks in \(P_\textrm{S1,dyn}\). The pressure curve \(P_\textrm{S2,dyn}\) separates these two types of peaks from each other, which make it easy to observe the pressure wave in the pipeline. As shown in Fig. 1, the high-pressure wave is changed to a low pressure wave when it hits the valve, which is a closed end boundary condition. Since the cavity replaces the boundary condition, this transformation does not happen and the pressure wave is oscillating between \(P_0\) and \(P_v\), which is a good agreement with the theory presented in Fig. 3.

In contrast, the pressure wave in the liquid part in H2O is oscillating at high frequency around \(P_0\). This observation suggests that the cavitation in LN2 forms a more stable acoustic boundary condition than cavitation in H2O.

Fig. 24
figure 24

H2O/LN2: Pressure traces of tests with cavitation. The first cavitation valley is marked

While in H2O it was only possible to find open/open frequencies statistically (Klein et al. 2020), in LN2 these frequencies were also found statistically and the fluid hammer wave during cavitation was observed directly. Combining the findings from the histograms (Figs. 21 and 22), the standing wave (Fig. 23) and the wave tracking (Fig. 24), it is most likely that in LN2 a superposition of the fluid hammer wave, oscillating between the tank and the cavitation, and a standing wave with the frequency \(f_{o/o}(2)\) in the liquid part is present.

6 Summary and outlook

Multiple fluid hammer experiments with H2O and LN2 were performed at the FTTF at DLR Lampoldshausen. The results of these experiments were presented and compared to each other. Firstly the agreement with the Joukowsky pressure was shown for a wide range of static pressure for both fluids. Then the influence from cavitation on the frequency was investigated. It has been found that the occurrence of cavitation lowers the frequency of the pressure oscillation in both fluids after the cavitation disappeared. The cavitation duration were measured and compared with the estimations of Wylie et al. (1993) and Prasser et al. (1998). While the measurements in both fluids were below the prediction of Wylie et al. (1993), the prediction of Prasser et al. (1998) was found to be more accurate.

It was shown statistically that the cavitation in LN2 acts as an open end boundary condition, which confirms the results from Klein et al. (2020) made with H2O. Furthermore the pressure wave in LN2, unlike in H2O, was tracked directly and showed good agreement with theory. Since a standing wave was found with the use of histograms, it is suspected that in LN2 a superposition of the fluid hammer wave oscillating between the cavitation and the valve and a standing wave in the liquid part is present.

In future experiments an optical access will be installed close to the valve, so that the flow structure during the cavitation growth can be observed using a high speed camera and the nature of the observed reproducible pressure oscillations during the period of cavitation can be clarified.