![]() |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
After you have interpreted (Chapter 4) or compiled (Chapter 5) your DEFINE_DPM_VP_EQUILIB UDF, the name of the function you supplied as a DEFINE macro argument will become visible and selectable from the Create/Edit Materials dialog box in ANSYS FLUENT.
To hook the UDF, first set up your species transport and combustion models in the Species Model dialog box.
Models
Species
Edit...
Then, create a particle injection using the Injections dialog box.
Define
Injections...
Click Create in the Injections dialog box to open the Set Injection Properties dialog box. Set up the particle injection, making sure to select Multicomponent for the Particle Type.
Next, open the Materials task page.
Materials
Select the appropriate material in the Materials list (e.g., particle-mixture-template) and click Create/Edit to open the Create/Edit Materials dialog box (Figure 6.4.16).
Select user-defined from the drop-down list for Vapor-Particle-Equilibrium in the Properties group box. This will open the User-Defined Functions dialog box. Select the UDF name (e.g., raoult_vp::libudf) from the list of UDFs displayed and click OK. Then click Change/Create in the Create/Edit Materials dialog box.
See Section 2.5.15 for details about DEFINE_DPM_VP_EQUILIBRIUM functions.