RES: [Paraview] Ensight Reader for Paraview
Dr. David F. Robinson
drobinson at corvidtec.com
Sat May 14 17:32:23 EDT 2005
Thanks for checking into this... I ran similar checks and had the same
results...
I didn't export the files into ASCII format from Ensight (I was unaware of
this feature), but I did start this process by writing out Ensight Gold
ASCII files and they seemed to work fine.
By the way, I saw your old posting. I was opening my files using
open(filenum,file='ens.geo',form='unformatted',status='unknown')
After seeing your post I change the 'unformatted' to 'binary' but it still
didn't work in Paraview. Same results for ens_checker and Ensight8 were
obtained using the 'binary' form...
Should I submit this to the developers as a bug report, or do the
developers catch these via reading the mailing list? If I need to submit
a bug report, do you know where I should send the information?
Thanks for looking into this and providing feedback.
David
> David,
>
> I've never used Ensight Gold Binary format in my programs, but I've
> already
> read some files in Paraview that were exported from Ensight in this
> format.
> Thus, I decided to make some tests with your files to conclude something:
>
> 1) I've checked your files with ens_checker program (provided by CEI
> together with Ensight program) and everything seems to be ok with your
> file
> (see the report in attach);
>
> 2) I've read your binary files into Ensight v.8.0 without any problem,
> furthermore I exported your files in ascii format and read them into
> Paraview and it worked fine too (see your files translated to ascii from
> Ensight in attach).
>
> 2) I 've tried to read the files that you've sent to the list and Paraview
> wasn't able to read them as you''ve reported (I tested both kinds of byte
> order, big and little endian);
>
> 3) Finally, I've exported your files in binary (Gold) format and Paraview
> was also able to read them (also in attach)';
>
> after I have done these tests I only can conclude that you've found a
> Paraview's bug (or limitation) that should be checker by the Paraview's
> developers.
>
> By the way, long time ago I posted a message in Paraview mailist asking
> about some very similar problems with binary files written by my Fortran
> routines and in that occasion Jean M. Favre gave me the solution. You may
> check the complete topic at the following link:
> http://public.kitware.com/pipermail/paraview/2004-October/000929.html
>
> I hope that I've helped with something...
>
> []'s
>
> Renato
> NACAD/COPPE/UFRJ
> Rio de Janeiro/Brasil
> http://www.nacad.ufrj.br
>
>
> _____
>
> De: David F. Robinson, Ph.D. [mailto:drobinson at corvidtec.com]
> Enviada em: sexta-feira, 13 de maio de 2005 17:52
> Para: 'Renato N. Elias'
> Cc: paraview at paraview.org
> Assunto: RE: [Paraview] Ensight Reader for Paraview
>
>
>
> The obvious differences that I see are the following:
>
>
>
> 1) I am using Ensight Gold format
>
> 2) I am using 'Fortran Binary' formatting.
>
> 3) I specify 'node id off' and 'element id off'
>
>
>
> Does the paraview reader support the Ensight Gold format?
>
>
>
> David
>
>
>
>
>
> _____
>
> From: Renato N. Elias [mailto:rnelias at superig.com.br]
> Sent: Friday, May 13, 2005 3:13 PM
> To: drobinson at corvidtec.com
> Cc: paraview at paraview.org
> Subject: RES: [Paraview] Ensight Reader for Paraview
>
>
>
> Hello David
>
>
>
> I've provided my Fortran routines to write Ensight's case format (not
> gold)
> in http://www.nacad.ufrj.br/~rnelias/paraview.
>
> I've been using this format in my CFD application without any problem...
> could you compare my routines with yours?
>
>
>
> cheers
>
>
>
> Renato N. Elias
>
> NACAD/COPPE/UFRJ
>
> Rio de Janeiro/Brasil
>
> http://www.nacad.ufrj.br/~rnelias
>
>
>
> _____
>
> De: paraview-bounces+rnelias=superig.com.br at paraview.org
> [mailto:paraview-bounces+rnelias=superig.com.br at paraview.org] Em nome de
> Dr.
> David F. Robinson
> Enviada em: sexta-feira, 13 de maio de 2005 12:29
> Para: paraview at paraview.org
> Assunto: [Paraview] Ensight Reader for Paraview
>
> I am receiving the following errors when trying to read an Ensight Gold
> 'Fortran Binary' file. Can anyone provide a suggestion for how to
> proceed?
> I have attached the case and geometry files that I was attempting to read
> into Paraview.
>
>
>
> Thanks in advance,
>
>
>
> David
>
>
>
>
>
> set kw(vtkTemp5) [$Application GetMainWindow]
>
> set kw(vtkTemp23) [$kw(vtkTemp5) GetMainView]
>
> set kw(vtkTemp660) [$kw(vtkTemp5) InitializeReadCustom "ensight"
> "/home2/dfrobins/Raven/test/adapt_box/Movies/ens.case"]
>
> $kw(vtkTemp5) ReadFileInformation $kw(vtkTemp660)
> "/home2/dfrobins/Raven/test/adapt_box/Movies/ens.case"
>
> $kw(vtkTemp5) FinalizeRead $kw(vtkTemp660)
> "/home2/dfrobins/Raven/test/adapt_box/Movies/ens.case"
>
> set kw(vtkTemp677) [$kw(vtkTemp660) GetPVWidget {Filename}]
>
> $kw(vtkTemp677) SetValue
> "/home2/dfrobins/Raven/test/adapt_box/Movies/ens.case"
>
> set kw(vtkTemp663) [$kw(vtkTemp660) GetPVWidget {ByteOrder}]
>
> $kw(vtkTemp663) SetCurrentValue {0}
>
> set kw(vtkTemp668) [$kw(vtkTemp660) GetPVWidget {TimeSet}]
>
> $kw(vtkTemp668) SetTimeValueCallback {}
>
> set kw(vtkTemp672) [$kw(vtkTemp660) GetPVWidget {PointArrays}]
>
> set kw(vtkTemp676) [$kw(vtkTemp660) GetPVWidget {CellArrays}]
>
> # Error or warning:
>
> # There was a VTK Error in file:
> /home/amy/ParaViewReleaseRoot/paraview-2.0.1/Servers/ServerManager/vtkSMPart
> Display.cxx (605)
>
> # Connecting a display to a source that has no outputs.
>
> #
>
> set kw(vtkTemp690) [$kw(vtkTemp5) GetAnimationManager]
>
> set kw(vtkTemp483) [$kw(vtkTemp690) GetAnimationScene]
>
> $kw(vtkTemp483) Stop
>
> $kw(vtkTemp660) AcceptCallback
>
> # Error or warning:
>
> # There was a VTK Error in file:
> /home/amy/ParaViewReleaseRoot/paraview-2.0.1/Servers/ServerManager/vtkSMPart
> Display.cxx (1661)
>
> # Display has no associated object, can not gather info.
>
> #
>
> $kw(vtkTemp483) Stop
>
> # Error or warning:
>
> # There was a VTK Error in file:
> /home/amy/ParaViewReleaseRoot/paraview-2.0.1/Servers/ServerManager/vtkSMPart
> Display.cxx (1661)
>
> # Display has no associated object, can not gather info.
>
> #
>
> $kw(vtkTemp483) Stop
>
> # Error or warning:
>
> # There was a VTK Error in file:
> /home/amy/ParaViewReleaseRoot/paraview-2.0.1/Servers/ServerManager/vtkSMPart
> Display.cxx (1661)
>
> # Display has no associated object, can not gather info.
>
> #
>
>
>
>
>
>
========================================
David F. Robinson, Ph.D.
Corvid Technologies
149 Plantation Ridge Rd.
Suite 170
Mooresville, NC 28117
704-799-6944 (Voice)
704-799-7974 (Fax)
704-252-1310 (Cell)
More information about the ParaView
mailing list