|
[Sponsors] |
[General] Choose the start time instant when calculating the temporal statistics using paraview |
![]() |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
![]() |
![]() |
#1 |
Senior Member
Join Date: Nov 2012
Posts: 171
Rep Power: 13 ![]() |
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 |
|
![]() |
![]() |
![]() |
![]() |
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,978
Blog Entries: 45
Rep Power: 128 ![]() ![]() ![]() ![]() ![]() ![]() |
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:
Bruno
__________________
|
|
![]() |
![]() |
![]() |
![]() |
#3 | |
Senior Member
Join Date: Jan 2013
Posts: 372
Rep Power: 14 ![]() |
Thank you. Hope Paraview can have this feature in the future, which will make life more happy.
Quote:
|
||
![]() |
![]() |
![]() |
![]() |
#4 |
New Member
Ali Kadar
Join Date: Oct 2014
Location: Delft
Posts: 25
Rep Power: 11 ![]() |
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
__________________
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 |
|
![]() |
![]() |
![]() |
![]() |
#5 |
New Member
Nick
Join Date: Jan 2017
Posts: 6
Rep Power: 9 ![]() |
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. |
|
![]() |
![]() |
![]() |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Elastic or Plastic Deformations in OpenFOAM | NickolasPl | OpenFOAM Pre-Processing | 36 | September 23, 2023 08:22 |
TimeVaryingMappedFixedValue | irishdave | OpenFOAM Running, Solving & CFD | 32 | June 16, 2021 06:55 |
Inconsistencies in reading .dat file during run time in new injection model | Scram_1 | OpenFOAM | 0 | March 23, 2018 22:29 |
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 |