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

Calculate 3D bubble volume in twoPhaseEulerFoam in OF23x

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By wyldckat

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 16, 2015, 09:17
Default Calculate 3D bubble volume in twoPhaseEulerFoam in OF23x
  #1
Member
 
Gitesh
Join Date: Jan 2010
Location: Finland
Posts: 73
Rep Power: 16
Gitesh P is on a distinguished road
Hello,

I am using twoPhaseEulerFoam in OF23x for simulations of two-phase steam water system.

Is there any suggestions about how to calculate bubble volume in 3D case?

With regards,
GP
Gitesh P is offline   Reply With Quote

Old   November 7, 2015, 14:07
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Quick answer: I'll quote part of a recent PM you sent me:
Quote:
Originally Posted by Gitesh P
Somehow I need to calculate bubble volume in certain box. To calculate bubble volume in defined box I need to integrate volume fraction and cell volumes there. And I need that information at each iteration. Could you suggest something how I can do that in OpenFOAM?

I have already extracted many data via sampling during run. But for bubble volume data requires also the cell volumes in defined box and I have tried to find it via Google but no any success yet.
You've already got part of the idea correctly. The simplest way of calculating the total volume of bubbles is to rely on the alpha field and to multiply by the volumes of the cells... which you can do by using the integration operation. I know that's explained somewhere on the forum... if I'm not mistaken, this can help: http://www.cfd-online.com/Forums/ope...tml#post388158 - start reading from post #7 and onwards.

As for calculating only in a particular region, this thread has part of the idea you need: http://www.cfd-online.com/Forums/ope...ume-field.html - using topoSet can be used either after the simulation is already done, because you can do several cell/face/point selection operations, as described in the main "topoSetDict" example: https://github.com/OpenFOAM/OpenFOAM...et/topoSetDict - namely in the location given by this command:
Code:
echo $FOAM_UTILITIES/mesh/manipulation/topoSet/topoSetDict
As for the other part, namely to do the calculation for a part of the mesh... I can't remember exactly how it's definable, it at all... but I vaguely remember seeing something about it for swak4Foam... I don't know if the library "swakTopoSources" has what you need... have a look at the tutorial mentioned here: https://openfoamwiki.net/index.php/C...uctImplicit.3D
In addition, check in the main page: https://openfoamwiki.net/index.php/Contrib/swak4Foam - for the sections "FAQ", "Further information" and "Examples"
WeiZhenjiang likes this.
__________________
wyldckat 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
how to set periodic boundary conditions Ganesh FLUENT 15 November 18, 2020 06:09
twoPhaseEulerFoam for modelling bubble plumes davibarreira OpenFOAM Verification & Validation 0 January 6, 2015 07:24
[ICEM] How to calculate the volume of mesh BrolY ANSYS Meshing & Geometry 5 February 7, 2013 12:08
calculate volume flow from a 2D simulation SimonH. OpenFOAM 0 October 27, 2009 04:39
calculate cell volume, center...? Paul Main CFD Forum 5 June 21, 2003 12:55


All times are GMT -4. The time now is 00:30.