[Paraview] Do anyone have examples of writing binary file with mesh and results data?

Gena Bug archaerolog at mail.ru
Fri Jan 13 02:19:35 EST 2012


On Friday 13 January 2012 06:11:13 Zupan Hu wrote:
> Hi All,
> 
> Currently I am learning how to do parallel visualization with ParaView, and
> I need to generate ParaView readable binary file instead of VTK.
> 
>  I can generate VTK file in Matlab with 3d Mesh (nodes and element connect)
> and results data (say temperature at each node). But I have trouble with
> generating a ParaView binary file with the same 3d mesh and results data.
> 
> Did anyone use Matlab (or under other environment like C) to generate the
> binary file? Do you have any example programs for generating such binary
> files?
I made a C/C++ code to write VTK Unstructured (vtu) binary files: custom C-
frontend for ZLib and C++ for the rest of the code. I'd also experimented with 
C++ ZLib frontend (gzstream) but without luck...

If you want I can send you the code out of the list (my project is source-
closed).

P.S. I should mention one person who helped me to write this code: Sébastien 
Blaise <sebastien dot blaise at uclouvain dot be>

> Thanks
> Zupan

-----|-
Гена.




More information about the ParaView mailing list