A numerical framework for the design of Joule-heating circuits to thermally activate smart materials. (9th October 2019)