Once you have defined your field functions, you can manipulate them using the
Field Function Definitions dialog box (Figure
31.5.2).
You can display a function definition to be sure that it is correct, delete the function if you decide that it is incorrect and needs to be redefined, or give the function a new name. You can also save custom field functions to a file or read them from a file. The custom field function file allows you to transfer your custom functions between case files.
To check the definition of a function, select it in the
Field Functions list. Its definition will be displayed in the
Definition field. This display is for informational purposes only; you cannot edit it. If you want to change a function definition, you must delete the function and define it again in the
Custom Field Function Calculator dialog box.
To delete a function, select it in the
Field Functions list and click the
Delete button.
To rename a function, select it in the
Field Functions list, enter a new name in the
Name field, and click the
Rename button.
Be sure that you do not specify a name that is already used for a standard field function (e.g.,
velocity-magnitude); you can see a complete list of the predefined field functions in
ANSYS FLUENT by selecting the
display/contours text command and viewing the available choices for
contours of.
To save all of the functions in the
Field Functions list to a file, click the
Save... button and specify the file name in the resulting
Select File dialog box (see Section
2.1.6).
To read custom field functions from a file that you saved as described above, click the
Load... button and specify the file name in the resulting
Select File dialog box. (Custom field function files are valid Scheme functions, and can also be loaded with the
File/Read/Scheme... menu item, as described in Section
4.9.)