[ANSYS, Inc. Logo] return to home search
next up previous contents index

5.3 Compile a UDF Using the TUI

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.

figure   

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.




next up previous contents index Previous: 5.2 Compiling a UDF
Up: 5. Compiling UDFs
Next: 5.3.1 Set Up the
Release 12.0 © ANSYS, Inc. 2009-01-14