[ANSYS, Inc. Logo] return to home search
next up previous contents index

6.2.10 Hooking DEFINE_IGNITE_SOURCE UDFs

After you have compiled (Chapter  5) your DEFINE_IGNITE_SOURCE UDF, the name of the function you supplied as a DEFINE macro argument will become visible and selectable in the User-Defined Function Hooks dialog box (Figure  6.2.12) in ANSYS FLUENT.

To hook the UDF to ANSYS FLUENT, first open the General task page.

figure General

Select Pressure-Based from the Type list, and select Transient from the Time list.

Then, select a turbulence model in the Viscous Model dialog box.

figure Models figure figure Viscous Model figure Edit...

Next, set up an appropriate reaction model in the Species Model dialog box.

figure Models figure figure Species figure Edit...

Select either the Premixed Combustion or the Partially Premixed Combustion model in the Species Model dialog box and click OK.

Then open the Autoignition Model dialog box.

figure Models figure figure Autoignition figure Edit...

Select the Knock Model from the Model list in the Autoignition Model dialog box, and click OK.

Next, open the User-Defined Function Hooks dialog box. (Figure  6.2.12)

Define $\rightarrow$ User-Defined $\rightarrow$ Function Hooks...

Figure 6.2.12: The User-Defined Function Hooks Dialog Box
figure

Select the function name (e.g., ign_udf_src::libudf) in the Ignition Source drop-down list in the User-Defined Function Hooks dialog box, and click OK.

See Section  2.3.10 for details about DEFINE_IGNITE_SOURCE functions.


next up previous contents index Previous: 6.2.9 Hooking DEFINE_HEAT_FLUX UDFs
Up: 6.2 Hooking Model-Specific UDFs
Next: 6.2.11 Hooking DEFINE_NET_REACTION_RATE UDFs
Release 12.0 © ANSYS, Inc. 2009-01-14