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>&lt;RectilinearGrid WholeExtent=&quot;0 54 0 68 0 135&quot;&gt;<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">&lt;<a href="mailto:sebastien.jourdain@kitware.com">sebastien.jourdain@kitware.com</a>&gt;</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&#39;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">&lt;<a href="mailto:mmnasr@gmail.com">mmnasr@gmail.com</a>&gt; wrote:<br>
&gt; Hi Seb,<br>
&gt; I did not define any separate array. The only thing that I have done when<br>
&gt; writing the *.vtr file for each subblock is something similar to this<br>
&gt; File0.vtr<br>
&gt; **************************************************<br>
&gt; &lt;?xml version=&quot;1.0&quot;?&gt;<br>
&gt; &lt;VTKFile type=&quot;RectilinearGrid&quot; version=&quot;0.1&quot; byte_order=&quot;LittleEndian&quot;<br>
&gt; compressor=&quot;vtkZLibDataCompressor&quot;&gt;<br>
&gt;   &lt;RectilinearGrid WholeExtent=&quot;0 27 0 68 0 135&quot;&gt;<br>
&gt;     &lt;Piece Extent=&quot;0 27 0 68 0 135&quot;&gt;<br>
&gt;       &lt;PointData&gt;<br>
&gt;         &lt;DataArray type=&quot;Float32&quot; Name=&quot;Conc_0&quot; format=&quot;appended&quot; offset=&quot;0&quot;<br>
&gt;                   /&gt;<br>
&gt;         &lt;DataArray type=&quot;Float32&quot; Name=&quot;Conc_1&quot; format=&quot;appended&quot;<br>
&gt; offset=&quot;1221128&quot;             /&gt;<br>
&gt;         &lt;DataArray type=&quot;Float32&quot; Name=&quot;Conc_2&quot; format=&quot;appended&quot;<br>
&gt; offset=&quot;2406800&quot;             /&gt;<br>
&gt;       &lt;/PointData&gt;<br>
&gt;       &lt;CellData&gt;<br>
&gt;       &lt;/CellData&gt;<br>
&gt;       &lt;Coordinates&gt;<br>
&gt;         &lt;DataArray type=&quot;Float32&quot; Name=&quot;Array 0x9c7aad8&quot; format=&quot;appended&quot;<br>
&gt; offset=&quot;3624188&quot;             /&gt;<br>
&gt;         &lt;DataArray type=&quot;Float32&quot; Name=&quot;Array 0x9c79e80&quot; format=&quot;appended&quot;<br>
&gt; offset=&quot;3624376&quot;             /&gt;<br>
&gt;         &lt;DataArray type=&quot;Float32&quot; Name=&quot;Array 0x9c7ac00&quot; format=&quot;appended&quot;<br>
&gt; offset=&quot;3624784&quot;             /&gt;<br>
&gt;       &lt;/Coordinates&gt;<br>
&gt;     &lt;/Piece&gt;<br>
&gt;   &lt;/RectilinearGrid&gt;<br>
&gt;   &lt;AppendedData encoding=&quot;base64&quot;&gt;<br>
&gt; ....<br>
&gt; ********************************************************<br>
&gt; File1.vtr<br>
&gt; ********************************************************<br>
&gt; &lt;?xml version=&quot;1.0&quot;?&gt;<br>
&gt; &lt;VTKFile type=&quot;RectilinearGrid&quot; version=&quot;0.1&quot; byte_order=&quot;LittleEndian&quot;<br>
&gt; compressor=&quot;vtkZLibDataCompressor&quot;&gt;<br>
&gt;   &lt;RectilinearGrid WholeExtent=&quot;26 54 0 68 0 135&quot;&gt;<br>
&gt;     &lt;Piece Extent=&quot;26 54 0 68 0 135&quot;&gt;<br>
&gt;       &lt;PointData&gt;<br>
&gt;         &lt;DataArray type=&quot;Float32&quot; Name=&quot;Conc_0&quot; format=&quot;appended&quot; offset=&quot;0&quot;<br>
&gt;                   /&gt;<br>
&gt;         &lt;DataArray type=&quot;Float32&quot; Name=&quot;Conc_1&quot; format=&quot;appended&quot;<br>
&gt; offset=&quot;1365196&quot;             /&gt;<br>
&gt;         &lt;DataArray type=&quot;Float32&quot; Name=&quot;Conc_2&quot; format=&quot;appended&quot;<br>
&gt; offset=&quot;2688228&quot;             /&gt;<br>
&gt;       &lt;/PointData&gt;<br>
&gt;       &lt;CellData&gt;<br>
&gt;       &lt;/CellData&gt;<br>
&gt;       &lt;Coordinates&gt;<br>
&gt;         &lt;DataArray type=&quot;Float32&quot; Name=&quot;Array 0x9c7aad8&quot; format=&quot;appended&quot;<br>
&gt; offset=&quot;4047428&quot;             /&gt;<br>
&gt;         &lt;DataArray type=&quot;Float32&quot; Name=&quot;Array 0x9c79e80&quot; format=&quot;appended&quot;<br>
&gt; offset=&quot;4047624&quot;             /&gt;<br>
&gt;         &lt;DataArray type=&quot;Float32&quot; Name=&quot;Array 0x9c7ac00&quot; format=&quot;appended&quot;<br>
&gt; offset=&quot;4048032&quot;             /&gt;<br>
&gt;       &lt;/Coordinates&gt;<br>
&gt;     &lt;/Piece&gt;<br>
&gt;   &lt;/RectilinearGrid&gt;<br>
&gt;   &lt;AppendedData encoding=&quot;base64&quot;&gt;<br>
&gt; *****************************************************<br>
&gt; (And many more datafiles similar to this).<br>
&gt; As you can see, the two files have one layer of ghost nodes<br>
&gt; File0.vatr<br>
&gt;   &lt;RectilinearGrid WholeExtent=&quot;0 27 0 68 0 135&quot;&gt;<br>
&gt; File1.vtr<br>
&gt;   &lt;RectilinearGrid WholeExtent=&quot;26 54 0 68 0 135&quot;&gt;<br>
&gt;<br>
&gt; Now, I use a *.pvd file to load these files as &quot;part&quot; for each timestep. I<br>
&gt; am not even using a *.pvtr.<br>
&gt; Is it possible to do it the way I am doing it right now or do I need to use<br>
&gt; *.pvtr file?<br>
&gt; Thanks for you help,<br>
&gt; Mohamad<br>
&gt;<br>
&gt; On Sun, Feb 6, 2011 at 6:30 PM, Sebastien Jourdain<br>
&gt; &lt;<a href="mailto:sebastien.jourdain@kitware.com">sebastien.jourdain@kitware.com</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; Hi Mohamad,<br>
&gt;&gt;<br>
&gt;&gt; Did you add a data array &quot;GhostLevels&quot; to specify for each cell its<br>
&gt;&gt; ghost level ?<br>
&gt;&gt; It&#39;s an unsigned char data array where the values are the depth into<br>
&gt;&gt; the next block for of each cell.<br>
&gt;&gt; By that I mean:<br>
&gt;&gt; - 0 is the cells of the current block<br>
&gt;&gt; - 1 is the set of cells that share points in the current block and the<br>
&gt;&gt; neighbor one.<br>
&gt;&gt;<br>
&gt;&gt; Seb<br>
&gt;&gt;<br>
&gt;&gt; On Sun, Feb 6, 2011 at 12:30 PM, Mohamad M. Nasr-Azadani<br>
&gt;&gt; &lt;<a href="mailto:mmnasr@gmail.com">mmnasr@gmail.com</a>&gt; wrote:<br>
&gt;&gt; &gt; Hey experts,<br>
&gt;&gt; &gt; I am using several *.vtr files (as subblocks of the entire domain) and<br>
&gt;&gt; &gt; then<br>
&gt;&gt; &gt; use pvd file to load them in paraview.<br>
&gt;&gt; &gt; As I have read in the manual, one needs to use at least one layer of<br>
&gt;&gt; &gt; ghost<br>
&gt;&gt; &gt; nodes on each subblock so that paraview can perform operations on any<br>
&gt;&gt; &gt; given<br>
&gt;&gt; &gt; dataset of that kind.<br>
&gt;&gt; &gt; So far, everything is fine. However, the problem that I have is very<br>
&gt;&gt; &gt; simple<br>
&gt;&gt; &gt; yet annoying. When I use contours to represent the isosurface and then<br>
&gt;&gt; &gt; any<br>
&gt;&gt; &gt; opacity value less than 1.0, I can see the boundaries of each subblock<br>
&gt;&gt; &gt; on<br>
&gt;&gt; &gt; the contour surface. I have not been successful to fix this problem yet.<br>
&gt;&gt; &gt; Any ideas on how to solve this issue?<br>
&gt;&gt; &gt; Thanks,<br>
&gt;&gt; &gt; Mohamad<br>
&gt;&gt; &gt; PS: Attached, please find one snapshot of the contours + the annoying<br>
&gt;&gt; &gt; line<br>
&gt;&gt; &gt; appreaing on the isosurface.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; _______________________________________________<br>
&gt;&gt; &gt; Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Visit other Kitware open-source projects at<br>
&gt;&gt; &gt; <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Please keep messages on-topic and check the ParaView Wiki at:<br>
&gt;&gt; &gt; <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Follow this link to subscribe/unsubscribe:<br>
&gt;&gt; &gt; <a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;<br>
&gt;<br>
</div></div></blockquote></div><br></div>