[Paraview] Possible to view ExodusII HEX9 data?
Weston Ortiz
weston at wortiz.com
Fri Feb 9 18:16:02 EST 2018
> Have you built ParaView yourself or do you install it from packages.
Usually just from the paraview tarballs, i can try adding the new change
code next week though.
> It would help to have a small example file for us to test against.
Attached is a small example file (lid driven cavity, ldc.exoII) and an
example output image of a slice with velocity vectors in ensight
Thanks,
Weston
On Fri, Feb 9, 2018 at 3:17 PM, David Thompson <david.thompson at kitware.com>
wrote:
> Hi Weston,
>
> > Is there any way I could render HEX9 exodusii data as as HEX8 data in
> paraview, (ignoring the 9th node) or work with it directly?
>
> Not without modifying the source. Have you built ParaView yourself or do
> you install it from packages.
>
> >
> > HEX9 numbering: https://github.com/gsjaardema/seacas/blob/master/docs/
> topology/hex09.png
> >
> > It appears that Paraview reads the file as HEX8 but is reading the
> center node as part of one of the hexahedron's edges (see attached image)
>
> It would help to have a small example file for us to test against. If you
> want to experiment, you can edit VTK/IO/Exodus/vtkExodusIIReader.cxx
> around line 3237 (inside vtkExodusIIReaderPrivate::DetermineVtkCellType)
> and add
>
> else if ((elemType.substr(0,3) == "HEX") && (binfo.BdsPerEntry[0]
> == 9))
> { binfo.CellType=VTK_HEXAHEDRON; binfo.PointsPerCell =
> 8; }
>
> You can see that is what we do for 21-node hexes currently.
>
> David
>
>
> > <simple_cube.png>_______________________________________________
> > Powered by www.kitware.com
> >
> > Visit other Kitware open-source projects at http://www.kitware.com/
> opensource/opensource.html
> >
> > Please keep messages on-topic and check the ParaView Wiki at:
> http://paraview.org/Wiki/ParaView
> >
> > Search the list archives at: http://markmail.org/search/?q=ParaView
> >
> > Follow this link to subscribe/unsubscribe:
> > https://paraview.org/mailman/listinfo/paraview
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://public.kitware.com/pipermail/paraview/attachments/20180209/48e2f8d0/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ldc.exoII
Type: application/octet-stream
Size: 179624 bytes
Desc: not available
URL: <https://public.kitware.com/pipermail/paraview/attachments/20180209/48e2f8d0/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ldc_ensight_img.png
Type: image/png
Size: 167573 bytes
Desc: not available
URL: <https://public.kitware.com/pipermail/paraview/attachments/20180209/48e2f8d0/attachment-0001.png>
More information about the ParaView
mailing list