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, 08:21
Default Calculate flux for a number of boundary patches
  #1
Member
 
Munaf
Join Date: May 2019
Posts: 38
Rep Power: 6
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, 16: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: 932
Rep Power: 12
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, 01:22
Default
  #3
Member
 
Munaf
Join Date: May 2019
Posts: 38
Rep Power: 6
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
Foam::error::PrintStack almir OpenFOAM Running, Solving & CFD 91 December 21, 2022 04:50
Wind turbine simulation Saturn CFX 58 July 3, 2020 01:13
Wrong flow in ratating domain problem Sanyo CFX 17 August 15, 2015 06:20
foam-extend_3.1 decompose and pyfoam warning shipman OpenFOAM 3 July 24, 2014 08:14
Question about heat transfer coefficient setting for CFX Anna Tian CFX 1 June 16, 2013 06:28


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