Coupled thermal and electromagnetic evolution in a ferromagnetic body