|
[Sponsors] |
![]() |
![]() |
#1 |
New Member
majid
Join Date: Oct 2016
Posts: 3
Rep Power: 8 ![]() |
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 |
|
![]() |
![]() |
![]() |
![]() |
#2 |
New Member
Join Date: Nov 2017
Location: Germany
Posts: 11
Rep Power: 7 ![]() |
Try to use the #includeFunc flowRatePatch(name=inlet)
this works for me in OF 4.1 |
|
![]() |
![]() |
![]() |
![]() |
#3 |
Senior Member
Deep
Join Date: Oct 2017
Posts: 180
Rep Power: 7 ![]() |
||
![]() |
![]() |
![]() |
![]() |
#4 |
New Member
Join Date: May 2018
Posts: 14
Rep Power: 7 ![]() |
In the controlDict:
functions { #includeFunc nameofthefunction } |
|
![]() |
![]() |
![]() |
![]() |
#5 |
New Member
Join Date: May 2018
Posts: 14
Rep Power: 7 ![]() |
And he talk about the function flowRatePatch in
/etc/caseDicts/postProcessing/flowRate/flowRatePatch |
|
![]() |
![]() |
![]() |
![]() |
#6 |
Senior Member
Deep
Join Date: Oct 2017
Posts: 180
Rep Power: 7 ![]() |
||
![]() |
![]() |
![]() |
![]() |
#7 | |
New Member
Join Date: Aug 2015
Posts: 10
Rep Power: 10 ![]() |
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 | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Higher mass flow rate at outlets as compare to inlet | Ahmed Saieed | FLUENT | 0 | April 3, 2016 23:08 |
trying to perform accurate mass flow rate sampling through hot-film probe | UTA_ARC | ANSYS | 0 | December 2, 2015 13:20 |
Calculating mass flow rate at multiphase flows | Kuslo187 | OpenFOAM Post-Processing | 1 | August 21, 2015 18:11 |
mass flow rate in DPM steady tracking | Roule | FLUENT | 4 | June 1, 2015 10:44 |
mass flow rate error | Masood | FLUENT | 0 | May 22, 2005 00:32 |