Discrete element method investigation on thermally-induced shakedown of granular materials