[Gmsh] Gmsh crashes exporting vec fields in .pvtu format

Christophe Geuzaine cgeuzaine at uliege.be
Sat Nov 23 09:48:23 CET 2019


Hi guys,

I have fixed a small (but that could lead to a crash) bug related to pvtu export yesterday. Could you check if this fixes your issue? If not, could you send a (simple) dataset together with a script (or steps to follow) to reproduce the problem?

Thanks,

Christophe



> On 22 Nov 2019, at 15:36, Max Orok <morok at mevex.com> wrote:
> 
> Thank you Marco, cc'ing the wider Gmsh community with these examples in case they can help.
> 
> 
> On Thu, Nov 21, 2019 at 4:05 AM Marco Tiberga <M.Tiberga at tudelft.nl> wrote:
> Dear Max,
> 
>  
> 
> Please find attached two .pos files of a scalar and a vector quantity I wanted to export in pvtu format.
> 
> It is a velocity field, and the vector field was built through the Scal2Vec plugin from the components.
> 
>  
> 
> On top of this, I have discovered that also the export of the .pos scalar view does not work.
> 
> What I usually do is to open the mesh (.msh file), merge a .msh file with the scalar field and then export the view in pvtu format: this works.
> 
> Instead, if I open the mesh, merge the .msh file with the scalar field, export the view into .pos format (the attached u_scal is an example), then open the new .pos file directly and finally try to export it in pvtu, Gmsh crashes.
> 
> So, I suspect the problem is in the export of .pos view to pvtu format.
> 
>  
> 
> Hope these are useful examples.
> 
>  
> 
> Best regards,
> 
> Marco
> 
>  
> 
> From: Max Orok [mailto:morok at mevex.com] 
> Sent: woensdag 20 november 2019 22:48
> To: Marco Tiberga
> Subject: Re: [Gmsh] Gmsh crashes exporting vec fields in .pvtu format
> 
>  
> 
> Hi Marco,
> 
>  
> 
> Would it be possible to get an example file that shows this behaviour?
> 
>  
> 
> Sincerely,
> 
> Max
> 
>  
> 
> On Wed, Nov 20, 2019 at 4:46 PM Marco Tiberga <M.Tiberga at tudelft.nl> wrote:
> 
> Good evening,
> 
>  
> 
> I would like to report a bug I found.
> 
>  
> 
> I needed to export a vector field in pvtu format (via File -> Export). However, Gmsh crashes as soon as it starts the export process. This does not happen when I export scalar fields.
> 
> However, I knew I was once able to do it. So, I went back with the versions, and I found out that the first buggy version is 2.14.1 (at that time, the export was done via File -> Save As).
> 
>  
> 
> I understand this is a minor bug (and the fix is not even urgent as far as I am concerned, as I was able to export my field using Gmsh 2.14.0), but it is useful to report it anyway.
> 
>  
> 
>  
> 
> Best regards,
> 
> Marco Tiberga
> PhD candidate
> 
> Delft University of Technology
> 
> Faculty of Applied Sciences
> 
> Radiation Science & Technology Department
> 
> Mekelweg 15, 2629 JB Delft, The Netherlands
> 
> E-Mail: m.tiberga at tudelft.nl
> Website: http://www.nera.rst.tudelft.nl/
> 
>  
> 
>  
> 
> _______________________________________________
> gmsh mailing list
> gmsh at onelab.info
> http://onelab.info/mailman/listinfo/gmsh
> 
> 
> 
> --
> 
> Max Orok
> 
> Contractor
> 
> www.mevex.com
> 
> <image001.jpg>
> 
> 
> 
> -- 
> Max Orok
> Contractor
> www.mevex.com
> 
> 
> _______________________________________________
> gmsh mailing list
> gmsh at onelab.info
> http://onelab.info/mailman/listinfo/gmsh

— 
Prof. Christophe Geuzaine
University of Liege, Electrical Engineering and Computer Science 
http://www.montefiore.ulg.ac.be/~geuzaine






More information about the gmsh mailing list