![]() |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
You can store values computed by your UDF in memory so that they can be retrieved later, either by a UDF or for postprocessing within ANSYS FLUENT. In order to have access to this memory, you will need to allocate memory by specifying the Number of User-Defined Memory Locations in the User-Defined Memory dialog box (Figure 6.1.13).
Define
User-Defined
Memory...
The macros C_UDMI or F_UDMI can be used in your UDF to access a particular user-defined memory location in a cell or face, respectively. See Sections 3.2.3 and 3.2.4 for details.
Field values that have been stored in user-defined memory will be saved to the data file when you next write one. These fields will also appear in the User Defined Memory... category in the drop-down lists in ANSYS FLUENT's postprocessing dialog boxes. They will be named User Memory 0, User Memory 1, etc., based on the memory location index. The total number of memory locations is limited to 500. For large numbers of user-defined memory locations, system memory requirements will increase.