![]() |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
UDFs are defined using DEFINE macros (see Chapter 2) and the definitions for DEFINE macros are included in udf.h header file. Consequently, before you can interpret a UDF source file, udf.h will need to be accessible in your path, or saved locally within your working folder .
The location of the udf.h file is:
where
path is the folder in which you have installed
ANSYS FLUENT (by default, the
path is
C:
Program Files), and
is replaced by the appropriate number for the release (e.g.,
9 for
fluent12.0.9).
|
In general, you should not copy
udf.h from the installation area. The compiler is designed to look for this file locally (in your current folder) first. If it is not found in your current folder, the compiler will look in the
![]()
|
|
You should not, under any circumstances, alter the
udf.h file.
|