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

[OpenFOAM] Mass flow rate with Paraview 330

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 13, 2008, 12:17
Default Mass flow rate with Paraview 330
  #1
New Member
 
Marta Colomer
Join Date: Mar 2009
Posts: 3
Rep Power: 17
marta_colomer is on a distinguished road
Hi,

I would like to know how to calculate mass flow rate through boundary patches with Paraview 3.3.0. I used to work with Paraview 2.4 and I obtained mass flow rate by using two different methods:

1. Filter "Extract Parts" + filter "Calculator" + filter "Surface Flow"

2. Using "Ucomponents" + filter "Extract Parts" + filter "Calculator" + filter "Integrate attributes"

The problem comes when I try to apply these procedures with the new Paraview. "Surface flow" doesn't seem to be active in the filter menu and any time I try to use "Ucomponents" with OpenFOAM 1.5 it says "command not found". Can anybody help me?

Thank you very much

Marta
marta_colomer is offline   Reply With Quote

Old   October 13, 2008, 20:27
Default Hi Marta, Have a look at my
  #2
Super Moderator
 
Takuya OSHIMA
Join Date: Mar 2009
Location: Niigata City, Japan
Posts: 518
Blog Entries: 1
Rep Power: 20
7islands is on a distinguished road
Hi Marta,

Have a look at my post on May 16, 2008 [1]. It should work regardless of which reader you are using (vtkPOpenFOAMReader or PV3FoamReader).

If you make frequent use of the filter, another way might be to try the latest CVS head of ParaView or wait a bit for the upcoming 3.4 release. Surface Flow in those versions should run straight from the reader output.

[1] http://www.cfd-online.com/Forums/ope...tml#post190269 post #61

Takuya

Last edited by wyldckat; November 23, 2014 at 15:19. Reason: replaced broken link with the correct current link, thanks to Takuya's mention of the date of the post!
7islands is offline   Reply With Quote

Old   October 14, 2008, 10:27
Default Hi Takuya, Thanks for your
  #3
New Member
 
Marta Colomer
Join Date: Mar 2009
Posts: 3
Rep Power: 17
marta_colomer is on a distinguished road
Hi Takuya,

Thanks for your reply. I read your post, but eventhough I could run "Surface Flow" properly, the results, as you said, aren't that accurate. Regarding "calcMassFlow", as far as I know it's thought to be used with incompressible flow and since I'm working with cavitation I'm afraid it's not an option.

Anyway, I think I've solved the problem. There is an utility, "foamCalc components U", which is equivalent to former "Ucomponents", so that it's possible to calculate mass flow rate in paraview 3.3 with the previously described method 2 (which I think is much better in terms of accuracy).

Marta
marta_colomer 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
Discrete Phase Model, outlet mass flow rate does not fit edu_aero FLUENT 29 February 3, 2020 08:38
Specify mass flow rate for periodic boundary conditions in channel flow lion1990 OpenFOAM Running, Solving & CFD 1 July 9, 2018 17:46
Mass flow rate boundary condition with negative values ashtonJ CFX 3 November 26, 2014 05:21
Periodic channel flow with time dependent mass flow rate QBeast FLUENT 3 May 10, 2013 13:14
Mass Flow Rate is not converging destgir448 CFX 5 December 11, 2010 05:55


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