|October 5, 2012, 14:15||
UDF for VOF model
Join Date: Feb 2012
Posts: 24Rep Power: 4
Ive run a VOF spray simulation in FLUENT and now i wish to add a UDF to incorporate mass transfer (Evaporation) into the simulation.
I am aware there is a code given in the UDF user's guide, however im not sure exactually how it works. see below:
DEFINE_MASS_TRANSFER(liq_gas_source, cell, thread, from_index,
from_species_index, to_index, to_species_index)
real T_SAT = 373.15;
Thread *gas = THREAD_SUB_THREAD(thread, from_index);
Thread *liq = THREAD_SUB_THREAD(thread, to_index);
m_lg = 0.;
if (C_T(cell, liq) >= T_SAT)
m_lg = -0.1*C_VOF(cell,liq)*C_R(cell,liq)*
if ((m_lg == 0. ) && (C_T(cell, gas) <= T_SAT))
m_lg = 0.1*C_VOF(cell,gas)*C_R(cell,gas)*
I have found a model by Hardt and Wondra which has been implemented in fluent before. I wish to add a mass source term and an evaporation source term as they did. These equations are published in their paper however im not sure how to implement this into fluent.
If anyone has any information, or could reccomend any sources which may be helpful i would really appreciate it.
|Thread||Thread Starter||Forum||Replies||Last Post|
|Source Term UDF VS Porous Media Model||pchoopanya||Fluent UDF and Scheme Programming||1||August 28, 2013 07:12|
|Writing UDF for Eulerian model||golriz||Fluent UDF and Scheme Programming||7||November 3, 2011 07:30|
|UDF for Heat Exchanger model||francois louw||FLUENT||2||July 16, 2010 03:21|
|UDF: how to know domain number in the model?||mssound||FLUENT||0||May 17, 2010 16:00|
|The problem of UDF in Non premixed combustion model||zhangyuan||Main CFD Forum||0||May 25, 2009 10:41|