|
[Sponsors] |
June 19, 2019, 03:03 |
Rising velocity - 3D single bubble
|
#1 |
New Member
John
Join Date: Mar 2019
Posts: 26
Rep Power: 7 |
Hi all Foamers,
I've done a simulation about 3D single bubble rising , now i want to compute rising velocity over time of bubble . Can you suggest me someway i can do it. I make some simple code but it seems like the "center position of bubble" always equal in each time step . Any help is really appreciated. Thank you so much for reading Code:
y = 0.0; sumM = 0.0; sumMY = 0.0; forAll(alpha1, cellI){ // Integration of {mass} sumM += (1-alpha1[cellI])*mesh.V()[cellI]*rho2.value(); // Integration of (mass*height) sumMY += (1-alpha1[cellI])*mesh.V()[cellI]*rho2.value() *mesh.C()[cellI][1]; } y = sumMY/max(sumM, SMALL); // Center of bubble but it always the same at each timestep |
|
December 14, 2019, 15:13 |
|
#2 | |
New Member
Wenjun Tuan
Join Date: Feb 2018
Posts: 5
Rep Power: 8 |
Have you solved this problem ? How you use the cell-centre velocity ?
Quote:
|
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Simulation of a single bubble with a VOF-method | Suzzn | CFX | 21 | January 29, 2018 00:58 |
How to compute rising velocity of rising buubles | Nazanin | OpenFOAM Post-Processing | 1 | August 6, 2014 13:19 |
VOF single bubble rising velocity! | Lincoln | Main CFD Forum | 3 | April 10, 2012 10:04 |
bubble rising in a column | swamysrikanth | Main CFD Forum | 2 | September 27, 2010 08:59 |
Query on VOF for Bubble rise | Vamsi | Main CFD Forum | 0 | December 22, 2005 00:02 |