A study on the deposition of pyrolytic carbons from hydrocarbons