CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   FLUENT (https://www.cfd-online.com/Forums/fluent/)
-   -   access node values in UDFs (https://www.cfd-online.com/Forums/fluent/84713-access-node-values-udfs.html)

Amir February 7, 2011 08:02

access node values in UDFs
 
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.

ComputerGuy February 7, 2011 19:16

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

Amir February 8, 2011 02:12

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.

DoHander February 8, 2011 08:40

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

Elma September 29, 2022 10:16

Quote:

Originally Posted by DoHander (Post 294205)
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


All times are GMT -4. The time now is 12:13.