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

Legacy VTK for time dependent variables.

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

Like Tree1Likes
  • 1 Post By Splatzo

Reply
 
LinkBack Thread Tools Display Modes
Old   February 21, 2013, 13: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, 05: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

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
CEL Position Dependent Variables in CFX-Pre njw CFX 2 November 20, 2011 06:11
Problem writing Legacy VTK file raptor3x OpenFOAM Paraview & paraFoam 1 June 23, 2009 16:10
Installing OpenFoam141dev vtk errors cvv OpenFOAM Installation 0 February 11, 2009 03:54
PHI file structure Eugene Phoenics 9 November 2, 2001 23:00


All times are GMT -4. The time now is 00:53.