Investigation on flow characteristics and solid wall damage of the wall-attached cavitation bubble collapse