CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   FLUENT (https://www.cfd-online.com/Forums/fluent/)
-   -   how to get the velocity of nodes by UDF? (https://www.cfd-online.com/Forums/fluent/38735-how-get-velocity-nodes-udf.html)

tony November 25, 2005 21:13

how to get the velocity of nodes by UDF?
 
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

RoM November 26, 2005 04:12

Re: how to get the velocity of nodes by UDF?
 
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

tony November 26, 2005 05:16

Re: how to get the velocity of nodes by UDF?
 
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


RoM November 26, 2005 06:03

Re: how to get the velocity of nodes by UDF?
 
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


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