|
[Sponsors] |
[OpenFOAM] How to plot flow rate over time with Paraview |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
July 27, 2009, 11:02 |
How to plot flow rate over time with Paraview
|
#1 |
New Member
F. G. P.
Join Date: Jul 2009
Location: Italy
Posts: 1
Rep Power: 0 |
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 |
|
October 23, 2010, 14:39 |
|
#2 |
Senior Member
|
I have same problem in ParaView 3.8
------------ Dear Foamers, How can i calculate mass flow rate of a surface which its velocity profile is available (by using paraView calculator)? Last edited by wyldckat; November 23, 2014 at 15:23. Reason: merged 3 posts from the same topic |
|
December 15, 2010, 06:37 |
|
#3 | |
Member
Join Date: Sep 2010
Posts: 36
Rep Power: 17 |
Quote:
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. |
||
May 2, 2011, 08:31 |
Plotting an average value of pressure Vs Time
|
#4 |
New Member
Jan
Join Date: Nov 2009
Posts: 21
Rep Power: 16 |
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? |
|
November 1, 2011, 07:46 |
|
#5 | |
New Member
giovanni silva
Join Date: Jul 2010
Posts: 14
Rep Power: 16 |
Quote:
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! |
||
November 18, 2011, 04:42 |
|
#6 | |
Senior Member
Robert Sawko
Join Date: Mar 2009
Posts: 117
Rep Power: 22 |
Quote:
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! |
||
December 15, 2011, 05:25 |
selection plot over time
|
#7 |
New Member
tomek
Join Date: Dec 2011
Location: Stuttgart, Germany
Posts: 13
Rep Power: 14 |
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. |
|
December 16, 2011, 02:46 |
|
#8 |
New Member
tomek
Join Date: Dec 2011
Location: Stuttgart, Germany
Posts: 13
Rep Power: 14 |
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... |
|
July 18, 2014, 05:31 |
|
#9 |
Senior Member
Join Date: Jan 2013
Posts: 372
Rep Power: 14 |
Dear Robert,
Thank you for your comments. For your Step 3', I am not sure the underlying purpose. When I apply the Integrate Variable filter, I will have a separate window, actually it is a table where the integral values are listed there. Here why the 3D visulization is needed here for plotting the selection over time? OFFO |
|
July 18, 2014, 11:24 |
|
#10 |
Senior Member
Robert Sawko
Join Date: Mar 2009
Posts: 117
Rep Power: 22 |
The reason for doing 3' is to be able to do 4. In order to run "Plot Selection over Time" you need something to be selected and as far as I know you cannot just select it in "Pipeline Browser". It must be selected from one of the views. 3D is one possibility, but you can also select a tuple from your table view and then run "Plot selection over time" which is perhaps more intuitive, but I wasn't aware of this possibility at the time.
So to summarise 3' is optional. You just cannot select Integrate Variables from the "Pipeline Browser" must be a view, either "Table View" or "3D view" but you must select something. In 3D view Integrate Variables is represented as a point in Table View it's a tuple. Hope that helps. |
|
July 18, 2014, 11:28 |
|
#11 |
Senior Member
Join Date: Jan 2013
Posts: 372
Rep Power: 14 |
Thank you. I found that when I complete the filter "integrate the variables", I can click the table , and then click the copy active selction option and then press apply. It seems working. Now my paraview is running and I will see it can indeed give me the results I want. Which version did you use? Thank you.
|
|
July 20, 2014, 06:25 |
|
#12 |
Senior Member
Robert Sawko
Join Date: Mar 2009
Posts: 117
Rep Power: 22 |
I am on the latest ParaView. 4.1 I think, but these posts were probably related to 3.x. I would say that the only counter-intuitive thing is that a selection of an object from Pipeline Browser + Plot Selection Over Time (PSOT), doesn't work. I guess this has to do with the way PSOT is working - you have to select something from an active view rather than browsers.
|
|
July 20, 2014, 15:24 |
|
#13 |
Senior Member
Join Date: Jan 2013
Posts: 372
Rep Power: 14 |
Dear Robert,
Thank you for your reply. I use Paraview 3.98.1, and what you mentioned worked. But now I have a problem. When I use the above procedures, the paraview will work for a long time since my data is very large. Sometimes paraview console will terminate automatically. Did you have this similar problem when you did the above procedures? Thank you very much. OFFO |
|
July 7, 2015, 15:32 |
|
#14 |
New Member
shorab hossain
Join Date: Jun 2015
Posts: 4
Rep Power: 11 |
[QUOTE=openfoammaofnepo;502371]Dear Robert,
Thank you for your reply. I am beginner in Ansys.and working on pulsatile blood flow through artery.now i want to draw velocity vs time graph at different position of artery In Ansys fluent.How can i draw it in CFD post?Or is there any other way? |
|
July 7, 2015, 15:56 |
|
#15 |
New Member
shorab hossain
Join Date: Jun 2015
Posts: 4
Rep Power: 11 |
Thank you for your reply. I am beginner in Ansys.and working on pulsatile blood flow through artery.now i want to draw velocity vs time graph at different position of artery In Ansys fluent.How can i draw it in CFD post?Or is there any other way?
|
|
December 2, 2015, 12:42 |
|
#16 |
Senior Member
ArielJ
Join Date: Aug 2015
Posts: 127
Rep Power: 11 |
Hi,
I am trying to simulate free surface flow in a wave tank. I'm a newbie at CFD/Openfoam, etc etc so I'm trying to mess around a bit with boundary conditions and also using the waves2Foam toolbox for wave generation. I have created a simulation that appears to generate regular waves across a wave tank but I would like to be able to plot the velocities and pressures at specific places in the flow. Later, I will add a cylinder into the flow and would like to be able to generate and plot velocities and pressures in a specific part of the flow. My question is: How can I plot a variable (velocity or pressure) over time at a specific place? I attempted a few different things, and got no plot: 1) plot global variables over time - no output plot 2) created a slice filter and attempted to make a plot on that slice only. 3) Followed the steps given earlier in this thread. This did not work either. I know that I'm probably going about this wrong but would really appreciate some advice on how to do this as I'm sure it's simple in paraview. I suspect that it involves me better understanding the data or what I'm plotting, so any advice on this would be greatly appreciated as well Thank you! Ariel |
|
March 17, 2016, 06:06 |
|
#17 |
New Member
Prasanna Welahettige
Join Date: Jan 2016
Location: Norway
Posts: 28
Rep Power: 10 |
Hi,
If u have a plot over time on poin , read this https://cmake.org/pipermail/paraview...ch/011471.html |
|
July 23, 2020, 13:14 |
Calculate the FlowRate and Plot it Over Time in ParaView
|
#18 |
Senior Member
Asmaa
Join Date: Mar 2016
Posts: 102
Rep Power: 10 |
Please check the video below to understand How to Calculate the FlowRate and Plot it Over Time in ParaView:
https://youtu.be/vgFL8kv320w |
|
Tags |
integrate, paraview, plot |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Other] Contribution a new utility: refine wall layer mesh based on yPlus field | lakeat | OpenFOAM Community Contributions | 58 | December 23, 2021 02:36 |
Pressure Outlet Targeted Mass Flow Rate | LuckyTran | FLUENT | 1 | November 23, 2016 10:40 |
How to write k and epsilon before the abnormal end | xiuying | OpenFOAM Running, Solving & CFD | 8 | August 27, 2013 15:33 |
plot over time | fferroni | OpenFOAM Post-Processing | 7 | June 8, 2012 07:56 |
How to Plot Mass Flow Rate w.r.t No. of Iterations | Julie | FLUENT | 2 | July 30, 2002 10:50 |