CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Fluent UDF and Scheme Programming (https://www.cfd-online.com/Forums/fluent-udf/)
-   -   Specify mass transfer source term at gas liquid interface (https://www.cfd-online.com/Forums/fluent-udf/165421-specify-mass-transfer-source-term-gas-liquid-interface.html)

SAM S January 17, 2016 07:55

Specify mass transfer source term at gas liquid interface
 
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

`e` January 20, 2016 16:14

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?

SAM S January 20, 2016 23:16

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?

`e` January 21, 2016 05:26

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.

SAM S January 21, 2016 07:23

Ok thank you. I will do that and proceed further.:)


All times are GMT -4. The time now is 08:56.