[Paraview] Maybe a silly question?
wastrel at gmail.com
wastrel at gmail.com
Wed Mar 23 17:24:19 EDT 2011
Thanks for your reply!
On Wed, Mar 23, 2011 at 3:32 PM, David Thompson <dcthomp at sandia.gov> wrote:
> Hi Ken,
>
>
> I have an Exodus II type file loaded into Paraview and trying to get the
>> point ID for a group of cells. I know for vtk type object there are
>> functions like GetCell(), GetPoint()
>>
>
> I assume you're talking about using Python from ParaView?
Yup, that's exactly what I am doing here.
>
>
> and just wonder if there are such kind of routines available for Exodus II
>> files.
>>
>
>
> Yes, the ExodusII reader outputs VTK objects in a multiblock dataset. You
> can use GetCell(), GetPoint(), and such on each individual block... you just
> have to decide on a particular block. The ExodusII reader separates things
> into blocks because each one may have different point and/or cell variables.
> There are actually 2 levels of blocks; the top level segregates datasets
> into groups that correspond to exodus blocks vs. sets. The second level
> breaks individual blocks or sets into separate datasets. Does that help?
>
>
I am new in dealing with ex2 file, could you please be detailed? There is
just one block in the dataset, so how to get the vtk object out from it so I
can access the points and cells?
> David
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20110323/e2fbe292/attachment.htm>
More information about the ParaView
mailing list