CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Paraview & paraFoam

Binary vtk data problem

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

Reply
 
LinkBack Thread Tools Display Modes
Old   October 14, 2005, 03:06
Default Hello all, I am having prob
  #1
New Member
 
Michael Oevermann
Join Date: Mar 2009
Posts: 15
Rep Power: 8
oevermann is on a distinguished road
Hello all,

I am having problems reading binary VTK data (UNSTRUCTURED_GRID) with
paraview 2.2.1 (build from source on an Apple G5 running Debian Linux). The data has been created with the foamToVtk on the cavity tutorial case.
Loading the data-file, paraview responds with an unmotivated "Segmentation fault".
However, I can read the same binary data with version 1.8.5 and I can read the
same data as ASCII with 2.2.1 and 1.8.5 as well.
Does anyone has an idea what's going wrong here?

Thanks for help, Michael
oevermann is offline   Reply With Quote

Old   October 14, 2005, 04:16
Default You writing the data (i.e. foa
  #2
Super Moderator
 
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,416
Rep Power: 16
mattijs is on a distinguished road
You writing the data (i.e. foamToVTK) on the same machine as reading it? Can it be a little endian / big endian problem?
mattijs is offline   Reply With Quote

Old   October 14, 2005, 06:08
Default The data is written and read o
  #3
New Member
 
Michael Oevermann
Join Date: Mar 2009
Posts: 15
Rep Power: 8
oevermann is on a distinguished road
The data is written and read on the same
machine. I also had the little/big endian problem in
mind. Does foamToVTK need any of the vtk libraries or headers? I checked the source and could't find a dependency.
Was there any change in the VTK data format between paraview 1.8 and 2.0?
oevermann is offline   Reply With Quote

Old   October 16, 2005, 09:53
Default No change as far as I know. No
  #4
Super Moderator
 
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,416
Rep Power: 16
mattijs is on a distinguished road
No change as far as I know. No vtk functions are used to write the files in foamToVTK.

little/big endian is handled in foamToVTK/writeFuns.C but never tested.

Can you let us know if there are any changes to be made?
mattijs is offline   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
IFstream binary file read type conversion problem card OpenFOAM Bugs 3 October 30, 2008 15:18
Smallest binary file format to save large data Zonexo Main CFD Forum 2 June 2, 2008 20:25
data exchange between two binary codes rt Main CFD Forum 6 June 16, 2007 04:09
data exchange between two binary code rt Main CFD Forum 0 May 30, 2007 05:37
reading c++ binary data file Ahmad Al-Zoubi CD-adapco 1 November 11, 2005 14:05


All times are GMT -4. The time now is 09:13.