The pipeline transportation industry has expanded significantly because of its convenience and speed, but it faces problems. This research is to study the failure of piping caused by a water hammer which is a behavior of the check valve when the pump stops working. This causes, a loud noise and the pipe is deformed due to vibration. Therefore, this research analyzes the deformation of the pipeline due to a pressure surge and measures the vibration of the piping system when the check valve works. The resulting analysis can be used to predict the phenomenon that can cause deformation of the pipeline. The principles of fluid structure interactions using the theory of fluid and theoretical mechanics with materials engineering are used to solve problems that occur at Khon Kaen Beer in Thailand. In this research, the modeling and analysis of the piping systems uses the ANSYS program and results show the predicted failures match those in actual pipelines.