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

3 phases vof evaporation model

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 22, 2022, 09:00
Default 3 phases vof evaporation model
  #1
New Member
 
Join Date: Oct 2022
Posts: 12
Rep Power: 4
cfd_Matrix is on a distinguished road
Hello everybody. I'm trying to run a cfd simulation of evaporation of water in water/ mercury mixture with air as primary phase , water as 1st secondary phase, and mercury as 2nd secondary phase, but cant see any change as if therse no heat source applied, Could anyone tell me what change to make for the three phase evapotion problem.
Thanks for any help!


DEFINE_SOURCE(enrg_src,cell,mix_th,dS,eqn) /*energy source udf*/
{
real enrg;
Thread *pri_th, *sec_th;
pri_th = THREAD_SUB_THREAD(mix_th,0);
sec_th = THREAD_SUB_THREAD(mix_th,1);
enrg = 0.0;
if (C_T(cell,sec_th)>T_SAT && C_VOF(cell, sec_th) != 0.0 && C_VOF(cell, sec_th) != 1.0 )
{
enrg = -0.1*C_VOF(cell,sec_th)*C_R(cell,sec_th)*LAT_HT*(C_ T(cell,sec_th)-T_SAT)/T_SAT;
dS[eqn] = -0.1*C_VOF(cell,sec_th)*C_R(cell,sec_th)*LAT_HT/T_SAT;
}
if (C_T(cell,pri_th)<T_SAT && C_VOF(cell, sec_th) != 0.0 && C_VOF(cell, sec_th) != 1.0 )
{
enrg = 0.1*C_VOF(cell,pri_th)*C_R(cell,pri_th)*LAT_HT*(T_ SAT-C_T(cell,pri_th))/T_SAT;
dS[eqn] = -0.1*C_VOF(cell,pri_th)*C_R(cell, pri_th)*LAT_HT/T_SAT;
}
return enrg;
}
cfd_Matrix is offline   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
[swak4Foam] swakExpression not writing to log alexfells OpenFOAM Community Contributions 3 March 16, 2020 19:19
Free Surface model versus VOF model zhubohong CFX 0 December 16, 2019 22:32
Wrong flow in ratating domain problem Sanyo CFX 17 August 15, 2015 07:20
Mixture model + VOF? blacksoil2012 Fluent Multiphase 2 February 9, 2014 00:59
Extract primary phase thread in VOF with 3 phases Eric FLUENT 2 July 7, 2011 03:22


All times are GMT -4. The time now is 12:03.