|
[Sponsors] |
[General] Want to extract specific time steps from unstructured grid timeseries using paraview |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
February 26, 2018, 05:21 |
Want to extract specific time steps from unstructured grid timeseries using paraview
|
#1 |
New Member
Join Date: Mar 2017
Posts: 7
Rep Power: 9 |
I have scalar data in a timeseries of unstructured grid datasets. I'd like to extract this data for specific timesteps. I tried the following but only seem to get the information for the very first time step:
AllFiles = ['File001.vtk', 'File002.vtk', 'File003.vtk', 'File004.vtk'] Reader = LegacyVTKReader(FileNames = AllFiles) Reader = ExtractTimeSteps(Reader,1) Output = servermanager.Fetch(Reader) Results = vtk_to_numpy(Output.GetPointData().GetScalars('inc remental_deviatoric_strain_solid')) I also tried: Reader = ExtractTimeSteps(Reader,1) But it throws an error: Reader = ExtractTimeSteps(Reader,1) File "C:\Program Files\ParaView 5.2.0-Qt4-OpenGL2-Windows-64bit\bin\Lib\site-packages\paraview\simple.py", line 1674, in CreateObject raise RuntimeError ("Expecting a proxy as input.") RuntimeError: Expecting a proxy as input. How can I pick the time step for which I want the data? Also is it possible to specify a range of time steps? |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
courant number increases to rather large values | 6863523 | OpenFOAM Running, Solving & CFD | 22 | July 6, 2023 00:48 |
Setting up Lid driven Cavity Benchmark with 1M cells for multiple cores | puneet336 | OpenFOAM Running, Solving & CFD | 11 | April 7, 2019 01:58 |
pimpleDyMFoam computation randomly stops | babapeti | OpenFOAM Running, Solving & CFD | 5 | January 24, 2018 06:28 |
Floating point exception error | lpz_michele | OpenFOAM Running, Solving & CFD | 53 | October 19, 2015 03:50 |
Star cd es-ice solver error | ernarasimman | STAR-CD | 2 | September 12, 2014 01:01 |