The friction factor is used to calculate the pressure drop due to
the flow of a fluid in a pipe. It represents the interaction in
between the fluid and the pipe. There are different ways to
calculate it, one can be graphical, using a Moody graph.
Note that the friction factor used here is
Darcy (also called Darcy-Wesibach or Moody) friction factor.