Industrial wastewater treatment for the chemical industry