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

[General] Legacy VTK for time dependent variables.

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By Splatzo

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 21, 2013, 12:02
Default Legacy VTK for time dependent variables.
  #1
New Member
 
Karl Stephen
Join Date: Feb 2013
Posts: 2
Rep Power: 0
Splatzo is on a distinguished road
I've calculated the movement of a fluid in a porous medium by calculating its saturation change over time. I'd like to plot that in Paraview as an animation. I am running the 64 bit version 3.98.1 on Windows 7.

The grid and saturations have been written as Legacy VTK files (ASCII). The grid itself is unstructured and I've made three files each containing a duplicate of the grid (which does not change in time) and the saturation at each time step. The files are named So1.vtk, So2.vtk and So3.vtk. Each file can be loaded to Paraview independently. Paraview also sees them as a set which can all be loaded.

The problem that I have is that when all are loaded together, I only see one of the time steps as a property in the Display area. I can also see "Solid Color" and "Cell Normals". When I click on the "Play" button to then cycle through the time steps a sort of movie plays. I get the property that I can see alternating with "Solid Color".

All the forum items on this suggest that I should get an animation no problem. Could I be configuring the Legacy VTK files OK or is there a problem with Paraview or is it just not set up for what I want to do. I have tried the blood cell animation but that just changes the grid and not grid_cell properties.

Alternatively:
I can load all three files independently and then set up each property to be displayed in time on the Animation View. I may need to play with this a bit more but it seems a bit clunky on display, I can't apply one filter to all time steps easily and I don't want to set that up for a bigger run which may have 20 time steps.

Thanks in advance,
Karl
Splatzo is offline   Reply With Quote

Old   February 22, 2013, 04:02
Default Problem solved!!
  #2
New Member
 
Karl Stephen
Join Date: Feb 2013
Posts: 2
Rep Power: 0
Splatzo is on a distinguished road
It came to this morning what the problem might be. In each So*.vtk file I had given the Scalar variable a different name (So1, So2 etc.). This seemed intuitively obvious from previous software packages that I've used. Turns out you should give the variable the same name at each time and that solves it.

Karl
wyldckat likes this.
Splatzo is offline   Reply With Quote

Reply

Tags
legacy vtk animation time


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
[General] Paraview.simple python module and loading legacy vtk file timeseries awa5114 ParaView 2 July 17, 2017 08:40
Dependent variables for linearized source terms ASimonsen Fluent UDF and Scheme Programming 0 April 5, 2017 02:20
Robin boundary condition containing two dependent variables babakflame OpenFOAM Programming & Development 0 February 25, 2017 19:04
Comsol - dependent variables in Global equation ali hemmati COMSOL 0 July 9, 2014 13:14
[OpenFOAM] Problem writing Legacy VTK file raptor3x ParaView 1 June 23, 2009 16:10


All times are GMT -4. The time now is 05:20.