Hi Mohamad, I thought you were working on an unstructured grid. As it is not the case you shouldn't bother with the array that I talked earlier. But you should provide the information that each piece is a part of a whole system and not a set of whole system shown in the same 3d world.
Did you try to specify the WholeExtent to be the Whole system extent and not the piece one ? Seb On Mon, Feb 7, 2011 at 1:44 PM, Mohamad M. Nasr-Azadani <mmn...@gmail.com> wrote: > Hi Seb, > I did not define any separate array. The only thing that I have done when > writing the *.vtr file for each subblock is something similar to this > File0.vtr > ************************************************** > <?xml version="1.0"?> > <VTKFile type="RectilinearGrid" version="0.1" byte_order="LittleEndian" > compressor="vtkZLibDataCompressor"> > <RectilinearGrid WholeExtent="0 27 0 68 0 135"> > <Piece Extent="0 27 0 68 0 135"> > <PointData> > <DataArray type="Float32" Name="Conc_0" format="appended" offset="0" > /> > <DataArray type="Float32" Name="Conc_1" format="appended" > offset="1221128" /> > <DataArray type="Float32" Name="Conc_2" format="appended" > offset="2406800" /> > </PointData> > <CellData> > </CellData> > <Coordinates> > <DataArray type="Float32" Name="Array 0x9c7aad8" format="appended" > offset="3624188" /> > <DataArray type="Float32" Name="Array 0x9c79e80" format="appended" > offset="3624376" /> > <DataArray type="Float32" Name="Array 0x9c7ac00" format="appended" > offset="3624784" /> > </Coordinates> > </Piece> > </RectilinearGrid> > <AppendedData encoding="base64"> > .... > ******************************************************** > File1.vtr > ******************************************************** > <?xml version="1.0"?> > <VTKFile type="RectilinearGrid" version="0.1" byte_order="LittleEndian" > compressor="vtkZLibDataCompressor"> > <RectilinearGrid WholeExtent="26 54 0 68 0 135"> > <Piece Extent="26 54 0 68 0 135"> > <PointData> > <DataArray type="Float32" Name="Conc_0" format="appended" offset="0" > /> > <DataArray type="Float32" Name="Conc_1" format="appended" > offset="1365196" /> > <DataArray type="Float32" Name="Conc_2" format="appended" > offset="2688228" /> > </PointData> > <CellData> > </CellData> > <Coordinates> > <DataArray type="Float32" Name="Array 0x9c7aad8" format="appended" > offset="4047428" /> > <DataArray type="Float32" Name="Array 0x9c79e80" format="appended" > offset="4047624" /> > <DataArray type="Float32" Name="Array 0x9c7ac00" format="appended" > offset="4048032" /> > </Coordinates> > </Piece> > </RectilinearGrid> > <AppendedData encoding="base64"> > ***************************************************** > (And many more datafiles similar to this). > As you can see, the two files have one layer of ghost nodes > File0.vatr > <RectilinearGrid WholeExtent="0 27 0 68 0 135"> > File1.vtr > <RectilinearGrid WholeExtent="26 54 0 68 0 135"> > > Now, I use a *.pvd file to load these files as "part" for each timestep. I > am not even using a *.pvtr. > Is it possible to do it the way I am doing it right now or do I need to use > *.pvtr file? > Thanks for you help, > Mohamad > > On Sun, Feb 6, 2011 at 6:30 PM, Sebastien Jourdain > <sebastien.jourd...@kitware.com> wrote: >> >> Hi Mohamad, >> >> Did you add a data array "GhostLevels" to specify for each cell its >> ghost level ? >> It's an unsigned char data array where the values are the depth into >> the next block for of each cell. >> By that I mean: >> - 0 is the cells of the current block >> - 1 is the set of cells that share points in the current block and the >> neighbor one. >> >> Seb >> >> On Sun, Feb 6, 2011 at 12:30 PM, Mohamad M. Nasr-Azadani >> <mmn...@gmail.com> wrote: >> > Hey experts, >> > I am using several *.vtr files (as subblocks of the entire domain) and >> > then >> > use pvd file to load them in paraview. >> > As I have read in the manual, one needs to use at least one layer of >> > ghost >> > nodes on each subblock so that paraview can perform operations on any >> > given >> > dataset of that kind. >> > So far, everything is fine. However, the problem that I have is very >> > simple >> > yet annoying. When I use contours to represent the isosurface and then >> > any >> > opacity value less than 1.0, I can see the boundaries of each subblock >> > on >> > the contour surface. I have not been successful to fix this problem yet. >> > Any ideas on how to solve this issue? >> > Thanks, >> > Mohamad >> > PS: Attached, please find one snapshot of the contours + the annoying >> > line >> > appreaing on the isosurface. >> > >> > _______________________________________________ >> > 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 >> > >> > > > _______________________________________________ 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