The velocity is a constant because there is no viscous force between fluid particles and no frictional forces between pipe wall and fluid. The velocity can be considered as a mean value. For this case, Bernoulli’s equation stated in the following Equation can be applied directly.