[Paraview] Re: write binary VTK -rectilinear grid data- using fortran77

Adrian Magda amagda at gmail.com
Mon Mar 13 06:26:19 EST 2006


On 3/13/06, Adrian Magda <amagda at gmail.com> wrote:
>
>
>
> Hello all
>
> I try to write binary data for Paraview in VTK format using fortran. The
> code is something like this:
>
>
>       OPEN (UNIT=NAUS1, FILE=FILE1,FORM='UNFORMATTED'
>      +,STATUS='UNKNOWN',ERR=90998)
>
>       WRITE (NAUS1)'# vtk DataFile Version 2.0'
>       WRITE (NAUS1)'proba'
>       WRITE (NAUS1)'BINARY'
>       WRITE (NAUS1)'DATASET RECTILINEAR_GRID'
>
>       WRITE (NAUS1)'DIMENSIONS', NX, NY, NZ
>
>       WRITE (NAUS1)'X_COORDINATES',NX,'float'
>       WRITE (NAUS1)'Y_COORDINATES', NY,'float'
>        WRITE (NAUS1)'Z_COORDINATES', NZ,'float'
> ................
>
>
>
> Can somebody give me a hint because if i am using ASCII than i have no
> problems, but when i try to use BINARY ,Paraview can not read it ..
>
> Thanks a lot
> Adrian
>
Sorry for the double post but i mistaken the code.


--
########################################

   Diplom. Eng Adrian Magda

   Institut für Wärme- und Brennstofftechnik
   Franz-Liszt-Straße 35
   38106 Braunschweig, Germany

   Telefon:  +49 -531 391-3031(office)
   Telefax:  +49 -531 391-5932

########################################
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/paraview/attachments/20060313/b56981d5/attachment.htm


More information about the ParaView mailing list