A flex barrel model is built,and dynamic simulation of vibrations of barrel with initial defection is carried out.Comparison is made between vibrations of barrel with initial defection and that of rigid barrel without defection.The simulation result shows that consideration of the initial defection of barrel in simulation is necessary.