Numerical simulation of microscopic residual stress evolution in polycrystalline aggregate subjected to weld thermal cycle