We present a numerical code for calculating transient flow in plastic pipes, especially in the polyethylene pipe, to analysis water hammer phenomena. The set partial differential equations to be solved is obtained using conservation laws and behavior for the fluid and the pipe wall, associated with constitutive equations of the two media, and relationships compatibility of interfaces on velocities and stresses. Coupling due to Poisson's ratio is also incorporated in this model. A global digital processing is achieved using the method of characteristics. The results obtained are in good agreement with those found in the literature. a E m m = ( ) / / 0 1 2 ρ : Celerity of sound in the pipe wall