Cellular automata simulation of coal combustion