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

[interFoam] Get flow rate of a specific phase

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 7, 2020, 19:17
Default [interFoam] Get flow rate of a specific phase
  #1
Member
 
Gui Miotto
Join Date: Feb 2020
Posts: 30
Rep Power: 6
miotto is on a distinguished road
Hi everyone,

How can I get the flow rate of a specific phase crossing a patch?
More specifically, I want to calculate the water flow rate going into an outlet.

Is it possible to do that without Swak4Foam?

I tried this:

Code:
postProcess -func "flowRatePatch(name=bottom)"

and this:

Code:
postProcess -func "patchIntegrate(name=bottom, phi)"

But they give me a total flux (both phases summed together), right?

Can I maybe improve these commands so that phi gets multiplied by alpha.water before the integration? Would that be physically correct?
miotto is offline   Reply With Quote

Old   May 29, 2020, 05:02
Default
  #2
Senior Member
 
Join Date: Dec 2019
Location: Cologne, Germany
Posts: 355
Rep Power: 8
geth03 is on a distinguished road
absolutely you can do that, look at that:

https://cpp.openfoam.org/v4/classFoa...aceRegion.html
geth03 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
Specify mass flow rate for periodic boundary conditions in channel flow lion1990 OpenFOAM Running, Solving & CFD 1 July 9, 2018 17:46
Exit Corrected Mass Flow Rate Mesh Sensitivity Study s__s__s CFX 4 July 20, 2016 11:46
mass flow rate... sanjar OpenFOAM Running, Solving & CFD 1 December 2, 2013 00:09
How to obtain mass flow rate of one phase Derek Jing FLUENT 1 May 31, 2002 13:18
mass flow rate of a dispersion phase Paul FLUENT 1 February 25, 2002 23:19


All times are GMT -4. The time now is 03:06.