You can use N_UDM to access the number of user-defined memory
(UDM) locations that have been used in ANSYS Fluent. The macro takes no arguments, and returns
the integer number of memory locations used. It is defined in
models.h.