CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Post-Processing

How to calculate mass flow at a certain

Register Blogs Community New Posts Updated Threads Search

Like Tree4Likes
  • 2 Post By Pappelau
  • 2 Post By Alczem

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 14, 2023, 11:16
Post How to calculate mass flow rate at a certain point of a pipe?
  #1
New Member
 
Join Date: Apr 2023
Posts: 1
Rep Power: 0
Kazik is on a distinguished road
Hello everybody,

I am getting into OpenFoam and the case i am doing is a simple flow through a set of pipes as shown in the picture. My only patches are inlet, wall and outlet.
Is there a way of getting mass flow rate that goes through each of the parallel pipes as shown in the picture in OF or Paraview? I know that if i define each “outlets” of the parallel pipes i can calculate it myself in paraView and i also looked up some threads for this matter and some were suggesting using "calcMassFlow.zip". But the thread is 15 years old so i am not sure if its still viable for my version of OF (v2212).

Thank you for all the help.
Attached Images
File Type: jpg 91459A4A-F320-4749-BF83-2E8CCD203456.jpg (41.2 KB, 19 views)

Last edited by Kazik; April 14, 2023 at 17:05.
Kazik is offline   Reply With Quote

Old   April 19, 2023, 05:02
Default
  #2
Member
 
Lukas
Join Date: Sep 2021
Posts: 36
Rep Power: 4
Pappelau is on a distinguished road
Hello Kazik,
what you are searching are Facezones !

just add with the help of topoSet a faceZone for each channel to do your massflow calculation on.

(ps: You can even define then during the meshing process ! )
greetings
hogsonik and Alczem like this.
Pappelau is offline   Reply With Quote

Old   April 19, 2023, 05:03
Default
  #3
Senior Member
 
Join Date: Dec 2021
Posts: 204
Rep Power: 5
Alczem is on a distinguished road
Hey,


I would create faceZones (internal faces) during the meshing process for each of the 4 pipes. You could then use those with functions during the run.


Another tedious way would be to use Paraview to clip and separate each pipe and then slice them and use the integrate filter to compute the flowrates one by one.


There are probably more clever ways though


EDIT: Got beat to it ^^
hogsonik and Pappelau like this.
Alczem is offline   Reply With Quote

Old   April 19, 2023, 09:46
Default
  #4
Senior Member
 
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,685
Rep Power: 40
olesen has a spectacular aura aboutolesen has a spectacular aura about
The fluxSummary function object?
olesen is offline   Reply With Quote

Reply


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 Off
Pingbacks are On
Refbacks are On


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 04:57
Issues on the simulation of high-speed compressible flow within turbomachinery dowlee OpenFOAM Running, Solving & CFD 11 August 6, 2021 06:40
How to Calculate Mass Flow Through Boundary cfdvenkatesh EnSight 4 March 16, 2018 05:49
Low Mixing time Problem Mavier CFX 5 April 29, 2013 00:00
Discrete Phase & Mass Flow Rate MagnusZeus FLUENT 0 December 2, 2011 17:57


All times are GMT -4. The time now is 22:36.