Hi Seb, <div><br></div><div>Did you try to specify the WholeExtent to be the Whole system extent<br>and not the piece one ?</div><div><br></div><div>Yes I did, but it does not seem to be correct. Some wiggles appear on the contour of the first partition of the dataset. </div>
<div>In both *.vtr files I changed the line as:</div><div><RectilinearGrid WholeExtent="0 54 0 68 0 135"><br></div><div><br></div><div>But no luck! </div><div><br></div><div>Do you think the only way that it is gonna work is to first create *.pvtr file for each time step and then use a *.pvd file to load all the timesteps? </div>
<div><br></div><div>Thanks in advance, </div><div>Mohamad</div><div><br><br><div class="gmail_quote">On Tue, Feb 8, 2011 at 5:55 AM, Sebastien Jourdain <span dir="ltr"><<a href="mailto:sebastien.jourdain@kitware.com">sebastien.jourdain@kitware.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi Mohamad,<br>
<br>
I thought you were working on an unstructured grid. As it is not the<br>
case you shouldn't bother with the array that I talked earlier.<br>
But you should provide the information that each piece is a part of a<br>
whole system and not a set of whole system shown in the same 3d world.<br>
<br>
Did you try to specify the WholeExtent to be the Whole system extent<br>
and not the piece one ?<br>
<br>
Seb<br>
<br>
On Mon, Feb 7, 2011 at 1:44 PM, Mohamad M. Nasr-Azadani<br>
<div><div></div><div class="h5"><<a href="mailto:mmnasr@gmail.com">mmnasr@gmail.com</a>> wrote:<br>
> Hi Seb,<br>
> I did not define any separate array. The only thing that I have done when<br>
> writing the *.vtr file for each subblock is something similar to this<br>
> File0.vtr<br>
> **************************************************<br>
> <?xml version="1.0"?><br>
> <VTKFile type="RectilinearGrid" version="0.1" byte_order="LittleEndian"<br>
> compressor="vtkZLibDataCompressor"><br>
> <RectilinearGrid WholeExtent="0 27 0 68 0 135"><br>
> <Piece Extent="0 27 0 68 0 135"><br>
> <PointData><br>
> <DataArray type="Float32" Name="Conc_0" format="appended" offset="0"<br>
> /><br>
> <DataArray type="Float32" Name="Conc_1" format="appended"<br>
> offset="1221128" /><br>
> <DataArray type="Float32" Name="Conc_2" format="appended"<br>
> offset="2406800" /><br>
> </PointData><br>
> <CellData><br>
> </CellData><br>
> <Coordinates><br>
> <DataArray type="Float32" Name="Array 0x9c7aad8" format="appended"<br>
> offset="3624188" /><br>
> <DataArray type="Float32" Name="Array 0x9c79e80" format="appended"<br>
> offset="3624376" /><br>
> <DataArray type="Float32" Name="Array 0x9c7ac00" format="appended"<br>
> offset="3624784" /><br>
> </Coordinates><br>
> </Piece><br>
> </RectilinearGrid><br>
> <AppendedData encoding="base64"><br>
> ....<br>
> ********************************************************<br>
> File1.vtr<br>
> ********************************************************<br>
> <?xml version="1.0"?><br>
> <VTKFile type="RectilinearGrid" version="0.1" byte_order="LittleEndian"<br>
> compressor="vtkZLibDataCompressor"><br>
> <RectilinearGrid WholeExtent="26 54 0 68 0 135"><br>
> <Piece Extent="26 54 0 68 0 135"><br>
> <PointData><br>
> <DataArray type="Float32" Name="Conc_0" format="appended" offset="0"<br>
> /><br>
> <DataArray type="Float32" Name="Conc_1" format="appended"<br>
> offset="1365196" /><br>
> <DataArray type="Float32" Name="Conc_2" format="appended"<br>
> offset="2688228" /><br>
> </PointData><br>
> <CellData><br>
> </CellData><br>
> <Coordinates><br>
> <DataArray type="Float32" Name="Array 0x9c7aad8" format="appended"<br>
> offset="4047428" /><br>
> <DataArray type="Float32" Name="Array 0x9c79e80" format="appended"<br>
> offset="4047624" /><br>
> <DataArray type="Float32" Name="Array 0x9c7ac00" format="appended"<br>
> offset="4048032" /><br>
> </Coordinates><br>
> </Piece><br>
> </RectilinearGrid><br>
> <AppendedData encoding="base64"><br>
> *****************************************************<br>
> (And many more datafiles similar to this).<br>
> As you can see, the two files have one layer of ghost nodes<br>
> File0.vatr<br>
> <RectilinearGrid WholeExtent="0 27 0 68 0 135"><br>
> File1.vtr<br>
> <RectilinearGrid WholeExtent="26 54 0 68 0 135"><br>
><br>
> Now, I use a *.pvd file to load these files as "part" for each timestep. I<br>
> am not even using a *.pvtr.<br>
> Is it possible to do it the way I am doing it right now or do I need to use<br>
> *.pvtr file?<br>
> Thanks for you help,<br>
> Mohamad<br>
><br>
> On Sun, Feb 6, 2011 at 6:30 PM, Sebastien Jourdain<br>
> <<a href="mailto:sebastien.jourdain@kitware.com">sebastien.jourdain@kitware.com</a>> wrote:<br>
>><br>
>> Hi Mohamad,<br>
>><br>
>> Did you add a data array "GhostLevels" to specify for each cell its<br>
>> ghost level ?<br>
>> It's an unsigned char data array where the values are the depth into<br>
>> the next block for of each cell.<br>
>> By that I mean:<br>
>> - 0 is the cells of the current block<br>
>> - 1 is the set of cells that share points in the current block and the<br>
>> neighbor one.<br>
>><br>
>> Seb<br>
>><br>
>> On Sun, Feb 6, 2011 at 12:30 PM, Mohamad M. Nasr-Azadani<br>
>> <<a href="mailto:mmnasr@gmail.com">mmnasr@gmail.com</a>> wrote:<br>
>> > Hey experts,<br>
>> > I am using several *.vtr files (as subblocks of the entire domain) and<br>
>> > then<br>
>> > use pvd file to load them in paraview.<br>
>> > As I have read in the manual, one needs to use at least one layer of<br>
>> > ghost<br>
>> > nodes on each subblock so that paraview can perform operations on any<br>
>> > given<br>
>> > dataset of that kind.<br>
>> > So far, everything is fine. However, the problem that I have is very<br>
>> > simple<br>
>> > yet annoying. When I use contours to represent the isosurface and then<br>
>> > any<br>
>> > opacity value less than 1.0, I can see the boundaries of each subblock<br>
>> > on<br>
>> > the contour surface. I have not been successful to fix this problem yet.<br>
>> > Any ideas on how to solve this issue?<br>
>> > Thanks,<br>
>> > Mohamad<br>
>> > PS: Attached, please find one snapshot of the contours + the annoying<br>
>> > line<br>
>> > appreaing on the isosurface.<br>
>> ><br>
>> > _______________________________________________<br>
>> > Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
>> ><br>
>> > Visit other Kitware open-source projects at<br>
>> > <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
>> ><br>
>> > Please keep messages on-topic and check the ParaView Wiki at:<br>
>> > <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
>> ><br>
>> > Follow this link to subscribe/unsubscribe:<br>
>> > <a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
>> ><br>
>> ><br>
><br>
><br>
</div></div></blockquote></div><br></div>