|
[Sponsors] |
[General] Legacy VTK for time dependent variables. |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
February 21, 2013, 13:02 |
Legacy VTK for time dependent variables.
|
#1 |
New Member
Karl Stephen
Join Date: Feb 2013
Posts: 2
Rep Power: 0 |
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 |
|
February 22, 2013, 05:02 |
Problem solved!!
|
#2 |
New Member
Karl Stephen
Join Date: Feb 2013
Posts: 2
Rep Power: 0 |
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 |
|
Tags |
legacy vtk animation time |
|
|
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 09:40 |
Dependent variables for linearized source terms | ASimonsen | Fluent UDF and Scheme Programming | 0 | April 5, 2017 03:20 |
Robin boundary condition containing two dependent variables | babakflame | OpenFOAM Programming & Development | 0 | February 25, 2017 20:04 |
Comsol - dependent variables in Global equation | ali hemmati | COMSOL | 0 | July 9, 2014 14:14 |
[OpenFOAM] Problem writing Legacy VTK file | raptor3x | ParaView | 1 | June 23, 2009 17:10 |