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

swak4Foam to calculate bubble velocity

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree1Likes
  • 1 Post By gschaider

Reply
 
LinkBack Thread Tools Display Modes
Old   March 1, 2012, 13:28
Default swak4Foam to calculate bubble velocity
  #1
Senior Member
 
Nima Sam
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,123
Blog Entries: 1
Rep Power: 14
nimasam is on a distinguished road
Send a message via Yahoo to nimasam
hi former
i guess, it should be possible to access a bubble velocity with swak4Foam
but i dont know how the procedure can be?
the procedure should be like that:

1) select all cells with alpha < 0.5
2) calculate the gravity center in each time step

any comment or suggestion?
nimasam is offline   Reply With Quote

Old   March 1, 2012, 15:10
Default
  #2
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 3,915
Rep Power: 40
gschaider will become famous soon enoughgschaider will become famous soon enough
Quote:
Originally Posted by nimasam View Post
hi former
i guess, it should be possible to access a bubble velocity with swak4Foam
but i dont know how the procedure can be?
the procedure should be like that:

1) select all cells with alpha < 0.5
2) calculate the gravity center in each time step

any comment or suggestion?
Why use a cutoff? that way you're going to get jumps in your result. Something like

"(pos()*vol()*(1-alpha1))/sum(vol()*(1-alpha1))"

(with an accumulation sum) might give you the center of the "non-fluid".Have a look at my presentation from the last workshop (you'll find it on the swak4Foam-page on the Wiki). Slide 76 has a similar application.

BTW: if you're interested in the velocity of the liquid interface then you might want to have a look at slide 155 where it s demonstrated how to calculate that with sampledSurfaces
nimasam likes this.
gschaider is offline   Reply With Quote

Reply

Tags
bubble, swak4foam

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Calculate velocity components from shear stress Arnoldinho OpenFOAM Running, Solving & CFD 0 August 29, 2011 12:07
how to compute relative velocity from absolute? spk Main CFD Forum 3 July 9, 2010 08:42
velocity of air Robert Main CFD Forum 4 January 22, 2007 19:42
How to calculate Drift Velocity Kumar FLUENT 0 November 15, 2004 09:10
How to calculate Drift Velocity Kumar FLUENT 0 November 12, 2004 06:45


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