Dear all, I have tried to write an ascii vtu file with two pieces as shown below. However when I opened it using paraview, i can only see one data set. Could you please tell me the format of vtu files with two pieces. How can i get both data sets into paraview.?
<?xml version="1.0" ?> <VTKFile byte_order="LittleEndian" type="UnstructuredGrid" version="0.1"> <UnstructuredGrid> <Piece NumberOfCells="4" NumberOfPoints="4"> <Points> <DataArray NumberOfComponents="3" format="ascii" type="Float32"> 0 0 0 1 0 0 0 1 0 1 1 0 </DataArray> </Points> <Cells> <DataArray Name="connectivity" format="ascii" type="Int32"> 0 1 0 2 2 3 1 3 </DataArray> <DataArray Name="offsets" format="ascii" type="Int32"> 2 4 6 8 </DataArray> <DataArray Name="types" format="ascii" type="UInt8"> 3 3 3 3 </DataArray> </Cells> <PointData> <DataArray Name="scalar1" format="ascii" type="Float32"> 0.836841 0.828652 0.777264 0.669688 </DataArray> <DataArray Name="status1" format="ascii" type="Float32"> 0 0 0 0 </DataArray> </PointData> <CellData/> </Piece> <Piece NumberOfCells="4" NumberOfPoints="4"> <Points> <DataArray NumberOfComponents="3" format="ascii" type="Float32"> 0.5 0 0 0 0.5 0 1 0.5 0 0.5 1 0 </DataArray> </Points> <Cells> <DataArray Name="connectivity" format="ascii" type="Int32"> 0 1 0 2 1 3 2 3 </DataArray> <DataArray Name="offsets" format="ascii" type="Int32"> 2 4 6 8 </DataArray> <DataArray Name="types" format="ascii" type="UInt8"> 3 3 3 3 </DataArray> </Cells> <PointData> <DataArray Name="scalar2" format="ascii" type="Float32"> 0.768523 0.627182 0.846613 0.66475 </DataArray> <DataArray Name="status2" format="ascii" type="Float32"> 1 1 1 1 </DataArray> </PointData> <CellData/> </Piece> </UnstructuredGrid> </VTKFile> thanks, Sreejith
_______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Follow this link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview
