Calculate Velocity In A Pipeline