This is the basic idea. We look at the momentum equation in the x direction:
where Fx represents a general force on a fluid element that might
include viscous forces or gravity.
conservation of mass permits us to substitute:
The momentum equation in the x-direction may then be written:
and canceling terms leads to: