The VTU file format expects all pieces to have exactly the same data arrays. Seems to me what you want is a multiblock dataset, *.vtm, which can have muliple datasets with different arrays.
On Fri, Feb 3, 2017 at 7:43 AM, Emrah Ersan Erdogan <emrahersanerdo...@gmail.com> wrote: > Hi, > > I have two small problems and since I am just a newbie I really appreciate > any help. > > In the first piece I want to create only the geometry and in the second piece > some points (these are gauss points actually) and with some data. > > First problem is, paraview does not see “strain” when it is defined as given > below. However, if I swap the point dataset to the first piece it works: on > the wrong points of course. > Second, it is apparently not possible to show the geometry and point values > at the same time. Do you think I need to define two separate files and "light > them up" separately on main paraview screen? > > Thanks a bunch! > > Ersan > > <?xml version="1.0"?> > <VTKFile type="UnstructuredGrid" version="0.1" byte_order="LittleEndian"> > <UnstructuredGrid> > <Piece NumberOfPoints="4" NumberOfCells="1"> > <Points> > <DataArray type="Float64" NumberOfComponents="3" format="ascii"> > 0.00 0.00 0.00 1.00 0.00 0.00 1.00 1.00 0.00 0.00 1.00 0.00 > </DataArray> > </Points> > <Cells> > <DataArray type="Int64" Name="connectivity" format="ascii"> > 0 1 2 3 > </DataArray> > <DataArray type="Int64" Name="offsets" format="ascii"> > 4 > </DataArray> > <DataArray type="UInt8" Name="types" format="ascii"> > 9 > </DataArray> > </Cells> > <PointData Tensors="strain"> > </PointData> > <CellData> > </CellData> > </Piece> > <Piece NumberOfPoints="4" NumberOfCells="0"> > <Points> > <DataArray type="Float64" NumberOfComponents="3" format="ascii"> > 0.25 0.25 0.00 0.75 0.25 0.00 0.75 0.75 0.00 0.25 0.75 0.00 > </DataArray> > </Points> > <Cells> > <DataArray type="Int64" Name="connectivity" format="ascii"> > </DataArray> > <DataArray type="Int64" Name="offsets" format="ascii"> > </DataArray> > <DataArray type="UInt8" Name="types" format="ascii"> > </DataArray> > </Cells> > <PointData Tensors="strain"> > <DataArray type="Float64" Name="strain" NumberOfComponents="9" > format="ascii"> > 2.0 3.0 0.0 > 3.0 2.0 0.0 > 0.0 0.0 0.0 > > 1.0 2.0 0.0 > 2.0 1.0 0.0 > 0.0 0.0 0.0 > > 5.0 4.0 0.0 > 4.0 1.0 0.0 > 0.0 0.0 0.0 > > 3.0 6.0 0.0 > 6.0 7.0 0.0 > 0.0 0.0 0.0 > </DataArray> > </PointData> > <CellData> > </CellData> > </Piece> > </UnstructuredGrid> > </VTKFile> > _______________________________________________ > 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 > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview _______________________________________________ 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 Search the list archives at: http://markmail.org/search/?q=ParaView Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/paraview