CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   FLUENT (http://www.cfd-online.com/Forums/fluent/)
-   -   what's mean enum in udf (http://www.cfd-online.com/Forums/fluent/31202-whats-mean-enum-udf.html)

zhu April 4, 2003 04:07

what's mean enum in udf
 
hi, all, what's mean enum in UDF sample application, the low is the sample in postprocessing using user_defined scalars.

/***********************************************/

/* UDF for computing the magnitude of the gradient of T^4 */

/**********************************************/

#include "udf.h"

/* Define which user-defined scalars to use. */

enum

{

T4,

MAG_GRAD_T4,

N_REQUIRED_UDS

};

.

.

.

the low of the application is ommitted.

would you have free time, please tell me, thanks in advance

Murali April 4, 2003 12:15

Re: what's mean enum in udf
 
I think enum is the number of user defined scalars.

Murali

zhu April 7, 2003 03:20

thanks
 
thanks for your response, Murali. I have found enum in some example, i yet don't know what's mean enum. i will work hard for this. zhu


All times are GMT -4. The time now is 15:02.