|
[Sponsors] |
February 7, 2011, 09:02 |
access node values in UDFs
|
#1 |
Senior Member
|
Dear friends,
I want to access node velocity components of cells in domain by UDF, but it seems that such functions do not available ! am I right ? Any idea ? Thanks in advance. |
|
February 7, 2011, 20:16 |
|
#2 |
Senior Member
Real Name :)
Join Date: Jan 2010
Location: United States
Posts: 192
Rep Power: 16 |
Amir,
I may be mistaken, but I believe most values are computed and stored at cell and face centroids, not node values (or, if they are, it's only temporarily stored). Regards, ComputerGuy |
|
February 8, 2011, 03:12 |
|
#3 |
Senior Member
|
Thanks for your response,
If you look at mem.h library file, you can find various functions than can retrieve node values e.g. node velocity like NODE_VELOCITY and etc. But their values are not reasonable. |
|
February 8, 2011, 09:40 |
|
#4 |
Senior Member
Join Date: Nov 2009
Posts: 411
Rep Power: 20 |
A possible solution, just an idea, will be to get the values at the cell centers surrounding a node and then you can interpolate the value at the node. There a few interpolation formulas for this, one developed by Frink is based on the inverse distance from the node to the surrounding cells center of gravity.
Do |
|
September 29, 2022, 11:16 |
|
#5 | |
New Member
Yuefan Zhang
Join Date: Sep 2022
Posts: 2
Rep Power: 0 |
Quote:
Hello sir! Is there any specific method,if I interpolate the pressure of the cytoplasm around the node to get the pressure of the node? I really want to know how to do it step by step. Besides, where can I get the interpolation formula developed by Frink. Thanks a lot. Yours sincerely |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
access node values in UDFs | Amir | Fluent UDF and Scheme Programming | 0 | February 6, 2011 16:15 |
max node values exceed max element values in contour plot | jason_t | FLUENT | 0 | August 19, 2009 12:32 |
strange node values @ solid/fluid interface - help | JB | FLUENT | 2 | November 1, 2008 13:04 |
Accessing node values using a UDF | Nico | FLUENT | 2 | December 20, 2007 03:50 |
node based or cell centered Ts values | acboge | FLUENT | 0 | February 6, 2004 07:41 |