N_UDS
You can use N_UDS to access the number of user-defined scalar (UDS) transport equations that have been specified in ANSYS Fluent. The macro takes no arguments and returns the integer number of equations. It is defined in models.h.
models.h
Release 18.2 - © ANSYS, Inc. All rights reserved.