How to treat drilling wastewater in petroleum industry?

The drilling wastewater is mainly treated by chemical coagulation. The agents used are sodium hydroxide, polyaluminum salts, polyiron compounds and polyacrylamide.