[Paraview] paraview: uploading data files
Berk Geveci
berk.geveci at kitware.com
Wed Jan 14 10:39:38 EST 2009
Writing out a series of legacy VTK files (one per time step) should be
fairly easy. I would write this as a polydata using the polylines cell
type. The documentation for the legacy format is at
http://vtk.org/pdf/file-formats.pdf See this page for information
about animating series of VTK files:
http://paraview.org/Wiki/Animating_legacy_VTK_file_series
-berk
On Tue, Jan 13, 2009 at 10:43 PM, Jamie Ruprecht <j.ruprecht at hotmail.com> wrote:
>
> Mike,
>
> Thanks for your reply and assistance so far! To be more specific, our data
> is a 1-dimensional times series of water suface elevations. At each time
> step we have water heights recorded for the length of the computational
> domain. The columns in our excel file represents the changing water profile
> for each time step and the rows represent the spatial step. The aim is to
> generate a 2D animation showing a wave propagating along the computational
> domain.
>
> Cheers,
> Jamie.
>
>
>> CC: paraview at paraview.org
>> From: mike.jackson at bluequartz.net
>> To: j.ruprecht at hotmail.com
>> Subject: Re: [Paraview] paraview: uploading data files
>> Date: Tue, 13 Jan 2009 21:17:42 -0500
>>
>> You will probably have to write some sort of custom reader for your
>> data. This can be just a simple stand-alone program that converts your
>> data into the .pvd file or you can make the reader a ParaView plugin
>> so that ParaView can open your data file(s).
>>
>> The first thing you will probably want to do is export the data from
>> excel into a CSV file for easier reading.
>>
>> Next you can write the code for your reader. If you can give some more
>> information about what exactly the data in the xls files represents
>> the community may be able to guide you further. For example is the
>> data xyz coordinates for a triangular mesh? Is it voxel data? Is it
>> image data?
>>
>> There are lots of examples for all of those around the net and from
>> various folks on the list (including myself).
>>
>> Cheers
>> _________________________________________________________
>> Mike Jackson mike.jackson at bluequartz.net
>> BlueQuartz Software www.bluequartz.net
>> Principal Software Engineer Dayton, Ohio
>>
>>
>>
>> On Jan 13, 2009, at 6:42 PM, Jamie Ruprecht wrote:
>>
>> >
>> > Hi everybody!
>> >
>> > I am also new to this forum and new to paraview and python coding.
>> >
>> > I am currently looking to create an animation of shallow water waves
>> > using paraview, but I am having some trouble uploading my data files.
>> > At this stage, my data files are in excel files (.xls) and I am just
>> > wondering how I should go about converting them to paraview data
>> > files (.pvd) or the like, so that I may create an animation.
>> >
>> > Any help would be much appreciated.
>> >
>> > Jamie.
>> >
>> > Sell your car for just $40 at CarPoint.com.au It's simple!
>> > _______________________________________________
>> > ParaView mailing list
>> > ParaView at paraview.org
>> > http://www.paraview.org/mailman/listinfo/paraview
>>
>
>
> ________________________________
> Find great deals on eBay Net yourself a bargain
> _______________________________________________
> ParaView mailing list
> ParaView at paraview.org
> http://www.paraview.org/mailman/listinfo/paraview
>
>
More information about the ParaView
mailing list