1. A method of detecting an amount of delamination of an interior wall of a pipe that is transporting a known fluid, the computer-implemented method comprising: establishing, by one or more processors, a baseline vibration pattern from readings generated by a smart sensor that is affixed to the pipe, wherein the baseline vibration pattern is caused by a flow of the known fluid as the known fluid travels through the pipe in an unadulterated form; taking, by one or more processors, subsequent readings from the smart sensor to generate a new vibration pattern; in response to the new vibration pattern being different, beyond a predefined range, from the baseline vibration pattern, matching, by one or more processors, the new vibration pattern with a known vibration pattern in order to identify a specific contaminant of the known fluid, wherein the specific contaminant is a solid contaminant, wherein the known vibration pattern is known to occur when the specific contaminant is flowing through the pipe with the known fluid; determining, by one or more processors, a solid-contaminant-to-known-fluid ratio based on the new vibration pattern; determining, by one or more processors, a rate of solid contaminant introduction into the pipe based on the determined solid-contaminant-to-known-fluid ratio; determining, by one or more processors and based on the rate of solid contaminant introduction into the pipe, that the solid contaminant is caused by a delamination of an interior wall of the pipe; determining, by one or more processors, an amount of delamination of the interior wall of the pipe by measuring an amount of time that the new vibration pattern is being generated; and determining, by one or more processors, a specific gravity of the specific contaminant by matching the new vibration pattern with the known vibration pattern.