The uses of magnetic fields in the processing of solids