Hi Armin,
     thank you for your reply.
I've used both for reading and writing the Xdmf3 choose.
In attach you can find the output of the saving of the polyhedron.vtu
(saved.xmf and saved.h5) from the Windows machine.

I've tried also to repeat the procedure (reading of your xmf file) on a
Linux workstation and the behaviour is different: it seems that
randomically the crash happens again (once on about ten tries) and
sometimes it seems that the topology has a connectivity error (see the
image in attachment), while for the most of the times it seems to do the
right job.

I've tried also another case, a little bit heavier: a polyhedral mesh read
from the vtu in attach (cube.vtu) and saved with the Xdmf3 writer. Trying
to re-read the xmf version of this geometry always  produces a crash also
on the Linux machine.

 Thank again for your help.

Cheers

Alessandro





 [image: Inline image 1]


On Wed, Nov 30, 2016 at 3:59 PM, Armin Wehrfritz <dkxl...@gmail.com> wrote:

> Hi Alessandro,
>
> I just tested the .xmf file on my Linux work-station using the ParaView
> 5.2 binaries from the Kitware webpage and everything works as expected.
>
> Also, reading the .vtu file and saving the data as xdmf works correctly
> on my machine.
>
> I don't have a Windows PC and have never tested this functionality
> anywhere else than under Linux. However, IIRC, the implementation of the
> polyhedral cell support doesn't have any operating system specific code.
> Just to note though, you need to use the Xdmf3 reader/writer in ParaView
> for xdmf files with polyhedral cells.
>
> Can you check that the .xmf file you generated from the .vtu file has
> the same topology information as the original .xmf file?
>
> Cheers,
> Armin
>
>
>
>
>
>
>
>
> On 11/29/2016 06:09 PM, Alessandro De Maio wrote:
>
>> Dear All,
>>      I would like to use xdmf file format for exporting polyhedral mesh
>> results from a CFD code to be opened with Paraview. If I'm not wrong
>> Paraview 5.2.0 should be able to read/write such kind o files.
>>
>> Just to understand the format of the xmf file, I've been trying to open
>> a very easy example taken from the post by Armin Wehrfritz (Tue Sep 27
>> 09:03:00 EDT 2016) in this mailing list (the title of the post was
>> "Combination of polygonal-data and unstructured grid") named
>> polyhedron.xmf (that I put in attach to this post). But using Paraview
>> 5.2.0 (Windows 64bit) binary, it gives segmentation fault immediately
>> after the "Apply" button click.
>>
>> I've tried also to read the vtu version of the same geometry
>> (polyhedron.vtu taken from the same post of Armin and in attach) and to
>> save it from Paraview in xdmf3 file format. Once I try to re-read the
>> xmf generated file, the behaviour is the same and Paraview crashes.
>>
>> Has anyone of you experience with xdmf polyhedral files in Paraview?
>>
>> Thank you in advance for any suggestion
>>
>> Alessandro De Maio
>>
>>
>> _______________________________________________
>> 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:
>> http://public.kitware.com/mailman/listinfo/paraview
>>
>> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/opensou
> rce/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:
> http://public.kitware.com/mailman/listinfo/paraview
>

Attachment: saved.h5
Description: Binary data

Attachment: saved.xmf
Description: Binary data

Attachment: cube.vtu
Description: Binary data

_______________________________________________
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:
http://public.kitware.com/mailman/listinfo/paraview

Reply via email to