|
[Sponsors] |
Calculation of mass flow rate in OpenFOAM 2.0.1 |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
February 23, 2012, 11:19 |
Calculation of mass flow rate in OpenFOAM 2.0.1
|
#1 |
New Member
Join Date: Oct 2011
Posts: 20
Rep Power: 15 |
Hello friends,
After looking around the forums and reading some posts, I am confused with the measurement of mass flow rate in Openfoam. I want to calculate the values of my inlet and outlet patches. Could anybody can show me the proper way in OpenFoam 2.0.1? I am sorry for taking your time with that simple question. Kind regards |
|
February 23, 2012, 11:45 |
|
#3 |
New Member
Join Date: Oct 2011
Posts: 20
Rep Power: 15 |
thank you for your reply I saw the post you send me. But still have a doubt are you talking about calcMassFlow utility? It seems to be it is valid for ver. 1.4
|
|
February 23, 2012, 11:46 |
|
#4 |
Senior Member
Aurelien Thinat
Join Date: Jul 2010
Posts: 165
Rep Power: 16 |
You can just use the command "patchIntegrate phi patchname", can't you ?
|
|
February 23, 2012, 11:52 |
|
#5 |
New Member
Join Date: Oct 2011
Posts: 20
Rep Power: 15 |
Thank you it works!
|
|
February 29, 2012, 05:24 |
|
#6 |
New Member
Join Date: Jan 2012
Posts: 23
Rep Power: 14 |
Hi Aurelien,
I have used the "patchIntergrate phi Patchname" command. I want to calculate the mass flow at my oultet patch and also want to plot it over the time in paraview. I have two questions 1. Is the mass flow calculated by the patchIntergrate command stored somewhere?? or is just shown in the terminal. 2. Do you have an idea on plotting/viewing the mass flow at a particular patch in paraview? Thank you in advance Regards Abhinay |
|
February 29, 2012, 09:47 |
|
#7 |
Senior Member
Samuele Z
Join Date: Oct 2009
Location: Mozzate - Co - Italy
Posts: 520
Rep Power: 19 |
Dear Abhinay,
I am interested in this feature, too. Have you solved it, by chance? If so, what have you done? Thanks, Samuele. |
|
February 29, 2012, 12:22 |
|
#8 |
New Member
Join Date: Jan 2012
Posts: 23
Rep Power: 14 |
Hi Samuele,
unfortunately i have not found a solution although i did find an interesting discussion on the forum. I did try the way suggested here but have not quite understood the method. Still searching . Here is the link http://www.cfd-online.com/Forums/ope...-paraview.html Let me know if you figure it out. Regards Abhinay |
|
May 15, 2012, 07:14 |
|
#9 |
New Member
Kripal
Join Date: May 2009
Posts: 8
Rep Power: 17 |
Hi All,
You can save the data into a text file use patchIntegrate phi INLET >inletflow This will create a file named "inletflow" in which the data will be saved at each timestep. Hope this helps |
|
May 15, 2012, 07:34 |
|
#10 |
Senior Member
Samuele Z
Join Date: Oct 2009
Location: Mozzate - Co - Italy
Posts: 520
Rep Power: 19 |
Hi all,
thanks for help. Just a question: where should I insert the command Code:
patchIntegrate phi INLET >inletflow Should I insert it in a control-dict file or something like this? Thanks a lot, Samuele. |
|
May 15, 2012, 07:43 |
|
#11 |
New Member
Kripal
Join Date: May 2009
Posts: 8
Rep Power: 17 |
Hi Samuele,
Get inside the case folder using cd command in command prompt and then used the "patchIntegrate" command. Note: if the case is a decomposed one, reconstruct it and then use this command Regards Kripal |
|
May 13, 2014, 05:23 |
|
#12 |
Member
|
hi all,
I am relatively new in OpenFOAM and with my observation i can say that patchIntegrate gives the integrated values, but what to do if somebody is interested in calculating the average values for the same I tried using Code:
patchAverage phi Inlet Thanks and Regards, Adarsh |
|
December 3, 2015, 16:21 |
|
#13 |
Senior Member
Join Date: Jan 2013
Posts: 372
Rep Power: 14 |
Hi everybody,
I meet a problem with calculating the mass flow rate. I would like to know if mass flow rate for an interior surface, instead of the boundary surfaces. Is this possible? My mesh is 3D and generated by ICEM. Actually I have made an interior surface there, but as you may know, for openfoam, this interior surface does not appear in the boundary list (constant/polymesh/boundary). So it seems that "patchIntegrate phi BC_name" doed not work for this. Anybody has some ideas for this? Thank you so much. best regards, OFFO |
|
April 5, 2017, 05:48 |
MFR in interior surfaces
|
#14 |
New Member
cfdRocker
Join Date: Jun 2011
Posts: 5
Rep Power: 15 |
Hi All,
I have to reopen this thread. I think its been 2 years since the last post. OPenfoam has developed more now. I would like to know if there is anyway to calculate mass flow rate in any of the interior surfaces ? Regards, Manoj |
|
November 17, 2017, 12:14 |
MassFlowRate; Inlet and Oulet Patch
|
#15 |
Member
Shafik Walakaka
Join Date: Oct 2017
Posts: 38
Rep Power: 9 |
Hi guys,
I am also needing to calculate the mass flow rate at the inlet and outlet to ensure that the mass is conserved. Is there a way to do it on Openfoam4? Regards Shaq |
|
November 21, 2017, 11:18 |
|
#16 |
Senior Member
Robert
Join Date: May 2015
Location: Bremen, GER
Posts: 292
Rep Power: 12 |
Have you guys tried flowRateInletVelocity? I found this BC on https://www.openfoam.com/documentati...conditions.php
|
|
Tags |
calculation mass fw rate, mass flow rate, mass flow rate inlet |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Mass flow rate: calculation v/s computation | beguxa | FLUENT | 5 | December 2, 2018 22:02 |
Calculation of mass flow rate through a plane | titio | OpenFOAM Post-Processing | 2 | September 28, 2010 01:28 |
The reporting of mass flow rate | summer | FLUENT | 1 | July 12, 2007 10:35 |
mass flow rate error | Masood | FLUENT | 0 | May 22, 2005 01:32 |
Target mass flow rate | Saturn | FLUENT | 0 | December 10, 2004 05:18 |