After you have interpreted (Interpreting UDFs) or compiled (Compiling UDFs) your DEFINE_SDOF_PROPERTIES UDF, the name of the function you supplied as a DEFINE macro argument will become visible and selectable in the Dynamic Mesh Zones dialog box in ANSYS Fluent.
To hook the UDF to ANSYS Fluent, you must first right-click the General branch of the tree and select Transient from the Analysis Type sub-menu.
Setup → General
Analysis Type → Transient
Next, enable the Dynamic Mesh option in the Dynamic Mesh task page.
Setup →
Dynamic Mesh →
Dynamic Mesh
Then, enable the Six DOF option in the Options group box, and open the Dynamic Mesh Zones dialog box (Figure 6.109: The Dynamic Mesh Zones Dialog Box).
Setup →
Dynamic Mesh → Create/Edit...
Select Rigid Body under Type in the Dynamic Mesh Zones dialog box (Figure 6.109: The Dynamic Mesh Zones Dialog Box) and click the Motion Attributes tab. Make sure that the On option in the Six DOF group box is enabled, and select the function name (for example, stage::libudf) from the Six DOF UDF/Properties drop-down list. Click Create then Close.
See
DEFINE_SDOF_PROPERTIES
for
details about DEFINE_SDOF_PROPERTIES functions.