CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Running, Solving & CFD

How to find Mass flow at the inlet and outlet patch

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   June 3, 2016, 13:02
Default How to find Mass flow at the inlet and outlet patch
  #1
Member
 
Sheikh Ahmed
Join Date: Dec 2015
Location: South Carolina, USA
Posts: 64
Rep Power: 3
sahmed is on a distinguished road
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.
sahmed is offline   Reply With Quote

Old   June 3, 2016, 14:52
Default
  #2
New Member
 
Balajee
Join Date: Dec 2013
Posts: 12
Rep Power: 5
bala_gk1988 is on a distinguished road
Code:
patchIntegrate phi patchname
bala_gk1988 is offline   Reply With Quote

Old   June 3, 2016, 16:12
Default
  #3
Member
 
Sheikh Ahmed
Join Date: Dec 2015
Location: South Carolina, USA
Posts: 64
Rep Power: 3
sahmed is on a distinguished road
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.
sahmed is offline   Reply With Quote

Old   June 6, 2016, 11:47
Default
  #4
Member
 
Sheikh Ahmed
Join Date: Dec 2015
Location: South Carolina, USA
Posts: 64
Rep Power: 3
sahmed is on a distinguished road
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.
sahmed is offline   Reply With Quote

Old   June 7, 2016, 05:24
Default
  #5
New Member
 
Balajee
Join Date: Dec 2013
Posts: 12
Rep Power: 5
bala_gk1988 is on a distinguished road
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.
bala_gk1988 is offline   Reply With Quote

Reply

Tags
mass flow

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Pressure Outlet Targeted Mass Flow Rate LuckyTran FLUENT 1 November 23, 2016 11:40
Issues on the simulation of high-speed compressible flow within turbomachinery dowlee OpenFOAM Running, Solving & CFD 8 October 25, 2016 19:48
Calculate Mass Flowrate and Mass Flow Averaged Total Pressure at inlet and outlet coolcrasher OpenFOAM Post-Processing 4 September 20, 2015 06:42
mass flow inlet and pressure outlet with target mass flow rate Zigainer FLUENT 10 January 5, 2013 22:51
Net mass flow inlet vs outlet Nigui28 FLUENT 1 August 12, 2011 10:09


All times are GMT -4. The time now is 23:32.