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

[UDF for Mass transfer with VOF] couple of questions

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread 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: 16
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: 226
Rep Power: 15
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: 16
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


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
problems after decomposing for running alessio.nz OpenFOAM 7 March 5, 2021 05:49
questions about high-rayleigh number natural convection heat transfer xlworn CFX 1 June 11, 2012 21:30
How to couple wall BC for conjugate heat transfer? hassaan FLUENT 0 June 20, 2011 11:05
Conjugate heat transfer and radiation modeling questions shankara.2 FLUENT 0 April 21, 2009 16:55
[Commercial meshers] Trimmed cell and embedded refinement mesh conversion issues michele OpenFOAM Meshing & Mesh Conversion 2 July 15, 2005 05:15


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