A metallurgical phase transformation framework applied to SLM additive manufacturing processes