The world's energy development shows a low-carbon trend,and people's demand for natural gas is increasing.In the natural gas pipeline,the excitation force is the main cause of pipeline vibration due to the gas flow pulsation encountered in the elbow,reducer and other mutant structures,etc.The π-pipe is a common flexible compensation structure in the natural gas pipeline,and it is often connected to the pipeline at the outlet of the compressor,and the gas flow pulsation generated by the reciprocating compressor induces flow vibration at the π-pipe more obviously.In this paper,the simulation analysis of airflow pulsation is carried out based on computational fluid dynamics on the π-pipe with mutation structure,and the relationship between the pulsation amplitude and the mutation structure is investigated.The results show that the pressure inhomogeneity at the outlet of the pipe with mutation structure is about 3.8%and 4.6%higher than that of the π-pipe,and the pressure inhomogeneity at the outlet of the pipe changes from about 15.5%to 19.9%when the size of the mutation structure is changed from 100 mm to 200 mm,which shows that the mutation structure has an unfavorable effect on the airflow pulsation inside the π-pipe,and should be avoided in the practical engineering applications.It can be seen that the mutation structure has unfavorable effects on the airflow pulsation inside the π-pipe,and the use of mutation structure should be avoided in practical application.