|
[Sponsors] |
April 28, 2016, 09:25 |
Henry's law solubility
|
#1 |
Member
Michael Frank
Join Date: Aug 2012
Posts: 55
Rep Power: 14 |
Hi,
I am using the reactingMultiphaseEulerFoam to model migration of oxygen between a liquid and gas. The solution/dissolution of gases is modelled using Henry's law. Looking at the header file (Henry.h) i see that the model asks for the dimensionless Henry constant which is usually the ratio of the mass of the species in the liquid and gas. The source file however (Henry.C) multiplies the constant by the liquid density and divides by the gas density. This suggests that the input should actually be the volumetric ratio of the species. Is that correct? Should we give the values of k as the volume of the species in the liquid over the volume of the species in the gas? Thanks in advance for your help Cheers Mike |
|
May 24, 2016, 14:01 |
|
#2 |
New Member
Simone Colucci
Join Date: Mar 2016
Location: Pisa (Italy)
Posts: 23
Rep Power: 10 |
Hi Michael,
if you have a look into bubbleColumnEvaporatingDissolving the Henry constant for air dissolved in water is 1.492e-2 that corresponds to moles of gas dissolved per liter of solution/moles of gas, as you can see from here: ftp://mana.soest.hawaii.edu/pub/rluk...0and%20Air.pdf Simone |
|
May 24, 2016, 15:01 |
|
#3 |
Member
Michael Frank
Join Date: Aug 2012
Posts: 55
Rep Power: 14 |
Hi Simone and thanks for your response.
I am slightly confused with the denominator. Could you please clarify? Is it the number of moles of the gas per unit volume outside the liquid? Thanks again for your help |
|
May 25, 2016, 06:50 |
|
#4 | |
New Member
Simone Colucci
Join Date: Mar 2016
Location: Pisa (Italy)
Posts: 23
Rep Power: 10 |
Quote:
I think so, is the number of moles of the component per unite volume in the gas phase, i.e. the gas-phase concentration of the component. |
||
May 25, 2016, 07:11 |
|
#5 |
Member
Michael Frank
Join Date: Aug 2012
Posts: 55
Rep Power: 14 |
Yeah. I think that is the only thing that makes sense.
Thanks. This has been very helpful |
|
May 25, 2016, 07:16 |
|
#6 |
New Member
Simone Colucci
Join Date: Mar 2016
Location: Pisa (Italy)
Posts: 23
Rep Power: 10 |
||
May 25, 2016, 07:33 |
|
#7 |
Member
Michael Frank
Join Date: Aug 2012
Posts: 55
Rep Power: 14 |
Yes. Henry's constant is K=Cs/Cg (Cs is the concentration in solution and Cg in the gas). However, we don't directly have Cg. We have the percentage of that species in the total gas Yg. Also, the function in Henry.C actually returns the percentage of the species in the solution, Ys. So
Cs = Ys*Rs (mass of the specific species per unit volume of solution) Cg = Yg*Rg (mass of the specific species per unit volume of gas) where Rg and Rs are the densities of the gas and solution. Inserting these into the first equation and re-arranging a bit we get: Ys = K*Yg*Rg/Rs Does that make any sense? |
|
May 25, 2016, 11:32 |
|
#8 | |
New Member
Simone Colucci
Join Date: Mar 2016
Location: Pisa (Italy)
Posts: 23
Rep Power: 10 |
Quote:
Ys = K*Yg*Rg/Rs*Ms/Mg where M is the molecular weight. Is something missing in the code? |
||
May 25, 2016, 11:46 |
|
#9 |
Member
Michael Frank
Join Date: Aug 2012
Posts: 55
Rep Power: 14 |
Yes. But you are forgetting that Ms and Mg refer to the same species, i.e. whether oxygen is dissolved in a liquid or free in a gas, it always has the same molecular mass.
|
|
May 25, 2016, 11:58 |
|
#10 |
New Member
Simone Colucci
Join Date: Mar 2016
Location: Pisa (Italy)
Posts: 23
Rep Power: 10 |
||
March 5, 2018, 12:50 |
|
#11 | |
New Member
Umer
Join Date: Aug 2016
Posts: 29
Rep Power: 10 |
Quote:
Can i ask you the copy of said pdf file (bubbleColumnEvaporatingDissolving) as link is not working anymore? many thanks in advance. Regards, Umer |
||
March 6, 2018, 05:26 |
|
#12 |
Member
Michael Frank
Join Date: Aug 2012
Posts: 55
Rep Power: 14 |
Hi Umer,
I don't really know if there is a pdf. However, you can find the test case in the tutorials of your OpenFOAM installation under OpenFOAM-dev/tutorials/multiphase/reactingTwoPhaseEulerFoam/laminar/bubbleColumnEvaporatingDissolving Henry's law is defined in constant/phaseProperties. Hope this helps Mike |
|
March 7, 2018, 13:34 |
|
#13 | |
New Member
Umer
Join Date: Aug 2016
Posts: 29
Rep Power: 10 |
Quote:
thanks but i am looking for something that explains this tutorial. I am running this tutorial “bubbleColumnEvaporatingDissolving” but I am not sure about few things in it like (air.gas, air.water) I set in the “0” directory. When I see results on paraView>air.gas . Can you say few quick words about it. May be it will work for me. 1. air.gas, air.liquid shows mass fraction or volume fraction? or Is it showing mass fraction in each phase gas/liquid? It means mass fraction "Yair" is multiplied with "alpha.gas"? 2. How diffusivity Df is calculated in the solver? Or its just a constant? 3. How this solver calculate concentration gradient dY? Is it coming from Henry’s Law Ys=k.Yg.rhog/rhos then it is multiplied with rho.phase to get the concentration gradient dY for mass transfer term? mass transfer= K. Df. dY Best Regards, Umer |
||
March 7, 2018, 14:16 |
|
#14 |
Member
Michael Frank
Join Date: Aug 2012
Posts: 55
Rep Power: 14 |
Hi Umer,
I found this which might help http://www.tfd.chalmers.se/~hani/kur...eEulerFoam.pdf To try and answer your questions: 1. alpha.air and alpha.gas are volume fractions. The Y.air Y.gas are the mass fractions. 2. In phaseProperties you give the Schmidt number. This, along with the density, can give you the diffusivity (so I suppose it is constant) 3. You basically define how your mass transfer is modelled in the phaseProperties file under interfaceComposition. Henry's law is one of the options. While I haven't found any documentation specifically for OpenFOAM, it is relatively similar to the way Fluent does it. Have a look at https://www.sharcnet.ca/Software/Ans...-3A72B96D.html Hope this helps Mike |
|
March 8, 2018, 13:04 |
|
#15 | |
New Member
Umer
Join Date: Aug 2016
Posts: 29
Rep Power: 10 |
Quote:
many thanks for the information you provided. The provided link is good to understand the solver. Can you tell me how can i calculate total mass of air present in the domain? lets say if i inject mass 1kg/sec then after 5 seconds it should be 5kg but due to mass transfer it will be less. is there any way to check that? Regards, Umer |
||
January 7, 2020, 11:23 |
|
#16 |
New Member
Charlie Marshall
Join Date: Jan 2020
Posts: 17
Rep Power: 6 |
Hi, I am dealing with a similar case. But is it possible to move the boundary and compress a chamber while dealing with two phases by this reactingMultiphaseEulerFoam?
|
|
March 19, 2020, 05:04 |
Fluent's link
|
#17 | |
Member
Rosario Arnau
Join Date: Feb 2017
Location: Spain
Posts: 57
Rep Power: 9 |
Quote:
Fluent's link is not working right now. Could you please help me find the correct one at this time? This thread really help me. Thanks a lot! |
||
August 8, 2024, 16:13 |
|
#18 | |
New Member
Ram
Join Date: Sep 2016
Posts: 6
Rep Power: 10 |
Quote:
|
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Henry's Law in FLUENT | jihyeong | FLUENT | 2 | November 25, 2019 09:10 |
Henry's law as boundary condition at an liquid/gas interface | Cyp | OpenFOAM | 6 | April 23, 2018 05:11 |
multiphase: henry's law | Idtisak | CFX | 1 | April 29, 2008 15:33 |
how to create interface mass transfer, henry's law | Idtisak | CFX | 0 | April 25, 2008 17:53 |
Henry's law | Sally | CFX | 1 | April 23, 2008 09:43 |