CFD analysis of the modification of the furnace of a TG–FTIR facility to improve the correspondence between the emission and detection of gaseous species