[Paraview] Merging vtkXMLStructuredGrid Files for viewing in
Paraview
Berk Geveci
berklist at nycap.rr.com
Mon, 08 Mar 2004 13:10:18 -0500
You have to create a simple meta-file that points to the other files.
The meta-file (.pvd extension, for ParaView data) is also in xml format
and should look like this:
<?xml version="1.0"?>
<VTKFile type="Collection" version="0.1" byte_order="LittleEndian"
compressor="vtkZLibDataCompressor">
<Collection>
<DataSet part="0" file="multiblock/multiblock_0.vts"/>
<DataSet part="1" file="multiblock/multiblock_1.vts"/>
<DataSet part="2" file="multiblock/multiblock_2.vts"/>
<DataSet part="3" file="multiblock/multiblock_3.vts"/>
<DataSet part="4" file="multiblock/multiblock_4.vts"/>
</Collection>
</VTKFile>
If you then open the pvd file, ParaView should load all the parts.
-Berk
On Mon, 2004-03-08 at 12:52, Steve Hudson wrote:
> I am using a parallel application where different files are output for each
> processor (representing different regions of the problem). I have made it
> write them in vtkXMLStructuredGrid format. I would like to use Paraview
> (v1.2.1) to view the whole problem, but am only able to view one file at a
> time. What do I need to do to merge the files.
>
> If I have the multiple files in one directory, and load in the first, it
> gives me a time line, which can be used to view the other files, but not all
> at once.
>
> I have also tried creating a PStructuredGrid file and loading it in, but it
> only seems to give me the first file. Should this do it? Do I need to try
> this again?
>
> I have found the documentation on this a little unclear.
>
> Thanks
>
> Steve
>
> _________________________________________________________________
> Express yourself with cool new emoticons http://www.msn.co.uk/specials/myemo
>
> _______________________________________________
> ParaView mailing list
> ParaView at paraview.org
> http://www.paraview.org/mailman/listinfo/paraview
--
Berk Geveci <berklist at nycap.rr.com>