A characteristic time-based heat input model for simulating selective laser melting