Damage of the surface of structural materials by the action of plasmoids