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

How to compute total liquid volume of the whole domain

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 12, 2007, 15:27
Default Hi, I finished an interFoam
  #1
Senior Member
 
Pei-Ying Hsieh
Join Date: Mar 2009
Posts: 317
Rep Power: 18
hsieh is on a distinguished road
Hi,

I finished an interFoam run. The case has liquid phase escaping from the domain. I would like to compute the total liquid volume left at each time step (post-porcessing). Can someone suggest the way(s) to do this?

Thanks!

Pei
hsieh is offline   Reply With Quote

Old   July 13, 2007, 08:24
Default Info << " Liquid: " << sum(mes
  #2
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51
gschaider will become famous soon enoughgschaider will become famous soon enough
Info << " Liquid: " << sum(mesh.V()*gamma) << endl;
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request
gschaider is offline   Reply With Quote

Old   July 13, 2007, 19:18
Default Thanks a lot Bernhard! I ca
  #3
Senior Member
 
Pei-Ying Hsieh
Join Date: Mar 2009
Posts: 317
Rep Power: 18
hsieh is on a distinguished road
Thanks a lot Bernhard!

I cannot believe it is SO easy!

Pei
hsieh 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 compute liquid volume of the NOT whole domain snak OpenFOAM Post-Processing 4 June 25, 2008 08:34
Need some help for total liquid fraction linus FLUENT 0 December 19, 2006 04:29
Compute total surface area of Dpm figo FLUENT 0 September 8, 2004 22:44
Total volume UDF Alexandre FLUENT 1 July 18, 2002 15:32
Compute volume Tony Main CFD Forum 1 October 2, 2001 18:39


All times are GMT -4. The time now is 07:28.