reading rpm signal from cpu fan

From the wiki article:

Consumer devices such as computer hard drives, CD/DVD players, and PC cooling fans use BLDC motors almost exclusively.

The picture they have of the coils is from a PC fan as well.

The third wire I was using was from the hall effect sensor to measure rpm (used in brushless motors to control 'firing'). It sends a pulse twice every rotation on the third wire.