CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Paraview & paraFoam

Problem writing Legacy VTK file

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

LinkBack Thread Tools Display Modes
Old   June 23, 2009, 14:37
Default Problem writing Legacy VTK file
New Member
William Humber
Join Date: Mar 2009
Posts: 4
Rep Power: 8
raptor3x is on a distinguished road

In the past I've written out legacy ASCII vtk files from matlab with no problem at all. Recently I tried doing the same from fortran using the Intel Fortran compiler. While the matlab vtk files were read just fine, the fortran files seem to go unrecognized by Paraview. I'm finding this very difficult to debug as there aren't really any error messages to examine. The only one I get is rather cryptic and I don't know what to make of it.


[will@localhost ADS-VTK]$ paraview --data=propout.vtk
ERROR: In /builddir/build/BUILD/ParaView-3.4.0/VTK/Parallel/vtkPDataSetReader.cxx, line 156
vtkPDataSetReader (0x26b8e00): This does not look like a VTK file: /home/will/workspace/ADS-VTK/propout.vtk

ERROR: In /builddir/build/BUILD/ParaView-3.4.0/VTK/Parallel/vtkPDataSetReader.cxx, line 192
vtkPDataSetReader (0x26b8e00): Unknown data type.

ERROR: In /builddir/build/BUILD/ParaView-3.4.0/VTK/Filtering/vtkExecutive.cxx, line 757
vtkCompositeDataPipeline (0x25dc3c0): Algorithm vtkFileSeriesReader(0x26a07c0) returned failure for request: vtkInformation (0x2695b50)
Debug: Off
Modified Time: 77042
Reference Count: 1
Registered Events: (none)

************************************************** ***************

Any advice on how to hunt down the bug would be greatly appreciated. Also, looking at the files I had written out from Matlab and the new fortran files, they look exactly the same except the fortran files are considerably larger.
raptor3x is offline   Reply With Quote

Old   June 23, 2009, 16:10
New Member
William Humber
Join Date: Mar 2009
Posts: 4
Rep Power: 8
raptor3x is on a distinguished road
Found out the problem, the opening line was
# vtk Datafile Version 3.0
instead of
# vtk DataFile Version 3.0
raptor3x is offline   Reply With Quote


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
ParaView Compilation jakaranda OpenFOAM Installation 3 October 27, 2008 12:46
DxFoam reader update hjasak OpenFOAM Post-Processing 69 April 24, 2008 01:24
Regarding FoamX running Kindly help out hariya03 OpenFOAM Pre-Processing 0 April 18, 2008 04:26
Problem with rhoSimpleFoam matteo_gautero OpenFOAM Running, Solving & CFD 0 February 28, 2008 07:51
An error has occurred when Writing backup file tian CFX 0 June 28, 2007 21:29

All times are GMT -4. The time now is 02:15.