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

Calculate flux for a number of boundary patches

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 17, 2020, 09:21
Default Calculate flux for a number of boundary patches
  #1
Member
 
Munaf
Join Date: May 2019
Posts: 42
Rep Power: 7
mwmalkawi is on a distinguished road
Dear All

I have a case of two inelts and two outlets and i wanted to calculate the total flux to have an idea if my solution reached a steady state as i am using itnerFoam i know in control dict you can add functions such as below but how to add or sum all the flow rates of the four boundary patches

#includeFunc flowRatePatch(name=inlet1)
#includeFunc flowRatePatch(name=inlet2)
#includeFunc flowRatePatch(name=outlet1)
#includeFunc flowRatePatch(name=outlet2)

Thakns
Munaf
mwmalkawi is offline   Reply With Quote

Old   February 18, 2020, 17:58
Default
  #2
HPE
Senior Member
 
HPE's Avatar
 
Herpes Free Engineer
Join Date: Sep 2019
Location: The Home Under The Ground with the Lost Boys
Posts: 931
Rep Power: 13
HPE is on a distinguished road
I think flowRatePatch does not support multiple patches at the moment.

Instead, you can sum the output by using 'add' fuction object, I think.
HPE is offline   Reply With Quote

Old   February 23, 2020, 02:22
Default
  #3
Member
 
Munaf
Join Date: May 2019
Posts: 42
Rep Power: 7
mwmalkawi is on a distinguished road
Thank you HPE will you please kiondly provide me the context who you would write it in cotorl Dict

Thanks
mwmalkawi 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
Wind turbine simulation Saturn CFX 60 July 17, 2024 06:45
Foam::error::PrintStack almir OpenFOAM Running, Solving & CFD 92 May 21, 2024 08:56
Wrong flow in ratating domain problem Sanyo CFX 17 August 15, 2015 07:20
foam-extend_3.1 decompose and pyfoam warning shipman OpenFOAM 3 July 24, 2014 09:14
Question about heat transfer coefficient setting for CFX Anna Tian CFX 1 June 16, 2013 07:28


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