[Paraview] Extract unstructured grid
David E DeMarle
dave.demarle at kitware.com
Thu Jan 31 12:21:03 EST 2008
I suggest using selection to extract the elements you want. You need
to populate the active selection with the list of elements you want to
extract, and then apply the extract selection filter.
One way to do this (warning:I am working from memory here) is to open
a spreadsheet view window, make the data you want to extract from
visible in it by clicking on the eye next to it in the pipeline
browser, use the display tab to show either the points or the cells,
then ctrl-clicking on the rows for the particular elements or cells
you are interested in. That populates the active selection and you
should see the cells highlighted in magenta in the 3D view of the
data. Now apply the extract selection filter.
cheers,
Dave
On 1/31/08, Dimitrios Kiousis <dkiousis at gmail.com> wrote:
> Hello ParaView users,
>
> I am (used to be) a MayaVi user for quite some time now.
> Recently however, I discovered ParaView and I think that it is considerably
> better. I particularly enjoy the Clip option that was not available in
> MayaVi1.
>
> My question is as follows:
> I run my FE computations and export unstructured_grid VTK files. Everything
> looks ok except that I cannot extract part of the grid. For example,
> elements 51-105. Which filter and how should I use? I should mention that
> the "Extract Subset" filter is DISABLED. In MayaVi there was the Filter
> "ExtractUnstructuredGrid" that would do the job, but I can't find anything
> similar here.
>
> Thanks for any help in advance,
> dqdev
>
> ps. My VTK file has the following form:
>
> # vtk DataFile Version 3.0
> Adventitia example: 0.01209
> ASCII
> DATASET UNSTRUCTURED_GRID
> POINTS 4284 FLOAT
> 1.50000 -5.00000 -0.25000
> 1.44729 -4.76140 -0.23984
> 1.31713 -4.77895 -0.22776
> 1.35000 -5.00000 -0.25000
> .....................
> .....................
> CELLS 3000 27000
> 8 0 1 2 3 4 5 6 7
> 8 1 8 9 2 5 10 11 6
> 8 8 12 13 9 10 14 15 11
> ......................
> ......................
> CELL_TYPES 3000
> 12
> 12
> 12
> 12
> ........
> ........
> POINT_DATA 4284
> VECTORS DISPL float
> 0.00000 0.00000 0.00000
> -0.05271 0.03860 0.01016
> -0.03287 0.02105 0.02224
> 0.00000 0.00000 0.00000
> 0.00000 0.00000 0.00000
> ........................
> ........................
>
> _______________________________________________
> ParaView mailing list
> ParaView at paraview.org
> http://www.paraview.org/mailman/listinfo/paraview
>
>
More information about the ParaView
mailing list