Frequency-dependent friction in pipelines*
Jiang Dana)†, Li Song-Jingb), Yang Pinga), Zhao Tian-Yanga)
School of Mechatronics Engineering, University of Electronic Science and Technology of China, Chengdu 611731, China
School of Mechatronics Engineering, Harbin Institute of Technology, Harbin 150001, China

Corresponding author. E-mail: jdan2002@uestc.edu.cn

*Project supported by the National Science Fund for Distinguished Young Scholars of China (Grant No. 51205045) and the Fundamental Research Funds for the Central Universities, China (Grant No. ZYGX2011J083).

Abstract

A comprehensive study of modeling the frequency-dependent friction in a pipeline during pressure transients following a sudden cut-off of the flow is presented. A new method using genetic algorithms (GAs) for parameter identification of the weighting function coefficients of the frequency-dependent friction model is described. The number of weighting terms required in the friction model is obtained. Comparisons between simulation results and experimental data of transient pressure pulsations close to the valve in horizontal upstream and downstream pipelines are carried out respectively. The validity of the parameter identification method for weighting function coefficients and the calculation method for the number of weighting terms in the friction model is confirmed.

Keyword: 47.27.nf; 47.85.Dh; frequency-dependent friction; pipeline; pressure transients; weighting function
1. Introduction

During pressure transients with high viscosity fluid in a pipeline, the frictional shear force is relevant to the fluid pulsation frequency. When a mathematical model of transient pressure pulsations is based solely on the steady state friction, which is calculated by the Darcy– Weisbach equation, the simulation results of the pressure pulsations cannot agree well with the experimental results. For an accurate assessment of performance and as an aid to the design of hydraulic pipelines and systems, it is significant to study the mathematical model accompanying steady state and dynamic frictional force items.

In the case of laminar flow, Zielke[1] acquired the frequency-dependent friction item, which is described as a weighting function by using the Laplace transform and solving the Bessel equation. However, the applied mathematical integration requires a large amount of computer memory, which greatly affects the solution speed. Hirose[2] made progress in developing a relationship for the turbulent flow with frequency-dependent friction. Suzuki[3] and Schohl[4] proposed an improved method for simulating the frequency-dependent friction in a transient laminar flow. Vardy and Brown[57] extended the model derived by Zielke to turbulent smooth pipeline flows with low and high Reynolds numbers, respectively. Moreover, the transient turbulent friction in fully-rough pipe flows was studied. Johnston[8] presented the idea that the friction item should be concentrated and calculated on the top end of each pipeline to improve the calculation efficiency. Ví tkovský [9] discussed the numerical errors that occur when using the weighting function for the simulation of unsteady friction in pipe transients. Herrmann[10] used a three-dimensional (3D) finite element model to simulate the transient pipeline pulsation in which the frequency-dependent friction item includes friction effects near the pipe wall. Ferrari[11] studied the dynamic friction item accompanying cavitation in a pipeline.

Cai[12] from Zhejiang University applied the method to solve the minimal value of nonlinear square integration and used the approximate function of the first-order inertia item in the frequency domain to obtain an approximate model of the friction item. In the analysis of vibrations caused by the fluid-structure interaction in a pipeline system, Jiao[13] from Beihang University took the effect of the frequency-dependent frictional item into consideration, which leads to an improvement in simulation accuracy. Until now, the modeling of friction in pipelines has been studied by a number of authors but still presents a significant challenge. The lack of appropriate coefficients and number of weighting terms in the weighting function of the frequency-dependent frictional item adds to the difficulty.

In order to predict the friction effect on pulsations in pipeline pressure transients, an analytical function and an approximate weighting function of the frequency-dependent friction are obtained. The analysis of the amplitude-frequency and phase-frequency characteristics of three weighting terms for Trikha, ten weighting terms for Kagama, and four weighting terms for Taylor is given. In this paper, by using genetic algorithms to identify the parameter of the weighting function in the frictional item, the calculation method of the number of weighting terms in the weighting function is presented. The proposed method is suitable not only for studying the dynamic friction item in the case of an oil-hydraulic pipeline, but also for the study of the frictional shear force with other high viscosity fluids in pipelines.

2. Mathematical models
2.1. Basic equations of transient pipeline flow

The study is conducted to predict the fluid transients in a system comprised of a horizontally-mounted pipe of constant cross-sectional area, in which a fluid is initially flowing at a constant velocity. One tested pipe is taken to be connected to an upstream tank and a downstream tank, and a shut-off valve is mounted in the middle of the pipeline, as shown in Fig. 1.

Fig. 1. Tank– pipeline– valve system.

A mathematical model for pressure and flow transients following a rapid closure of the valve (as illustrated in Fig. 1) is presented, in which models of the friction item are incorporated. Based on the principle of fluid dynamics, the basic equations applied to simulate the transient pipeline flow can be obtained from the continuity equation and the motion equation.[14, 15] The continuity equation is

The motion equation is

Here, c0 is the acoustic velocity of the liquid medium; p and q are the transient pressure and flow rate at some point along the pipeline, respectively; t is the time variable; x is the space variable; ρ is the density of the fluid; r is the inner radius of the pipeline; F(q) is the friction item; g is the gravitational acceleration; and θ 0 is the angle between the pipeline and the horizon.

2.2. Model of friction item

In Eq. (2), the friction item F(q) can be described as the sum of steady state friction item F0 and frequency-dependent unsteady friction item Ff,

By using the Fourier transform, the friction item F(q) can be written as

where μ is the dynamic viscosity of the fluid; J0 and J1 are the zero-order and the first-order Bessel functions, respectively; and λ is given by

with ν being the kinematic viscosity of the fluid, ω the angular frequency, and γ a dimensionless frequency, which is given as

In the case of laminar flow, the steady friction item F0 in Eq. (3) can be calculated as

The frequency-dependent friction item Ff can be described as

where H(s) is the analytical model of the frequency-dependent friction item

The analytical model of the frequency-dependent friction item contains Bessel functions, which leads to complex calculations and inconvenience in operation.[12] In order to simulate the pressure transients accompanying the friction in pipelines, a model is presented here which attempts to capture the key features but without being unduly complex. The approximate model Happ(s) can be described as the sum of a list of weighting terms,

where ni and mi are coefficients of the weighting function; and k is the number of weighting terms.

3. Coefficients of the weighting function
3.1. Three weighting terms for Trikha

Trikha proposed three exponent weighting items to approximate the frequency-dependent friction items.[16] The coefficients of the three weighting terms are listed in Table 1. The amplitude-frequency and phase-frequency characteristics of each weighting term are illustrated in Fig. 2. The x coordinate is dimensionless frequency γ . It can be seen from Fig. 2 that each weighting function of the frequency-dependent friction item is similar to a first-order high-pass filter.

Fig. 2. Frequency characteristics of each weighting term for Trikha: (a) amplitude, (b) phase.

Table 1. Coefficients of three weighting terms for Trikha.

Comparisons of the frequency characteristics between approximate model Happ(s) (the dashed line) and analytical model H(s) (the solid line) are shown in Fig. 3. Here the y coordinate is the absolute value | Happ(s)| and | H(s)| . It can be obtained from Fig. 3 that the analytical model of the dynamic friction item, H(s), varies with the slope + 10 dB/dec, and in the higher frequency section, the phase angle is approximately 45° . The approximate model agrees with the analytical model H(s) in the low-frequency section when the dimensionless frequency γ is below 50; while the difference between Happ(s) and H(s) is obvious as the dimensionless frequency γ increases.

Fig. 3. Comparisons of frequency characteristics between H(s) and Happ(s) from Trikha’ s model: (a) amplitude, (b) phase.

The biggest advantage of this method lies in that only the calculation result of the previous moment is stored without all integral results, which can greatly reduce the computer memory required and the calculation time. However, the iterative algorithm with an explicit increment of the flow rate at the moment still requires a large amount of computation time.

3.2. Ten weighting terms for Kagama

Kagama tried to reduce the error caused by using Trikha’ s model and used an approximate model with ten weighting terms instead.[17] The coefficients of the ten weighting terms are listed in Table 2. Figure 4 shows the frequency characteristics of individual weighting terms. Comparisons of frequency characteristics between approximate model Happ(s) (the dashed line) and analytical model H(s) (the solid line) are shown in Fig. 5. It can be seen from Fig. 5 that the approximate model agrees with the analytical model H(s) in the low-frequency section when the dimensionless frequency γ is below 2000; while the difference between Happ(s) and H(s) is still obvious in the high-frequency section.

Fig. 4. Frequency characteristics of each weighting term for Kagama: (a) amplitude, (b) phase.

Fig. 5. Comparisons of frequency characteristics between H(s) and Happ(s) from Kagama’ s model: (a) amplitude, (b) phase.

Table 2. Coefficients of ten weighting terms for Kagama.

The approximate model proposed by Kagama has some improvements over Trikha’ s model. It has the characteristics of rapid solving speed and high accuracy. However, owing to a large number of items and a relatively close interval between the weighting functions in Kagama’ s approximate model, it is inconvenient for applications.[12]

3.3. Four weighting terms for Taylor

Taylor optimized the coefficients of Trikha’ s model and proposed an approximate model with four exponent weighting terms.[18] The coefficients are listed in Table 3. Frequency characteristics of individual weighting terms for Taylor are illustrated in Fig. 6. Comparisons of frequency characteristics between approximate model Happ(s) (the dashed line) and analytical model H(s) (the solid line) are shown in Fig. 7. It can be seen from Fig. 7 that the approximate model agrees with the analytical model H(s) in the low-frequency section when the dimensionless frequency γ is below 5000; while the difference between Happ(s) and H(s) is obvious in the higher frequency section.

Fig. 6. Frequency characteristics of each weighting term for Taylor: (a) amplitude, (b) phase.

Fig. 7. Comparisons of frequency characteristics between H(s) and Happ(s) from Taylor’ s model: (a) amplitude, (b) phase.

Table 3. Coefficients of four weighting terms for Taylor.
3.4. Parameter identification of coefficients of weighting function using GAs

From those preliminary studies, it can be observed that coefficients of each weighting function have the relationship of geometric series,

In order to predict more accurately the effect of the friction item on pressure transients inside pipelines, a new method using genetic algorithms (GAs) for parameter identification is described. Moreover, Li[19, 20] has used GAs in parameter identification for a gas bubble model of low pressure oil-hydraulic pipelines.

Here four parameters of the approximate model of the frequency-dependent friction item need to be identified, including α , β , m1, and n1. For the optimization procedure, it is assumed that α , β , n1 ∈ [1, 100], m1 ∈ [0.1, 10] according to the weighting function coefficients obtained from the above three models. Each parameter is binary encoded, and the selection method of the best fit parameter is based on roulette.

The fitness function f of genetic algorithms is described as the sum of the least-square errors of amplitude-frequency and phase-frequency characteristics between approximate model Happ(s) and analytical model H(s),

where

In the genetic algorithms, the number of generations is 1000 and the population size of each generation is 100 in this paper. The crossover probability is 0.4 and the mutation probability is 0.005. Here the number of weighting terms k is set to be 7. The sensitivity of the predictions to the number of weighting terms selected will be considered later.

The aim is to perform a global search to obtain optimal parameters suitable for friction modeling. The identified results of four parameters are listed in Table 4.

Table 4. Identified parameters of the model.

The comparison between analytical model H(s) (the solid line) and approximate model Happ(s) after identifying (the dashed line) is shown in Fig. 8. As can be seen, there is a good agreement between the two models in amplitude-frequency and phase-frequency characteristics, especially in the high frequency section.

Fig. 8. Frequency characteristics of H(s) and Happ(s) with identified parameters (k = 7): (a) amplitude, (b) phase.

4. Number of weighting terms

The number of weighting terms k is determined by simulation time step Δ t. The time constant of this first-order high-pass filter, τ i, in Eq. (10) is larger than the simulation time step,

By utilizing Eq. (12), equation (16) may be written as

Taking the logarithm on both sides of Eq. (17) yields

Thus, the number of weighting terms can be expressed as

5. Transient pressure pulsations in pipelines

The aim is to predict transient pressure pulsations with steady state and frequency-dependent friction, following the instantaneous closure of the valve in upstream and downstream pipelines, respectively.

5.1. Transient pressure pulsations in downstream pipeline

The parameters of the tested downstream pipeline obtained from Ref. [21] are listed in Table 5 and oil is the working fluid.

Table 5. Parameters of the tested downstream pipeline.

The number of weighting terms is determined by Eq. (19). The downstream of the pipeline is divided into N elements of equal length (N is 200), the simulation time step can be calculated from

By utilizing Eq. (16), the time constants of the first-order high-pass filter can be presented as

In the same way, the number of weighting terms can be acquired via Eq. (19) as

Hence, for the parameters of the downstream section of the pipeline, the number of weighting terms k is equal to 2.

Based on the mathematical model of transient pressure pulsations (shown in Eqs. (1) and (2)), the relevant simulation study on transient pressure pulsations in the downstream section of the pipeline is carried out using the finite difference method and the Matlab/Simulink platform. The flow rate and pressure in N elements along the pipeline are presented as vectors. According to the boundary condition, the flow rate in the element close to the valve is set to zero and the pressure in the element close to the tank is constant. See more technical details in Ref. [22].

The simulation parameters are also given in Table 5. The initial pressure close to the valve is 3 MPa and the pressure in the downstream tank is 2 MPa. The initial flow rate in the tested pipeline is 120 cm3/s. In order to investigate the influence of the number of weighting terms k, simulation runs are undertaken assuming initial numbers of weighting terms of 1, 2, and 7. A comparison of the simulation results of transient pressure pulsations close to the valve in the horizontal downstream pipeline is shown in Fig. 9.

Fig. 9. Simulation results of transient pressure pulsations close to the valve in the horizontal downstream pipeline with different k.

From Fig. 9, it is notable that in the downstream pipeline, the pressure at the vicinity of the valve is reduced under a negative pressure when the valve is rapidly closed. At the same time, the negative pressure wave propagates to the downstream tank. The positive pressure wave is then reflected from the downstream tank and travels back to the valve, causing the first positive pressure peak. This process may be repeated several times before the fluid energy is dissipated because of the steady state and dynamic frictional force.

It is clear that the greater difference lies between the predicted transients with numbers of weighting terms of 1 and 2 as opposed to with numbers of weighting terms of 2 and 7, especially in terms of high frequency oscillations of the first pressure peak and the timing of the subsequent peaks.

5.2. Transient pressure pulsations in upstream pipeline

In the case of transient pressure pulsation close to the valve in the horizontal upstream pipeline, the parameters of the tested pipeline from Ref. [1] are listed in Table 6.

Table 6. Parameters of the tested upstream pipeline.

In the same way, the upstream part of the pipeline is evenly divided into N elements of equal length (N is 300). The simulation time step is calculated as

The time constants of the first-order filter are listed in Table 7. By utilizing Eq. (16), the number of weighting terms k is calculated to be 3.

Table 7. Time constants of the corresponding weighting function.

The number of weighting terms k in the upstream pipeline should satisfy Eq. (19), which leads to

By comparing the parameters in Tables 5 and 6, it is found that the number of weighting terms k varies with different pipeline transient pressure pulsations.

The corresponding experimental parameters from Ref. [1] are listed in Table 6. The initial pressure close to the valve was 2.175 bar and the pressure in the upstream tank was 2.251 bar. The initial flow rate in the tested copper pipeline was equal to 60.8 cm3/s. The pipeline was embedded in concrete to reduce vibration. Thus, the acoustic velocity in hydraulic oil c0 was assumed to be constant.

The simulation of pressure pulsations in the upstream pipeline is carried out with new flow rate and pressure vectors determined by the corresponding boundary condition and initial condition in the upstream pipeline.

The simulation and experimental results of transient pressure pulsations close to the valve are shown in Fig. 10. The corresponding experimental results in the upstream pipeline are obtained from Ref. [1]. Compared with pressure pulsations in the downstream pipeline, due to a sudden valve closure, the column of fluid is brought to rest, firstly causing a high pressure peak at the valve.

Fig. 10. Simulation and experimental results of transient pressure pulsations close to the valve in the upstream pipeline.

For comparison, the simulation results reproduced from Trikha[16] are also illustrated as the dotted line in Fig. 10. The simulation results with identified parameters of the frequency-dependent friction model are presented. Here the number of weighting terms is selected to be 1 and 3, respectively.

It can be obtained from Fig. 10 that a high frequency oscillation occurs in the simulation of pressure pulsations when the number of weighting terms k is 1. Compared with the simulation results by the method of Trikha from Ref. [16], clearly, the simulation using the identified parameters of the frequency-dependent friction model and the number of weighting terms k = 3 provides better accuracy, including the magnitudes of the pressure peaks and the duration between the peaks. Therefore, the validity of the parameter identification method for weighting function coefficients and the calculation method for the number of weighting terms in the friction model is confirmed.

6. Conclusion

A study has been undertaken to model the frequency-dependent dynamic friction item and to identify the values of weighting function coefficient for use in the modeling of pressure transients inside upstream and downstream pipelines. Parameter identification is carried out by means of genetic algorithms whose objective function is the sum of the least-square errors between amplitude– frequency and phase– frequency characteristics.

In this article, the calculation method of the number of weighting terms is proposed compared with three weighting terms for Trikha, ten weighting terms for Kagama, and four weighting terms for Taylor. The proposed method does not set the number of weighting terms as a constant, while the number of weighting terms is determined by the condition that the time constant of the first-order high-pass filter, τ i, must be greater than the simulation time step. Overall, the pressure transient model with optimal parameters of frequency-dependent friction provides an effective prediction of pipeline pressure pulsations.

Reference
1 Zielke W 1968 J. Basic Eng. 90 109 DOI:10.1115/1.3605049 [Cited within:4] [CJCR: 0.474]
2 Hirose M 1971 Frequency-dependent Wall Shear in Transient Fluid Flow Simulation of Unsteady Turbulent Flow(MSc Thesis) (Boston: MIT) [Cited within:1]
3 Suzuki K, Taketomi T and Sato S 1991 J. Fluids Eng. 113 569 DOI:10.1115/1.2926516 [Cited within:1] [JCR: 0.886]
4 Schohl G A 1993 J. Fluids Eng. 115 420 DOI:10.1115/1.2910155 [Cited within:1] [JCR: 0.886]
5 Vardy A E and Brown J M 1995 J. Hydraul. Res. 33 435 DOI:10.1080/00221689509498654 [Cited within:1] [JCR: 1.037]
6 Vardy A E and Brown J M B 2004 J. Hydraul. Eng. 130 1097 DOI:10.1061/(ASCE)0733-9429(2004)130:11(1097) [Cited within:1] [CJCR: 1.378]
7 Vardy A E and Brown J M B 2004 J. Sound Vib. 270 233 DOI:10.1016/S0022-460X(03)00492-9 [Cited within:1] [JCR: 1.613]
8 Johnston D N 2006 J. Dyn. Syst. Meas. Control 128 829 DOI:10.1115/1.2361320 [Cited within:1]
9 Vítkovský J, Stephens M, Bergant A, Simpson A and Lambert M 2006 J. Hydraul. Eng. 132 709 DOI:10.1061/(ASCE)0733-9429(2006)132:7(709) [Cited within:1] [CJCR: 1.378]
10 Herrmann J, Koreck J, Maess M, Gaul L and von Estorff O 2010 Mech. Syst. Signal Process 25 981 DOI:10.1016/j.ymssp.2010.09.013 [Cited within:1] [JCR: 1.913]
11 Ferrari A 2010 Int. J. Heat Mass Transf. 53 4193 DOI:10.1016/j.ijheatmasstransfer.2010.05.042 [Cited within:1]
12 Cai Y G 1989 Dynamics of Fluid Transmission Pipeline Zhejiang Zhejiang University Press 8 (in Chinese) [Cited within:3]
13 Jiao Z X, Hua Q and Yu K 1999 Acta Aeronaut. Astronaut. Sinica 20 316(in Chinese) [Cited within:1]
14 Wylie E B, Streeter V L and Suo L S 1993 Fluid Transients in System Englewood Cliffs Prentice-Hall 17 [Cited within:1]
15 Shu J J 2003 Int. J. Press. Vessel. Pip. 80 187 DOI:10.1016/S0308-0161(03)00025-5 [Cited within:1]
16 Trikha A K 1975 J. Fluids Eng. 97 97 [Cited within:3] [JCR: 0.886]
17 Kagama T, Lee I, Kitagawa A and Takenaka T 1983 Trans. JSME 49 2638 DOI:10.1299/kikaib.49.2638 [Cited within:1]
18 Taylor S E M, Johnston D N and Longmore D K 1997 J. Syst. Control Eng. 211 447 DOI:10.1243/0959651981540035 [Cited within:1]
19 Li S J, Yang C F and Jiang D 2008 J. Appl. Mech. 75 0410121 DOI:10.1115/1.2912934 [Cited within:1] [JCR: 1.483]
20 Jiang D, Li S J and Bao G 2008 Acta Phys. Sin. 57 5072(in Chinese) http://118.145.16.217/magsci/article/article?id=17389298 [Cited within:1] [JCR: 1.016] [CJCR: 1.691]
21 Shu J J 2003 J. Fluids Eng. 125 194 DOI:10.1115/1.1522415 [Cited within:1] [JCR: 0.886]
22 Jiang D, Li S J, Edge K A and Zeng W 2012 Comput. Fluids 67 79 DOI:10.1016/j.compfluid.2012.07.005 [Cited within:1] [JCR: 1.467]