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

[General] Choose the start time instant when calculating the temporal statistics using paraview

Register Blogs Community New Posts Updated Threads Search

Like Tree7Likes
  • 2 Post By flowAlways
  • 5 Post By eternusvia

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 17, 2013, 19:26
Question Choose the start time instant when calculating the temporal statistics using paraview
  #1
Senior Member
 
Join Date: Nov 2012
Posts: 171
Rep Power: 14
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, 13:18
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
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, 14:36
Default
  #3
Senior Member
 
Join Date: Jan 2013
Posts: 372
Rep Power: 14
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, 06:41
Default
  #4
New Member
 
Ali Kadar
Join Date: Oct 2014
Location: Delft
Posts: 25
Rep Power: 12
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 and Michael@UW like 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 15:28. Reason: Added [CODE][/CODE] markers
flowAlways is offline   Reply With Quote

Old   October 16, 2018, 20:59
Default Extract time steps
  #5
New Member
 
Nick
Join Date: Jan 2017
Posts: 6
Rep Power: 9
eternusvia is on a distinguished road
I found the best way to get time-averaged statistics for a subset of time is to use the "Extract Time Steps" filter.

Filters > Temporal > Extract Time Steps

Then you add the range of time steps you want to extract.
wyldckat, spoink, T. J. P. and 2 others like this.
eternusvia 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
Elastic or Plastic Deformations in OpenFOAM NickolasPl OpenFOAM Pre-Processing 36 September 23, 2023 09:22
TimeVaryingMappedFixedValue irishdave OpenFOAM Running, Solving & CFD 32 June 16, 2021 07:55
Inconsistencies in reading .dat file during run time in new injection model Scram_1 OpenFOAM 0 March 23, 2018 23:29
Moving mesh Niklas Wikstrom (Wikstrom) OpenFOAM Running, Solving & CFD 122 June 15, 2014 07:20
Alpha1 is reducing..... Whyman OpenFOAM 8 October 16, 2012 11:08


All times are GMT -4. The time now is 03:37.