How to get the Global Node Number by UDF : Fluent
I'm trying to get the global node number by Fluent UDF. I included following lines in my UDF code.
/*------------*/ face_t f; Node *v; Thread *tf int n;
v=F_NODE(f,tf,n); } }end_f_loop(f,tf) /*------------*/
But, I don't know which value is global node number. Maybe, v or *v or n is global number, but the value is bigger than the number of nodes. Please give me help.
Based on the C programming language, *v is the global number of the node.
The variable v is a pointer, which stores the address of the memory of the certain global number.
|All times are GMT -4. The time now is 06:09.|