![]() |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
After you have interpreted (Chapter 4) or compiled (Chapter 5) your DEFINE_DPM_PROPERTY UDF, the name of the function you supplied as a DEFINE macro argument will become visible and selectable in the User-Defined Functions dialog box.
To hook the UDF to ANSYS FLUENT, you will first need to open the Materials task page.
Materials
Select a material from Materials list and click the Create/Edit... button to open the Create/Edit Materials dialog box (Figure 6.4.9).
Select user-defined in the drop-down list for one of the properties (e.g., Particle Emissivity) in the Create/Edit Materials dialog box , in order to open the User-Defined Functions dialog box (Figure 6.4.10).
|
In order for the
Particle Emissivity property to be displayed in the sample dialog box shown above, you must enable a radiation model, turn on the
Particle Radiation Interaction option in the
Discrete Phase Model dialog box, and introduce a particle injection in the
Injections dialog box.
|
Select the function name (e.g., coal_emissivity::libudf) from the list of UDFs displayed in the User-Defined Functions dialog box, and click OK. The name of the function will subsequently be displayed under the selected property (e.g., Particle Emissivity) in the Create/Edit Materials dialog box.
See Section 2.3.16 for details about DEFINE_DPM_PROPERTY functions.