6.2.14. Hooking DEFINE_ZONE_MOTION UDFs

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.

Figure 6.30:  The Fluid Dialog Box for Frame Motion

The Fluid Dialog Box for Frame Motion

Figure 6.31:  The Fluid Dialog Box for Mesh Motion

The Fluid Dialog Box for Mesh Motion

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.


Release 18.2 - © ANSYS, Inc. All rights reserved.