After you have interpreted (Interpreting UDFs) or compiled (Compiling UDFs) your DEFINE_SOLIDIFICATION_PARAMS 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 Solidification and Melting dialog box (Figure 6.52: The Solidification and Melting Dialog Box).
Setup → Models → Solidification & Melting
Edit...
Enable Solidification/Melting under Model, and select Scheil Rule from the Options group box. Enable Back Diffusion and select user-defined from the Back Diffusion Parameter drop-down list to open the User-Defined Functions dialog box (Figure 6.53: The User-Defined Functions Dialog Box). You can also select user-defined from the Mush Zone Parameter drop-down list.
Select the function name (for example, user_solid_params::libudf) from the list of UDFs displayed in the User-Defined Functions dialog box and click . The name of the function will subsequently be displayed under the selected property.
See
DEFINE_SOLIDIFICATION_PARAMS
for
details about DEFINE_SOLIDIFICATION_PARAMS functions.