Revealing the heterogeneity in weld microstructures using the thermomechanical dissipative heat source