Fluid Model of Spacetime Curvature and Galactic Dynamics