[Paraview] Slicing Cartesian meshes

Karl König kkoenig11 at web.de
Fri Jul 27 10:41:37 EDT 2012


Michael,

Yes, it is. If you want to keep the hex/quad structure, you can resort
to the Threshold filter, thresholding based on coordinate values. See
yesterday's posting http://markmail.org/message/wooi4pdb7j4h6z36 on how
to get coordinates as additional data arrays. Note, though, that with
the Threshold filter you won't be able to cut through a hex, just along
its faces. So, only if the underlying hexahedra are aligned along your
chosen slice, you get be a smooth surface.
There might be another vtk filter that is unexposed in the ParaView GUI
that actually cuts through hexahedra without resorting to triangulation
of the surface. But that I don't know.

Karl


Michael Robinson wrote, On 27.07.2012 16:15:
> 
> I have a Cartesian volume grid consisting of hex cells of varying size 
> in VTK legacy unstructured format.  When I do a (Cartesian) slice 
> through the grid, the result is displayed as a triangulated surface 
> instead of the expected surface of quads.  Is that just a result of 
> the slicing process or is there a way to have ParaView display that 
> surface as the expected surface of quads?  Thanks!
> 
> Michael A. Robinson
> Kratos/Digital Fusion
> Huntsville, AL



More information about the ParaView mailing list