![]() |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
The first step in compiling a UDF source file using the text user interface (TUI) involves setting up the folder structure where the shared (compiled) library will reside, for each of the versions of ANSYS FLUENT you wish to run (e.g., 2d, 3d). You will then modify the file named makefile to setup source file parameters. Subsequently, you will execute the Makefile which compiles the source file and builds the shared library from the resulting object files. Finally, you will load the UDF library into ANSYS FLUENT. Using the TUI option allows you the added advantage of building a shared library for precompiled object file(s) that are derived from non- ANSYS FLUENT sources (e.g., .o objects from .f sources). See Section 5.4 for details.
|
Note that if you are running serial or parallel
ANSYS FLUENT on a Windows system and intend to compile a UDF, then you must have Microsoft Visual Studio installed on your machine, preferably on the
C: drive.
|