![]() |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
This section presents the steps for interpreting a source file in ANSYS FLUENT. After it has been interpreted, the names of UDFs contained within the source file will appear in drop-down lists in graphics dialog boxes in ANSYS FLUENT.
The general procedure for interpreting a source file is as follows:
Define
User-Defined
Functions
Interpreted...
In the Select File dialog box, select the desired file (e.g., udfexample.c) and click OK. The Select File dialog box will close and the complete path to the file you selected will appear in the Source File Name text box in the Interpreted UDFs dialog box (Figure 4.2.1).
If the compilation is successful and you have enabled Display Assembly Listing, then the assembler code will be displayed in the console. If you chose not to display the listing and the compilation is successful, then the CPP Command Name that was executed will be displayed the console. If the compilation is unsuccessful, then ANSYS FLUENT will report an error and you will need to debug your program. See Section 4.3. You can also view the compilation history in the log file that is saved in your working folder.