Dear all,<br><br>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. <br>Could you please tell me the format of vtu files with two pieces. How can i get both data sets into paraview.?<br>
<br><?xml version="1.0" ?><br><VTKFile byte_order="LittleEndian" type="UnstructuredGrid" version="0.1"><br><UnstructuredGrid><br><Piece NumberOfCells="4" NumberOfPoints="4"><br>
<Points><br><DataArray NumberOfComponents="3" format="ascii" type="Float32"><br>0 0 0 1 0 0 0 1 0 1 1 0 <br></DataArray><br></Points><br><Cells><br><DataArray Name="connectivity" format="ascii" type="Int32"><br>
0 1 0 2 2 3 1 3<br></DataArray><br><DataArray Name="offsets" format="ascii" type="Int32"><br>2 4 6 8 <br></DataArray><br><DataArray Name="types" format="ascii" type="UInt8"><br>
3 3 3 3 <br></DataArray><br></Cells><br><PointData><br><DataArray Name="scalar1" format="ascii" type="Float32"><br>0.836841 0.828652 0.777264 0.669688 <br></DataArray><br>
<DataArray Name="status1" format="ascii" type="Float32"><br>0 0 0 0 <br></DataArray><br></PointData><br><CellData/><br></Piece><br><Piece NumberOfCells="4" NumberOfPoints="4"><br>
<Points><br><DataArray NumberOfComponents="3" format="ascii" type="Float32"><br>0.5 0 0 0 0.5 0 1 0.5 0 0.5 1 0<br></DataArray><br></Points><br><Cells><br><DataArray Name="connectivity" format="ascii" type="Int32"><br>
0 1 0 2 1 3 2 3<br></DataArray><br><DataArray Name="offsets" format="ascii" type="Int32"><br>2 4 6 8 <br></DataArray><br><DataArray Name="types" format="ascii" type="UInt8"><br>
3 3 3 3 <br></DataArray><br></Cells><br><PointData><br><DataArray Name="scalar2" format="ascii" type="Float32"><br>0.768523 0.627182 0.846613 0.66475 <br></DataArray><br>
<DataArray Name="status2" format="ascii" type="Float32"><br>1 1 1 1 <br></DataArray><br></PointData><br><CellData/><br></Piece><br></UnstructuredGrid><br></VTKFile><br>
<br>thanks,<br>Sreejith<br>