what is the head loss for water flowing through a horizontal pipe