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

Nucleation site density

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 22, 2018, 14:46
Default Nucleation site density
  #1
New Member
 
Sai
Join Date: Jul 2018
Posts: 1
Rep Power: 0
rajgopal.sai is on a distinguished road
I am using RPI model to simulate flow boiling, for nucleation site density Lemmert chawla model can be used in Fluent,
The formulation goes as follows:
N=(C (T_w -T_sat)) ^1.805

I wrote the same in an UDF, it did not give me the same results, I am not sure whether I was not able to call the wall temperature or any other issue.
The UDF goes as follows:

DEFINE_BOILING_PROPERTY(site_density,f,t,c0,t0,fro m_index,from_species_index,to_index,to_species_ind ex)
{
int wall_phase = from_index;
real wallsubcool,pro_con,site_density;
Thread **pt = THREAD_SUB_THREADS(t);
real T_SAT = C_STORAGE_R(c0,t0,SV_SAT_TEMPERATURE);
real T_W = F_T(f, pt[wall_phase]);
/* I also tried calling wall temperature by just using F_T(f,t)*/
wallsubcool = (T_W - T_SAT);
pro_con = wallsubcool * 210.0;
site_density= pow(pro_con, 1.805);
}
return site_density;

}

Suggestions please
rajgopal.sai is offline   Reply With Quote

Old   November 27, 2018, 11:44
Default
  #2
New Member
 
Joy Du
Join Date: Nov 2018
Posts: 1
Rep Power: 0
Joy123 is on a distinguished road
Hi, I am also trying to write the same udf for nucleation site density. I am wondering there may be some problems in wall temperature. Have you ever solved this problem?
Joy123 is offline   Reply With Quote

Reply

Tags
boiling modeling udf, nucleationsitedensity, udf boiling property


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 define surface site density? Weiqiang Liu FLUENT 2 June 13, 2020 22:13
bubble nucleation site prediction feitoudaer Main CFD Forum 0 February 20, 2015 11:50
Water subcooled boiling Attesz CFX 7 January 5, 2013 04:32
REAL GAS UDF brian FLUENT 6 September 11, 2006 09:23
Warning 097- AB Siemens 6 November 15, 2004 05:41


All times are GMT -4. The time now is 17:45.