Forces acting on a foreign particle near a solidification front