CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Paraview & paraFoam

How to plot flow rate over time with Paraview

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

Like Tree7Likes
  • 7 Post By siddharameshwara

Reply
 
LinkBack Thread Tools Display Modes
Old   July 27, 2009, 11:02
Default How to plot flow rate over time with Paraview
  #1
New Member
 
sekunda's Avatar
 
F. G. P.
Join Date: Jul 2009
Location: Italy
Posts: 1
Rep Power: 0
sekunda is on a distinguished road
Hello everybody, I already searched for a similar topic, but I couldn't find it.
I guess my question about Paraview (3.4.0, Win version) is rather simple for you, but I didn't find any tip about it neither on the web.

I am dealing with a fluid-structure interaction problem for hemodynamics. First step of my work is a fluid flow in a straight tube. I imported in Paraview a *.case file containing pressure, velocity and displacement data of every node of a mesh over 100 time steps. Now I have to plot pressure and flow rate (volume per second) over time for several sections of the tube. How can I do it?

I used "Slice" filter to select my sections of interest, but I don't understand how filters like "Integrate variables" or "Plot ... over time" work.

Can anybody help me (even with links to useful online tutorials, for example)?

Thanks a lot
Best regards
sekunda is offline   Reply With Quote

Old   November 4, 2010, 01:58
Default
  #2
Senior Member
 
maysmech's Avatar
 
Maysam
Join Date: Jan 2010
Posts: 308
Blog Entries: 2
Rep Power: 6
maysmech is on a distinguished road
I have same problem in ParaView 3.8
maysmech is offline   Reply With Quote

Old   December 15, 2010, 06:37
Smile
  #3
Member
 
Join Date: Sep 2010
Posts: 36
Rep Power: 4
siddharameshwara is on a distinguished road
Quote:
Originally Posted by sekunda View Post
Hello everybody, I already searched for a similar topic, but I couldn't find it.
I guess my question about Paraview (3.4.0, Win version) is rather simple for you, but I didn't find any tip about it neither on the web.

I am dealing with a fluid-structure interaction problem for hemodynamics. First step of my work is a fluid flow in a straight tube. I imported in Paraview a *.case file containing pressure, velocity and displacement data of every node of a mesh over 100 time steps. Now I have to plot pressure and flow rate (volume per second) over time for several sections of the tube. How can I do it?

I used "Slice" filter to select my sections of interest, but I don't understand how filters like "Integrate variables" or "Plot ... over time" work.

Can anybody help me (even with links to useful online tutorials, for example)?

Thanks a lot
Best regards
#


Hello,

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.
siddharameshwara is offline   Reply With Quote

Old   May 2, 2011, 08:31
Default Plotting an average value of pressure Vs Time
  #4
New Member
 
Vinay
Join Date: Nov 2009
Location: Nagpur
Posts: 21
Rep Power: 5
vinaynitrkl is on a distinguished road
Send a message via Yahoo to vinaynitrkl
I want to plot a graph of average value of pressure at certain height Vs Time of a 3D column in Paraview. I am a newbie to paraview. Couldn't find any relevant info on net and in paraview tutorial.

Can anyone please help me with this?
vinaynitrkl is offline   Reply With Quote

Old   November 1, 2011, 08:46
Default
  #5
New Member
 
giovanni silva
Join Date: Jul 2010
Posts: 14
Rep Power: 4
giovanni10 is on a distinguished road
Quote:
Originally Posted by siddharameshwara View Post
#


Hello,

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.

I have a 2D cavity (2Pi X 2Pi) with periodic boundary conditions in both x and y directions. I have already found the kinetic energy {(Ux²+Uy²)/2 } for each time step.
At the moment, I want to find the mean kinetic energy for each time step and plot kinetic energy versus time.
I was thinking of declaring in calculator a variable Ekinetic/(2Pi²) and and select integrate variables option. Then, plot selection over time.
Is it correct?
Thanks in advance!
giovanni10 is offline   Reply With Quote

Old   November 18, 2011, 04:42
Default
  #6
Member
 
Robert Sawko
Join Date: Mar 2009
Posts: 98
Rep Power: 6
AlmostSurelyRob is on a distinguished road
Quote:
Originally Posted by siddharameshwara View Post
#

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.
I would just like to add one comment. For the flow rate, above procedure works well as for ParaView 3.12. There is one more step though between 3 and 4

Step 3' Visualise your integrate variables in a 3D view and select in via Select Points Through

Step 4 Apply your Plot selection over time

Also in case you were like me and wanted to plot an integral of a scalar over time rather than flow rates bear in mind that you still HAVE to use the Calculator filter. I am not sure why this is so, but if I was doing integrate variables on my raw scalar fields the Plot Over Time filter wouldn't work. I guess it has something to do with the fact that the first variable in my Integrate Variable was velocity.

After applying the Calculator filter and just retyping my scalar as "Result" I got what I wanted.

Thanks!
AlmostSurelyRob is offline   Reply With Quote

Old   December 15, 2011, 05:25
Question selection plot over time
  #7
New Member
 
tomek
Join Date: Dec 2011
Location: Stuttgart, Germany
Posts: 13
Rep Power: 3
sto16 is on a distinguished road
hey...

i have a 2d simulation of a turbulent 2 species flow in reactingFoam.

Now i want to plot the change of concentration of the species at one point on the bottom line ("wall") over the time.
I tried the steps u explained before and I managed to select points and cells - but when i click on "plot selection over time" there is always an error-message with several entries:

"warning: in /build/buildd /paraview-3.6.2/VTK/Common/vtkDataArrayTemplate.txx, line 450
vtkIdTypeArray (0xd1c7248): Input and Output array data types do not match"


do u have an idea how to solve this problem.

Is there a problem because of the boundary conditions at the wall?

But even when i choose a point some distance away from the wall, the error comes again.

sto16 is offline   Reply With Quote

Old   December 16, 2011, 02:46
Default
  #8
New Member
 
tomek
Join Date: Dec 2011
Location: Stuttgart, Germany
Posts: 13
Rep Power: 3
sto16 is on a distinguished road
ok...
i managed to plot several informations (RowData: p, U, T, ...) over time with a finer mesh and selecting cells, which do not belong to the wall, by entering the location manually.

unfortunatelly i can not plot the concentration over time.


does anybody have an idea what is the reason for this problem and how to solve it?!?


greetz and thanks...
sto16 is offline   Reply With Quote

Reply

Tags
integrate, paraview, plot

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
How to write k and epsilon before the abnormal end xiuying OpenFOAM Running, Solving & CFD 7 March 15, 2013 06:08
Convergence moving mesh lr103476 OpenFOAM Running, Solving & CFD 30 November 19, 2007 14:09
sos! How to define the flow rate of outflow BC? zjm FLUENT 0 June 4, 2004 09:12
Mass flow rate graph Lior FLUENT 0 March 7, 2004 10:02
Possible?: Periodic conditions with non-constant mass flow rate. Ray FLUENT 0 April 10, 2000 06:10


All times are GMT -4. The time now is 00:49.