Scientific Reports, Published online: 14 June 2026; doi:10.1038/s41598-026-58348-7 Digital twin–driven multiscale modelling for real-time defect prediction in metal additive manufacturing