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

UDF water evaporation

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 12, 2007, 17:34
Default UDF water evaporation
  #1
emanuele
Guest
 
Posts: n/a
hello. In my evaporation model i have written this udf

DEFINE_SOURCE(liq_src, cell, pri_th, dS, eqn)

{

Thread *mix_th, *sec_th;

real m_dot_l;

mix_th = THREAD_SUPER_THREAD(pri_th);

sec_th = THREAD_SUB_THREAD(mix_th, 1);

if(C_T(cell, mix_th)>=T_SAT){

m_dot_l = -0.1*C_VOF(cell, pri_th)*C_R(cell, pri_th)* fabs(C_T(cell, pri_th) - T_SAT)/T_SAT;

dS[eqn] = -0.1*C_R(cell, pri_th)* fabs(C_T(cell, pri_th) - T_SAT)/T_SAT;

}

else {

m_dot_l = 0.1*C_VOF(cell, sec_th)*C_R(cell, sec_th)* fabs(T_SAT-C_T(cell,mix_th))/T_SAT;

dS[eqn] = 0.;

}

return m_dot_l;

}

The model works but the evaporation is too much fast ( it is completed after only 2 second ) I have tried to use 0,0001 instead 0,1 as relax factor in udf instruction but there aren't many differences in result. What can i change in udf to increase evaporation time?

Thanks a lot
  Reply With Quote

Reply


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
How to simulate the process of water evaporation by UDF? qiyang860908 Fluent UDF and Scheme Programming 10 January 9, 2015 14:59
I need UDF file and tutorial for pool boiling of water omid_h Fluent UDF and Scheme Programming 1 July 24, 2013 10:45
evaporation from open water surfaces nouzha FLUENT 0 December 17, 2009 16:22
Mixture model - water droplet + air - EVAPORATION bohis FLUENT 4 January 25, 2008 12:04
water evaporation Dai FLUENT 3 September 25, 2003 06:02


All times are GMT -4. The time now is 19:13.