Dye Regions

Dye regions are used for fluid motion tracking.

Dye regions in a simulation can be defined with the same or different colors. As a fluid particle (irrespectable of its phase definition/density) passes through a given dye region, it will get assigned that regions defined color (integer, scalar property which is then output in the particle data). Usage of dye regions eliminates the need of using multiple FLUID phase definitions in order to track the fluid flow from a specific location. Dye regions can only be spherical in shape. If a particle passes through multiple dye regions, it will adopt the color of the last dye region through which it passed.
        dyeregion_clr           1                           
        dyeregion_cntr          "0.0 0.1 0.2"               
        dyeregion_rad           0.1                         
        dyeregion_radodx        2.5                         
        dyeregion_tstart        0.0                         
        dyeregion_tend          1.0                         
Color assigned to the dye region.
Center coordinates of the dye region sphere.
Radius of the dye region sphere. Unit: [m]
Radius of the dye region sphere as a function of dx, for example, when specified 3.0, implies 3.0*dx.
If both dyeregion_rad and dyeregion_radodx are present, the latter takes precedence.
Start time of dye injection.
End time of dye injection.