|
[Sponsors] |
how to write a UDF to input temperature at nodes as I.C? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
November 10, 2010, 04:55 |
how to write a UDF to input temperature at nodes as I.C?
|
#1 |
New Member
ray
Join Date: Nov 2010
Posts: 9
Rep Power: 16 |
Hi guys,
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! rgds |
|
November 10, 2010, 12:35 |
|
#2 |
Member
Allan Walsh
Join Date: Mar 2009
Posts: 56
Rep Power: 17 |
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.
|
|
July 21, 2013, 11:44 |
|
#3 |
Senior Member
Join Date: Nov 2011
Posts: 109
Rep Power: 15 |
Dear Allan,
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, Rob |
|
Tags |
cfd, fluent, temperature, udf |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Calculation of the Governing Equations | Mihail | CFX | 7 | September 7, 2014 07:27 |
Update nodes with a ON_DEMAND UDF | mrestrepo30 | Fluent UDF and Scheme Programming | 0 | July 13, 2009 16:36 |
udf for varying inlet temperature | aravind | FLUENT | 0 | October 27, 2008 11:08 |
udf for repatching a temperature in a volume | McGregor | FLUENT | 4 | April 10, 2003 05:28 |
UDF to write interp files | Karl | FLUENT | 6 | February 7, 2002 13:10 |