Two-dimensional numerical study of combustion and pollutants formation in porous burners