Modelling of manufacturing processes: a material science perspective