![]() |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
The UDF interpreter in ANSYS FLUENT supports the following standard C data types:
int | integer number |
long | integer number of increased range |
float | floating point (real) number |
double | double-precision floating point (real) number |
char | single byte of memory, enough to hold a character |
Note that in ANSYS FLUENT, real is a typedef that switches between float for single-precision arithmetic, and double for double-precision arithmetic. Since the interpreter makes this assignment automatically, it is good programming practice to use the real typedef when declaring all float and double data type variables in your UDF.