Once you have defined your field functions, you can manipulate them using the Field Function Definitions Dialog Box (Figure 33.4: The Field Function Definitions Dialog Box). You can display a function definition to be sure that it is correct, delete the function if you decide that it is incorrect and must 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 open the Field Function Definitions Dialog Box, right-click Custom Field Functions (under the Parameters & Customization branch of the tree) and select Manage.... You can also click the Manage... button in the Custom Field Function Calculator Dialog Box.
To open the Field Function Definitions Dialog Box, right-click Custom Field Functions (under the Parameters & Customization branch of the tree) and select Manage.... You can also click the Manage... button in the Custom Field Function Calculator Dialog Box.
The following actions can be performed in the Field Function Definitions Dialog Box:
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.
Important: Be sure that you do not specify a name that is already used
for a standard field function (for example, 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 Select File Dialog Box.
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... ribbon tab item, as described in Reading Scheme Source Files.)