|
[Sponsors] |
March 12, 2007, 17:34 |
UDF water evaporation
|
#1 |
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 |
|
|
|
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 |