A method of dye removal from wastewater includes producing activated carbon from heavy oil fly ash and using the activated carbon to adsorb dye in the wastewater. The heavy oil fly ash based activated carbon is produced using phosphoric acid based chemical activation. The dye can be removed from wastewater by contacting the wastewater with the activated carbon. The activated carbon can then be separated from the wastewater to remove the dye, and thereby, purify the wastewater.
展开▼