Sum up scalar along the path of a StreamTracer

Hi,
i want to use the StreamTracer and sum up the values of a point value along its streamlines. So along of one streamline, the longer the path becomes, the sum increases. Next is i want to visualize the new calculated values in ParaView, i don’t know how to do this. The scalars are from postProcessing in OpenFOAM.

You can’t do that directly with the stream tracer, but it is quite easy to do the integration along the lines with a Programmable Filter after the stream tracer.