pyoomph.equations.tracers module
- class pyoomph.equations.tracers.TracerParticles(distance, advection=field(velocity, < code=0, tags=>), tracer_name='tracers')[source]
Bases:
EquationsThis class defines the equations for tracer particles that are advected by a velocity field. The goal is to track the movement of particles in a fluid flow. These particles do not affect the flow field and are only used for visualization purposes.
- Parameters:
distance (ExpressionOrNum) – The distance between the tracer particles. If None, the particles are placed on a grid with this spacing.
advection (Expression) – The advection velocity field that advects the tracer particles. Default is var(“velocity”).
tracer_name (str) – The name of the tracer particles. Default is “tracers”.