How to control the number of seeds when using the Particle Tracer filter?

Hello,

I am using the Particle Tracer filter to simulate the injection of particles into a fluid domain via a catheter. Specifically, I have set the velocity field as the input and the catheter tip as the seed source.

I noticed that the number of particles injected matched the number of nodes on the surface (617 nodes = 617 particles, left view). Since I would like to inject more particles, I remeshed the surface to increase the number of nodes to 1019. However, only 769 particles were actually injected: it appears that not all of the nodes are being used as seeds (right view).

Why is that? Is there a maximum number of seeds? Are the nodes too close together?

There is a “MaskPoints” property in the ParticleTracer, make sure to set it to 1.

I can’t find the ”MaskPoints“ property in the ParticleTracer, but only in the TemporalParticlesToPathlines.

Ha right!

Please share your data then.

Thanks! Here is the link to the shared folder with my data.

Your points are right on the edges of the volume mesh, which makes some of them “outside” of the mesh because of floating point precision issue. A very small transfortm fixes that:

1 Like

Thanks! I slightly translated the surface along its normal and it worked. Really appreciate your help!

1 Like