In the past few days, I've encountered an application note on the Maxim Integrated website about rapid demagnetisation of an inductive load:
https://www.maximintegrated.com/en/design/technical-documents/app-notes/6/6307.html
There was the technique of using a Zener diode in series with the classic freewheeling diode, and I am interested in knowing how to calculate the Zener voltage and power rating e.g. for a 24 VDC/400 mW relay coil.