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

[OpenFOAM] Problem writing Legacy VTK file

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 23, 2009, 15:37
Default Problem writing Legacy VTK file
  #1
New Member
 
William Humber
Join Date: Mar 2009
Posts: 4
Rep Power: 17
raptor3x is on a distinguished road
Hello,

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)
Request: REQUEST_DATA_OBJECT
FORWARD_DIRECTION: 0
ALGORITHM_AFTER_FORWARD: 1

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

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, 17:10
Default
  #2
New Member
 
William Humber
Join Date: Mar 2009
Posts: 4
Rep Power: 17
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

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
[swak4Foam] swak4foam for OpenFOAM 4.0 mnikku OpenFOAM Community Contributions 80 May 17, 2022 09:06
[Other] Contribution a new utility: refine wall layer mesh based on yPlus field lakeat OpenFOAM Community Contributions 58 December 23, 2021 03:36
[OpenFOAM.org] Error creating ParaView-4.1.0 OpenFOAM 2.3.0 tlcoons OpenFOAM Installation 13 April 20, 2016 18:34
[swak4Foam] Error bulding swak4Foam sfigato OpenFOAM Community Contributions 18 August 22, 2013 13:41
DxFoam reader update hjasak OpenFOAM Post-Processing 69 April 24, 2008 02:24


All times are GMT -4. The time now is 04:51.