[vtkusers] Save as vtu

David E DeMarle dave.demarle at kitware.com
Wed Apr 26 13:03:53 EDT 2017


Adding to what Andy said.
In this case the xdmf file defines a multiblock with three unstructured
grids underneath it. Each of your unstructured grids happens to have just
one cell in it. When you save as vtm, you will get a top level .vtm
defining the collection, and a directory with three .vtu files, one for
each block.


David E DeMarle
Kitware, Inc.
R&D Engineer
21 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-881-4909

On Wed, Apr 26, 2017 at 12:55 PM, Andy Bauer <andy.bauer at kitware.com> wrote:

> Hi,
>
> The vtu format is for unstructured (non-multiblock) grids. For multiblock
> grids like the ones read in from an xmf file you will need to convert it to
> an unstructured grid. You an use the Merge Blocks filter to do that.
>
> Is there a strong reason for saving it as a vtu file? It sounds like there
> are better file formats available for your data set.
>
> Andy
>
> On Wed, Apr 26, 2017 at 12:24 PM, houssen <houssen at ipgp.fr> wrote:
>
>> In paraview, I open a xmf file, I would like to export it as vtu (to read
>> it later on with vtkUnstructuredGridReader): neither "save data" nor
>> "export scene" allows this (save data suggest the .vtm format but it turns
>> out that vtm can not be read later on by vtkUnstructuredGridReader as vtu
>> is expected - I guess ?). Same problem when opening a stl file in paraview:
>> can not export it as vtu.
>>
>> How can I export a xmf/stl fle as vtu ? Do I need a (existing ?) plugin ?
>> If yes, which one ? Is there a work around ? Or is this a dead end ?
>>
>> Franck
>>
>> PS: I have paraview-5.1.0, should I compile a newer version ?
>>
>> _______________________________________________
>> 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 VTK FAQ at:
>> http://www.vtk.org/Wiki/VTK_FAQ
>>
>> Search the list archives at: http://markmail.org/search/?q=vtkusers
>>
>> Follow this link to subscribe/unsubscribe:
>> http://public.kitware.com/mailman/listinfo/vtkusers
>>
>>
>
> _______________________________________________
> 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 VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Search the list archives at: http://markmail.org/search/?q=vtkusers
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20170426/220d0e49/attachment.html>


More information about the vtkusers mailing list