how to write a UDF to input temperature at nodes as I.C?
i am new to C programming and is required to write UDF to input temperature at various nodes as Initial boundary conditions.
Assuming that i have all the temperatures at the various nodes, how do i write a UDF so fluent can read it?
Help is much appreciated!
Not sure if this is the best method, but I have created variables in scheme (rp-var-define.......) as a direct command in Fluent and then converted the scheme variable to a c++ variable in my UDF with a standard macro. Fairly straight forward if you have the UDF manual. Good luck.
I'd need to do the same thing as tensun. I am really new to UDFs and I didn't understand exactly what do you mean. Could you please be a bit clearer so that I will at least know where to look in the UDF manual?
Thanks a lot,
|All times are GMT -4. The time now is 16:15.|