Fluid Dynamics of Core Formation