![]() |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
After you have interpreted (Chapter 4) or compiled (Chapter 5) your DEFINE_DPM_OUTPUT UDF, the name of the function you supplied as a DEFINE macro argument will become visible and selectable in the Sample Trajectories dialog box (Figure 6.4.8) in ANSYS FLUENT.
In order to hook the UDF, you must first set up the discrete phase model (e.g., create a particle injection). After you have run the calculation and generated data, open the Sample Trajectories dialog box (Figure 6.4.8).
Reports
Sample
Set Up...
Select the appropriate injection in the Release From Injections list, indicate where the sample will be written (e.g., make a selection in the Lines list), and select the function name (e.g., discrete_phase_sample::libudf) from the Output drop-down list under User-Defined Functions. Then click Compute (for steady calculations) or Start (for transient calculations).
See Section 2.5.8 for details about DEFINE_DPM_OUTPUT functions.