Modelling of Heat Transfers, Phase Changes and Mechanical Behaviour during Welding