Skip to content

Particle Tracer ​

Flare Live 3.0 · System · API type simexp.blocks_fluid.particle_tracer.

Tracks particles in the original Blocks Fluid solver and exports them to OpenVDB. Place one or more Particle Sources to release batches and choose a scene object to center the export grid before initialization.

Properties ​

Values below are defaults for new objects. See common properties for shared fields, case-sensitive API paths and conditional visibility.

Particle ​

API pathConstructor default / enum choicesMeaning / unitsEditable in Simulation
particle.particle_living_rounds1000Number of batches retained before their slots are reused. A batch lives approximately this value × Round period steps × the effective time step. Increasing it uses more GPU memory.No
particle.round_period_steps10Number of simulation steps between batches released by each enabled source. Use a positive integer. Smaller values increase the release rate.No
particle.spread_kernel1; 0=Nearest, 1=Phi2, 2=Phi4FastWeighting used to sample fluid velocity at the particle position. Nearest uses one node, Phi2 uses a compact neighborhood, and Phi4Fast uses a wider neighborhood.No
particle.half_follow_time0.0Time in seconds for a particle's velocity difference from a constant local flow to halve. Zero sets velocity to the sampled fluid velocity immediately.No

Export ​

API pathConstructor default / enum choicesMeaning / unitsEditable in Simulation
export.enabledtrueWrite particle volume data under particles on world export requests. Tracer initialization still checks the export center and colormap settings.No
export.center_targetNoneScene object whose world position centers the export grid. The grid stays aligned to the world axes. Required by the tracer at initialization. Shown when sibling enabled = True.No
export.resolution(100, 100, 100)Number of output voxels along world X, Y and Z. The product determines the size of the export grid and its working buffers. Shown when sibling enabled = True.No
export.cell_size0.01Output voxel width in meters. Set it independently of the fluid cell size. At fixed Resolution, increasing it covers a larger region. Shown when sibling enabled = True.No
export.spread_kernel0; 0=Nearest, 1=Phi2, 2=Phi4FastWeighting that deposits each particle's density and speed on the export grid. Nearest uses one voxel. Phi2 and Phi4Fast spread the contribution to neighboring voxels. Shown when sibling enabled = True.No
export.density_contribution_per_particle0.1Multiplier for each particle's weighted contribution to the output density grid. Shown when sibling enabled = True.No
export.export_raw_velocityfalseWrite a scalar velocity grid with the mean particle speed in m/s alongside density. With this off, write a color grid mapped from mean speed. Shown when sibling enabled = True.No
export.scale_density_by_velocityfalseIn color export, modulate the particle density by a speed factor between zero and one. Raw velocity export ignores this switch. Shown when sibling enabled = True.No
export.colormap_name"jet"Name of a built-in color palette, such as jet, for mapping speed to color. The tracer validates the name even for raw velocity export. Shown when sibling enabled = True.No
export.colormap_max_velocity10.0Upper speed endpoint of the palette in m/s. Must be higher than Colormap min velocity. Shown when sibling enabled = True.No
export.colormap_min_velocity0.0Lower speed endpoint of the palette in m/s. Must be lower than Colormap max velocity. Shown when sibling enabled = True.No

Simulation input/output: none.