CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Visualization & Post-Processing Software > ParaView

[OpenFOAM] Binary vtk data problem

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 14, 2005, 04:06
Default Binary vtk data problem
  #1
New Member
 
Michael Oevermann
Join Date: Mar 2009
Posts: 15
Rep Power: 17
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, 05:16
Default You writing the data (i.e. foa
  #2
Senior Member
 
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26
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, 07:08
Default The data is written and read o
  #3
New Member
 
Michael Oevermann
Join Date: Mar 2009
Posts: 15
Rep Power: 17
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, 10:53
Default No change as far as I know. No
  #4
Senior Member
 
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26
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


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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[OpenFOAM] How to get the coordinates of velocity data at all cells and at all times vidyadhar ParaView 9 May 20, 2020 21:06
CFD by anderson, chp 10.... supersonic flow over flat plate varunjain89 Main CFD Forum 18 May 11, 2018 08:31
[Resolved] GPU on Fluent Daveo643 FLUENT 4 March 7, 2018 09:02
Binary gives significant performance advantage (Mesh & Solve) glypo OpenFOAM 18 January 1, 2015 14:41
How to update polyPatchbs localPoints liu OpenFOAM Running, Solving & CFD 6 December 30, 2005 18:27


All times are GMT -4. The time now is 22:19.