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

6.2.17 Hooking DEFINE_SCAT_PHASE_FUNC UDFs

After you have interpreted (Chapter  4) or compiled (Chapter  5) your DEFINE_SCAT_PHASE_FUNC 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 in ANSYS FLUENT.

To hook the UDF to ANSYS FLUENT, first make sure that the Discrete Ordinates (DO) model is selected in the Radiation Model dialog box. Then open the Materials task page.

figure Materials

Select the appropriate material from the Material selection list and click the Create/Edit... button to open the Create/Edit Materials dialog box (Figure  6.2.22).

Figure 6.2.22: The Create/Edit Materials Dialog Box
figure

Open the User-Defined Functions dialog box (Figure  6.2.23) from the Create/Edit Material dialog box by selecting user-defined in the drop-down list for the Scattering Phase Function property. Then, select the function name (e.g., ScatPhiB2) 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 Scattering Phase Function property in the Create/Edit Materials dialog box.

Figure 6.2.23: The User-Defined Functions Dialog Box
figure

See Section  2.3.17 for details about DEFINE_SCAT_PHASE_FUNC functions.


next up previous contents index Previous: 6.2.16 Hooking DEFINE_PROPERTY UDFs
Up: 6.2 Hooking Model-Specific UDFs
Next: 6.2.18 Hooking DEFINE_SOLAR_INTENSITY UDFs
Release 12.0 © ANSYS, Inc. 2009-01-14