CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

Rise of a spherical bubble terminal velocity

Register Blogs Community New Posts Updated Threads Search

Like Tree5Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 21, 2012, 15:54
Default
  #41
Member
 
Tayo
Join Date: Aug 2012
Posts: 94
Rep Power: 14
tayo is on a distinguished road
Quote:
Originally Posted by Hrushi View Post
Hi Angelo & Tayo

Here is the updated version of baryCenter baryCenter-of201.zip utility. I have tested it on OpenFoam-201. You can comapre the each file in zip archive with one that you have to recognise the changes one needs to make it usable in OF201.

Hope it helps.

Regards
Hrushi
Thank you Hrushi. The hard job is done; It compiled fine. I simply ran the application after my simulation run time was complete and it printed out the value. Is there a way to extract the data from the barycenter into a file so that I won't have to manually copy the data? Have a nice weekend.

Last edited by tayo; September 22, 2012 at 02:45.
tayo is offline   Reply With Quote

Old   October 10, 2013, 16:45
Default
  #42
Member
 
Hrushikesh Khadamkar
Join Date: Jul 2010
Location: Mumbai
Posts: 68
Rep Power: 16
Hrushi is on a distinguished road
Hi,

Here is the updated version of baryCenter (for OF-2.2.1) baryCenter221.zip utility. I have tested it on OpenFOAM-2.2.1.

Enjoy!
Attached Files
File Type: zip baryCenter221.zip (4.2 KB, 256 views)
Hrushi is offline   Reply With Quote

Old   November 16, 2013, 14:27
Default
  #43
Senior Member
 
sfigato's Avatar
 
Marco Longhitano
Join Date: Jan 2013
Location: Aachen
Posts: 103
Rep Power: 13
sfigato is on a distinguished road
Send a message via Skype™ to sfigato
Dear Sebastian,

i want to compute the rise velocity. After you got your center file and you use it in Matlab, how do you compute exactely the rise velocity for each time step?

v(n-time) = ( barycentre(n) -barycentre (n-1) )/ deltaT

or

v(n-time) = ( barycentre(n) -barycentre (0) ) / ( t(n)- t (0) )

??

Thanks in advance

Marco
sfigato is offline   Reply With Quote

Old   January 6, 2014, 03:30
Default
  #44
New Member
 
Nazanin
Join Date: Sep 2013
Posts: 22
Rep Power: 13
Nazanin is on a distinguished road
Quote:
Originally Posted by Hrushi View Post
Hi,

Here is the updated version of baryCenter (for OF-2.2.1) baryCenter221.zip utility. I have tested it on OpenFOAM-2.2.1.

Enjoy!
Hi Hrushikesh
Thank you for provide baryCenter..
But,how I can use this?I simulate rising bubble and I want calculate rising velocity,bubble diameter and surface area..but I don't know how define these??
can You help me??
Best
arsalan.dryi likes this.
Nazanin is offline   Reply With Quote

Old   May 21, 2016, 15:02
Default
  #45
Member
 
Arsalan
Join Date: Jul 2014
Posts: 74
Rep Power: 12
arsalan.dryi is on a distinguished road
Dear Foamers,

Is there a way to compute two or three bubbles center position an velocity with swak4Foam?!

I used a swakEpression as follows for calculating a single bubble center of position, but for two bubble, I don't have any idea!

Code:
    bubbleCentreY
    {
        type swakExpression;
        valueType internalField;
        verbose true;
    variables (
    "Vol= sum (alpha1 < 0.5 ? vol() : 0);"
    "VolY= sum (alpha1 < 0.5 ? pos().y*vol() : 0);"    
    );        
    expression "VolY/Vol";
        accumulations (
        min        
        );

     
    }
Thanks in advance,
Regards.
arsalan.dryi is offline   Reply With Quote

Old   May 31, 2017, 06:41
Smile How to make 2D bubble region in openfoam?
  #46
New Member
 
David
Join Date: May 2017
Posts: 2
Rep Power: 0
18210436486 is on a distinguished road
Quote:
Originally Posted by sega View Post
My first setup was really bad.

I have done this now:
- used the complete computational domain (no symmetry)
- boundary-condition:
U: 0 at the bottom, zeroGradient at all other sides
pd: totalPressure 0 at the top, zeroGradient at all other sides
gamma: zeroGradient at all sides

I initialized the bubble as a sphere of defined radius and defined pressure inside.

All other transportProperties were chosen as in the literature mentioned above.

The simulation is running, but is not computing as I have planned.

- The bubble does not reach the "spherical cap sized" shape. It's more "skirted" at the sides.
Is that due to wall effects (actually there is no wall to the sides)?
Maybe I have to increade the computational domain?



The bubble is rising very slowly.
The image from above is after 30s Simulation time.
From the literature the bubble should reach its final shape and terminal velocity round about 0.1 Seconds ...
hi would you please tell me, how to make 2D region for bubble emerged in water using openfoam? I tried using setFeildsDic, but i do not know why it does not make a region...I am confused..it should be quit easy...
18210436486 is offline   Reply With Quote

Old   March 8, 2022, 03:54
Default
  #47
Member
 
sadra mahmoudi
Join Date: Feb 2021
Location: Austria
Posts: 39
Rep Power: 5
sadra2003 is on a distinguished road
Hello Sebastian,

Thank you for the info you provided here.
I am also working on the terminal velocity of bubbles. Using the paraView, I measure the center of a bubble location in two successive time step, then by deviding the displacement of the center of bubble to the time difference, I wannt to calculate the velocity. The problem is, the value that I gain is 50 % lower than the reported values in the literature. I am using a 2D mesh in openFoam 8 using interFoam.
The contents of my 0 folder are:

U file:

dimensions [0 1 -1 0 0 0 0];

internalField uniform (0 0 0);

boundaryField
{
bottom
{
type noSlip;
}
outlet
{
type noSlip;
}
walls
{
type slip;
}
defaultFaces
{
type empty;
}
}


p_rgh file:
dimensions [1 -1 -2 0 0 0 0];

internalField uniform 0;

boundaryField
{
bottom
{
type zeroGradient;
}

outlet
{
type zeroGradient;
}

walls
{
type zeroGradient;
}

defaultFaces
{
type empty;
}
}

alpha file:


dimensions [0 0 0 0 0 0 0];

internalField uniform 0;

boundaryField
{
bottom
{
type zeroGradient;
}

outlet
{
type zeroGradient;
}

walls
{
type zeroGradient;
}

defaultFaces
{
type empty;
}
}


transportProperties file:

phases (air water);

air
{
transportModel Newtonian;
nu nu [ 0 2 -1 0 0 0 0 ] 1.5E-5;
rho rho [ 1 -3 0 0 0 0 0 ] 1.18;

}

water
{
transportModel Newtonian;
nu nu [ 0 2 -1 0 0 0 0 ] 7.22E-7;
rho rho [ 1 -3 0 0 0 0 0 ] 995.7;

}

Thanks a lot.
sadra2003 is offline   Reply With Quote

Old   March 12, 2022, 07:19
Default
  #48
Senior Member
 
piu58's Avatar
 
Uwe Pilz
Join Date: Feb 2017
Location: Leipzig, Germany
Posts: 744
Rep Power: 15
piu58 is on a distinguished road
I simulated a similar case a few years agao. I did not look at the velocity but at they y value of the center of gravity, which is more or less the same. I get decent values only with veryl low values of maxCo, around 0.01.
__________________
Uwe Pilz
--
Die der Hauptbewegung überlagerte Schwankungsbewegung ist in ihren Einzelheiten so hoffnungslos kompliziert, daß ihre theoretische Berechnung aussichtslos erscheint. (Hermann Schlichting, 1950)
piu58 is offline   Reply With Quote

Old   March 7, 2024, 18:57
Default
  #49
Member
 
sajad
Join Date: Aug 2013
Posts: 71
Rep Power: 13
seju is on a distinguished road
Quote:
Originally Posted by sadra2003 View Post
Hello Sebastian,

Thank you for the info you provided here.
I am also working on the terminal velocity of bubbles. Using the paraView, I measure the center of a bubble location in two successive time step, then by deviding the displacement of the center of bubble to the time difference, I wannt to calculate the velocity. The problem is, the value that I gain is 50 % lower than the reported values in the literature. I am using a 2D mesh in openFoam 8 using interFoam.
The contents of my 0 folder are:

U file:

dimensions [0 1 -1 0 0 0 0];

internalField uniform (0 0 0);

boundaryField
{
bottom
{
type noSlip;
}
outlet
{
type noSlip;
}
walls
{
type slip;
}
defaultFaces
{
type empty;
}
}


p_rgh file:
dimensions [1 -1 -2 0 0 0 0];

internalField uniform 0;

boundaryField
{
bottom
{
type zeroGradient;
}

outlet
{
type zeroGradient;
}

walls
{
type zeroGradient;
}

defaultFaces
{
type empty;
}
}

alpha file:


dimensions [0 0 0 0 0 0 0];

internalField uniform 0;

boundaryField
{
bottom
{
type zeroGradient;
}

outlet
{
type zeroGradient;
}

walls
{
type zeroGradient;
}

defaultFaces
{
type empty;
}
}


transportProperties file:

phases (air water);

air
{
transportModel Newtonian;
nu nu [ 0 2 -1 0 0 0 0 ] 1.5E-5;
rho rho [ 1 -3 0 0 0 0 0 ] 1.18;

}

water
{
transportModel Newtonian;
nu nu [ 0 2 -1 0 0 0 0 ] 7.22E-7;
rho rho [ 1 -3 0 0 0 0 0 ] 995.7;

}

Thanks a lot.

You can see test cases and validations of different bubble regimes in this post:
Validation of Bubble Regime in Openfoam


#openFoam #bubble_velocity #validation #interFoam
seju 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
Bubble rise velocity Miguel CFX 1 December 25, 2006 20:17
terminal velocity in spray dryer weekendwarrior Main CFD Forum 1 February 20, 2006 01:47
Query on VOF for Bubble rise Vamsi Main CFD Forum 0 December 22, 2005 01:02
Terminal velocity of 2D rising bubbles Tony Main CFD Forum 0 June 15, 2004 19:37
Terminal bubble shapes Tony Main CFD Forum 0 February 27, 2002 17:30


All times are GMT -4. The time now is 12:43.