23.2.6. User-Defined Functions

User-defined functions can be used to customize the discrete phase model to include additional body forces, modify interphase exchange terms (sources), calculate or integrate scalar values along the particle trajectory, and incorporate nonstandard erosion rate definitions. More information about user-defined functions can be found in the Fluent Customization Manual.

Figure 23.7:  The Discrete Phase Model Dialog Box and the UDFs

The Discrete Phase Model Dialog Box and the UDFs

In the Discrete Phase Model Dialog Box, under User-Defined Functions in the UDF tab, there are drop-down lists labeled Body Force, Scalar Update, Source, Spray Collide Function, and DPM Time Step (Figure 23.7: The Discrete Phase Model Dialog Box and the UDFs). If Erosion/Accretion is enabled under the Physical Models tab, there will be an additional drop-down list labeled Erosion/Accretion. The Impingement Model, Film Regime and Splashing Distribution drop-down lists will become available if either wall-film is selected for Boundary Cond. Type in the DPM tab of the Wall dialog box or the Eulerian Wall Film model is enabled. Note that user-defined Impingement Model and Splashing Distribution will overwrite the impingement/splashing model selected for the Lagrangian or Eulerian wall film boundary condition.

These lists will show available user-defined functions that can be selected to customize the discrete phase model (see Fluent Customization Manual for more information).

In addition, you can specify a Number of Scalars which are allocated to each particle and can be used to store information when implementing your own particle models.


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