As gas flows across the flow sensor, the heat distribution pattern changes and the two thermopiles will detect differing temperatures. The temperature difference (dT) appears as a differential voltage between the two sets of thermopiles and is directly correlated to the direction and mass flow rate of the gas.