Treatment of petroleum refinery wastewater by physicochemical methods