Comparison of 1D Euler equation based and 3D Navier-Stokes simulation methods for water hammer phenomena