[Paraview] Multiple Pieces in one file
SamuelKey
samuelkey at comcast.net
Fri Nov 11 11:55:44 EST 2005
Steve,
I believe the following will work:
1) Place each of your parts in a 'part<n>.vts' file.
2) Create a "mother" file -- myparts.pvd
(see "paraView Guide," page 177)
For example,
<?xml version="1.0"?>
<VTKFile type="Collection" version="0.1" byte_order="LittleEndian"
compressor="vtkZLibDataCompressor">
<Collection>
<DataSet part="0000" file="msh0000.vts" name="The Mesh"/>
<DataSet part="0001" file="mns0001.vts" name="NSet:0033
Label:OUTPUT_NODES"/>
<DataSet part="0002" file="mns0002.vts" name="NSet:3002
Label:LEFT_END"/>
<DataSet part="0003" file="mns0003.vts" name="NSet:3003
Label:RIGHT_END"/>
<DataSet part="0004" file="mss0004.vts" name="SSet:0200
Label:BAR_1_SURFACE"/>
<DataSet part="0005" file="mss0005.vts" name="SSet:0300
Label:BAR_2_SURFACE"/>
<DataSet part="0006" file="mws0006.vts" name="WSet:0100 Label: MPCON4"/>
</Collection>
</VTKFile>
name="abc" is a very handy, yet-to-be-documented token in
<DataSet ... /> thanks to Brad King.
The Extract Parts filter will let you select the the parts to be
displayed (name="abc" info shows up on the Extract Parts
face sheet).
Sam Key
----- Original Message -----
From: "Steve Hudson" <s_hudson13 at hotmail.com>
To: <paraview at paraview.org>
Sent: Friday, November 11, 2005 8:58 AM
Subject: [Paraview] Multiple Pieces in one file
> I am using Paraview version 2.2 to read a StructuredGrid. If I create more
> than one "piece" in the same file, it displays only the last piece entered
> and ignores the others. Is this what you would expect? I would like to
> display multiple pieces using in the same file. If this cannot be done I
> guess I will have to use an unstructured grid.
>
> Thanks
>
> Steve
>
>
> _______________________________________________
> ParaView mailing list
> ParaView at paraview.org
> http://www.paraview.org/mailman/listinfo/paraview
>
More information about the ParaView
mailing list