Numerical modelling of welding of martensitic steel