CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > General Forums > Main CFD Forum

modelling foam formation

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 10, 2019, 01:23
Default modelling foam formation
  #1
New Member
 
Michael
Join Date: Oct 2019
Posts: 9
Rep Power: 6
drmazi is on a distinguished road
Hi, i am modelling the formation of foam from vertically falling water jet containing dissolved surfactant falling unto a water surface resulting in formation of foam. I have been able to simulate falling water jet in Fluent but I do not know how to go about simulating the formation of foam bubbles. I need your suggestion and input.
drmazi is offline   Reply With Quote

Old   October 10, 2019, 02:51
Default
  #2
Senior Member
 
Arjun
Join Date: Mar 2009
Location: Nurenberg, Germany
Posts: 1,274
Rep Power: 34
arjun will become famous soon enougharjun will become famous soon enough
it is little difficult to advise without really knowing how the foam is formed.



If the foam is simply a liquid with air trapped inside it then it is just shown by area where volume fraction is between 0 to 1.



Or foam is result of a chemical reaction resulting in a phase that has porosity then it is very tough to do with fluent. This video is where foam is generated due to chemical reaction:



https://youtu.be/9kkBMeEl2R8
arjun is offline   Reply With Quote

Old   October 10, 2019, 08:44
Default
  #3
Senior Member
 
Join Date: Aug 2014
Location: Germany
Posts: 292
Rep Power: 13
BlnPhoenix is on a distinguished road
Just my to cents, open for correction and discussion:

To my knowledge this has not been done so far in realistic way using a VOF approach. The hindered Colescence is hard to implement, since on a microscopic level coalescence is only desribed accurately when you consider all the (inter-bubble-)forces acting on the bubbles that make up the foam (DLVO theory, zeta potential etc)...VOF usally tends to overpredict coalescence rates because these forces are not accounted for, so that in a VOF simulation no Foam will ever build up.
What you can work around is something like Arjun mendtioned, a third phase with certain properties that represents your foam on a macroscopic level in an Euler-Euler-type of simulation..
BlnPhoenix is offline   Reply With Quote

Old   October 10, 2019, 12:12
Default
  #4
New Member
 
Michael
Join Date: Oct 2019
Posts: 9
Rep Power: 6
drmazi is on a distinguished road
Quote:
Originally Posted by arjun View Post
it is little difficult to advise without really knowing how the foam is formed.



If the foam is simply a liquid with air trapped inside it then it is just shown by area where volume fraction is between 0 to 1.



Or foam is result of a chemical reaction resulting in a phase that has porosity then it is very tough to do with fluent. This video is where foam is generated due to chemical reaction:



https://youtu.be/9kkBMeEl2R8
Yes, I know it a little difficult but the foam is formed as a result of air entrainment of the falling liquid which contains dissolved liquid soap.

There is no reaction involved. The foam is formed on the surface of the free water. I have conducted experiment to understand the physics and in my fluent simulation, I could only model bubble formation using Multiphase VOF.
drmazi is offline   Reply With Quote

Old   October 10, 2019, 12:22
Default
  #5
New Member
 
Michael
Join Date: Oct 2019
Posts: 9
Rep Power: 6
drmazi is on a distinguished road
Quote:
Originally Posted by BlnPhoenix View Post
Just my to cents, open for correction and discussion:

To my knowledge this has not been done so far in realistic way using a VOF approach. The hindered Colescence is hard to implement, since on a microscopic level coalescence is only desribed accurately when you consider all the (inter-bubble-)forces acting on the bubbles that make up the foam (DLVO theory, zeta potential etc)...VOF usally tends to overpredict coalescence rates because these forces are not accounted for, so that in a VOF simulation no Foam will ever build up.
What you can work around is something like Arjun mendtioned, a third phase with certain properties that represents your foam on a macroscopic level in an Euler-Euler-type of simulation..
You are right. It has not been done. I am thinking if I could create a third phase specifying the liquid soap. But another consideration is that the falling jet falls onto a rectangular vessel of dimension 50cm x 30cm x 80 cm (length X width X height). The rectangular tank contains free water of height 10cm while the falling jet contains dissolved liquid soap.

Just seeking suggestions and advice. I have simulated using Multiphase VOF patching after initialization to account for the free water level.

My concern is how to specify the falling water jet to represent the dissolved liquid soap or incorporate it using UDF of empirical relation of foam height with time obtained from my experiment.
drmazi is offline   Reply With Quote

Old   October 11, 2019, 02:29
Default
  #6
Senior Member
 
Join Date: Aug 2014
Location: Germany
Posts: 292
Rep Power: 13
BlnPhoenix is on a distinguished road
Quote:
Originally Posted by drmazi View Post
You are right. It has not been done. I am thinking if I could create a third phase specifying the liquid soap. But another consideration is that the falling jet falls onto a rectangular vessel of dimension 50cm x 30cm x 80 cm (length X width X height). The rectangular tank contains free water of height 10cm while the falling jet contains dissolved liquid soap.

Just seeking suggestions and advice. I have simulated using Multiphase VOF patching after initialization to account for the free water level.

My concern is how to specify the falling water jet to represent the dissolved liquid soap or incorporate it using UDF of empirical relation of foam height with time obtained from my experiment.
About your concern: I would create an inlet on top of the tank, that releases the jet towards the surface. You can use a time depended inlet value for velocity to constrain the jet entering to a fixed time period.
BlnPhoenix is offline   Reply With Quote

Old   October 13, 2019, 10:22
Default
  #7
New Member
 
Michael
Join Date: Oct 2019
Posts: 9
Rep Power: 6
drmazi is on a distinguished road
Quote:
Originally Posted by BlnPhoenix View Post
About your concern: I would create an inlet on top of the tank, that releases the jet towards the surface. You can use a time depended inlet value for velocity to constrain the jet entering to a fixed time period.
From my inquest, I think it is not possible to obtain chemical formula for Sodium Lauryl Sulfate in Fluent.

My thought is how to possibly include the experiment foam height variation with time using udf.
drmazi is offline   Reply With Quote

Old   October 14, 2019, 04:44
Default
  #8
Senior Member
 
Join Date: Aug 2014
Location: Germany
Posts: 292
Rep Power: 13
BlnPhoenix is on a distinguished road
Quote:
Originally Posted by drmazi View Post
From my inquest, I think it is not possible to obtain chemical formula for Sodium Lauryl Sulfate in Fluent.

My thought is how to possibly include the experiment foam height variation with time using udf.
With classical VOF approach you will not suceed imo. You will need to implement a pseudo force for each bubble acting as hinderance for bubble coalescence resulting in foam formation. Good luck
BlnPhoenix is offline   Reply With Quote

Old   October 14, 2019, 08:46
Default
  #9
Senior Member
 
Arjun
Join Date: Mar 2009
Location: Nurenberg, Germany
Posts: 1,274
Rep Power: 34
arjun will become famous soon enougharjun will become famous soon enough
The way this simulation could be done is that one can run with 2 phase VOF simulation while third phase (foam) is generated as some model (or based on condition). One can solve simple scalar transport for this third phase with its generation controlled by VOF model.
arjun is offline   Reply With Quote

Old   October 14, 2019, 22:32
Default
  #10
New Member
 
Michael
Join Date: Oct 2019
Posts: 9
Rep Power: 6
drmazi is on a distinguished road
Quote:
Originally Posted by arjun View Post
The way this simulation could be done is that one can run with 2 phase VOF simulation while third phase (foam) is generated as some model (or based on condition). One can solve simple scalar transport for this third phase with its generation controlled by VOF model.
If h = 0.0048ln(t) + 0.0107 represent the empirical model for the foam height, please how do i implement and solve for third phase (foam). I am new to handling this.
Thanks
drmazi is offline   Reply With Quote

Old   October 16, 2019, 09:13
Default
  #11
Senior Member
 
Join Date: Aug 2014
Location: Germany
Posts: 292
Rep Power: 13
BlnPhoenix is on a distinguished road
Quote:
Originally Posted by drmazi View Post
If h = 0.0048ln(t) + 0.0107 represent the empirical model for the foam height, please how do i implement and solve for third phase (foam). I am new to handling this.
Thanks
You can create a mass source term for concentration of the third phase.
BlnPhoenix is offline   Reply With Quote

Old   October 16, 2019, 10:37
Default
  #12
Senior Member
 
Arjun
Join Date: Mar 2009
Location: Nurenberg, Germany
Posts: 1,274
Rep Power: 34
arjun will become famous soon enougharjun will become famous soon enough
Quote:
Originally Posted by drmazi View Post
If h = 0.0048ln(t) + 0.0107 represent the empirical model for the foam height, please how do i implement and solve for third phase (foam). I am new to handling this.
Thanks



This is not really helpful.

What you are saying is that height is function of time. If this is exactly what you want then you can probably just overwrite the volume fraction to 1 based on this function. It gives you what you want for this 1 set up.
arjun is offline   Reply With Quote

Old   October 17, 2019, 01:46
Default
  #13
New Member
 
Michael
Join Date: Oct 2019
Posts: 9
Rep Power: 6
drmazi is on a distinguished road
Quote:
Originally Posted by arjun View Post
This is not really helpful.

What you are saying is that height is function of time. If this is exactly what you want then you can probably just overwrite the volume fraction to 1 based on this function. It gives you what you want for this 1 set up.
What I mean is the height of free water is fixed but as the water jet falls onto the free surface due to reduction in surface tension and air entrainment, foam gradually forms and the height of foam varies with time.
drmazi is offline   Reply With Quote

Old   October 21, 2019, 06:30
Default
  #14
Senior Member
 
Join Date: Aug 2014
Location: Germany
Posts: 292
Rep Power: 13
BlnPhoenix is on a distinguished road
Quote:
Originally Posted by drmazi View Post
What I mean is the height of free water is fixed but as the water jet falls onto the free surface due to reduction in surface tension and air entrainment, foam gradually forms and the height of foam varies with time.
The Problem with your equation, which should be fairly easy to implement into a mass source term, is that you only create foam and it will not be destroyed with time. In reality foam will eventually vanish, will it not?
BlnPhoenix is offline   Reply With Quote

Old   October 22, 2019, 03:10
Default
  #15
New Member
 
Michael
Join Date: Oct 2019
Posts: 9
Rep Power: 6
drmazi is on a distinguished road
Quote:
Originally Posted by BlnPhoenix View Post
The Problem with your equation, which should be fairly easy to implement into a mass source term, is that you only create foam and it will not be destroyed with time. In reality foam will eventually vanish, will it not?
it takes very long time to varnish. At first creating foam is essential but very dense foam takes long time to varnish.
drmazi is offline   Reply With Quote

Old   October 22, 2019, 03:27
Default
  #16
Senior Member
 
Join Date: Aug 2014
Location: Germany
Posts: 292
Rep Power: 13
BlnPhoenix is on a distinguished road
Quote:
Originally Posted by drmazi View Post
it takes very long time to varnish. At first creating foam is essential but very dense foam takes long time to varnish.
Ok. Than to accomplish this write a Mass/Volume Fraction source term that creates an amount of volume of that "foam" phase according to your equation. Heigth of foam phase translates to a total amount of volume depending on your container geometry. This is straightfoward and easy to implement.
You may need an additional "sink term" to account for reduced volume of your other two phases during "foam" build up.
BlnPhoenix is offline   Reply With Quote

Old   December 2, 2023, 01:12
Default
  #17
New Member
 
Nopel
Join Date: Nov 2023
Posts: 2
Rep Power: 0
Vasa is on a distinguished road
does the viscosity increase? Can you provide a tutorial for making it? in my results the viscosity decreases below the viscosity of water, I really need information for my final college assignment
Vasa is offline   Reply With Quote

Old   December 2, 2023, 03:01
Default
  #18
Senior Member
 
Joern Beilke
Join Date: Mar 2009
Location: Dresden
Posts: 501
Rep Power: 20
JBeilke is on a distinguished road
There is a nice work of Petr Karnakov and Sergey Litvinov on this topic. They also released their solver :-)

https://github.com/cselab/aphros
https://www.youtube.com/watch?v=iGdphpztCJQ
https://www.youtube.com/watch?v=0Cj8pPYNJGY
JBeilke is offline   Reply With Quote

Old   December 3, 2023, 22:38
Default
  #19
New Member
 
Nopel
Join Date: Nov 2023
Posts: 2
Rep Power: 0
Vasa is on a distinguished road
Quote:
Originally Posted by JBeilke View Post
There is a nice work of Petr Karnakov and Sergey Litvinov on this topic. They also released their solver :-)

https://github.com/cselab/aphros
https://www.youtube.com/watch?v=iGdphpztCJQ
https://www.youtube.com/watch?v=0Cj8pPYNJGY
I'm still confused, whether in the Ansys fluent simulation foam formation with the VOF model can increase viscosity?
Vasa 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
[snappyHexMesh] snappyHexMesh error "Cannot determine normal vector from patches." lethu OpenFOAM Meshing & Mesh Conversion 1 June 3, 2020 07:49
Derivative of velocity and mean velocity hiuluom OpenFOAM Post-Processing 1 May 29, 2015 23:42
[blockMesh] non-orthogonal faces and incorrect orientation? nennbs OpenFOAM Meshing & Mesh Conversion 7 April 17, 2013 05:42
Foam formation during flow ghadab Main CFD Forum 2 January 30, 2013 06:59
[blockMesh] error message with modeling a cube with a hold at the center hsingtzu OpenFOAM Meshing & Mesh Conversion 2 March 14, 2012 09:56


All times are GMT -4. The time now is 23:38.