[UDF for Mass transfer with VOF] couple of questions
I have problem when i try to use below DEFINE_MASS_TRANSFER model into VOF.
I have several questions listed below with assuming that below simple code has no proble. if it has, please let me know that.
Does anybody know whethere this mass transfer can work in VOF or not?
If it works, i have two questions more.
I got fatal error when i initialize it. before initialization, i interpreted source code (not compile). If i remove "C_T(cell,liq)", i don't have problem. but whenever source code has "C_T(cell,liq)", fatal error arises.
I can't see my mass transfer source in "phase interaction tap" when i try to put the source code. In this case i just compiled source code (not interpreting).
Does anybody know why?
DEFINE_MASS_TRANSFER(masstrans, cell, thread, from_index,from_species_index, to_index, to_species_index)
real T_EVAP = 373.15;
Thread *liq = THREAD_SUB_THREAD(thread, from_index);
Thread *gas = THREAD_SUB_THREAD(thread, to_index);
real temp = C_T(cell,liq);
m_lg = 0;
if temp >= T_EVAP
m_lg = 1;
m_lg = 2;
I have asked Ansys Fluent support team. The problem is with the cracked version of fluent. In licensed version it can easily be selected in interaction menu.
Thank you very much. i didn't notice it.
|All times are GMT -4. The time now is 08:44.|