I have discussed with my friend about the head loss issue. Assume you have a water tank with full water inside (height = H). Then, connect a pipeline (with length = L) at the side of tank (at bottom level). This connecting pipe has no slope (0%). Once, when we open the valve, the flow start. I know that flow velocity will be varied with the distance from starting point (say, x) and time (t).

So, if we can say V is function of flow distance and time or V(x,t).

The pipe friction loss formula = (fL/D)(V^{2}/2g)

In this case, can we say there will be a distance L that the flow can stop due to the balance between the pressure head (tank) and total head loss in the pipeline.Please advise. Thank you.

Sorry if my English is not clear.