Accessing node values using a UDF
I am trying to write a UDF in order to create a file with the node loads. I know that in post processing it is possible to obtain a file with, for example, the pressure at the nodes of a solid boundary, and that FLUENT calculates node values as the average of neighboring cell data. My problem is that i need to obtain node values using a UDF. My question is, what's the best way for accessing node values? In particular, i need to access nodes belonging to a solid boundary.
Thank you very much in advance!!
Re: Accessing node values using a UDF *NM*
Re: Accessing node values using a UDF
There is a macro in fluent C_node_loop(..) which loops over the nodes in the selcted thread.Within this loop u can insert a message or printf statement to print it for you. You can use this macro in DEFINE_ON_DEMAND function.
Hope this helps
|All times are GMT -4. The time now is 16:33.|