Magnetothermal phenomena in rare-earth magnetics