User-defined functions (UDFs) allow you to customize FLUENT and can significantly enhance its capabilities. This UDF Manual presents detailed information on how to write, compile, and use UDFs in FLUENT. Examples have also been included, where available. General information about C programming basics is included in an appendix.
Information in this manual is presented in the following chapters:
This document does not imply responsibility on the part of Fluent Inc. for the accuracy or stability of solutions obtained using UDFs that are either user-generated or provided by Fluent Inc. Support for current license holders will be limited to guidance related to communication between a UDF and the FLUENT solver. Other aspects of the UDF development process that include conceptual function design, implementation (writing C code), compilation and debugging of C source code, execution of the UDF, and function design verification will remain the responsibility of the UDF author.
UDF compiled libraries are specific to the computer architecture being used and the version of the FLUENT executable being run and must be rebuilt any time FLUENT is upgraded, your operating system changes, or the job is run on a different type of computer. Note that UDFs may need to be updated with new versions of FLUENT.