[Paraview] Plot3D

Evgeniy Shapiro shellinux at gmail.com
Tue May 1 14:06:36 EDT 2007


Hello

Help me pleeeeeease! I'm using paraview 2.6.0. I am trying to read a 
plot3D dataset generated by (as per 
http://www.grc.nasa.gov/WWW/wind/valid/plot3d.html):

C open grid file
      OPEN(1,FILE="grid.xyz", form="unformatted", action="write")
      rewind (1)
! write blocks
      write(1) 1
! write size
      write(1) ni,nj,nk
! write coordinates
      write(1)  (((x(I,J,K),I=1,ni),J=1,nj),K=1,nk),
     &          (((y(I,J,K),I=1,ni),J=1,nj),K=1,nk),
     &          (((z(I,J,K),I=1,ni),J=1,nj),K=1,nk)
      close(1)
      OPEN(1,FILE="grid.q", form="unformatted", action="write")
      rewind (1)
! write size
      write(1) 1
      write(1) ni,nj,nk
      write(1) r,r,r,r
! write coordinates
      write(1) (((( vars(i,j,k,l), i = 1, ni),
     &   j = 1, nj), k = 1, nk), l = 1, 5 )
      close(1)

Which fails. The error message I get is


ErrorMessage
# Error or warning: There was a VTK Error in file: 
/home/amy/ParaViewReleaseRoot/ParaView-2.6.0/GUI/Client/vtkPVPLOT3DReaderModule.cxx 
(81)
 vtkPVPLOT3DReaderModule (0x90c1cf8): Can not read input file. Try 
changing parameters.
ErrorMessage end


I have tried reading with "binary on" and "fortran byte count" on/off, 
multiblock on/off to no avail. Tecplot imports the same dataset without 
complaints. I ran out of ideas.

What am I doing wrong????

Evgeniy


More information about the ParaView mailing list