![]() |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
After 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 dialog box (Figure 6.5.5).
To hook the UDF to ANSYS FLUENT, you will first need to enable the Dynamic Mesh option in the Dynamic Mesh task page.
Dynamic Mesh
Dynamic Mesh
Next, open the Dynamic Mesh Zones dialog box .
Dynamic Mesh
Create/Edit...
Select User-Defined under Type in the Dynamic Mesh Zones dialog box (Figure 6.5.5) and click the Motion Attributes tab. Select the function name (e.g., beam::libudf) from the Mesh Motion UDF drop-down list. Click Create then Close.
See Section 2.6.4 for details about DEFINE_GRID_MOTION functions.