|
[Sponsors] |
How to find Mass flow at the inlet and outlet patch |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
June 3, 2016, 14:02 |
How to find Mass flow at the inlet and outlet patch
|
#1 |
Member
Sheikh Ahmed
Join Date: Dec 2015
Location: South Carolina, USA
Posts: 88
Rep Power: 11 |
Hi
Could anyone please share your thoughts about how can I find the mass flow at the inlet and outlet patches for a flow through a tube with minimum effor in OpenFOAM? I am using OF version 2.3.1 and I think 'calcMassFlow' utility works with the older versions. Any of your suggestion will be highly appreciated. |
|
June 3, 2016, 15:52 |
|
#2 |
New Member
Balajee
Join Date: Dec 2013
Posts: 13
Rep Power: 13 |
Code:
patchIntegrate phi patchname |
|
June 3, 2016, 17:12 |
|
#3 |
Member
Sheikh Ahmed
Join Date: Dec 2015
Location: South Carolina, USA
Posts: 88
Rep Power: 11 |
Thanks for your reply. Could you please tell me what is the 'phi' here. The Patchname here is the inlet and outlet for my case I believe.
Also, is this an openFoam command to find the mass flow?? PLEASE tell me a little more details. Thanks once again. |
|
June 6, 2016, 12:47 |
|
#4 |
Member
Sheikh Ahmed
Join Date: Dec 2015
Location: South Carolina, USA
Posts: 88
Rep Power: 11 |
Hi Balajee
Thanks for your sharing. I came to learn that 'patchIntegrae phi patchname -latestTime' is the openfoam command to integrate the quantity 'phi' that is calculated when I select the fluxRequired option in the system/fvSchemes as "p", changing from the default 'no'. The last line of the output from this command gives the integral of phi over the specified patch, which is nothing but the mass flow (in mass/time). Is that correct? Please correct me if I am wrong. |
|
June 7, 2016, 06:24 |
|
#5 |
New Member
Balajee
Join Date: Dec 2013
Posts: 13
Rep Power: 13 |
Yes. phi is a surfaceScalarField and it represents the mass flux across the faces. And patchIntegrate integrates phi over all the boundary faces in the patch and gives you the mass flux through that patch.
|
|
Tags |
mass flow |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Calculate Mass Flowrate and Mass Flow Averaged Total Pressure at inlet and outlet | coolcrasher | OpenFOAM Post-Processing | 7 | November 4, 2021 05:57 |
Issues on the simulation of high-speed compressible flow within turbomachinery | dowlee | OpenFOAM Running, Solving & CFD | 11 | August 6, 2021 07:40 |
mass flow inlet and pressure outlet with target mass flow rate | Zigainer | FLUENT | 13 | October 26, 2018 06:58 |
Pressure Outlet Targeted Mass Flow Rate | LuckyTran | FLUENT | 1 | November 23, 2016 11:40 |
Net mass flow inlet vs outlet | Nigui28 | FLUENT | 1 | August 12, 2011 11:09 |