CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Post-Processing

how to calculate mass flow rate on patches and summation of that during the run?

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

Like Tree17Likes

LinkBack Thread Tools Display Modes
Old   September 1, 2013, 14:10
Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,929
Blog Entries: 34
Rep Power: 92
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
About this discussion from back in April:
Originally Posted by gschaider View Post
As I said above: there's a bit of ballast involved with having functionObjects.

Thing is that EFFO preloads certain fields for functionObjects that need them. The problem with using swak-functionObjects is the same: they assume that fields are already in memory (but that is a solvable problem)
Originally Posted by wyldckat View Post
And as I said (er, wrote), I'm interested in doing #3 myself... a funkyDoFunctionObjects seems to be a very interesting topic I'll try to look into it in my next vacation...
I've finally done it today: execFunctionObjects: Minimalistic variant of execFlowFunctionObjects utility
Thing is that it was embarrassingly simple to do... because I only had to remove excess code from execFlowFunctionObjects.

Best regards,
immortality likes this.
wyldckat is offline   Reply With Quote

Old   May 13, 2014, 04:37
adarsh tiwari's Avatar
adarsh tiwari
Join Date: Feb 2014
Location: Bangalore
Posts: 41
Blog Entries: 5
Rep Power: 3
adarsh tiwari is on a distinguished road
hi all,

I used the same thing as explained by Bruno, but i got the following message
Istream not OK for reading dictionary 

file: fdcMassFlow at line 1.

    From function dictionary::read(Istream&, bool)
    in file db/dictionary/dictionaryIO.C at line 91.

FOAM exiting
Also, one more thing I would like to ask, I read so many threads dedicated to mass flow one i found interesting which says simply by using
patchIntegrate phi <patch name>
will give the mass flow rate, but as per my observations it is giving the integrated values

I am more interested in average value, so please suggest me the correct way (i am using OpenFOAM version 2.2.2 )

Thanks and Regards,
adarsh tiwari is offline   Reply With Quote

Old   November 25, 2014, 14:16
New Member
Lourenšo SM
Join Date: Jul 2014
Location: Lisboa, Portugal
Posts: 16
Rep Power: 3
lourencosm is on a distinguished road
Hello Adarsh,

have you tried "patchAverage"?
lourencosm is offline   Reply With Quote


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

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