CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT > Fluent UDF and Scheme Programming

how to write a UDF to input temperature at nodes as I.C?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 10, 2010, 03:55
Post 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: 15
tensun is on a distinguished road
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
tensun is offline   Reply With Quote

Old   November 10, 2010, 11:35
Default
  #2
Member
 
Allan Walsh
Join Date: Mar 2009
Posts: 56
Rep Power: 17
Allan Walsh is on a distinguished road
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.
Allan Walsh is offline   Reply With Quote

Old   July 21, 2013, 10:44
Default
  #3
Senior Member
 
Join Date: Nov 2011
Posts: 109
Rep Power: 14
robboflea is on a distinguished road
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
robboflea is offline   Reply With Quote

Reply

Tags
cfd, fluent, temperature, udf


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Calculation of the Governing Equations Mihail CFX 7 September 7, 2014 06:27
Update nodes with a ON_DEMAND UDF mrestrepo30 Fluent UDF and Scheme Programming 0 July 13, 2009 15:36
udf for varying inlet temperature aravind FLUENT 0 October 27, 2008 10:08
udf for repatching a temperature in a volume McGregor FLUENT 4 April 10, 2003 04:28
UDF to write interp files Karl FLUENT 6 February 7, 2002 12:10


All times are GMT -4. The time now is 05:54.