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

how to get the velocity of nodes by UDF?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 25, 2005, 22:13
Default how to get the velocity of nodes by UDF?
  #1
tony
Guest
 
Posts: n/a
hi,everyone I know the velocity of cell in fluent can be got by C_U(), now i am wonder how to get the velocity of node of one cell. thanks!

Tony
  Reply With Quote

Old   November 26, 2005, 05:12
Default Re: how to get the velocity of nodes by UDF?
  #2
RoM
Guest
 
Posts: n/a
I think there is no macro to acess the velocity at nodes. You can interpolate node values from cell values. Calculate a vector (dr) from the cell center to your node and the node value as C_U(c,t)+NV_DOT(C_U_G(c,t),dr).

RoM
  Reply With Quote

Old   November 26, 2005, 06:16
Default Re: how to get the velocity of nodes by UDF?
  #3
tony
Guest
 
Posts: n/a
Dear RoM:

Thank you so much for your reply. I am wonder whether I can define the information of a node such as velocity, temperature and etc.Because I want to define a cell's information by the information of its' node information. I am wonder how I can achieve the purpose. Would you pls give me your email?

Best Regards

Tony

  Reply With Quote

Old   November 26, 2005, 07:03
Default Re: how to get the velocity of nodes by UDF?
  #4
RoM
Guest
 
Posts: n/a
Sorry, I had a typo in my last email adress. It should work now. Could you please post some more information about your project? From my point of view its dangerous to redefine cell values from node (or face) vlaues since the solver only uses cell values and you will probalbly violate some conservation equations by redefing cell values.

RoM
  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
please help UDF for velocity profile in y-directio raju Fluent UDF and Scheme Programming 6 April 13, 2019 00:21
UDF for Inlet velocity Mijin Kim FLUENT 0 September 28, 2009 05:50
Update nodes with a ON_DEMAND UDF mrestrepo30 FLUENT 0 July 13, 2009 15:36
UDF component in Cyliderical Velocity? Hongchan Kim FLUENT 3 April 24, 2001 13:20
Nodes positions + velocity and pressure values at the nodes Lily Kabanj FLUENT 1 March 13, 2000 20:21


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