<div dir="ltr">dear all,<div> are the point id and point index of the surface same thing ?</div><div><br></div><div><br></div><div>Looking forward your reply soon.</div><div><br></div><div>Best</div><div>rahul </div>
<div><br></div><div><br></div><div><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Jul 31, 2013 at 6:00 PM, <span dir="ltr"><<a href="mailto:vtkusers-request@vtk.org" target="_blank">vtkusers-request@vtk.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Send vtkusers mailing list submissions to<br>
<a href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
or, via email, send a message with subject or body 'help' to<br>
<a href="mailto:vtkusers-request@vtk.org">vtkusers-request@vtk.org</a><br>
<br>
You can reach the person managing the list at<br>
<a href="mailto:vtkusers-owner@vtk.org">vtkusers-owner@vtk.org</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of vtkusers digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
1. Re: vts periodic boundaries (Andy Bauer)<br>
2. Re: vts periodic boundaries (Patrick Bechlars)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Wed, 31 Jul 2013 10:11:50 -0400<br>
From: Andy Bauer <<a href="mailto:andy.bauer@kitware.com">andy.bauer@kitware.com</a>><br>
Subject: Re: [vtkusers] vts periodic boundaries<br>
To: Patrick Bechlars <<a href="mailto:patrick.bechlars@soton.ac.uk">patrick.bechlars@soton.ac.uk</a>><br>
Cc: <a href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</a><br>
Message-ID:<br>
<CAMaOp+FXnktfuFLobrokiXa_4QZA6xo=<a href="mailto:cCYos0NF%2BAm_jp%2BaRg@mail.gmail.com">cCYos0NF+Am_jp+aRg@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="iso-8859-1"<br>
<br>
Hi Patrick,<br>
<br>
You can make a vtkStructuredGrid act like it is periodic by making the<br>
first and last set of points be coincident. It looks like you need one more<br>
level of cells as well as one more level of points. The thing is that<br>
depending on the filter, you may not get the behavior you want. For<br>
example, if you extract the boundary of the grid it will show a boundary<br>
where the first and last set of cells meet. Also, the computed gradient<br>
will not be continuous there either.<br>
<br>
The only wa to get around that is to either use a vtkPolyData if it's 2D or<br>
a vtkUnstructuredGrid.<br>
<br>
Regards,<br>
Andy<br>
<br>
On Wed, Jul 31, 2013 at 6:10 AM, Patrick Bechlars <<br>
<a href="mailto:patrick.bechlars@soton.ac.uk">patrick.bechlars@soton.ac.uk</a>> wrote:<br>
<br>
> Dear all,<br>
><br>
> I am trying to write out a cylindrical data set as a vtk file in<br>
> StructuredGrid form to read it in Paraview. I would like to write the vtk<br>
> file in a way that the first and last cell (see gap in the picture) are<br>
> connected. Does any of you have experience in that and/or have a hint how<br>
> to achieve that.<br>
><br>
> One idea was to write it in parallel format as two pieces and add ghost<br>
> cells, but this would be quite dirty and is not exactly what I want.<br>
><br>
> Any idea is welcome!<br>
><br>
> Thanks a lot<br>
> Patrick<br>
><br>
> --<br>
> Patrick Bechlars<br>
> Aerodynamics and Flight Mechanics Group<br>
> Faculty of Engineering and the Environment<br>
> University of Southampton<br>
> Building 13, 2071<br>
> Highfield<br>
> Southampton<br>
> SO17 1BJ<br>
> email: <a href="mailto:patrick.bechlars@soton.ac.uk">patrick.bechlars@soton.ac.uk</a><br>
><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 VTK FAQ at:<br>
> <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
><br>
> Follow this link to subscribe/unsubscribe:<br>
> <a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
><br>
><br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://www.vtk.org/pipermail/vtkusers/attachments/20130731/4c70fe3c/attachment-0001.htm" target="_blank">http://www.vtk.org/pipermail/vtkusers/attachments/20130731/4c70fe3c/attachment-0001.htm</a>><br>
<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Wed, 31 Jul 2013 16:16:56 +0100<br>
From: Patrick Bechlars <<a href="mailto:patrick.bechlars@soton.ac.uk">patrick.bechlars@soton.ac.uk</a>><br>
Subject: Re: [vtkusers] vts periodic boundaries<br>
To: Andy Bauer <<a href="mailto:andy.bauer@kitware.com">andy.bauer@kitware.com</a>><br>
Cc: <a href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</a><br>
Message-ID: <<a href="mailto:51F92A68.1020108@soton.ac.uk">51F92A68.1020108@soton.ac.uk</a>><br>
Content-Type: text/plain; charset="iso-8859-1"; Format="flowed"<br>
<br>
Hi Andy,<br>
<br>
The derivatives and other filters involving spatial data are not too<br>
important as I do all calculations externally. It is mainly about the<br>
plotting. If I want to stick to StructuredGrid, then there will always<br>
be this additional boundary. Is that what you are saying?<br>
Is there nothing like a GhostLevel="#" option for specific boundaries in<br>
the Serial XML File Format or a filter that does that work afterwards?<br>
<br>
Best regards,<br>
Patrick<br>
<br>
On 31/07/13 15:11, Andy Bauer wrote:<br>
> Hi Patrick,<br>
><br>
> You can make a vtkStructuredGrid act like it is periodic by making the<br>
> first and last set of points be coincident. It looks like you need one<br>
> more level of cells as well as one more level of points. The thing is<br>
> that depending on the filter, you may not get the behavior you want.<br>
> For example, if you extract the boundary of the grid it will show a<br>
> boundary where the first and last set of cells meet. Also, the<br>
> computed gradient will not be continuous there either.<br>
><br>
> The only wa to get around that is to either use a vtkPolyData if it's<br>
> 2D or a vtkUnstructuredGrid.<br>
><br>
> Regards,<br>
> Andy<br>
><br>
> On Wed, Jul 31, 2013 at 6:10 AM, Patrick Bechlars<br>
> <<a href="mailto:patrick.bechlars@soton.ac.uk">patrick.bechlars@soton.ac.uk</a> <mailto:<a href="mailto:patrick.bechlars@soton.ac.uk">patrick.bechlars@soton.ac.uk</a>>><br>
> wrote:<br>
><br>
> Dear all,<br>
><br>
> I am trying to write out a cylindrical data set as a vtk file in<br>
> StructuredGrid form to read it in Paraview. I would like to write<br>
> the vtk file in a way that the first and last cell (see gap in the<br>
> picture) are connected. Does any of you have experience in that<br>
> and/or have a hint how to achieve that.<br>
><br>
> One idea was to write it in parallel format as two pieces and add<br>
> ghost cells, but this would be quite dirty and is not exactly what<br>
> I want.<br>
><br>
> Any idea is welcome!<br>
><br>
> Thanks a lot<br>
> Patrick<br>
><br>
> --<br>
> Patrick Bechlars<br>
> Aerodynamics and Flight Mechanics Group<br>
> Faculty of Engineering and the Environment<br>
> University of Southampton<br>
> Building 13, 2071<br>
> Highfield<br>
> Southampton<br>
> SO17 1BJ<br>
> email: <a href="mailto:patrick.bechlars@soton.ac.uk">patrick.bechlars@soton.ac.uk</a><br>
> <mailto:<a href="mailto:patrick.bechlars@soton.ac.uk">patrick.bechlars@soton.ac.uk</a>><br>
><br>
><br>
> _______________________________________________<br>
> Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a> <<a href="http://www.kitware.com" target="_blank">http://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 VTK FAQ at:<br>
> <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
><br>
> Follow this link to subscribe/unsubscribe:<br>
> <a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
><br>
><br>
<br>
<br>
--<br>
Patrick Bechlars<br>
Aerodynamics and Flight Mechanics Group<br>
Faculty of Engineering and the Environment<br>
University of Southampton<br>
Building 13, 2071<br>
Highfield<br>
Southampton<br>
SO17 1BJ<br>
email: <a href="mailto:patrick.bechlars@soton.ac.uk">patrick.bechlars@soton.ac.uk</a><br>
<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://www.vtk.org/pipermail/vtkusers/attachments/20130731/a67b6556/attachment-0001.htm" target="_blank">http://www.vtk.org/pipermail/vtkusers/attachments/20130731/a67b6556/attachment-0001.htm</a>><br>
<br>
------------------------------<br>
<br>
_______________________________________________<br>
vtkusers mailing list<br>
<a href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</a><br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
<br>
<br>
End of vtkusers Digest, Vol 111, Issue 48<br>
*****************************************<br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr"><span style="color:rgb(0,0,255)"><b>Best Regards<br>Rahul Indoria<br>Mobile No: +49-157-35652212</b></span><br></div>
</div></div></div>