StreamTracer loose tracers without Reasonfortermination


I am using the streamtracer vtk filter since a while and I recurrently face the issue that several tracers are lost without any particular reasons (no termination value is given). One can see it quite well in the image here, where a continuous line injection shows “holes” forming by the loss of a trajectory. It seems that the choice of the integrator between RK2/RK4 and RK4-5 modifies which tracer is missed. However, changing tracing parameters (steps, terminal speeds, max error, cell/point locator) do not have an effect.

Restarting the tracer exactly at the point it were lost do not solve the problem (no streamline is outputed).

Does someone faced the same problem ? Computing continuous trajectories is very important from a Lagrangian perspective…

Thanks a lot,

For reference :

Let’s keep the discussion here.

I do see some strangeness in the behavior, but it looks like reducing the initial step length may help start the streamlines.

This effect disappeared when unchecking decomposePolyhedra while loading the openFoam case.

1 Like