[Paraview] seg fault when loading pvd file

Julian Cummings cummings at cacr.caltech.edu
Wed Jun 4 19:11:01 EDT 2008


Yes, that's what I was doing and that is why I ran into the trouble with
loading a series of legacy VTK files via a PVD file.

I have finally solved my problem now.  I googled around and found a
Python script posted online that automatically converts a series of
legacy VTK files into a series of VTU files and a corresponding PVD
file.  You can find this Python script here:
http://ait.web.psi.ch/services/visualization/paraview_python.html

There is still the trouble of getting the real time values into the
"timestep" attribute, so I tweaked the script to read those values from
a separate ASCII text file into a Python array and then write them into
the PVD file.  Now I am getting what I wanted.

Regards, Julian C.


On Wed, 2008-06-04 at 16:44 -0400, Kent Eschenberg wrote:
> Julian,
> 
> Please keep the Q&A on the list so all can see. Try setting the "timestep" attribute in the PVD file to the actual time instead of an integer.
> 
> Kent
> Pittsburgh Supercomputing Center
> 
> Julian Cummings wrote:
> > Kent,
> > 
> > Is there some other straightforward way to get the "real" time data
> > inserted instead of time step numbers?  I have the corresponding real
> > time values for each time step in a text file, but I haven't figured out
> > yet how to get Paraview to swallow the file and replace the existing
> > time step data with the time values.
> > 
> > Regards, Julian C.
> 
-- 
Dr. Julian C. Cummings                       E-mail: cummings at cacr.caltech.edu
California Institute of Technology           Phone:  626-395-2543
1200 E. California Blvd., Mail Code 158-79   Fax:    626-584-5917
Pasadena, CA 91125                           Office: 125 Powell-Booth



More information about the ParaView mailing list