|
[Sponsors] |
Comparison Mass flow rate at the inlet and outlet??? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
October 6, 2012, 01:29 |
Comparison Mass flow rate at the inlet and outlet???
|
#1 |
Member
vahid
Join Date: Feb 2012
Location: Mashhad-Iran
Posts: 80
Rep Power: 13 |
Hi dear Foamers.
I have a question,please help me? I want to Comparison Mass flow rate at the inlet and outlet in my geometry after running??? but i dont know hot to get them??? Thanks for your attention. |
|
October 6, 2012, 10:02 |
|
#2 |
Senior Member
Wouter van der Meer
Join Date: May 2009
Location: Elahuizen, Netherlands
Posts: 203
Rep Power: 18 |
hello,
did you take the trouble to search the forum for mass flow rate? I got a lot of hits, so maybe one will solve your problem Best Wouter |
|
October 6, 2012, 11:24 |
Tnx
|
#3 |
Member
vahid
Join Date: Feb 2012
Location: Mashhad-Iran
Posts: 80
Rep Power: 13 |
Hi Wouter.
Thanks for your Guidance! |
|
October 25, 2012, 14:36 |
|
#4 |
Senior Member
HECKMANN Frédéric
Join Date: Jul 2010
Posts: 249
Rep Power: 17 |
A bit late but here is your answer :
http://openfoamwiki.net/index.php/Ho...e_density_flow Code:
label inletPatch = mesh.boundaryMesh().findPatchID("velocity_inlet"); // if we don't have such a patch, warn the user if (inletPatch==-1) { Info << "Failure to find patch named velocity_inlet for mass flow calc." <<endl; } else // calculate the result and do output { scalar inFlux = -1.0* sum(phi.boundaryField()[inletPatch]); Info << " Inflow= " << inFlux <<" [kg/s] " ; |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
mass flow inlet and pressure outlet with target mass flow rate | Zigainer | FLUENT | 13 | October 26, 2018 06:58 |
Compressible flow, no data at the outlet | mireis | FLUENT | 6 | September 3, 2015 03:10 |
Mass flow inlet and pressure outlet issue | nikhil | FLUENT | 5 | December 11, 2013 13:30 |
Net mass flow inlet vs outlet | Nigui28 | FLUENT | 1 | August 12, 2011 11:09 |
Inlet and outlet flow rate | Neser | CFX | 1 | March 2, 2004 17:02 |