32.2. Writing User-Defined Functions

This section describes how to write UDFs, including information about the type of functions that can be included in the definition of a UDF.


Important:  All functions used in a UDF must operate on floating point numbers. All numbers must include a decimal point.


UDFs can be passed up to 10 variables. These passed variables should be named in the first line of your UDF. You will define the correspondence between these variables and Ansys Polyflow variables inside Ansys Polydata, as described in Using User-Defined Functions.