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

How to compute total liquid volume of the whole domain

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

Reply
 
LinkBack Thread Tools Display Modes
Old   July 12, 2007, 14:27
Default Hi, I finished an interFoam
  #1
Senior Member
 
Pei-Ying Hsieh
Join Date: Mar 2009
Posts: 317
Rep Power: 9
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, 07:24
Default Info << " Liquid: " << sum(mes
  #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
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, 18:18
Default Thanks a lot Bernhard! I ca
  #3
Senior Member
 
Pei-Ying Hsieh
Join Date: Mar 2009
Posts: 317
Rep Power: 9
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

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
How to compute liquid volume of the NOT whole domain snak OpenFOAM Post-Processing 4 June 25, 2008 07: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 21:44
Total volume UDF Alexandre FLUENT 1 July 18, 2002 14:32
Compute volume Tony Main CFD Forum 1 October 2, 2001 17:39


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