CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > FLUENT

access node values in UDFs

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   February 7, 2011, 09:02
Default access node values in UDFs
  #1
Senior Member
 
Amir's Avatar
 
Amir
Join Date: May 2009
Location: Shiraz, Iran
Posts: 739
Blog Entries: 1
Rep Power: 14
Amir is on a distinguished road
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.
Amir is offline   Reply With Quote

Old   February 7, 2011, 20:16
Default
  #2
Senior Member
 
Real Name :)
Join Date: Jan 2010
Location: United States
Posts: 180
Rep Power: 7
ComputerGuy is on a distinguished road
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
ComputerGuy is offline   Reply With Quote

Old   February 8, 2011, 03:12
Default
  #3
Senior Member
 
Amir's Avatar
 
Amir
Join Date: May 2009
Location: Shiraz, Iran
Posts: 739
Blog Entries: 1
Rep Power: 14
Amir is on a distinguished road
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.
Amir is offline   Reply With Quote

Old   February 8, 2011, 09:40
Default
  #4
Senior Member
 
Join Date: Nov 2009
Posts: 411
Rep Power: 10
DoHander is on a distinguished road
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
DoHander is offline   Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


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 11: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


All times are GMT -4. The time now is 19:45.