23.7.8. Sampling of Trajectories

Particle states (position, velocity, diameter, temperature, and mass flow rate) can be written to files at various boundaries and planes (lines in 2D) using the Sample Trajectories Dialog Box (Figure 23.47: The Sample Trajectories Dialog Box).

 Results → Reports → Discrete Phase → Sample Edit...

Figure 23.47:  The Sample Trajectories Dialog Box

The Sample Trajectories Dialog Box

The procedure for generating files containing the particle samples is listed below:

  1. Select the injections to be tracked in the Release From Injections list.

  2. Select the surfaces at which samples will be written These can be boundaries from the Boundaries list or planes from the Planes list (in 3D) or lines from the Lines list (in 2D).

  3. Click the Compute button. Note that for unsteady particle tracking, the Compute button will become the Start button (to initiate sampling) or a Stop button (to stop sampling).

Clicking the Compute button will cause the particles to be tracked and their status to be written to files when they encounter selected surfaces. The file names will be formed by appending .dpm to the surface name.


Note:  If you select a face zone in a mesh interface for sampling, Fluent will sample the particles on both of the interface zones and will write out a total of three files. Two of these files correspond to the particles that encounter each respective interface zone from upstream. The third file contains the complete set of particles that have crossed the mesh interface pair (via either interface zone).


For unsteady particle tracking, clicking the Start button will open the files and write the file header sections. If the solution is advanced in time by computing some time steps, the particle trajectories will be updated and the particle states will be written to the files as they cross the selected planes or boundaries. Clicking the Stop button will close the files and end the sampling.

For stochastic tracking, it may be useful to repeat this process multiple times and append the results to the same file, while monitoring the sample statistics at each update. To do this, enable the Append Files option before repeating the calculation (clicking Compute). Similarly, you can cause erosion and accretion rates to be accumulated for repeated trajectory calculations by turning on the Accumulate Erosion/Accretion Rates option. (See also Postprocessing of Erosion/Accretion Rates.) The format and the information written for the sample output can also be controlled through a user-defined function, which can be selected in the Output drop-down list. More information about user-defined functions can be found in the Fluent Customization Manual.

When sampling steady particle tracks the generated sample files can be used as injection file in a file injection. Both files use a similar file format.


Release 18.2 - © ANSYS, Inc. All rights reserved.