Sam Buchan, 31, worked as an engineer in the oil and gas industry when he died during the Ironman 70.3 race in Swansea.