[Gmsh] binary file vs text file for post-processing views

Christophe Geuzaine cgeuzaine at ulg.ac.be
Fri Jan 14 14:05:53 CET 2011


On 04/01/11 17:28, Umut Tabak wrote:
> Dear all,
>
> I am trying to visualize some pressure contour on a print head model.
>
> The pressures are scalar values at the nodes, there are 35775 nodes btw,
> so the results are the pressure eigenmodes of the print head model
> (first 10 modes so that means at least a file with 357750 lines for only
> results plus the mesh structure becomes > 357750), however it is
> extremely slow(I guess due to the model size) to take a look at
> different post-processing views. With this file, I started playing in
> text mode, I was wondering creating these input files in binary mode can
> make the operations faster or not?

Only read/write operations will be faster (not the display).

It sounds strange that the display could be slow for such small models. 
We visualize scalar datasets with millions of unknowns all the time... 
Could you post an example somewhere?

>
> I am not sure once the data is read from the result msh file, that
> should not make a difference, I mean that should perhaps only affect the
> firing time of the file from the command line.
>
> Best regards,
> Umut
>
> _______________________________________________
> gmsh mailing list
> gmsh at geuz.org
> http://www.geuz.org/mailman/listinfo/gmsh
>


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