|
[Sponsors] | |||||
|
|
|
#1 |
|
Senior Member
|
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? |
|
|
|
|
|
|
|
|
#2 | |
|
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 3,121
Rep Power: 30 ![]() ![]() |
Quote:
"(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 |
||
|
|
|
||
![]() |
| Tags |
| bubble, swak4foam |
| Thread Tools | |
| Display Modes | |
|
|
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 18:42 |
| How to calculate Drift Velocity | Kumar | FLUENT | 0 | November 15, 2004 08:10 |
| How to calculate Drift Velocity | Kumar | FLUENT | 0 | November 12, 2004 05:45 |