Once you have interpreted (Chapter 4) or compiled (Chapter 5) your DEFINE_GRID_MOTION 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.3). To hook the UDF to FLUENT, you will first need to enable the Dynamic Mesh model.
Define Dynamic Mesh Parameters...
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 User-Defined under Type in the Dynamic Mesh Zones panel (Figure 6.5.3) and click on the Motion Attributes tab. Choose the function name (e.g., beam) from the Mesh Motion UDF drop-down list. Click Create then Close.
See Section 2.6.3 for details about DEFINE_GRID_MOTION functions.