A Finite Element Method for the Prediction of Thermal, Metallurgical, and Mechanical Behaviour of Rebars in the TempCore Process