Water treatment in industry