maximintegrated.com power supply experts have a reference design of a 24V to 12V flyback converter.
Maxim’s power supply experts have designed and built a series of isolated, industrial power-supply reference designs. Each of these power supplies efficiently converts 24V into useful voltage rails at a variety of power levels. Every power rail is isolated with a readily available transformer from multiple, global vendors, providing for quick, convenient transformer selection. Each design has been tested for load and line regulation, as well as efficiency and transient performance. As with all Maxim reference designs, the BOM, schematics, layout files, and Gerber files are all available. In addition, boards are available for purchase; most boards feature through-hole pins for immediate board placement and accelerated prototyping.
Isolated 24V to 12V 10W Flyback Power Supply – [Link]