Text this: Computer simulation of erosion and thermomechanical processes in a solid bombarded with high-power nanosecond beams of charged particles