Hydrogen flux measurements in petrochemical applications