CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Visualization & Post-Processing Software > ParaView

[OpenFOAM] calculate flow rate (artery geometry)

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 1 Post By vitorspadetoventurin
  • 1 Post By wyldckat

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 23, 2014, 07:27
Default calculate flow rate (artery geometry)
  #1
Member
 
vitor spadeto
Join Date: Nov 2014
Posts: 51
Rep Power: 12
vitorspadetoventurin is on a distinguished road
How to calculate volumetric flow rate and mass flow rate in ParaView?

this is my geometry(2 inlets and 1 outlet):
http://postimg.org/image/ut8rfeyp9/
http://postimg.org/image/61dqlx6wd/

I desire to calculate flow rate in the outlet.
I believe I should use calculator. Can you help me?


Best Regards,
Vitor Spadeto Venturin
foamiste likes this.
vitorspadetoventurin is offline   Reply With Quote

Old   November 23, 2014, 16:27
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Quick answer - Google found me 3 answers by using this search expression:
Code:
site:www.cfd-online.com paraview mass flow
wyldckat is offline   Reply With Quote

Old   November 23, 2014, 20:33
Default
  #3
Member
 
vitor spadeto
Join Date: Nov 2014
Posts: 51
Rep Power: 12
vitorspadetoventurin is on a distinguished road
I followed this steps:



HTML Code:
step 1:In filters--->alphabets you select calculator option.

and then a block will be opened in that you select scalars---->U_X or U_Y depending on the direction you want. and name it in the Result array name as flow rate and then click apply.

step 2: and the n select filters---->alphabets----> integrate variables option.

step 3:It will display one window in that you select the variable name you have given flowrate 

step 4:Now, filters----->alphabets---->plot selection over time

now click the copy active selction option and then press apply.
from http://www.cfd-online.com/Forums/ope...tml#post287523

Here is the result:

https://www.youtube.com/watch?v=nI7H...ature=youtu.be

Is this curve(flow rate vs time) correct? For example: In the video, looking the plot at time 0.07 seconds, I have 0.2m³/s, right?

Sorry for some confusion. My english is not the best.

thanks!
vitorspadetoventurin is offline   Reply With Quote

Old   January 2, 2015, 08:44
Default
  #4
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Greetings Vitor,

Only today did I finally manage to look into your question.
I took a better look at your video and it seems you've confused a detail regarding what should be selected.
The idea is that you should only select the integrated result, not the result from the calculator.

Attached are the following images (I used the tutorial "incompressible/simpleFoam/pitzDaily" as an example):
  1. The first one shows how to configure the calculator. Notice that the "cell data" is the desired calculation mode, because this gives the most accurate results, since OpenFOAM solves for the centres of the cells. The values at "point data" are interpolated results.
  2. The second shows that what needs to be selected is the line in the interpolated results and the it's advisable that the "cell data" is also selected there.
  3. The third one shows how the "plot selection over time" should be configured. In addition, is shows the difference between having the magnitude of U after being integrated, versus having the integrated "mag(U)".
Best regards,
Bruno
Attached Images
File Type: jpg picture01.jpg (60.4 KB, 140 views)
File Type: jpg picture02.jpg (61.5 KB, 125 views)
File Type: jpg picture03.jpg (70.3 KB, 123 views)
jovenitta likes this.
__________________
wyldckat 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 flow rate from velocity contour hosein72 FLUENT 0 June 10, 2016 11:37
Conversion of mass flow rate for 2D geometry in ANSYS Polyflow arqi ANSYS 0 March 11, 2016 02:16
[OpenFOAM] How to calculate mass flow rate through arbitrary rectangle plane in paraview manoj_nav ParaView 0 March 10, 2016 03:53
How to calculate phase flow rate? sangramroy FLUENT 0 January 11, 2012 14:02
Discrete Phase & Mass Flow Rate MagnusZeus FLUENT 0 December 2, 2011 18:57


All times are GMT -4. The time now is 18:03.