[ANSYS, Inc. Logo] return to home search
next up previous contents index

6.5.1 Hooking DEFINE_CG_MOTION UDFs

After you have compiled (Chapter  5) your DEFINE_CG_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.1).

To hook the UDF to ANSYS FLUENT, you will first need to enable the Dynamic Mesh option in the Dynamic Mesh task page.

figure Dynamic Mesh figure figure Dynamic Mesh

Next, open the Dynamic Mesh Zones dialog box .

figure Dynamic Mesh figure Create/Edit...

Figure 6.5.1: The Dynamic Mesh Zones Dialog Box
figure

Select Rigid Body under Type in the Dynamic Mesh Zones dialog box (Figure  6.5.1) and click the Motion Attributes tab. Finally, select the function name (e.g., piston::libudf) from the Motion UDF/Profile drop-down list, and click Create then Close.

See Section  2.6.1 for details about DEFINE_CG_MOTION functions.


next up previous contents index Previous: 6.5 Hooking Dynamic Mesh
Up: 6.5 Hooking Dynamic Mesh
Next: 6.5.2 Hooking DEFINE_DYNAMIC_ZONE_PROPERTY UDFs
Release 12.0 © ANSYS, Inc. 2009-01-14