|
[Sponsors] |
cavitatingFoam: calculate the mass flow rate in a specific area |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
September 6, 2015, 13:43 |
cavitatingFoam: calculate the mass flow rate in a specific area
|
#1 |
New Member
Sylvain
Join Date: Sep 2014
Posts: 5
Rep Power: 12 |
If the specific area is corresponding to a patch you can use "patchIntegrate U patchName" that will give you the volume flow rate over the patch area.
Knowing the flow density you get the mass flow rate (if incompressible). |
|
September 7, 2015, 05:23 |
cavitatingFoam: calculate the mass flow rate in a specific area
|
#2 |
New Member
ali
Join Date: May 2015
Posts: 1
Rep Power: 0 |
In cavitatingFoam I want to calculate the mass flow rate in a specific area, but I do not know how to do
How should I determine the surface area and then how do I calculate the mass flow rate please help me |
|
September 7, 2015, 14:07 |
|
#3 | |
New Member
Damon Lee
Join Date: Sep 2014
Posts: 16
Rep Power: 12 |
Quote:
If you get that working then you could calculate the mass flow through that circular surface easily. |
||
September 7, 2015, 15:16 |
|
#4 |
Senior Member
Saideep
Join Date: Apr 2015
Location: INDIA
Posts: 203
Rep Power: 12 |
Hi I guess swak4Foam utility could help you out!!
So, I guess you want to know the outflow at the outlet right? Then you can just install swak4Foam and use related code within the controlDict file under functions. You also have a good flexibility to choose the location where you want to obtain the mass flow, cumulative sum, velocity avg. etc. I can attach you a code that i recently used. But if you want the flow over the face of a specific cell it is complicated but i guess swak4Foam will also help you there. This post was something i made use of, {though there are many almost similar to this}. http://www.cfd-online.com/Forums/openfoam-post-processing/115428-how-calculate-mass-flow-rate-patches-summation-during-run.html Saideep |
|
September 30, 2015, 06:36 |
|
#5 |
Member
Sravan Kumar
Join Date: May 2014
Posts: 57
Rep Power: 12 |
Code:
patchIntegrate phi patchName However you can also do it using function objects in control dict using function object named facesource. just look for it and you can fix your problem |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Pressure Outlet Targeted Mass Flow Rate | LuckyTran | FLUENT | 1 | November 23, 2016 11:40 |
UDF to access interior surface to calculate mass flow rate | shahjehan | Fluent UDF and Scheme Programming | 0 | August 11, 2015 15:44 |
mass flow rate in DPM steady tracking | Roule | FLUENT | 4 | June 1, 2015 11:44 |
Mass flow rate | Neser | CFX | 4 | February 14, 2004 01:27 |