![]() |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
After you have interpreted (Chapter 4) or compiled (Chapter 5) 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 will first need to select Transient from the Time list in the Solver group box of the General task page.
General
Transient
Next, enable the Dynamic Mesh option in the Dynamic Mesh task page.
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.5.6).
Dynamic Mesh
Create/Edit...
Select Rigid Body under Type in the Dynamic Mesh Zones dialog box (Figure 6.5.6) and click the Motion Attributes tab. Make sure that the On option in the Six DOF Solver Options group box is enabled, and select the function name (e.g., stage::libudf) from the Six DOF UDF drop-down list. Click Create then Close.
See Section 2.6.5 for details about DEFINE_SDOF_PROPERTIES functions.