<div dir="ltr">Hi David,<br><br>Thank you for your reply. I think I must be a little bit confused. From reading the documentation under section '9.4 Legacy Formats' it suggests that the new file format should be used which is defined in section '9.1 MSH ASCII file format' and contains post-processing datasets ($NodeData etc).<br>
<br>If I understand the documentation correctly the example msh file (in the new format) I gave before should display a single vector at the origin but doesn't. Are the post-processing data sections of the new file format parsed in the GUI?<br>
<br>If possible I would prefer that I write out a single 'msh' file containing both the mesh and post processing views I need rather than writing out a legacy pos file. I feel like I am missing something regarding the new file formats.<br>
<br>Regards,<br><br>Richard<br><br><br><div class="gmail_quote">2008/8/12 David Colignon <span dir="ltr"><<a href="mailto:David.Colignon@ulg.ac.be">David.Colignon@ulg.ac.be</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi Richard,<br>
<br>
Why do you export your .pos file, which is fine and displays what you want, in the .msh format, which is meant to hold mesh data, not post-processing data ?<br>
<br>
Cheers,<br>
<br>
Dave<br>
<br>
-- <br>
David Colignon, Ph.D.<br>
Collaborateur Logistique du F.R.S.-FNRS (Équipements de Calcul Intensif)<br>
ACE - Applied & Computational Electromagnetics<br>
Institut Montefiore B28<br>
Université de Liège<br>
4000 Liège - BELGIQUE<br>
Tél: +32 (0)4 366 37 32<br>
Fax: +32 (0)4 366 29 10<br>
WWW: <a href="http://hpc.montefiore.ulg.ac.be/" target="_blank">http://hpc.montefiore.ulg.ac.be/</a><br>
Agenda: <a href="http://www.google.com/calendar/embed?src=david.colignon%40gmail.com" target="_blank">http://www.google.com/calendar/embed?src=david.colignon%40gmail.com</a><br>
<br>
<br>
<br>
Richard Mant wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div></div><div class="Wj3C7c">
Hi,<br>
<br>
I am using Gmsh 2.2.3 on Windows XP and am having difficulty displaying vectors using the MSH ASCII file format. Using the following POS file to generate a single vector and then saving the view as a Gmsh mesh gives the MSH file below but on loading the MSH file nothing is displayed. Is this a bug or am I doing something wrong?<br>
<br>
Thank you in advance for your help,<br>
<br>
Richard<br>
<br>
POS File:<br>
View "VectorDemo" {<br>
VP (0.0,0.0,0.0) {1.0,1.0,1.0};<br>
};<br>
<br>
MSH File:<br>
$MeshFormat<br>
2 0 8<br>
$EndMeshFormat<br>
$Nodes<br>
1<br>
1 0 0 0<br>
$EndNodes<br>
$Elements<br>
1<br>
1 15 0 1<br>
$EndElements<br>
$NodeData<br>
1<br>
"VectorDemo"<br>
1<br>
0<br>
3<br>
0<br>
3<br>
1<br>
1 1 1 1<br>
$EndNodeData<br>
<br>
<br></div></div>
------------------------------------------------------------------------<br>
<br>
_______________________________________________<br>
gmsh mailing list<br>
<a href="mailto:gmsh@geuz.org" target="_blank">gmsh@geuz.org</a><br>
<a href="http://www.geuz.org/mailman/listinfo/gmsh" target="_blank">http://www.geuz.org/mailman/listinfo/gmsh</a><br>
</blockquote>
</blockquote></div><br></div>