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

access node values in UDFs

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread 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: Montreal, QC
Posts: 735
Blog Entries: 1
Rep Power: 23
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: 192
Rep Power: 16
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: Montreal, QC
Posts: 735
Blog Entries: 1
Rep Power: 23
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: 20
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

Old   September 29, 2022, 11:16
Default
  #5
New Member
 
Yuefan Zhang
Join Date: Sep 2022
Posts: 2
Rep Power: 0
Elma is on a distinguished road
Quote:
Originally Posted by DoHander View Post
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

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
Elma is offline   Reply With Quote

Reply


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 Off
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 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


All times are GMT -4. The time now is 20:48.