Computer modeling of a direct contact condensing heat exchanger for gas furnaces