Apply a Stream Tracer filter (looks like a cylinder with flow around it in the Active Variable Controls toolbar). Make sure to select cavity. OpenFOAM in the Pipeline Browser, not Glyph1. To seed along a line, select a Seed type or Line Source. Drag the two gray balls to the desired value, or click “P” to put them where the mouse is. Make sure is around for both points. Use around point only, and play with either the Maximum100 Step Length or Maximum Steps in the Maximum Stream Tracer section, then click Apply.
Nicer paths may be obtained by applying a Tube filter onto the StreamTracer1 filter. This filter is found in Filters, Filters, Alphabetical (or Recent, in later runs).