CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > ParaView

Choose the start time instant when calculating the temporal statistics using paraview

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

Like Tree1Likes
  • 1 Post By flowAlways

Reply
 
LinkBack Thread Tools Display Modes
Old   October 17, 2013, 18:26
Question Choose the start time instant when calculating the temporal statistics using paraview
  #1
Senior Member
 
Join Date: Nov 2012
Posts: 168
Rep Power: 5
hz283 is on a distinguished road
Dear All,

I use paraview to calculate the temporal statistics - mean and RMS. I have 500 time instants and of course I will read them all into paraview. However, sometimes I would like to calculate the statistics from 100th to 500th time instants. How can I choose the starting and ending time instants in this filter? Thank you very much if someone can give me hints. Thanks again.

h
hz283 is offline   Reply With Quote

Old   October 19, 2013, 12:18
Default
  #2
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 9,558
Blog Entries: 39
Rep Power: 97
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Hi hz283,

AFAIK, ParaView is a bit limited when it comes to manipulating time. Not even ParaView 4.0.1 has got that feature, from what I can see.

They've focused on manipulating time from the "animation" point of view, not as much from the temporal data point of view.

The only manipulation that I'm aware that is 100% bulletproof is to:
  1. Export the data to VTK files, where each time instance is stored in a single VTK file.
  2. Then remove the files that relate to the temporal times you don't want to use.
  3. Then open in ParaView the resulting group of files, e.g. "data_files..vtk".
Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   October 19, 2013, 13:36
Default
  #3
Senior Member
 
Join Date: Jan 2013
Posts: 297
Rep Power: 6
openfoammaofnepo is on a distinguished road
Thank you. Hope Paraview can have this feature in the future, which will make life more happy.

Quote:
Originally Posted by wyldckat View Post
Hi hz283,

AFAIK, ParaView is a bit limited when it comes to manipulating time. Not even ParaView 4.0.1 has got that feature, from what I can see.

They've focused on manipulating time from the "animation" point of view, not as much from the temporal data point of view.

The only manipulation that I'm aware that is 100% bulletproof is to:
  1. Export the data to VTK files, where each time instance is stored in a single VTK file.
  2. Then remove the files that relate to the temporal times you don't want to use.
  3. Then open in ParaView the resulting group of files, e.g. "data_files..vtk".
Best regards,
Bruno
openfoammaofnepo is offline   Reply With Quote

Old   April 6, 2016, 05:41
Default
  #4
New Member
 
Ali Kadar
Join Date: Oct 2014
Location: Delft
Posts: 25
Rep Power: 3
flowAlways is on a distinguished road
Hello,
I was looking for something similar but removing the files that I don't need in the computation of the statistics was not so convenient
(although could be automated by writing a simple shell script for large dataset).
An alternative that I use is by specifying the files to be considered for averaging in the ensight gold format.

For example in the format below by changing "number of steps" to 1000, "filename start number" to 4001 and removing the first 4000 time
steps in the "time values" list allows to load only the last 1000 time steps and then average of the last 1000 time steps(only) can be computed
without actually removing the other time files from the directory.
Note: only loading this file will instruct the paraview to load the specified dataset.

Code:
FORMAT
type: ensight gold

GEOMETRY
model: pF.geo
VARIABLE
vector per node: 1  velocity pF.vel****
scalar per node: 1 vorticity pF.vor****

TIME
time set:              1
number of steps:       5001
filename start number: 1
filename increment:    1
time values:
    0
    0.01
    . 
    .
    50
wyldckat likes this.
__________________
A good solution is one which does justice to the inner nature of the problem- Cornelius Lanczos in a letter to Albert Einstein on March 9, 1947

Last edited by wyldckat; April 10, 2016 at 14:28. Reason: Added [CODE][/CODE] markers
flowAlways is offline   Reply With Quote

Reply

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
TimeVaryingMappedFixedValue irishdave OpenFOAM Running, Solving & CFD 28 May 28, 2015 13:37
Moving mesh Niklas Wikstrom (Wikstrom) OpenFOAM Running, Solving & CFD 122 June 15, 2014 06:20
Alpha1 is reducing..... Whyman OpenFOAM 8 October 16, 2012 10:08
Calculating time thuy FLUENT 5 April 10, 2008 04:23
Convergence moving mesh lr103476 OpenFOAM Running, Solving & CFD 30 November 19, 2007 15:09


All times are GMT -4. The time now is 19:16.