<div dir="ltr"><div>Thank you Marco, cc'ing the wider Gmsh community with these examples in case they can help.</div><div><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Nov 21, 2019 at 4:05 AM Marco Tiberga <<a href="mailto:M.Tiberga@tudelft.nl" target="_blank">M.Tiberga@tudelft.nl</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div lang="EN-GB">
<div>
<p class="MsoNormal"><span style="font-size:11pt;font-family:"Calibri","sans-serif"">Dear Max,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:"Calibri","sans-serif""><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:"Calibri","sans-serif"">Please find attached two .pos files of a scalar and a vector quantity I wanted to export in pvtu format.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:"Calibri","sans-serif"">It is a velocity field, and the vector field was built through the Scal2Vec plugin from the components.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:"Calibri","sans-serif""><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:"Calibri","sans-serif"">On top of this, I have discovered that also the export of the .pos scalar view does not work.
<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:"Calibri","sans-serif"">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.
<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:"Calibri","sans-serif"">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.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:"Calibri","sans-serif"">So, I suspect the problem is in the export of .pos view to pvtu format.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:"Calibri","sans-serif""><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:"Calibri","sans-serif"">Hope these are useful examples.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:"Calibri","sans-serif""><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:"Calibri","sans-serif"">Best regards,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:"Calibri","sans-serif"">Marco<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:"Calibri","sans-serif""><u></u> <u></u></span></p>
<p class="MsoNormal"><b><span style="font-size:10pt;font-family:"Tahoma","sans-serif"" lang="EN-US">From:</span></b><span style="font-size:10pt;font-family:"Tahoma","sans-serif"" lang="EN-US"> Max Orok [mailto:<a href="mailto:morok@mevex.com" target="_blank">morok@mevex.com</a>]
<br>
<b>Sent:</b> woensdag 20 november 2019 22:48<br>
<b>To:</b> Marco Tiberga<br>
<b>Subject:</b> Re: [Gmsh] Gmsh crashes exporting vec fields in .pvtu format<u></u><u></u></span></p>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<div>
<p class="MsoNormal">Hi Marco, <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">Would it be possible to get an example file that shows this behaviour?
<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">Sincerely, <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">Max <u></u><u></u></p>
</div>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<div>
<p class="MsoNormal">On Wed, Nov 20, 2019 at 4:46 PM Marco Tiberga <<a href="mailto:M.Tiberga@tudelft.nl" target="_blank">M.Tiberga@tudelft.nl</a>> wrote:<u></u><u></u></p>
</div>
<blockquote style="border-color:currentcolor currentcolor currentcolor rgb(204,204,204);border-style:none none none solid;border-width:medium medium medium 1pt;padding:0cm 0cm 0cm 6pt;margin-left:4.8pt;margin-right:0cm">
<div>
<div>
<p class="MsoNormal">Good evening,<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">I would like to report a bug I found.<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">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.<u></u><u></u></p>
<p class="MsoNormal">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).<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">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.<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">Best regards,<u></u><u></u></p>
<p class="MsoNormal" style="margin-bottom:4pt">Marco Tiberga<u></u><u></u></p>
<p class="MsoNormal">PhD candidate<u></u><u></u></p>
<p class="MsoNormal"><span style="color:rgb(0,176,240)">Delft University of Technology</span><u></u><u></u></p>
<p class="MsoNormal">Faculty of Applied Sciences<u></u><u></u></p>
<p class="MsoNormal">Radiation Science & Technology Department<u></u><u></u></p>
<p class="MsoNormal">Mekelweg 15, 2629 JB Delft, The Netherlands<u></u><u></u></p>
<p class="MsoNormal" style="margin-bottom:2pt">E-Mail:<span style="color:gray"> </span><u><span style="color:blue"><a href="mailto:m.tiberga@tudelft.nl" target="_blank">m.tiberga@tudelft.nl</a></span></u><u></u><u></u></p>
<p class="MsoNormal"><span lang="NL">Website:
</span><a href="http://www.nera.rst.tudelft.nl/" target="_blank"><span lang="NL">http://www.nera.rst.tudelft.nl/</span></a><u></u><u></u></p>
<p class="MsoNormal"><span lang="NL"> </span><u></u><u></u></p>
<p class="MsoNormal"><span lang="NL"> </span><u></u><u></u></p>
</div>
</div>
<p class="MsoNormal">_______________________________________________<br>
gmsh mailing list<br>
<a href="mailto:gmsh@onelab.info" target="_blank">gmsh@onelab.info</a><br>
<a href="http://onelab.info/mailman/listinfo/gmsh" target="_blank">http://onelab.info/mailman/listinfo/gmsh</a><u></u><u></u></p>
</blockquote>
</div>
<p class="MsoNormal"><br clear="all">
<br>
-- <u></u><u></u></p>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal">Max Orok<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">Contractor<u></u><u></u></p>
</div>
</div>
<div>
<p class="MsoNormal"><a href="http://www.mevex.com" target="_blank">www.mevex.com</a><br>
<br>
<span style="border:1pt solid windowtext;padding:0cm"><img id="m_6803807553952267825gmail-m_-8103342217999326873_x0000_i1025" src="cid:16e938a02f34ce8e91" alt="Image removed by sender." width="164" height="42" border="0"></span><u></u><u></u></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote></div><br clear="all"><br>-- <br><div dir="ltr"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div>Max Orok</div><div>Contractor<br></div></div><div dir="ltr"><a href="http://www.mevex.com" target="_blank">www.mevex.com</a><br><br><img src="https://docs.google.com/uc?export=download&id=1fHTIiW4OMUjQr1iOkspQ7wiEsxunoOs0&revid=0B6x5w-5zVaEjSkpwbm5oY29jbG1XMzJoYldXTmJpNGFtb3dVPQ" width="164" height="42"><br></div></div></div></div></div></div></div>