### Fluid Flow in Pipe

At the pump we will meet Bernoulli equation. This equation is the conservation energy of fluid so as to approximate a pump installation should consider kinetic energy and potential energy.

(P/ρ) + (V2/2) + gz = constant

For ideal fluid, friction is ignored.

(P1/ρg) + (V12/2g) + z1 = (P2/ρg) + (V22/2g) + z2 = constant

Energy equation and head equation can be written as follows:
Energy equation

m{(P1/ρ) + (V12/2) + gz1} + Wshaft = m{(P2/ρ) + (V22/2) + gz2} + m.g Σ(head loss total)

{(P1/ρg) + (V12/2g) + z1} + Hshaft = {(P2/ρg) + (V22/2g) + z2} + ΣHltotal

At the amount of total head loss is divided into two parts between major head loss  and minor head loss. Major head loss is head loss due to surface roughness, pressure drop and length of pipe flow.

hmajor loss = f . (L/D) . (V2/2)

where:
f           = friction factor
L          = Length of pipe
D         = Diameter of pipe
V         = flow velocity
g          = Acceleration of gravity = 9.81 m/s2

While minor head loss is head loss due to fitting of elbow, gate valve, check valve, change in cross section flow and straight. This head loss due to components that are intentionally installed and have different function.

Hminor loss = k . (V2/2)

k = f . (Le/D)

The value of f is obtained by using Reynolds number contained in the Moody chart, while Le/D is obtained from the table component.