|
[Sponsors] |
January 11, 2017, 17:20 |
mass flow rate
|
#1 |
New Member
majid
Join Date: Oct 2016
Posts: 3
Rep Power: 10 |
dear all formers
i have a problem to calculate the mass flow rate on a patch! i saw a lot of threads about this problem but unfortunately non of them worked for me!! The way that i tried, was using the below comment in terminal: patchIntegrate phi inlet -latestTime but the OF says it doesn't work on this version (my OF version is 4.1) so you should use postProcess -func I use this comment in terminal: postProcess -func phi -latestTime but it shows me the below error!! Create time Create mesh for time = 0.0101001 --> FOAM Warning : From function static bool Foam::functionObjectList::readFunctionObject(const Foam::string&, Foam::dictionary&, Foam::HashSet<>&, const Foam::word&) in file db/functionObjects/functionObjectList/functionObjectList.C at line 245 Cannot find functionObject file phi Time = 0.0101001 Reading fields: Executing functionObjects End could you please tell me how to calculate mass flow rate on inlet and outlet? thank you majid |
|
January 5, 2018, 04:57 |
|
#2 |
New Member
Join Date: Nov 2017
Location: Germany
Posts: 11
Rep Power: 9 |
Try to use the #includeFunc flowRatePatch(name=inlet)
this works for me in OF 4.1 |
|
July 29, 2018, 14:43 |
|
#3 |
Senior Member
Deep
Join Date: Oct 2017
Posts: 180
Rep Power: 9 |
||
August 7, 2018, 10:19 |
|
#4 |
New Member
Join Date: May 2018
Posts: 14
Rep Power: 8 |
In the controlDict:
functions { #includeFunc nameofthefunction } |
|
August 7, 2018, 10:24 |
|
#5 |
New Member
Join Date: May 2018
Posts: 14
Rep Power: 8 |
And he talk about the function flowRatePatch in
/etc/caseDicts/postProcessing/flowRate/flowRatePatch |
|
August 20, 2018, 09:45 |
|
#6 |
Senior Member
Deep
Join Date: Oct 2017
Posts: 180
Rep Power: 9 |
||
February 4, 2019, 08:59 |
|
#7 | |
New Member
Join Date: Aug 2015
Posts: 10
Rep Power: 11 |
Quote:
Just for your interrest, the correct usage of the command is: Code:
postProcess -func 'patchIntegrate(name=outlet,phi)' -latestTime According to this page http://openfoamwiki.net/index.php/Co...unctionObjects patchIntegrate does the following: However, flowRatePatch does show the theoretical (analytical) result but patchIntegrate gives a value 5 orders of magnitude lower. Any help is appreciated. Thanks! |
||
Tags |
mass flow rate, openfoam 4.1 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Higher mass flow rate at outlets as compare to inlet | Ahmed Saieed | FLUENT | 0 | April 4, 2016 00:08 |
trying to perform accurate mass flow rate sampling through hot-film probe | UTA_ARC | ANSYS | 0 | December 2, 2015 14:20 |
Calculating mass flow rate at multiphase flows | Kuslo187 | OpenFOAM Post-Processing | 1 | August 21, 2015 19:11 |
mass flow rate in DPM steady tracking | Roule | FLUENT | 4 | June 1, 2015 11:44 |
mass flow rate error | Masood | FLUENT | 0 | May 22, 2005 01:32 |