Self-diffusion and temperature field in carbon particle reacting with gases