TGF thermal mass flowmeter