[Paraview] plot3d reading problem

Francesco Fornarelli f.fornarelli at gmail.com
Wed Mar 29 09:02:28 EST 2006


Hi,
I'm getting crazy because I can't read my plot3d file in binary. I have
500MB formatted plot3d data file so the binary format should be better to
manage.
This is my fortran code to write the .xyz and .q file:

open(12,file='bouco.xyz',form='formatted',status='unknown')
       rewind(12)
       write(12,*) n3,n2,n1
        write(12,121)
     %  (((x3c(k),k=1,n3,n3p),j=1,n2,n2p),i=1,n1,n1p),
     %  (((x2c(j),k=1,n3,n3p),j=1,n2,n2p),i=1,n1,n1p),
     %  (((x1c(i),k=1,n3,n3p),j=1,n2,n2p),i=1,n1,n1p)
        close(12)



namfi3='post.q'
      open(29,file=namfi3,form='formatted',status='unknown')
      rewind(29)
      write(29,*) n3,n2,n1
      write(29,*) 1.,1.,1.,1.
      write(29,121) (((vmod(i,j,k),k=1,n3),j=1,n2),i=1,n1)
      write(29,121) (((v3(i,j,k),k=1,n3),j=1,n2),i=1,n1)
     %             ,(((v2(i,j,k),k=1,n3),j=1,n2),i=1,n1)
     %             ,(((v1(i,j,k),k=1,n3),j=1,n2),i=1,n1)
     %             ,(((vmod(i,j,k),k=1,n3),j=1,n2),i=1,n1)
      close(29)

If I write  unformatted files Paraview doesn't work.

Anybody know which is the problem.

Thank you in advance!

bye,
Francesco
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/paraview/attachments/20060329/4a1ab877/attachment.html


More information about the ParaView mailing list