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

[UDF for Mass transfer with VOF] couple of questions

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   November 7, 2012, 09:41
Default [UDF for Mass transfer with VOF] couple of questions
  #1
New Member
 
YG Kim
Join Date: Nov 2010
Posts: 15
Rep Power: 6
sooroo3 is on a distinguished road
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?
Thanks
#include"udf.h"
DEFINE_MASS_TRANSFER(masstrans, cell, thread, from_index,from_species_index, to_index, to_species_index)
{
real m_lg;
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;
}
else
{
m_lg = 2;
}
return m_lg;
}
sooroo3 is offline   Reply With Quote

Old   February 14, 2013, 09:39
Default
  #2
Senior Member
 
SSL
Join Date: Oct 2012
Posts: 227
Rep Power: 5
msaeedsadeghi is on a distinguished road
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.
msaeedsadeghi is offline   Reply With Quote

Old   February 14, 2013, 22:38
Default
  #3
New Member
 
YG Kim
Join Date: Nov 2010
Posts: 15
Rep Power: 6
sooroo3 is on a distinguished road
msaeedsadeghi

Thank you very much. i didn't notice it.
Thank you.
sooroo3 is offline   Reply With Quote

Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
questions about high-rayleigh number natural convection heat transfer xlworn CFX 1 June 11, 2012 20:30
How to couple wall BC for conjugate heat transfer? hassaan FLUENT 0 June 20, 2011 10:05
problems after decomposing for running alessio.nz OpenFOAM 5 April 20, 2011 08:44
Conjugate heat transfer and radiation modeling questions shankara.2 FLUENT 0 April 21, 2009 15:55
Trimmed cell and embedded refinement mesh conversion issues michele OpenFOAM Other Meshers: ICEM, Star, Ansys, Pointwise, GridPro, Ansa, ... 2 July 15, 2005 04:15


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