CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > CFX

Mass fraction source term in CFX

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 20, 2018, 15:54
Default Mass fraction source term in CFX
  #1
New Member
 
David
Join Date: May 2016
Posts: 4
Rep Power: 10
marble is on a distinguished road
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.
marble is offline   Reply With Quote

Old   March 20, 2018, 17:29
Default
  #2
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,870
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
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.
ghorrocks is offline   Reply With Quote

Old   March 20, 2018, 18:04
Default
  #3
New Member
 
David
Join Date: May 2016
Posts: 4
Rep Power: 10
marble is on a distinguished road
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?
marble is offline   Reply With Quote

Old   March 20, 2018, 18:12
Default
  #4
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,870
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
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.
ghorrocks is offline   Reply With Quote

Old   March 20, 2018, 20:48
Default
  #5
Senior Member
 
Join Date: Jun 2009
Posts: 1,880
Rep Power: 33
Opaque will become famous soon enough
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,
Opaque is offline   Reply With Quote

Old   March 20, 2018, 22:03
Default
  #6
New Member
 
David
Join Date: May 2016
Posts: 4
Rep Power: 10
marble is on a distinguished road
Thanks for your help Opaque, it gives me a better understanding of ASM.

Quote:
Originally Posted by Opaque View Post
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
File Type: jpg Capture.JPG (22.0 KB, 45 views)
marble is offline   Reply With Quote

Old   December 10, 2019, 01:49
Default
  #7
Member
 
Lucas
Join Date: May 2019
Posts: 41
Rep Power: 7
lordluan is on a distinguished road
Quote:
Originally Posted by ghorrocks View Post
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?
lordluan is offline   Reply With Quote

Old   December 10, 2019, 01:54
Default
  #8
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,870
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
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.
ghorrocks is offline   Reply With Quote

Reply

Tags
continuity source, mass fractions, mass transfer


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
mass flow in is not equal to mass flow out saii CFX 12 March 19, 2018 06:21
Problem of simulating of small droplet with radius of 2mm liguifan OpenFOAM Running, Solving & CFD 5 June 3, 2014 03:53
Trouble compiling utilities using source-built OpenFOAM Artur OpenFOAM Programming & Development 14 October 29, 2013 11:59
"parabolicVelocity" in OpenFoam 2.1.0 ? sawyer86 OpenFOAM Running, Solving & CFD 21 February 7, 2012 12:44
On the damBreak4phaseFine cases paean OpenFOAM Running, Solving & CFD 0 November 14, 2008 22:14


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