After you have interpreted (Interpreting UDFs) or compiled (Compiling UDFs) your DEFINE_ZONE_MOTION UDF, the name of the function you supplied as a DEFINE macro argument will become visible and selectable in the Fluid or Solid dialog boxes in ANSYS Fluent,
under the Reference Frame tab and the Mesh Motion tab if the Frame Motion and Mesh Motion options are enabled, respectively.
Setup →
Cell Zone Conditions
Select the fluid or solid zone and click the Edit... button to open the Fluid or Solid dialog box.
Next, select the UDF from the Zone Motion Function drop-down list in the Fluid or Solid dialog box.
See
DEFINE_ZONE_MOTION
for details
about DEFINE_ZONE_MOTION functions.