Once 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 panel (Figure 6.5.4) in FLUENT. To hook the UDF to FLUENT, you will first need to enable the Dynamic Mesh model.
Define Dynamic Mesh Parameters...
To enable the model, select Dynamic Mesh under Model and click OK.
Dynamic Mesh panel will be accessible only when you choose
Unsteady as the time method in the
Next, open the Dynamic Mesh Zones panel .
Define Dynamic Mesh Zones...
Select Rigid Body under Type in the Dynamic Mesh Zones panel (Figure 6.5.4) and click on the Motion Attributes tab. Choose the function name (e.g., stage) from the Six DOF UDF drop-down list. Click Create then Close.
See Section 2.6.4 for details about DEFINE_SDOF_PROPERTIES functions.