A semi-analytical thermal modelling approach for selective laser melting