|
[Sponsors] |
Simulation for a bubble rising from the bottom of water |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
February 8, 2013, 12:21 |
Simulation for a bubble rising from the bottom of water
|
#1 |
Member
Guifan Li
Join Date: Apr 2011
Location: New York City, U.S.
Posts: 96
Rep Power: 15 |
Hi everyone,
Is there anybody can give me some hint on how to build up a model that can simulate the bubble rising in the water. I can build up a sphere and a water container using Gmsh, however, I am not sure how to build up the water with Openfoam of Gmsh. Any help will be appreciated! |
|
February 8, 2013, 16:22 |
|
#2 |
Member
Guifan Li
Join Date: Apr 2011
Location: New York City, U.S.
Posts: 96
Rep Power: 15 |
I have tried the damBreak and CapillaryRise case in the tutorials but they are all about liquid-air or liquid-liquid interaction. Haven't found any information relative to the bubble rising
|
|
February 8, 2013, 16:34 |
|
#3 |
Senior Member
Daniele Vicario
Join Date: Mar 2009
Location: Novara, Italy
Posts: 142
Rep Power: 17 |
Why is the damBreak case not good ? If the bubble is made of air you are in the liquid-air case. Just use that case using a different setfields dict. If you need tomorrow i can send you an example...
Btw you don't need Gmsh for this.
__________________
Daniele Vicario blueCFD2.1 - Windows 7 |
|
February 8, 2013, 16:44 |
|
#4 | |
Member
Guifan Li
Join Date: Apr 2011
Location: New York City, U.S.
Posts: 96
Rep Power: 15 |
Quote:
Thanks for the reply! It sounds like I need to manipulate the setfields, which I am not too sure how to do, to create a spherical air space(bubble) within the liquid volume. Is that right? If you can send me an example that would be great! Although I need to extend it to a 3D case, this would be a good start. Look forward to hearing from you! |
||
February 8, 2013, 17:12 |
|
#5 |
Senior Member
Daniele Vicario
Join Date: Mar 2009
Location: Novara, Italy
Posts: 142
Rep Power: 17 |
I will but maybe this post could help you: http://www.cfd-online.com/Forums/ope...tml#post330597
__________________
Daniele Vicario blueCFD2.1 - Windows 7 |
|
February 9, 2013, 00:07 |
|
#6 | |
Member
Guifan Li
Join Date: Apr 2011
Location: New York City, U.S.
Posts: 96
Rep Power: 15 |
Quote:
Thanks for the thread you gave me, I followed the two possible ways of making this working. 1) I tried to install the funckySetField from http://openfoamwiki.net/index.php/Co...funkySetFields but the download link seems not working anymore I installed svn on my Ubuntu and did " svn checkout https://openfoam-extend.svn.sourceforge.net/svnroot/openfoam-extend/trunk/Breeder_1.6/utilities/postProcessing/FunkySetFields/" unfortunately, it said "couldn't open the requested SVN system" 2) I modified my setFieldsDict as You can do that easily with setFields like 18 defaultFieldValues 19 ( 20 volScalarFieldValue alpha1 0 21 ); 22 23 regions 24 ( 25 sphereToCell 26 { 27 centre (0.05 0.1 0.5); 28 radius 0.01; 29 fieldValues 30 ( 31 volScalarFieldValue alpha1 1 32 ); 33 } 34 ); on the thread you provided. Then I do cp -r alpha1.org alpha1->setFields->interFoam However, by using paraFoam to view the model, I only can see the square without any bubble or anything in it. Please advice if I did anything wrong? Thanks! |
||
February 9, 2013, 03:55 |
|
#7 |
Senior Member
Daniele Vicario
Join Date: Mar 2009
Location: Novara, Italy
Posts: 142
Rep Power: 17 |
The setfieldsdict seems correct even if I usually set alpha=0 for air and alpha=1 for water.
In Parafoam you need to look for alpha field.
__________________
Daniele Vicario blueCFD2.1 - Windows 7 |
|
February 9, 2013, 13:21 |
|
#8 | |
Member
Guifan Li
Join Date: Apr 2011
Location: New York City, U.S.
Posts: 96
Rep Power: 15 |
Quote:
The second one is just after the simulation starts, the bubble bursts. But in real case, the bubble will rise to the surface of the water before it bursts? Even I change the size of the bubble to very small, it still bursts. Sorry I forget to tell your my email address is: liguifan@gmail.com. Thanks for that. |
||
February 10, 2013, 04:17 |
|
#9 |
Member
|
Looking at your picture, the BC seems strange. What do u use for BCs in your simulation?
|
|
February 10, 2013, 16:42 |
|
#10 | ||||
Member
Guifan Li
Join Date: Apr 2011
Location: New York City, U.S.
Posts: 96
Rep Power: 15 |
Quote:
alpha1.org Quote:
Quote:
Quote:
Kind regards, James |
|||||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Simulation of waves on a Water Surface | Leech | OpenFOAM Pre-Processing | 27 | May 22, 2015 02:19 |
About bubble size distribution simulation | tchllc | FLUENT | 0 | August 12, 2007 05:07 |
VOF-compression of air with rising water | yavuz | FLUENT | 0 | November 26, 2005 10:00 |
Hot gas bubble collapse in cool water | William Palm | FLUENT | 1 | April 20, 2005 11:53 |
sinulate bubble rising with VOF | danny | FLUENT | 3 | October 8, 2004 12:18 |