Stability and bifurcation in fluid dynamics