|
[Sponsors] |
How to get the Global Node Number by UDF : Fluent |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
October 8, 2007, 18:37 |
How to get the Global Node Number by UDF : Fluent
|
#1 |
Guest
Posts: n/a
|
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; begin_f_loop(f,tf){ f_node_loop(f,tf,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. |
|
October 23, 2015, 11:55 |
|
#2 |
New Member
Join Date: Sep 2015
Posts: 1
Rep Power: 0 |
Hi,
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. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Transient simulation not converging | skabilan | OpenFOAM Running, Solving & CFD | 14 | December 17, 2019 00:12 |
How to write k and epsilon before the abnormal end | xiuying | OpenFOAM Running, Solving & CFD | 8 | August 27, 2013 16:33 |
Could anybody help me see this error and give help | liugx212 | OpenFOAM Running, Solving & CFD | 3 | January 4, 2006 19:07 |
[Commercial meshers] Trimmed cell and embedded refinement mesh conversion issues | michele | OpenFOAM Meshing & Mesh Conversion | 2 | July 15, 2005 05:15 |
UDF of Zimont model in fluent | Z | Main CFD Forum | 0 | February 17, 2005 04:07 |