Removal of sediments by flushing