CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Main CFD Forum

opening ensight case in open source visualizer

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   December 14, 2006, 04:21
Default opening ensight case in open source visualizer
  #1
clhona
Guest
 
Posts: n/a
Hi everybody, I have a cfd case saved in Ensight format and I'm trying to visualize it. I've tried many visualizers as Paraview and MayaVi but it crashes all the time! Probably the problem is that my file is too big (.geo file is ~450 MB)...my PC is quite new (P4 4GHz; 1 GB Ram) so I don't think is an hardware problem...any idea? thank you
  Reply With Quote

Old   December 14, 2006, 06:25
Default Re: opening ensight case in open source visualizer
  #2
Márcio
Guest
 
Posts: n/a
Paraview works just fine with Ensight files. If it can't open - and I guess 450 MB isn't too much for Paraview - there could be something wrong with your files.

-Márcio
  Reply With Quote

Old   December 14, 2006, 06:31
Default Re: opening ensight case in open source visualizer
  #3
clhona
Guest
 
Posts: n/a
Yes you are right: now I'm trying with a 77 MB .geo file and I have always the same prolem. I found another difference between a case that works and my case that crash: the first format type is "ensight" and the second is "ensight gold" but after googleing it, it seems like there is no problem for paraview with ensight gold...any suggestion? thank you
  Reply With Quote

Old   December 14, 2006, 07:39
Default Re: opening ensight case in open source visualizer
  #4
Markus Lummer
Guest
 
Posts: n/a
What kind of cells do you have in your Ensight file? I had problems with n-faced polyhedral cells and paraview.
  Reply With Quote

Old   December 14, 2006, 08:19
Default Re: opening ensight case in open source visualizer
  #5
William Blake
Guest
 
Posts: n/a
Paraview will read ensight gold format. So just read the case into EnSight and export the gold-format from there

  Reply With Quote

Old   December 14, 2006, 08:56
Default Re: opening ensight case in open source visualizer
  #6
clhona
Guest
 
Posts: n/a
it's mixed hexa-tetra. The mesh was generated with pro-am from star-cd
  Reply With Quote

Old   December 14, 2006, 09:00
Default Re: opening ensight case in open source visualizer
  #7
clhona
Guest
 
Posts: n/a
the problem is that I don't have ensight! In fact I use Comet solver and I want to export the case in an open source visualizer: to have a common format I have to save the case in Comet as an ensight file and than read it in paraview
  Reply With Quote

Old   December 14, 2006, 16:20
Default Re: opening ensight case in open source visualizer
  #8
Charles
Guest
 
Posts: n/a
"ensight all binary same - - -" works for me to go from Comet to Paraview (reading in as big-endian), but I've only tested that with hexa grids.

A known issue in Paraview is with ASCII ensight files, you need to remove the leading spaces from lines containing strings.
  Reply With Quote

Old   December 15, 2006, 04:10
Default Re: opening ensight case in open source visualizer
  #9
clhona
Guest
 
Posts: n/a
I ususally do the same and for hexa grids it works for me too...probably it's about the mixed hexa-tetra mesh...
  Reply With Quote

Old   December 15, 2006, 04:33
Default Re: opening ensight case in open source visualizer
  #10
clhona
Guest
 
Posts: n/a
Hi Charles, I tried also with the ascii file but I don't understand where I have to remove spaces? In wich file? thanx
  Reply With Quote

Old   December 15, 2006, 04:47
Default Re: opening ensight case in open source visualizer
  #11
Charles
Guest
 
Posts: n/a
In the various data files (not the case), when you are using ASCII format, there are lines of text headings, at various positions in the files. You need to strip the leading spaces from these lines.
  Reply With Quote

Old   December 15, 2006, 04:51
Default Re: opening ensight case in open source visualizer
  #12
clhona
Guest
 
Posts: n/a
thank you I will try! ciao
  Reply With Quote

Old   December 15, 2006, 06:55
Default Re: opening ensight case in open source visualizer
  #13
clhona
Guest
 
Posts: n/a
no way to do it!I also tried to open the case in an ensight trial version but nothing...
  Reply With Quote

Old   December 15, 2006, 18:59
Default Re: opening ensight case in open source visualizer
  #14
Renato.
Guest
 
Posts: n/a
Hi clhona

If your binary files has been written in a pc, try changing the "byte order" to "little endian".

For ASCII files you must clean the leading white spaces at the end of the lines as Charles said.

Ensight provides a utility called ens_checker which may be useful to discover some problems in your case file. I guess this utility is available in the Ensight's trial copy.

Regards

Renato.

p.s.: Ensight Gold is not equal to Ensight format.

  Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
wmake compiling new solver mksca OpenFOAM Programming & Development 13 August 18, 2014 22:26
Dual Boot Windows and Linux and Go Open Source andyj Main CFD Forum 2 October 21, 2010 16:49
OpenFOAM Install Script ljsh OpenFOAM Installation 82 October 12, 2009 11:47
Could the CFD community benefit from Open Source? JF Main CFD Forum 13 December 18, 2006 00:06
Free surface boudary conditions with SOLA-VOF Fan Main CFD Forum 10 September 9, 2006 12:24


All times are GMT -4. The time now is 07:44.