A novel thermomechanical modelling framework in metal additive manufacturing process modelling