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