The invention discloses a stagnant gas
water hammer analysis method and
system coupling actual gas characteristics and CLSVOF, and relates to the technical field of
water hammer analysis, and the method comprises the steps: collecting a random distribution image of a bubble group in a pipeline, calculating the random distribution condition data of the real-time bubble group, constructing a CLSVOF model, calculating the
information data in each space unit under random distribution, and calculating the real-
time distribution condition data of the bubble group; a stagnant
air water hammer analysis model is constructed through the data, and the stagnant
air water hammer analysis model is optimized through a time compensation coefficient to conduct real-time prediction and analysis on the stagnant
air water hammer phenomenon. According to the invention, by calculating the random distribution condition of the real-time bubble group, the
time complexity is reduced, the association on the
time sequence is considered, the stability and prediction accuracy of the network are improved, the feature information of the preceding-stage image in the continuous image is used for the backward-stage image, the parameters and calculation complexity of the
network model are reduced, and the prediction accuracy is improved. And constructing and optimizing a stagnant air
water hammer analysis model in combination with a time compensation coefficient to accurately predict and analyze the stagnant air water hammer phenomenon in real time.