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