CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   ParaView (https://www.cfd-online.com/Forums/paraview/)
-   -   [OpenFOAM] Paraview plot time average (https://www.cfd-online.com/Forums/paraview/78835-paraview-plot-time-average.html)

tonyuprm August 3, 2010 15:16

Paraview plot time average
 
Hi,

I want to plot time velocity averages over a line using paraview but I can't figure out how. I can plot at one specific time but how can I get the time average of that?

Thanks,

Tony

Edison_Ge September 6, 2010 11:33

Quote:

Originally Posted by tonyuprm (Post 270106)
Hi,

I want to plot time velocity averages over a line using paraview but I can't figure out how. I can plot at one specific time but how can I get the time average of that?

Thanks,

Tony

check this tread and you may find some inspiration. I'm having the same problem, so if it worked. Please let me know:)
http://www.cfd-online.com/Forums/ope...tatistics.html

tonyuprm September 6, 2010 12:39

Time average
 
Hi,

I found a way to do this. One should use the filter "temporal statistics" under "Temporal". This will calculate the average of all the time steps. If you want a specific range of times just open the VTK files of the corresponding time steps and use the filter. The variable with the computed average will appear in the dropbox where u can select the variable you want to visualize. If you then want to plot over a line, use that filter and that should do it.

Good luck,

Tony

chandra shekhar pant September 11, 2019 02:44

Hello Tony,



Many thanks for this post, it helped a lot. But I don't understand how to average from a certain period of time steps. Particularly in your answer "If you want a specific range of times just open the VTK files of the corresponding time steps and use the filter", I don't understand the opening the VTK files corresponding to time steps. When I open the paraFoam it automatically loads all the time steps (from 0-1), and I want the average from 0.7-1


Any help is highly appreciated.


Thanks a lot!

Xavier_95 February 10, 2021 04:01

Hi. I know that this tread is quite old but I am facing the same problem. Did you find the solution? I also need to do an average on a limited number of timeSteps. Thanks in advance for your help.

juliemafronczak November 8, 2021 07:15

Quote:

Originally Posted by Xavier_95 (Post 795815)
Hi. I know that this tread is quite old but I am facing the same problem. Did you find the solution? I also need to do an average on a limited number of timeSteps. Thanks in advance for your help.

Did you get it? I have the same problem.

ckpark January 19, 2022 12:29

Quote:

Originally Posted by juliemafronczak (Post 816019)
Did you get it? I have the same problem.

You just need to put those folders of timesteps you do not need aside (e.g. in another subfolder that paraview doesn't read) and reopen your .foam file again

s1291 December 24, 2023 19:02

Quote:

Originally Posted by Xavier_95 (Post 795815)
Hi. I know that this tread is quite old but I am facing the same problem. Did you find the solution? I also need to do an average on a limited number of timeSteps. Thanks in advance for your help.

In Paraview:
  • Load the case.
  • Apply the Extract Time Steps filter and select the time step indices.
  • Click Apply.


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