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

Specify mass transfer source term at gas liquid interface

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 17, 2016, 08:55
Default Specify mass transfer source term at gas liquid interface
  #1
Member
 
Join Date: Oct 2015
Posts: 34
Rep Power: 11
SAM S is on a distinguished road
I am modelling a thin film evaporation process in fluent. Here mass transfer happens only at the free surface of the liquid film and I want to specify source term for the liq to gas transfer. How to specify in udf code that the source term should apply only at the interface. Am using VOF model with species transport enabled.

Thank you
SAM S is offline   Reply With Quote

Old   January 20, 2016, 17:14
Default
  #2
`e`
Senior Member
 
Join Date: Mar 2015
Posts: 892
Rep Power: 18
`e` is on a distinguished road
I'm not familiar with the VOF model, but I'll try considering no one else has responded. In your case is the volume fraction completely either phase in most of the domain and then a mixture along the free surface (one cell height)? You could use a conditional statement where the source term is applied where the volume fraction is a mixture. Otherwise, what other method could you use to define the location of the free surface?
`e` is offline   Reply With Quote

Old   January 21, 2016, 00:16
Default
  #3
Member
 
Join Date: Oct 2015
Posts: 34
Rep Power: 11
SAM S is on a distinguished road
Thank you for your reply. As you mentioned my mixture phase is very less compared to single phase of each. Am thinking to use the below condition

vof_cutoff = 0.05;
if ( (C_VOF(c,t) > vof_cutoff ) && (C_VOF(c,t) < (1 - vof_cutoff) )

Is this correct?
SAM S is offline   Reply With Quote

Old   January 21, 2016, 06:26
Default
  #4
`e`
Senior Member
 
Join Date: Mar 2015
Posts: 892
Rep Power: 18
`e` is on a distinguished road
Yes, I've also now found that code and it's the approach I'd take as well. Perhaps start with analysing the volume fraction within your domain and check if there's a step change between the phases (with one intermediate step which is between zero and one). Then you can select an appropriate value for the cut off.
`e` is offline   Reply With Quote

Old   January 21, 2016, 08:23
Default
  #5
Member
 
Join Date: Oct 2015
Posts: 34
Rep Power: 11
SAM S is on a distinguished road
Ok thank you. I will do that and proceed further.
SAM S 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
Problem compiling a custom Lagrangian library brbbhatti OpenFOAM Programming & Development 2 July 7, 2014 12:32
Error finding variable "THERMX" sunilpatil CFX 8 April 26, 2013 08:00
friction forces icoFoam ofslcm OpenFOAM 3 April 7, 2012 11:57
Constant velocity of the material Sas CFX 15 July 13, 2010 09:56
OpenFOAM on MinGW crosscompiler hosted on Linux allenzhao OpenFOAM Installation 127 January 30, 2009 20:08


All times are GMT -4. The time now is 20:31.