|
[Sponsors] |
December 17, 2007, 12:48 |
Accessing node values using a UDF
|
#1 |
Guest
Posts: n/a
|
Hi!
I am trying to write a UDF in order to create a file with the node loads. I know that in post processing it is possible to obtain a file with, for example, the pressure at the nodes of a solid boundary, and that FLUENT calculates node values as the average of neighboring cell data. My problem is that i need to obtain node values using a UDF. My question is, what's the best way for accessing node values? In particular, i need to access nodes belonging to a solid boundary. Thank you very much in advance!! Nico |
|
December 17, 2007, 12:59 |
Re: Accessing node values using a UDF *NM*
|
#2 |
Guest
Posts: n/a
|
|
|
December 20, 2007, 03:50 |
Re: Accessing node values using a UDF
|
#3 |
Guest
Posts: n/a
|
Nico,
There is a macro in fluent C_node_loop(..) which loops over the nodes in the selcted thread.Within this loop u can insert a message or printf statement to print it for you. You can use this macro in DEFINE_ON_DEMAND function. Hope this helps |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
UDF Global Node Number ? | C. H. | FLUENT | 1 | November 24, 2006 11:02 |
How to obtain node values in UDF? | Maciej | FLUENT | 0 | October 23, 2006 09:10 |
node based or cell centered Ts values | acboge | FLUENT | 0 | February 6, 2004 07:41 |
printing values from udf!!! | Shekhar | FLUENT | 2 | January 13, 2004 12:49 |
Help: how to get node values with UDF? | Dazhi Guo | FLUENT | 0 | February 4, 2001 01:59 |