CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > FLUENT

urgent help in udf

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   February 27, 2005, 06:13
Default urgent help in udf
  #1
Rama krishna
Guest
 
Posts: n/a
hi i want to maintain a constant temperature for a particular domain named hotpool in flunet can any one tell me the how to write the udf code for that using define_adjust (i think) please
  Reply With Quote

Old   February 28, 2005, 06:40
Default Re: urgent help in udf
  #2
Andrew Garrard
Guest
 
Posts: n/a
If your temperature is constant, then why do you need a UDF?

If actually do need a UDF you could use something like

DEFINE_ADJUST(name, d)

{

cell_t c;

Thread *thread = Lookup_Thread(d, zone_ID);

begin_c_loop(c, thread)

{

C_T(c, thread) = your_temperature;

}

end_c_loop(c, thread) }
  Reply With Quote

Old   March 2, 2005, 00:17
Default Re: urgent help in udf
  #3
Rama krishna
Guest
 
Posts: n/a
thank you for quick response i will tell you my problem completely sir my geometry a is a heat exchanger which will be submerged in a hotpool of liquid sodium and the in let and outlet of the the heat exchanger shell are porus in nature. so cold liquid passes through the tubes and hot liquid comes in contact with the tubes thru the porus inlet. and gets cooled. so in order to maintain the natural convection current eaither i have to give a heat source boundery condition in the hotpool or i have to maintain the temperature of the hotpool constant for each and every itiration. so please kindly help me sir
  Reply With Quote

Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Fluent (ANSYS12) UDF Help, PLEASE! Urgent! ANITIX87 FLUENT 21 April 12, 2011 03:55
Urgent, Urgent, a UDF problem, PLEASE HELP!!! Max FLUENT 1 September 24, 2010 20:30
Urgent! UDF error "implicit declaration of function" ivanbuz Fluent UDF and Scheme Programming 3 June 18, 2010 05:46
Urgent! UDF error "implicit declaration of function" ivanbuz FLUENT 13 June 17, 2010 18:11
URGENT ! UDF ERROR! Prateep Chatterjee FLUENT 6 October 16, 2001 19:20


All times are GMT -4. The time now is 11:20.