1. Introduction
Pipeline vibration not only causes structural fatigue failure, leading to serious accidents, such as pipeline leakage and rupture, but also generates noise pollution, affecting the working environment and personnel health [
1]. Components in the ship piping system, such as flanges and supports, can significantly alter a system’s vibration characteristics [
2]. For example, as important components for supporting the pipeline, the structure and position of the support can alter the stiffness of the pipeline, thereby affecting the natural frequency of the pipeline system [
3]. Therefore, a calculation method that is both accurate and efficient is particularly important for the low-vibration design of pipeline systems.
At present, the mainstream methods for calculating the fluid–structure coupling vibration characteristics of the fluid-filled pipeline include the method of characteristics (MOC), the finite element method (FEM), and the transfer matrix method (TMM). Since the fluid-conveying pipeline system exhibits a typical chain-like topology, the transfer matrix method is well-suited for such structures. The key advantage of this method is that the dimensions of the overall property matrices for the whole system do not increase with the number of elements or the system’s scale and complexity [
4,
5]. It offers high computational efficiency and has been widely adopted by researchers for frequency-domain fluid–structure interaction analysis in pipeline systems [
6,
7].
Common pipeline systems include pipeline components with regular geometric structures, such as straight pipes, elbow pipes, and branch pipes, as well as pipeline components with irregular geometric structures, such as flanges and flexible supports. Regular geometric structures pipeline components, such as straight pipes, elbow pipes, and branch pipes, can have their mathematical models established through theoretical derivation [
8,
9,
10,
11,
12]. Tentarelli [
8] expounded the dynamic equation of a single fluid-filled pipeline based on the transfer matrix method; Lesmez et al. [
9] adopted the transfer matrix method and established the fluid–structure coupling model of the L-shaped liquid-filled pipe by equivalent the elbow pipe to multiple straight pipes; Cao et al. [
10] established the mixed energy transfer matrix method (HETMM), effectively solving the problem of numerical instability existing in the vibration solution method based on TMM during high-frequency calculation, and analyzed the natural frequency of the dual-branch pipeline system; Deng et al. [
11] considered the fluid friction and the flexibility correction of the elbow, calculated the natural frequency and frequency response of the Z-shaped hydraulic pipeline using TMM, and compared them with the experimental results.
The research objects in the abovementioned literature are almost all single infusion tubes or branch pipes, while in real life complex pipeline systems often connect individual pipeline components through flanges. The two commonly used types of flanges are flat-weld flanges and weld-neck flanges. In the existing literature, there is no recognized transfer matrix model for pipeline flanges, which restricts the application of the transfer matrix method in the analysis of multi-component series pipeline systems. Li [
6] treated the flat-weld flange as a lumped mass and established its point transfer matrix through the balanced relationship of the force and torque before and after the flange. Liu et al. [
12] considered the lateral vibration of the pipeline, established a transfer matrix model of lumped mass, and introduced a coupling term to describe the influence of eccentric mass on bending moment and shear force. The above analyses simplify the flange to a lumped mass and have not been verified through a real pipeline system. Flat-weld flanges are generally of an axisymmetric structure, and their center of mass is usually located on the axis. However, weld-neck flanges are relatively longer than flat-weld flanges, and their mass distribution is uneven. Therefore, they cannot be simply regarded as lumped mass. To address these limitations, this paper develops two transfer matrix modeling methods for flat-weld and weld-neck flanges, respectively. By introducing concepts from finite element discretization and geometrical analogy, we can improve the accuracy of dynamic characteristic analysis for flange-containing pipeline systems.
Adjusting the parameters of the pipeline system can significantly improve its vibration characteristics [
13]. However, pipeline systems often contain complex components, such as flanges and flexible supports. Therefore, it is of great practical significance to establish a method for the optimal design of pipeline systems that can consider complex pipeline components. Kwong et al. [
14] optimized the support position using the genetic algorithm and verified the optimization effect of the vibration and noise of the pipeline system through experiments; Wan et al. [
15] conducted static and modal analyses on the pipeline system and selected the methods for pipeline support based on the risk level to accurately identify the supports with abnormal conditions and achieve the assessment of the support status of the pipeline system. Zhang et al. [
16] studied the frequency adjustment and dynamic response reduction in the multi-support pipeline system through experiments and numerical simulations and introduced the multi-objective genetic algorithm to optimize the support position and adjust the first-order natural frequency to avoid the operating range of the engine. The abovementioned studies all conducted regular analyses based on the assumption that the support base is rigid but did not comprehensively consider the influence of the flexibility of the support base on the inherent characteristics of the pipeline system, which has certain limitations.
This paper initially presents the derivation and validation process of the transfer matrix model for pipe flanges, drawing on the concepts of finite element discretization and analogy. It then introduces the multi-objective particle swarm optimization (MOPSO) algorithm, aiming to optimize the pipeline design by avoiding excitation frequencies. This approach provides a reliable theoretical foundation and technical support for the engineering practice of pipeline systems.
4. Numerical Examples and Discussions
4.1. Simple Straight Pipe
The pipe model is depicted in
Figure 9. The length, inner radius, and wall thickness of the pipe are
L = 2 m,
R = 0.0325 m, and
e = 0.005 m. Both ends of the pipe are free. At this time, the force variables of the fluid and the pipe at the boundary are 0, and its boundary constraint matrix
B is shown in Equation (13). The pipe material is structural steel, the Young’s modulus of the pipe is
E = 2 × 10
11 Pa, the density is
ρl = 7850 kg/m
3, and the Poisson’s ratio is
v = 0.3. The medium inside the pipe is air. The bulk modulus of the air is
K = 1.42 × 10
5 Pa, and the density is
ρl = 1.3 kg/m
3.
The natural frequencies of the pipe are calculated, respectively, by using the method in this paper and ANSYS (2019 R2 Version) numerical simulation. The calculation results of the natural frequencies within 1000 Hz are shown in
Table 1. By comparing the results of this method with those of the FEM, it can be found that the results between the two are highly consistent, and the relative errors are both within 1%. These results demonstrate the method’s high accuracy in predicting natural frequencies for straight pipe.
4.2. Straight Pipe with Flat-Weld Flanges
As depicted in
Figure 10, the length of the straight pipe sections at both ends of the flange is 1 m. The model is meshed with hexahedral solid elements, and the element size is 10 mm, resulting in a total of 17,517 elements. Other property parameters of the pipe and boundary constraints are consistent with those in
Section 4.1. DN65 flat-weld flanges (GB/9119-2000) are adopted, and the medium in the pipe is air.
An external unit harmonic excitation force is applied at 0.2 m from the beginning of the pipe. Measurement point 1 is located at the excitation application point, and measurement point 2 is 0.5 m from the end. The acceleration responses of the pipe are solved using the two methods proposed in this paper and FEM. The comparison results are shown in
Figure 11, and the corresponding first four natural frequencies are presented in
Table 2. Due to the small mass and irregular shape of the flange connection bolts and nuts, subsequent calculations only consider their mass’s influence on the pipe’s vibration response, ignoring the moment of inertia.
Compared with the FEM results, the vibration acceleration response and natural frequencies calculated by Method 2 are basically consistent with those calculated by the FEM. In contrast, the error between Method 1 and the FEM results is relatively large. Based on the above analysis, the following conclusion can be drawn. When using the transfer matrix method to conduct overall calculation and analysis of pipe with flat-weld flanges, Method 2 has higher accuracy, and subsequent calculations mainly adopt Method 2.
4.3. Straight Pipe with Weld-Neck Flanges
In this part, the correctness of the proposed transfer matrix calculation model for the weld-neck flange (CB/T 4327-2013) will be verified with the finite element model shown in
Figure 12. The length of the straight pipes at both ends of the pipe is 1 m, while the length of the straight pipe in the middle is 0.2 m. The model is meshed with hexahedral solid elements, and the element size is 10 mm, resulting in a total of 25,812 elements. Other property parameters of the pipe are consistent with those in
Section 4.1. DN65 weld-neck flanges are adopted, and the medium in the pipe is water. The bulk modulus of the water is
K = 2.14 × 10
9 Pa, and the density is
ρl = 999 kg/m
3.
When calculating, both ends of the pipe are fixedly supported. At this time, the fluid pressure and the velocity variables of the pipe at the boundary are 0 and the boundary constraint matrix
B is shown in Equation (14). An external unit harmonic excitation force is applied at 0.2 m from the beginning of the pipe. Measurement point 1 is 1 m away from the beginning of the pipe, and measurement point 2 is 0.8 m away from the end of the pipe. The acceleration responses of the pipe are solved using the two methods proposed in this paper and ANSYS, respectively. The comparison results are shown in
Figure 13, and the corresponding first five natural frequencies are presented in
Table 3.
It can be seen that the pipe vibration acceleration response calculated by Method 2 is basically consistent with the FEM result throughout the calculation frequency range, which proves the correctness of this method. Method 1 is in good agreement with the FEM results before 500 Hz. After 500 Hz, with as the frequency increased, the error of the calculation results of Method 1 increased accordingly.
Through the above analysis, the following conclusion can be drawn. When the transfer matrix method is used to conduct the overall calculation and analysis of the pipe with weld-neck flanges, the accuracy of Method 2 is higher. Unlike Method 1, Method 2 can also calculate the vibration response on the flanges. Therefore, the subsequent calculations mainly adopt Method 2.
4.4. Experimental Verification of Pipe with Flanges
To verify the applicability of the method proposed in this paper on actual pipes, this section will further illustrate the application of the flange model and method described in this paper through complex pipes containing flat-weld flanges and weld-neck flanges. In the overall pipe model built in this experiment, weld-neck flanges are connected by bolts to simulate the pipe connection situation in actual engineering. The schematic of the pipe installation and the physical diagram of the experiment are shown in
Figure 14 and
Figure 15. In
Figure 14, the A and B ends of the pipe are connected to the support by nylon ropes. At this time, the pipe is equivalent to free support, and its boundary constraint matrix B is shown in Equation (13). Points 1 and 2 represent the measurement points for the vibration acceleration of the pipe wall. The inner radius of the straight pipe is
R = 0.0325 m, and the wall thickness is
e = 0.005 m. The pipe material is structural steel, with Young’s modulus
E = 1.90 × 10
11 Pa, density
ρl =7850 kg/m
3, and Poisson’s ratio
ν = 0.3. We adopt DN65 weld-neck flanges and flat-weld flanges.
In this experiment, a force hammer (Model LC02-3A102, DongHua Testing Technology Co., Ltd., Jingjiang, China) delivers a vertical excitation to the pipe 0.20 m from end A while the pipe is initially at rest. The vibration response is recorded by a BK-4534BX accelerometer (Brüel & Kjær Sound & Vibration Measurement A/S, Nærum, Denmark), the position of which is indicated in
Figure 14. The experimental data are collected and processed through the PULSE system. The comparison with the computational results of the method in this paper and the FEM is shown in
Figure 16.
It can be seen from
Figure 16 that the computational results of this method are in good agreement with the measurement results of the vibration experiment of the flanged pipe, which proves the correctness and effectiveness of this method in analyzing the vibration problems of such pipes.
The finite element model of the experimental pipe is shown in
Figure 17. The model is meshed with hexahedral solid elements, and the element size is 10 mm, resulting in a total of 52,689 elements.
Table 4 lists the modal shapes within the analysis frequency band of the experimental air-filled pipe. In this method, the dotted lines represent vibration modes, and the solid lines represent the original model. The modal vibration patterns of the pipe obtained by the two methods are basically the same, indicating that this method is highly accurate in calculating the vibration characteristics and inherent characteristics of pipes with flanges.
Consider the pipe filled with water. In the experiment, water is sealed in the pipe through blind plates. The blind plates at both ends of the pipe weighed 2.92 kg and 4.62 kg, respectively, as shown in
Figure 18. The positions of the pipe vibration measurement points and the experimental process are the same as those in the air-filled pipe.
The vibration acceleration responses of the measurement points on the pipe are calculated by the method in this paper. The experimental results are shown in
Figure 19. It can be seen that when the pipe is filled with water, the calculation results of the method in this paper are generally in good agreement with the experimental results but slightly worse than those of the air-filled pipe. The deviation between the two may mainly be caused by the following reasons: (a) The experimental results may be disturbed by factors not considered in the calculation, such as the acceleration sensor possibly sensing motion in other directions, and there may be parameter differences between the calculation and the experiment, such as Young’s modulus, etc.; (b) Due to reasons, such as gravity, installation, or welding processes, the pipe is not completely within the horizontal plane, and there is a certain amount of prestress, which can also cause errors; (c) This method does not consider the influence of flange gaskets on the vibration response of the pipe; (d) Although both ends of the pipe are connected to the supports by nylon ropes, the connection points are still not completely free.
4.5. Experimental Verification of Elbow Pipe with Flanges
Validation of the applicability of the method proposed for complex pipelines and boundary conditions is conducted on the pipe shown in
Figure 20. The pipe has an inner diameter of 52 mm, a wall thickness of 4 mm, and other sizes are shown in
Figure 21. The pipe is filled with water. The material properties of the pipe are the same as those in
Section 4.4. Both ends of the pipe are free, and the straight pipe sections at both ends of the elbow are connected to the base via clamps.
The transfer relationship between the state vectors of the left and right sides of the elastic support point of the pipe satisfies
ΦL =
UKΦR, where the transfer matrix of the elastic support point is as follows:
where
kx,
ky,
kz,
kθx,
kθy, and
kθz represent the stiffness in each direction.
Before verification, it is necessary to measure the support stiffness in the experimental installation state. The vertical stiffness of each support is measured through experiments, as shown in
Figure 22.
During the frequency response validation, the excitation and response measurement points of the pipe are shown in
Figure 21. A comparison between the method proposed and the experimental results is shown in
Figure 23. The results within the frequency range of 1~300 Hz exhibit agreement with the experimental data. There are deviations in certain frequency bands. The deviation may primarily be caused by the stiffness measured by the experiment, which has errors, and by the neglect of the influence of torsional stiffness. Overall, this indicates that this method proposed is feasible for predicting the vibration response characteristics of complex pipelines with actual application boundary conditions and flanges.
4.6. Dynamic Design of Branch Pipeline with Weld-Neck Flanges
The preceding mathematical models—including the transfer matrices for typical components (straight pipes, elbow pipes, and branch pipes), and the validated high-precision Method 2 for flange transfer matrices—enable accurate calculation of key dynamic parameters (natural frequencies, vibration responses, and modal shapes) of fluid-filled pipelines with complex components, like flanges. However, engineering practice demands more than prediction; it requires efficient optimizing designs to avoid resonance with external excitations (e.g., industrial pump frequencies) and enhance stability. To this end, this section will introduce the multi-objective particle swarm optimization algorithm to achieve the rapid optimization design of typical pipelines.
4.6.1. Selection of Optimization Objectives and Establishment of Optimization Models
The pipeline finite element model for optimization is illustrated in
Figure 24, where AB = FG = 0.4 m, CD = DK = 0.3 m, DE = 0.5 m, HI = 0.85 m, and LM = 1.1 m. The distance between support 1 and point D is 0.2 m, the distance between support 2 and point H is 0.1 m, and the distance between support 3 and point L is 0.35 m. The model is meshed with hexahedral solid elements, and the element size is 8 mm, resulting in a total of 200,869 elements. The parameters of the pipe material are consistent with those of the straight pipe in
Section 4.1. The bending radius of the elbow pipe is 0.25 m, the inner radius of the pipe is 0.0325 m, and the wall thickness is 0.005 m. Both ends of pipeline I and M are fixed, while end A is free. The length, width, and thickness of the elastic plate are 0.5 m, 0.5 m, and 0.02 m, respectively. When calculating, the flexibility of the plate is considered. The origin impedance of the plate needs to be obtained through the FEM or experiments as the boundary condition of the transfer matrix method. In the finite element calculation, the four sides of the plate are fixed. The obtained origin impedance is shown in
Figure 25. Combining the four-polo parameters of the spring, the point transfer matrix at the support can be obtained [
20]. The initial values of the elastic support stiffness are all 1.3 × 10
6 N/m, and the medium inside the pipe is water. When constructing the pipeline system model, considering that the bolts and flange holes have a relatively small impact on the overall dynamic characteristics, the simplified treatment is as follows: The flange plate of the weld-neck flange is equivalent to a straight pipe structure, and the flange connection holes and bolts are ignored.
At point J, which is 0.2 m away from end C, an external harmonic excitation force of 10 N is applied. The acceleration responses of each measurement point in the pipeline are shown in
Figure 26. Industrial current-carrying pipelines may be stimulated by water pumps during operation. Under normal circumstances, the rotational speed R
p of the water pump connected to the industrial flow-carrying pipeline is mostly within the range of 1500–3600 r/min, and the excitation base frequency corresponding to this rotational speed range is approximately 25–60 Hz. This paper assumes that the pipeline to be optimized is excited by a fundamental frequency of 40 Hz. In practical situations, in addition to the fundamental frequency vibration, the excitation source often generates certain excitation at integer multiples of its frequency. Therefore, the excitation effect of the excitation source at 80 Hz, which is twice the fundamental frequency, is considered. According to the frequency reserve requirements [
21], the resonance domains of the two excitation frequencies can be calculated as 36–44 Hz and 72–88 Hz, respectively. It can be seen in
Figure 26 that the second and third natural frequencies of the current-carrying pipeline both fall within the resonance range and need to be optimized. Therefore, in this paper, the optimization targets of the second and third natural frequencies are set at 48 Hz and 95 Hz, respectively.
4.6.2. Multi–Objective Particle Swarm Optimization Algorithm
In this paper, the second and third natural frequencies are taken as the optimization objectives and the support stiffness at the three supports are taken as optimization variables. The MOPSO algorithm is adopted to optimize the inherent characteristics of the pipeline system shown. We suppose that the variation range of the elastic support stiffness at each of the three positions is 104–107 N/m.
4.6.3. Optimize the Design Results
The MATLAB (R2019b Version) program is written based on the relationship between the independent variable and the objective function. Through the MOPSO algorithm, the optimal stiffness values of supports 1, 2, and 3 are calculated as 5.09 × 10
6 N/m, 1 × 10
4 N/m, and 7.99 × 10
6 N/m, respectively. The optimal solution is substituted into this method for calculation, and a finite element model is established for simulation. During the finite element calculation, we fix the four sides of the support base. The acceleration responses of point J before and after the optimized configuration are shown in
Figure 27. The second and third natural frequencies of the pipeline as calculated by simulation are 47.9 Hz and 94.2 Hz, respectively, and the errors between the theoretical optimization objective and the simulation results are 0.2% and 0.4%, respectively.
In the study of the pipeline modal shapes, the calculation results of the method in this paper and the first three pipeline modal shapes obtained by ANSYS are shown in
Table 5. In contrast, the vibration patterns and node distributions of this method are highly consistent, which fully verifies the accuracy and reliability of the method proposed in this paper in the analysis of the natural vibration patterns of complex pipeline systems.
The results show that the adopted method accurately achieves the optimal configuration goals of the second and third natural frequencies of the numerical model. Furthermore, by comparing these results with the finite element calculation results, the accuracy of this method in the optimization of natural frequencies is confirmed. Furthermore, it can be seen from
Figure 27 that through the rational definition of target natural frequencies and structural optimization, the second and third modes of the pipeline system are effectively shifted away from the excitation frequency range of the connected equipment. This effectively suppresses the resonance and enhances the dynamic stability of the structure. In addition, the MOPSO algorithm is used to calculate 30 samples, with 50 iterations and a calculation time of 6 min 32 s. It balances optimization accuracy with computational efficiency. These outcomes demonstrate the practical significance and engineering value of the method.