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

Using "patchIntegrate" command to calculate patch flow rate

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

Reply
 
LinkBack Thread Tools Display Modes
Old   November 7, 2010, 14:07
Question Using "patchIntegrate" command to calculate patch flow rate
  #1
Senior Member
 
maysmech's Avatar
 
Join Date: Jan 2010
Posts: 347
Blog Entries: 2
Rep Power: 8
maysmech is on a distinguished road
Hello Foamers,

I want to calculate flow rate of a patch. i read forum and found i should use "patchIntegrate" for phi to obtain flow rate of patches.

How can i use it?

Thanks in advance,
maysmech is offline   Reply With Quote

Old   November 7, 2010, 19:57
Default
  #2
New Member
 
Aidan
Join Date: Apr 2010
Posts: 18
Rep Power: 7
flowman is on a distinguished road
In the case folder you simply run:
Code:
patchIntegrate <fieldName> <patchName>
Replace <fieldName> with phi and <patchName> with the name of the patch that you want to calculate the flow rate on.
flowman is offline   Reply With Quote

Old   November 7, 2010, 23:18
Default
  #3
Senior Member
 
maysmech's Avatar
 
Join Date: Jan 2010
Posts: 347
Blog Entries: 2
Rep Power: 8
maysmech is on a distinguished road
Thanks you very much Aidan,
How can i use it in parallel processing?
maysmech is offline   Reply With Quote

Old   November 7, 2010, 23:30
Default
  #4
New Member
 
Aidan
Join Date: Apr 2010
Posts: 18
Rep Power: 7
flowman is on a distinguished road
if you enter the command
Code:
patchIntegrate -help
you will get the following output
Code:
Usage: patchIntegrate <fieldName> <patchName> [-latestTime] [-time ranges] [-parallel] [-constant] [-noZero] [-case dir]  [-help] [-doc] [-srcDoc]
As you can see, there is a parallel flag. I've never used it myself but I'm sure it works!
flowman is offline   Reply With Quote

Old   November 9, 2010, 03:39
Default
  #5
Senior Member
 
maysmech's Avatar
 
Join Date: Jan 2010
Posts: 347
Blog Entries: 2
Rep Power: 8
maysmech is on a distinguished road
Thanks.
It doesn't work for me.
maysmech 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
target flow rate: varying results Ryan FLUENT 3 January 9, 2008 14:54
mass flow rate error Masood FLUENT 0 May 22, 2005 00:32
How to calculate the mass flow rate with UDF ? HP FLUENT 0 January 10, 2005 20:38
Target mass flow rate Saturn FLUENT 0 December 10, 2004 05:18
Multicomponent fluid Andrea CFX 2 October 11, 2004 05:12


All times are GMT -4. The time now is 04:25.