Numerical and experimental investigation of extinction mechanisms of gas flames in packed beds