|
[Sponsors] |
February 27, 2005, 05:13 |
urgent help in udf
|
#1 |
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
|
|
February 28, 2005, 05:40 |
Re: urgent help in udf
|
#2 |
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) } |
|
March 1, 2005, 23:17 |
Re: urgent help in udf
|
#3 |
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
|
|
|
|
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 |