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

2.2 General Purpose DEFINE Macros

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.2.1 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.


Table 2.2.1: Quick Reference Guide for General Purpose DEFINE Macros
Function DEFINE Macro Dialog Box Activated In
manipulates variables DEFINE_ADJUST User-Defined Function Hooks
time step size (for time
dependent solutions)
DEFINE_DELTAT
Adaptive Time Step Settings
executes at end of
iteration
DEFINE_EXECUTE_AT_END
User-Defined Function Hooks
executes at end of
an ANSYS FLUENT session
DEFINE_EXECUTE_AT_EXIT
User-Defined Function Hooks
executes from a user-
defined Scheme
routine
DEFINE_EXECUTE_FROM_GUI

N/A

executes when a UDF
library is loaded
DEFINE_EXECUTE_ON_LOADING
N/A
executes after a
case file is read
DEFINE_EXECUTE_AFTER_CASE
N/A
executes after a
data file is read
DEFINE_EXECUTE_AFTER_DATA
N/A
initializes variables DEFINE_INIT User-Defined Function Hooks
executes
asynchronously
DEFINE_ON_DEMAND
Execute On Demand
reads/writes variables
to case and data files
DEFINE_RW_FILE
User-Defined Function Hooks





next up previous contents index Previous: 2.1 Introduction
Up: 2. DEFINE Macros
Next: 2.2.1 DEFINE_ADJUST
Release 12.0 © ANSYS, Inc. 2009-01-14