# Mass fraction source term in CFX

 User Name Remember Me Password
 Register Blogs Members List Search Today's Posts Mark Forums Read

 March 20, 2018, 14:54 Mass fraction source term in CFX #1 New Member   David Join Date: May 2016 Posts: 4 Rep Power: 7 Dear All, I'm now trying to do some simulation of mass transfer from air to water using Algebraic Slip Model (ASM). There is a sink-source for air due to mass transfer, so I want to add this source term in Continuity equation of air. However, I can only find Air.mf (mass fraction of Air) Source in Subdomain-Source for ASM. My question is the source term for Mass Fraction is the same as the source for Continuity equation? Or the mass fraction equation is the same as continuity equation? Thank you.

 March 20, 2018, 16:29 #2 Super Moderator   Glenn Horrocks Join Date: Mar 2009 Location: Sydney, Australia Posts: 16,720 Rep Power: 130 Make sure you have the basics under control before you proceed: The mass fraction equation and continuity equations are different fundamental equations. You mention the ASM model, which is a multphase model which uses a volume fraction equation, but then say you see mass fraction variables. Is this a mass fraction or a multiphase model? Make you sure have the right basic equations. Or do you have both a mass fraction equation to track water vapour+air, and multiphase to track liquid water drops to gaseous air? __________________ Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.

 March 20, 2018, 17:04 #3 New Member   David Join Date: May 2016 Posts: 4 Rep Power: 7 Thanks Glenn for your kind reply. The background of my simulation is air bubbles would dissolve into the water due to high pressure and turbulence. I combine air and water as a Variable Composition Mixture. I set air as dispersed, water as continuous flow based on the help document. I think this should be mass fraction model rather than multi-phase model in CFX. Do you know how to find the mass fraction equation? Or it has some relevance to continuity eqaution?

March 20, 2018, 17:12
#4
Super Moderator

Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 16,720
Rep Power: 130
Quote:
 The background of my simulation is air bubbles would dissolve into the water due to high pressure and turbulence.
Why do the air bubbles dissolve in the water? That is usually because of gas entering into solution into the fluid. Turbulence normally breaks air bubbles up into smaller bubbles and high pressure sets the rate of the dissolution process.

Quote:
 I combine air and water as a Variable Composition Mixture.
Do you mean air and water vapour, or air and liquid water? If air and liquid water - how can you declare this a mixture when they are or different phases?

Quote:
 Do you know how to find the mass fraction equation? Or it has some relevance to continuity eqaution?
The mass fraction equation only exists when you have mass fractions to track. The continuity equation and mass fraction equations are completely different equations. If you don't understand the difference between mass fraction and continuity equations please get a basic CFD textbook and read up on the differences.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.

 March 20, 2018, 19:48 #5 Senior Member   Join Date: Jun 2009 Posts: 1,398 Rep Power: 26 As I understand the Algebraic Slip Model (from the Theory documentation), it is a simplification of a true multiphase model where one of the phases is fairly diluted, and its flow field can be decomposed as the flow field from the continuous phase and a slip velocity; therefore, no need to solve the momentum equations for the dispersed phase. After the algebra of decomposing the dispersed phase velocity, the continuity equation for the dispersed phase resembles the mass fraction equation; therefore, the ASM in ANSYS CFX uses the variable composition mixture to setup a multiphase model. The implementation does not account for mass transfer between the phases (which are represented by mass fraction in the simulation). If there is mass transfer between the phases, it needs to be included manually by adding appropriate source terms in the corresponding equations. To include the mass into the continuity equation of the continuous phase, you must use a "Mass Source" option for continuity and the amount must be equal to the amount leaving the dispersed phase. Hope the above helps,

March 20, 2018, 21:03
#6
New Member

David
Join Date: May 2016
Posts: 4
Rep Power: 7
Thanks for your help Opaque, it gives me a better understanding of ASM.

Quote:
 Originally Posted by Opaque If there is mass transfer between the phases, it needs to be included manually by adding appropriate source terms in the corresponding equations. To include the mass into the continuity equation of the continuous phase, you must use a "Mass Source" option for continuity and the amount must be equal to the amount leaving the dispersed phase. Hope the above helps,
Unlike the Eulerian-Eulerian model having both two phases' "Continuity-Mass Source" options in "Equation Source" tab, ASM only has one "Continuity" for the mixture in "fluid source". Additionally, the dispersed phase "Air at 25 C.mf" shows up instead (as shown in the attachment). I was wondering if I can add the mass source for "Air at 25 C.mf" as the mass leaving the dispersed phase? If not, do you have any idea how to add the mass source for both phases?

Thank you.
Attached Images
 Capture.JPG (22.0 KB, 27 views)

December 10, 2019, 00:49
#7
Member

Lucas
Join Date: May 2019
Posts: 41
Rep Power: 4
Quote:
 Originally Posted by ghorrocks Why do the air bubbles dissolve in the water? That is usually because of gas entering into solution into the fluid. Turbulence normally breaks air bubbles up into smaller bubbles and high pressure sets the rate of the dissolution process. Do you mean air and water vapour, or air and liquid water? If air and liquid water - how can you declare this a mixture when they are or different phases? The mass fraction equation only exists when you have mass fractions to track. The continuity equation and mass fraction equations are completely different equations. If you don't understand the difference between mass fraction and continuity equations please get a basic CFD textbook and read up on the differences.
ghorrocks, I have the same doubt regarding the mass fraction source term. I've been looking but so far I haven't got a clear answer. Reading the CFX documentation, I think I found the answer: the mass fraction equation is similar to the ones that are defined for Transport Equations for Additional Variable or general scalar variable? Am I wrong?

 December 10, 2019, 00:54 #8 Super Moderator   Glenn Horrocks Join Date: Mar 2009 Location: Sydney, Australia Posts: 16,720 Rep Power: 130 They are both scalar transport equations, so in that sense they are similar. But temperature, turbulence, volume fraction, mass fraction and so on are scalar transport equations as well, so a lot of things which are very different are covered in that class of equation. __________________ Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.

 Tags continuity source, mass fractions, mass transfer

 Thread Tools Search this Thread Search this Thread: Advanced Search Display Modes Linear Mode

 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 OffTrackbacks are Off Pingbacks are On Refbacks are On Forum Rules

 Similar Threads Thread Thread Starter Forum Replies Last Post saii CFX 12 March 19, 2018 05:21 liguifan OpenFOAM Running, Solving & CFD 5 June 3, 2014 02:53 Artur OpenFOAM Programming & Development 14 October 29, 2013 10:59 sawyer86 OpenFOAM Running, Solving & CFD 21 February 7, 2012 11:44 paean OpenFOAM Running, Solving & CFD 0 November 14, 2008 21:14

All times are GMT -4. The time now is 03:51.

 Contact Us - CFD Online - Privacy Statement - Top