[Paraview] elements to write for visualization

j s j.s4403 at gmail.com
Mon Jul 27 14:20:28 EDT 2009


Hello Ken,

Thank you for your help.  I think I understand it a lot better now.

Juan

On Mon, Jul 27, 2009 at 1:12 PM, Moreland, Kenneth <kmorel at sandia.gov>wrote:

>  Correct.  For example, if your data comprises exactly one tetrahedron,
> then your output should contain four points and the topology for the one
> tetrahedron.  The topology of the four triangular faces is implicit in the
> topology of the tetrahedron.  Including them explicitly would be
> counterproductive.
>
> -Ken
>
>
> On 7/27/09 11:50 AM, "j s" <j.s4403 at gmail.com> wrote:
>
> On Mon, Jul 27, 2009 at 11:26 AM, Moreland, Kenneth <kmorel at sandia.gov>
> wrote:
>
> I don’t understand your question.  Can you clarify it?
>
> Are you perhaps asking if you need to write out, for example, the triangle
> faces of each tetrahedron you write out?  (Answer: no.)  Are you asking if
> you can define a point, line, or triangle in 3D space?  (Answer: yes.)
>
> -Ken
>
>
>
> Hello Ken,
>
> I was asking the first question.  I implemented the vtk file format for an
> unstructured grid using:
> type 10 elements for 3D (tetrahedra)
> type 5 elements for 2D (triangles)
> type 3 elements for 1D (lines)
>
> Each of these elements are defined in terms of points.
>
> My data only exists on points (point data).
>
> Is there any reason why I would want to put the lower dimensional elements
> in my vtk file in addition to the highest dimensional elements?
>
> From the answer you have given, I assume the answer is no?
>
> Regards,
>
> Juan
>
>
>
>
>
>
>
>
>
>
>
> On 7/25/09 9:53 AM, "j s" <j.s4403 at gmail.com <http://j.s4403@gmail.com> >
> wrote:
>
> Hello,
>
> I'm not familiar with all of the plugins in paraview, but I am wondering
> whether I need to write lower order elements in my vtk files for
> flexibility.
>
> All of my data is point based.
>
> I am thinking that:
>
> if 1d:
>     Write Lines
> if 2d:
>     Write Triangles
> if 3d:
>     Write Tetrahedron
>
> Would there be any reason to write lines and triangles in 3d to the output
> file?
>
> Thanks,
>
> Juan
>
>
>
>    ****      Kenneth Moreland
>     ***      Sandia National Laboratories
> ***********
> *** *** ***  email: kmorel at sandia.gov <http://kmorel@sandia.gov>
> **  ***  **  phone: (505) 844-8919
>     ***      web:   http://www.cs.unm.edu/~kmorel<http://www.cs.unm.edu/%7Ekmorel><
> http://www.cs.unm.edu/%7Ekmorel>
>
>
>
>
>
>    ****      Kenneth Moreland
>     ***      Sandia National Laboratories
> ***********
> *** *** ***  email: kmorel at sandia.gov
> **  ***  **  phone: (505) 844-8919
>     ***      web:   http://www.cs.unm.edu/~kmorel<http://www.cs.unm.edu/%7Ekmorel>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20090727/7b10a1d9/attachment.htm>


More information about the ParaView mailing list