Fluid Dynamics and Dynamos in Astrophysics and Geophysics