The DEFINE macros presented in this
section implement general solver functions that are independent of
the model(s) you are using in ANSYS Fluent. Table 2.1: Quick Reference Guide for General Purpose DEFINE Macros provides a quick reference
guide to these DEFINE macros, the functions
they are used to define, and the dialog boxes where they are activated
or “hooked" to ANSYS Fluent. Definitions of each DEFINE macro are contained in udf.h can be found
in Appendix B: DEFINE Macro Definitions.
Table 2.1: Quick Reference Guide for General Purpose DEFINE Macros
|
Function |
|
Dialog Box Activated In |
|---|---|---|
|
manipulates variables |
|
User-Defined Function Hooks |
|
time step size (for time dependent solutions) |
|
Adaptive Time Step Settings |
|
executes at end of iteration |
|
User-Defined Function Hooks |
|
executes at end of an ANSYS Fluent session |
|
User-Defined Function Hooks |
|
executes from a user- defined Scheme routine |
|
N/A |
|
executes when a UDF library is loaded |
|
N/A |
|
executes after a case file is read |
|
N/A |
|
executes after a data file is read |
|
N/A |
|
initializes variables |
|
User-Defined Function Hooks |
|
executes asynchronously |
|
Execute On Demand |
|
returns a value for a user defined report definition |
|
User Defined Report Definition |
|
reads/writes variables to case and data files |
|
User-Defined Function Hooks |