Inertia effect on thermal shock by laser beam shot