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

6.2.18 Hooking DEFINE_SOLAR_INTENSITY UDFs

After you have interpreted (Chapter  4) or compiled (Chapter  5) your DEFINE_SOLAR_INTENSITY UDF, the name of the function you supplied in the argument of the DEFINE macro will become visible and selectable in the User-Defined Functions dialog box in ANSYS FLUENT.

To hook the UDF, first open the Radiation Model dialog box (Figure  6.2.24).

figure Models figure figure Radiation figure Edit...

Figure 6.2.24: The Radiation Model Dialog Box
figure

Select Discrete Ordinates (DO) from the Model list, and select Solar Ray Tracing in the Solar Load group box. In the Illumination Parameters group box that appears, select user-defined from the Direct Solar Irradiation or Diffuse Solar Irradiation drop-down list to open the User-Defined Functions dialog box (Figure  6.2.25).

Figure 6.2.25: The User-Defined Functions Dialog Box
figure

Select the function name (e.g., sol_direct_intensity::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., Direct Solar Irradiation) in the Radiation Model dialog box (Figure  6.2.24).

See Section  2.3.18 for details about DEFINE_SOLAR_INTENSITY functions.


next up previous contents index Previous: 6.2.17 Hooking DEFINE_SCAT_PHASE_FUNC UDFs
Up: 6.2 Hooking Model-Specific UDFs
Next: 6.2.19 Hooking DEFINE_SOURCE UDFs
Release 12.0 © ANSYS, Inc. 2009-01-14